From cb332a7f89001f80c3d85907771ce38e2a0364d9 Mon Sep 17 00:00:00 2001 From: Yashas G Date: Thu, 5 Jun 2025 11:01:48 +0530 Subject: [PATCH 01/27] e2e improvements [OKE-36695][OKE-36696] e2e logging improvements [OKE-37816] Logging improvement for RWX tests [OKE-37639] Increase slow pod start timeout in e2es [OKE-37370] Update boot volume test to clone boot volume in compartment --- test/e2e/cloud-provider-oci/boot_volume.go | 9 +- .../e2e/framework/cloud_provider_framework.go | 15 + test/e2e/framework/pod_util.go | 11 +- test/e2e/framework/pvc_util.go | 282 ++++++------------ 4 files changed, 117 insertions(+), 200 deletions(-) diff --git a/test/e2e/cloud-provider-oci/boot_volume.go b/test/e2e/cloud-provider-oci/boot_volume.go index 6fb204fd03..d3c87738e0 100644 --- a/test/e2e/cloud-provider-oci/boot_volume.go +++ b/test/e2e/cloud-provider-oci/boot_volume.go @@ -46,7 +46,7 @@ var _ = Describe("Boot volume tests", func() { opts := framework.Options{ BlockProvisionerName: setupF.BlockProvisionerName, } - pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.Namespace.Name, compartmentId, setupF.AdLocation, setupF.MntTargetSubnetOcid, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeBlock, v1.ReadWriteOnce, v1.ClaimPending, opts) + pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.BlockStorageClient, f.Namespace.Name, compartmentId, setupF.AdLocation, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeBlock, v1.ReadWriteOnce, v1.ClaimPending, opts) f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) podName := pvcJig.NewPodForCSI("app1", f.Namespace.Name, pvc.Name, setupF.AdLabel, v1.PersistentVolumeBlock) @@ -74,13 +74,10 @@ var _ = Describe("Boot volume gating test", func() { framework.Failf("Compartment Id undefined.") } - scName := f.CreateStorageClassOrFail(f.Namespace.Name, setupF.BlockProvisionerName, + scName := f.CreateStorageClassOrFail(f.Namespace.Name, "blockvolume.csi.oraclecloud.com", map[string]string{framework.AttachmentType: framework.AttachmentTypeISCSI}, pvcJig.Labels, "WaitForFirstConsumer", false, "Retain", nil) - opts := framework.Options{ - BlockProvisionerName: setupF.BlockProvisionerName, - } - pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.Namespace.Name, compartmentId, setupF.AdLocation, setupF.MntTargetSubnetOcid, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeFilesystem, v1.ReadWriteOnce, v1.ClaimPending, opts) + pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.BlockStorageClient, f.Namespace.Name, compartmentId, setupF.AdLocation, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeFilesystem, v1.ReadWriteOnce, v1.ClaimPending) pvcJig.NewPodForCSIWithoutWait("app1", f.Namespace.Name, pvc.Name, setupF.AdLabel) err := pvcJig.WaitTimeoutForPodRunningInNamespace("app1", f.Namespace.Name, 7*time.Minute) if err == nil { diff --git a/test/e2e/framework/cloud_provider_framework.go b/test/e2e/framework/cloud_provider_framework.go index 31eb3adc59..401305608c 100644 --- a/test/e2e/framework/cloud_provider_framework.go +++ b/test/e2e/framework/cloud_provider_framework.go @@ -343,6 +343,21 @@ func (f *CloudProviderFramework) AfterEach() { if len(nsDeletionErrors) != 0 { messages := []string{} for namespaceKey, namespaceErr := range nsDeletionErrors { + if strings.Contains(namespaceErr.Error(), "timed out waiting for the condition") { + Logf("Couldn't delete ns: %q: %s", namespaceKey, namespaceErr.Error()) + pods, err := f.ClientSet.CoreV1().Pods(namespaceKey).List(context.TODO(), metav1.ListOptions{}) + if err != nil { + Logf("Failed to list pods in ns %q: %v", namespaceKey, err) + } else { + for _, pod := range pods.Items { + if pod.DeletionTimestamp != nil { + Logf("Pod %q is stuck terminating in namespace %q", pod.Name, namespaceKey) + pvcJig := NewPVCTestJig(f.ClientSet, "namespace-stuck-pod-logging") + pvcJig.LogPodDebugInfo(namespaceKey, pod.Name) + } + } + } + } messages = append(messages, fmt.Sprintf("Couldn't delete ns: %q: %s (%#v)", namespaceKey, namespaceErr, namespaceErr)) } Failf(strings.Join(messages, ",")) diff --git a/test/e2e/framework/pod_util.go b/test/e2e/framework/pod_util.go index e04194d90b..5d7ecb0794 100644 --- a/test/e2e/framework/pod_util.go +++ b/test/e2e/framework/pod_util.go @@ -408,6 +408,8 @@ func (j *PVCTestJig) CreateAndAwaitNginxPodOrFail(ns string, pvc *v1.PersistentV // Waiting for pod to be running err = j.WaitTimeoutForPodRunningInNamespace(pod.Name, ns, slowPodStartTimeout) if err != nil { + Logf("Pod failed to come up, logging debug info\n") + j.LogPodDebugInfo(namespace, pod.Name) Failf("Pod %q is not Running: %v", pod.Name, err) } @@ -704,10 +706,17 @@ func (j *PVCTestJig) logNodeDriverLogs(pod *v1.Pod) { } } -func (j *PVCTestJig) logPodDebugInfo(ns string, podName string) { +func (j *PVCTestJig) LogPodDebugInfo(ns string, podName string) { pod, err := j.describePod(ns, podName) if err != nil { Logf("Error describing pod: %v", err) + if apierrors.IsNotFound(err) { + pods, listErr := j.KubeClient.CoreV1().Pods(ns).List(context.TODO(), metav1.ListOptions{}) + if listErr != nil { + Logf("Error listing pods: %v", listErr) + } + Logf("Pods in namespace list: %v", pods.Items) + } return } diff --git a/test/e2e/framework/pvc_util.go b/test/e2e/framework/pvc_util.go index 857036b90a..34a76b79a8 100644 --- a/test/e2e/framework/pvc_util.go +++ b/test/e2e/framework/pvc_util.go @@ -37,12 +37,12 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" - "github.com/oracle/oci-go-sdk/v65/common" ocicore "github.com/oracle/oci-go-sdk/v65/core" csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" "github.com/oracle/oci-cloud-controller-manager/pkg/csi/driver" "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "github.com/oracle/oci-cloud-controller-manager/pkg/volume/provisioner/plugin" ) const ( @@ -106,9 +106,6 @@ func (j *PVCTestJig) CreatePVCTemplate(namespace, volumeSize string) *v1.Persist } func (j *PVCTestJig) pvcAddLabelSelector(pvc *v1.PersistentVolumeClaim, adLabel string) *v1.PersistentVolumeClaim { - if adLabel == "" { - return pvc - } if pvc != nil { pvc.Spec.Selector = &metav1.LabelSelector{ MatchLabels: map[string]string{ @@ -493,9 +490,9 @@ func (j *PVCTestJig) CreateAndAwaitStaticPVCOrFailCSI(bs ocicore.BlockstorageCli return j.CreateAndAwaitPVCOrFailCSI(namespace, volumeSize, scName, tweak, volumeMode, accessMode, expectedPVCPhase), *volumeOcid } -func (j *PVCTestJig) CreateAndAwaitStaticBootVolumePVCOrFailCSI(c ocicore.ComputeClient, namespace string, compartment string, adLocation string, subnetId string, volumeSize string, scName string, tweak func(pvc *v1.PersistentVolumeClaim), volumeMode v1.PersistentVolumeMode, accessMode v1.PersistentVolumeAccessMode, expectedPVCPhase v1.PersistentVolumeClaimPhase, opts Options) (*v1.PersistentVolumeClaim, string) { +func (j *PVCTestJig) CreateAndAwaitStaticBootVolumePVCOrFailCSI(c ocicore.ComputeClient, bs ocicore.BlockstorageClient, namespace string, compartment string, adLocation string, volumeSize string, scName string, tweak func(pvc *v1.PersistentVolumeClaim), volumeMode v1.PersistentVolumeMode, accessMode v1.PersistentVolumeAccessMode, expectedPVCPhase v1.PersistentVolumeClaimPhase, opts Options) (*v1.PersistentVolumeClaim, string) { - bootVolumeId := j.CreateBootVolume(c, adLocation, compartment, subnetId) + bootVolumeId := j.CreateBootVolume(c, bs, adLocation, compartment) pv := j.CreatePVorFailCSI(namespace, scName, bootVolumeId, volumeMode, opts) @@ -755,161 +752,73 @@ func waitForVolumeState(ctx context.Context, bsClient ocicore.BlockstorageClient } // CreateBootVolume is a function to create the boot volume -func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, adLabel string, compartmentId string, subnet string) string { +func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, bs ocicore.BlockstorageClient,adLabel string, compartmentId string) string { ctx := context.Background() - images, err := c.ListImages(context.Background(), ocicore.ListImagesRequest{ + instances, err := c.ListInstances(ctx, ocicore.ListInstancesRequest{ + AvailabilityDomain: &adLabel, CompartmentId: &compartmentId, }) if err != nil { - Failf("Error listing images: %v", err) - } - - image := images.Items[0] - Logf("Chose image name: %v, id: %v", *image.DisplayName, *image.Id) - - request := ocicore.LaunchInstanceRequest{ - LaunchInstanceDetails: ocicore.LaunchInstanceDetails{ - AvailabilityDomain: &adLabel, - CompartmentId: &compartmentId, - SubnetId: &subnet, - Shape: common.String("VM.Standard2.1"), - ImageId: image.Id, - }, - } - - instance, err := c.LaunchInstance(ctx, request) - if err != nil { - Failf("Error launching instance: %v", err) - } - - instanceId := instance.Id - - // Wait for instance running - fmt.Println("Waiting 5 minutes for instance to reach RUNNING state...") - err = waitForInstanceState(ctx, c, instanceId, ocicore.InstanceLifecycleStateRunning, 5*time.Minute) - if err != nil { - Failf("Instance did not reach RUNNING: %v", err) - } - fmt.Println("Instance is RUNNING") - - // Stop the instance - fmt.Println("Stopping instance...") - _, err = c.InstanceAction(ctx, ocicore.InstanceActionRequest{ - InstanceId: instanceId, - Action: ocicore.InstanceActionActionStop, - }) - if err != nil { - Failf("Failed to stop instance: %v", err) + Failf("Error listing instances: %v", err) } - // Wait for STOPPED - fmt.Println("Waiting for instance to STOP...") - err = waitForInstanceState(ctx, c, instanceId, ocicore.InstanceLifecycleStateStopped, 5*time.Minute) - if err != nil { - Failf("Instance did not reach STOPPED: %v", err) - } - fmt.Println("Instance is STOPPED") + instance := instances.Items[0] // Get boot volume attachment - fmt.Println("Detaching boot volume...") + Logf("Getting boot volume for instance %s", *instance.DisplayName) attachmentsResp, err := c.ListBootVolumeAttachments(ctx, ocicore.ListBootVolumeAttachmentsRequest{ AvailabilityDomain: &adLabel, CompartmentId: &compartmentId, - InstanceId: instanceId, + InstanceId: instance.Id, }) if err != nil { Failf("Failed to list boot volume attachments: %v", err) } if len(attachmentsResp.Items) == 0 { - Failf("No boot volume attachment found for instance %s", *instanceId) - } - - attachmentID := attachmentsResp.Items[0].Id - _, err = c.DetachBootVolume(ctx, ocicore.DetachBootVolumeRequest{ - BootVolumeAttachmentId: attachmentID, - }) - if err != nil { - Failf("Failed to detach boot volume: %v", err) + Failf("No boot volume attachment found for instance %s", *instance.Id) } - err = WaitForVolumeDetached(ctx, c, attachmentID) - if err != nil { - Failf("Failed while waiting for boot volume detach: %v", err) - } - - // Terminate the instance - fmt.Println("Terminating instance...") - - _, err = c.TerminateInstance(ctx, ocicore.TerminateInstanceRequest{ - InstanceId: instanceId, - PreserveBootVolume: common.Bool(true), + attachment := attachmentsResp.Items[0] + Logf("Cloning boot volume %s", *attachment.BootVolumeId) + resp, err := bs.CreateBootVolume(ctx, ocicore.CreateBootVolumeRequest{ + CreateBootVolumeDetails: ocicore.CreateBootVolumeDetails{ + CompartmentId: &compartmentId, + SourceDetails: ocicore.BootVolumeSourceFromBootVolumeDetails{ + Id: attachment.BootVolumeId, + }, + }, }) - if err != nil { - Failf("Failed to terminate instance: %v", err) - } - // Wait for TERMINATED - fmt.Println("Waiting for instance to TERMINATE...") - err = waitForInstanceState(ctx, c, instanceId, ocicore.InstanceLifecycleStateTerminated, 5*time.Minute) + bootVolumeId := resp.BootVolume.Id + Logf("Waiting for cloned boot volume %s to become available", *bootVolumeId) + err = WaitForBootVolumeAvailable(ctx, bs, bootVolumeId) if err != nil { - Failf("Instance did not reach TERMINATED: %v", err) + Failf("Failed to wait for block volume to become available: %v", err) } - fmt.Println("Instance is TERMINATED") - return *attachmentsResp.Items[0].BootVolumeId + return *bootVolumeId } -func waitForInstanceState(ctx context.Context, computeClient ocicore.ComputeClient, instanceID *string, expectedState ocicore.InstanceLifecycleStateEnum, timeout time.Duration) error { - checkInstanceState := func() (bool, error) { - subCtx, cancel := context.WithTimeout(ctx, 30*time.Second) - defer cancel() - - resp, err := computeClient.GetInstance(subCtx, ocicore.GetInstanceRequest{ - InstanceId: instanceID, - }) - if err != nil || resp.Id == nil { - return false, err - } - - if resp.LifecycleState != expectedState { - fmt.Printf("Instance %s not yet in expected state. Current: %s, Expected: %s\n", - *instanceID, resp.LifecycleState, expectedState) - return false, nil - } - return true, nil - } - - err := wait.PollImmediate(10*time.Second, timeout, func() (bool, error) { - return checkInstanceState() - }) - - if err != nil { - fmt.Printf("Timed out waiting for instance %s to reach state %s\n", *instanceID, expectedState) - } - return err -} - -func WaitForVolumeDetached(ctx context.Context, c ocicore.ComputeClient, id *string) error { +func WaitForBootVolumeAvailable(ctx context.Context, bs ocicore.BlockstorageClient, id *string) error { subCtx, cancel := context.WithTimeout(ctx, 5*time.Minute) defer cancel() if err := wait.PollImmediateUntil(5*time.Second, func() (done bool, err error) { - va, err := c.GetBootVolumeAttachment(subCtx, ocicore.GetBootVolumeAttachmentRequest{ - BootVolumeAttachmentId: id, + bv, err := bs.GetBootVolume(subCtx, ocicore.GetBootVolumeRequest{ + BootVolumeId: id, }) - fmt.Printf("Error: %+v\n", err) if err != nil { if client.IsRetryable(err) { return false, nil } return true, errors.WithStack(err) } - if va.LifecycleState == ocicore.BootVolumeAttachmentLifecycleStateDetached { + if bv.LifecycleState == ocicore.BootVolumeLifecycleStateAvailable { return true, nil } - fmt.Printf("Waiting for boot volume to detach, current state: %s\n", va.LifecycleState) + fmt.Printf("Waiting for boot volume to become available, current state: %s\n", bv.LifecycleState) return false, nil }, subCtx.Done()); err != nil { return errors.WithStack(err) @@ -1016,17 +925,6 @@ func (j *PVCTestJig) NewPodForCSI(name string, namespace string, claimName strin Failf("Unsupported volumeMode: %s", volumeMode) } - podSpec := v1.PodSpec{ - Containers: containers, - Volumes: volumes, - } - - if adLabel != "" { - podSpec.NodeSelector = map[string]string{ - v1.LabelTopologyZone: adLabel, - } - } - pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ TypeMeta: metav1.TypeMeta{ Kind: "Pod", @@ -1036,7 +934,13 @@ func (j *PVCTestJig) NewPodForCSI(name string, namespace string, claimName strin GenerateName: j.Name, Namespace: namespace, }, - Spec: podSpec, + Spec: v1.PodSpec{ + Containers: containers, + Volumes: volumes, + NodeSelector: map[string]string{ + plugin.LabelZoneFailureDomain: adLabel, + }, + }, }, metav1.CreateOptions{}) if err != nil { Failf("Pod %q Create API error: %v", pod.Name, err) @@ -1046,7 +950,7 @@ func (j *PVCTestJig) NewPodForCSI(name string, namespace string, claimName strin err = j.WaitTimeoutForPodRunningInNamespace(pod.Name, namespace, slowPodStartTimeout) if err != nil { Logf("Pod failed to come up, logging debug info") - j.logPodDebugInfo(namespace, pod.Name) + j.LogPodDebugInfo(namespace, pod.Name) Failf("Pod %q is not Running: %v", pod.Name, err) } zap.S().With(pod.Namespace).With(pod.Name).Info("CSI POD is created.") @@ -1215,7 +1119,7 @@ func (j *PVCTestJig) NewPodWithLabels(name string, namespace string, claimName s err = j.WaitTimeoutForPodRunningInNamespace(pod.Name, namespace, slowPodStartTimeout) if err != nil { Logf("Pod failed to come up, logging debug info\n") - j.logPodDebugInfo(namespace, pod.Name) + j.LogPodDebugInfo(namespace, pod.Name) Failf("Pod %q is not Running: %v", pod.Name, err) } zap.S().With(pod.Namespace).With(pod.Name).Info("CSI POD is created.") @@ -1253,26 +1157,6 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName } } - podSpec := v1.PodSpec{ - Containers: []v1.Container{container}, - Volumes: []v1.Volume{ - { - Name: "persistent-storage", - VolumeSource: v1.VolumeSource{ - PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ - ClaimName: claimName, - }, - }, - }, - }, - } - - if adLabel != "" { - podSpec.NodeSelector = map[string]string{ - v1.LabelTopologyZone: adLabel, - } - } - pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ TypeMeta: metav1.TypeMeta{ Kind: "Pod", @@ -1282,7 +1166,22 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName GenerateName: j.Name, Namespace: namespace, }, - Spec: podSpec, + Spec: v1.PodSpec{ + Containers: []v1.Container{container}, + Volumes: []v1.Volume{ + { + Name: "persistent-storage", + VolumeSource: v1.VolumeSource{ + PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ + ClaimName: claimName, + }, + }, + }, + }, + NodeSelector: map[string]string{ + v1.LabelTopologyZone: adLabel, + }, + }, }, metav1.CreateOptions{}) if err != nil { Failf("Pod %q Create API error: %v", pod.Name, err) @@ -1292,7 +1191,7 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName err = j.WaitTimeoutForPodRunningInNamespace(pod.Name, namespace, slowPodStartTimeout) if err != nil { Logf("Pod failed to come up, logging debug info\n") - j.logPodDebugInfo(namespace, pod.Name) + j.LogPodDebugInfo(namespace, pod.Name) Failf("Pod %q is not Running: %v", pod.Name, err) } zap.S().With(pod.Namespace).With(pod.Name).Info("CSI POD is created.") @@ -1302,39 +1201,6 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName func (j *PVCTestJig) NewPodForCSIWithoutWait(name string, namespace string, claimName string, adLabel string) string { By("Creating a pod with the claiming PVC created by CSI") - podSpec := v1.PodSpec{ - Containers: []v1.Container{ - { - Name: name, - Image: centos, - Command: []string{"/bin/sh"}, - Args: []string{"-c", "echo 'Hello World' > /data/testdata.txt; while true; do echo $(date -u) >> /data/out.txt; sleep 5; done"}, - VolumeMounts: []v1.VolumeMount{ - { - Name: "persistent-storage", - MountPath: "/data", - }, - }, - }, - }, - Volumes: []v1.Volume{ - { - Name: "persistent-storage", - VolumeSource: v1.VolumeSource{ - PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ - ClaimName: claimName, - }, - }, - }, - }, - } - - if adLabel != "" { - podSpec.NodeSelector = map[string]string{ - v1.LabelTopologyZone: adLabel, - } - } - pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ TypeMeta: metav1.TypeMeta{ Kind: "Pod", @@ -1344,7 +1210,35 @@ func (j *PVCTestJig) NewPodForCSIWithoutWait(name string, namespace string, clai GenerateName: j.Name, Namespace: namespace, }, - Spec: podSpec, + Spec: v1.PodSpec{ + Containers: []v1.Container{ + { + Name: name, + Image: centos, + Command: []string{"/bin/sh"}, + Args: []string{"-c", "echo 'Hello World' > /data/testdata.txt; while true; do echo $(date -u) >> /data/out.txt; sleep 5; done"}, + VolumeMounts: []v1.VolumeMount{ + { + Name: "persistent-storage", + MountPath: "/data", + }, + }, + }, + }, + Volumes: []v1.Volume{ + { + Name: "persistent-storage", + VolumeSource: v1.VolumeSource{ + PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ + ClaimName: claimName, + }, + }, + }, + }, + NodeSelector: map[string]string{ + v1.LabelTopologyZone: adLabel, + }, + }, }, metav1.CreateOptions{}) if err != nil { Failf("Pod %q Create API error: %v", pod.Name, err) @@ -1409,7 +1303,7 @@ func (j *PVCTestJig) NewPodForCSIFSSWrite(name string, namespace string, claimNa err = j.WaitTimeoutForPodRunningInNamespace(pod.Name, namespace, slowPodStartTimeout) if err != nil { Logf("Pod failed to come up, logging debug info\n") - j.logPodDebugInfo(namespace, pod.Name) + j.LogPodDebugInfo(namespace, pod.Name) Failf("Pod %q is not Running: %v", pod.Name, err) } zap.S().With(pod.Namespace).With(pod.Name).Info("CSI POD is created.") @@ -1473,7 +1367,7 @@ func (j *PVCTestJig) NewPodForCSIFSSRead(matchString string, namespace string, c err = j.waitTimeoutForPodCompletedSuccessfullyInNamespace(pod.Name, namespace, slowPodStartTimeout) if err != nil { Logf("Pod failed to come up, logging debug info\n") - j.logPodDebugInfo(namespace, pod.Name) + j.LogPodDebugInfo(namespace, pod.Name) Failf("Pod %q failed: %v", pod.Name, err) } zap.S().With(pod.Namespace).With(pod.Name).Info("CSI Fss read POD is created.") @@ -2103,6 +1997,8 @@ func (j *PVCTestJig) ListSchedulableNodesInAD(adLocation string) []v1.Node { if !node.Spec.Unschedulable { if len(node.Spec.Taints) == 0 { // worker nodes have no taints so set them to schedulable schedulable = true + } else { + Logf("Taints found for node %s, marking node unschedulable: %v", node.Name, node.Spec.Taints) } for _, taint := range node.Spec.Taints { if taint.Key == "node-role.kubernetes.io/worker" || taint.Key == "node-role.kubernetes.io/compute" { From 1725ef7a146efb6e865203929258f1ec7855278c Mon Sep 17 00:00:00 2001 From: Yashas G Date: Mon, 30 Jun 2025 16:43:11 +0530 Subject: [PATCH 02/27] Helm related doc updates --- container-storage-interface.md | 73 +++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/container-storage-interface.md b/container-storage-interface.md index 922e9a9f7b..69f73df9be 100644 --- a/container-storage-interface.md +++ b/container-storage-interface.md @@ -4,7 +4,7 @@ This project implements a csi plugin for Kubernetes clusters running on Oracle Cloud Infrastructure (OCI). It enables provisioning, attach, detach, mount and unmount of [OCI block storage volumes][1] to Kubernetes Pods via the [CSI][2] plugin interface. -## Install / Setup +## Install / Setup using yamls We publish two binaries oci-csi-controller-driver which runs on the master nodes, and oci-csi-node-controller which runs on each of the worker nodes. @@ -76,6 +76,77 @@ $ kubectl -n kube-system get po | grep csi-oci-controller $ kubectl -n kube-system get po | grep csi-oci-node ``` +## Install / Setup using helm chart + +We publish two binaries oci-csi-controller-driver which runs on the master nodes, and oci-csi-node-controller which runs on each of the worker nodes. + +### Submit configuration as a Kubernetes secret + +Create a config.yaml file with contents similar to the following. This file will contain authentication +information necessary to authenticate with the OCI APIs and provision block storage volumes. +An example configuration file can be found [here](manifests/provider-config-example.yaml) + +Submit this as a Kubernetes Secret. + +```bash +kubectl create secret generic oci-volume-provisioner \ + -n kube-system \ + --from-file=config.yaml=provider-config-example.yaml +``` +### Installer + +Create the associated RBAC rules if your cluster is configured to use [RBAC][3] + +Before applying the below helm chart make sure you are on the GitHub branch/tag where you want to apply the helm chart from (for example, v1.31.0) + +The CSI Volume Snapshot-Restore feature requires additional CRDs + +```bash +$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml +$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml +$ kubectl apply -f https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml +``` + +The below helm chart installs the following: +1. CSI controller driver - It is provided as a deployment and it has five containers - + 1. csi-provisioner [external-provisioner][4] + 2. csi-attacher [external-attacher][5] + 3. snapshot-controller [snapshot-controller][8] + 4. csi-snapshotter [external-snapshotter][9] + 5. oci-csi-controller-driver +2. Node-driver: It is provided as a daemon set and it has two containers - + 1. node-driver-registrar [node-driver-registrar][6] + 2. oci-csi-node-driver +3. Storage classes required + +```bash +$ helm install manifests/container-storage-interface/csi +``` + +Lastly, verify that the oci-csi-controller-driver and oci-csi-node-controller is running in your cluster. By default it runs in the 'kube-system' namespace. + +``` +$ kubectl -n kube-system get po | grep csi-oci-controller +$ kubectl -n kube-system get po | grep csi-oci-node +``` + +#### CSI controller/node custom drivers deployment + +Some use-cases need the CSI controller/node driver containers to be installed with a custom name (for ex: To run custom containers alongside OKE deployed default containers on an OKE cluster). In such cases, the below command can be used to create a custom CSI helm release with components renamed to avoid conflicts with default components + +```bash +$ helm install manifests/container-storage-interface/csi --set customHandle="custom" +``` + +The above installs all the components listed in the above section with custom names + +To uninstall the above helm release and all the components it has installed + +```bash +$ helm uninstall +``` + + ## Tutorial Create a claim: From c463f23284922155c8361740913003da9bda95ca Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Mon, 14 Jul 2025 11:40:55 +0530 Subject: [PATCH 03/27] use readyz api for apiserver reachability --- pkg/csi-util/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/csi-util/utils.go b/pkg/csi-util/utils.go index f5bd62d985..3aed4ad309 100644 --- a/pkg/csi-util/utils.go +++ b/pkg/csi-util/utils.go @@ -160,7 +160,7 @@ func (u *Util) WaitForKubeApiServerToBeReachableWithContext(ctx context.Context, func(waitForKubeApiServerCtx context.Context) (bool, error) { attemptCtx, attemptCancel := context.WithTimeout(waitForKubeApiServerCtx, backoff.Step()) defer attemptCancel() - _, err := k.CoreV1().RESTClient().Get().AbsPath("/version").Do(attemptCtx).Raw() + _, err := k.CoreV1().RESTClient().Get().AbsPath("/readyz").Do(attemptCtx).Raw() if err != nil { u.Logger.With(zap.Error(err)).Errorf("Waiting for kube api server to be reachable, Retrying..") return false, nil From 07aedcd5b797a9bb17ee2a25b017e06fe7f2e10e Mon Sep 17 00:00:00 2001 From: Yashwant Gohokar Date: Mon, 7 Jul 2025 10:56:14 +0530 Subject: [PATCH 04/27] NSG Support with mount target creation --- pkg/csi/driver/fss_controller.go | 19 +++++++++++++++++++ pkg/csi/driver/fss_controller_test.go | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/pkg/csi/driver/fss_controller.go b/pkg/csi/driver/fss_controller.go index 5b08ec3b35..d0f5df6cad 100644 --- a/pkg/csi/driver/fss_controller.go +++ b/pkg/csi/driver/fss_controller.go @@ -83,6 +83,8 @@ type StorageClassParameters struct { encryptInTransit string // tags scTags *config.TagConfig + // NsgOcids + nsgOcids []string } type SecretParameters struct { @@ -659,6 +661,22 @@ func extractStorageClassParameters(ctx context.Context, d *FSSControllerDriver, log = log.With("mountTargetSubnetOcid", mountTargetSubnetOcid) log.Info("Mount Target Ocid not provided, to be created") storageClassParameters.mountTargetSubnetOcid = mountTargetSubnetOcid + + nsgOcidsStr, ok := parameters["nsgOcids"] + if !ok { + log.Infof("No NSG Ocids provided to associate with new mount target creation") + } else { + var nsgOcids []string + err := json.Unmarshal([]byte(nsgOcidsStr), &nsgOcids) + if err != nil { + log.Errorf("Failed to parse nsgOcids provided in storage class. Please provide valid input.") + dimensionsMap[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.ErrValidation, util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.MTProvision, time.Since(startTime).Seconds(), dimensionsMap) + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Failed to parse nsgOcids provided in storage class. Please provide valid input."), true + } + log.With("nsgOcids", nsgOcids) + storageClassParameters.nsgOcids = nsgOcids + } } else { storageClassParameters.mountTargetOcid = mountTargetOcid log = log.With("mountTargetOcid", mountTargetOcid) @@ -775,6 +793,7 @@ func provisionMountTarget(ctx context.Context, log *zap.SugaredLogger, c client. SubnetId: &storageClassParameters.mountTargetSubnetOcid, FreeformTags: storageClassParameters.scTags.FreeformTags, DefinedTags: storageClassParameters.scTags.DefinedTags, + NsgIds: storageClassParameters.nsgOcids, } return fssClient.CreateMountTarget(ctx, createMountTargetDetails) } diff --git a/pkg/csi/driver/fss_controller_test.go b/pkg/csi/driver/fss_controller_test.go index 4c5cdc31c4..4a2dbb4cad 100644 --- a/pkg/csi/driver/fss_controller_test.go +++ b/pkg/csi/driver/fss_controller_test.go @@ -542,6 +542,24 @@ func TestFSSControllerDriver_CreateVolume(t *testing.T) { want: nil, wantErr: errors.New("Neither Mount Target Ocid nor Mount Target Subnet Ocid provided in storage class"), }, + { + name: "Error when invalid JSON string provided for mount target NSGs", + fields: fields{}, + args: args{ + ctx: context.Background(), + req: &csi.CreateVolumeRequest{ + Name: "ut-volume", + Parameters: map[string]string{"availabilityDomain": "US-ASHBURN-AD-1", "mountTargetSubnetOcid": "oc1.subnet.xxxx", "nsgOcids": ""}, + VolumeCapabilities: []*csi.VolumeCapability{{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }}, + }, + }, + want: nil, + wantErr: errors.New("Failed to parse nsgOcids provided in storage class. Please provide valid input."), + }, { name: "Error during mount target IP fetch", fields: fields{}, From e75a376e056aff42739971f8f3cc3271d2eafc4d Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Mon, 28 Jul 2025 19:39:40 +0530 Subject: [PATCH 05/27] Added lifecycle state check to boot volume e2e test --- test/e2e/framework/pvc_util.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/e2e/framework/pvc_util.go b/test/e2e/framework/pvc_util.go index 34a76b79a8..1ebc68a62a 100644 --- a/test/e2e/framework/pvc_util.go +++ b/test/e2e/framework/pvc_util.go @@ -758,6 +758,7 @@ func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, bs ocicore.Blocks instances, err := c.ListInstances(ctx, ocicore.ListInstancesRequest{ AvailabilityDomain: &adLabel, CompartmentId: &compartmentId, + LifecycleState: ocicore.InstanceLifecycleStateRunning, }) if err != nil { Failf("Error listing instances: %v", err) @@ -791,11 +792,15 @@ func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, bs ocicore.Blocks }, }) + if err != nil { + Failf("Failed create boot volume : %v", err) + } + bootVolumeId := resp.BootVolume.Id Logf("Waiting for cloned boot volume %s to become available", *bootVolumeId) err = WaitForBootVolumeAvailable(ctx, bs, bootVolumeId) if err != nil { - Failf("Failed to wait for block volume to become available: %v", err) + Failf("Failed to wait for boot volume to become available: %v", err) } return *bootVolumeId From a90a44b344721ff3c1692f1d7ed9883e20ce9a46 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Mon, 4 Aug 2025 21:58:23 +0530 Subject: [PATCH 06/27] Added input validation on lnet label to fixing fortify command execution vuln. --- pkg/csi-util/lustre_lnet_helper.go | 19 +++--- pkg/csi-util/lustre_lnet_helper_test.go | 83 ++++++++++++++----------- pkg/csi/driver/lustre_node.go | 7 ++- 3 files changed, 65 insertions(+), 44 deletions(-) diff --git a/pkg/csi-util/lustre_lnet_helper.go b/pkg/csi-util/lustre_lnet_helper.go index 50e7d7a343..4642e6d2cc 100644 --- a/pkg/csi-util/lustre_lnet_helper.go +++ b/pkg/csi-util/lustre_lnet_helper.go @@ -12,7 +12,6 @@ import ( ) const ( - CHROOT_BASH_COMMAND = "chroot-bash" LOAD_LNET_KERNEL_MODULE_COMMAND = "modprobe lnet" CONFIGURE_LNET_KERNEL_SERVICE_COMMAND = "lnetctl lnet configure" SHOW_CONFIGURED_LNET = "lnetctl net show --net %s" @@ -66,9 +65,12 @@ func ValidateLustreVolumeId(lusterVolumeId string) (bool, string) { return false, lnetLabel } lnetLabel = parts[1] + if !isValidShellInput(lnetLabel) { + return false, "" + } } //last part in volume handle which is fsname should start with "/" - if !strings.HasPrefix(splits[len(splits)-1], "/") { + if !strings.HasPrefix(splits[len(splits)-1], "/") || !isValidShellInput(splits[len(splits)-1]) { return false, lnetLabel } return true, lnetLabel @@ -329,7 +331,8 @@ func (ls *LnetService) IsLnetActive(logger *zap.SugaredLogger, lnetLabel string) } func (olc *OCILnetConfigurator) ExecuteCommandOnWorkerNode(args ...string) (string, error) { - command := exec.Command(CHROOT_BASH_COMMAND, args...) + + command := exec.Command("chroot-bash", args...) output, err := command.CombinedOutput() @@ -365,15 +368,15 @@ func (ls *LnetService) ApplyLustreParameters(logger *zap.SugaredLogger, lustrePa return nil } -func isValidLustreParam(param string) bool { +func isValidShellInput(input string) bool { // Check for no spaces - if strings.Contains(param, " ") { + if strings.Contains(input, " ") { return false } // List of forbidden characters - forbiddenChars := []string{";", "&", "|", "<", ">", "(", ")", "`", "'", "\""} + forbiddenChars := []string{";", "&", "|", "<", ">", "(", ")", "`", "'", "\"","$","!"} for _, char := range forbiddenChars { - if strings.Contains(param, char) { + if strings.Contains(input, char) { return false } } @@ -397,7 +400,7 @@ func ValidateLustreParameters(logger *zap.SugaredLogger, lustreParamsJson strin for _, param := range lustreParams { for key, value := range param { logger.Infof("Validating lustre param %s=%s", key, fmt.Sprintf("%v", value)) - if !isValidLustreParam(key) || !isValidLustreParam(fmt.Sprintf("%v", value)) { + if !isValidShellInput(key) || !isValidShellInput(fmt.Sprintf("%v", value)) { invalidParams = append(invalidParams, fmt.Sprintf("%v=%v",key, value)) } } diff --git a/pkg/csi-util/lustre_lnet_helper_test.go b/pkg/csi-util/lustre_lnet_helper_test.go index d36c69ebee..94b256c3d2 100644 --- a/pkg/csi-util/lustre_lnet_helper_test.go +++ b/pkg/csi-util/lustre_lnet_helper_test.go @@ -18,19 +18,22 @@ func TestValidateLustreVolumeId(t *testing.T) { }{ // Valid cases {"192.168.227.11@tcp1:192.168.227.12@tcp1:/demo", true, "tcp1"}, - {"192.168.227.11@tcp1:/demo", true,"tcp1"}, + {"192.168.227.11@tcp1:/demo", true, "tcp1"}, + {"192.168.227.11@tcp1 & rm -rf /:192.168.227.12@tcp1:/demo", false, ""}, + {"192.168.227.11@tcp1:192.168.227.12@tcp1:/demo & rm -rf", false, "tcp1"}, + {"192.168.227.11@tcp1:/demo", true, "tcp1"}, // Invalid cases - {"192.168.227.11@tcp1:192.168.227.12@tcp1", false,"tcp1"}, // No fsname provided - {"192.168.227.11@tcp1:192.168.227.12@tcp1:demo", false,"tcp1"}, // fsname not starting with "/" - {"invalidip@tcp1:192.168.227.12@tcp1:/demo", false,""}, // Invalid IP address - {"192.168.227.11@tcp1:invalidip@tcp1:/demo", false,"tcp1"}, // Invalid IP address - {"192.168.227.11@:192.168.227.12@:tcp1/demo", false, ""}, // No Lnet label provided - {"192.168.227.11@tcp1:192.168.227.12:/demo", false, "tcp1"}, // No Lnet label provided in 2nd MGS NID + {"192.168.227.11@tcp1:192.168.227.12@tcp1", false, "tcp1"}, // No fsname provided + {"192.168.227.11@tcp1:192.168.227.12@tcp1:demo", false, "tcp1"}, // fsname not starting with "/" + {"invalidip@tcp1:192.168.227.12@tcp1:/demo", false, ""}, // Invalid IP address + {"192.168.227.11@tcp1:invalidip@tcp1:/demo", false, "tcp1"}, // Invalid IP address + {"192.168.227.11@:192.168.227.12@:tcp1/demo", false, ""}, // No Lnet label provided + {"192.168.227.11@tcp1:192.168.227.12:/demo", false, "tcp1"}, // No Lnet label provided in 2nd MGS NID // Empty input - {"", false,""}, + {"", false, ""}, // Single IP - {"192.168.227.11", false,""}, // Missing ":" in the input + {"192.168.227.11", false, ""}, // Missing ":" in the input } for _, test := range tests { @@ -53,7 +56,6 @@ type FakeConfigurator struct { ExecuteCommandOnWorkerNodeFunc func(args ...string) (string, error) } - func (f *FakeConfigurator) GetNetInterfacesInSubnet(subnetCIDR string) ([]NetInterface, error) { return f.GetNetInterfacesInSubnetFunc(subnetCIDR) } @@ -128,9 +130,13 @@ func TestLnetService_SetupLnet_TableDriven(t *testing.T) { // These functions are not used in this case. IsLustreClientPackagesInstalledFunc: func(logger *zap.SugaredLogger) bool { return true }, ExecuteCommandOnWorkerNodeFunc: func(args ...string) (string, error) { return "ok", nil }, - GetLnetInfoByLnetLabelFunc: func(lnetLabel string) (NetInfo, error) { return NetInfo{}, nil }, - ConfigureLnetFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo) error { return nil }, - VerifyLnetConfigurationFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo, err error) error { return nil }, + GetLnetInfoByLnetLabelFunc: func(lnetLabel string) (NetInfo, error) { return NetInfo{}, nil }, + ConfigureLnetFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo) error { + return nil + }, + VerifyLnetConfigurationFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo, err error) error { + return nil + }, }, expectedErrSubstr: "No VNIC identified on worker node to configure lnet.", }, @@ -179,9 +185,13 @@ func TestLnetService_SetupLnet_TableDriven(t *testing.T) { } return "ok", nil }, - GetLnetInfoByLnetLabelFunc: func(lnetLabel string) (NetInfo, error) { return NetInfo{}, nil }, - ConfigureLnetFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo) error { return nil }, - VerifyLnetConfigurationFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo, err error) error { return nil }, + GetLnetInfoByLnetLabelFunc: func(lnetLabel string) (NetInfo, error) { return NetInfo{}, nil }, + ConfigureLnetFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo) error { + return nil + }, + VerifyLnetConfigurationFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo, err error) error { + return nil + }, }, expectedErrSubstr: "Failed to load lnet kernel module with error : loading lnet module failed. Please make sure that lustre client packages are installed on worker nodes.", }, @@ -200,9 +210,13 @@ func TestLnetService_SetupLnet_TableDriven(t *testing.T) { } return "ok", nil }, - GetLnetInfoByLnetLabelFunc: func(lnetLabel string) (NetInfo, error) { return NetInfo{}, nil }, - ConfigureLnetFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo) error { return nil }, - VerifyLnetConfigurationFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo, err error) error { return nil }, + GetLnetInfoByLnetLabelFunc: func(lnetLabel string) (NetInfo, error) { return NetInfo{}, nil }, + ConfigureLnetFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo) error { + return nil + }, + VerifyLnetConfigurationFunc: func(logger *zap.SugaredLogger, ifaces []NetInterface, lnetLabel string, netInfo NetInfo, err error) error { + return nil + }, }, expectedErrSubstr: "Failed to configure lnet kernel service with error : lnet service configuration failed. Please make sure that lustre client packages are installed on worker nodes.", }, @@ -289,9 +303,9 @@ func TestLnetService_SetupLnet_TableDriven(t *testing.T) { func TestLnetService_IsLnetActive_TableDriven(t *testing.T) { logger := zap.NewExample().Sugar() tests := []struct { - name string - lnetLabel string - fakeGetInfo func(lnetLabel string) (NetInfo, error) + name string + lnetLabel string + fakeGetInfo func(lnetLabel string) (NetInfo, error) expectedActive bool }{ { @@ -367,10 +381,10 @@ func TestLnetService_IsLnetActive_TableDriven(t *testing.T) { func TestLnetService_ApplyLustreParameters(t *testing.T) { logger := zap.NewExample().Sugar() tests := []struct { - name string - lustreParamsJSON string - fakeExec func(args ...string) (string, error) - expectedErr bool + name string + lustreParamsJSON string + fakeExec func(args ...string) (string, error) + expectedErr bool }{ { name: "Valid Lustre Parameters Json Provided", @@ -417,38 +431,37 @@ func TestLnetService_ApplyLustreParameters(t *testing.T) { } } - func TestLnetService_ValidateLustreParameters(t *testing.T) { logger := zap.NewExample().Sugar() tests := []struct { - name string - lustreParamsJSON string - expectedErr error + name string + lustreParamsJSON string + expectedErr error }{ { name: "Valid Lustre Parameters Json Provided", lustreParamsJSON: `[{"failover.recovery_mode":"quorum","lnet.debug":"0x200"}]`, - expectedErr: nil, + expectedErr: nil, }, { name: "No Lustre Parameters Provided", lustreParamsJSON: "", - expectedErr: nil, + expectedErr: nil, }, { name: "Invalid Lustre Parameters Json Provided", lustreParamsJSON: `invalid-json`, - expectedErr: fmt.Errorf("%s","invalid character 'i' looking for beginning of value"), + expectedErr: fmt.Errorf("%s", "invalid character 'i' looking for beginning of value"), }, { name: "Valid and Invalid Lustre Parameters Provided", lustreParamsJSON: `[{"failover.recovery_mode":"quorum","lnet.debug":"0x200","lnet.debug && ls -l | wc -l":"0x200 I am Invalid"}]`, - expectedErr: fmt.Errorf("%v","lnet.debug && ls -l | wc -l=0x200 I am Invalid"), + expectedErr: fmt.Errorf("%v", "lnet.debug && ls -l | wc -l=0x200 I am Invalid"), }, { name: "Invalid Lustre Parameters Provided", lustreParamsJSON: `[{"failover.recovery_mode;cat /var/log/cloud-init.log":"quorum; echo Hello"}]`, - expectedErr: fmt.Errorf("%v","failover.recovery_mode;cat /var/log/cloud-init.log=quorum; echo Hello"), + expectedErr: fmt.Errorf("%v", "failover.recovery_mode;cat /var/log/cloud-init.log=quorum; echo Hello"), }, } diff --git a/pkg/csi/driver/lustre_node.go b/pkg/csi/driver/lustre_node.go index 9bceb76e82..391fa645d4 100644 --- a/pkg/csi/driver/lustre_node.go +++ b/pkg/csi/driver/lustre_node.go @@ -158,6 +158,7 @@ func (d LustreNodeDriver) loadCSIConfig() { func (d LustreNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error) { + if req.VolumeId == "" { return nil, status.Error(codes.InvalidArgument, "Volume ID must be provided") } @@ -253,7 +254,10 @@ func (d LustreNodeDriver) NodePublishVolume(ctx context.Context, req *csi.NodePu logger := d.logger.With("volumeID", req.VolumeId) logger.Debugf("volume context: %v", req.VolumeContext) - _, lnetLabel := csi_util.ValidateLustreVolumeId(req.VolumeId) + isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(req.VolumeId) + if !isValidVolumeId { + return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") + } //Lnet Setup if setupLnet, ok := req.GetVolumeContext()[SetupLnet]; ok && setupLnet == "true" { @@ -324,6 +328,7 @@ func (d LustreNodeDriver) NodePublishVolume(ctx context.Context, req *csi.NodePu } func (d LustreNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error) { + if req.VolumeId == "" { return nil, status.Error(codes.InvalidArgument, "NodeUnpublishVolume: Volume ID must be provided") } From 2d127c5b952c24a836c8bbeacc525bc1f7f130e6 Mon Sep 17 00:00:00 2001 From: Yashas G Date: Mon, 21 Jul 2025 15:04:27 +0530 Subject: [PATCH 07/27] Fix CSI mount detection logic --- pkg/csi/driver/bv_node.go | 34 ++++++++++++++-- pkg/util/disk/iscsi.go | 66 ++++++++++++++++++++++++++++++++ pkg/util/disk/iscsi_uhp.go | 31 +++++++++++++++ pkg/util/disk/paravirtualized.go | 39 +++++++++++++++++++ 4 files changed, 167 insertions(+), 3 deletions(-) diff --git a/pkg/csi/driver/bv_node.go b/pkg/csi/driver/bv_node.go index 7604ed62d2..86974c52c8 100644 --- a/pkg/csi/driver/bv_node.go +++ b/pkg/csi/driver/bv_node.go @@ -147,7 +147,7 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod defer d.volumeLocks.Release(req.VolumeId) if !isRawBlockVolume { - isMounted, oErr := mountHandler.DeviceOpened(devicePath) + isMounted, oErr := mountHandler.IsMounted(devicePath, req.StagingTargetPath) if oErr != nil { logger.With(zap.Error(oErr)).Error("getting error to get the details about volume is already mounted or not.") return nil, status.Error(codes.Internal, oErr.Error()) @@ -197,6 +197,10 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod devicePath, err = disk.WaitForDevicePathToExist(ctx, scsiInfo, logger) if err != nil { logger.With(zap.Error(err)).Error("Failed to get /dev/disk/by-path device path for iscsi volume.") + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after timeout on waiting for device path to exist") + } return nil, status.Error(codes.InvalidArgument, "Failed to get device path for iscsi volume") } } @@ -215,12 +219,20 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod err := csi_util.CreateFilePath(logger, stagingTargetFilePath) if err != nil { logger.With(zap.Error(err)).Error("failed to create the stagingTargetFile.") + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after mount failure") + } return nil, status.Error(codes.Internal, err.Error()) } options := []string{"bind"} // Append the "bind" option if it is a raw block volume err = mountHandler.Mount(devicePath, stagingTargetFilePath, "", options) if err != nil { logger.With(zap.Error(err)).Error("failed to bind mount raw block volume to stagingTargetFile") + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after mount failure") + } return nil, status.Error(codes.Internal, err.Error()) } return &csi.NodeStageVolumeResponse{}, nil @@ -238,6 +250,10 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod exists = false } else { logger.With(zap.Error(err)).Errorf("failed to check if stagingTargetPath %q exists", req.StagingTargetPath) + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after failure to check if staging path exists") + } message := fmt.Sprintf("failed to check if stagingTargetPath %q exists", req.StagingTargetPath) return nil, status.Error(codes.Internal, message) } @@ -249,6 +265,10 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod if !exists { if err := os.MkdirAll(req.StagingTargetPath, 0750); err != nil { logger.With(zap.Error(err)).Error("Failed to create StagingTargetPath directory") + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after failure to create StagingTargetPath directory") + } return nil, status.Error(codes.Internal, "Failed to create StagingTargetPath directory") } } @@ -270,6 +290,10 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod if existingFs != "" && existingFs != fsType { returnError := fmt.Sprintf("FS Type mismatch detected. The existing fs type on the volume: %q doesn't match the requested fs type: %q. Please change fs type in PV to match the existing fs type.", existingFs, fsType) logger.Error(returnError) + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after failure due to FS Type mismatch") + } return nil, status.Error(codes.Internal, returnError) } @@ -278,6 +302,10 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod err = mountHandler.FormatAndMount(devicePath, req.StagingTargetPath, fsType, options) if err != nil { logger.With(zap.Error(err)).Error("failed to format and mount volume to staging path.") + err = mountHandler.ISCSILogoutOnFailure() + if err != nil { + return nil, status.Error(codes.Internal, "Failed to iscsi logout after mount failure") + } return nil, status.Error(codes.Internal, err.Error()) } logger.With("devicePath", devicePath, "fsType", fsType, "attachmentType", attachment). @@ -379,10 +407,10 @@ func (d BlockVolumeNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.N if !isRawBlockVolume { isMounted, oErr := mountHandler.DeviceOpened(devicePath) if oErr != nil { - logger.With(zap.Error(oErr)).Error("getting error to get the details about volume is already mounted or not.") + logger.With(zap.Error(oErr)).Error("getting error to get the details about volume is already unmounted or not.") return nil, status.Error(codes.Internal, oErr.Error()) } else if !isMounted { - logger.Info("volume is already unmounted on the staging path.") + logger.Info("volume is already unmounted from the staging path.") return &csi.NodeUnstageVolumeResponse{}, nil } } diff --git a/pkg/util/disk/iscsi.go b/pkg/util/disk/iscsi.go index ea574e5bb9..a60cf858e1 100644 --- a/pkg/util/disk/iscsi.go +++ b/pkg/util/disk/iscsi.go @@ -29,6 +29,8 @@ import ( "github.com/oracle/oci-go-sdk/v65/core" "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/mount-utils" "k8s.io/utils/exec" @@ -87,6 +89,9 @@ type Interface interface { Logout() error DeviceOpened(pathname string) (bool, error) + + IsMounted(devicePath string, targetPath string) (bool, error) + // updates the queue depth for iSCSI target UpdateQueueDepth() error @@ -110,6 +115,8 @@ type Interface interface { GetDiskFormat(devicePath string) (string, error) WaitForPathToExist(path string, maxRetries int) bool + + ISCSILogoutOnFailure() error } // iSCSIMounter implements Interface. @@ -483,6 +490,49 @@ func (c *iSCSIMounter) DeviceOpened(pathname string) (bool, error) { return deviceOpened(pathname, c.logger) } +func (c *iSCSIMounter) IsMounted(devicePath string, targetPath string) (bool, error) { + var diskByPath string + notMnt, err := c.mounter.IsLikelyNotMountPoint(targetPath) + if err != nil { + if os.IsNotExist(err){ + return false, nil + } + return false, fmt.Errorf("failed to check if %s is a mount point: %v", targetPath, err) + } + if notMnt { + return false, nil + } + + diskByPath, err = GetIscsiDevicePath(c.disk) + if err != nil { + if strings.Contains(err.Error(), "No such file or directory") { + return false, fmt.Errorf("ISCSI login not complete for volume but staging path is a mount point, mapped to wrong device") + } else { + return false, fmt.Errorf("failed to find /dev/disk/by-path path for volume: %v", c.disk) + } + } + + resolvedDevicePath, err := filepath.EvalSymlinks(diskByPath) + if err != nil { + return false, fmt.Errorf("failed to resolve symlink for /dev/disk/by-path path %s: %v", diskByPath, err) + } + + mounts, err := c.mounter.List() + if err != nil { + return false, fmt.Errorf("could not list mount points: %v", err) + } + + for _, m := range mounts { + if m.Path == targetPath { + if m.Device == resolvedDevicePath { + return true, nil + } + return false, fmt.Errorf("expected device %s but found %s mounted at %s", resolvedDevicePath, m.Device, targetPath) + } + } + return false, nil +} + func (c *iSCSIMounter) UnmountPath(path string) error { return UnmountPath(c.logger, path, c.mounter) } @@ -500,6 +550,22 @@ func (c *iSCSIMounter) WaitForPathToExist(path string, maxRetries int) bool { return true } +func (c *iSCSIMounter) ISCSILogoutOnFailure() error { + err := c.Logout() + if err != nil { + c.logger.With(zap.Error(err)).Error("failed to logout from the iSCSI target") + return status.Error(codes.Internal, err.Error()) + } + + err = c.RemoveFromDB() + if err != nil { + c.logger.With(zap.Error(err)).Error("failed to remove the iSCSI node record") + return status.Error(codes.Internal, err.Error()) + } + + return nil +} + // getMountPointForPath returns the mount.MountPoint for a given path. If the // given path is not a mount point func getMountPointForPath(ml mount.Interface, path string) (mount.MountPoint, error) { diff --git a/pkg/util/disk/iscsi_uhp.go b/pkg/util/disk/iscsi_uhp.go index 4637f699d5..feaac26e67 100644 --- a/pkg/util/disk/iscsi_uhp.go +++ b/pkg/util/disk/iscsi_uhp.go @@ -195,6 +195,37 @@ func (c *iSCSIUHPMounter) DeviceOpened(pathname string) (bool, error) { return deviceOpened(pathname, c.logger) } +func (c *iSCSIUHPMounter) IsMounted(devicePath string, targetPath string) (bool, error) { + notMnt, err := c.mounter.IsLikelyNotMountPoint(targetPath) + if err != nil { + if os.IsNotExist(err){ + return false, nil + } + return false, fmt.Errorf("failed to check if %s is a mount point: %v", targetPath, err) + } + if notMnt { + return false, nil + } + mounts, err := c.mounter.List() + if err != nil { + return false, fmt.Errorf("could not list mount points: %v", err) + } + + for _, m := range mounts { + if m.Path == targetPath { + if m.Device == devicePath { + return true, nil + } + return false, fmt.Errorf("expected device %s but found %s mounted at %s", devicePath, m.Device, targetPath) + } + } + return false, nil +} + +func (c *iSCSIUHPMounter) ISCSILogoutOnFailure() error { + return nil +} + func GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) { logger.With("consistentDevicePath", consistentDevicePath).Info("Getting friendly name of multipath device using consistent device path") diff --git a/pkg/util/disk/paravirtualized.go b/pkg/util/disk/paravirtualized.go index af9227e207..c2f5288fde 100644 --- a/pkg/util/disk/paravirtualized.go +++ b/pkg/util/disk/paravirtualized.go @@ -16,6 +16,7 @@ package disk import ( "context" + "fmt" "os" "time" @@ -23,6 +24,7 @@ import ( "go.uber.org/zap" "k8s.io/mount-utils" "k8s.io/utils/exec" + "path/filepath" ) // iSCSIMounter implements Interface. @@ -99,6 +101,43 @@ func (c *pvMounter) DeviceOpened(pathname string) (bool, error) { return deviceOpened(pathname, c.logger) } +func (c *pvMounter) IsMounted(devicePath string, targetPath string) (bool, error) { + notMnt, err := c.mounter.IsLikelyNotMountPoint(targetPath) + if err != nil { + if os.IsNotExist(err){ + return false, nil + } + return false, fmt.Errorf("failed to check if %s is a mount point: %v", targetPath, err) + } + if notMnt { + return false, nil + } + + resolvedDevicePath, err := filepath.EvalSymlinks(devicePath) + if err != nil { + return false, fmt.Errorf("failed to resolve symlink for consistent device path %s: %v", devicePath, err) + } + + mounts, err := c.mounter.List() + if err != nil { + return false, fmt.Errorf("could not list mount points: %v", err) + } + + for _, m := range mounts { + if m.Path == targetPath { + if m.Device == resolvedDevicePath { + return true, nil + } + return false, fmt.Errorf("expected device %s but found %s mounted at %s", resolvedDevicePath, m.Device, targetPath) + } + } + return false, nil +} + +func (c *pvMounter) ISCSILogoutOnFailure() error { + return nil +} + func (c *pvMounter) UnmountPath(path string) error { return UnmountPath(c.logger, path, c.mounter) } From bba82046e76151862adf5c16c3444cd4b7744c2b Mon Sep 17 00:00:00 2001 From: Yashas G Date: Thu, 4 Dec 2025 11:59:02 +0530 Subject: [PATCH 08/27] Improve CSI driver lookup logic for stale entries --- pkg/csi-util/utils.go | 33 +++++----- pkg/csi-util/utils_test.go | 12 ++-- pkg/csi/driver/bv_node.go | 33 +++++++--- pkg/csi/driver/driver.go | 9 +-- pkg/csi/driver/lustre_node.go | 13 ++-- pkg/util/commons.go | 16 +++++ pkg/util/disk/iscsi.go | 117 +++++++++++++++++++++++++++++----- 7 files changed, 176 insertions(+), 57 deletions(-) diff --git a/pkg/csi-util/utils.go b/pkg/csi-util/utils.go index 3aed4ad309..fede79a58c 100644 --- a/pkg/csi-util/utils.go +++ b/pkg/csi-util/utils.go @@ -17,6 +17,7 @@ package csi_util import ( "context" "fmt" + "net" "os" "os/exec" @@ -43,6 +44,7 @@ import ( "k8s.io/client-go/tools/clientcmd" "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" "github.com/oracle/oci-cloud-controller-manager/pkg/util/disk" ) @@ -115,19 +117,6 @@ type NodeMetadata struct { IsNodeMetadataLoaded bool } -// CSIConfig represents the structure of the ConfigMap data. -type CSIConfig struct { - Lustre *DriverConfig `yaml:"lustre"` - IsLoaded bool -} - -// DriverConfig represents driver-specific configurations. -type DriverConfig struct { - SkipNodeUnstage bool `yaml:"skipNodeUnstage"` - SkipLustreParameters bool `yaml:"skipLustreParameters"` - -} - func (u *Util) LookupNodeID(k kubernetes.Interface, nodeName string) (string, error) { n, err := k.CoreV1().Nodes().Get(context.Background(), nodeName, metav1.GetOptions{}) if err != nil { @@ -641,10 +630,10 @@ func IsIpv6SingleStackNode(nodeMetadata *NodeMetadata) bool { return nodeMetadata.Ipv6Enabled == true && nodeMetadata.Ipv4Enabled == false } -func LoadCSIConfigFromConfigMap(csiConfig *CSIConfig, k kubernetes.Interface, configMapName string, logger *zap.SugaredLogger) { +func LoadCSIConfigFromConfigMap(csiConfig *util.CSIConfig, k kubernetes.Interface, configMapName string, logger *zap.SugaredLogger, ctx context.Context) { // Get the ConfigMap // Parse the configuration for each driver - cm, err := k.CoreV1().ConfigMaps("kube-system").Get(context.Background(), configMapName, metav1.GetOptions{}) + cm, err := k.CoreV1().ConfigMaps("kube-system").Get(ctx, configMapName, metav1.GetOptions{}) if err != nil { logger.Debugf("Failed to load ConfigMap %v due to error %v. Using default configuration.", configMapName, err) return @@ -652,9 +641,17 @@ func LoadCSIConfigFromConfigMap(csiConfig *CSIConfig, k kubernetes.Interface, co if lustreConfig, exists := cm.Data["lustre"]; exists { if err := yaml.Unmarshal([]byte(lustreConfig), &csiConfig.Lustre); err != nil { - logger.Debugf("Failed to parse lustre key in config map %v. Error: %v",configMapName, err) - return + logger.Warnf("Failed to parse lustre key in config map %v. Error: %v", configMapName, err) + } else { + logger.Infof("Successfully loaded lustre parameters from ConfigMap %v. Using customized configuration for csi driver.", configMapName) + } + } + + if bvConfig, exists := cm.Data["blockVolume"]; exists { + if err := yaml.Unmarshal([]byte(bvConfig), &csiConfig.Bv); err != nil { + logger.Warnf("Failed to parse block volume key in config map %v. Error: %v", configMapName, err) + } else { + logger.Infof("Successfully loaded block volume parameters from ConfigMap %v. Using customized configuration for csi driver.", configMapName) } - logger.Infof("Successfully loaded ConfigMap %v. Using customized configuration for csi driver.", configMapName) } } diff --git a/pkg/csi-util/utils_test.go b/pkg/csi-util/utils_test.go index dad37fcd59..c2de22cc0d 100644 --- a/pkg/csi-util/utils_test.go +++ b/pkg/csi-util/utils_test.go @@ -811,13 +811,13 @@ func Test_LoadCSIConfigFromConfigMap(t *testing.T) { tests := []struct { name string configMapName string - want *CSIConfig + want *util.CSIConfig }{ { name: "Parse Configs correctly when csi config map is present", configMapName: "oci-csi-config", - want: &CSIConfig{ - Lustre: &DriverConfig{ + want: &util.CSIConfig{ + Lustre: &util.DriverConfig{ SkipNodeUnstage: true, SkipLustreParameters: true, }, @@ -826,17 +826,17 @@ func Test_LoadCSIConfigFromConfigMap(t *testing.T) { { name: "Return default config if config map is not present", configMapName: "invalid", - want: &CSIConfig{ + want: &util.CSIConfig{ }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - csiConfig := &CSIConfig{} + csiConfig := &util.CSIConfig{} LoadCSIConfigFromConfigMap(csiConfig, &util.MockKubeClient{ CoreClient: &util.MockCoreClient{}, - }, tt.configMapName, zap.S()) + }, tt.configMapName, zap.S(), context.Background()) if !reflect.DeepEqual(tt.want, csiConfig) { t.Errorf("LoadCSIConfigFromConfigMap() => got : %v, want : %v", csiConfig, tt.want) diff --git a/pkg/csi/driver/bv_node.go b/pkg/csi/driver/bv_node.go index 86974c52c8..ec14dc031a 100644 --- a/pkg/csi/driver/bv_node.go +++ b/pkg/csi/driver/bv_node.go @@ -326,6 +326,8 @@ func (d BlockVolumeNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.N logger := d.logger.With("volumeID", req.VolumeId, "stagingPath", req.StagingTargetPath) + d.loadCSIConfig(ctx) + stagingTargetFilePath := csi_util.GetPathForBlock(req.StagingTargetPath) if acquired := d.volumeLocks.TryAcquire(req.VolumeId); !acquired { @@ -347,14 +349,14 @@ func (d BlockVolumeNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.N var err error if isRawBlockVolume { - diskPath, err = disk.GetDiskPathFromBindDeviceFilePath(logger, stagingTargetFilePath) + diskPath, err = disk.GetDiskPathFromBindDeviceFilePath(logger, stagingTargetFilePath, d.csiConfig) if err != nil { logger.With(zap.Error(err)).With("mountPath", stagingTargetFilePath).Error("unable to get diskPath from mount path") return nil, status.Error(codes.Internal, err.Error()) } } else { - diskPath, err = disk.GetDiskPathFromMountPath(logger, req.GetStagingTargetPath()) + diskPath, err = disk.GetDiskPathFromMountPath(logger, req.GetStagingTargetPath(), d.csiConfig) if err != nil { // do a clean exit in case of mount point not found @@ -469,6 +471,8 @@ func (d BlockVolumeNodeDriver) NodePublishVolume(ctx context.Context, req *csi.N logger := d.logger.With("volumeID", req.VolumeId, "targetPath", req.TargetPath) + d.loadCSIConfig(ctx) + stagingTargetFilePath := csi_util.GetPathForBlock(req.StagingTargetPath) isRawBlockVolume := false @@ -605,13 +609,13 @@ func (d BlockVolumeNodeDriver) NodePublishVolume(ctx context.Context, req *csi.N var diskErr error if isRawBlockVolume { - diskPath, diskErr = disk.GetDiskPathFromBindDeviceFilePath(logger, req.TargetPath) + diskPath, diskErr = disk.GetDiskPathFromBindDeviceFilePath(logger, req.TargetPath, d.csiConfig) if diskErr != nil { logger.With(zap.Error(diskErr)).With("mountPath", req.TargetPath).Error("unable to get diskPath from mount path") return nil, status.Error(codes.Internal, diskErr.Error()) } } else { - diskPath, diskErr = disk.GetDiskPathFromMountPath(d.logger, req.StagingTargetPath) + diskPath, diskErr = disk.GetDiskPathFromMountPath(d.logger, req.StagingTargetPath, d.csiConfig) if diskErr != nil { // do a clean exit in case of mount point not found if diskErr == disk.ErrMountPointNotFound { @@ -687,6 +691,8 @@ func (d BlockVolumeNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi logger := d.logger.With("volumeID", req.VolumeId, "targetPath", req.TargetPath) + d.loadCSIConfig(ctx) + hostUtil := hostutil.NewHostUtil() isRawBlockVolume, rbvCheckErr := hostUtil.PathIsDevice(req.TargetPath) @@ -710,13 +716,13 @@ func (d BlockVolumeNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi var err error if isRawBlockVolume { - diskPath, err = disk.GetDiskPathFromBindDeviceFilePath(logger, req.TargetPath) + diskPath, err = disk.GetDiskPathFromBindDeviceFilePath(logger, req.TargetPath, d.csiConfig) if err != nil { logger.With(zap.Error(err)).With("mountPath", req.TargetPath).Error("unable to get diskPath from mount path") return nil, status.Error(codes.Internal, err.Error()) } } else { - diskPath, err = disk.GetDiskPathFromMountPath(d.logger, req.TargetPath) + diskPath, err = disk.GetDiskPathFromMountPath(d.logger, req.TargetPath, d.csiConfig) if err != nil { // do a clean exit in case of mount point not found if err == disk.ErrMountPointNotFound { @@ -937,6 +943,8 @@ func (d BlockVolumeNodeDriver) NodeExpandVolume(ctx context.Context, req *csi.No logger := d.logger.With("volumeID", req.VolumeId, "volumePath", req.VolumePath) + d.loadCSIConfig(ctx) + if acquired := d.volumeLocks.TryAcquire(req.VolumeId); !acquired { logger.Error("Could not acquire lock for NodeExpandVolume.") return nil, status.Errorf(codes.Aborted, volumeOperationAlreadyExistsFmt, req.VolumeId) @@ -963,7 +971,7 @@ func (d BlockVolumeNodeDriver) NodeExpandVolume(ctx context.Context, req *csi.No var diskPath []string if !isRawBlockVolume { - diskPath, err = disk.GetDiskPathFromMountPath(logger, volumePath) + diskPath, err = disk.GetDiskPathFromMountPath(logger, volumePath, d.csiConfig) if err != nil { if err == disk.ErrMountPointNotFound { logger.With(zap.Error(err)).With("volumePath", volumePath).Warn("unable to fetch mount point") @@ -973,7 +981,7 @@ func (d BlockVolumeNodeDriver) NodeExpandVolume(ctx context.Context, req *csi.No return nil, status.Error(codes.Internal, err.Error()) } } else { - diskPath, err = disk.GetDiskPathFromBindDeviceFilePath(logger, volumePath) + diskPath, err = disk.GetDiskPathFromBindDeviceFilePath(logger, volumePath, d.csiConfig) if err != nil { logger.With(zap.Error(err)).Errorf("unable to get disk paths from volumePath %s", volumePath) return nil, status.Error(codes.Internal, err.Error()) @@ -1069,3 +1077,12 @@ func getMultipathDevicesFromReq(req *csi.NodeStageVolumeRequest) ([]core.Multipa return multipathDevicesList, nil } + +func (d BlockVolumeNodeDriver) loadCSIConfig(ctx context.Context) { + if d.csiConfig.IsLoaded { + return + } + d.logger.Info("Loading CSI Config Map for BV driver") + csi_util.LoadCSIConfigFromConfigMap(d.csiConfig, d.KubeClient, CSIConfigMapName, d.logger, ctx) + d.csiConfig.IsLoaded = true +} diff --git a/pkg/csi/driver/driver.go b/pkg/csi/driver/driver.go index 21ffeb3c2a..dfe5d0f6ec 100644 --- a/pkg/csi/driver/driver.go +++ b/pkg/csi/driver/driver.go @@ -34,6 +34,7 @@ import ( "github.com/oracle/oci-cloud-controller-manager/pkg/metrics" "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" "github.com/oracle/oci-cloud-controller-manager/pkg/oci/instance/metadata" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" "go.uber.org/zap" "google.golang.org/grpc" utilruntime "k8s.io/apimachinery/pkg/util/runtime" @@ -134,8 +135,8 @@ type NodeDriver struct { util *csi_util.Util volumeLocks *csi_util.VolumeLocks nodeMetadata *csi_util.NodeMetadata + csiConfig *util.CSIConfig csi.UnimplementedNodeServer - csiConfig *csi_util.CSIConfig } // BlockVolumeNodeDriver extends NodeDriver @@ -176,7 +177,7 @@ func newControllerDriver(kubeClientSet kubernetes.Interface, logger *zap.Sugared } } -func newNodeDriver(nodeID string, nodeMetaData *csi_util.NodeMetadata, kubeClientSet kubernetes.Interface, logger *zap.SugaredLogger, csiConfig *csi_util.CSIConfig) NodeDriver { +func newNodeDriver(nodeID string, nodeMetaData *csi_util.NodeMetadata, kubeClientSet kubernetes.Interface, logger *zap.SugaredLogger, csiConfig *util.CSIConfig) NodeDriver { return NodeDriver{ nodeID: nodeID, KubeClient: kubeClientSet, @@ -234,7 +235,7 @@ func getMetricPusher(metricPusherGetter MetricPusherGetter, logger *zap.SugaredL return metricPusher, nil } -func GetNodeDriver(name string, nodeID string, nodeMetadata *csi_util.NodeMetadata, kubeClientSet kubernetes.Interface, logger *zap.SugaredLogger, csiConfig *csi_util.CSIConfig) csi.NodeServer { +func GetNodeDriver(name string, nodeID string, nodeMetadata *csi_util.NodeMetadata, kubeClientSet kubernetes.Interface, logger *zap.SugaredLogger, csiConfig *util.CSIConfig) csi.NodeServer { if name == BlockVolumeDriverName { return BlockVolumeNodeDriver{NodeDriver: newNodeDriver(nodeID, nodeMetadata, kubeClientSet, logger, csiConfig)} } @@ -254,7 +255,7 @@ func NewNodeDriver(logger *zap.SugaredLogger, nodeOptions nodedriveroptions.Node kubeClientSet := csi_util.GetKubeClient(logger, nodeOptions.Master, nodeOptions.Kubeconfig) nodeMetadata := &csi_util.NodeMetadata{} - csiConfig := &csi_util.CSIConfig{} + csiConfig := &util.CSIConfig{} return &Driver{ controllerDriver: nil, diff --git a/pkg/csi/driver/lustre_node.go b/pkg/csi/driver/lustre_node.go index 391fa645d4..963b648cd4 100644 --- a/pkg/csi/driver/lustre_node.go +++ b/pkg/csi/driver/lustre_node.go @@ -7,6 +7,7 @@ import ( "github.com/container-storage-interface/spec/lib/go/csi" csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" "github.com/oracle/oci-cloud-controller-manager/pkg/util/disk" "go.uber.org/zap" "google.golang.org/grpc/codes" @@ -42,7 +43,7 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag } - d.loadCSIConfig() + d.loadCSIConfig(ctx) if lustrePostMountParameters, exists := req.GetVolumeContext()["lustrePostMountParameters"]; exists && !isSkipLustreParams(d.csiConfig) { if err := csi_util.ValidateLustreParameters(d.logger, lustrePostMountParameters); err != nil { @@ -129,7 +130,7 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag Info("Mounting the volume to staging target path is completed.") if lustrePostMountParameters, exists := req.GetVolumeContext()["lustrePostMountParameters"]; exists { - d.loadCSIConfig() + d.loadCSIConfig(ctx) if !isSkipLustreParams(d.csiConfig) { err = lnetService.ApplyLustreParameters(logger, lustrePostMountParameters) if err != nil { @@ -147,12 +148,12 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag return &csi.NodeStageVolumeResponse{}, nil } -func (d LustreNodeDriver) loadCSIConfig() { +func (d LustreNodeDriver) loadCSIConfig(ctx context.Context) { if d.csiConfig.IsLoaded { return } d.logger.Info("Loading CSI Config Map") - csi_util.LoadCSIConfigFromConfigMap(d.csiConfig, d.KubeClient, CSIConfigMapName, d.logger) + csi_util.LoadCSIConfigFromConfigMap(d.csiConfig, d.KubeClient, CSIConfigMapName, d.logger, ctx) d.csiConfig.IsLoaded = true } @@ -174,7 +175,7 @@ func (d LustreNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.NodeUn logger := d.logger.With("volumeID", req.VolumeId, "stagingPath", req.StagingTargetPath) - d.loadCSIConfig() + d.loadCSIConfig(ctx) if d.csiConfig != nil && d.csiConfig.Lustre != nil && d.csiConfig.Lustre.SkipNodeUnstage { logger.Info("Skipping NodeUnstageVolume based on CSI Driver Configuration.") @@ -439,6 +440,6 @@ func (d LustreNodeDriver) NodeGetInfo(ctx context.Context, request *csi.NodeGetI }, nil } -func isSkipLustreParams(csiConfig *csi_util.CSIConfig) bool { +func isSkipLustreParams(csiConfig *util.CSIConfig) bool { return csiConfig != nil && csiConfig.Lustre != nil && csiConfig.Lustre.SkipLustreParameters } diff --git a/pkg/util/commons.go b/pkg/util/commons.go index 7f6c8f0e4f..187d2986d5 100644 --- a/pkg/util/commons.go +++ b/pkg/util/commons.go @@ -44,6 +44,7 @@ const ( ErrTagLimitReached = "TAG_LIMIT_REACHED" Success = "SUCCESS" BackupCreating = "CREATING" + PANIC = "PANIC" // Components generating errors // Load Balancer @@ -160,3 +161,18 @@ func IsCommonTagPresent(initialTags *config.InitialTags) bool { return initialTags != nil && initialTags.Common != nil } + +// CSIConfig represents the structure of the ConfigMap data. +type CSIConfig struct { + Lustre *DriverConfig `yaml:"lustre"` + Bv *DriverConfig `yaml:"bv"` + IsLoaded bool +} + + +// DriverConfig represents driver-specific configurations. +type DriverConfig struct { + SkipNodeUnstage bool `yaml:"skipNodeUnstage"` + SkipLustreParameters bool `yaml:"skipLustreParameters"` + SkipBrokenSymLinks bool `yaml:"skipBrokenSymLinks"` +} diff --git a/pkg/util/disk/iscsi.go b/pkg/util/disk/iscsi.go index a60cf858e1..67805c3974 100644 --- a/pkg/util/disk/iscsi.go +++ b/pkg/util/disk/iscsi.go @@ -27,6 +27,7 @@ import ( "strings" "time" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" "github.com/oracle/oci-go-sdk/v65/core" "go.uber.org/zap" "google.golang.org/grpc/codes" @@ -215,7 +216,7 @@ func NewFromMountPointPath(logger *zap.SugaredLogger, mountPath string) (Interfa if err != nil { return nil, err } - diskByPaths, err := diskByPathsForMountPoint(mountPoint) + diskByPaths, err := diskByPathsForMountPoint(mountPoint, logger, nil) if err != nil { return nil, err } @@ -242,7 +243,7 @@ func FindFromMountPointPath(logger *zap.SugaredLogger, diskByPaths []string) ([] } // GetDiskPathFromMountPath resolves a directory to a block device -func GetDiskPathFromMountPath(logger *zap.SugaredLogger, mountPath string) ([]string, error) { +func GetDiskPathFromMountPath(logger *zap.SugaredLogger, mountPath string, config *util.CSIConfig) ([]string, error) { mounter := mount.New(mountCommand) mountPoint, err := getMountPointForPath(mounter, mountPath) if err != nil { @@ -251,7 +252,7 @@ func GetDiskPathFromMountPath(logger *zap.SugaredLogger, mountPath string) ([]st if strings.HasPrefix(mountPoint.Device, "/dev/mapper") { return []string{mountPoint.Device}, nil } - diskByPaths, err := diskByPathsForMountPoint(mountPoint) + diskByPaths, err := diskByPathsForMountPoint(mountPoint, logger, config) if err != nil { return nil, err } @@ -264,7 +265,7 @@ func GetDiskPathFromMountPath(logger *zap.SugaredLogger, mountPath string) ([]st // Finding disk by path - "diskByPaths": ["/dev/disk/by-path/ip--iscsi-iqn.2015-12.com.oracleiaas:uniqfier-lun-2"] // Gets the diskPath for a bind-mounted device file -func GetDiskPathFromBindDeviceFilePath(logger *zap.SugaredLogger, mountPath string) ([]string, error) { +func GetDiskPathFromBindDeviceFilePath(logger *zap.SugaredLogger, mountPath string, config *util.CSIConfig) ([]string, error) { // Get the block device for the given mount path devices, err := FindMount(mountPath) @@ -300,7 +301,7 @@ func GetDiskPathFromBindDeviceFilePath(logger *zap.SugaredLogger, mountPath stri } // Use the device path to get diskByPaths - diskByPaths, err := diskByPathsForMountPoint(mountPoint) + diskByPaths, err := diskByPathsForMountPoint(mountPoint, logger, config) if err != nil { logger.With(zap.Error(err)).Warn("Unable to find diskByPaths for device") return nil, err @@ -585,18 +586,54 @@ func getMountPointForPath(ml mount.Interface, path string) (mount.MountPoint, er // TODO(apryde): Need to think about how best to test this/make it more // testable. -func diskByPathsForMountPoint(mountPoint mount.MountPoint) ([]string, error) { +func diskByPathsForMountPoint(mountPoint mount.MountPoint, logger *zap.SugaredLogger, config *util.CSIConfig) ([]string, error) { diskByPaths := []string{} - err := filepath.Walk("/dev/disk/by-path/", func(path string, info os.FileInfo, err error) error { - target, err := filepath.EvalSymlinks(path) - if err != nil { - return err - } - if target == mountPoint.Device { + var err error + if config != nil && config.Bv != nil && config.Bv.SkipBrokenSymLinks { + err = filepath.Walk("/dev/disk/by-path/", func(path string, info os.FileInfo, err error) error { + target, err := filepath.EvalSymlinks(path) + if err != nil { + if strings.Contains(err.Error(), "lstat") && + !strings.Contains(err.Error(), fmt.Sprintf("%s:", mountPoint.Device)) { + logger.Infof("Ignoring error '%s' for stale device path %v entry", err.Error(), path) + return nil + } + logger.Errorf("Error evaluating symlink for %s: %s", path, err.Error()) + return err + } + + if target != mountPoint.Device { + return nil + } + + // differentiating flows for ISCSI and paravirtualized devices + // Sample ISCSI path - ip-169.254.2.14:3260-iscsi-iqn.2015-12.com.oracleiaas:c47b5be3-d2fb-40a5-978b-a793c4ff4806-lun-3 + // Sample PV path - pci-0000:02:00.0-scsi-0:0:1:2 + base := filepath.Base(path) + if strings.HasPrefix(base, "ip-") && strings.Contains(base, "-iscsi-"){ + // include only if ISCSI session active + if !isISCSISessionActive(path, logger) { + logger.Infof("Ignoring path %s due to no active ISCSI session", path) + return nil + } + } + diskByPaths = append(diskByPaths, path) - } - return nil - }) + return nil + }) + } else { + err = filepath.Walk("/dev/disk/by-path/", func(path string, info os.FileInfo, err error) error { + target, err := filepath.EvalSymlinks(path) + if err != nil { + return err + } + if target == mountPoint.Device { + diskByPaths = append(diskByPaths, path) + } + return nil + }) + } + if err != nil { return nil, err } @@ -606,6 +643,56 @@ func diskByPathsForMountPoint(mountPoint mount.MountPoint) ([]string, error) { return diskByPaths, nil } +// isISCSISessionActive returns true if there is an active iSCSI session +// that matches the portal and IQN of the by-path filename. +// Example by-path: +// /dev/disk/by-path/ip-169.254.2.2:3260-iscsi-iqn.2015-12.com.oracleiaas:5638bae3-98d1-4e33-b912-9bb567d94f59-lun-2 +func isISCSISessionActive(path string, logger *zap.SugaredLogger) bool { + // For /dev/disk/by-path/ip-169.254.2.2:3260-iscsi-iqn.2015-12.com.oracleiaas:5638bae3-98d1-4e33-b912-9bb567d94f59-lun-2 + // m[0] = /dev/disk/by-path/ip-169.254.2.2:3260-iscsi-iqn.2015-12.com.oracleiaas:5638bae3-98d1-4e33-b912-9bb567d94f59-lun-2 + // m[1] = 169.254.2.2 + // m[2] = 3260 + // m[3] = iqn.2015-12.com.oracleiaas:5638bae3-98d1-4e33-b912-9bb567d94f59 + m := diskByPathPattern.FindStringSubmatch(path) + if len(m) != 4 { + logger.Errorf("mount device path %v did not match pattern; got %v", path, m) + return false + } + + // 3: Query iscsiadm for active sessions + outBytes, err := cmdexec.Command("iscsiadm", "-m", "session").CombinedOutput() + out := string(outBytes) + + if err != nil { + if strings.Contains(out, "No active sessions") { + logger.Errorf("No active iscsi sessions found on node") + return false + } + logger.Errorf("Error listing active iscsi sessions") + return false + } + + // 4: Match session line that contains BOTH portal + iqn + // iscsiadm prints lines like: + // tcp: [2] 169.254.2.3:3260,1 iqn.2015-12.com.oracleiaas:5638bae3-98d1-4e33-b912-9bb567d94f59 (non-flash) + for _, line := range strings.Split(out, "\n") { + line = strings.TrimSpace(line) + if line == "" { + continue + } + + portal := m[1]+":"+m[2] + portalMatch := strings.Contains(line, portal) + + if portalMatch && strings.Contains(line, m[3]) { + logger.Infof("Found matching iscsi session for path %s: %s", path, line) + return true + } + } + + return false +} + func GetIscsiDevicePath(disk *Disk) (string, error) { // run command ls -l /dev/disk/by-path cmdStr := fmt.Sprintf("ls -f /dev/disk/by-path/ip-%s:%d-iscsi-%s-lun-*", disk.IscsiIp, disk.Port, disk.IQN) From 012f3700185b45e0fa2f2c4bca2fcfba73c97edd Mon Sep 17 00:00:00 2001 From: Yashas G Date: Thu, 4 Dec 2025 07:23:12 +0530 Subject: [PATCH 09/27] Improving CSI Node Driver Unit test coverage --- go.mod | 2 + go.sum | 1 + pkg/csi/driver/bv_node.go | 35 ++- pkg/csi/driver/bv_node_test.go | 417 +++++++++++++++++++++++++++++++ pkg/csi/driver/driver.go | 4 +- pkg/flexvolume/block/driver.go | 2 +- pkg/util/disk/iscsi.go | 11 +- pkg/util/disk/iscsi_uhp.go | 7 +- pkg/util/disk/mount_helper.go | 19 ++ pkg/util/disk/paravirtualized.go | 14 +- vendor/modules.txt | 3 + 11 files changed, 500 insertions(+), 15 deletions(-) diff --git a/go.mod b/go.mod index 3062da8192..2ed9b1686f 100644 --- a/go.mod +++ b/go.mod @@ -77,6 +77,8 @@ require ( ) require ( + github.com/go-logr/logr v1.4.2 + github.com/golang/mock v1.6.0 golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 golang.org/x/sync v0.11.0 google.golang.org/protobuf v1.36.2 diff --git a/go.sum b/go.sum index d0d8bae29f..9e62205f33 100644 --- a/go.sum +++ b/go.sum @@ -950,6 +950,7 @@ golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.29.0 h1:Xx0h3TtM9rzQpQuR4dKLrdglAmCEN5Oi+P74JdhdzXE= diff --git a/pkg/csi/driver/bv_node.go b/pkg/csi/driver/bv_node.go index ec14dc031a..5d16cbbbb7 100644 --- a/pkg/csi/driver/bv_node.go +++ b/pkg/csi/driver/bv_node.go @@ -91,39 +91,50 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod multipathEnabledVolume, err = strconv.ParseBool(req.PublishContext[multipathEnabled]) if err != nil { logger.With(zap.Error(err)).Error("failed to determine if volume is multipath enabled") - return nil, status.Error(codes.Internal, err.Error()) + return nil, status.Errorf(codes.Internal, "failed to determine if volume is multipath enabled: %v", err.Error()) } } switch attachment { case attachmentTypeISCSI: if multipathEnabledVolume { + mountHandler, err = d.mounterFactory(attachmentTypeISCSI, scsiInfo, multipathEnabledVolume, logger) + if err != nil { + logger.With(zap.Error(err)).Error("Failed to create mountHandler") + return nil, status.Errorf(codes.InvalidArgument, "Failed to create mountHandler: %v", err.Error()) + } logger.Info("Volume attachment is multipath enabled") multipathDevices, err = getMultipathDevicesFromReq(req) - devicePath, err = disk.GetMultipathIscsiDevicePath(ctx, req.PublishContext[device], logger) + if err != nil { + logger.With(zap.Error(err)).Error("Failed to get multipath device list for multipath enabled volume") + return nil, status.Errorf(codes.Internal, "Failed to get multipath device list for multipath enabled volume: %v", err.Error()) + } + devicePath, err = mountHandler.GetMultipathIscsiDevicePath(ctx, req.PublishContext[device], logger) if err != nil { logger.With(zap.Error(err)).Error("Failed to get device path for multipath enabled volume") - return nil, status.Error(codes.Internal, "Failed to get device path for multipath enabled volume") + return nil, status.Errorf(codes.Internal, "Failed to get device path for multipath enabled volume: %v", err.Error()) } - mountHandler = disk.NewISCSIUHPMounter(d.logger) logger.Info("starting to stage UHP iSCSI Mounting.") } else { logger.Info("Volume attachment is multipath disabled") scsiInfo, err = csi_util.ExtractISCSIInformation(req.PublishContext) if err != nil { logger.With(zap.Error(err)).Error("Failed to get SCSI info from publish context.") - return nil, status.Error(codes.InvalidArgument, "PublishContext is invalid.") + return nil, status.Errorf(codes.InvalidArgument, "PublishContext is invalid: %v", err.Error()) } if strings.EqualFold(d.nodeMetadata.PreferredNodeIpFamily, csi_util.Ipv6Stack) { scsiInfo.IscsiIp, err = csi_util.ConvertIscsiIpFromIpv4ToIpv6(scsiInfo.IscsiIp) if err != nil { logger.With(zap.Error(err)).Error("Failed get ipv6 address for Iscsi Target.") - return nil, status.Errorf(codes.Internal, "Failed get ipv6 address for Iscsi Target.") + return nil, status.Errorf(codes.Internal, "Failed get ipv6 address for Iscsi Target: %v", err.Error()) } } - - mountHandler = disk.NewFromISCSIDisk(d.logger, scsiInfo) + mountHandler, err = d.mounterFactory(attachmentTypeISCSI, scsiInfo, multipathEnabledVolume, logger) + if err != nil { + logger.With(zap.Error(err)).Error("Failed to create mountHandler") + return nil, status.Errorf(codes.InvalidArgument, "Failed to create mountHandler: %v", err.Error()) + } logger.Info("starting to stage iSCSI Mounting.") } case attachmentTypeParavirtualized: @@ -132,7 +143,11 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod logger.Error("Unable to get the device from the attribute list") return nil, status.Error(codes.InvalidArgument, "Unable to get the device from the attribute list") } - mountHandler = disk.NewFromPVDisk(d.logger) + mountHandler, err = d.mounterFactory(attachmentTypeParavirtualized, scsiInfo, multipathEnabledVolume, logger) + if err != nil { + logger.With(zap.Error(err)).Error("Failed to create mountHandler") + return nil, status.Errorf(codes.InvalidArgument, "Failed to create mountHandler: %v", err.Error()) + } logger.With("devicePath", devicePath).Info("starting to stage paravirtualized Mounting.") default: logger.Error("unknown attachment type. supported attachment types are iscsi and paravirtualized") @@ -194,7 +209,7 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod } if attachment == attachmentTypeISCSI && !multipathEnabledVolume { // Wait and get device path using the publish context - devicePath, err = disk.WaitForDevicePathToExist(ctx, scsiInfo, logger) + devicePath, err = mountHandler.WaitForDevicePathToExist(ctx, scsiInfo, logger) if err != nil { logger.With(zap.Error(err)).Error("Failed to get /dev/disk/by-path device path for iscsi volume.") err = mountHandler.ISCSILogoutOnFailure() diff --git a/pkg/csi/driver/bv_node_test.go b/pkg/csi/driver/bv_node_test.go index 1c94dc66cc..bde135703c 100644 --- a/pkg/csi/driver/bv_node_test.go +++ b/pkg/csi/driver/bv_node_test.go @@ -15,8 +15,23 @@ package driver import ( + "context" + "encoding/json" "fmt" + "reflect" "testing" + + "github.com/container-storage-interface/spec/lib/go/csi" + csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" + "github.com/oracle/oci-cloud-controller-manager/pkg/logging" + "github.com/oracle/oci-cloud-controller-manager/pkg/util/disk" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/core" + "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "k8s.io/mount-utils" + "k8s.io/utils/exec" ) func Test_getDevicePathAndAttachmentType(t *testing.T) { @@ -112,3 +127,405 @@ func Test_alreadyDeletedPathCheck(t *testing.T) { }) } } + +// mockMounter implements Interface. +type mockMounter struct { + runner exec.Interface + mounter mount.Interface + logger *zap.SugaredLogger + devicePathExistWaitError error + ISCSILogoutOnFailureError error +} + +func (m mockMounter) WaitForDevicePathToExist(ctx context.Context, disk *disk.Disk, logger *zap.SugaredLogger) (string, error) { + if m.devicePathExistWaitError != nil { + return "", m.devicePathExistWaitError + } + return "", nil +} + +func (m mockMounter) GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) { + if consistentDevicePath == "incorrectDevice" { + return "", status.Error(codes.DeadlineExceeded, "context deadline exceeded") + } + return "", nil +} + +func (m mockMounter) AddToDB() error { + return nil +} + +func (m mockMounter) FormatAndMount(source string, target string, fstype string, options []string) error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) Mount(source string, target string, fstype string, options []string) error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) Login() error { + return nil +} + +func (m mockMounter) Logout() error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) DeviceOpened(pathname string) (bool, error) { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) IsMounted(devicePath string, targetPath string) (bool, error) { + fmt.Println("IsMounted", devicePath, targetPath) + if targetPath == "idempotency-check-failure" { + return false, fmt.Errorf("failure during idempotency check") + } else if targetPath == "idempotency-check-success" { + return true, nil + } + return false, nil +} + +func (m mockMounter) UpdateQueueDepth() error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) RemoveFromDB() error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) SetAutomaticLogin() error { + return nil +} + +func (m mockMounter) UnmountPath(path string) error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) Rescan(devicePath string) error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) Resize(devicePath string, volumePath string) (bool, error) { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) WaitForVolumeLoginOrTimeout(ctx context.Context, multipathDevices []core.MultipathDevice) error { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) GetDiskFormat(devicePath string) (string, error) { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) WaitForPathToExist(path string, maxRetries int) bool { + //TODO implement me + panic("implement me") +} + +func (m mockMounter) ISCSILogoutOnFailure() error { + if m.ISCSILogoutOnFailureError != nil { + return m.ISCSILogoutOnFailureError + } + return nil +} + +func TestNodeStageVolume(t *testing.T) { + multiPathDevicesJson := []byte{} + var err error + multiPathDevicesJson, err = json.Marshal([]core.MultipathDevice{ + { + Ipv4: common.String("1.2.3.4"), + Iqn: common.String("iqn.2016-09.com.oraclecloud"), + Port: common.Int(3034), + }, + }) + if err != nil { + t.Fatalf("Error constructing multipath devices Json: %v", err) + } + multipathDevicesString := string(multiPathDevicesJson) + + testCases := []struct { + name string + req *csi.NodeStageVolumeRequest + setup func(m *mockMounter) + expectedErr error + }{ + { + name: "Volume ID not present", + req: &csi.NodeStageVolumeRequest{}, + expectedErr: status.Error(codes.InvalidArgument, "Volume ID must be provided"), + }, + { + name: "Publish context not present", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + }, + expectedErr: status.Error(codes.InvalidArgument, "PublishContext must be provided"), + }, + { + name: "Staging path not present", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{"attach-type": "iscsi"}, + + }, + expectedErr: status.Error(codes.InvalidArgument, "Staging Target Path must be provided"), + }, + { + name: "Volume Capability not present", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{"attach-type": "iscsi"}, + StagingTargetPath: "/staging-path", + }, + expectedErr: status.Error(codes.InvalidArgument, "Volume Capability must be provided"), + }, + { + name: "Wrong value for multipath enabled", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{multipathEnabled: "yes"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.Internal, "failed to determine if volume is multipath enabled: strconv.ParseBool: parsing \"yes\": invalid syntax"), + }, + { + name: "UHP - Invalid multipath device list", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{multipathEnabled: "true", multipathDevices: "Not a valid device list"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.Internal, "Failed to get multipath device list for multipath enabled volume: rpc error: code = Internal desc = Failed to get multipath devices from publish context."), + }, + { + name: "UHP - Error finding friendly name for multipath device", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{multipathEnabled: "true", multipathDevices: multipathDevicesString, disk.ISCSIPORT: "3043", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud", disk.ISCSIIP: "1.2.3.4", device: "incorrectDevice"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.Internal, "Failed to get device path for multipath enabled volume: rpc error: code = DeadlineExceeded desc = context deadline exceeded"), + }, + { + name: "ISCSI - Information missing in publish context", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "1.2.3.4"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.InvalidArgument, "PublishContext is invalid: unable to get the IQN from the attribute list"), + }, + { + name: "ISCSI - Error getting target IP in IPv6 single stack cluster", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "fd00:c1::a9fe:a9fe", disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Errorf(codes.Internal, "Failed get ipv6 address for Iscsi Target: invalid iSCSIIp identified fd00:c1::a9fe:a9fe"), + }, + { + name: "Paravirtualized - Unable to get device from publish context", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "fd00:c1::a9fe:a9fe", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud", attachmentType: attachmentTypeParavirtualized}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.InvalidArgument, "Unable to get the device from the attribute list"), + }, + { + name: "Unknown attachment type", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "ocid.abcd", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "fd00:c1::a9fe:a9fe", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud", attachmentType: "unknown-attachment"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.InvalidArgument, "unknown attachment type. supported attachment types are iscsi and paravirtualized"), + }, + { + name: "Error acquiring lock", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "Test-volume", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "1.2.3.4", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud"}, + StagingTargetPath: "/staging-path", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Errorf(codes.Aborted, volumeOperationAlreadyExistsFmt, "Test-volume"), + }, + { + name: "Error from IsMounted during idempotency check", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "Idempotency-check-failure", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "1.2.3.4", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud"}, + StagingTargetPath: "idempotency-check-failure", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: status.Error(codes.Internal, "failure during idempotency check"), + }, + { + name: "Idempotency check success", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "Test-volume", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "1.2.3.4", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud"}, + StagingTargetPath: "idempotency-check-success", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + expectedErr: nil, + }, + { + name: "Error while logging out after WaitForDevicePathToExist failure", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "Test-volume", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "1.2.3.4", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud"}, + StagingTargetPath: "test", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + setup: func(m *mockMounter) { + m.devicePathExistWaitError = fmt.Errorf("device exist error") + m.ISCSILogoutOnFailureError = fmt.Errorf("logout error") + }, + expectedErr: status.Errorf(codes.Internal, "Failed to iscsi logout after timeout on waiting for device path to exist: %v", "logout error"), + }, + { + name: "Error while logging out after WaitForDevicePathToExist failure", + req: &csi.NodeStageVolumeRequest{ + VolumeId: "Test-volume", + PublishContext: map[string]string{disk.ISCSIPORT: "3043", disk.ISCSIIP: "1.2.3.4", + disk.ISCSIIQN: "iqn.2016-09.com.oraclecloud"}, + StagingTargetPath: "test", + VolumeCapability: &csi.VolumeCapability{ + AccessMode: &csi.VolumeCapability_AccessMode{ + Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, + }, + }, + }, + setup: func(m *mockMounter) { + m.devicePathExistWaitError = fmt.Errorf("device exist error") + m.ISCSILogoutOnFailureError = fmt.Errorf("logout error") + }, + expectedErr: status.Errorf(codes.Internal, "Failed to iscsi logout after timeout on waiting for device path to exist: %v", "logout error"), + }, + } + for _, tc := range testCases { + t.Run(tc.name, func(t *testing.T) { + testMounter := &mockMounter{} + if tc.setup != nil { + tc.setup(testMounter) + } + testMounterFactory := func(attachment string, scsi *disk.Disk, multipath bool, log *zap.SugaredLogger) (disk.Interface, error) { + return testMounter, nil + } + var driver *BlockVolumeNodeDriver + if tc.name == "ISCSI - Error getting target IP in IPv6 single stack cluster" { + driver = &BlockVolumeNodeDriver{ + NodeDriver: NodeDriver{ + logger: logging.Logger().Sugar(), + mounterFactory: testMounterFactory, + nodeMetadata: &csi_util.NodeMetadata{ + PreferredNodeIpFamily: "IPv6", + }, + }, + } + } else if tc.name == "Error acquiring lock" { + driver = &BlockVolumeNodeDriver{ + NodeDriver: NodeDriver{ + logger: logging.Logger().Sugar(), + mounterFactory: testMounterFactory, + volumeLocks: csi_util.NewVolumeLocks(), + nodeMetadata: &csi_util.NodeMetadata{ + PreferredNodeIpFamily: "IPv4", + }, + }, + } + if acquired := driver.volumeLocks.TryAcquire("Test-volume"); !acquired { + t.Fatalf("Error acquiring volume lock for unit test") + } + } else { + driver = &BlockVolumeNodeDriver{ + NodeDriver: NodeDriver{ + logger: logging.Logger().Sugar(), + mounterFactory: testMounterFactory, + volumeLocks: csi_util.NewVolumeLocks(), + nodeMetadata: &csi_util.NodeMetadata{ + PreferredNodeIpFamily: "IPv4", + }, + }, + } + } + _, err := driver.NodeStageVolume(t.Context(), tc.req) + if !reflect.DeepEqual(err, tc.expectedErr) { + t.Fatalf("Expected error '%v' but got '%v'", tc.expectedErr, err) + } + }) + } +} diff --git a/pkg/csi/driver/driver.go b/pkg/csi/driver/driver.go index dfe5d0f6ec..51f8712070 100644 --- a/pkg/csi/driver/driver.go +++ b/pkg/csi/driver/driver.go @@ -27,7 +27,6 @@ import ( "github.com/container-storage-interface/spec/lib/go/csi" "github.com/kubernetes-csi/csi-lib-utils/protosanitizer" - "github.com/oracle/oci-cloud-controller-manager/cmd/oci-csi-node-driver/nodedriveroptions" providercfg "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" @@ -35,6 +34,7 @@ import ( "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" "github.com/oracle/oci-cloud-controller-manager/pkg/oci/instance/metadata" "github.com/oracle/oci-cloud-controller-manager/pkg/util" + "github.com/oracle/oci-cloud-controller-manager/pkg/util/disk" "go.uber.org/zap" "google.golang.org/grpc" utilruntime "k8s.io/apimachinery/pkg/util/runtime" @@ -136,6 +136,7 @@ type NodeDriver struct { volumeLocks *csi_util.VolumeLocks nodeMetadata *csi_util.NodeMetadata csiConfig *util.CSIConfig + mounterFactory disk.MounterFactory csi.UnimplementedNodeServer } @@ -186,6 +187,7 @@ func newNodeDriver(nodeID string, nodeMetaData *csi_util.NodeMetadata, kubeClien volumeLocks: csi_util.NewVolumeLocks(), nodeMetadata: nodeMetaData, csiConfig: csiConfig, + mounterFactory: disk.DefaultMounterFactory, } } diff --git a/pkg/flexvolume/block/driver.go b/pkg/flexvolume/block/driver.go index 7ab34fa35a..32662c5802 100644 --- a/pkg/flexvolume/block/driver.go +++ b/pkg/flexvolume/block/driver.go @@ -479,7 +479,7 @@ func (d OCIFlexvolumeDriver) MountDevice(logger *zap.SugaredLogger, mountDir, mo ctx := context.Background() // Wait and get device path using the publish context - devicePath, err := disk.WaitForDevicePathToExist(ctx, scsiInfo, logger) + devicePath, err := iSCSIMounter.WaitForDevicePathToExist(ctx, scsiInfo, logger) if err != nil { logger.With(zap.Error(err)).Error("Failed to get /dev/disk/by-path device path for iscsi volume.") return flexvolume.Fail(logger, status.Error(codes.InvalidArgument, "Failed to get device path for iscsi volume")) diff --git a/pkg/util/disk/iscsi.go b/pkg/util/disk/iscsi.go index 67805c3974..900cdf55f9 100644 --- a/pkg/util/disk/iscsi.go +++ b/pkg/util/disk/iscsi.go @@ -118,6 +118,10 @@ type Interface interface { WaitForPathToExist(path string, maxRetries int) bool ISCSILogoutOnFailure() error + + GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) + + WaitForDevicePathToExist(ctx context.Context, disk *Disk, logger *zap.SugaredLogger) (string, error) } // iSCSIMounter implements Interface. @@ -450,6 +454,11 @@ func (c *iSCSIMounter) WaitForVolumeLoginOrTimeout(ctx context.Context, multipat return nil } +func (c *iSCSIMounter) GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) { + c.logger.Info("Attachment type ISCSI. GetMultipathIscsiDevicePath() not needed for iscsi attachment") + return "", nil +} + func (c *iSCSIMounter) FormatAndMount(source string, target string, fstype string, options []string) error { safeMounter := &mount.SafeFormatAndMount{ Interface: c.mounter, @@ -713,7 +722,7 @@ func GetIscsiDevicePath(disk *Disk) (string, error) { return "", fmt.Errorf("cannot find device path") } -func WaitForDevicePathToExist(ctx context.Context, disk *Disk, logger *zap.SugaredLogger) (string, error) { +func (c *iSCSIMounter) WaitForDevicePathToExist(ctx context.Context, disk *Disk, logger *zap.SugaredLogger) (string, error) { logger.With("disk", disk).Info("Waiting for iscsi device path to exist") ctxt, cancel := context.WithTimeout(ctx, pathPollTimeout) diff --git a/pkg/util/disk/iscsi_uhp.go b/pkg/util/disk/iscsi_uhp.go index feaac26e67..b3b8cb9976 100644 --- a/pkg/util/disk/iscsi_uhp.go +++ b/pkg/util/disk/iscsi_uhp.go @@ -226,7 +226,7 @@ func (c *iSCSIUHPMounter) ISCSILogoutOnFailure() error { return nil } -func GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) { +func (c *iSCSIUHPMounter) GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) { logger.With("consistentDevicePath", consistentDevicePath).Info("Getting friendly name of multipath device using consistent device path") ctxt, cancel := context.WithTimeout(ctx, pathPollTimeout) @@ -283,3 +283,8 @@ func ReadLink(symbolicLink string, logger *zap.SugaredLogger) (string, error) { return linkedPath, nil } + +func (c *iSCSIUHPMounter) WaitForDevicePathToExist(ctx context.Context, disk *Disk, logger *zap.SugaredLogger) (string, error) { + c.logger.Info("Attachment type ISCSI for UHP. WaitForDevicePathToExist() not needed for UHP ISCSI attachment") + return "", nil +} diff --git a/pkg/util/disk/mount_helper.go b/pkg/util/disk/mount_helper.go index ffb84fcaca..95cdad66b7 100644 --- a/pkg/util/disk/mount_helper.go +++ b/pkg/util/disk/mount_helper.go @@ -40,6 +40,9 @@ const ( EncryptionMountCommand = "encrypt-mount" UnmountCommand = "umount" FindMountCommand = "findmnt" + + attachmentTypeISCSI = "iscsi" + attachmentTypeParavirtualized = "paravirtualized" ) func MountWithEncrypt(logger *zap.SugaredLogger, source string, target string, fstype string, options []string) error { @@ -246,3 +249,19 @@ func FindMount(target string) ([]string, error) { sources := strings.Fields(string(output)) return sources, nil } + +type MounterFactory func(attachmentType string, scsiInfo *Disk, multipath bool, logger *zap.SugaredLogger) (Interface, error) + +func DefaultMounterFactory(attachmentType string, scsiInfo *Disk, multipath bool, logger *zap.SugaredLogger) (Interface, error) { + switch attachmentType { + case attachmentTypeISCSI: + if multipath { + return NewISCSIUHPMounter(logger), nil + } + return NewFromISCSIDisk(logger, scsiInfo), nil + case attachmentTypeParavirtualized: + return NewFromPVDisk(logger), nil + default: + return nil, fmt.Errorf("unknown attachment type when creating mount handler: %s", attachmentType) + } +} diff --git a/pkg/util/disk/paravirtualized.go b/pkg/util/disk/paravirtualized.go index c2f5288fde..322497b7e5 100644 --- a/pkg/util/disk/paravirtualized.go +++ b/pkg/util/disk/paravirtualized.go @@ -18,13 +18,13 @@ import ( "context" "fmt" "os" + "path/filepath" "time" "github.com/oracle/oci-go-sdk/v65/core" "go.uber.org/zap" "k8s.io/mount-utils" "k8s.io/utils/exec" - "path/filepath" ) // iSCSIMounter implements Interface. @@ -37,6 +37,8 @@ type pvMounter struct { logger *zap.SugaredLogger } + + // NewFromPVDisk creates a new PV handler from PVDisk. func NewFromPVDisk(logger *zap.SugaredLogger) Interface { return &pvMounter{ @@ -81,6 +83,11 @@ func (c *pvMounter) RemoveFromDB() error { return nil } +func (c *pvMounter) WaitForDevicePathToExist(ctx context.Context, disk *Disk, logger *zap.SugaredLogger) (string, error) { + c.logger.Info("Attachment type paravirtualized. WaitForDevicePathToExist() not needed for paravirtualized attachment") + return "", nil +} + func (c *pvMounter) FormatAndMount(source string, target string, fstype string, options []string) error { safeMounter := &mount.SafeFormatAndMount{ Interface: c.mounter, @@ -155,6 +162,11 @@ func (c *pvMounter) GetDiskFormat(disk string) (string, error) { return getDiskFormat(c.runner, disk, c.logger) } +func (c *pvMounter) GetMultipathIscsiDevicePath(ctx context.Context, consistentDevicePath string, logger *zap.SugaredLogger) (string, error) { + c.logger.Info("Attachment type ISCSI. GetMultipathIscsiDevicePath() not needed for iscsi attachment") + return "", nil +} + func waitForPathToExist(path string, maxRetries int) bool { for i := 0; i < maxRetries; i++ { var err error diff --git a/vendor/modules.txt b/vendor/modules.txt index 673445abac..a08851ce69 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -202,6 +202,9 @@ github.com/gogo/protobuf/gogoproto github.com/gogo/protobuf/proto github.com/gogo/protobuf/protoc-gen-gogo/descriptor github.com/gogo/protobuf/sortkeys +# github.com/golang/mock v1.6.0 +## explicit; go 1.11 +github.com/golang/mock/gomock # github.com/golang/protobuf v1.5.4 ## explicit; go 1.17 github.com/golang/protobuf/proto From 26c92ea467cc86aa448ce1deb8ed3a1cba636c31 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Fri, 20 Feb 2026 12:18:21 +0530 Subject: [PATCH 10/27] Updating external-snapshotter to v8.3.0 --- go.mod | 6 +- go.sum | 9 +- .../protosanitizer/protosanitizer.go | 6 +- .../client/{v6 => v8}/LICENSE | 0 .../apis/volumegroupsnapshot/v1beta1/doc.go | 20 + .../volumegroupsnapshot/v1beta1/register.go | 57 + .../apis/volumegroupsnapshot/v1beta1/types.go | 401 +++++ .../v1beta1/zz_generated.deepcopy.go | 433 +++++ .../client/v8/apis/volumesnapshot/v1/doc.go | 20 + .../v8/apis/volumesnapshot/v1/register.go | 58 + .../client/v8/apis/volumesnapshot/v1/types.go | 471 ++++++ .../v1/zz_generated.deepcopy.go | 441 +++++ .../v8/clientset/versioned/clientset.go | 133 ++ .../v8/clientset/versioned/scheme/doc.go | 20 + .../v8/clientset/versioned/scheme/register.go | 58 + .../typed/volumegroupsnapshot/v1beta1/doc.go | 20 + .../v1beta1/generated_expansion.go | 25 + .../v1beta1/volumegroupsnapshot.go | 195 +++ .../v1beta1/volumegroupsnapshot_client.go | 117 ++ .../v1beta1/volumegroupsnapshotclass.go | 168 ++ .../v1beta1/volumegroupsnapshotcontent.go | 184 +++ .../versioned/typed/volumesnapshot/v1/doc.go | 20 + .../volumesnapshot/v1/generated_expansion.go | 25 + .../typed/volumesnapshot/v1/volumesnapshot.go | 195 +++ .../v1/volumesnapshot_client.go | 117 ++ .../volumesnapshot/v1/volumesnapshotclass.go | 168 ++ .../v1/volumesnapshotcontent.go | 184 +++ .../cancel_work_request_request_response.go | 96 ++ ...ile_system_compartment_request_response.go | 103 ++ ...orage_link_compartment_request_response.go | 112 ++ ...ate_lustre_file_system_request_response.go | 113 ++ ...te_object_storage_link_request_response.go | 109 ++ ...ete_lustre_file_system_request_response.go | 100 ++ ...te_object_storage_link_request_response.go | 100 ++ ...get_lustre_file_system_request_response.go | 96 ++ ...et_object_storage_link_request_response.go | 96 ++ .../get_sync_job_request_response.go | 105 ++ .../get_work_request_request_response.go | 99 ++ ...st_lustre_file_systems_request_response.go | 221 +++ ...t_object_storage_links_request_response.go | 224 +++ .../list_sync_jobs_request_response.go | 213 +++ ...st_work_request_errors_request_response.go | 199 +++ ...list_work_request_logs_request_response.go | 199 +++ .../list_work_requests_request_response.go | 277 ++++ .../lustrefilestorage_client.go | 1467 +++++++++++++++++ ...start_export_to_object_request_response.go | 109 ++ ...art_import_from_object_request_response.go | 109 ++ .../stop_export_to_object_request_response.go | 103 ++ ...top_import_from_object_request_response.go | 103 ++ ...ate_lustre_file_system_request_response.go | 103 ++ ...te_object_storage_link_request_response.go | 105 ++ vendor/modules.txt | 23 +- 52 files changed, 8112 insertions(+), 23 deletions(-) rename vendor/github.com/kubernetes-csi/external-snapshotter/client/{v6 => v8}/LICENSE (100%) create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/doc.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/register.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/types.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/zz_generated.deepcopy.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/doc.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/register.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/types.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/zz_generated.deepcopy.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/clientset.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/doc.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/register.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/doc.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/generated_expansion.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot_client.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotclass.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotcontent.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/doc.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go create mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go diff --git a/go.mod b/go.mod index 2ed9b1686f..d2e2da9a57 100644 --- a/go.mod +++ b/go.mod @@ -42,8 +42,8 @@ replace ( require ( github.com/container-storage-interface/spec v1.11.0 github.com/golang/protobuf v1.5.4 - github.com/kubernetes-csi/csi-lib-utils v0.20.0 - github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0 + github.com/kubernetes-csi/csi-lib-utils v0.22.0 + github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0 github.com/onsi/ginkgo v1.16.5 github.com/onsi/gomega v1.36.2 github.com/oracle/oci-go-sdk/v65 v65.79.0 @@ -77,8 +77,6 @@ require ( ) require ( - github.com/go-logr/logr v1.4.2 - github.com/golang/mock v1.6.0 golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 golang.org/x/sync v0.11.0 google.golang.org/protobuf v1.36.2 diff --git a/go.sum b/go.sum index 9e62205f33..60c4c60053 100644 --- a/go.sum +++ b/go.sum @@ -406,10 +406,10 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kubernetes-csi/csi-lib-utils v0.20.0 h1:JTvHRJugn+cByMnIU4nCnqPqOOUhuPzhlLqRvenwjDA= -github.com/kubernetes-csi/csi-lib-utils v0.20.0/go.mod h1:3b/HFVURW11oxV/gUAKyhhkvFpxXO/zRdvh1wdEfCZY= -github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0 h1:qS4r4ljINLWKJ9m9Ge3Q3sGZ/eIoDVDT2RhAdQFHb1k= -github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0/go.mod h1:oGXx2XTEzs9ikW2V6IC1dD8trgjRsS/Mvc2JRiC618Y= +github.com/kubernetes-csi/csi-lib-utils v0.22.0 h1:EUAs1+uHGps3OtVj4XVx16urhpI02eu+Z8Vps6plpHY= +github.com/kubernetes-csi/csi-lib-utils v0.22.0/go.mod h1:f+PalKyS4Ujsjb9+m6Rj0W6c28y3nfea3paQ/VqjI28= +github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0 h1:Q3jQ1NkFqv5o+F8dMmHd8SfEmlcwNeo1immFApntEwE= +github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0/go.mod h1:E3vdYxHj2C2q6qo8/Da4g7P+IcwqRZyy3gJBzYybV9Y= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 h1:SOEGU9fKiNWd/HOJuq6+3iTQz8KNCLtVX6idSoTLdUw= @@ -950,7 +950,6 @@ golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.29.0 h1:Xx0h3TtM9rzQpQuR4dKLrdglAmCEN5Oi+P74JdhdzXE= diff --git a/vendor/github.com/kubernetes-csi/csi-lib-utils/protosanitizer/protosanitizer.go b/vendor/github.com/kubernetes-csi/csi-lib-utils/protosanitizer/protosanitizer.go index 2b63f24929..253116de16 100644 --- a/vendor/github.com/kubernetes-csi/csi-lib-utils/protosanitizer/protosanitizer.go +++ b/vendor/github.com/kubernetes-csi/csi-lib-utils/protosanitizer/protosanitizer.go @@ -68,7 +68,11 @@ func stripSingleValue(field protoreflect.FieldDescriptor, v protoreflect.Value) case protoreflect.MessageKind: return stripMessage(v.Message()) case protoreflect.EnumKind: - return field.Enum().Values().ByNumber(v.Enum()).Name() + desc := field.Enum().Values().ByNumber(v.Enum()) + if desc == nil { + return v.Enum() + } + return desc.Name() default: return v.Interface() } diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/LICENSE b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/LICENSE similarity index 100% rename from vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/LICENSE rename to vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/LICENSE diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/doc.go new file mode 100644 index 0000000000..f2fdf6b8b9 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2023 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package +// +groupName=groupsnapshot.storage.k8s.io + +package v1beta1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/register.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/register.go new file mode 100644 index 0000000000..22cebf9451 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/register.go @@ -0,0 +1,57 @@ +/* +Copyright 2023 The Kubernetes Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1beta1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// GroupName is the group name use in this package. +const GroupName = "groupsnapshot.storage.k8s.io" + +var ( + // SchemeBuilder is the new scheme builder + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + // AddToScheme adds to scheme + AddToScheme = SchemeBuilder.AddToScheme + // SchemeGroupVersion is the group version used to register these objects. + SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"} +) + +func Resource(resource string) schema.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +func init() { + // We only register manually written functions here. The registration of the + // generated functions takes place in the generated files. The separation + // makes the code compile even when the generated files are missing. + SchemeBuilder.Register(addKnownTypes) +} + +// addKnownTypes adds the set of types defined in this package to the supplied scheme. +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &VolumeGroupSnapshotClass{}, + &VolumeGroupSnapshotClassList{}, + &VolumeGroupSnapshot{}, + &VolumeGroupSnapshotList{}, + &VolumeGroupSnapshotContent{}, + &VolumeGroupSnapshotContentList{}, + ) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/types.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/types.go new file mode 100644 index 0000000000..da0540bcfb --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/types.go @@ -0,0 +1,401 @@ +/* +Copyright 2023 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ +// +kubebuilder:object:generate=true +package v1beta1 + +import ( + core_v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + + snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" +) + +// VolumeGroupSnapshotSpec defines the desired state of a volume group snapshot. +type VolumeGroupSnapshotSpec struct { + // Source specifies where a group snapshot will be created from. + // This field is immutable after creation. + // Required. + Source VolumeGroupSnapshotSource `json:"source" protobuf:"bytes,1,opt,name=source"` + + // VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass + // requested by the VolumeGroupSnapshot. + // VolumeGroupSnapshotClassName may be left nil to indicate that the default + // class will be used. + // Empty string is not allowed for this field. + // +optional + // +kubebuilder:validation:XValidation:rule="size(self) > 0",message="volumeGroupSnapshotClassName must not be the empty string when set" + VolumeGroupSnapshotClassName *string `json:"volumeGroupSnapshotClassName,omitempty" protobuf:"bytes,2,opt,name=volumeGroupSnapshotClassName"` +} + +// VolumeGroupSnapshotSource specifies whether the underlying group snapshot should be +// dynamically taken upon creation or if a pre-existing VolumeGroupSnapshotContent +// object should be used. +// Exactly one of its members must be set. +// Members in VolumeGroupSnapshotSource are immutable. +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.selector) || has(self.selector)", message="selector is required once set" +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.volumeGroupSnapshotContentName) || has(self.volumeGroupSnapshotContentName)", message="volumeGroupSnapshotContentName is required once set" +// +kubebuilder:validation:XValidation:rule="(has(self.selector) && !has(self.volumeGroupSnapshotContentName)) || (!has(self.selector) && has(self.volumeGroupSnapshotContentName))", message="exactly one of selector and volumeGroupSnapshotContentName must be set" +type VolumeGroupSnapshotSource struct { + // Selector is a label query over persistent volume claims that are to be + // grouped together for snapshotting. + // This labelSelector will be used to match the label added to a PVC. + // If the label is added or removed to a volume after a group snapshot + // is created, the existing group snapshots won't be modified. + // Once a VolumeGroupSnapshotContent is created and the sidecar starts to process + // it, the volume list will not change with retries. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="selector is immutable" + Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,1,opt,name=selector"` + + // VolumeGroupSnapshotContentName specifies the name of a pre-existing VolumeGroupSnapshotContent + // object representing an existing volume group snapshot. + // This field should be set if the volume group snapshot already exists and + // only needs a representation in Kubernetes. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumeGroupSnapshotContentName is immutable" + VolumeGroupSnapshotContentName *string `json:"volumeGroupSnapshotContentName,omitempty" protobuf:"bytes,2,opt,name=volumeGroupSnapshotContentName"` +} + +// VolumeGroupSnapshotStatus defines the observed state of volume group snapshot. +type VolumeGroupSnapshotStatus struct { + // BoundVolumeGroupSnapshotContentName is the name of the VolumeGroupSnapshotContent + // object to which this VolumeGroupSnapshot object intends to bind to. + // If not specified, it indicates that the VolumeGroupSnapshot object has not + // been successfully bound to a VolumeGroupSnapshotContent object yet. + // NOTE: To avoid possible security issues, consumers must verify binding between + // VolumeGroupSnapshot and VolumeGroupSnapshotContent objects is successful + // (by validating that both VolumeGroupSnapshot and VolumeGroupSnapshotContent + // point at each other) before using this object. + // +optional + BoundVolumeGroupSnapshotContentName *string `json:"boundVolumeGroupSnapshotContentName,omitempty" protobuf:"bytes,1,opt,name=boundVolumeGroupSnapshotContentName"` + + // CreationTime is the timestamp when the point-in-time group snapshot is taken + // by the underlying storage system. + // If not specified, it may indicate that the creation time of the group snapshot + // is unknown. + // The format of this field is a Unix nanoseconds time encoded as an int64. + // On Unix, the command date +%s%N returns the current time in nanoseconds + // since 1970-01-01 00:00:00 UTC. + // This field is updated based on the CreationTime field in VolumeGroupSnapshotContentStatus + // +optional + CreationTime *metav1.Time `json:"creationTime,omitempty" protobuf:"bytes,2,opt,name=creationTime"` + + // ReadyToUse indicates if all the individual snapshots in the group are ready + // to be used to restore a group of volumes. + // ReadyToUse becomes true when ReadyToUse of all individual snapshots become true. + // If not specified, it means the readiness of a group snapshot is unknown. + // +optional + ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,3,opt,name=readyToUse"` + + // Error is the last observed error during group snapshot creation, if any. + // This field could be helpful to upper level controllers (i.e., application + // controller) to decide whether they should continue on waiting for the group + // snapshot to be created based on the type of error reported. + // The snapshot controller will keep retrying when an error occurs during the + // group snapshot creation. Upon success, this error field will be cleared. + // +optional + Error *snapshotv1.VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,4,opt,name=error,casttype=VolumeSnapshotError"` +} + +//+genclient +//+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeGroupSnapshot is a user's request for creating either a point-in-time +// group snapshot or binding to a pre-existing group snapshot. +// +kubebuilder:object:root=true +// +kubebuilder:resource:scope=Namespaced,shortName=vgs +// +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if all the individual snapshots in the group are ready to be used to restore a group of volumes." +// +kubebuilder:printcolumn:name="VolumeGroupSnapshotClass",type=string,JSONPath=`.spec.volumeGroupSnapshotClassName`,description="The name of the VolumeGroupSnapshotClass requested by the VolumeGroupSnapshot." +// +kubebuilder:printcolumn:name="VolumeGroupSnapshotContent",type=string,JSONPath=`.status.boundVolumeGroupSnapshotContentName`,description="Name of the VolumeGroupSnapshotContent object to which the VolumeGroupSnapshot object intends to bind to. Please note that verification of binding actually requires checking both VolumeGroupSnapshot and VolumeGroupSnapshotContent to ensure both are pointing at each other. Binding MUST be verified prior to usage of this object." +// +kubebuilder:printcolumn:name="CreationTime",type=date,JSONPath=`.status.creationTime`,description="Timestamp when the point-in-time group snapshot was taken by the underlying storage system." +// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +type VolumeGroupSnapshot struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Spec defines the desired characteristics of a group snapshot requested by a user. + // Required. + Spec VolumeGroupSnapshotSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` + // Status represents the current information of a group snapshot. + // Consumers must verify binding between VolumeGroupSnapshot and + // VolumeGroupSnapshotContent objects is successful (by validating that both + // VolumeGroupSnapshot and VolumeGroupSnapshotContent point to each other) before + // using this object. + // +optional + Status *VolumeGroupSnapshotStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// VolumeGroupSnapshotList contains a list of VolumeGroupSnapshot objects. +type VolumeGroupSnapshotList struct { + metav1.TypeMeta `json:",inline"` + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + // Items is the list of VolumeGroupSnapshots. + Items []VolumeGroupSnapshot `json:"items" protobuf:"bytes,2,rep,name=items"` +} + +//+genclient +//+genclient:nonNamespaced +//+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeGroupSnapshotClass specifies parameters that a underlying storage system +// uses when creating a volume group snapshot. A specific VolumeGroupSnapshotClass +// is used by specifying its name in a VolumeGroupSnapshot object. +// VolumeGroupSnapshotClasses are non-namespaced. +// +kubebuilder:object:root=true +// +kubebuilder:resource:scope=Cluster,shortName=vgsclass;vgsclasses +// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.driver` +// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.deletionPolicy`,description="Determines whether a VolumeGroupSnapshotContent created through the VolumeGroupSnapshotClass should be deleted when its bound VolumeGroupSnapshot is deleted." +// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +type VolumeGroupSnapshotClass struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Driver is the name of the storage driver expected to handle this VolumeGroupSnapshotClass. + // Required. + Driver string `json:"driver" protobuf:"bytes,2,opt,name=driver"` + + // Parameters is a key-value map with storage driver specific parameters for + // creating group snapshots. + // These values are opaque to Kubernetes and are passed directly to the driver. + // +optional + Parameters map[string]string `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"` + + // DeletionPolicy determines whether a VolumeGroupSnapshotContent created + // through the VolumeGroupSnapshotClass should be deleted when its bound + // VolumeGroupSnapshot is deleted. + // Supported values are "Retain" and "Delete". + // "Retain" means that the VolumeGroupSnapshotContent and its physical group + // snapshot on underlying storage system are kept. + // "Delete" means that the VolumeGroupSnapshotContent and its physical group + // snapshot on underlying storage system are deleted. + // Required. + DeletionPolicy snapshotv1.DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,4,opt,name=deletionPolicy"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeGroupSnapshotClassList is a collection of VolumeGroupSnapshotClasses. +// +kubebuilder:object:root=true +type VolumeGroupSnapshotClassList struct { + metav1.TypeMeta `json:",inline"` + // Standard list metadata + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Items is the list of VolumeGroupSnapshotClasses. + Items []VolumeGroupSnapshotClass `json:"items" protobuf:"bytes,2,rep,name=items"` +} + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeGroupSnapshotContent represents the actual "on-disk" group snapshot object +// in the underlying storage system +// +kubebuilder:object:root=true +// +kubebuilder:resource:scope=Cluster,shortName=vgsc;vgscs +// +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if all the individual snapshots in the group are ready to be used to restore a group of volumes." +// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.spec.deletionPolicy`,description="Determines whether this VolumeGroupSnapshotContent and its physical group snapshot on the underlying storage system should be deleted when its bound VolumeGroupSnapshot is deleted." +// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.spec.driver`,description="Name of the CSI driver used to create the physical group snapshot on the underlying storage system." +// +kubebuilder:printcolumn:name="VolumeGroupSnapshotClass",type=string,JSONPath=`.spec.volumeGroupSnapshotClassName`,description="Name of the VolumeGroupSnapshotClass from which this group snapshot was (or will be) created." +// +kubebuilder:printcolumn:name="VolumeGroupSnapshotNamespace",type=string,JSONPath=`.spec.volumeGroupSnapshotRef.namespace`,description="Namespace of the VolumeGroupSnapshot object to which this VolumeGroupSnapshotContent object is bound." +// +kubebuilder:printcolumn:name="VolumeGroupSnapshot",type=string,JSONPath=`.spec.volumeGroupSnapshotRef.name`,description="Name of the VolumeGroupSnapshot object to which this VolumeGroupSnapshotContent object is bound." +// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +type VolumeGroupSnapshotContent struct { + metav1.TypeMeta `json:",inline"` + // Standard list metadata + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Spec defines properties of a VolumeGroupSnapshotContent created by the underlying storage system. + // Required. + Spec VolumeGroupSnapshotContentSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` + // status represents the current information of a group snapshot. + // +optional + Status *VolumeGroupSnapshotContentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeGroupSnapshotContentList is a list of VolumeGroupSnapshotContent objects +// +kubebuilder:object:root=true +type VolumeGroupSnapshotContentList struct { + metav1.TypeMeta `json:",inline"` + // Standard list metadata + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Items is the list of VolumeGroupSnapshotContents. + Items []VolumeGroupSnapshotContent `json:"items" protobuf:"bytes,2,rep,name=items"` +} + +// VolumeGroupSnapshotContentSpec describes the common attributes of a group snapshot content +type VolumeGroupSnapshotContentSpec struct { + // VolumeGroupSnapshotRef specifies the VolumeGroupSnapshot object to which this + // VolumeGroupSnapshotContent object is bound. + // VolumeGroupSnapshot.Spec.VolumeGroupSnapshotContentName field must reference to + // this VolumeGroupSnapshotContent's name for the bidirectional binding to be valid. + // For a pre-existing VolumeGroupSnapshotContent object, name and namespace of the + // VolumeGroupSnapshot object MUST be provided for binding to happen. + // This field is immutable after creation. + // Required. + // +kubebuilder:validation:XValidation:rule="has(self.name) && has(self.__namespace__)",message="both volumeGroupSnapshotRef.name and volumeGroupSnapshotRef.namespace must be set" + VolumeGroupSnapshotRef core_v1.ObjectReference `json:"volumeGroupSnapshotRef" protobuf:"bytes,1,opt,name=volumeGroupSnapshotRef"` + + // DeletionPolicy determines whether this VolumeGroupSnapshotContent and the + // physical group snapshot on the underlying storage system should be deleted + // when the bound VolumeGroupSnapshot is deleted. + // Supported values are "Retain" and "Delete". + // "Retain" means that the VolumeGroupSnapshotContent and its physical group + // snapshot on underlying storage system are kept. + // "Delete" means that the VolumeGroupSnapshotContent and its physical group + // snapshot on underlying storage system are deleted. + // For dynamically provisioned group snapshots, this field will automatically + // be filled in by the CSI snapshotter sidecar with the "DeletionPolicy" field + // defined in the corresponding VolumeGroupSnapshotClass. + // For pre-existing snapshots, users MUST specify this field when creating the + // VolumeGroupSnapshotContent object. + // Required. + DeletionPolicy snapshotv1.DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,2,opt,name=deletionPolicy"` + + // Driver is the name of the CSI driver used to create the physical group snapshot on + // the underlying storage system. + // This MUST be the same as the name returned by the CSI GetPluginName() call for + // that driver. + // Required. + Driver string `json:"driver" protobuf:"bytes,3,opt,name=driver"` + + // VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass from + // which this group snapshot was (or will be) created. + // Note that after provisioning, the VolumeGroupSnapshotClass may be deleted or + // recreated with different set of values, and as such, should not be referenced + // post-snapshot creation. + // For dynamic provisioning, this field must be set. + // This field may be unset for pre-provisioned snapshots. + // +optional + VolumeGroupSnapshotClassName *string `json:"volumeGroupSnapshotClassName,omitempty" protobuf:"bytes,4,opt,name=volumeGroupSnapshotClassName"` + + // Source specifies whether the snapshot is (or should be) dynamically provisioned + // or already exists, and just requires a Kubernetes object representation. + // This field is immutable after creation. + // Required. + Source VolumeGroupSnapshotContentSource `json:"source" protobuf:"bytes,5,opt,name=source"` +} + +// VolumeGroupSnapshotContentStatus defines the observed state of VolumeGroupSnapshotContent. +type VolumeGroupSnapshotContentStatus struct { + // VolumeGroupSnapshotHandle is a unique id returned by the CSI driver + // to identify the VolumeGroupSnapshot on the storage system. + // If a storage system does not provide such an id, the + // CSI driver can choose to return the VolumeGroupSnapshot name. + // +optional + VolumeGroupSnapshotHandle *string `json:"volumeGroupSnapshotHandle,omitempty" protobuf:"bytes,1,opt,name=volumeGroupSnapshotHandle"` + + // CreationTime is the timestamp when the point-in-time group snapshot is taken + // by the underlying storage system. + // If not specified, it indicates the creation time is unknown. + // If not specified, it means the readiness of a group snapshot is unknown. + // The format of this field is a Unix nanoseconds time encoded as an int64. + // On Unix, the command date +%s%N returns the current time in nanoseconds + // since 1970-01-01 00:00:00 UTC. + // This field is the source for the CreationTime field in VolumeGroupSnapshotStatus + // +optional + CreationTime *metav1.Time `json:"creationTime,omitempty" protobuf:"bytes,2,opt,name=creationTime"` + + // ReadyToUse indicates if all the individual snapshots in the group are ready to be + // used to restore a group of volumes. + // ReadyToUse becomes true when ReadyToUse of all individual snapshots become true. + // +optional + ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,3,opt,name=readyToUse"` + + // Error is the last observed error during group snapshot creation, if any. + // Upon success after retry, this error field will be cleared. + // +optional + Error *snapshotv1.VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,4,opt,name=error,casttype=VolumeSnapshotError"` + + // VolumeSnapshotHandlePairList is a list of CSI "volume_id" and "snapshot_id" + // pair returned by the CSI driver to identify snapshots and their source volumes + // on the storage system. + // +optional + VolumeSnapshotHandlePairList []VolumeSnapshotHandlePair `json:"volumeSnapshotHandlePairList,omitempty" protobuf:"bytes,6,opt,name=volumeSnapshotHandlePairList"` +} + +// VolumeGroupSnapshotContentSource represents the CSI source of a group snapshot. +// Exactly one of its members must be set. +// Members in VolumeGroupSnapshotContentSource are immutable. +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.volumeHandles) || has(self.volumeHandles)", message="volumeHandles is required once set" +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.groupSnapshotHandles) || has(self.groupSnapshotHandles)", message="groupSnapshotHandles is required once set" +// +kubebuilder:validation:XValidation:rule="(has(self.volumeHandles) && !has(self.groupSnapshotHandles)) || (!has(self.volumeHandles) && has(self.groupSnapshotHandles))", message="exactly one of volumeHandles and groupSnapshotHandles must be set" +type VolumeGroupSnapshotContentSource struct { + // VolumeHandles is a list of volume handles on the backend to be snapshotted + // together. It is specified for dynamic provisioning of the VolumeGroupSnapshot. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumeHandles is immutable" + VolumeHandles []string `json:"volumeHandles,omitempty" protobuf:"bytes,1,opt,name=volumeHandles"` + + // GroupSnapshotHandles specifies the CSI "group_snapshot_id" of a pre-existing + // group snapshot and a list of CSI "snapshot_id" of pre-existing snapshots + // on the underlying storage system for which a Kubernetes object + // representation was (or should be) created. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="groupSnapshotHandles is immutable" + GroupSnapshotHandles *GroupSnapshotHandles `json:"groupSnapshotHandles,omitempty" protobuf:"bytes,2,opt,name=groupSnapshotHandles"` +} + +type GroupSnapshotHandles struct { + // VolumeGroupSnapshotHandle specifies the CSI "group_snapshot_id" of a pre-existing + // group snapshot on the underlying storage system for which a Kubernetes object + // representation was (or should be) created. + // This field is immutable. + // Required. + VolumeGroupSnapshotHandle string `json:"volumeGroupSnapshotHandle" protobuf:"bytes,1,opt,name=volumeGroupSnapshotHandle"` + + // VolumeSnapshotHandles is a list of CSI "snapshot_id" of pre-existing + // snapshots on the underlying storage system for which Kubernetes objects + // representation were (or should be) created. + // This field is immutable. + // Required. + VolumeSnapshotHandles []string `json:"volumeSnapshotHandles" protobuf:"bytes,2,opt,name=volumeSnapshotHandles"` +} + +// VolumeSnapshotHandlePair defines a pair of a source volume handle and a snapshot handle +type VolumeSnapshotHandlePair struct { + // VolumeHandle is a unique id returned by the CSI driver to identify a volume + // on the storage system + // Required. + VolumeHandle string `json:"volumeHandle" protobuf:"bytes,1,opt,name=volumeHandle"` + + // SnapshotHandle is a unique id returned by the CSI driver to identify a volume + // snapshot on the storage system + // Required. + SnapshotHandle string `json:"snapshotHandle" protobuf:"bytes,2,opt,name=snapshotHandle"` +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/zz_generated.deepcopy.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/zz_generated.deepcopy.go new file mode 100644 index 0000000000..4c59130dfd --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/zz_generated.deepcopy.go @@ -0,0 +1,433 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1beta1 + +import ( + v1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *GroupSnapshotHandles) DeepCopyInto(out *GroupSnapshotHandles) { + *out = *in + if in.VolumeSnapshotHandles != nil { + in, out := &in.VolumeSnapshotHandles, &out.VolumeSnapshotHandles + *out = make([]string, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupSnapshotHandles. +func (in *GroupSnapshotHandles) DeepCopy() *GroupSnapshotHandles { + if in == nil { + return nil + } + out := new(GroupSnapshotHandles) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshot) DeepCopyInto(out *VolumeGroupSnapshot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(VolumeGroupSnapshotStatus) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshot. +func (in *VolumeGroupSnapshot) DeepCopy() *VolumeGroupSnapshot { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeGroupSnapshot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotClass) DeepCopyInto(out *VolumeGroupSnapshotClass) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotClass. +func (in *VolumeGroupSnapshotClass) DeepCopy() *VolumeGroupSnapshotClass { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotClass) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeGroupSnapshotClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotClassList) DeepCopyInto(out *VolumeGroupSnapshotClassList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VolumeGroupSnapshotClass, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotClassList. +func (in *VolumeGroupSnapshotClassList) DeepCopy() *VolumeGroupSnapshotClassList { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotClassList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeGroupSnapshotClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotContent) DeepCopyInto(out *VolumeGroupSnapshotContent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(VolumeGroupSnapshotContentStatus) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContent. +func (in *VolumeGroupSnapshotContent) DeepCopy() *VolumeGroupSnapshotContent { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotContent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeGroupSnapshotContent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotContentList) DeepCopyInto(out *VolumeGroupSnapshotContentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VolumeGroupSnapshotContent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentList. +func (in *VolumeGroupSnapshotContentList) DeepCopy() *VolumeGroupSnapshotContentList { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotContentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeGroupSnapshotContentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotContentSource) DeepCopyInto(out *VolumeGroupSnapshotContentSource) { + *out = *in + if in.VolumeHandles != nil { + in, out := &in.VolumeHandles, &out.VolumeHandles + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.GroupSnapshotHandles != nil { + in, out := &in.GroupSnapshotHandles, &out.GroupSnapshotHandles + *out = new(GroupSnapshotHandles) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentSource. +func (in *VolumeGroupSnapshotContentSource) DeepCopy() *VolumeGroupSnapshotContentSource { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotContentSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotContentSpec) DeepCopyInto(out *VolumeGroupSnapshotContentSpec) { + *out = *in + out.VolumeGroupSnapshotRef = in.VolumeGroupSnapshotRef + if in.VolumeGroupSnapshotClassName != nil { + in, out := &in.VolumeGroupSnapshotClassName, &out.VolumeGroupSnapshotClassName + *out = new(string) + **out = **in + } + in.Source.DeepCopyInto(&out.Source) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentSpec. +func (in *VolumeGroupSnapshotContentSpec) DeepCopy() *VolumeGroupSnapshotContentSpec { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotContentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotContentStatus) DeepCopyInto(out *VolumeGroupSnapshotContentStatus) { + *out = *in + if in.VolumeGroupSnapshotHandle != nil { + in, out := &in.VolumeGroupSnapshotHandle, &out.VolumeGroupSnapshotHandle + *out = new(string) + **out = **in + } + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = (*in).DeepCopy() + } + if in.ReadyToUse != nil { + in, out := &in.ReadyToUse, &out.ReadyToUse + *out = new(bool) + **out = **in + } + if in.Error != nil { + in, out := &in.Error, &out.Error + *out = new(v1.VolumeSnapshotError) + (*in).DeepCopyInto(*out) + } + if in.VolumeSnapshotHandlePairList != nil { + in, out := &in.VolumeSnapshotHandlePairList, &out.VolumeSnapshotHandlePairList + *out = make([]VolumeSnapshotHandlePair, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentStatus. +func (in *VolumeGroupSnapshotContentStatus) DeepCopy() *VolumeGroupSnapshotContentStatus { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotContentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotList) DeepCopyInto(out *VolumeGroupSnapshotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VolumeGroupSnapshot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotList. +func (in *VolumeGroupSnapshotList) DeepCopy() *VolumeGroupSnapshotList { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeGroupSnapshotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotSource) DeepCopyInto(out *VolumeGroupSnapshotSource) { + *out = *in + if in.Selector != nil { + in, out := &in.Selector, &out.Selector + *out = new(metav1.LabelSelector) + (*in).DeepCopyInto(*out) + } + if in.VolumeGroupSnapshotContentName != nil { + in, out := &in.VolumeGroupSnapshotContentName, &out.VolumeGroupSnapshotContentName + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotSource. +func (in *VolumeGroupSnapshotSource) DeepCopy() *VolumeGroupSnapshotSource { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotSpec) DeepCopyInto(out *VolumeGroupSnapshotSpec) { + *out = *in + in.Source.DeepCopyInto(&out.Source) + if in.VolumeGroupSnapshotClassName != nil { + in, out := &in.VolumeGroupSnapshotClassName, &out.VolumeGroupSnapshotClassName + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotSpec. +func (in *VolumeGroupSnapshotSpec) DeepCopy() *VolumeGroupSnapshotSpec { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeGroupSnapshotStatus) DeepCopyInto(out *VolumeGroupSnapshotStatus) { + *out = *in + if in.BoundVolumeGroupSnapshotContentName != nil { + in, out := &in.BoundVolumeGroupSnapshotContentName, &out.BoundVolumeGroupSnapshotContentName + *out = new(string) + **out = **in + } + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = (*in).DeepCopy() + } + if in.ReadyToUse != nil { + in, out := &in.ReadyToUse, &out.ReadyToUse + *out = new(bool) + **out = **in + } + if in.Error != nil { + in, out := &in.Error, &out.Error + *out = new(v1.VolumeSnapshotError) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotStatus. +func (in *VolumeGroupSnapshotStatus) DeepCopy() *VolumeGroupSnapshotStatus { + if in == nil { + return nil + } + out := new(VolumeGroupSnapshotStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotHandlePair) DeepCopyInto(out *VolumeSnapshotHandlePair) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotHandlePair. +func (in *VolumeSnapshotHandlePair) DeepCopy() *VolumeSnapshotHandlePair { + if in == nil { + return nil + } + out := new(VolumeSnapshotHandlePair) + in.DeepCopyInto(out) + return out +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/doc.go new file mode 100644 index 0000000000..462e9d485f --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2018 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package +// +groupName=snapshot.storage.k8s.io + +package v1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/register.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/register.go new file mode 100644 index 0000000000..cca3da0b94 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/register.go @@ -0,0 +1,58 @@ +/* +Copyright 2018 The Kubernetes Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// GroupName is the group name use in this package. +const GroupName = "snapshot.storage.k8s.io" + +var ( + // SchemeBuilder is the new scheme builder + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + // AddToScheme adds to scheme + AddToScheme = SchemeBuilder.AddToScheme + // SchemeGroupVersion is the group version used to register these objects. + SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} +) + +// Resource takes an unqualified resource and returns a Group-qualified GroupResource. +func Resource(resource string) schema.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +func init() { + // We only register manually written functions here. The registration of the + // generated functions takes place in the generated files. The separation + // makes the code compile even when the generated files are missing. + SchemeBuilder.Register(addKnownTypes) +} + +// addKnownTypes adds the set of types defined in this package to the supplied scheme. +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &VolumeSnapshotClass{}, + &VolumeSnapshotClassList{}, + &VolumeSnapshot{}, + &VolumeSnapshotList{}, + &VolumeSnapshotContent{}, + &VolumeSnapshotContentList{}, + ) + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/types.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/types.go new file mode 100644 index 0000000000..36f60dc958 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/types.go @@ -0,0 +1,471 @@ +/* +Copyright 2020 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +kubebuilder:object:generate=true +package v1 + +import ( + core_v1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/api/resource" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +genclient +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeSnapshot is a user's request for either creating a point-in-time +// snapshot of a persistent volume, or binding to a pre-existing snapshot. +// +kubebuilder:object:root=true +// +kubebuilder:resource:scope=Namespaced,shortName=vs +// +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if the snapshot is ready to be used to restore a volume." +// +kubebuilder:printcolumn:name="SourcePVC",type=string,JSONPath=`.spec.source.persistentVolumeClaimName`,description="If a new snapshot needs to be created, this contains the name of the source PVC from which this snapshot was (or will be) created." +// +kubebuilder:printcolumn:name="SourceSnapshotContent",type=string,JSONPath=`.spec.source.volumeSnapshotContentName`,description="If a snapshot already exists, this contains the name of the existing VolumeSnapshotContent object representing the existing snapshot." +// +kubebuilder:printcolumn:name="RestoreSize",type=string,JSONPath=`.status.restoreSize`,description="Represents the minimum size of volume required to rehydrate from this snapshot." +// +kubebuilder:printcolumn:name="SnapshotClass",type=string,JSONPath=`.spec.volumeSnapshotClassName`,description="The name of the VolumeSnapshotClass requested by the VolumeSnapshot." +// +kubebuilder:printcolumn:name="SnapshotContent",type=string,JSONPath=`.status.boundVolumeSnapshotContentName`,description="Name of the VolumeSnapshotContent object to which the VolumeSnapshot object intends to bind to. Please note that verification of binding actually requires checking both VolumeSnapshot and VolumeSnapshotContent to ensure both are pointing at each other. Binding MUST be verified prior to usage of this object." +// +kubebuilder:printcolumn:name="CreationTime",type=date,JSONPath=`.status.creationTime`,description="Timestamp when the point-in-time snapshot was taken by the underlying storage system." +// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +type VolumeSnapshot struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // spec defines the desired characteristics of a snapshot requested by a user. + // More info: https://kubernetes.io/docs/concepts/storage/volume-snapshots#volumesnapshots + // Required. + Spec VolumeSnapshotSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` + + // status represents the current information of a snapshot. + // Consumers must verify binding between VolumeSnapshot and + // VolumeSnapshotContent objects is successful (by validating that both + // VolumeSnapshot and VolumeSnapshotContent point at each other) before + // using this object. + // +optional + Status *VolumeSnapshotStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// VolumeSnapshotList is a list of VolumeSnapshot objects +type VolumeSnapshotList struct { + metav1.TypeMeta `json:",inline"` + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // List of VolumeSnapshots + Items []VolumeSnapshot `json:"items" protobuf:"bytes,2,rep,name=items"` +} + +// VolumeSnapshotSpec describes the common attributes of a volume snapshot. +type VolumeSnapshotSpec struct { + // source specifies where a snapshot will be created from. + // This field is immutable after creation. + // Required. + Source VolumeSnapshotSource `json:"source" protobuf:"bytes,1,opt,name=source"` + + // VolumeSnapshotClassName is the name of the VolumeSnapshotClass + // requested by the VolumeSnapshot. + // VolumeSnapshotClassName may be left nil to indicate that the default + // SnapshotClass should be used. + // A given cluster may have multiple default Volume SnapshotClasses: one + // default per CSI Driver. If a VolumeSnapshot does not specify a SnapshotClass, + // VolumeSnapshotSource will be checked to figure out what the associated + // CSI Driver is, and the default VolumeSnapshotClass associated with that + // CSI Driver will be used. If more than one VolumeSnapshotClass exist for + // a given CSI Driver and more than one have been marked as default, + // CreateSnapshot will fail and generate an event. + // Empty string is not allowed for this field. + // +optional + // +kubebuilder:validation:XValidation:rule="size(self) > 0",message="volumeSnapshotClassName must not be the empty string when set" + VolumeSnapshotClassName *string `json:"volumeSnapshotClassName,omitempty" protobuf:"bytes,2,opt,name=volumeSnapshotClassName"` +} + +// VolumeSnapshotSource specifies whether the underlying snapshot should be +// dynamically taken upon creation or if a pre-existing VolumeSnapshotContent +// object should be used. +// Exactly one of its members must be set. +// Members in VolumeSnapshotSource are immutable. +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.persistentVolumeClaimName) || has(self.persistentVolumeClaimName)", message="persistentVolumeClaimName is required once set" +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.volumeSnapshotContentName) || has(self.volumeSnapshotContentName)", message="volumeSnapshotContentName is required once set" +// +kubebuilder:validation:XValidation:rule="(has(self.volumeSnapshotContentName) && !has(self.persistentVolumeClaimName)) || (!has(self.volumeSnapshotContentName) && has(self.persistentVolumeClaimName))", message="exactly one of volumeSnapshotContentName and persistentVolumeClaimName must be set" +type VolumeSnapshotSource struct { + // persistentVolumeClaimName specifies the name of the PersistentVolumeClaim + // object representing the volume from which a snapshot should be created. + // This PVC is assumed to be in the same namespace as the VolumeSnapshot + // object. + // This field should be set if the snapshot does not exists, and needs to be + // created. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="persistentVolumeClaimName is immutable" + PersistentVolumeClaimName *string `json:"persistentVolumeClaimName,omitempty" protobuf:"bytes,1,opt,name=persistentVolumeClaimName"` + + // volumeSnapshotContentName specifies the name of a pre-existing VolumeSnapshotContent + // object representing an existing volume snapshot. + // This field should be set if the snapshot already exists and only needs a representation in Kubernetes. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumeSnapshotContentName is immutable" + VolumeSnapshotContentName *string `json:"volumeSnapshotContentName,omitempty" protobuf:"bytes,2,opt,name=volumeSnapshotContentName"` +} + +// VolumeSnapshotStatus is the status of the VolumeSnapshot +// Note that CreationTime, RestoreSize, ReadyToUse, and Error are in both +// VolumeSnapshotStatus and VolumeSnapshotContentStatus. Fields in VolumeSnapshotStatus +// are updated based on fields in VolumeSnapshotContentStatus. They are eventual +// consistency. These fields are duplicate in both objects due to the following reasons: +// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a +// volumesnapshot. +// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent. +// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent +// object, not VolumeSnapshot object. +type VolumeSnapshotStatus struct { + // boundVolumeSnapshotContentName is the name of the VolumeSnapshotContent + // object to which this VolumeSnapshot object intends to bind to. + // If not specified, it indicates that the VolumeSnapshot object has not been + // successfully bound to a VolumeSnapshotContent object yet. + // NOTE: To avoid possible security issues, consumers must verify binding between + // VolumeSnapshot and VolumeSnapshotContent objects is successful (by validating that + // both VolumeSnapshot and VolumeSnapshotContent point at each other) before using + // this object. + // +optional + BoundVolumeSnapshotContentName *string `json:"boundVolumeSnapshotContentName,omitempty" protobuf:"bytes,1,opt,name=boundVolumeSnapshotContentName"` + + // creationTime is the timestamp when the point-in-time snapshot is taken + // by the underlying storage system. + // In dynamic snapshot creation case, this field will be filled in by the + // snapshot controller with the "creation_time" value returned from CSI + // "CreateSnapshot" gRPC call. + // For a pre-existing snapshot, this field will be filled with the "creation_time" + // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. + // If not specified, it may indicate that the creation time of the snapshot is unknown. + // +optional + CreationTime *metav1.Time `json:"creationTime,omitempty" protobuf:"bytes,2,opt,name=creationTime"` + + // readyToUse indicates if the snapshot is ready to be used to restore a volume. + // In dynamic snapshot creation case, this field will be filled in by the + // snapshot controller with the "ready_to_use" value returned from CSI + // "CreateSnapshot" gRPC call. + // For a pre-existing snapshot, this field will be filled with the "ready_to_use" + // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it, + // otherwise, this field will be set to "True". + // If not specified, it means the readiness of a snapshot is unknown. + // +optional + ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,3,opt,name=readyToUse"` + + // restoreSize represents the minimum size of volume required to create a volume + // from this snapshot. + // In dynamic snapshot creation case, this field will be filled in by the + // snapshot controller with the "size_bytes" value returned from CSI + // "CreateSnapshot" gRPC call. + // For a pre-existing snapshot, this field will be filled with the "size_bytes" + // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. + // When restoring a volume from this snapshot, the size of the volume MUST NOT + // be smaller than the restoreSize if it is specified, otherwise the restoration will fail. + // If not specified, it indicates that the size is unknown. + // +optional + RestoreSize *resource.Quantity `json:"restoreSize,omitempty" protobuf:"bytes,4,opt,name=restoreSize"` + + // error is the last observed error during snapshot creation, if any. + // This field could be helpful to upper level controllers(i.e., application controller) + // to decide whether they should continue on waiting for the snapshot to be created + // based on the type of error reported. + // The snapshot controller will keep retrying when an error occurs during the + // snapshot creation. Upon success, this error field will be cleared. + // +optional + Error *VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,5,opt,name=error,casttype=VolumeSnapshotError"` + + // VolumeGroupSnapshotName is the name of the VolumeGroupSnapshot of which this + // VolumeSnapshot is a part of. + // +optional + VolumeGroupSnapshotName *string `json:"volumeGroupSnapshotName,omitempty" protobuf:"bytes,6,opt,name=volumeGroupSnapshotName"` +} + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeSnapshotClass specifies parameters that a underlying storage system uses when +// creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its +// name in a VolumeSnapshot object. +// VolumeSnapshotClasses are non-namespaced +// +kubebuilder:object:root=true +// +kubebuilder:resource:scope=Cluster,shortName=vsclass;vsclasses +// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.driver` +// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.deletionPolicy`,description="Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted." +// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +type VolumeSnapshotClass struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // driver is the name of the storage driver that handles this VolumeSnapshotClass. + // Required. + Driver string `json:"driver" protobuf:"bytes,2,opt,name=driver"` + + // parameters is a key-value map with storage driver specific parameters for creating snapshots. + // These values are opaque to Kubernetes. + // +optional + Parameters map[string]string `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"` + + // deletionPolicy determines whether a VolumeSnapshotContent created through + // the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted. + // Supported values are "Retain" and "Delete". + // "Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept. + // "Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted. + // Required. + DeletionPolicy DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,4,opt,name=deletionPolicy"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeSnapshotClassList is a collection of VolumeSnapshotClasses. +// +kubebuilder:object:root=true +type VolumeSnapshotClassList struct { + metav1.TypeMeta `json:",inline"` + // Standard list metadata + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // items is the list of VolumeSnapshotClasses + Items []VolumeSnapshotClass `json:"items" protobuf:"bytes,2,rep,name=items"` +} + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeSnapshotContent represents the actual "on-disk" snapshot object in the +// underlying storage system +// +kubebuilder:object:root=true +// +kubebuilder:resource:scope=Cluster,shortName=vsc;vscs +// +kubebuilder:subresource:status +// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if the snapshot is ready to be used to restore a volume." +// +kubebuilder:printcolumn:name="RestoreSize",type=integer,JSONPath=`.status.restoreSize`,description="Represents the complete size of the snapshot in bytes" +// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.spec.deletionPolicy`,description="Determines whether this VolumeSnapshotContent and its physical snapshot on the underlying storage system should be deleted when its bound VolumeSnapshot is deleted." +// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.spec.driver`,description="Name of the CSI driver used to create the physical snapshot on the underlying storage system." +// +kubebuilder:printcolumn:name="VolumeSnapshotClass",type=string,JSONPath=`.spec.volumeSnapshotClassName`,description="Name of the VolumeSnapshotClass to which this snapshot belongs." +// +kubebuilder:printcolumn:name="VolumeSnapshot",type=string,JSONPath=`.spec.volumeSnapshotRef.name`,description="Name of the VolumeSnapshot object to which this VolumeSnapshotContent object is bound." +// +kubebuilder:printcolumn:name="VolumeSnapshotNamespace",type=string,JSONPath=`.spec.volumeSnapshotRef.namespace`,description="Namespace of the VolumeSnapshot object to which this VolumeSnapshotContent object is bound." +// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +type VolumeSnapshotContent struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // spec defines properties of a VolumeSnapshotContent created by the underlying storage system. + // Required. + Spec VolumeSnapshotContentSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` + + // status represents the current information of a snapshot. + // +optional + Status *VolumeSnapshotContentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeSnapshotContentList is a list of VolumeSnapshotContent objects +// +kubebuilder:object:root=true +type VolumeSnapshotContentList struct { + metav1.TypeMeta `json:",inline"` + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // items is the list of VolumeSnapshotContents + Items []VolumeSnapshotContent `json:"items" protobuf:"bytes,2,rep,name=items"` +} + +// VolumeSnapshotContentSpec is the specification of a VolumeSnapshotContent +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.sourceVolumeMode) || has(self.sourceVolumeMode)", message="sourceVolumeMode is required once set" +type VolumeSnapshotContentSpec struct { + // volumeSnapshotRef specifies the VolumeSnapshot object to which this + // VolumeSnapshotContent object is bound. + // VolumeSnapshot.Spec.VolumeSnapshotContentName field must reference to + // this VolumeSnapshotContent's name for the bidirectional binding to be valid. + // For a pre-existing VolumeSnapshotContent object, name and namespace of the + // VolumeSnapshot object MUST be provided for binding to happen. + // This field is immutable after creation. + // Required. + // +kubebuilder:validation:XValidation:rule="has(self.name) && has(self.__namespace__)",message="both spec.volumeSnapshotRef.name and spec.volumeSnapshotRef.namespace must be set" + VolumeSnapshotRef core_v1.ObjectReference `json:"volumeSnapshotRef" protobuf:"bytes,1,opt,name=volumeSnapshotRef"` + + // deletionPolicy determines whether this VolumeSnapshotContent and its physical snapshot on + // the underlying storage system should be deleted when its bound VolumeSnapshot is deleted. + // Supported values are "Retain" and "Delete". + // "Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept. + // "Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted. + // For dynamically provisioned snapshots, this field will automatically be filled in by the + // CSI snapshotter sidecar with the "DeletionPolicy" field defined in the corresponding + // VolumeSnapshotClass. + // For pre-existing snapshots, users MUST specify this field when creating the + // VolumeSnapshotContent object. + // Required. + DeletionPolicy DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,2,opt,name=deletionPolicy"` + + // driver is the name of the CSI driver used to create the physical snapshot on + // the underlying storage system. + // This MUST be the same as the name returned by the CSI GetPluginName() call for + // that driver. + // Required. + Driver string `json:"driver" protobuf:"bytes,3,opt,name=driver"` + + // name of the VolumeSnapshotClass from which this snapshot was (or will be) + // created. + // Note that after provisioning, the VolumeSnapshotClass may be deleted or + // recreated with different set of values, and as such, should not be referenced + // post-snapshot creation. + // +optional + VolumeSnapshotClassName *string `json:"volumeSnapshotClassName,omitempty" protobuf:"bytes,4,opt,name=volumeSnapshotClassName"` + + // source specifies whether the snapshot is (or should be) dynamically provisioned + // or already exists, and just requires a Kubernetes object representation. + // This field is immutable after creation. + // Required. + Source VolumeSnapshotContentSource `json:"source" protobuf:"bytes,5,opt,name=source"` + + // SourceVolumeMode is the mode of the volume whose snapshot is taken. + // Can be either “Filesystem” or “Block”. + // If not specified, it indicates the source volume's mode is unknown. + // This field is immutable. + // This field is an alpha field. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="sourceVolumeMode is immutable" + SourceVolumeMode *core_v1.PersistentVolumeMode `json:"sourceVolumeMode" protobuf:"bytes,6,opt,name=sourceVolumeMode"` +} + +// VolumeSnapshotContentSource represents the CSI source of a snapshot. +// Exactly one of its members must be set. +// Members in VolumeSnapshotContentSource are immutable. +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.volumeHandle) || has(self.volumeHandle)", message="volumeHandle is required once set" +// +kubebuilder:validation:XValidation:rule="!has(oldSelf.snapshotHandle) || has(self.snapshotHandle)", message="snapshotHandle is required once set" +// +kubebuilder:validation:XValidation:rule="(has(self.volumeHandle) && !has(self.snapshotHandle)) || (!has(self.volumeHandle) && has(self.snapshotHandle))", message="exactly one of volumeHandle and snapshotHandle must be set" +type VolumeSnapshotContentSource struct { + // volumeHandle specifies the CSI "volume_id" of the volume from which a snapshot + // should be dynamically taken from. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="volumeHandle is immutable" + VolumeHandle *string `json:"volumeHandle,omitempty" protobuf:"bytes,1,opt,name=volumeHandle"` + + // snapshotHandle specifies the CSI "snapshot_id" of a pre-existing snapshot on + // the underlying storage system for which a Kubernetes object representation + // was (or should be) created. + // This field is immutable. + // +optional + // +kubebuilder:validation:XValidation:rule="self == oldSelf",message="snapshotHandle is immutable" + SnapshotHandle *string `json:"snapshotHandle,omitempty" protobuf:"bytes,2,opt,name=snapshotHandle"` +} + +// VolumeSnapshotContentStatus is the status of a VolumeSnapshotContent object +// Note that CreationTime, RestoreSize, ReadyToUse, and Error are in both +// VolumeSnapshotStatus and VolumeSnapshotContentStatus. Fields in VolumeSnapshotStatus +// are updated based on fields in VolumeSnapshotContentStatus. They are eventual +// consistency. These fields are duplicate in both objects due to the following reasons: +// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a +// volumesnapshot. +// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent. +// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent +// object, not VolumeSnapshot object. +type VolumeSnapshotContentStatus struct { + // snapshotHandle is the CSI "snapshot_id" of a snapshot on the underlying storage system. + // If not specified, it indicates that dynamic snapshot creation has either failed + // or it is still in progress. + // +optional + SnapshotHandle *string `json:"snapshotHandle,omitempty" protobuf:"bytes,1,opt,name=snapshotHandle"` + + // creationTime is the timestamp when the point-in-time snapshot is taken + // by the underlying storage system. + // In dynamic snapshot creation case, this field will be filled in by the + // CSI snapshotter sidecar with the "creation_time" value returned from CSI + // "CreateSnapshot" gRPC call. + // For a pre-existing snapshot, this field will be filled with the "creation_time" + // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. + // If not specified, it indicates the creation time is unknown. + // The format of this field is a Unix nanoseconds time encoded as an int64. + // On Unix, the command `date +%s%N` returns the current time in nanoseconds + // since 1970-01-01 00:00:00 UTC. + // +optional + CreationTime *int64 `json:"creationTime,omitempty" protobuf:"varint,2,opt,name=creationTime"` + + // restoreSize represents the complete size of the snapshot in bytes. + // In dynamic snapshot creation case, this field will be filled in by the + // CSI snapshotter sidecar with the "size_bytes" value returned from CSI + // "CreateSnapshot" gRPC call. + // For a pre-existing snapshot, this field will be filled with the "size_bytes" + // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. + // When restoring a volume from this snapshot, the size of the volume MUST NOT + // be smaller than the restoreSize if it is specified, otherwise the restoration will fail. + // If not specified, it indicates that the size is unknown. + // +kubebuilder:validation:Minimum=0 + // +optional + RestoreSize *int64 `json:"restoreSize,omitempty" protobuf:"bytes,3,opt,name=restoreSize"` + + // readyToUse indicates if a snapshot is ready to be used to restore a volume. + // In dynamic snapshot creation case, this field will be filled in by the + // CSI snapshotter sidecar with the "ready_to_use" value returned from CSI + // "CreateSnapshot" gRPC call. + // For a pre-existing snapshot, this field will be filled with the "ready_to_use" + // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it, + // otherwise, this field will be set to "True". + // If not specified, it means the readiness of a snapshot is unknown. + // +optional. + ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,4,opt,name=readyToUse"` + + // error is the last observed error during snapshot creation, if any. + // Upon success after retry, this error field will be cleared. + // +optional + Error *VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,5,opt,name=error,casttype=VolumeSnapshotError"` + + // VolumeGroupSnapshotHandle is the CSI "group_snapshot_id" of a group snapshot + // on the underlying storage system. + // +optional + VolumeGroupSnapshotHandle *string `json:"volumeGroupSnapshotHandle,omitempty" protobuf:"bytes,6,opt,name=volumeGroupSnapshotHandle"` +} + +// DeletionPolicy describes a policy for end-of-life maintenance of volume snapshot contents +// +kubebuilder:validation:Enum=Delete;Retain +type DeletionPolicy string + +const ( + // volumeSnapshotContentDelete means the snapshot will be deleted from the + // underlying storage system on release from its volume snapshot. + VolumeSnapshotContentDelete DeletionPolicy = "Delete" + + // volumeSnapshotContentRetain means the snapshot will be left in its current + // state on release from its volume snapshot. + VolumeSnapshotContentRetain DeletionPolicy = "Retain" +) + +// VolumeSnapshotError describes an error encountered during snapshot creation. +type VolumeSnapshotError struct { + // time is the timestamp when the error was encountered. + // +optional + Time *metav1.Time `json:"time,omitempty" protobuf:"bytes,1,opt,name=time"` + + // message is a string detailing the encountered error during snapshot + // creation if specified. + // NOTE: message may be logged, and it should not contain sensitive + // information. + // +optional + Message *string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/zz_generated.deepcopy.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/zz_generated.deepcopy.go new file mode 100644 index 0000000000..a590aef060 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1/zz_generated.deepcopy.go @@ -0,0 +1,441 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1 + +import ( + corev1 "k8s.io/api/core/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshot) DeepCopyInto(out *VolumeSnapshot) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(VolumeSnapshotStatus) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshot. +func (in *VolumeSnapshot) DeepCopy() *VolumeSnapshot { + if in == nil { + return nil + } + out := new(VolumeSnapshot) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeSnapshot) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotClass) DeepCopyInto(out *VolumeSnapshotClass) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + if in.Parameters != nil { + in, out := &in.Parameters, &out.Parameters + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotClass. +func (in *VolumeSnapshotClass) DeepCopy() *VolumeSnapshotClass { + if in == nil { + return nil + } + out := new(VolumeSnapshotClass) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeSnapshotClass) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotClassList) DeepCopyInto(out *VolumeSnapshotClassList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VolumeSnapshotClass, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotClassList. +func (in *VolumeSnapshotClassList) DeepCopy() *VolumeSnapshotClassList { + if in == nil { + return nil + } + out := new(VolumeSnapshotClassList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeSnapshotClassList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotContent) DeepCopyInto(out *VolumeSnapshotContent) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + if in.Status != nil { + in, out := &in.Status, &out.Status + *out = new(VolumeSnapshotContentStatus) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContent. +func (in *VolumeSnapshotContent) DeepCopy() *VolumeSnapshotContent { + if in == nil { + return nil + } + out := new(VolumeSnapshotContent) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeSnapshotContent) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotContentList) DeepCopyInto(out *VolumeSnapshotContentList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VolumeSnapshotContent, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentList. +func (in *VolumeSnapshotContentList) DeepCopy() *VolumeSnapshotContentList { + if in == nil { + return nil + } + out := new(VolumeSnapshotContentList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeSnapshotContentList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotContentSource) DeepCopyInto(out *VolumeSnapshotContentSource) { + *out = *in + if in.VolumeHandle != nil { + in, out := &in.VolumeHandle, &out.VolumeHandle + *out = new(string) + **out = **in + } + if in.SnapshotHandle != nil { + in, out := &in.SnapshotHandle, &out.SnapshotHandle + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentSource. +func (in *VolumeSnapshotContentSource) DeepCopy() *VolumeSnapshotContentSource { + if in == nil { + return nil + } + out := new(VolumeSnapshotContentSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotContentSpec) DeepCopyInto(out *VolumeSnapshotContentSpec) { + *out = *in + out.VolumeSnapshotRef = in.VolumeSnapshotRef + if in.VolumeSnapshotClassName != nil { + in, out := &in.VolumeSnapshotClassName, &out.VolumeSnapshotClassName + *out = new(string) + **out = **in + } + in.Source.DeepCopyInto(&out.Source) + if in.SourceVolumeMode != nil { + in, out := &in.SourceVolumeMode, &out.SourceVolumeMode + *out = new(corev1.PersistentVolumeMode) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentSpec. +func (in *VolumeSnapshotContentSpec) DeepCopy() *VolumeSnapshotContentSpec { + if in == nil { + return nil + } + out := new(VolumeSnapshotContentSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotContentStatus) DeepCopyInto(out *VolumeSnapshotContentStatus) { + *out = *in + if in.SnapshotHandle != nil { + in, out := &in.SnapshotHandle, &out.SnapshotHandle + *out = new(string) + **out = **in + } + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = new(int64) + **out = **in + } + if in.RestoreSize != nil { + in, out := &in.RestoreSize, &out.RestoreSize + *out = new(int64) + **out = **in + } + if in.ReadyToUse != nil { + in, out := &in.ReadyToUse, &out.ReadyToUse + *out = new(bool) + **out = **in + } + if in.Error != nil { + in, out := &in.Error, &out.Error + *out = new(VolumeSnapshotError) + (*in).DeepCopyInto(*out) + } + if in.VolumeGroupSnapshotHandle != nil { + in, out := &in.VolumeGroupSnapshotHandle, &out.VolumeGroupSnapshotHandle + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentStatus. +func (in *VolumeSnapshotContentStatus) DeepCopy() *VolumeSnapshotContentStatus { + if in == nil { + return nil + } + out := new(VolumeSnapshotContentStatus) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotError) DeepCopyInto(out *VolumeSnapshotError) { + *out = *in + if in.Time != nil { + in, out := &in.Time, &out.Time + *out = (*in).DeepCopy() + } + if in.Message != nil { + in, out := &in.Message, &out.Message + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotError. +func (in *VolumeSnapshotError) DeepCopy() *VolumeSnapshotError { + if in == nil { + return nil + } + out := new(VolumeSnapshotError) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotList) DeepCopyInto(out *VolumeSnapshotList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]VolumeSnapshot, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotList. +func (in *VolumeSnapshotList) DeepCopy() *VolumeSnapshotList { + if in == nil { + return nil + } + out := new(VolumeSnapshotList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeSnapshotList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotSource) DeepCopyInto(out *VolumeSnapshotSource) { + *out = *in + if in.PersistentVolumeClaimName != nil { + in, out := &in.PersistentVolumeClaimName, &out.PersistentVolumeClaimName + *out = new(string) + **out = **in + } + if in.VolumeSnapshotContentName != nil { + in, out := &in.VolumeSnapshotContentName, &out.VolumeSnapshotContentName + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotSource. +func (in *VolumeSnapshotSource) DeepCopy() *VolumeSnapshotSource { + if in == nil { + return nil + } + out := new(VolumeSnapshotSource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotSpec) DeepCopyInto(out *VolumeSnapshotSpec) { + *out = *in + in.Source.DeepCopyInto(&out.Source) + if in.VolumeSnapshotClassName != nil { + in, out := &in.VolumeSnapshotClassName, &out.VolumeSnapshotClassName + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotSpec. +func (in *VolumeSnapshotSpec) DeepCopy() *VolumeSnapshotSpec { + if in == nil { + return nil + } + out := new(VolumeSnapshotSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeSnapshotStatus) DeepCopyInto(out *VolumeSnapshotStatus) { + *out = *in + if in.BoundVolumeSnapshotContentName != nil { + in, out := &in.BoundVolumeSnapshotContentName, &out.BoundVolumeSnapshotContentName + *out = new(string) + **out = **in + } + if in.CreationTime != nil { + in, out := &in.CreationTime, &out.CreationTime + *out = (*in).DeepCopy() + } + if in.ReadyToUse != nil { + in, out := &in.ReadyToUse, &out.ReadyToUse + *out = new(bool) + **out = **in + } + if in.RestoreSize != nil { + in, out := &in.RestoreSize, &out.RestoreSize + x := (*in).DeepCopy() + *out = &x + } + if in.Error != nil { + in, out := &in.Error, &out.Error + *out = new(VolumeSnapshotError) + (*in).DeepCopyInto(*out) + } + if in.VolumeGroupSnapshotName != nil { + in, out := &in.VolumeGroupSnapshotName, &out.VolumeGroupSnapshotName + *out = new(string) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotStatus. +func (in *VolumeSnapshotStatus) DeepCopy() *VolumeSnapshotStatus { + if in == nil { + return nil + } + out := new(VolumeSnapshotStatus) + in.DeepCopyInto(out) + return out +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/clientset.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/clientset.go new file mode 100644 index 0000000000..050de3b875 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/clientset.go @@ -0,0 +1,133 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package versioned + +import ( + "fmt" + "net/http" + + groupsnapshotv1beta1 "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1" + snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1" + discovery "k8s.io/client-go/discovery" + rest "k8s.io/client-go/rest" + flowcontrol "k8s.io/client-go/util/flowcontrol" +) + +type Interface interface { + Discovery() discovery.DiscoveryInterface + GroupsnapshotV1beta1() groupsnapshotv1beta1.GroupsnapshotV1beta1Interface + SnapshotV1() snapshotv1.SnapshotV1Interface +} + +// Clientset contains the clients for groups. +type Clientset struct { + *discovery.DiscoveryClient + groupsnapshotV1beta1 *groupsnapshotv1beta1.GroupsnapshotV1beta1Client + snapshotV1 *snapshotv1.SnapshotV1Client +} + +// GroupsnapshotV1beta1 retrieves the GroupsnapshotV1beta1Client +func (c *Clientset) GroupsnapshotV1beta1() groupsnapshotv1beta1.GroupsnapshotV1beta1Interface { + return c.groupsnapshotV1beta1 +} + +// SnapshotV1 retrieves the SnapshotV1Client +func (c *Clientset) SnapshotV1() snapshotv1.SnapshotV1Interface { + return c.snapshotV1 +} + +// Discovery retrieves the DiscoveryClient +func (c *Clientset) Discovery() discovery.DiscoveryInterface { + if c == nil { + return nil + } + return c.DiscoveryClient +} + +// NewForConfig creates a new Clientset for the given config. +// If config's RateLimiter is not set and QPS and Burst are acceptable, +// NewForConfig will generate a rate-limiter in configShallowCopy. +// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), +// where httpClient was generated with rest.HTTPClientFor(c). +func NewForConfig(c *rest.Config) (*Clientset, error) { + configShallowCopy := *c + + if configShallowCopy.UserAgent == "" { + configShallowCopy.UserAgent = rest.DefaultKubernetesUserAgent() + } + + // share the transport between all clients + httpClient, err := rest.HTTPClientFor(&configShallowCopy) + if err != nil { + return nil, err + } + + return NewForConfigAndClient(&configShallowCopy, httpClient) +} + +// NewForConfigAndClient creates a new Clientset for the given config and http client. +// Note the http client provided takes precedence over the configured transport values. +// If config's RateLimiter is not set and QPS and Burst are acceptable, +// NewForConfigAndClient will generate a rate-limiter in configShallowCopy. +func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset, error) { + configShallowCopy := *c + if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 { + if configShallowCopy.Burst <= 0 { + return nil, fmt.Errorf("burst is required to be greater than 0 when RateLimiter is not set and QPS is set to greater than 0") + } + configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst) + } + + var cs Clientset + var err error + cs.groupsnapshotV1beta1, err = groupsnapshotv1beta1.NewForConfigAndClient(&configShallowCopy, httpClient) + if err != nil { + return nil, err + } + cs.snapshotV1, err = snapshotv1.NewForConfigAndClient(&configShallowCopy, httpClient) + if err != nil { + return nil, err + } + + cs.DiscoveryClient, err = discovery.NewDiscoveryClientForConfigAndClient(&configShallowCopy, httpClient) + if err != nil { + return nil, err + } + return &cs, nil +} + +// NewForConfigOrDie creates a new Clientset for the given config and +// panics if there is an error in the config. +func NewForConfigOrDie(c *rest.Config) *Clientset { + cs, err := NewForConfig(c) + if err != nil { + panic(err) + } + return cs +} + +// New creates a new Clientset for the given RESTClient. +func New(c rest.Interface) *Clientset { + var cs Clientset + cs.groupsnapshotV1beta1 = groupsnapshotv1beta1.New(c) + cs.snapshotV1 = snapshotv1.New(c) + + cs.DiscoveryClient = discovery.NewDiscoveryClient(c) + return &cs +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/doc.go new file mode 100644 index 0000000000..0fe2de9138 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +// This package contains the scheme of the automatically generated clientset. +package scheme diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/register.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/register.go new file mode 100644 index 0000000000..6f8c4fdf00 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme/register.go @@ -0,0 +1,58 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package scheme + +import ( + groupsnapshotv1beta1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1" + snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + schema "k8s.io/apimachinery/pkg/runtime/schema" + serializer "k8s.io/apimachinery/pkg/runtime/serializer" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" +) + +var Scheme = runtime.NewScheme() +var Codecs = serializer.NewCodecFactory(Scheme) +var ParameterCodec = runtime.NewParameterCodec(Scheme) +var localSchemeBuilder = runtime.SchemeBuilder{ + groupsnapshotv1beta1.AddToScheme, + snapshotv1.AddToScheme, +} + +// AddToScheme adds all types of this clientset into the given scheme. This allows composition +// of clientsets, like in: +// +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) +// +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// +// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types +// correctly. +var AddToScheme = localSchemeBuilder.AddToScheme + +func init() { + v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"}) + utilruntime.Must(AddToScheme(Scheme)) +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/doc.go new file mode 100644 index 0000000000..c70a3f5319 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +// This package has the automatically generated typed clients. +package v1beta1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/generated_expansion.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/generated_expansion.go new file mode 100644 index 0000000000..10f62712e4 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/generated_expansion.go @@ -0,0 +1,25 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1beta1 + +type VolumeGroupSnapshotExpansion interface{} + +type VolumeGroupSnapshotClassExpansion interface{} + +type VolumeGroupSnapshotContentExpansion interface{} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot.go new file mode 100644 index 0000000000..8687a330f8 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot.go @@ -0,0 +1,195 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1beta1 + +import ( + "context" + "time" + + v1beta1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1" + scheme "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// VolumeGroupSnapshotsGetter has a method to return a VolumeGroupSnapshotInterface. +// A group's client should implement this interface. +type VolumeGroupSnapshotsGetter interface { + VolumeGroupSnapshots(namespace string) VolumeGroupSnapshotInterface +} + +// VolumeGroupSnapshotInterface has methods to work with VolumeGroupSnapshot resources. +type VolumeGroupSnapshotInterface interface { + Create(ctx context.Context, volumeGroupSnapshot *v1beta1.VolumeGroupSnapshot, opts v1.CreateOptions) (*v1beta1.VolumeGroupSnapshot, error) + Update(ctx context.Context, volumeGroupSnapshot *v1beta1.VolumeGroupSnapshot, opts v1.UpdateOptions) (*v1beta1.VolumeGroupSnapshot, error) + UpdateStatus(ctx context.Context, volumeGroupSnapshot *v1beta1.VolumeGroupSnapshot, opts v1.UpdateOptions) (*v1beta1.VolumeGroupSnapshot, error) + Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VolumeGroupSnapshot, error) + List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeGroupSnapshotList, error) + Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroupSnapshot, err error) + VolumeGroupSnapshotExpansion +} + +// volumeGroupSnapshots implements VolumeGroupSnapshotInterface +type volumeGroupSnapshots struct { + client rest.Interface + ns string +} + +// newVolumeGroupSnapshots returns a VolumeGroupSnapshots +func newVolumeGroupSnapshots(c *GroupsnapshotV1beta1Client, namespace string) *volumeGroupSnapshots { + return &volumeGroupSnapshots{ + client: c.RESTClient(), + ns: namespace, + } +} + +// Get takes name of the volumeGroupSnapshot, and returns the corresponding volumeGroupSnapshot object, and an error if there is any. +func (c *volumeGroupSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeGroupSnapshot, err error) { + result = &v1beta1.VolumeGroupSnapshot{} + err = c.client.Get(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of VolumeGroupSnapshots that match those selectors. +func (c *volumeGroupSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeGroupSnapshotList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1beta1.VolumeGroupSnapshotList{} + err = c.client.Get(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested volumeGroupSnapshots. +func (c *volumeGroupSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a volumeGroupSnapshot and creates it. Returns the server's representation of the volumeGroupSnapshot, and an error, if there is any. +func (c *volumeGroupSnapshots) Create(ctx context.Context, volumeGroupSnapshot *v1beta1.VolumeGroupSnapshot, opts v1.CreateOptions) (result *v1beta1.VolumeGroupSnapshot, err error) { + result = &v1beta1.VolumeGroupSnapshot{} + err = c.client.Post(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshot). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a volumeGroupSnapshot and updates it. Returns the server's representation of the volumeGroupSnapshot, and an error, if there is any. +func (c *volumeGroupSnapshots) Update(ctx context.Context, volumeGroupSnapshot *v1beta1.VolumeGroupSnapshot, opts v1.UpdateOptions) (result *v1beta1.VolumeGroupSnapshot, err error) { + result = &v1beta1.VolumeGroupSnapshot{} + err = c.client.Put(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + Name(volumeGroupSnapshot.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshot). + Do(ctx). + Into(result) + return +} + +// UpdateStatus was generated because the type contains a Status member. +// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). +func (c *volumeGroupSnapshots) UpdateStatus(ctx context.Context, volumeGroupSnapshot *v1beta1.VolumeGroupSnapshot, opts v1.UpdateOptions) (result *v1beta1.VolumeGroupSnapshot, err error) { + result = &v1beta1.VolumeGroupSnapshot{} + err = c.client.Put(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + Name(volumeGroupSnapshot.Name). + SubResource("status"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshot). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the volumeGroupSnapshot and deletes it. Returns an error if one occurs. +func (c *volumeGroupSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { + return c.client.Delete(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *volumeGroupSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched volumeGroupSnapshot. +func (c *volumeGroupSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroupSnapshot, err error) { + result = &v1beta1.VolumeGroupSnapshot{} + err = c.client.Patch(pt). + Namespace(c.ns). + Resource("volumegroupsnapshots"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot_client.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot_client.go new file mode 100644 index 0000000000..49ecc7cf5e --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshot_client.go @@ -0,0 +1,117 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1beta1 + +import ( + "net/http" + + v1beta1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1" + "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + rest "k8s.io/client-go/rest" +) + +type GroupsnapshotV1beta1Interface interface { + RESTClient() rest.Interface + VolumeGroupSnapshotsGetter + VolumeGroupSnapshotClassesGetter + VolumeGroupSnapshotContentsGetter +} + +// GroupsnapshotV1beta1Client is used to interact with features provided by the groupsnapshot.storage.k8s.io group. +type GroupsnapshotV1beta1Client struct { + restClient rest.Interface +} + +func (c *GroupsnapshotV1beta1Client) VolumeGroupSnapshots(namespace string) VolumeGroupSnapshotInterface { + return newVolumeGroupSnapshots(c, namespace) +} + +func (c *GroupsnapshotV1beta1Client) VolumeGroupSnapshotClasses() VolumeGroupSnapshotClassInterface { + return newVolumeGroupSnapshotClasses(c) +} + +func (c *GroupsnapshotV1beta1Client) VolumeGroupSnapshotContents() VolumeGroupSnapshotContentInterface { + return newVolumeGroupSnapshotContents(c) +} + +// NewForConfig creates a new GroupsnapshotV1beta1Client for the given config. +// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), +// where httpClient was generated with rest.HTTPClientFor(c). +func NewForConfig(c *rest.Config) (*GroupsnapshotV1beta1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + httpClient, err := rest.HTTPClientFor(&config) + if err != nil { + return nil, err + } + return NewForConfigAndClient(&config, httpClient) +} + +// NewForConfigAndClient creates a new GroupsnapshotV1beta1Client for the given config and http client. +// Note the http client provided takes precedence over the configured transport values. +func NewForConfigAndClient(c *rest.Config, h *http.Client) (*GroupsnapshotV1beta1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + client, err := rest.RESTClientForConfigAndClient(&config, h) + if err != nil { + return nil, err + } + return &GroupsnapshotV1beta1Client{client}, nil +} + +// NewForConfigOrDie creates a new GroupsnapshotV1beta1Client for the given config and +// panics if there is an error in the config. +func NewForConfigOrDie(c *rest.Config) *GroupsnapshotV1beta1Client { + client, err := NewForConfig(c) + if err != nil { + panic(err) + } + return client +} + +// New creates a new GroupsnapshotV1beta1Client for the given RESTClient. +func New(c rest.Interface) *GroupsnapshotV1beta1Client { + return &GroupsnapshotV1beta1Client{c} +} + +func setConfigDefaults(config *rest.Config) error { + gv := v1beta1.SchemeGroupVersion + config.GroupVersion = &gv + config.APIPath = "/apis" + config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() + + if config.UserAgent == "" { + config.UserAgent = rest.DefaultKubernetesUserAgent() + } + + return nil +} + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *GroupsnapshotV1beta1Client) RESTClient() rest.Interface { + if c == nil { + return nil + } + return c.restClient +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotclass.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotclass.go new file mode 100644 index 0000000000..642cedd705 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotclass.go @@ -0,0 +1,168 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1beta1 + +import ( + "context" + "time" + + v1beta1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1" + scheme "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// VolumeGroupSnapshotClassesGetter has a method to return a VolumeGroupSnapshotClassInterface. +// A group's client should implement this interface. +type VolumeGroupSnapshotClassesGetter interface { + VolumeGroupSnapshotClasses() VolumeGroupSnapshotClassInterface +} + +// VolumeGroupSnapshotClassInterface has methods to work with VolumeGroupSnapshotClass resources. +type VolumeGroupSnapshotClassInterface interface { + Create(ctx context.Context, volumeGroupSnapshotClass *v1beta1.VolumeGroupSnapshotClass, opts v1.CreateOptions) (*v1beta1.VolumeGroupSnapshotClass, error) + Update(ctx context.Context, volumeGroupSnapshotClass *v1beta1.VolumeGroupSnapshotClass, opts v1.UpdateOptions) (*v1beta1.VolumeGroupSnapshotClass, error) + Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VolumeGroupSnapshotClass, error) + List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeGroupSnapshotClassList, error) + Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroupSnapshotClass, err error) + VolumeGroupSnapshotClassExpansion +} + +// volumeGroupSnapshotClasses implements VolumeGroupSnapshotClassInterface +type volumeGroupSnapshotClasses struct { + client rest.Interface +} + +// newVolumeGroupSnapshotClasses returns a VolumeGroupSnapshotClasses +func newVolumeGroupSnapshotClasses(c *GroupsnapshotV1beta1Client) *volumeGroupSnapshotClasses { + return &volumeGroupSnapshotClasses{ + client: c.RESTClient(), + } +} + +// Get takes name of the volumeGroupSnapshotClass, and returns the corresponding volumeGroupSnapshotClass object, and an error if there is any. +func (c *volumeGroupSnapshotClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeGroupSnapshotClass, err error) { + result = &v1beta1.VolumeGroupSnapshotClass{} + err = c.client.Get(). + Resource("volumegroupsnapshotclasses"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of VolumeGroupSnapshotClasses that match those selectors. +func (c *volumeGroupSnapshotClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeGroupSnapshotClassList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1beta1.VolumeGroupSnapshotClassList{} + err = c.client.Get(). + Resource("volumegroupsnapshotclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested volumeGroupSnapshotClasses. +func (c *volumeGroupSnapshotClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Resource("volumegroupsnapshotclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a volumeGroupSnapshotClass and creates it. Returns the server's representation of the volumeGroupSnapshotClass, and an error, if there is any. +func (c *volumeGroupSnapshotClasses) Create(ctx context.Context, volumeGroupSnapshotClass *v1beta1.VolumeGroupSnapshotClass, opts v1.CreateOptions) (result *v1beta1.VolumeGroupSnapshotClass, err error) { + result = &v1beta1.VolumeGroupSnapshotClass{} + err = c.client.Post(). + Resource("volumegroupsnapshotclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshotClass). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a volumeGroupSnapshotClass and updates it. Returns the server's representation of the volumeGroupSnapshotClass, and an error, if there is any. +func (c *volumeGroupSnapshotClasses) Update(ctx context.Context, volumeGroupSnapshotClass *v1beta1.VolumeGroupSnapshotClass, opts v1.UpdateOptions) (result *v1beta1.VolumeGroupSnapshotClass, err error) { + result = &v1beta1.VolumeGroupSnapshotClass{} + err = c.client.Put(). + Resource("volumegroupsnapshotclasses"). + Name(volumeGroupSnapshotClass.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshotClass). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the volumeGroupSnapshotClass and deletes it. Returns an error if one occurs. +func (c *volumeGroupSnapshotClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { + return c.client.Delete(). + Resource("volumegroupsnapshotclasses"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *volumeGroupSnapshotClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Resource("volumegroupsnapshotclasses"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched volumeGroupSnapshotClass. +func (c *volumeGroupSnapshotClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroupSnapshotClass, err error) { + result = &v1beta1.VolumeGroupSnapshotClass{} + err = c.client.Patch(pt). + Resource("volumegroupsnapshotclasses"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotcontent.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotcontent.go new file mode 100644 index 0000000000..eafada5895 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1/volumegroupsnapshotcontent.go @@ -0,0 +1,184 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1beta1 + +import ( + "context" + "time" + + v1beta1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1" + scheme "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// VolumeGroupSnapshotContentsGetter has a method to return a VolumeGroupSnapshotContentInterface. +// A group's client should implement this interface. +type VolumeGroupSnapshotContentsGetter interface { + VolumeGroupSnapshotContents() VolumeGroupSnapshotContentInterface +} + +// VolumeGroupSnapshotContentInterface has methods to work with VolumeGroupSnapshotContent resources. +type VolumeGroupSnapshotContentInterface interface { + Create(ctx context.Context, volumeGroupSnapshotContent *v1beta1.VolumeGroupSnapshotContent, opts v1.CreateOptions) (*v1beta1.VolumeGroupSnapshotContent, error) + Update(ctx context.Context, volumeGroupSnapshotContent *v1beta1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (*v1beta1.VolumeGroupSnapshotContent, error) + UpdateStatus(ctx context.Context, volumeGroupSnapshotContent *v1beta1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (*v1beta1.VolumeGroupSnapshotContent, error) + Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + Get(ctx context.Context, name string, opts v1.GetOptions) (*v1beta1.VolumeGroupSnapshotContent, error) + List(ctx context.Context, opts v1.ListOptions) (*v1beta1.VolumeGroupSnapshotContentList, error) + Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroupSnapshotContent, err error) + VolumeGroupSnapshotContentExpansion +} + +// volumeGroupSnapshotContents implements VolumeGroupSnapshotContentInterface +type volumeGroupSnapshotContents struct { + client rest.Interface +} + +// newVolumeGroupSnapshotContents returns a VolumeGroupSnapshotContents +func newVolumeGroupSnapshotContents(c *GroupsnapshotV1beta1Client) *volumeGroupSnapshotContents { + return &volumeGroupSnapshotContents{ + client: c.RESTClient(), + } +} + +// Get takes name of the volumeGroupSnapshotContent, and returns the corresponding volumeGroupSnapshotContent object, and an error if there is any. +func (c *volumeGroupSnapshotContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.VolumeGroupSnapshotContent, err error) { + result = &v1beta1.VolumeGroupSnapshotContent{} + err = c.client.Get(). + Resource("volumegroupsnapshotcontents"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of VolumeGroupSnapshotContents that match those selectors. +func (c *volumeGroupSnapshotContents) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.VolumeGroupSnapshotContentList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1beta1.VolumeGroupSnapshotContentList{} + err = c.client.Get(). + Resource("volumegroupsnapshotcontents"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested volumeGroupSnapshotContents. +func (c *volumeGroupSnapshotContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Resource("volumegroupsnapshotcontents"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a volumeGroupSnapshotContent and creates it. Returns the server's representation of the volumeGroupSnapshotContent, and an error, if there is any. +func (c *volumeGroupSnapshotContents) Create(ctx context.Context, volumeGroupSnapshotContent *v1beta1.VolumeGroupSnapshotContent, opts v1.CreateOptions) (result *v1beta1.VolumeGroupSnapshotContent, err error) { + result = &v1beta1.VolumeGroupSnapshotContent{} + err = c.client.Post(). + Resource("volumegroupsnapshotcontents"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshotContent). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a volumeGroupSnapshotContent and updates it. Returns the server's representation of the volumeGroupSnapshotContent, and an error, if there is any. +func (c *volumeGroupSnapshotContents) Update(ctx context.Context, volumeGroupSnapshotContent *v1beta1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (result *v1beta1.VolumeGroupSnapshotContent, err error) { + result = &v1beta1.VolumeGroupSnapshotContent{} + err = c.client.Put(). + Resource("volumegroupsnapshotcontents"). + Name(volumeGroupSnapshotContent.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshotContent). + Do(ctx). + Into(result) + return +} + +// UpdateStatus was generated because the type contains a Status member. +// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). +func (c *volumeGroupSnapshotContents) UpdateStatus(ctx context.Context, volumeGroupSnapshotContent *v1beta1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (result *v1beta1.VolumeGroupSnapshotContent, err error) { + result = &v1beta1.VolumeGroupSnapshotContent{} + err = c.client.Put(). + Resource("volumegroupsnapshotcontents"). + Name(volumeGroupSnapshotContent.Name). + SubResource("status"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeGroupSnapshotContent). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the volumeGroupSnapshotContent and deletes it. Returns an error if one occurs. +func (c *volumeGroupSnapshotContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { + return c.client.Delete(). + Resource("volumegroupsnapshotcontents"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *volumeGroupSnapshotContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Resource("volumegroupsnapshotcontents"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched volumeGroupSnapshotContent. +func (c *volumeGroupSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.VolumeGroupSnapshotContent, err error) { + result = &v1beta1.VolumeGroupSnapshotContent{} + err = c.client.Patch(pt). + Resource("volumegroupsnapshotcontents"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/doc.go new file mode 100644 index 0000000000..03b25c753e --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/doc.go @@ -0,0 +1,20 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +// This package has the automatically generated typed clients. +package v1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go new file mode 100644 index 0000000000..c52fe570ed --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go @@ -0,0 +1,25 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1 + +type VolumeSnapshotExpansion interface{} + +type VolumeSnapshotClassExpansion interface{} + +type VolumeSnapshotContentExpansion interface{} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go new file mode 100644 index 0000000000..c99b491750 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go @@ -0,0 +1,195 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1 + +import ( + "context" + "time" + + v1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" + scheme "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// VolumeSnapshotsGetter has a method to return a VolumeSnapshotInterface. +// A group's client should implement this interface. +type VolumeSnapshotsGetter interface { + VolumeSnapshots(namespace string) VolumeSnapshotInterface +} + +// VolumeSnapshotInterface has methods to work with VolumeSnapshot resources. +type VolumeSnapshotInterface interface { + Create(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.CreateOptions) (*v1.VolumeSnapshot, error) + Update(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (*v1.VolumeSnapshot, error) + UpdateStatus(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (*v1.VolumeSnapshot, error) + Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error + Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshot, error) + List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotList, error) + Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshot, err error) + VolumeSnapshotExpansion +} + +// volumeSnapshots implements VolumeSnapshotInterface +type volumeSnapshots struct { + client rest.Interface + ns string +} + +// newVolumeSnapshots returns a VolumeSnapshots +func newVolumeSnapshots(c *SnapshotV1Client, namespace string) *volumeSnapshots { + return &volumeSnapshots{ + client: c.RESTClient(), + ns: namespace, + } +} + +// Get takes name of the volumeSnapshot, and returns the corresponding volumeSnapshot object, and an error if there is any. +func (c *volumeSnapshots) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VolumeSnapshot, err error) { + result = &v1.VolumeSnapshot{} + err = c.client.Get(). + Namespace(c.ns). + Resource("volumesnapshots"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of VolumeSnapshots that match those selectors. +func (c *volumeSnapshots) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VolumeSnapshotList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1.VolumeSnapshotList{} + err = c.client.Get(). + Namespace(c.ns). + Resource("volumesnapshots"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested volumeSnapshots. +func (c *volumeSnapshots) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Namespace(c.ns). + Resource("volumesnapshots"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a volumeSnapshot and creates it. Returns the server's representation of the volumeSnapshot, and an error, if there is any. +func (c *volumeSnapshots) Create(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.CreateOptions) (result *v1.VolumeSnapshot, err error) { + result = &v1.VolumeSnapshot{} + err = c.client.Post(). + Namespace(c.ns). + Resource("volumesnapshots"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshot). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a volumeSnapshot and updates it. Returns the server's representation of the volumeSnapshot, and an error, if there is any. +func (c *volumeSnapshots) Update(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (result *v1.VolumeSnapshot, err error) { + result = &v1.VolumeSnapshot{} + err = c.client.Put(). + Namespace(c.ns). + Resource("volumesnapshots"). + Name(volumeSnapshot.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshot). + Do(ctx). + Into(result) + return +} + +// UpdateStatus was generated because the type contains a Status member. +// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). +func (c *volumeSnapshots) UpdateStatus(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (result *v1.VolumeSnapshot, err error) { + result = &v1.VolumeSnapshot{} + err = c.client.Put(). + Namespace(c.ns). + Resource("volumesnapshots"). + Name(volumeSnapshot.Name). + SubResource("status"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshot). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the volumeSnapshot and deletes it. Returns an error if one occurs. +func (c *volumeSnapshots) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { + return c.client.Delete(). + Namespace(c.ns). + Resource("volumesnapshots"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *volumeSnapshots) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Namespace(c.ns). + Resource("volumesnapshots"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched volumeSnapshot. +func (c *volumeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshot, err error) { + result = &v1.VolumeSnapshot{} + err = c.client.Patch(pt). + Namespace(c.ns). + Resource("volumesnapshots"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go new file mode 100644 index 0000000000..877208fd6c --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go @@ -0,0 +1,117 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1 + +import ( + "net/http" + + v1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" + "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + rest "k8s.io/client-go/rest" +) + +type SnapshotV1Interface interface { + RESTClient() rest.Interface + VolumeSnapshotsGetter + VolumeSnapshotClassesGetter + VolumeSnapshotContentsGetter +} + +// SnapshotV1Client is used to interact with features provided by the snapshot.storage.k8s.io group. +type SnapshotV1Client struct { + restClient rest.Interface +} + +func (c *SnapshotV1Client) VolumeSnapshots(namespace string) VolumeSnapshotInterface { + return newVolumeSnapshots(c, namespace) +} + +func (c *SnapshotV1Client) VolumeSnapshotClasses() VolumeSnapshotClassInterface { + return newVolumeSnapshotClasses(c) +} + +func (c *SnapshotV1Client) VolumeSnapshotContents() VolumeSnapshotContentInterface { + return newVolumeSnapshotContents(c) +} + +// NewForConfig creates a new SnapshotV1Client for the given config. +// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), +// where httpClient was generated with rest.HTTPClientFor(c). +func NewForConfig(c *rest.Config) (*SnapshotV1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + httpClient, err := rest.HTTPClientFor(&config) + if err != nil { + return nil, err + } + return NewForConfigAndClient(&config, httpClient) +} + +// NewForConfigAndClient creates a new SnapshotV1Client for the given config and http client. +// Note the http client provided takes precedence over the configured transport values. +func NewForConfigAndClient(c *rest.Config, h *http.Client) (*SnapshotV1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + client, err := rest.RESTClientForConfigAndClient(&config, h) + if err != nil { + return nil, err + } + return &SnapshotV1Client{client}, nil +} + +// NewForConfigOrDie creates a new SnapshotV1Client for the given config and +// panics if there is an error in the config. +func NewForConfigOrDie(c *rest.Config) *SnapshotV1Client { + client, err := NewForConfig(c) + if err != nil { + panic(err) + } + return client +} + +// New creates a new SnapshotV1Client for the given RESTClient. +func New(c rest.Interface) *SnapshotV1Client { + return &SnapshotV1Client{c} +} + +func setConfigDefaults(config *rest.Config) error { + gv := v1.SchemeGroupVersion + config.GroupVersion = &gv + config.APIPath = "/apis" + config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() + + if config.UserAgent == "" { + config.UserAgent = rest.DefaultKubernetesUserAgent() + } + + return nil +} + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *SnapshotV1Client) RESTClient() rest.Interface { + if c == nil { + return nil + } + return c.restClient +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go new file mode 100644 index 0000000000..5fa38735a8 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go @@ -0,0 +1,168 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1 + +import ( + "context" + "time" + + v1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" + scheme "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// VolumeSnapshotClassesGetter has a method to return a VolumeSnapshotClassInterface. +// A group's client should implement this interface. +type VolumeSnapshotClassesGetter interface { + VolumeSnapshotClasses() VolumeSnapshotClassInterface +} + +// VolumeSnapshotClassInterface has methods to work with VolumeSnapshotClass resources. +type VolumeSnapshotClassInterface interface { + Create(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.CreateOptions) (*v1.VolumeSnapshotClass, error) + Update(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.UpdateOptions) (*v1.VolumeSnapshotClass, error) + Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error + Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotClass, error) + List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotClassList, error) + Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotClass, err error) + VolumeSnapshotClassExpansion +} + +// volumeSnapshotClasses implements VolumeSnapshotClassInterface +type volumeSnapshotClasses struct { + client rest.Interface +} + +// newVolumeSnapshotClasses returns a VolumeSnapshotClasses +func newVolumeSnapshotClasses(c *SnapshotV1Client) *volumeSnapshotClasses { + return &volumeSnapshotClasses{ + client: c.RESTClient(), + } +} + +// Get takes name of the volumeSnapshotClass, and returns the corresponding volumeSnapshotClass object, and an error if there is any. +func (c *volumeSnapshotClasses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VolumeSnapshotClass, err error) { + result = &v1.VolumeSnapshotClass{} + err = c.client.Get(). + Resource("volumesnapshotclasses"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of VolumeSnapshotClasses that match those selectors. +func (c *volumeSnapshotClasses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VolumeSnapshotClassList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1.VolumeSnapshotClassList{} + err = c.client.Get(). + Resource("volumesnapshotclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested volumeSnapshotClasses. +func (c *volumeSnapshotClasses) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Resource("volumesnapshotclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a volumeSnapshotClass and creates it. Returns the server's representation of the volumeSnapshotClass, and an error, if there is any. +func (c *volumeSnapshotClasses) Create(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.CreateOptions) (result *v1.VolumeSnapshotClass, err error) { + result = &v1.VolumeSnapshotClass{} + err = c.client.Post(). + Resource("volumesnapshotclasses"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshotClass). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a volumeSnapshotClass and updates it. Returns the server's representation of the volumeSnapshotClass, and an error, if there is any. +func (c *volumeSnapshotClasses) Update(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.UpdateOptions) (result *v1.VolumeSnapshotClass, err error) { + result = &v1.VolumeSnapshotClass{} + err = c.client.Put(). + Resource("volumesnapshotclasses"). + Name(volumeSnapshotClass.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshotClass). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the volumeSnapshotClass and deletes it. Returns an error if one occurs. +func (c *volumeSnapshotClasses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { + return c.client.Delete(). + Resource("volumesnapshotclasses"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *volumeSnapshotClasses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Resource("volumesnapshotclasses"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched volumeSnapshotClass. +func (c *volumeSnapshotClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotClass, err error) { + result = &v1.VolumeSnapshotClass{} + err = c.client.Patch(pt). + Resource("volumesnapshotclasses"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go new file mode 100644 index 0000000000..d425cb3db5 --- /dev/null +++ b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go @@ -0,0 +1,184 @@ +/* +Copyright 2024 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1 + +import ( + "context" + "time" + + v1 "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" + scheme "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + rest "k8s.io/client-go/rest" +) + +// VolumeSnapshotContentsGetter has a method to return a VolumeSnapshotContentInterface. +// A group's client should implement this interface. +type VolumeSnapshotContentsGetter interface { + VolumeSnapshotContents() VolumeSnapshotContentInterface +} + +// VolumeSnapshotContentInterface has methods to work with VolumeSnapshotContent resources. +type VolumeSnapshotContentInterface interface { + Create(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.CreateOptions) (*v1.VolumeSnapshotContent, error) + Update(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (*v1.VolumeSnapshotContent, error) + UpdateStatus(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (*v1.VolumeSnapshotContent, error) + Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error + Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotContent, error) + List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotContentList, error) + Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotContent, err error) + VolumeSnapshotContentExpansion +} + +// volumeSnapshotContents implements VolumeSnapshotContentInterface +type volumeSnapshotContents struct { + client rest.Interface +} + +// newVolumeSnapshotContents returns a VolumeSnapshotContents +func newVolumeSnapshotContents(c *SnapshotV1Client) *volumeSnapshotContents { + return &volumeSnapshotContents{ + client: c.RESTClient(), + } +} + +// Get takes name of the volumeSnapshotContent, and returns the corresponding volumeSnapshotContent object, and an error if there is any. +func (c *volumeSnapshotContents) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VolumeSnapshotContent, err error) { + result = &v1.VolumeSnapshotContent{} + err = c.client.Get(). + Resource("volumesnapshotcontents"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of VolumeSnapshotContents that match those selectors. +func (c *volumeSnapshotContents) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VolumeSnapshotContentList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1.VolumeSnapshotContentList{} + err = c.client.Get(). + Resource("volumesnapshotcontents"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested volumeSnapshotContents. +func (c *volumeSnapshotContents) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Resource("volumesnapshotcontents"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a volumeSnapshotContent and creates it. Returns the server's representation of the volumeSnapshotContent, and an error, if there is any. +func (c *volumeSnapshotContents) Create(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.CreateOptions) (result *v1.VolumeSnapshotContent, err error) { + result = &v1.VolumeSnapshotContent{} + err = c.client.Post(). + Resource("volumesnapshotcontents"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshotContent). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a volumeSnapshotContent and updates it. Returns the server's representation of the volumeSnapshotContent, and an error, if there is any. +func (c *volumeSnapshotContents) Update(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (result *v1.VolumeSnapshotContent, err error) { + result = &v1.VolumeSnapshotContent{} + err = c.client.Put(). + Resource("volumesnapshotcontents"). + Name(volumeSnapshotContent.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshotContent). + Do(ctx). + Into(result) + return +} + +// UpdateStatus was generated because the type contains a Status member. +// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). +func (c *volumeSnapshotContents) UpdateStatus(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (result *v1.VolumeSnapshotContent, err error) { + result = &v1.VolumeSnapshotContent{} + err = c.client.Put(). + Resource("volumesnapshotcontents"). + Name(volumeSnapshotContent.Name). + SubResource("status"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(volumeSnapshotContent). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the volumeSnapshotContent and deletes it. Returns an error if one occurs. +func (c *volumeSnapshotContents) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { + return c.client.Delete(). + Resource("volumesnapshotcontents"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *volumeSnapshotContents) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Resource("volumesnapshotcontents"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched volumeSnapshotContent. +func (c *volumeSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotContent, err error) { + result = &v1.VolumeSnapshotContent{} + err = c.client.Patch(pt). + Resource("volumesnapshotcontents"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go new file mode 100644 index 0000000000..e8f11d9f21 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go @@ -0,0 +1,96 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CancelWorkRequestRequest wrapper for the CancelWorkRequest operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest. +type CancelWorkRequestRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CancelWorkRequestRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CancelWorkRequestResponse wrapper for the CancelWorkRequest operation +type CancelWorkRequestResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CancelWorkRequestResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CancelWorkRequestResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go new file mode 100644 index 0000000000..e52138834d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeLustreFileSystemCompartmentRequest wrapper for the ChangeLustreFileSystemCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartmentRequest. +type ChangeLustreFileSystemCompartmentRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` + + // The information to be updated. + ChangeLustreFileSystemCompartmentDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeLustreFileSystemCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeLustreFileSystemCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeLustreFileSystemCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeLustreFileSystemCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeLustreFileSystemCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeLustreFileSystemCompartmentResponse wrapper for the ChangeLustreFileSystemCompartment operation +type ChangeLustreFileSystemCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ChangeLustreFileSystemCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeLustreFileSystemCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go new file mode 100644 index 0000000000..f0e22e8831 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go @@ -0,0 +1,112 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeObjectStorageLinkCompartmentRequest wrapper for the ChangeObjectStorageLinkCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartmentRequest. +type ChangeObjectStorageLinkCompartmentRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // The information to be updated. + ChangeObjectStorageLinkCompartmentDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeObjectStorageLinkCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeObjectStorageLinkCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeObjectStorageLinkCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeObjectStorageLinkCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeObjectStorageLinkCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeObjectStorageLinkCompartmentResponse wrapper for the ChangeObjectStorageLinkCompartment operation +type ChangeObjectStorageLinkCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ObjectStorageLink instance + ObjectStorageLink `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ChangeObjectStorageLinkCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeObjectStorageLinkCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go new file mode 100644 index 0000000000..b62ba01282 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go @@ -0,0 +1,113 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateLustreFileSystemRequest wrapper for the CreateLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystemRequest. +type CreateLustreFileSystemRequest struct { + + // Details for the new Lustre file system. + CreateLustreFileSystemDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateLustreFileSystemRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateLustreFileSystemRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateLustreFileSystemResponse wrapper for the CreateLustreFileSystem operation +type CreateLustreFileSystemResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The LustreFileSystem instance + LustreFileSystem `presentIn:"body"` + + // URL for the created Lustre file system. The lustreFileSystem OCID is generated after this request is sent. + Location *string `presentIn:"header" name:"location"` + + // Same as location. + ContentLocation *string `presentIn:"header" name:"content-location"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateLustreFileSystemResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateLustreFileSystemResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go new file mode 100644 index 0000000000..5415864659 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateObjectStorageLinkRequest wrapper for the CreateObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLinkRequest. +type CreateObjectStorageLinkRequest struct { + + // Details for the new Object Storage link. + CreateObjectStorageLinkDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateObjectStorageLinkRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateObjectStorageLinkRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateObjectStorageLinkResponse wrapper for the CreateObjectStorageLink operation +type CreateObjectStorageLinkResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ObjectStorageLink instance + ObjectStorageLink `presentIn:"body"` + + // URL for the created Object Storage link. The Object Storage link OCID is generated after this request is sent. + Location *string `presentIn:"header" name:"location"` + + // Same as location. + ContentLocation *string `presentIn:"header" name:"content-location"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateObjectStorageLinkResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateObjectStorageLinkResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go new file mode 100644 index 0000000000..42f9289a34 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteLustreFileSystemRequest wrapper for the DeleteLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystemRequest. +type DeleteLustreFileSystemRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteLustreFileSystemRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteLustreFileSystemRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteLustreFileSystemResponse wrapper for the DeleteLustreFileSystem operation +type DeleteLustreFileSystemResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteLustreFileSystemResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteLustreFileSystemResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go new file mode 100644 index 0000000000..65a8f851ba --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteObjectStorageLinkRequest wrapper for the DeleteObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLinkRequest. +type DeleteObjectStorageLinkRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteObjectStorageLinkRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteObjectStorageLinkRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteObjectStorageLinkResponse wrapper for the DeleteObjectStorageLink operation +type DeleteObjectStorageLinkResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response DeleteObjectStorageLinkResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteObjectStorageLinkResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go new file mode 100644 index 0000000000..c856c12a92 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go @@ -0,0 +1,96 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetLustreFileSystemRequest wrapper for the GetLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystemRequest. +type GetLustreFileSystemRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetLustreFileSystemRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetLustreFileSystemRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetLustreFileSystemResponse wrapper for the GetLustreFileSystem operation +type GetLustreFileSystemResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The LustreFileSystem instance + LustreFileSystem `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetLustreFileSystemResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetLustreFileSystemResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go new file mode 100644 index 0000000000..0d04382d9b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go @@ -0,0 +1,96 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetObjectStorageLinkRequest wrapper for the GetObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLinkRequest. +type GetObjectStorageLinkRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetObjectStorageLinkRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetObjectStorageLinkRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetObjectStorageLinkResponse wrapper for the GetObjectStorageLink operation +type GetObjectStorageLinkResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ObjectStorageLink instance + ObjectStorageLink `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetObjectStorageLinkResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetObjectStorageLinkResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go new file mode 100644 index 0000000000..df1abe6635 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go @@ -0,0 +1,105 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetSyncJobRequest wrapper for the GetSyncJob operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJobRequest. +type GetSyncJobRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job. + SyncJobId *string `mandatory:"true" contributesTo:"path" name:"syncJobId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetSyncJobRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetSyncJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetSyncJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetSyncJobRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetSyncJobRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetSyncJobResponse wrapper for the GetSyncJob operation +type GetSyncJobResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The SyncJob instance + SyncJob `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetSyncJobResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetSyncJobResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go new file mode 100644 index 0000000000..d1f1ccadbf --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetWorkRequestRequest wrapper for the GetWorkRequest operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. +type GetWorkRequestRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetWorkRequestRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetWorkRequestResponse wrapper for the GetWorkRequest operation +type GetWorkRequestResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The WorkRequest instance + WorkRequest `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // A decimal number representing the number of seconds the client should wait before polling this endpoint again. + RetryAfter *int `presentIn:"header" name:"retry-after"` +} + +func (response GetWorkRequestResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetWorkRequestResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go new file mode 100644 index 0000000000..446f864823 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go @@ -0,0 +1,221 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListLustreFileSystemsRequest wrapper for the ListLustreFileSystems operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystemsRequest. +type ListLustreFileSystemsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // A filter to return only resources that match the given lifecycle state. The + // state value is case-insensitive. + LifecycleState LustreFileSystemLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + Id *string `mandatory:"false" contributesTo:"query" name:"id"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListLustreFileSystemsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The field to sort by. You can provide only one sort order. Default order for `timeCreated` + // is descending. Default order for `displayName` is ascending. + SortBy ListLustreFileSystemsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListLustreFileSystemsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListLustreFileSystemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListLustreFileSystemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListLustreFileSystemsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListLustreFileSystemsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingLustreFileSystemLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetLustreFileSystemLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingListLustreFileSystemsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListLustreFileSystemsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListLustreFileSystemsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListLustreFileSystemsSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListLustreFileSystemsResponse wrapper for the ListLustreFileSystems operation +type ListLustreFileSystemsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of LustreFileSystemCollection instances + LustreFileSystemCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListLustreFileSystemsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListLustreFileSystemsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListLustreFileSystemsSortOrderEnum Enum with underlying type: string +type ListLustreFileSystemsSortOrderEnum string + +// Set of constants representing the allowable values for ListLustreFileSystemsSortOrderEnum +const ( + ListLustreFileSystemsSortOrderAsc ListLustreFileSystemsSortOrderEnum = "ASC" + ListLustreFileSystemsSortOrderDesc ListLustreFileSystemsSortOrderEnum = "DESC" +) + +var mappingListLustreFileSystemsSortOrderEnum = map[string]ListLustreFileSystemsSortOrderEnum{ + "ASC": ListLustreFileSystemsSortOrderAsc, + "DESC": ListLustreFileSystemsSortOrderDesc, +} + +var mappingListLustreFileSystemsSortOrderEnumLowerCase = map[string]ListLustreFileSystemsSortOrderEnum{ + "asc": ListLustreFileSystemsSortOrderAsc, + "desc": ListLustreFileSystemsSortOrderDesc, +} + +// GetListLustreFileSystemsSortOrderEnumValues Enumerates the set of values for ListLustreFileSystemsSortOrderEnum +func GetListLustreFileSystemsSortOrderEnumValues() []ListLustreFileSystemsSortOrderEnum { + values := make([]ListLustreFileSystemsSortOrderEnum, 0) + for _, v := range mappingListLustreFileSystemsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListLustreFileSystemsSortOrderEnumStringValues Enumerates the set of values in String for ListLustreFileSystemsSortOrderEnum +func GetListLustreFileSystemsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListLustreFileSystemsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListLustreFileSystemsSortOrderEnum(val string) (ListLustreFileSystemsSortOrderEnum, bool) { + enum, ok := mappingListLustreFileSystemsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListLustreFileSystemsSortByEnum Enum with underlying type: string +type ListLustreFileSystemsSortByEnum string + +// Set of constants representing the allowable values for ListLustreFileSystemsSortByEnum +const ( + ListLustreFileSystemsSortByTimecreated ListLustreFileSystemsSortByEnum = "timeCreated" + ListLustreFileSystemsSortByDisplayname ListLustreFileSystemsSortByEnum = "displayName" +) + +var mappingListLustreFileSystemsSortByEnum = map[string]ListLustreFileSystemsSortByEnum{ + "timeCreated": ListLustreFileSystemsSortByTimecreated, + "displayName": ListLustreFileSystemsSortByDisplayname, +} + +var mappingListLustreFileSystemsSortByEnumLowerCase = map[string]ListLustreFileSystemsSortByEnum{ + "timecreated": ListLustreFileSystemsSortByTimecreated, + "displayname": ListLustreFileSystemsSortByDisplayname, +} + +// GetListLustreFileSystemsSortByEnumValues Enumerates the set of values for ListLustreFileSystemsSortByEnum +func GetListLustreFileSystemsSortByEnumValues() []ListLustreFileSystemsSortByEnum { + values := make([]ListLustreFileSystemsSortByEnum, 0) + for _, v := range mappingListLustreFileSystemsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListLustreFileSystemsSortByEnumStringValues Enumerates the set of values in String for ListLustreFileSystemsSortByEnum +func GetListLustreFileSystemsSortByEnumStringValues() []string { + return []string{ + "timeCreated", + "displayName", + } +} + +// GetMappingListLustreFileSystemsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListLustreFileSystemsSortByEnum(val string) (ListLustreFileSystemsSortByEnum, bool) { + enum, ok := mappingListLustreFileSystemsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go new file mode 100644 index 0000000000..02c56cf8d0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go @@ -0,0 +1,224 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListObjectStorageLinksRequest wrapper for the ListObjectStorageLinks operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinksRequest. +type ListObjectStorageLinksRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // A filter to return only resources that match the given lifecycle state. The + // state value is case-insensitive. + LifecycleState ObjectStorageLinkLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + Id *string `mandatory:"false" contributesTo:"query" name:"id"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListObjectStorageLinksSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The field to sort by. You can provide only one sort order. Default order for `timeCreated` + // is descending. Default order for `displayName` is ascending. + SortBy ListObjectStorageLinksSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"false" contributesTo:"query" name:"lustreFileSystemId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListObjectStorageLinksRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListObjectStorageLinksRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListObjectStorageLinksRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListObjectStorageLinksRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListObjectStorageLinksRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingObjectStorageLinkLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetObjectStorageLinkLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingListObjectStorageLinksSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListObjectStorageLinksSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListObjectStorageLinksSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListObjectStorageLinksSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListObjectStorageLinksResponse wrapper for the ListObjectStorageLinks operation +type ListObjectStorageLinksResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ObjectStorageLinkCollection instances + ObjectStorageLinkCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListObjectStorageLinksResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListObjectStorageLinksResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListObjectStorageLinksSortOrderEnum Enum with underlying type: string +type ListObjectStorageLinksSortOrderEnum string + +// Set of constants representing the allowable values for ListObjectStorageLinksSortOrderEnum +const ( + ListObjectStorageLinksSortOrderAsc ListObjectStorageLinksSortOrderEnum = "ASC" + ListObjectStorageLinksSortOrderDesc ListObjectStorageLinksSortOrderEnum = "DESC" +) + +var mappingListObjectStorageLinksSortOrderEnum = map[string]ListObjectStorageLinksSortOrderEnum{ + "ASC": ListObjectStorageLinksSortOrderAsc, + "DESC": ListObjectStorageLinksSortOrderDesc, +} + +var mappingListObjectStorageLinksSortOrderEnumLowerCase = map[string]ListObjectStorageLinksSortOrderEnum{ + "asc": ListObjectStorageLinksSortOrderAsc, + "desc": ListObjectStorageLinksSortOrderDesc, +} + +// GetListObjectStorageLinksSortOrderEnumValues Enumerates the set of values for ListObjectStorageLinksSortOrderEnum +func GetListObjectStorageLinksSortOrderEnumValues() []ListObjectStorageLinksSortOrderEnum { + values := make([]ListObjectStorageLinksSortOrderEnum, 0) + for _, v := range mappingListObjectStorageLinksSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListObjectStorageLinksSortOrderEnumStringValues Enumerates the set of values in String for ListObjectStorageLinksSortOrderEnum +func GetListObjectStorageLinksSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListObjectStorageLinksSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListObjectStorageLinksSortOrderEnum(val string) (ListObjectStorageLinksSortOrderEnum, bool) { + enum, ok := mappingListObjectStorageLinksSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListObjectStorageLinksSortByEnum Enum with underlying type: string +type ListObjectStorageLinksSortByEnum string + +// Set of constants representing the allowable values for ListObjectStorageLinksSortByEnum +const ( + ListObjectStorageLinksSortByTimecreated ListObjectStorageLinksSortByEnum = "timeCreated" + ListObjectStorageLinksSortByDisplayname ListObjectStorageLinksSortByEnum = "displayName" +) + +var mappingListObjectStorageLinksSortByEnum = map[string]ListObjectStorageLinksSortByEnum{ + "timeCreated": ListObjectStorageLinksSortByTimecreated, + "displayName": ListObjectStorageLinksSortByDisplayname, +} + +var mappingListObjectStorageLinksSortByEnumLowerCase = map[string]ListObjectStorageLinksSortByEnum{ + "timecreated": ListObjectStorageLinksSortByTimecreated, + "displayname": ListObjectStorageLinksSortByDisplayname, +} + +// GetListObjectStorageLinksSortByEnumValues Enumerates the set of values for ListObjectStorageLinksSortByEnum +func GetListObjectStorageLinksSortByEnumValues() []ListObjectStorageLinksSortByEnum { + values := make([]ListObjectStorageLinksSortByEnum, 0) + for _, v := range mappingListObjectStorageLinksSortByEnum { + values = append(values, v) + } + return values +} + +// GetListObjectStorageLinksSortByEnumStringValues Enumerates the set of values in String for ListObjectStorageLinksSortByEnum +func GetListObjectStorageLinksSortByEnumStringValues() []string { + return []string{ + "timeCreated", + "displayName", + } +} + +// GetMappingListObjectStorageLinksSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListObjectStorageLinksSortByEnum(val string) (ListObjectStorageLinksSortByEnum, bool) { + enum, ok := mappingListObjectStorageLinksSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go new file mode 100644 index 0000000000..1630840836 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go @@ -0,0 +1,213 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListSyncJobsRequest wrapper for the ListSyncJobs operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobsRequest. +type ListSyncJobsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListSyncJobsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A filter to return only resources that match the given lifecycle state. The + // state value is case-insensitive. + LifecycleState SyncJobLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` + + // The field to sort by. You can provide only one sort order. Default order for `timeCreated` + // is descending. Default order for `displayName` is ascending. + SortBy ListSyncJobsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListSyncJobsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListSyncJobsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListSyncJobsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListSyncJobsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListSyncJobsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListSyncJobsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListSyncJobsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingSyncJobLifecycleStateEnum(string(request.LifecycleState)); !ok && request.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetSyncJobLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingListSyncJobsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListSyncJobsSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListSyncJobsResponse wrapper for the ListSyncJobs operation +type ListSyncJobsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of SyncJobCollection instances + SyncJobCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListSyncJobsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListSyncJobsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListSyncJobsSortOrderEnum Enum with underlying type: string +type ListSyncJobsSortOrderEnum string + +// Set of constants representing the allowable values for ListSyncJobsSortOrderEnum +const ( + ListSyncJobsSortOrderAsc ListSyncJobsSortOrderEnum = "ASC" + ListSyncJobsSortOrderDesc ListSyncJobsSortOrderEnum = "DESC" +) + +var mappingListSyncJobsSortOrderEnum = map[string]ListSyncJobsSortOrderEnum{ + "ASC": ListSyncJobsSortOrderAsc, + "DESC": ListSyncJobsSortOrderDesc, +} + +var mappingListSyncJobsSortOrderEnumLowerCase = map[string]ListSyncJobsSortOrderEnum{ + "asc": ListSyncJobsSortOrderAsc, + "desc": ListSyncJobsSortOrderDesc, +} + +// GetListSyncJobsSortOrderEnumValues Enumerates the set of values for ListSyncJobsSortOrderEnum +func GetListSyncJobsSortOrderEnumValues() []ListSyncJobsSortOrderEnum { + values := make([]ListSyncJobsSortOrderEnum, 0) + for _, v := range mappingListSyncJobsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListSyncJobsSortOrderEnumStringValues Enumerates the set of values in String for ListSyncJobsSortOrderEnum +func GetListSyncJobsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListSyncJobsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListSyncJobsSortOrderEnum(val string) (ListSyncJobsSortOrderEnum, bool) { + enum, ok := mappingListSyncJobsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListSyncJobsSortByEnum Enum with underlying type: string +type ListSyncJobsSortByEnum string + +// Set of constants representing the allowable values for ListSyncJobsSortByEnum +const ( + ListSyncJobsSortByTimecreated ListSyncJobsSortByEnum = "timeCreated" +) + +var mappingListSyncJobsSortByEnum = map[string]ListSyncJobsSortByEnum{ + "timeCreated": ListSyncJobsSortByTimecreated, +} + +var mappingListSyncJobsSortByEnumLowerCase = map[string]ListSyncJobsSortByEnum{ + "timecreated": ListSyncJobsSortByTimecreated, +} + +// GetListSyncJobsSortByEnumValues Enumerates the set of values for ListSyncJobsSortByEnum +func GetListSyncJobsSortByEnumValues() []ListSyncJobsSortByEnum { + values := make([]ListSyncJobsSortByEnum, 0) + for _, v := range mappingListSyncJobsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListSyncJobsSortByEnumStringValues Enumerates the set of values in String for ListSyncJobsSortByEnum +func GetListSyncJobsSortByEnumStringValues() []string { + return []string{ + "timeCreated", + } +} + +// GetMappingListSyncJobsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListSyncJobsSortByEnum(val string) (ListSyncJobsSortByEnum, bool) { + enum, ok := mappingListSyncJobsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go new file mode 100644 index 0000000000..3e79fc829d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go @@ -0,0 +1,199 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. +type ListWorkRequestErrorsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending. + SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListWorkRequestErrorsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListWorkRequestErrorsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListWorkRequestErrorsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListWorkRequestErrorsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListWorkRequestErrorsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation +type ListWorkRequestErrorsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of WorkRequestErrorCollection instances + WorkRequestErrorCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListWorkRequestErrorsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListWorkRequestErrorsSortByEnum Enum with underlying type: string +type ListWorkRequestErrorsSortByEnum string + +// Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum +const ( + ListWorkRequestErrorsSortByTimestamp ListWorkRequestErrorsSortByEnum = "timestamp" +) + +var mappingListWorkRequestErrorsSortByEnum = map[string]ListWorkRequestErrorsSortByEnum{ + "timestamp": ListWorkRequestErrorsSortByTimestamp, +} + +var mappingListWorkRequestErrorsSortByEnumLowerCase = map[string]ListWorkRequestErrorsSortByEnum{ + "timestamp": ListWorkRequestErrorsSortByTimestamp, +} + +// GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum +func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum { + values := make([]ListWorkRequestErrorsSortByEnum, 0) + for _, v := range mappingListWorkRequestErrorsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum +func GetListWorkRequestErrorsSortByEnumStringValues() []string { + return []string{ + "timestamp", + } +} + +// GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool) { + enum, ok := mappingListWorkRequestErrorsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string +type ListWorkRequestErrorsSortOrderEnum string + +// Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum +const ( + ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" + ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" +) + +var mappingListWorkRequestErrorsSortOrderEnum = map[string]ListWorkRequestErrorsSortOrderEnum{ + "ASC": ListWorkRequestErrorsSortOrderAsc, + "DESC": ListWorkRequestErrorsSortOrderDesc, +} + +var mappingListWorkRequestErrorsSortOrderEnumLowerCase = map[string]ListWorkRequestErrorsSortOrderEnum{ + "asc": ListWorkRequestErrorsSortOrderAsc, + "desc": ListWorkRequestErrorsSortOrderDesc, +} + +// GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum +func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum { + values := make([]ListWorkRequestErrorsSortOrderEnum, 0) + for _, v := range mappingListWorkRequestErrorsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum +func GetListWorkRequestErrorsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool) { + enum, ok := mappingListWorkRequestErrorsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go new file mode 100644 index 0000000000..f8c49d2a42 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go @@ -0,0 +1,199 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. +type ListWorkRequestLogsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The field to sort by. Only one sort order may be provided. Default order for `timestamp` is descending. + SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListWorkRequestLogsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListWorkRequestLogsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListWorkRequestLogsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListWorkRequestLogsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListWorkRequestLogsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation +type ListWorkRequestLogsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of WorkRequestLogEntryCollection instances + WorkRequestLogEntryCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListWorkRequestLogsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListWorkRequestLogsSortByEnum Enum with underlying type: string +type ListWorkRequestLogsSortByEnum string + +// Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum +const ( + ListWorkRequestLogsSortByTimestamp ListWorkRequestLogsSortByEnum = "timestamp" +) + +var mappingListWorkRequestLogsSortByEnum = map[string]ListWorkRequestLogsSortByEnum{ + "timestamp": ListWorkRequestLogsSortByTimestamp, +} + +var mappingListWorkRequestLogsSortByEnumLowerCase = map[string]ListWorkRequestLogsSortByEnum{ + "timestamp": ListWorkRequestLogsSortByTimestamp, +} + +// GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum +func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum { + values := make([]ListWorkRequestLogsSortByEnum, 0) + for _, v := range mappingListWorkRequestLogsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum +func GetListWorkRequestLogsSortByEnumStringValues() []string { + return []string{ + "timestamp", + } +} + +// GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool) { + enum, ok := mappingListWorkRequestLogsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListWorkRequestLogsSortOrderEnum Enum with underlying type: string +type ListWorkRequestLogsSortOrderEnum string + +// Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum +const ( + ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" + ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" +) + +var mappingListWorkRequestLogsSortOrderEnum = map[string]ListWorkRequestLogsSortOrderEnum{ + "ASC": ListWorkRequestLogsSortOrderAsc, + "DESC": ListWorkRequestLogsSortOrderDesc, +} + +var mappingListWorkRequestLogsSortOrderEnumLowerCase = map[string]ListWorkRequestLogsSortOrderEnum{ + "asc": ListWorkRequestLogsSortOrderAsc, + "desc": ListWorkRequestLogsSortOrderDesc, +} + +// GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum +func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum { + values := make([]ListWorkRequestLogsSortOrderEnum, 0) + for _, v := range mappingListWorkRequestLogsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum +func GetListWorkRequestLogsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool) { + enum, ok := mappingListWorkRequestLogsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go new file mode 100644 index 0000000000..49e56868b1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go @@ -0,0 +1,277 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListWorkRequestsRequest wrapper for the ListWorkRequests operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. +type ListWorkRequestsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` + + // A filter to return only the resources that match the given lifecycle state. + Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending. + SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListWorkRequestsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListWorkRequestsStatusEnum(string(request.Status)); !ok && request.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", request.Status, strings.Join(GetListWorkRequestsStatusEnumStringValues(), ","))) + } + if _, ok := GetMappingListWorkRequestsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListWorkRequestsSortOrderEnumStringValues(), ","))) + } + if _, ok := GetMappingListWorkRequestsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListWorkRequestsSortByEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListWorkRequestsResponse wrapper for the ListWorkRequests operation +type ListWorkRequestsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of WorkRequestSummaryCollection instances + WorkRequestSummaryCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListWorkRequestsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListWorkRequestsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListWorkRequestsStatusEnum Enum with underlying type: string +type ListWorkRequestsStatusEnum string + +// Set of constants representing the allowable values for ListWorkRequestsStatusEnum +const ( + ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" + ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" + ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" + ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" + ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" + ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" + ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" + ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" +) + +var mappingListWorkRequestsStatusEnum = map[string]ListWorkRequestsStatusEnum{ + "ACCEPTED": ListWorkRequestsStatusAccepted, + "IN_PROGRESS": ListWorkRequestsStatusInProgress, + "WAITING": ListWorkRequestsStatusWaiting, + "NEEDS_ATTENTION": ListWorkRequestsStatusNeedsAttention, + "FAILED": ListWorkRequestsStatusFailed, + "SUCCEEDED": ListWorkRequestsStatusSucceeded, + "CANCELING": ListWorkRequestsStatusCanceling, + "CANCELED": ListWorkRequestsStatusCanceled, +} + +var mappingListWorkRequestsStatusEnumLowerCase = map[string]ListWorkRequestsStatusEnum{ + "accepted": ListWorkRequestsStatusAccepted, + "in_progress": ListWorkRequestsStatusInProgress, + "waiting": ListWorkRequestsStatusWaiting, + "needs_attention": ListWorkRequestsStatusNeedsAttention, + "failed": ListWorkRequestsStatusFailed, + "succeeded": ListWorkRequestsStatusSucceeded, + "canceling": ListWorkRequestsStatusCanceling, + "canceled": ListWorkRequestsStatusCanceled, +} + +// GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum +func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum { + values := make([]ListWorkRequestsStatusEnum, 0) + for _, v := range mappingListWorkRequestsStatusEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum +func GetListWorkRequestsStatusEnumStringValues() []string { + return []string{ + "ACCEPTED", + "IN_PROGRESS", + "WAITING", + "NEEDS_ATTENTION", + "FAILED", + "SUCCEEDED", + "CANCELING", + "CANCELED", + } +} + +// GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool) { + enum, ok := mappingListWorkRequestsStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListWorkRequestsSortOrderEnum Enum with underlying type: string +type ListWorkRequestsSortOrderEnum string + +// Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum +const ( + ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" + ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" +) + +var mappingListWorkRequestsSortOrderEnum = map[string]ListWorkRequestsSortOrderEnum{ + "ASC": ListWorkRequestsSortOrderAsc, + "DESC": ListWorkRequestsSortOrderDesc, +} + +var mappingListWorkRequestsSortOrderEnumLowerCase = map[string]ListWorkRequestsSortOrderEnum{ + "asc": ListWorkRequestsSortOrderAsc, + "desc": ListWorkRequestsSortOrderDesc, +} + +// GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum +func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum { + values := make([]ListWorkRequestsSortOrderEnum, 0) + for _, v := range mappingListWorkRequestsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum +func GetListWorkRequestsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool) { + enum, ok := mappingListWorkRequestsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListWorkRequestsSortByEnum Enum with underlying type: string +type ListWorkRequestsSortByEnum string + +// Set of constants representing the allowable values for ListWorkRequestsSortByEnum +const ( + ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" +) + +var mappingListWorkRequestsSortByEnum = map[string]ListWorkRequestsSortByEnum{ + "timeAccepted": ListWorkRequestsSortByTimeaccepted, +} + +var mappingListWorkRequestsSortByEnumLowerCase = map[string]ListWorkRequestsSortByEnum{ + "timeaccepted": ListWorkRequestsSortByTimeaccepted, +} + +// GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum +func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum { + values := make([]ListWorkRequestsSortByEnum, 0) + for _, v := range mappingListWorkRequestsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum +func GetListWorkRequestsSortByEnumStringValues() []string { + return []string{ + "timeAccepted", + } +} + +// GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool) { + enum, ok := mappingListWorkRequestsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go new file mode 100644 index 0000000000..502e6cef14 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go @@ -0,0 +1,1467 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// LustreFileStorageClient a client for LustreFileStorage +type LustreFileStorageClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewLustreFileStorageClientWithConfigurationProvider Creates a new default LustreFileStorage client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewLustreFileStorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LustreFileStorageClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newLustreFileStorageClientFromBaseClient(baseClient, provider) +} + +// NewLustreFileStorageClientWithOboToken Creates a new default LustreFileStorage client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewLustreFileStorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LustreFileStorageClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newLustreFileStorageClientFromBaseClient(baseClient, configProvider) +} + +func newLustreFileStorageClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client LustreFileStorageClient, err error) { + // LustreFileStorage service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("LustreFileStorage")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = LustreFileStorageClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *LustreFileStorageClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *LustreFileStorageClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *LustreFileStorageClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CancelWorkRequest Cancels a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. +// A default retry strategy applies to this operation CancelWorkRequest() +func (client LustreFileStorageClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.cancelWorkRequest, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CancelWorkRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CancelWorkRequestResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CancelWorkRequestResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CancelWorkRequestResponse") + } + return +} + +// cancelWorkRequest implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) cancelWorkRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/workRequests/{workRequestId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CancelWorkRequestResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/WorkRequest/CancelWorkRequest" + err = common.PostProcessServiceError(err, "LustreFileStorage", "CancelWorkRequest", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ChangeLustreFileSystemCompartment Moves a Lustre file system into a different compartment within the same tenancy. For information about moving resources between +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartment API. +// A default retry strategy applies to this operation ChangeLustreFileSystemCompartment() +func (client LustreFileStorageClient) ChangeLustreFileSystemCompartment(ctx context.Context, request ChangeLustreFileSystemCompartmentRequest) (response ChangeLustreFileSystemCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.changeLustreFileSystemCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeLustreFileSystemCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeLustreFileSystemCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeLustreFileSystemCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeLustreFileSystemCompartmentResponse") + } + return +} + +// changeLustreFileSystemCompartment implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) changeLustreFileSystemCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/lustreFileSystems/{lustreFileSystemId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeLustreFileSystemCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/ChangeLustreFileSystemCompartment" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ChangeLustreFileSystemCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ChangeObjectStorageLinkCompartment Moves an Object Storage link into a different compartment within the same tenancy. For information about moving resources between +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartment API. +// A default retry strategy applies to this operation ChangeObjectStorageLinkCompartment() +func (client LustreFileStorageClient) ChangeObjectStorageLinkCompartment(ctx context.Context, request ChangeObjectStorageLinkCompartmentRequest) (response ChangeObjectStorageLinkCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeObjectStorageLinkCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeObjectStorageLinkCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeObjectStorageLinkCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeObjectStorageLinkCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeObjectStorageLinkCompartmentResponse") + } + return +} + +// changeObjectStorageLinkCompartment implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) changeObjectStorageLinkCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeObjectStorageLinkCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/ChangeObjectStorageLinkCompartment" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ChangeObjectStorageLinkCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateLustreFileSystem Creates a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystem API. +// A default retry strategy applies to this operation CreateLustreFileSystem() +func (client LustreFileStorageClient) CreateLustreFileSystem(ctx context.Context, request CreateLustreFileSystemRequest) (response CreateLustreFileSystemResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createLustreFileSystem, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateLustreFileSystemResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateLustreFileSystemResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateLustreFileSystemResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateLustreFileSystemResponse") + } + return +} + +// createLustreFileSystem implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) createLustreFileSystem(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/lustreFileSystems", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateLustreFileSystemResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/CreateLustreFileSystem" + err = common.PostProcessServiceError(err, "LustreFileStorage", "CreateLustreFileSystem", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateObjectStorageLink Creates an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLink API. +// A default retry strategy applies to this operation CreateObjectStorageLink() +func (client LustreFileStorageClient) CreateObjectStorageLink(ctx context.Context, request CreateObjectStorageLinkRequest) (response CreateObjectStorageLinkResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createObjectStorageLink, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateObjectStorageLinkResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateObjectStorageLinkResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateObjectStorageLinkResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateObjectStorageLinkResponse") + } + return +} + +// createObjectStorageLink implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) createObjectStorageLink(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateObjectStorageLinkResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/CreateObjectStorageLink" + err = common.PostProcessServiceError(err, "LustreFileStorage", "CreateObjectStorageLink", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteLustreFileSystem Deletes a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystem API. +// A default retry strategy applies to this operation DeleteLustreFileSystem() +func (client LustreFileStorageClient) DeleteLustreFileSystem(ctx context.Context, request DeleteLustreFileSystemRequest) (response DeleteLustreFileSystemResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteLustreFileSystem, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteLustreFileSystemResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteLustreFileSystemResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteLustreFileSystemResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteLustreFileSystemResponse") + } + return +} + +// deleteLustreFileSystem implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) deleteLustreFileSystem(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/lustreFileSystems/{lustreFileSystemId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteLustreFileSystemResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/DeleteLustreFileSystem" + err = common.PostProcessServiceError(err, "LustreFileStorage", "DeleteLustreFileSystem", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteObjectStorageLink Deletes an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLink API. +// A default retry strategy applies to this operation DeleteObjectStorageLink() +func (client LustreFileStorageClient) DeleteObjectStorageLink(ctx context.Context, request DeleteObjectStorageLinkRequest) (response DeleteObjectStorageLinkResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteObjectStorageLink, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteObjectStorageLinkResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteObjectStorageLinkResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteObjectStorageLinkResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteObjectStorageLinkResponse") + } + return +} + +// deleteObjectStorageLink implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) deleteObjectStorageLink(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/objectStorageLinks/{objectStorageLinkId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteObjectStorageLinkResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/DeleteObjectStorageLink" + err = common.PostProcessServiceError(err, "LustreFileStorage", "DeleteObjectStorageLink", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetLustreFileSystem Gets information about a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystem API. +// A default retry strategy applies to this operation GetLustreFileSystem() +func (client LustreFileStorageClient) GetLustreFileSystem(ctx context.Context, request GetLustreFileSystemRequest) (response GetLustreFileSystemResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getLustreFileSystem, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetLustreFileSystemResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetLustreFileSystemResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetLustreFileSystemResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetLustreFileSystemResponse") + } + return +} + +// getLustreFileSystem implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) getLustreFileSystem(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/lustreFileSystems/{lustreFileSystemId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetLustreFileSystemResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/GetLustreFileSystem" + err = common.PostProcessServiceError(err, "LustreFileStorage", "GetLustreFileSystem", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetObjectStorageLink Gets information about an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLink API. +// A default retry strategy applies to this operation GetObjectStorageLink() +func (client LustreFileStorageClient) GetObjectStorageLink(ctx context.Context, request GetObjectStorageLinkRequest) (response GetObjectStorageLinkResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getObjectStorageLink, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetObjectStorageLinkResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetObjectStorageLinkResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetObjectStorageLinkResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetObjectStorageLinkResponse") + } + return +} + +// getObjectStorageLink implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) getObjectStorageLink(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/objectStorageLinks/{objectStorageLinkId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetObjectStorageLinkResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/GetObjectStorageLink" + err = common.PostProcessServiceError(err, "LustreFileStorage", "GetObjectStorageLink", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetSyncJob Gets details of a sync job associated with an Object Storage link when `objectStorageLink` and a unique ID are provided. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJob API. +// A default retry strategy applies to this operation GetSyncJob() +func (client LustreFileStorageClient) GetSyncJob(ctx context.Context, request GetSyncJobRequest) (response GetSyncJobResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getSyncJob, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetSyncJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetSyncJobResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetSyncJobResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetSyncJobResponse") + } + return +} + +// getSyncJob implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) getSyncJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/objectStorageLinks/{objectStorageLinkId}/syncJobs/{syncJobId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetSyncJobResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/GetSyncJob" + err = common.PostProcessServiceError(err, "LustreFileStorage", "GetSyncJob", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetWorkRequest Gets the details of a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. +// A default retry strategy applies to this operation GetWorkRequest() +func (client LustreFileStorageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getWorkRequest, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetWorkRequestResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetWorkRequestResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetWorkRequestResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetWorkRequestResponse") + } + return +} + +// getWorkRequest implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) getWorkRequest(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetWorkRequestResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/WorkRequest/GetWorkRequest" + err = common.PostProcessServiceError(err, "LustreFileStorage", "GetWorkRequest", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListLustreFileSystems Gets a list of Lustre file systems. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystems API. +// A default retry strategy applies to this operation ListLustreFileSystems() +func (client LustreFileStorageClient) ListLustreFileSystems(ctx context.Context, request ListLustreFileSystemsRequest) (response ListLustreFileSystemsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listLustreFileSystems, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListLustreFileSystemsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListLustreFileSystemsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListLustreFileSystemsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListLustreFileSystemsResponse") + } + return +} + +// listLustreFileSystems implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listLustreFileSystems(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/lustreFileSystems", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListLustreFileSystemsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystemCollection/ListLustreFileSystems" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListLustreFileSystems", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListObjectStorageLinks Gets a list of Object Storage links. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinks API. +// A default retry strategy applies to this operation ListObjectStorageLinks() +func (client LustreFileStorageClient) ListObjectStorageLinks(ctx context.Context, request ListObjectStorageLinksRequest) (response ListObjectStorageLinksResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listObjectStorageLinks, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListObjectStorageLinksResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListObjectStorageLinksResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListObjectStorageLinksResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListObjectStorageLinksResponse") + } + return +} + +// listObjectStorageLinks implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listObjectStorageLinks(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/objectStorageLinks", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListObjectStorageLinksResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLinkCollection/ListObjectStorageLinks" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListObjectStorageLinks", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListSyncJobs Lists all sync jobs associated with the Object Storage link. Contains a unique ID for each sync job. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobs API. +// A default retry strategy applies to this operation ListSyncJobs() +func (client LustreFileStorageClient) ListSyncJobs(ctx context.Context, request ListSyncJobsRequest) (response ListSyncJobsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listSyncJobs, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListSyncJobsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListSyncJobsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListSyncJobsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListSyncJobsResponse") + } + return +} + +// listSyncJobs implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listSyncJobs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/objectStorageLinks/{objectStorageLinkId}/syncJobs", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListSyncJobsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/ListSyncJobs" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListSyncJobs", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListWorkRequestErrors Lists the errors for a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. +// A default retry strategy applies to this operation ListWorkRequestErrors() +func (client LustreFileStorageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listWorkRequestErrors, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListWorkRequestErrorsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListWorkRequestErrorsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListWorkRequestErrorsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestErrorsResponse") + } + return +} + +// listWorkRequestErrors implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listWorkRequestErrors(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}/errors", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListWorkRequestErrorsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/WorkRequestError/ListWorkRequestErrors" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListWorkRequestErrors", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListWorkRequestLogs Lists the logs for a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. +// A default retry strategy applies to this operation ListWorkRequestLogs() +func (client LustreFileStorageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listWorkRequestLogs, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListWorkRequestLogsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListWorkRequestLogsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListWorkRequestLogsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestLogsResponse") + } + return +} + +// listWorkRequestLogs implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listWorkRequestLogs(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests/{workRequestId}/logs", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListWorkRequestLogsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/WorkRequestLogEntry/ListWorkRequestLogs" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListWorkRequestLogs", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListWorkRequests Lists the work requests in a compartment. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. +// A default retry strategy applies to this operation ListWorkRequests() +func (client LustreFileStorageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listWorkRequests, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListWorkRequestsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListWorkRequestsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListWorkRequestsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListWorkRequestsResponse") + } + return +} + +// listWorkRequests implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listWorkRequests(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/workRequests", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListWorkRequestsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/WorkRequest/ListWorkRequests" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListWorkRequests", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// StartExportToObject Starts the export of data from the Lustre file system to Object Storage. +// The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObject API. +// A default retry strategy applies to this operation StartExportToObject() +func (client LustreFileStorageClient) StartExportToObject(ctx context.Context, request StartExportToObjectRequest) (response StartExportToObjectResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.startExportToObject, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = StartExportToObjectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = StartExportToObjectResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(StartExportToObjectResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into StartExportToObjectResponse") + } + return +} + +// startExportToObject implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) startExportToObject(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/startExportToObject", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response StartExportToObjectResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/StartExportToObject" + err = common.PostProcessServiceError(err, "LustreFileStorage", "StartExportToObject", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// StartImportFromObject Starts the import of data from Object Storage to the Lustre file system. +// The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObject API. +// A default retry strategy applies to this operation StartImportFromObject() +func (client LustreFileStorageClient) StartImportFromObject(ctx context.Context, request StartImportFromObjectRequest) (response StartImportFromObjectResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.startImportFromObject, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = StartImportFromObjectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = StartImportFromObjectResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(StartImportFromObjectResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into StartImportFromObjectResponse") + } + return +} + +// startImportFromObject implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) startImportFromObject(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/startImportFromObject", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response StartImportFromObjectResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/StartImportFromObject" + err = common.PostProcessServiceError(err, "LustreFileStorage", "StartImportFromObject", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// StopExportToObject Stops the export of data from the Lustre file system to Object Storage. +// The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObject API. +// A default retry strategy applies to this operation StopExportToObject() +func (client LustreFileStorageClient) StopExportToObject(ctx context.Context, request StopExportToObjectRequest) (response StopExportToObjectResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.stopExportToObject, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = StopExportToObjectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = StopExportToObjectResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(StopExportToObjectResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into StopExportToObjectResponse") + } + return +} + +// stopExportToObject implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) stopExportToObject(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/stopExportToObject", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response StopExportToObjectResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/StopExportToObject" + err = common.PostProcessServiceError(err, "LustreFileStorage", "StopExportToObject", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// StopImportFromObject Stops the import of data from Object Storage to the Lustre file system. +// The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObject API. +// A default retry strategy applies to this operation StopImportFromObject() +func (client LustreFileStorageClient) StopImportFromObject(ctx context.Context, request StopImportFromObjectRequest) (response StopImportFromObjectResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.stopImportFromObject, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = StopImportFromObjectResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = StopImportFromObjectResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(StopImportFromObjectResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into StopImportFromObjectResponse") + } + return +} + +// stopImportFromObject implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) stopImportFromObject(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/stopImportFromObject", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response StopImportFromObjectResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/StopImportFromObject" + err = common.PostProcessServiceError(err, "LustreFileStorage", "StopImportFromObject", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateLustreFileSystem Updates a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystem API. +// A default retry strategy applies to this operation UpdateLustreFileSystem() +func (client LustreFileStorageClient) UpdateLustreFileSystem(ctx context.Context, request UpdateLustreFileSystemRequest) (response UpdateLustreFileSystemResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateLustreFileSystem, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateLustreFileSystemResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateLustreFileSystemResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateLustreFileSystemResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateLustreFileSystemResponse") + } + return +} + +// updateLustreFileSystem implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) updateLustreFileSystem(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/lustreFileSystems/{lustreFileSystemId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateLustreFileSystemResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/UpdateLustreFileSystem" + err = common.PostProcessServiceError(err, "LustreFileStorage", "UpdateLustreFileSystem", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateObjectStorageLink Updates an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLink API. +// A default retry strategy applies to this operation UpdateObjectStorageLink() +func (client LustreFileStorageClient) UpdateObjectStorageLink(ctx context.Context, request UpdateObjectStorageLinkRequest) (response UpdateObjectStorageLinkResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateObjectStorageLink, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateObjectStorageLinkResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateObjectStorageLinkResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateObjectStorageLinkResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateObjectStorageLinkResponse") + } + return +} + +// updateObjectStorageLink implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) updateObjectStorageLink(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/objectStorageLinks/{objectStorageLinkId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateObjectStorageLinkResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/UpdateObjectStorageLink" + err = common.PostProcessServiceError(err, "LustreFileStorage", "UpdateObjectStorageLink", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go new file mode 100644 index 0000000000..7b0e213234 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// StartExportToObjectRequest wrapper for the StartExportToObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObjectRequest. +type StartExportToObjectRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request StartExportToObjectRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request StartExportToObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request StartExportToObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request StartExportToObjectRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request StartExportToObjectRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// StartExportToObjectResponse wrapper for the StartExportToObject operation +type StartExportToObjectResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The SyncJob instance + SyncJob `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response StartExportToObjectResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response StartExportToObjectResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go new file mode 100644 index 0000000000..beb01e8c83 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// StartImportFromObjectRequest wrapper for the StartImportFromObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObjectRequest. +type StartImportFromObjectRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request StartImportFromObjectRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request StartImportFromObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request StartImportFromObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request StartImportFromObjectRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request StartImportFromObjectRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// StartImportFromObjectResponse wrapper for the StartImportFromObject operation +type StartImportFromObjectResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The SyncJob instance + SyncJob `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response StartImportFromObjectResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response StartImportFromObjectResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go new file mode 100644 index 0000000000..34c51040c6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// StopExportToObjectRequest wrapper for the StopExportToObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObjectRequest. +type StopExportToObjectRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request StopExportToObjectRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request StopExportToObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request StopExportToObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request StopExportToObjectRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request StopExportToObjectRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// StopExportToObjectResponse wrapper for the StopExportToObject operation +type StopExportToObjectResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response StopExportToObjectResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response StopExportToObjectResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go new file mode 100644 index 0000000000..d3584f2cf3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// StopImportFromObjectRequest wrapper for the StopImportFromObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObjectRequest. +type StopImportFromObjectRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request StopImportFromObjectRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request StopImportFromObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request StopImportFromObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request StopImportFromObjectRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request StopImportFromObjectRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// StopImportFromObjectResponse wrapper for the StopImportFromObject operation +type StopImportFromObjectResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response StopImportFromObjectResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response StopImportFromObjectResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go new file mode 100644 index 0000000000..f03549f60f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateLustreFileSystemRequest wrapper for the UpdateLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystemRequest. +type UpdateLustreFileSystemRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` + + // The information to be updated. + UpdateLustreFileSystemDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateLustreFileSystemRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateLustreFileSystemRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateLustreFileSystemRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateLustreFileSystemRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateLustreFileSystemRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateLustreFileSystemResponse wrapper for the UpdateLustreFileSystem operation +type UpdateLustreFileSystemResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateLustreFileSystemResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateLustreFileSystemResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go new file mode 100644 index 0000000000..9f6373afba --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go @@ -0,0 +1,105 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateObjectStorageLinkRequest wrapper for the UpdateObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLinkRequest. +type UpdateObjectStorageLinkRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // The information to be updated. + UpdateObjectStorageLinkDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateObjectStorageLinkRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateObjectStorageLinkRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateObjectStorageLinkRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateObjectStorageLinkRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateObjectStorageLinkRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateObjectStorageLinkResponse wrapper for the UpdateObjectStorageLink operation +type UpdateObjectStorageLinkResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ObjectStorageLink instance + ObjectStorageLink `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateObjectStorageLinkResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateObjectStorageLinkResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/modules.txt b/vendor/modules.txt index a08851ce69..c40c296ab6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -202,9 +202,6 @@ github.com/gogo/protobuf/gogoproto github.com/gogo/protobuf/proto github.com/gogo/protobuf/protoc-gen-gogo/descriptor github.com/gogo/protobuf/sortkeys -# github.com/golang/mock v1.6.0 -## explicit; go 1.11 -github.com/golang/mock/gomock # github.com/golang/protobuf v1.5.4 ## explicit; go 1.17 github.com/golang/protobuf/proto @@ -329,17 +326,17 @@ github.com/klauspost/compress/internal/cpuinfo github.com/klauspost/compress/internal/snapref github.com/klauspost/compress/zstd github.com/klauspost/compress/zstd/internal/xxhash -# github.com/kubernetes-csi/csi-lib-utils v0.20.0 -## explicit; go 1.23.1 +# github.com/kubernetes-csi/csi-lib-utils v0.22.0 +## explicit; go 1.24.0 github.com/kubernetes-csi/csi-lib-utils/protosanitizer -# github.com/kubernetes-csi/external-snapshotter/client/v6 v6.3.0 -## explicit; go 1.20 -github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1 -github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1 -github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned -github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme -github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1 -github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1 +# github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0 +## explicit; go 1.22.0 +github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1 +github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1 +github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned +github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/scheme +github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumegroupsnapshot/v1beta1 +github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned/typed/volumesnapshot/v1 # github.com/kylelemons/godebug v1.1.0 ## explicit; go 1.11 github.com/kylelemons/godebug/diff From 55ccf097c62198627706ecbee8426d2c363baddd Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Thu, 22 Jan 2026 15:58:18 +0530 Subject: [PATCH 11/27] Adding Lustre controller csi driver --- .../oci-csi-controller-driver.go | 6 +- .../csioptions/csioptions.go | 87 +- .../csioptions/csioptions_test.go | 57 ++ hack/run_e2e_test.sh | 21 + .../lustre-storage-class.yaml | 27 + .../providers/oci/config/config.go | 1 + .../providers/oci/instances_test.go | 8 +- pkg/csi-util/utils.go | 87 ++ pkg/csi/driver/bv_controller_test.go | 8 +- pkg/csi/driver/csi_recovery.go | 39 + pkg/csi/driver/csi_recovery_test.go | 22 + pkg/csi/driver/driver.go | 42 +- pkg/csi/driver/fss_controller_test.go | 4 +- pkg/csi/driver/lustre_controller.go | 465 +++++++++ pkg/csi/driver/lustre_controller_test.go | 942 ++++++++++++++++++ pkg/csi/driver/lustre_node.go | 29 +- pkg/csi/driver/lustre_params.go | 291 ++++++ pkg/csi/driver/lustre_params_test.go | 407 ++++++++ pkg/metrics/constants.go | 5 + pkg/oci/client/block_storage.go | 3 +- pkg/oci/client/client.go | 18 +- pkg/oci/client/lustre.go | 301 ++++++ pkg/util/commons_test.go | 4 + pkg/util/mock_oci_clients.go | 6 + pkg/volume/provisioner/block/block_test.go | 8 +- pkg/volume/provisioner/fss/fss_test.go | 8 +- test/e2e/cloud-provider-oci/lustre.go | 164 +++ test/e2e/cloud-provider-oci/lustre_static.go | 114 --- test/e2e/framework/framework.go | 47 +- test/e2e/framework/lustre_util.go | 97 ++ test/e2e/framework/pvc_util.go | 256 ++++- .../v65/lustrefilestorage/action_type.go | 72 ++ .../available_compute_capacity.go | 39 + .../cancel_work_request_request_response.go | 4 - .../lustrefilestorage/capacity_reservation.go | 42 + .../capacity_reservation_info.go | 74 ++ .../capacity_reservation_info_collection.go | 39 + .../capacity_reservation_info_summary.go | 74 ++ .../capacity_reservations_collection.go | 39 + ..._lustre_file_system_compartment_details.go | 39 + ...ile_system_compartment_request_response.go | 4 - ...object_storage_link_compartment_details.go | 39 + ...orage_link_compartment_request_response.go | 4 - .../cluster_placement_group.go | 39 + .../v65/lustrefilestorage/cpg_override.go | 58 ++ .../cpg_override_collection.go | 39 + .../lustrefilestorage/cpg_override_summary.go | 58 ++ ...reate_capacity_reservation_info_details.go | 60 ++ ...acity_reservation_info_request_response.go | 99 ++ .../create_cpg_override_details.go | 48 + .../create_cpg_override_request_response.go | 99 ++ .../create_lfs_cpg_info_details.go | 47 + .../create_lfs_cpg_info_request_response.go | 99 ++ .../create_lustre_file_system_details.go | 144 +++ ...ate_lustre_file_system_request_response.go | 4 - .../create_management_cell_details.go | 168 ++++ ...create_management_cell_request_response.go | 99 ++ .../create_map_tenancy_configuration.go | 39 + .../create_object_storage_link_details.go | 75 ++ ...te_object_storage_link_request_response.go | 4 - .../lustrefilestorage/create_pool_details.go | 102 ++ .../create_pool_request_response.go | 99 ++ .../create_tenancy_override_details.go | 42 + ...reate_tenancy_override_request_response.go | 99 ++ .../current_compute_capacity.go | 39 + ...y_overrides_for_tenant_request_response.go | 92 ++ ...acity_reservation_info_request_response.go | 92 ++ .../delete_cpg_override_request_response.go | 92 ++ .../delete_lfs_cpg_info_request_response.go | 92 ++ ...ete_lustre_file_system_request_response.go | 4 - ...delete_management_cell_request_response.go | 96 ++ ...te_object_storage_link_request_response.go | 4 - .../delete_pool_request_response.go | 92 ++ ..._tenancy_configuration_request_response.go | 96 ++ ...elete_tenancy_override_request_response.go | 95 ++ .../desired_compute_count.go | 39 + .../v65/lustrefilestorage/details.go | 45 + .../lustrefilestorage/fault_domain_usage.go | 41 + ...acity_reservation_info_request_response.go | 92 ++ .../get_cpg_override_request_response.go | 92 ++ .../get_lfs_cpg_info_request_response.go | 92 ++ ...get_lustre_file_system_request_response.go | 4 - .../get_management_cell_request_response.go | 92 ++ ...et_object_storage_link_request_response.go | 4 - .../get_pool_request_response.go | 92 ++ .../get_sync_job_request_response.go | 4 - .../get_tenancy_override_request_response.go | 92 ++ .../get_work_request_request_response.go | 4 - .../lustrefilestorage/inject_fault_details.go | 53 + .../inject_fault_output_details.go | 39 + .../inject_fault_request_response.go | 101 ++ .../v65/lustrefilestorage/lfs_cpg_info.go | 60 ++ .../lfs_cpg_info_collection.go | 39 + .../lustrefilestorage/lfs_cpg_info_summary.go | 60 ++ ...city_reservation_infos_request_response.go | 157 +++ .../list_cpg_overrides_request_response.go | 154 +++ .../list_lfs_cpg_infos_request_response.go | 155 +++ ...st_lustre_file_systems_request_response.go | 4 - .../list_management_cells_request_response.go | 158 +++ ...t_object_storage_links_request_response.go | 4 - .../list_pools_request_response.go | 148 +++ .../list_profiles_request_response.go | 151 +++ .../list_sync_jobs_request_response.go | 4 - ...tenancy_configurations_request_response.go | 151 +++ ...list_tenancy_overrides_request_response.go | 148 +++ ...st_work_request_errors_request_response.go | 4 - ...list_work_request_logs_request_response.go | 4 - .../list_work_requests_request_response.go | 4 - .../lustrefilestorage/lustre_file_system.go | 256 +++++ .../lustre_file_system_collection.go | 39 + .../lustre_file_system_summary.go | 188 ++++ ...estorage_capacityreservationinfo_client.go | 367 +++++++ .../lustrefilestorage_client.go | 212 ++-- .../lustrefilestorage_configmgmt_client.go | 313 ++++++ .../lustrefilestorage_cpgoverride_client.go | 367 +++++++ .../lustrefilestorage_internal_client.go | 146 +++ .../lustrefilestorage_lfscpginfo_client.go | 367 +++++++ .../lustrefilestorage_lfspool_client.go | 367 +++++++ .../lustrefilestorage_mgmtcell_client.go | 367 +++++++ ...ustrefilestorage_tenancyoverride_client.go | 421 ++++++++ .../lustrefilestorage/maintenance_window.go | 108 ++ .../v65/lustrefilestorage/management_cell.go | 189 ++++ .../management_cell_collection.go | 39 + .../management_cell_summary.go | 89 ++ .../map_tenancy_configuration.go | 44 + .../map_tenancy_configuration_collection.go | 39 + .../map_tenancy_configuration_details.go | 39 + ..._tenancy_configuration_request_response.go | 105 ++ .../network_security_group.go | 42 + .../lustrefilestorage/object_storage_link.go | 166 +++ .../object_storage_link_collection.go | 39 + .../object_storage_link_summary.go | 107 ++ .../v65/lustrefilestorage/operation_status.go | 80 ++ .../v65/lustrefilestorage/operation_type.go | 68 ++ .../pause_sync_job_details.go | 39 + .../pause_sync_job_request_response.go | 102 ++ .../oci-go-sdk/v65/lustrefilestorage/pool.go | 108 ++ .../v65/lustrefilestorage/pool_collection.go | 39 + .../v65/lustrefilestorage/pool_summary.go | 108 ++ .../lustrefilestorage/profile_collection.go | 39 + .../v65/lustrefilestorage/profile_summary.go | 42 + .../reserved_and_used_count.go | 42 + .../root_squash_configuration.go | 100 ++ .../v65/lustrefilestorage/sort_order.go | 56 ++ ...start_export_to_object_request_response.go | 4 - ...art_import_from_object_request_response.go | 4 - .../stop_export_to_object_request_response.go | 4 - ...top_import_from_object_request_response.go | 4 - .../v65/lustrefilestorage/subnet.go | 39 + .../v65/lustrefilestorage/sync_job.go | 207 ++++ .../lustrefilestorage/sync_job_collection.go | 39 + .../v65/lustrefilestorage/sync_job_summary.go | 146 +++ .../tenancy_configuration_summary.go | 44 + .../v65/lustrefilestorage/tenancy_override.go | 42 + .../tenancy_override_collection.go | 39 + .../tenancy_override_summary.go | 42 + .../unpause_sync_job_details.go | 39 + .../unpause_sync_job_request_response.go | 102 ++ ...pdate_capacity_reservation_info_details.go | 57 ++ ...acity_reservation_info_request_response.go | 98 ++ .../update_cpg_override_details.go | 45 + .../update_cpg_override_request_response.go | 98 ++ .../update_lfs_cpg_info_details.go | 44 + .../update_lfs_cpg_info_request_response.go | 98 ++ .../update_lustre_file_system_details.go | 69 ++ ...ate_lustre_file_system_request_response.go | 4 - .../update_management_cell_details.go | 160 +++ ...update_management_cell_request_response.go | 99 ++ .../update_object_storage_link_details.go | 56 ++ ...te_object_storage_link_request_response.go | 4 - .../lustrefilestorage/update_pool_details.go | 102 ++ .../update_pool_request_response.go | 98 ++ .../update_tenancy_override_details.go | 39 + ...pdate_tenancy_override_request_response.go | 101 ++ .../v65/lustrefilestorage/work_request.go | 79 ++ .../lustrefilestorage/work_request_error.go | 47 + .../work_request_error_collection.go | 39 + .../work_request_log_entry.go | 43 + .../work_request_log_entry_collection.go | 39 + .../work_request_resource.go | 54 + .../lustrefilestorage/work_request_summary.go | 77 ++ .../work_request_summary_collection.go | 39 + vendor/modules.txt | 1 + 183 files changed, 15854 insertions(+), 379 deletions(-) create mode 100644 manifests/container-storage-interface/lustre-storage-class.yaml create mode 100644 pkg/csi/driver/csi_recovery.go create mode 100644 pkg/csi/driver/csi_recovery_test.go create mode 100644 pkg/csi/driver/lustre_controller.go create mode 100644 pkg/csi/driver/lustre_controller_test.go create mode 100644 pkg/csi/driver/lustre_params.go create mode 100644 pkg/csi/driver/lustre_params_test.go create mode 100644 pkg/oci/client/lustre.go create mode 100644 test/e2e/cloud-provider-oci/lustre.go delete mode 100644 test/e2e/cloud-provider-oci/lustre_static.go create mode 100644 test/e2e/framework/lustre_util.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go diff --git a/cmd/oci-csi-controller-driver/csi-controller-driver/oci-csi-controller-driver.go b/cmd/oci-csi-controller-driver/csi-controller-driver/oci-csi-controller-driver.go index 51f6041be7..f8fbde1627 100644 --- a/cmd/oci-csi-controller-driver/csi-controller-driver/oci-csi-controller-driver.go +++ b/cmd/oci-csi-controller-driver/csi-controller-driver/oci-csi-controller-driver.go @@ -24,7 +24,8 @@ import ( ) const ( - bvCsiDriver = "BV" + bvCsiDriver = "BV" + lustreCsiDriver = "Lustre" ) // StartControllerDriver main function to start CSI Controller Driver @@ -45,6 +46,9 @@ func StartControllerDriver(csioptions csioptions.CSIOptions, csiDriver driver.CS if csiDriver == bvCsiDriver { controllerDriverConfig := &driver.ControllerDriverConfig{CsiEndpoint: csioptions.Endpoint, CsiKubeConfig: csioptions.Kubeconfig, CsiMaster: csioptions.Master, EnableControllerServer: true, DriverName: driver.BlockVolumeDriverName, DriverVersion: driver.BlockVolumeDriverVersion, ClusterIpFamily: clusterIpFamily} drv, err = driver.NewControllerDriver(logger, *controllerDriverConfig) + } else if csiDriver == lustreCsiDriver { + controllerDriverConfig := &driver.ControllerDriverConfig{CsiEndpoint: csioptions.LustreEndpoint, CsiKubeConfig: csioptions.Kubeconfig, CsiMaster: csioptions.Master, EnableControllerServer: true, DriverName: driver.LustreDriverName, DriverVersion: driver.LustreDriverVersion, ClusterIpFamily: clusterIpFamily} + drv, err = driver.NewControllerDriver(logger, *controllerDriverConfig) } else { controllerDriverConfig := &driver.ControllerDriverConfig{CsiEndpoint: csioptions.FssEndpoint, CsiKubeConfig: csioptions.Kubeconfig, CsiMaster: csioptions.Master, EnableControllerServer: true, DriverName: driver.FSSDriverName, DriverVersion: driver.FSSDriverVersion, ClusterIpFamily: clusterIpFamily} drv, err = driver.NewControllerDriver(logger, *controllerDriverConfig) diff --git a/cmd/oci-csi-controller-driver/csioptions/csioptions.go b/cmd/oci-csi-controller-driver/csioptions/csioptions.go index 6e478a19c1..201bf5d056 100644 --- a/cmd/oci-csi-controller-driver/csioptions/csioptions.go +++ b/cmd/oci-csi-controller-driver/csioptions/csioptions.go @@ -25,40 +25,51 @@ import ( const ( fssAddressSuffix = "-fss.sock" fssVolumeNameAppendedPrefix = "-fss" + + lustreAddressSuffix = "-lustre.sock" + lustreVolumeNameAppendedPrefix = "-lustre" + CrossNamespaceVolumeDataSource = "CrossNamespaceVolumeDataSource" VolumeAttributesClass = "VolumeAttributesClass" ) // CSIOptions structure which contains flag values type CSIOptions struct { - Master string - Kubeconfig string - CsiAddress string - Endpoint string - FssCsiAddress string - FssEndpoint string - VolumeNamePrefix string - FssVolumeNamePrefix string - VolumeNameUUIDLength int - ShowVersion bool - RetryIntervalStart time.Duration - RetryIntervalMax time.Duration - WorkerThreads uint - OperationTimeout time.Duration - EnableLeaderElection bool - LeaderElectionType string - LeaderElectionNamespace string - StrictTopology bool - Resync time.Duration - Timeout time.Duration - FeatureGates map[string]bool - FinalizerThreads uint - MetricsAddress string - MetricsPath string - ExtraCreateMetadata bool - ReconcileSync time.Duration - EnableResizer bool - GroupSnapshotNamePrefix string + Master string + Kubeconfig string + CsiAddress string + Endpoint string + FssCsiAddress string + FssEndpoint string + VolumeNamePrefix string + FssVolumeNamePrefix string + LustreCsiAddress string + LustreEndpoint string + LustreVolumeNamePrefix string + VolumeNameUUIDLength int + ShowVersion bool + RetryIntervalStart time.Duration + RetryIntervalMax time.Duration + WorkerThreads uint + OperationTimeout time.Duration + EnableLeaderElection bool + LeaderElectionType string + LeaderElectionNamespace string + StrictTopology bool + ImmediateTopology bool + Resync time.Duration + Timeout time.Duration + FeatureGates map[string]bool + FinalizerThreads uint + MetricsAddress string + HttpEndpoint string + MetricsPath string + ExtraCreateMetadata bool + ReconcileSync time.Duration + EnableResizer bool + ControllerPublishReadOnly bool + DefaultFSType string + GroupSnapshotNamePrefix string GroupSnapshotNameUUIDLength int } @@ -74,6 +85,9 @@ func NewCSIOptions() *CSIOptions { FssEndpoint: *flag.String("fss-csi-endpoint", "unix://tmp/csi-fss.sock", "CSI FSS endpoint"), VolumeNamePrefix: *flag.String("csi-volume-name-prefix", "pvc", "Prefix to apply to the name of a created volume."), FssVolumeNamePrefix: *flag.String("fss-csi-volume-name-prefix", "pvc", "Prefix to apply to the name of a volume created for FSS."), + LustreCsiAddress: *flag.String("lustre-csi-address", "/run/lustre/socket", "Address of the CSI Lustre driver socket."), + LustreEndpoint: *flag.String("lustre-csi-endpoint", "unix://tmp/csi-lustre.sock", "CSI Lustre endpoint"), + LustreVolumeNamePrefix: *flag.String("lustre-csi-volume-name-prefix", "pvc", "Prefix to apply to the name of a volume created for Lustre."), VolumeNameUUIDLength: *flag.Int("csi-volume-name-uuid-length", -1, "Truncates generated UUID of a created volume to this length. Defaults behavior is to NOT truncate."), ShowVersion: *flag.Bool("csi-version", false, "Show version."), RetryIntervalStart: *flag.Duration("csi-retry-interval-start", time.Second, "Initial retry interval of failed provisioning or deletion. It doubles with each failure, up to retry-interval-max."), @@ -116,6 +130,23 @@ func GetFssVolumeNamePrefix(csiVolumeNamePrefix string) string { return csiVolumeNamePrefix + fssVolumeNameAppendedPrefix } +// GetLustreAddress returns the lustreAddress based on csiAddress +func GetLustreAddress(csiAddress, defaultAddress string) string { + logger := zap.L().Sugar() + address := strings.Split(csiAddress, ".sock") + if len(address) != 2 || !strings.HasSuffix(csiAddress, ".sock") { + logger.Errorf("failed to parse csi-address : %s. Defaulting to : %s", csiAddress, defaultAddress) + return defaultAddress + } + lustreAddress := address[0] + lustreAddressSuffix + return lustreAddress +} + +// GetLustreVolumeNamePrefix returns the lustreVolumeNamePrefix based on csiVolumeNamePrefix +func GetLustreVolumeNamePrefix(csiVolumeNamePrefix string) string { + return csiVolumeNamePrefix + lustreVolumeNameAppendedPrefix +} + // UpdateFeatureGates add CrossNamespaceVolumeDataSource (default value false) to featureGate if not present // add VolumeAttributesClass (default value false) to featureGate if not present diff --git a/cmd/oci-csi-controller-driver/csioptions/csioptions_test.go b/cmd/oci-csi-controller-driver/csioptions/csioptions_test.go index fa5d5c6c0a..a0b1fa15e2 100644 --- a/cmd/oci-csi-controller-driver/csioptions/csioptions_test.go +++ b/cmd/oci-csi-controller-driver/csioptions/csioptions_test.go @@ -74,3 +74,60 @@ func Test_GetFssVolumeNamePrefix(t *testing.T) { }) } } + +func Test_GetLustreAddress(t *testing.T) { + testCases := map[string]struct { + csiAddress string + expectedLustreAddress string + defaultAddress string + }{ + "Valid csi address": { + csiAddress: "/var/run/shared-tmpfs/csi.sock", + expectedLustreAddress: "/var/run/shared-tmpfs/csi-lustre.sock", + defaultAddress: "/var/run/shared-tmpfs/csi-lustre.sock", + }, + "Invalid csi address": { + csiAddress: "/var/run/shared-tmpfs/csi.sock.sock", + expectedLustreAddress: "/var/run/shared-tmpfs/csi-lustre.sock", + defaultAddress: "/var/run/shared-tmpfs/csi-lustre.sock", + }, + "Valid csi endpoint": { + csiAddress: "unix:///var/run/shared-tmpfs/csi.sock", + expectedLustreAddress: "unix:///var/run/shared-tmpfs/csi-lustre.sock", + defaultAddress: "unix:///var/run/shared-tmpfs/csi-lustre.sock", + }, + "Invalid csi endpoint": { + csiAddress: "unix:///var/run/shared-tmpfs/csi-lustre.sock.sock", + expectedLustreAddress: "unix:///var/run/shared-tmpfs/csi-lustre.sock", + defaultAddress: "unix:///var/run/shared-tmpfs/csi-lustre.sock", + }, + } + for name, tc := range testCases { + t.Run(name, func(t *testing.T) { + lustreAddress := GetLustreAddress(tc.csiAddress, tc.defaultAddress) + if tc.expectedLustreAddress != lustreAddress { + t.Errorf("Expected \n%+v\n but got \n%+v", tc.expectedLustreAddress, lustreAddress) + } + }) + } +} + +func Test_GetLustreVolumeNamePrefix(t *testing.T) { + testCases := map[string]struct { + csiPrefix string + expectedPrefix string + }{ + "Valid csi address": { + csiPrefix: "csi", + expectedPrefix: "csi-lustre", + }, + } + for name, tc := range testCases { + t.Run(name, func(t *testing.T) { + lustreVolumeNamePrefix := GetLustreVolumeNamePrefix(tc.csiPrefix) + if tc.expectedPrefix != lustreVolumeNamePrefix { + t.Errorf("Expected \n%+v\n but got \n%+v", tc.expectedPrefix, lustreVolumeNamePrefix) + } + }) + } +} diff --git a/hack/run_e2e_test.sh b/hack/run_e2e_test.sh index b6e8859a3c..02e20cac54 100755 --- a/hack/run_e2e_test.sh +++ b/hack/run_e2e_test.sh @@ -52,6 +52,7 @@ function run_e2e_tests_existing_cluster() { test/e2e/cloud-provider-oci -- \ --cluster-kubeconfig=${CLUSTER_KUBECONFIG} \ --cloud-config=${CLOUD_CONFIG} \ + --compartment1=${COMPARTMENT} \ --adlocation=${ADLOCATION} \ --delete-namespace=${DELETE_NAMESPACE} \ --image-pull-repo=${IMAGE_PULL_REPO} \ @@ -65,6 +66,12 @@ function run_e2e_tests_existing_cluster() { --architecture=${ARCHITECTURE} \ --volume-handle=${FSS_VOLUME_HANDLE} \ --lustre-volume-handle=${LUSTRE_VOLUME_HANDLE} \ + --lustre-subnet-cidr=${LUSTRE_SUBNET_CIDR} \ + --enable-lustre-tests=${ENABLE_LUSTRE_TESTS} \ + --lustre-worker-node-image=${LUSTRE_WORKER_NODE_IMAGE} \ + --lustre-kms-key=${LUSTRE_KMS_KEY} \ + --lustre-subnet=${LUSTRE_SUBNET} \ + --lustre-ad=${LUSTRE_AD} \ --static-snapshot-compartment-id=${STATIC_SNAPSHOT_COMPARTMENT_ID} \ --enable-parallel-run=${ENABLE_PARALLEL_RUN} \ --run-uhp-e2e=${RUN_UHP_E2E} \ @@ -75,6 +82,7 @@ function run_e2e_tests_existing_cluster() { test/e2e/cloud-provider-oci -- \ --cluster-kubeconfig=${CLUSTER_KUBECONFIG} \ --cloud-config=${CLOUD_CONFIG} \ + --compartment1=${COMPARTMENT} \ --adlocation=${ADLOCATION} \ --delete-namespace=${DELETE_NAMESPACE} \ --image-pull-repo=${IMAGE_PULL_REPO} \ @@ -88,6 +96,12 @@ function run_e2e_tests_existing_cluster() { --architecture=${ARCHITECTURE} \ --volume-handle=${FSS_VOLUME_HANDLE} \ --lustre-volume-handle=${LUSTRE_VOLUME_HANDLE} \ + --lustre-subnet-cidr=${LUSTRE_SUBNET_CIDR} \ + --enable-lustre-tests=${ENABLE_LUSTRE_TESTS} \ + --lustre-worker-node-image=${LUSTRE_WORKER_NODE_IMAGE} \ + --lustre-kms-key=${LUSTRE_KMS_KEY} \ + --lustre-subnet=${LUSTRE_SUBNET} \ + --lustre-ad=${LUSTRE_AD} \ --static-snapshot-compartment-id=${STATIC_SNAPSHOT_COMPARTMENT_ID} \ --enable-parallel-run=${ENABLE_PARALLEL_RUN} \ --run-uhp-e2e=${RUN_UHP_E2E} \ @@ -151,6 +165,13 @@ echo "CLOUD_CONFIG is ${CLOUD_CONFIG}" echo "MNT_TARGET_ID is ${MNT_TARGET_ID}" echo "MNT_TARGET_SUBNET_ID is ${MNT_TARGET_SUBNET_ID}" echo "MNT_TARGET_COMPARTMENT_ID is ${MNT_TARGET_COMPARTMENT_ID}" +echo "LUSTRE_VOLUME_HANDLE is ${LUSTRE_VOLUME_HANDLE}" +echo "LUSTRE_SUBNET_CIDR is ${LUSTRE_SUBNET_CIDR}" +echo "ENABLE_LUSTRE_TESTS is ${ENABLE_LUSTRE_TESTS}" +echo "LUSTRE_WORKER_NODE_IMAGE is ${LUSTRE_WORKER_NODE_IMAGE}" +echo "LUSTRE_KMS_KEY is ${LUSTRE_KMS_KEY}" +echo "LUSTRE_SUBNET is ${LUSTRE_SUBNET}" +echo "LUSTRE_AD is ${LUSTRE_AD}" function run_tests () { set_image_pull_repo_and_delete_namespace_flag diff --git a/manifests/container-storage-interface/lustre-storage-class.yaml b/manifests/container-storage-interface/lustre-storage-class.yaml new file mode 100644 index 0000000000..7e9d747c4c --- /dev/null +++ b/manifests/container-storage-interface/lustre-storage-class.yaml @@ -0,0 +1,27 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: oci-lustre-high-perf +provisioner: lustre.csi.oraclecloud.com +reclaimPolicy: Delete +allowVolumeExpansion: false +volumeBindingMode: WaitForFirstConsumer +parameters: + # Required + subnetId: "ocid1.subnet.oc1.phx.aaaaaaaaaaaaaaaaaaaaaaaaaaa" + availabilityDomain: "PHX-AD-1" + performanceTier: "MBPS_PER_TB_125" # allowed: MBPS_PER_TB_125|MBPS_PER_TB_250|MBPS_PER_TB_500|MBPS_PER_TB_1000 + #Optional + compartmentId: "ocid1.compartment.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaa" + nsgIds: '["ocid1.networksecuritygroup.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaa","ocid1.networksecuritygroup.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaa"]' + kmsKeyId: "ocid1.key.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaa" + fileSystemName: "lustrefs" + rootSquashEnabled: "true" # default false + rootSquashUid: "65534" # default 65534 + rootSquashGid: "65534" # default 65534 + rootSquashClientExceptions: '["10.0.2.4"]' # max 10 entries + setupLnet: "false" + lustreSubnetCidr: "10.0.2.0/24" + lustrePostMountParameters: '[{"*.*.*MDT*.lru_size": 11200}]' + oci.oraclecloud.com/initial-defined-tags-override: '{"Operations": {"CostCenter": "42"}}' + oci.oraclecloud.com/initial-freeform-tags-override: '{"Department": "Finance"}' diff --git a/pkg/cloudprovider/providers/oci/config/config.go b/pkg/cloudprovider/providers/oci/config/config.go index ddc6b439b9..bfff86540f 100644 --- a/pkg/cloudprovider/providers/oci/config/config.go +++ b/pkg/cloudprovider/providers/oci/config/config.go @@ -126,6 +126,7 @@ type InitialTags struct { LoadBalancer *TagConfig `yaml:"loadBalancer"` BlockVolume *TagConfig `yaml:"blockVolume"` FSS *TagConfig `yaml:"fss"` + Lustre *TagConfig `yaml:"lustre"` Common *TagConfig `yaml:"common"` } diff --git a/pkg/cloudprovider/providers/oci/instances_test.go b/pkg/cloudprovider/providers/oci/instances_test.go index d86ab909f1..f93afb2ef6 100644 --- a/pkg/cloudprovider/providers/oci/instances_test.go +++ b/pkg/cloudprovider/providers/oci/instances_test.go @@ -873,6 +873,10 @@ type MockSecurityListManagerFactory func(mode string) MockSecurityListManager type MockOCIClient struct{} +func (c MockOCIClient) Lustre() client.LustreInterface { + return nil +} + func (MockOCIClient) Compute() client.ComputeInterface { return &MockComputeClient{} } @@ -1402,10 +1406,6 @@ func (MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compa return nil, nil } -func (MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { - return nil, nil -} - type mockInstanceCache struct{} func (m mockInstanceCache) Add(obj interface{}) error { diff --git a/pkg/csi-util/utils.go b/pkg/csi-util/utils.go index fede79a58c..e900833348 100644 --- a/pkg/csi-util/utils.go +++ b/pkg/csi-util/utils.go @@ -31,7 +31,9 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "github.com/container-storage-interface/spec/lib/go/csi" + "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/core" + "github.com/pkg/errors" "go.uber.org/zap" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" @@ -655,3 +657,88 @@ func LoadCSIConfigFromConfigMap(csiConfig *util.CSIConfig, k kubernetes.Interfac } } } + +// GetOCIServiceError checks if error is OCI Service Error and returns a structured error message +// including service name, HTTP status, error code, message, and operation name. +func GetOCIServiceError(err error) string { + // Early return for invalid inputs + errorMsg := "" + if err == nil { + return errorMsg + } + // Check for OCI service error and format structured message if present + if serviceErr, ok := common.IsServiceErrorRichInfo(errors.Cause(err)); ok { + errorMsg = fmt.Sprintf(`Error returned by %s Service. Http Status Code: %d. Error Code: %s. Message: %s. Operation Name: %s`, + serviceErr.GetTargetService(), serviceErr.GetHTTPStatusCode(), serviceErr.GetCode(), serviceErr.GetMessage(), serviceErr.GetOperationName()) + } else { + errorMsg = err.Error() + } + return errorMsg +} + +// TruncateError truncates an error message to a maximum byte length +// If the formatted message exceeds maxBytes, it is truncated with "..." suffix, +// ensuring no partial UTF-8 characters are left at the end. +// +// Parameters: +// - err: The error to truncate. If nil, returns empty string. +// - maxBytes: The maximum byte length for the output. If <= 0, returns empty string. +// +// Returns: +// - The truncated error message as a string. +func TruncateError(err error, maxBytes int) error { + + // Early return for invalid inputs + errorMsg := "" + if maxBytes <= 0 || err == nil { + return errors.New(errorMsg) + } + errorMsg = err.Error() + bytesMsg := []byte(errorMsg) + if len(bytesMsg) <= maxBytes { + return err + } + + // Prepare truncation with suffix due to error being larger than maxBytes. Returns truncated error if maxBytes are less than 3(suffix length). + suffix := "..." + if maxBytes < len(suffix) { + return errors.New(string(bytesMsg[:maxBytes])) + } + suffixBytes := []byte(suffix) + truncLen := maxBytes - len(suffixBytes) + + // Ensure truncation doesn't split multi-byte characters (e.g., UTF-8) + // by finding the last valid rune boundary + for truncLen > 0 && (bytesMsg[truncLen]&0xc0) == 0x80 { + truncLen-- + } + + return errors.New(string(bytesMsg[:truncLen]) + suffix) +} + +// ShortenContextBeforeDeadline returns a new context that cancels slightly +// before the parent context's deadline, giving time for cleanup or response +// before gRPC timeout. If the parent has no deadline, it returns the parent unchanged. +// +// Example: +// +// ctx = ShortenContextBeforeDeadline(ctx, 5*time.Second) +func ShortenContextBeforeDeadline(parent context.Context, buffer time.Duration) (context.Context, context.CancelFunc) { + deadline, hasDeadline := parent.Deadline() + if !hasDeadline { + // No deadline to shorten — just return a no-op cancel + return parent, func() {} + } + + timeLeft := time.Until(deadline) - buffer + if timeLeft <= 0 { + // Already expired or too close — cancel immediately after return + // Use a new cancelled context for the case where we want to cancel even though parent might still be active + ctx, cancel := context.WithCancel(context.Background()) + cancel() + return ctx, func() {} + } + + ctx, cancel := context.WithTimeout(parent, timeLeft) + return ctx, cancel +} diff --git a/pkg/csi/driver/bv_controller_test.go b/pkg/csi/driver/bv_controller_test.go index 0e8b584dfc..3ba6eefc28 100644 --- a/pkg/csi/driver/bv_controller_test.go +++ b/pkg/csi/driver/bv_controller_test.go @@ -294,6 +294,10 @@ type MockProvisionerClient struct { Storage *MockBlockStorageClient } +func (p *MockProvisionerClient) Lustre() client.LustreInterface { + return nil +} + func (c *MockBlockStorageClient) AwaitVolumeAvailableORTimeout(ctx context.Context, id string) (*core.Volume, error) { volume := volumes[id] if volume == nil { @@ -823,10 +827,6 @@ type MockIdentityClient struct { common.BaseClient } -func (mockClient MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { - return nil, nil -} - // ListAvailabilityDomains mocks the client ListAvailabilityDomains implementation func (mockClient MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { var ad1 string diff --git a/pkg/csi/driver/csi_recovery.go b/pkg/csi/driver/csi_recovery.go new file mode 100644 index 0000000000..3f28998131 --- /dev/null +++ b/pkg/csi/driver/csi_recovery.go @@ -0,0 +1,39 @@ +package driver + +import ( + "fmt" + "runtime/debug" + + "github.com/oracle/oci-cloud-controller-manager/pkg/metrics" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" + "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +// MakeCSIPanicRecovery returns a defer-able closure that recovers from panics in CSI RPCs, +// logs the panic with a stack trace, and emits a panic metric. Use like: +// defer MakeCSIPanicRecovery(logger, metricPusher, "CreateVolume", map[string]string{ metrics.ResourceOCIDDimension: req.GetName() }, &err, codes.Internal)() + +func MakeCSIPanicRecoveryWithError(logger *zap.SugaredLogger, metricPusher *metrics.MetricPusher, op string, extraDims map[string]string, + outErr *error, code codes.Code) func() { + return func() { + if rec := recover(); rec != nil { + err := fmt.Errorf("panic recovered %v stack is %s", rec, string(debug.Stack())) + logger.With(zap.Error(err)).With("operation", op).Error("Recovered from panic in CSI RPC") + + dimensionsMap := map[string]string{} + for k, v := range extraDims { + dimensionsMap[k] = v + } + metricDimension := util.GetMetricDimensionForComponent(util.PANIC, util.CSIStorageType) + dimensionsMap[metrics.ComponentDimension] = metricDimension + metrics.SendMetricData(metricPusher, metricDimension, 1, dimensionsMap) + + // If the method didn't already set an error, convert the panic to a gRPC error. + if outErr != nil && *outErr == nil { + *outErr = status.Errorf(code, "Internal error occurred while processing request.") + } + } + } +} diff --git a/pkg/csi/driver/csi_recovery_test.go b/pkg/csi/driver/csi_recovery_test.go new file mode 100644 index 0000000000..77b3d4fc11 --- /dev/null +++ b/pkg/csi/driver/csi_recovery_test.go @@ -0,0 +1,22 @@ +package driver + +import ( + "testing" + + "go.uber.org/zap" + "google.golang.org/grpc/codes" +) + +func TestMakeCSIPanicRecovery_Recovers(t *testing.T) { + logger, _ := zap.NewDevelopment() + log := logger.Sugar() + var err error + func() { + defer func() { log.Infof("Error returned from panic recory : %v", err) }() + defer MakeCSIPanicRecoveryWithError(log, nil, "UnitTestOp", map[string]string{"test": "true"}, &err, codes.Internal)() + panic("boom") + //code after panic doesn't run, but this as we are recovering from panic, test suite will not crash + //which will validate this functionality + }() + +} diff --git a/pkg/csi/driver/driver.go b/pkg/csi/driver/driver.go index 51f8712070..42bbfa3ab6 100644 --- a/pkg/csi/driver/driver.go +++ b/pkg/csi/driver/driver.go @@ -55,6 +55,7 @@ func init() { BlockVolumeDriverName = getEnv("BLOCK_VOLUME_DRIVER_NAME", "blockvolume.csi.oraclecloud.com") FSSDriverName = getEnv("FSS_VOLUME_DRIVER_NAME", "fss.csi.oraclecloud.com") LustreDriverName = getEnv("LUSTRE_VOLUME_DRIVER_NAME", "lustre.csi.oraclecloud.com") + } func getEnv(key, fallback string) string { @@ -127,15 +128,20 @@ type FSSControllerDriver struct { serviceAccountLister listersv1.ServiceAccountLister } +// LustreControllerDriver extends ControllerDriver for Lustre CSI Controller RPCs. +type LustreControllerDriver struct { + ControllerDriver +} + // NodeDriver implements CSI Node interfaces type NodeDriver struct { - nodeID string - KubeClient kubernetes.Interface - logger *zap.SugaredLogger - util *csi_util.Util - volumeLocks *csi_util.VolumeLocks - nodeMetadata *csi_util.NodeMetadata - csiConfig *util.CSIConfig + nodeID string + KubeClient kubernetes.Interface + logger *zap.SugaredLogger + util *csi_util.Util + volumeLocks *csi_util.VolumeLocks + nodeMetadata *csi_util.NodeMetadata + csiConfig *util.CSIConfig mounterFactory disk.MounterFactory csi.UnimplementedNodeServer } @@ -180,13 +186,13 @@ func newControllerDriver(kubeClientSet kubernetes.Interface, logger *zap.Sugared func newNodeDriver(nodeID string, nodeMetaData *csi_util.NodeMetadata, kubeClientSet kubernetes.Interface, logger *zap.SugaredLogger, csiConfig *util.CSIConfig) NodeDriver { return NodeDriver{ - nodeID: nodeID, - KubeClient: kubeClientSet, - logger: logger, - util: &csi_util.Util{Logger: logger}, - volumeLocks: csi_util.NewVolumeLocks(), - nodeMetadata: nodeMetaData, - csiConfig: csiConfig, + nodeID: nodeID, + KubeClient: kubeClientSet, + logger: logger, + util: &csi_util.Util{Logger: logger}, + volumeLocks: csi_util.NewVolumeLocks(), + nodeMetadata: nodeMetaData, + csiConfig: csiConfig, mounterFactory: disk.DefaultMounterFactory, } } @@ -211,9 +217,10 @@ func GetControllerDriver(name string, kubeClientSet kubernetes.Interface, logger if !cache.WaitForCacheSync(wait.NeverStop, serviceAccountInformer.Informer().HasSynced) { utilruntime.HandleError(fmt.Errorf("timed out waiting for informers to sync")) } - return &FSSControllerDriver{ControllerDriver: newControllerDriver(kubeClientSet, logger, config, c, metricPusher, clusterIpFamily), serviceAccountLister: serviceAccountInformer.Lister()} - + } + if name == LustreDriverName { + return &LustreControllerDriver{ControllerDriver: newControllerDriver(kubeClientSet, logger, config, c, metricPusher, clusterIpFamily)} } return nil } @@ -300,6 +307,9 @@ func (d *Driver) GetControllerDriver() csi.ControllerServer { if d.name == FSSDriverName { return d.controllerDriver.(*FSSControllerDriver) } + if d.name == LustreDriverName { + return d.controllerDriver.(*LustreControllerDriver) + } return nil } diff --git a/pkg/csi/driver/fss_controller_test.go b/pkg/csi/driver/fss_controller_test.go index 4a2dbb4cad..0c0411bfce 100644 --- a/pkg/csi/driver/fss_controller_test.go +++ b/pkg/csi/driver/fss_controller_test.go @@ -403,7 +403,9 @@ func (p *MockProvisionerClient) FSS(ociClientConfig *client.OCIClientConfig) cli type MockFSSProvisionerClient struct { Storage *MockFileStorageClient } - +func (m MockFSSProvisionerClient) Lustre() client.LustreInterface { + return nil +} func (m MockFSSProvisionerClient) Compute() client.ComputeInterface { return &MockComputeClient{} } diff --git a/pkg/csi/driver/lustre_controller.go b/pkg/csi/driver/lustre_controller.go new file mode 100644 index 0000000000..6bc5a3f5bc --- /dev/null +++ b/pkg/csi/driver/lustre_controller.go @@ -0,0 +1,465 @@ +package driver + +import ( + "context" + "fmt" + "strings" + "time" + + "github.com/container-storage-interface/spec/lib/go/csi" + csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" + "github.com/oracle/oci-cloud-controller-manager/pkg/metrics" + "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" + lustre "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" + "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "k8s.io/utils/pointer" +) + +var ( + lustreSupportedVolumeCapabilities = []csi.VolumeCapability_AccessMode{ + {Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}, + {Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_READER_ONLY}, + {Mode: csi.VolumeCapability_AccessMode_MULTI_NODE_READER_ONLY}, + {Mode: csi.VolumeCapability_AccessMode_MULTI_NODE_SINGLE_WRITER}, + {Mode: csi.VolumeCapability_AccessMode_MULTI_NODE_MULTI_WRITER}, + } +) + +const ( + // KB is 1000 bytes + KB = 1000 + // MB is 1000 KB + MB = 1000 * KB + // GB is 1000 MB + GB = 1000 * MB +) + +// ControllerGetCapabilities advertises the controller RPCs supported by Lustre. +func (d *LustreControllerDriver) ControllerGetCapabilities(ctx context.Context, req *csi.ControllerGetCapabilitiesRequest) (*csi.ControllerGetCapabilitiesResponse, error) { + newCap := func(cap csi.ControllerServiceCapability_RPC_Type) *csi.ControllerServiceCapability { + return &csi.ControllerServiceCapability{ + Type: &csi.ControllerServiceCapability_Rpc{ + Rpc: &csi.ControllerServiceCapability_RPC{ + Type: cap, + }, + }, + } + } + var caps []*csi.ControllerServiceCapability + caps = append(caps, newCap(csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME)) + return &csi.ControllerGetCapabilitiesResponse{Capabilities: caps}, nil +} + +// CreateVolume implements CSI CreateVolume for Lustre. +func (d *LustreControllerDriver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest) (resp *csi.CreateVolumeResponse, err error) { + defer MakeCSIPanicRecoveryWithError(d.logger, d.metricPusher, "LustreControllerDriver.CreateVolume", map[string]string{metrics.ResourceOCIDDimension: req.GetName()}, &err, codes.Internal)() + startTime := time.Now() + log := d.logger.With("csiOperation", "create", "volumeName", req.GetName()) + log.Debugf("CreateVolume request (lustre): %v", req) + + if req.GetName() == "" { + return nil, status.Error(codes.InvalidArgument, "Name must be provided in CreateVolumeRequest") + } + if caps := req.GetVolumeCapabilities(); caps == nil || len(caps) == 0 { + return nil, status.Error(codes.InvalidArgument, "VolumeCapabilities must be provided in CreateVolumeRequest") + } + if err := d.checkLustreSupportedVolumeCapabilities(req.GetVolumeCapabilities()); err != nil { + return nil, status.Errorf(codes.InvalidArgument, "Requested Volume Capability not supported: %v", err) + } + + // Prepare metrics dimensions + metricDimensions := map[string]string{ + metrics.ResourceOCIDDimension: req.GetName(), + } + + identityClient := d.client.Identity(nil) + if identityClient == nil { + return nil, status.Error(codes.Internal, "Unable to create identity client") + } + lustreClient := d.client.Lustre() + if lustreClient == nil { + return nil, status.Error(codes.Internal, "Unable to create lustre client") + } + + // Parse StorageClass parameters + log, _, sc, err := extractLustreStorageClassParameters(ctx, d, log, req.GetName(), req.GetParameters(), identityClient) + if err != nil { + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.ErrValidation, util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, err + } + + // Merge cluster default tags with SC overrides + if enableOkeSystemTags && util.IsCommonTagPresent(d.config.Tags) { + sc.SCTags = util.MergeTagConfig(sc.SCTags, d.config.Tags.Common) + } + + displayName := req.GetName() + existingLustreFileSystems, err := lustreClient.ListLustreFileSystems(ctx, sc.CompartmentId, sc.AvailabilityDomain, displayName) + if err != nil && !client.IsNotFound(err) { + log.With("service", "lustre", "verb", "list", "resource", "lustreFilesystem", "statusCode", util.GetHttpStatusCode(err)). + With(zap.Error(err)).Error("Failed to list Lustre file systems for idempotency check") + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, status.Errorf(codes.Internal, "Failed to check existing file systems: %v", err) + } + + if len(existingLustreFileSystems) > 1 { + log.Errorf("Duplicate Lustre file systems with displayName %v exist", displayName) + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.ErrValidation, util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, status.Errorf(codes.AlreadyExists, "Duplicate Lustre file systems with displayName %v exist", displayName) + } + + if len(existingLustreFileSystems) == 1 { + existingId := existingLustreFileSystems[0].Id + existingLustreFs, err := lustreClient.GetLustreFileSystem(ctx, *existingId) + if err != nil { + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + log.Errorf("Failed to fetch existing filesystem: %v", err) + return nil, status.Errorf(codes.Internal, "Failed to fetch existing filesystem: %v", err) + } + switch existingLustreFs.LifecycleState { + case lustre.LustreFileSystemLifecycleStateActive: + return d.sendCreateVolumeSuccessResponse(log, existingLustreFs, metricDimensions, startTime, sc) + case lustre.LustreFileSystemLifecycleStateCreating: + existingLustreFs, err = lustreClient.AwaitLustreFileSystemActive(ctx, log, *existingId) + if err != nil || existingLustreFs == nil { + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, status.Errorf(codes.DeadlineExceeded, "deadline reached while waiting for LustreFilesystem to become active, error : %v", err) + } + return d.sendCreateVolumeSuccessResponse(log, existingLustreFs, metricDimensions, startTime, sc) + + default: + // Best-effort: if FAILED, try to fetch work request errors to append a reason + errMsg := fmt.Errorf("LustreFileSystem provisioning failed. Filesystem is in %v state and not usable.", existingLustreFs.LifecycleState) + if existingLustreFs.LifecycleState == lustre.LustreFileSystemLifecycleStateFailed { + // Attempt to find the most recent CREATE_LUSTRE_FILE_SYSTEM work request for this filesystem to find out why it went into FAILED state + var errorFromWorkRequest string + wrs, lerr := d.client.Lustre().ListWorkRequests(ctx, sc.CompartmentId, *existingLustreFs.Id) + if lerr == nil { + for _, wr := range wrs { + if wr.OperationType == lustre.OperationTypeCreateLustreFileSystem { + // Fetch errors for this work request id + if wr.Id != nil { + errs, eerr := d.client.Lustre().ListWorkRequestErrors(ctx, *wr.Id, *existingLustreFs.Id) + if eerr == nil && len(errs) > 0 { + // pick the latest error message + if errs[0].Message != nil { + errorFromWorkRequest = *errs[0].Message + } + } + } + break + } + } + } + if errorFromWorkRequest != "" { + log.With("workRequestError", errorFromWorkRequest).Error("Filesystem failed with work request error") + errMsg = fmt.Errorf("%v Error from workrequest : %s", errMsg, errorFromWorkRequest) + } + } + log.Error(errMsg) + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.ErrValidation, util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, status.Error(codes.Aborted, errMsg.Error()) + } + } + + capacityRange := req.GetCapacityRange() + capacityInBytes := capacityRange.GetRequiredBytes() + capacityInGbs := 31200 //Setting default capacity of 31200 GB + if capacityInBytes > 0 { + capacityInGbs = int(csi_util.RoundUpSize(req.CapacityRange.RequiredBytes, 1*GB)) + } + log = log.With("Capacity", capacityInGbs) + + // Create new filesystem + createRequestDetails := createLustreFilesystemRequest(displayName, sc, capacityInGbs) + lustreFs, err := lustreClient.CreateLustreFileSystem(ctx, createRequestDetails) + if err != nil { + log.With("service", "lustre", "verb", "create", "resource", "lustreFilesystem", "statusCode", util.GetHttpStatusCode(err)). + With(zap.Error(err)).Error("Lustre filesystem creation failed") + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, status.Errorf(codes.Internal, "Lustre filesystem creation failed, error : %v", err) + } + + lustreFs, err = lustreClient.AwaitLustreFileSystemActive(ctx, log, *lustreFs.Id) + if err != nil { + log.With(zap.Error(err)).Error("Error occurred while waiting for LustreFilesystem to become active.") + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + return nil, status.Errorf(codes.DeadlineExceeded, "deadline reached while waiting for LustreFilesystem to become active, error : %v", err) + } + + return d.sendCreateVolumeSuccessResponse(log, lustreFs, metricDimensions, startTime, sc) +} + +func createLustreFilesystemRequest(displayName string, sc *LustreStorageClassParameters, capacityInGbs int) lustre.CreateLustreFileSystemDetails { + createDetails := lustre.CreateLustreFileSystemDetails{ + DisplayName: &displayName, + CompartmentId: &sc.CompartmentId, + AvailabilityDomain: &sc.AvailabilityDomain, + FileSystemName: &sc.FileSystemName, + CapacityInGBs: &capacityInGbs, + SubnetId: &sc.SubnetId, + PerformanceTier: lustre.CreateLustreFileSystemDetailsPerformanceTierEnum(sc.PerformanceTier), + RootSquashConfiguration: &lustre.RootSquashConfiguration{ + IdentitySquash: func() lustre.RootSquashConfigurationIdentitySquashEnum { + if sc.RootSquashEnabled { + return lustre.RootSquashConfigurationIdentitySquashRoot + } + return lustre.RootSquashConfigurationIdentitySquashNone + }(), + }, + } + if sc.RootSquashEnabled { + if len(sc.RootSquashClientExceptions) > 0 { + createDetails.RootSquashConfiguration.ClientExceptions = sc.RootSquashClientExceptions + } + if sc.RootSquashUidSpecified { + createDetails.RootSquashConfiguration.SquashUid = func() *int64 { v := int64(sc.RootSquashUid); return &v }() + } + if sc.RootSquashGidSpecified { + createDetails.RootSquashConfiguration.SquashGid = func() *int64 { v := int64(sc.RootSquashGid); return &v }() + } + } + if sc.SCTags.FreeformTags != nil { + createDetails.FreeformTags = sc.SCTags.FreeformTags + } + if sc.SCTags.DefinedTags != nil { + createDetails.DefinedTags = sc.SCTags.DefinedTags + } + if sc.KmsKeyId != "" { + createDetails.KmsKeyId = &sc.KmsKeyId + } + if len(sc.NSGIds) > 0 { + createDetails.NsgIds = sc.NSGIds + } + return createDetails +} + +func (d *LustreControllerDriver) sendCreateVolumeSuccessResponse(log *zap.SugaredLogger, lustreFs *lustre.LustreFileSystem, metricDimensions map[string]string, startTime time.Time, sc *LustreStorageClassParameters) (*csi.CreateVolumeResponse, error) { + volumeHandle := buildLustreVolumeHandle(lustreFs) + metricDimensions[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.Success, util.CSIStorageType) + metricDimensions[metrics.ResourceOCIDDimension] = *lustreFs.Id + metrics.SendMetricData(d.metricPusher, metrics.LustreProvision, time.Since(startTime).Seconds(), metricDimensions) + log.With("volumeID", *lustreFs.Id).With("volumeHandle", volumeHandle).Info("Lustre filesystem successfully created") + volumeContext := map[string]string{} + if sc.SetupLnet != "" { + volumeContext["setupLnet"] = sc.SetupLnet + } + if sc.LustreSubnetCidr != "" { + volumeContext["lustreSubnetCidr"] = sc.LustreSubnetCidr + } + if sc.LustrePostMountParameters != "" { + volumeContext["lustrePostMountParameters"] = sc.LustrePostMountParameters + } + + return &csi.CreateVolumeResponse{ + Volume: &csi.Volume{ + VolumeId: volumeHandle, + CapacityBytes: int64(*lustreFs.CapacityInGBs * GB), + VolumeContext: volumeContext, + }, + }, nil +} + +// DeleteVolume implements CSI DeleteVolume RPC for Lustre Driver. +func (d *LustreControllerDriver) DeleteVolume(ctx context.Context, req *csi.DeleteVolumeRequest) (resp *csi.DeleteVolumeResponse, err error) { + defer MakeCSIPanicRecoveryWithError(d.logger, d.metricPusher, "LustreControllerDriver.DeleteVolume", map[string]string{metrics.ResourceOCIDDimension: req.GetVolumeId()}, &err, codes.Internal)() + startTime := time.Now() + log := d.logger.With("csiOperation", "delete", "volumeID", req.GetVolumeId()) + log.Debug("Request being passed in DeleteVolume gRPC ", req) + if req.GetVolumeId() == "" { + return nil, status.Error(codes.InvalidArgument, "Volume ID must be provided") + } + + dim := make(map[string]string) + + lustreFilesystemId := extractLustreFilesystemId(req.GetVolumeId()) + if lustreFilesystemId == "" { + dim[metrics.ResourceOCIDDimension] = req.GetVolumeId() + dim[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.ErrValidation, util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreDelete, time.Since(startTime).Seconds(), dim) + return nil, status.Errorf(codes.InvalidArgument, "Invalid Volume ID provided %s", req.GetVolumeId()) + } + dim[metrics.ResourceOCIDDimension] = lustreFilesystemId + + log = log.With("lustreFilesystemId", lustreFilesystemId) + + lustreClient := d.client.Lustre() + if lustreClient == nil { + return nil, status.Error(codes.Internal, "Unable to create lustre client") + } + + log.Info("Getting lustre file system to be deleted") + + fs, err := lustreClient.GetLustreFileSystem(ctx, lustreFilesystemId) + if err != nil { + if client.IsNotFound(err) { + log.Info("Lustre File system does not exist, returning deletion success.") + return &csi.DeleteVolumeResponse{}, nil + } + log.With("service", "lustre", "verb", "get", "resource", "lustreFilesystem", "statusCode", util.GetHttpStatusCode(err)). + With(zap.Error(err)).Error("Failed to get Lustre filesystem for deletion.") + dim[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreDelete, time.Since(startTime).Seconds(), dim) + return nil, status.Errorf(codes.Internal, "Failed to get Lustre filesystem for deletion, error: %v", err.Error()) + } + + switch fs.LifecycleState { + case lustre.LustreFileSystemLifecycleStateDeleted: + log.Info("Lustre File system is in Deleted state, returning deletion success.") + return &csi.DeleteVolumeResponse{}, nil + case lustre.LustreFileSystemLifecycleStateDeleting: + log.Info("Lustre File system is in Deleting state, waiting for deletion to complete.") + default: + if err := lustreClient.DeleteLustreFileSystem(ctx, lustreFilesystemId); err != nil { + log.With("service", "lustre", "verb", "delete", "resource", "lustreFilesystem", "statusCode", util.GetHttpStatusCode(err)). + With(zap.Error(err)).Error("Failed to delete Lustre filesystem") + dim[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreDelete, time.Since(startTime).Seconds(), dim) + return nil, status.Errorf(codes.Internal, "Failed to delete Lustre filesystem, error : %v", err) + } + } + + if err := lustreClient.AwaitLustreFileSystemDeleted(ctx, log, lustreFilesystemId); err != nil { + dim[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.GetError(err), util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreDelete, time.Since(startTime).Seconds(), dim) + return nil, status.Errorf(codes.DeadlineExceeded, "Error while waiting for Lustre Filesystem to be Deleted, error : %v", err.Error()) + } + dim[metrics.ComponentDimension] = util.GetMetricDimensionForComponent(util.Success, util.CSIStorageType) + metrics.SendMetricData(d.metricPusher, metrics.LustreDelete, time.Since(startTime).Seconds(), dim) + return &csi.DeleteVolumeResponse{}, nil +} + +// ValidateVolumeCapabilities implements CSI ValidateVolumeCapabilities for Lustre. +func (d *LustreControllerDriver) ValidateVolumeCapabilities(ctx context.Context, req *csi.ValidateVolumeCapabilitiesRequest) (resp *csi.ValidateVolumeCapabilitiesResponse, err error) { + defer MakeCSIPanicRecoveryWithError(d.logger, d.metricPusher, "LustreControllerDriver.ValidateVolumeCapabilities", map[string]string{metrics.ResourceOCIDDimension: req.GetVolumeId()}, &err, codes.Internal)() + if req.GetVolumeId() == "" { + return nil, status.Error(codes.InvalidArgument, "Volume ID must be provided") + } + if req.GetVolumeCapabilities() == nil { + return nil, status.Error(codes.InvalidArgument, "VolumeCapabilities must be provided") + } + if err := d.checkLustreSupportedVolumeCapabilities(req.GetVolumeCapabilities()); err != nil { + return nil, status.Errorf(codes.InvalidArgument, "Requested Volume Capability not supported: %v", err) + } + + log := d.logger.With("csiOperation", "validate", "volumeID", req.GetVolumeId()) + + lustreFilesystemId := extractLustreFilesystemId(req.GetVolumeId()) + if lustreFilesystemId == "" { + log.Errorf("Invalid Volume ID provided") + return nil, status.Errorf(codes.InvalidArgument, "Invalid Volume ID provided") + } + log = d.logger.With("lustreFilesystemId", lustreFilesystemId) + + lustreClient := d.client.Lustre() + if lustreClient == nil { + log.Error("Unable to create lustre client") + return nil, status.Error(codes.Internal, "Unable to create lustre client") + } + lustreFilesystem, err := lustreClient.GetLustreFileSystem(ctx, lustreFilesystemId) + if err != nil { + log.With("service", "lustre", "verb", "get", "resource", "lustreFilesystem", "statusCode", util.GetHttpStatusCode(err)). + With(zap.Error(err)).Error("Lustre filesystem not found") + return nil, status.Errorf(codes.NotFound, "Lustre filesystem not found: %v", err) + } + + // Verify identity consistency + expected := buildLustreVolumeHandle(lustreFilesystem) + if req.GetVolumeId() != expected { + log = d.logger.With("Volume indentity mismatch. VolumeId from request : %v, Volume Id from actual filesystem %v.", req.GetVolumeId(), expected) + return nil, status.Errorf(codes.NotFound, "Volume identity mismatch") + } + + return &csi.ValidateVolumeCapabilitiesResponse{ + Confirmed: &csi.ValidateVolumeCapabilitiesResponse_Confirmed{ + VolumeCapabilities: req.GetVolumeCapabilities(), + }, + }, nil +} + +func (d *LustreControllerDriver) checkLustreSupportedVolumeCapabilities(volumeCaps []*csi.VolumeCapability) error { + hasSupport := func(cap *csi.VolumeCapability) error { + if blk := cap.GetBlock(); blk != nil { + return status.Error(codes.InvalidArgument, "Lustre contoller driver does not support volume mode block") + } + for _, c := range lustreSupportedVolumeCapabilities { + if c.GetMode() == cap.AccessMode.GetMode() { + return nil + } + } + return status.Errorf(codes.InvalidArgument, "Lustre contoller driver does not support access mode %v", cap.AccessMode.GetMode()) + } + + for _, c := range volumeCaps { + if err := hasSupport(c); err != nil { + return err + } + } + return nil +} + +func (d *LustreControllerDriver) ControllerPublishVolume(ctx context.Context, req *csi.ControllerPublishVolumeRequest) (*csi.ControllerPublishVolumeResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) ControllerUnpublishVolume(ctx context.Context, req *csi.ControllerUnpublishVolumeRequest) (*csi.ControllerUnpublishVolumeResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) ControllerModifyVolume(ctx context.Context, req *csi.ControllerModifyVolumeRequest) (*csi.ControllerModifyVolumeResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) ListVolumes(ctx context.Context, request *csi.ListVolumesRequest) (*csi.ListVolumesResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) GetCapacity(ctx context.Context, request *csi.GetCapacityRequest) (*csi.GetCapacityResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) CreateSnapshot(ctx context.Context, request *csi.CreateSnapshotRequest) (*csi.CreateSnapshotResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) DeleteSnapshot(ctx context.Context, request *csi.DeleteSnapshotRequest) (*csi.DeleteSnapshotResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) ListSnapshots(ctx context.Context, request *csi.ListSnapshotsRequest) (*csi.ListSnapshotsResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) ControllerExpandVolume(ctx context.Context, request *csi.ControllerExpandVolumeRequest) (*csi.ControllerExpandVolumeResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} +func (d *LustreControllerDriver) ControllerGetVolume(ctx context.Context, request *csi.ControllerGetVolumeRequest) (*csi.ControllerGetVolumeResponse, error) { + return nil, status.Error(codes.Unimplemented, "") +} + +// helpers +// buildLustreVolumeHandle composes the CSI volume id from Lustre Filesystem object +// :@:/ +func buildLustreVolumeHandle(lustreFilesystem *lustre.LustreFileSystem) string { + id := pointer.StringDeref(lustreFilesystem.Id, "") + managementServiceAddress := pointer.StringDeref(lustreFilesystem.ManagementServiceAddress, "") + lnet := pointer.StringDeref(lustreFilesystem.Lnet, "") + fsName := pointer.StringDeref(lustreFilesystem.FileSystemName, "") + return fmt.Sprintf("%s:%s@%s:/%s", id, managementServiceAddress, lnet, fsName) +} + +// extractLustreFilesystemId returns the OCID prefix from a Lustre volume id or empty if malformed. +// ex: volumeID => ocid1.lustrefilesystem.oc1.phx.aaaaaaa:10.0.1.10@tcp:/lustrefs +func extractLustreFilesystemId(volumeID string) string { + if volumeID == "" || !strings.HasPrefix(volumeID, "ocid") { + return "" + } + idx := strings.Index(volumeID, ":") + if idx == -1 { + return "" + } + return volumeID[:idx] +} diff --git a/pkg/csi/driver/lustre_controller_test.go b/pkg/csi/driver/lustre_controller_test.go new file mode 100644 index 0000000000..5d919c6a6b --- /dev/null +++ b/pkg/csi/driver/lustre_controller_test.go @@ -0,0 +1,942 @@ +package driver + +import ( + "context" + "os" + "strings" + "testing" + + "github.com/container-storage-interface/spec/lib/go/csi" + providercfg "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" + "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + ociidentity "github.com/oracle/oci-go-sdk/v65/identity" + lustre "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" + "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "k8s.io/utils/pointer" +) + +// mockNotFoundError implements ServiceError for testing oci error cases +type mockNotFoundError struct { + statusCode int + message string + code string + opcRequestID string +} + +func (e mockNotFoundError) GetHTTPStatusCode() int { return e.statusCode } +func (e mockNotFoundError) GetMessage() string { return e.message } +func (e mockNotFoundError) GetCode() string { return e.code } +func (e mockNotFoundError) GetOpcRequestID() string { return e.opcRequestID } +func (e mockNotFoundError) Error() string { return e.message } + +// ########################## MockOCILustreFileStorageClient client ########################## + +// MockOCILustreFileStorageClient implements client.LustreInterface and allows configuring responses. +type MockOCILustreFileStorageClient struct { + // create + CreateResp *lustre.LustreFileSystem + CreateErr error + CreateCalled bool + CreateArgs *lustre.CreateLustreFileSystemDetails + + // list + ListResp []lustre.LustreFileSystemSummary + ListErr error + + // get + GetResp *lustre.LustreFileSystem + GetErr error + + // await active + AwaitActiveResp *lustre.LustreFileSystem + AwaitActiveErr error + + // delete + DeleteErr error + + // await deleted + AwaitDeletedErr error + + // work requests + WRListResp []lustre.WorkRequestSummary + WRListErr error + WRErrsResp []lustre.WorkRequestError + WRErrsErr error +} + +func (f *MockOCILustreFileStorageClient) CreateLustreFileSystem(ctx context.Context, details lustre.CreateLustreFileSystemDetails) (*lustre.LustreFileSystem, error) { + f.CreateCalled = true + d := details // capture + f.CreateArgs = &d + return f.CreateResp, f.CreateErr +} +func (f *MockOCILustreFileStorageClient) GetLustreFileSystem(ctx context.Context, id string) (*lustre.LustreFileSystem, error) { + return f.GetResp, f.GetErr +} +func (f *MockOCILustreFileStorageClient) ListLustreFileSystems(ctx context.Context, compartmentID, ad, displayName string) ([]lustre.LustreFileSystemSummary, error) { + return f.ListResp, f.ListErr +} +func (f *MockOCILustreFileStorageClient) DeleteLustreFileSystem(ctx context.Context, id string) error { + return f.DeleteErr +} +func (f *MockOCILustreFileStorageClient) AwaitLustreFileSystemActive(ctx context.Context, logger *zap.SugaredLogger, id string) (*lustre.LustreFileSystem, error) { + return f.AwaitActiveResp, f.AwaitActiveErr +} +func (f *MockOCILustreFileStorageClient) AwaitLustreFileSystemDeleted(ctx context.Context, logger *zap.SugaredLogger, id string) error { + return f.AwaitDeletedErr +} +func (f *MockOCILustreFileStorageClient) ListWorkRequests(ctx context.Context, compartmentID, resourceID string) ([]lustre.WorkRequestSummary, error) { + return f.WRListResp, f.WRListErr +} +func (f *MockOCILustreFileStorageClient) ListWorkRequestErrors(ctx context.Context, workRequestID string, volumeID string) ([]lustre.WorkRequestError, error) { + return f.WRErrsResp, f.WRErrsErr +} + +// ########################## MockOCIIdentityClient ########################## + +type MockOCIIdentityClient struct { + ads []string + getErr error + listErr error +} + +func (i *MockOCIIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*ociidentity.AvailabilityDomain, error) { // interface{} to avoid ctx import + if i.getErr != nil { + return nil, i.getErr + } + if len(i.ads) > 0 { + return &ociidentity.AvailabilityDomain{Name: &i.ads[0]}, nil + } + return &ociidentity.AvailabilityDomain{Name: &name}, nil +} + +// ########################## CreateVolume Tests ########################## + +func TestCreateVolume_Missing_VolumeName(t *testing.T) { + d := newControllerWith(nil, nil) + req := &csi.CreateVolumeRequest{ + Name: "", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument, got %v", err) + } + if !containsErr(err, "Name must be provided in CreateVolumeRequest") { + t.Fatalf("expected error to mention 'Name must be provided in CreateVolumeRequest', got %v", err) + } +} + +func TestCreateVolume_Missing_Capabilities(t *testing.T) { + d := newControllerWith(nil, nil) + req := &csi.CreateVolumeRequest{ + Name: "test-vol", + VolumeCapabilities: []*csi.VolumeCapability{}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument, got %v", err) + } + if !containsErr(err, "VolumeCapabilities must be provided in CreateVolumeRequest") { + t.Fatalf("expected error to mention 'VolumeCapabilities must be provided in CreateVolumeRequest', got %v", err) + } +} + +func TestCreateVolume_Invalid_Capabilities(t *testing.T) { + d := newControllerWith(nil, nil) + req := &csi.CreateVolumeRequest{ + Name: "test-vol", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Block{Block: &csi.VolumeCapability_BlockVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument, got %v", err) + } + if !containsErr(err, "Requested Volume Capability not supported") { + t.Fatalf("expected error to mention 'Requested Volume Capability not supported', got %v", err) + } +} + +func TestCreateVolume_Missing_AvailabilityDomain(t *testing.T) { + // Preferred topology present; Identity GetAvailabilityDomainByName returns ctx deadline + fid := &MockOCIIdentityClient{getErr: context.DeadlineExceeded} + fl := &MockOCILustreFileStorageClient{ListResp: []lustre.LustreFileSystemSummary{}} // so it goes to create path + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for Missing required parameter: availabilityDomain, got %v", err) + } + if !containsErr(err, "Missing required parameter: availabilityDomain") { + t.Fatalf("expected error to mention 'Missing required parameter: availabilityDomain', got %v", err) + } +} + +func TestCreateVolume_ADResolution_PreferredTimeout(t *testing.T) { + // Preferred topology present; Identity GetAvailabilityDomainByName returns ctx deadline + fid := &MockOCIIdentityClient{getErr: context.DeadlineExceeded} + fl := &MockOCILustreFileStorageClient{ListResp: []lustre.LustreFileSystemSummary{}} // so it goes to create path + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for preferred AD resolution timeout, got %v", err) + } + if !containsErr(err, "Invalid availabilityDomain") { + t.Fatalf("expected error to mention Invalid availabilityDomain, got %v", err) + } +} + +func TestCreateVolume_CreateDetails_ContainsKmsAndNsgs(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fl := &MockOCILustreFileStorageClient{ListResp: []lustre.LustreFileSystemSummary{}, CreateResp: &lustre.LustreFileSystem{Id: ptrString("ocid1.lustrefilesystem.oc1.phx.new")}, AwaitActiveResp: func() *lustre.LustreFileSystem { + cap := 50 + id := "ocid1.lustrefilesystem.oc1.phx.new" + return &lustre.LustreFileSystem{Id: &id, CapacityInGBs: &cap} + }()} + d := newControllerWith(fl, fid) + nsgs := []string{"ocid1.nsg.oc1..a", "ocid1.nsg.oc1..b"} + params := map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2", "kmsKeyId": "ocid1.key.oc1..kms", "nsgIds": "[\"ocid1.nsg.oc1..a\",\"ocid1.nsg.oc1..b\"]"} + req := &csi.CreateVolumeRequest{ + Name: "test-vol", + CapacityRange: &csi.CapacityRange{RequiredBytes: 31200 * GB}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: params, + } + _, _ = d.CreateVolume(context.Background(), req) + if fl.CreateArgs == nil { + t.Fatalf("expected create to be called and args captured") + } + if fl.CreateArgs.KmsKeyId == nil || *fl.CreateArgs.KmsKeyId != "ocid1.key.oc1..kms" { + t.Fatalf("expected kmsKeyId to be set in create details") + } + if len(fl.CreateArgs.NsgIds) != len(nsgs) { + t.Fatalf("expected nsgIds length %d got %d", len(nsgs), len(fl.CreateArgs.NsgIds)) + } +} + +func TestCreateVolume_IdentityClientNil(t *testing.T) { + // newControllerWith always injects a client; to simulate identity nil, pass nil identity and expect Internal from CreateVolume + fl := &MockOCILustreFileStorageClient{} + // Build driver with nil identity via a small inlined client wrapper + d := func() *LustreControllerDriver { + inner := &testOCIClient{lustre: fl, id: nil} + return newControllerWith(inner.Lustre(), inner.Identity(nil)) + }() + req := &csi.CreateVolumeRequest{Name: "test-vol", VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}} + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for nil identity client, got %v", err) + } +} + +func TestCreateVolume_LustreClientNil(t *testing.T) { + // Simulate lustre client nil + inner := &testOCIClient{lustre: nil, id: &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}}} + d := newControllerWith(inner.Lustre(), inner.Identity(nil)) + req := &csi.CreateVolumeRequest{Name: "test-vol", VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}} + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for nil lustre client, got %v", err) + } +} + +func TestCreateVolume_ListError_Internal(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fl := &MockOCILustreFileStorageClient{ListErr: status.Error(codes.Internal, "internal error")} + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{Name: "test-vol", VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}} + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for list error, got %v", err) + } +} + +func TestCreateVolume_Duplicate_AlreadyExists(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + id1 := "fs1" + id2 := "fs2" + fl := &MockOCILustreFileStorageClient{ListResp: []lustre.LustreFileSystemSummary{{Id: &id1}, {Id: &id2}}} + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{Name: "dup-vol", VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}} + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.AlreadyExists { + t.Fatalf("expected AlreadyExists for duplicates, got %v", err) + } +} + +func TestCreateVolume_ExistingCreating_AwaitSuccess_Idempotent(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fsID := ptrString("ocid1.lustrefilesystem.oc1.phx.id") + ms := ptrString("10.0.0.10") + lnet := ptrString("tcp") + fsname := ptrString("fs1") + cap := 50 + fl := &MockOCILustreFileStorageClient{ListResp: []lustre.LustreFileSystemSummary{{Id: fsID}}, GetResp: &lustre.LustreFileSystem{Id: fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateCreating}, AwaitActiveResp: &lustre.LustreFileSystem{Id: fsID, ManagementServiceAddress: ms, Lnet: lnet, FileSystemName: fsname, CapacityInGBs: &cap}} + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{Name: "test-vol", VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}} + _, err := d.CreateVolume(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error idempotent CREATING→success: %v", err) + } +} + +func TestCreateVolume_CreateCallError_Internal(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fl := &MockOCILustreFileStorageClient{ListResp: []lustre.LustreFileSystemSummary{}, CreateErr: status.Error(codes.Internal, "boom")} + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{Name: "test-vol", CapacityRange: &csi.CapacityRange{RequiredBytes: 1 << 30}, VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}} + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for create error, got %v", err) + } +} + +func TestCreateVolume_VolumeContext_Present(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + cap := 50 + id := "ocid1.lustrefilesystem.oc1.phx.new" + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{}, + CreateResp: &lustre.LustreFileSystem{Id: &id}, + AwaitActiveResp: &lustre.LustreFileSystem{Id: &id, ManagementServiceAddress: ptrString("10.0.0.10"), Lnet: ptrString("tcp"), FileSystemName: ptrString("fs1"), CapacityInGBs: &cap}, + } + d := newControllerWith(fl, fid) + params := map[string]string{ + "subnetId": "ocid1.subnet.oc1..x", + "performanceTier": "MBPS_PER_TB_125", + "setupLnet": "true", + "lustreSubnetCidr": "10.0.0.0/24", + "lustrePostMountParameters": "[{}]", + "availabilityDomain": "PHX-AD-2", + } + req := &csi.CreateVolumeRequest{ + Name: "vol-vc-present", + CapacityRange: &csi.CapacityRange{RequiredBytes: int64(cap) << 30}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: params, + } + resp, err := d.CreateVolume(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + vc := resp.GetVolume().GetVolumeContext() + if vc["setupLnet"] != "true" || vc["lustreSubnetCidr"] != "10.0.0.0/24" || vc["lustrePostMountParameters"] == "" { + t.Fatalf("expected volumeContext keys set, got %v", vc) + } +} + +func TestCreateVolume_VolumeContext_Absent(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + capacityInGbs := 31200 + id := "ocid1.lustrefilesystem.oc1.phx.new2" + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{}, + CreateResp: &lustre.LustreFileSystem{Id: &id}, + AwaitActiveResp: &lustre.LustreFileSystem{Id: &id, ManagementServiceAddress: ptrString("10.0.0.11"), Lnet: ptrString("tcp"), FileSystemName: ptrString("fs2"), CapacityInGBs: &capacityInGbs, LifecycleState: lustre.LustreFileSystemLifecycleStateActive}, + } + d := newControllerWith(fl, fid) + params := map[string]string{ + "subnetId": "ocid1.subnet.oc1..x", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + } + req := &csi.CreateVolumeRequest{ + Name: "vol-vc-absent", + CapacityRange: &csi.CapacityRange{RequiredBytes: int64(capacityInGbs * 1024)}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: params, + } + resp, err := d.CreateVolume(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + vc := resp.GetVolume().GetVolumeContext() + if _, ok := vc["setupLnet"]; ok { + t.Fatalf("did not expect setupLnet in volumeContext: %v", vc) + } + if _, ok := vc["lustreSubnetCidr"]; ok { + t.Fatalf("did not expect lustreSubnetCidr in volumeContext: %v", vc) + } + if _, ok := vc["lustrePostMountParameters"]; ok { + t.Fatalf("did not expect lustrePostMountParameters in volumeContext: %v", vc) + } +} + +func TestCreateVolume_NewCreate_Success(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + cap := 100 + id := "ocid1.lustrefilesystem.oc1.phx.new3" + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{}, + CreateResp: &lustre.LustreFileSystem{Id: &id}, + AwaitActiveResp: &lustre.LustreFileSystem{Id: &id, ManagementServiceAddress: ptrString("10.0.0.12"), Lnet: ptrString("tcp"), FileSystemName: ptrString("fs3"), CapacityInGBs: &cap}, + } + d := newControllerWith(fl, fid) + params := map[string]string{ + "subnetId": "ocid1.subnet.oc1..x", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + } + req := &csi.CreateVolumeRequest{ + Name: "vol-new-create-success", + CapacityRange: &csi.CapacityRange{RequiredBytes: int64(cap) << 30}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: params, + } + if _, err := d.CreateVolume(context.Background(), req); err != nil { + t.Fatalf("unexpected error for full new-create success: %v", err) + } +} + +func TestCreateVolume_GetExistingError(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fsID := ptrString("ocid1.lustrefilesystem.oc1.phx.id") + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{{Id: fsID}}, + GetErr: status.Error(codes.Internal, "error while fetching existingLustreFs"), + } + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol-get-error", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal, got %v", err) + } + if !containsErr(err, "error while fetching existingLustreFs") { + t.Fatalf("expected error to mention fetch error, got %v", err) + } +} + +func TestCreateVolume_ExistingActive_Success(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fsID := ptrString("ocid1.lustrefilesystem.oc1.phx.id") + cap := 50 + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{{Id: fsID}}, + GetResp: &lustre.LustreFileSystem{Id: fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateActive, ManagementServiceAddress: ptrString("10.0.0.10"), Lnet: ptrString("tcp"), FileSystemName: ptrString("fs1"), CapacityInGBs: &cap}, + } + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol-active", + CapacityRange: &csi.CapacityRange{RequiredBytes: 31200 * GB}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}, + } + resp, err := d.CreateVolume(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.GetVolume().GetVolumeId() == "" { + t.Fatalf("expected volume id in response") + } +} + +func TestCreateVolume_ExistingCreating_AwaitDeadline(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fsID := ptrString("ocid1.lustrefilesystem.oc1.phx.id") + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{{Id: fsID}}, + GetResp: &lustre.LustreFileSystem{Id: fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateCreating}, + AwaitActiveErr: context.DeadlineExceeded, + } + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol-creating-deadline", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.DeadlineExceeded { + t.Fatalf("expected DeadlineExceeded, got %v", err) + } +} + +func TestCreateVolume_ExistingFailed_WorkRequestError(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + fsID := ptrString("ocid1.lustrefilesystem.oc1.phx.id") + wrID := ptrString("wr-123") + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{{Id: fsID}}, + GetResp: &lustre.LustreFileSystem{Id: fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateFailed}, + WRListResp: []lustre.WorkRequestSummary{{Id: wrID, OperationType: lustre.OperationTypeCreateLustreFileSystem}}, + WRErrsResp: []lustre.WorkRequestError{{Code: pointer.String("CREATE_FAILED"), Message: pointer.String("work request error")}}, + } + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol-failed-wr", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.Aborted { + t.Fatalf("expected Aborted, got %v", err) + } + if !containsErr(err, "work request error") { + t.Fatalf("expected error to mention work request error, got %v", err) + } +} + +func TestCreateVolume_NewCreate_AwaitError(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + cap := 50 + id := "ocid1.lustrefilesystem.oc1.phx.new-await-err" + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{}, + CreateResp: &lustre.LustreFileSystem{Id: &id}, + AwaitActiveErr: status.Error(codes.Internal, "await error"), + } + d := newControllerWith(fl, fid) + req := &csi.CreateVolumeRequest{ + Name: "test-vol-new-await-err", + CapacityRange: &csi.CapacityRange{RequiredBytes: int64(cap) << 30}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: map[string]string{"subnetId": "ocid1.subnet.oc1..x", "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2"}, + } + _, err := d.CreateVolume(context.Background(), req) + if status.Code(err) != codes.DeadlineExceeded { + t.Fatalf("expected DeadlineExceeded, got %v", err) + } + if !containsErr(err, "await error") { + t.Fatalf("expected error to mention await error, got %v", err) + } +} + +func TestCreateVolume_RootSquashEnabled(t *testing.T) { + fid := &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-1"}} + cap := 50 + rsID := "ocid1.lustrefilesystem.oc1.phx.rs" + fl := &MockOCILustreFileStorageClient{ + ListResp: []lustre.LustreFileSystemSummary{}, + CreateResp: &lustre.LustreFileSystem{Id: &rsID}, + AwaitActiveResp: &lustre.LustreFileSystem{Id: &rsID, CapacityInGBs: &cap}, + } + d := newControllerWith(fl, fid) + params := map[string]string{ + "subnetId": "ocid1.subnet.oc1..x", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "rootSquashEnabled": "true", + "rootSquashClientExceptions": "[\"client1\",\"client2\"]", + "rootSquashUid": "1000", + "rootSquashGid": "1000", + } + req := &csi.CreateVolumeRequest{ + Name: "test-vol-root-squash", + CapacityRange: &csi.CapacityRange{RequiredBytes: 31200 * GB}, + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + Parameters: params, + } + _, _ = d.CreateVolume(context.Background(), req) + if fl.CreateArgs == nil || fl.CreateArgs.RootSquashConfiguration == nil { + t.Fatalf("expected RootSquashConfiguration to be set") + } + if fl.CreateArgs.RootSquashConfiguration.IdentitySquash != lustre.RootSquashConfigurationIdentitySquashRoot { + t.Fatalf("expected IdentitySquash to be Root") + } + if len(fl.CreateArgs.RootSquashConfiguration.ClientExceptions) != 2 { + t.Fatalf("expected 2 client exceptions, got %d", len(fl.CreateArgs.RootSquashConfiguration.ClientExceptions)) + } + if fl.CreateArgs.RootSquashConfiguration.SquashUid == nil || *fl.CreateArgs.RootSquashConfiguration.SquashUid != 1000 { + t.Fatalf("expected SquashUid to be 1000") + } + if fl.CreateArgs.RootSquashConfiguration.SquashGid == nil || *fl.CreateArgs.RootSquashConfiguration.SquashGid != 1000 { + t.Fatalf("expected SquashGid to be 1000") + } +} + +// ########################## Delete Volume Tests ########################++ +func TestDeleteVolume_AwaitTimeout(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{GetResp: &lustre.LustreFileSystem{Id: &fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateActive}, AwaitDeletedErr: context.DeadlineExceeded} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if status.Code(err) != codes.DeadlineExceeded { + t.Fatalf("expected DeadlineExceeded, got %v", err) + } + if !containsErr(err, "Error while waiting for Lustre Filesystem to be Deleted") { + t.Fatalf("expected error message to contain waiting for delete substring, got %v", err) + } +} + +func TestDeleteVolume_InvalidVolumeID(t *testing.T) { + fl := &MockOCILustreFileStorageClient{} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + _, err := d.DeleteVolume(context.Background(), &csi.DeleteVolumeRequest{VolumeId: "bad-id"}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for bad id, got %v", err) + } +} + +func TestDeleteVolume_DeletingAwaitSuccess(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{GetResp: &lustre.LustreFileSystem{Id: &fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateDeleting}, AwaitDeletedErr: nil} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + _, err := d.DeleteVolume(context.Background(), &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"}) + if err != nil { + t.Fatalf("unexpected error awaiting delete: %v", err) + } +} + +func TestDeleteVolume_MissingVolumeId(t *testing.T) { + fl := &MockOCILustreFileStorageClient{} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + _, err := d.DeleteVolume(context.Background(), &csi.DeleteVolumeRequest{}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument, got %v", err) + } +} + +func TestDeleteVolume_LustreClientNil(t *testing.T) { + inner := &testOCIClient{lustre: nil, id: &MockOCIIdentityClient{}} + d := newControllerWith(inner.Lustre(), inner.Identity(nil)) + req := &csi.DeleteVolumeRequest{VolumeId: "ocid1.lustrefilesystem.oc1.phx.id:10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for nil lustre client, got %v", err) + } +} + +func TestDeleteVolume_GetNotFound(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + notFoundErr := mockNotFoundError{ + statusCode: 404, + message: "not found", + code: "NotFound", + opcRequestID: "", + } + fl := &MockOCILustreFileStorageClient{GetErr: notFoundErr} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if err != nil { + t.Fatalf("expected success for not found, got %v", err) + } +} + +func TestDeleteVolume_GetInternalError(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{GetErr: status.Error(codes.Internal, "internal server error")} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal, got %v", err) + } + if !containsErr(err, "internal server error") { + t.Fatalf("expected error to mention internal server error, got %v", err) + } +} + +func TestDeleteVolume_StateDeleted_Success(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{GetResp: &lustre.LustreFileSystem{Id: &fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateDeleted}} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if err != nil { + t.Fatalf("expected success for deleted state, got %v", err) + } +} + +func TestDeleteVolume_Active_DeleteAwaitSuccess(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{ + GetResp: &lustre.LustreFileSystem{Id: &fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateActive}, + DeleteErr: nil, + AwaitDeletedErr: nil, + } + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error for delete success: %v", err) + } +} + +func TestDeleteVolume_Active_DeleteError(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{ + GetResp: &lustre.LustreFileSystem{Id: &fsID, LifecycleState: lustre.LustreFileSystemLifecycleStateActive}, + DeleteErr: status.Error(codes.Internal, "delete error"), + } + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.DeleteVolumeRequest{VolumeId: fsID + ":10.0.0.10@tcp:/fs1"} + _, err := d.DeleteVolume(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for delete error, got %v", err) + } + if !containsErr(err, "delete error") { + t.Fatalf("expected error to mention delete error, got %v", err) + } +} + +// ########################## ValidateVolumeCapabilities Tests ########################## + +func TestValidateVolumeCapabilities_InvalidVolumeID(t *testing.T) { + fl := &MockOCILustreFileStorageClient{} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: "bad-volume-id", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + } + _, err := d.ValidateVolumeCapabilities(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument, got %v", err) + } +} + +func TestValidateVolumeCapabilities_BlockModeUnsupported(t *testing.T) { + fl := &MockOCILustreFileStorageClient{} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + // valid-looking VolumeId to get through initial format checks + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: fsID + ":10.0.0.10@tcp:/fs1", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Block{Block: &csi.VolumeCapability_BlockVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + } + _, err := d.ValidateVolumeCapabilities(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for block mode, got %v", err) + } +} + +func TestValidateVolumeCapabilities_IdentityMismatch(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{GetResp: &lustre.LustreFileSystem{Id: &fsID, ManagementServiceAddress: ptrString("10.0.0.10"), Lnet: ptrString("tcp"), FileSystemName: ptrString("fs1")}} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + // Provide mismatching handle (different ms address) + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: fsID + ":10.0.0.11@tcp:/fs1", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + } + _, err := d.ValidateVolumeCapabilities(context.Background(), req) + if status.Code(err) != codes.NotFound { + t.Fatalf("expected NotFound for identity mismatch, got %v", err) + } +} + +func TestValidateVolumeCapabilities_ValidPath(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + ms := "10.0.0.10" + lnet := "tcp" + fsname := "fs1" + fl := &MockOCILustreFileStorageClient{GetResp: &lustre.LustreFileSystem{Id: &fsID, ManagementServiceAddress: &ms, Lnet: &lnet, FileSystemName: &fsname}} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + reqCaps := []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}} + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: fsID + ":" + ms + "@" + lnet + ":/" + fsname, + VolumeCapabilities: reqCaps, + } + resp, err := d.ValidateVolumeCapabilities(context.Background(), req) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp.GetConfirmed() == nil || len(resp.GetConfirmed().GetVolumeCapabilities()) != 1 { + t.Fatalf("expected confirmed capabilities echoed back") + } +} +func TestValidateVolumeCapabilities_MissingCaps(t *testing.T) { + d := newControllerWith(&MockOCILustreFileStorageClient{}, &MockOCIIdentityClient{}) + _, err := d.ValidateVolumeCapabilities(context.Background(), &csi.ValidateVolumeCapabilitiesRequest{VolumeId: "ocid1.lustrefilesystem.oc1.phx.id:10.0.0.10@tcp:/fs1"}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for missing caps, got %v", err) + } +} + +func TestValidateVolumeCapabilities_UnsupportedAccessMode(t *testing.T) { + // Simulate an unsupported mode by constructing a capability that checkLustreSupportedVolumeCapabilities rejects + d := newControllerWith(&MockOCILustreFileStorageClient{GetResp: &lustre.LustreFileSystem{Id: ptrString("ocid1.lustrefilesystem.oc1.phx.id"), ManagementServiceAddress: ptrString("10.0.0.10"), Lnet: ptrString("tcp"), FileSystemName: ptrString("fs1")}}, &MockOCIIdentityClient{}) + cap := &csi.VolumeCapability{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: 999 /* invalid */}} + _, err := d.ValidateVolumeCapabilities(context.Background(), &csi.ValidateVolumeCapabilitiesRequest{VolumeId: "ocid1.lustrefilesystem.oc1.phx.id:10.0.0.10@tcp:/fs1", VolumeCapabilities: []*csi.VolumeCapability{cap}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for unsupported access mode, got %v", err) + } +} + +func TestValidateVolumeCapabilities_MissingVolumeId(t *testing.T) { + fl := &MockOCILustreFileStorageClient{} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + } + _, err := d.ValidateVolumeCapabilities(context.Background(), req) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for missing VolumeId, got %v", err) + } +} + +func TestValidateVolumeCapabilities_LustreClientNil(t *testing.T) { + inner := &testOCIClient{lustre: nil, id: &MockOCIIdentityClient{}} + d := newControllerWith(inner.Lustre(), inner.Identity(nil)) + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: "ocid1.lustrefilesystem.oc1.phx.id:10.0.0.10@tcp:/fs1", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + } + _, err := d.ValidateVolumeCapabilities(context.Background(), req) + if status.Code(err) != codes.Internal { + t.Fatalf("expected Internal for nil lustre client, got %v", err) + } +} + +func TestValidateVolumeCapabilities_GetError(t *testing.T) { + fsID := "ocid1.lustrefilesystem.oc1.phx.id" + fl := &MockOCILustreFileStorageClient{GetErr: status.Error(codes.Internal, "get error")} + d := newControllerWith(fl, &MockOCIIdentityClient{}) + req := &csi.ValidateVolumeCapabilitiesRequest{ + VolumeId: fsID + ":10.0.0.10@tcp:/fs1", + VolumeCapabilities: []*csi.VolumeCapability{{AccessType: &csi.VolumeCapability_Mount{Mount: &csi.VolumeCapability_MountVolume{}}, AccessMode: &csi.VolumeCapability_AccessMode{Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER}}}, + } + _, err := d.ValidateVolumeCapabilities(context.Background(), req) + if status.Code(err) != codes.NotFound { + t.Fatalf("expected NotFound for get error, got %v", err) + } + if !containsErr(err, "get error") { + t.Fatalf("expected error to mention get error, got %v", err) + } +} + +// ########################## ControllerGetCapabilities Tests ########################## +func TestLustreController_ControllerGetCapabilities_SingleCreateDeleteOnly(t *testing.T) { + d := &LustreControllerDriver{} + + resp, err := d.ControllerGetCapabilities(context.Background(), &csi.ControllerGetCapabilitiesRequest{}) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp == nil { + t.Fatalf("expected non-nil response") + } + if len(resp.Capabilities) != 1 { + t.Fatalf("expected 1 capability, got %d", len(resp.Capabilities)) + } + cap := resp.Capabilities[0] + if cap.GetRpc() == nil { + t.Fatalf("expected RPC capability, got nil") + } + if got := cap.GetRpc().GetType(); got != csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME { + t.Fatalf("expected capability CREATE_DELETE_VOLUME, got %v", got) + } +} + +// Unit test: method should be safe to call with nil request (it doesn't use the request) +func TestLustreController_ControllerGetCapabilities_NilRequest(t *testing.T) { + d := &LustreControllerDriver{} + resp, err := d.ControllerGetCapabilities(context.Background(), nil) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if resp == nil || len(resp.Capabilities) == 0 { + t.Fatalf("expected capabilities in response") + } +} + +// Unit test: method should not dereference the receiver; nil receiver should not panic +func TestLustreController_ControllerGetCapabilities_NilReceiver(t *testing.T) { + var d *LustreControllerDriver // nil receiver + // Call should not panic because implementation doesn't use the receiver fields + resp, err := d.ControllerGetCapabilities(context.Background(), &csi.ControllerGetCapabilitiesRequest{}) + if err != nil { + t.Fatalf("unexpected error with nil receiver: %v", err) + } + if resp == nil || len(resp.Capabilities) != 1 { + t.Fatalf("expected exactly one capability with nil receiver") + } + if resp.Capabilities[0].GetRpc().GetType() != csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME { + t.Fatalf("expected CREATE_DELETE_VOLUME with nil receiver") + } +} + +// ########################## Helper Tests ########################## + +func TestHelper_extractLustreFilesystemId(t *testing.T) { + got := extractLustreFilesystemId("ocid1.lustrefilesystem.oc1.phx.id:10.0.0.10@tcp:/fs") + if got == "" { + t.Fatalf("expected non-empty ID extract") + } + if got != "ocid1.lustrefilesystem.oc1.phx.id" { + t.Fatalf("expected ocid1.lustrefilesystem.oc1.phx.id, got %v", got) + } + if got := extractLustreFilesystemId("bad-id"); got != "" { + t.Fatalf("expected empty for malformed, got %q", got) + } + if got := extractLustreFilesystemId("ocid1.lustrefilesystem.oc1.phx.id10.0.0.10@tcp/fs"); got != "" { + t.Fatalf("expected empty for malformed, got %q", got) + } +} + +func TestHelper_buildLustreVolumeHandle(t *testing.T) { + id := "ocid1.lustrefilesystem.oc1.phx.zabc" + msa := "10.0.0.10" + lnet := "tcp" + fs := "fs1" + got := buildLustreVolumeHandle(&lustre.LustreFileSystem{Id: &id, ManagementServiceAddress: &msa, Lnet: &lnet, FileSystemName: &fs}) + expected := id + ":" + msa + "@" + lnet + ":/" + fs + if got != expected { + t.Fatalf("handle mismatch: got %q, expected %q", got, expected) + } +} + +//########################### Controller Setup ###############################3 + +func newControllerWith(flustre client.LustreInterface, fid client.IdentityInterface) *LustreControllerDriver { + logger, _ := zap.NewDevelopment() + cd := &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit", Tags: &providercfg.InitialTags{ + LoadBalancer: nil, + BlockVolume: &providercfg.TagConfig{ + FreeformTags: map[string]string{"Project": "Lustre"}, + DefinedTags: map[string]map[string]interface{}{"orclcontainerengine": {"cluster": "ocid1.cluster..."}}, + }, + }}, client: &testOCIClient{lustre: flustre, id: fid}, logger: logger.Sugar()} + os.Setenv("CPO_ENABLE_RESOURCE_ATTRIBUTION", "true") + return &LustreControllerDriver{ControllerDriver: cd} +} + +type testOCIClient struct { + lustre client.LustreInterface + id client.IdentityInterface +} + +func (t *testOCIClient) Compute() client.ComputeInterface { return nil } +func (t *testOCIClient) LoadBalancer(*zap.SugaredLogger, string, *client.OCIClientConfig) client.GenericLoadBalancerInterface { + return nil +} +func (t *testOCIClient) Networking(*client.OCIClientConfig) client.NetworkingInterface { return nil } +func (t *testOCIClient) BlockStorage() client.BlockStorageInterface { return nil } +func (t *testOCIClient) FSS(*client.OCIClientConfig) client.FileStorageInterface { return nil } +func (t *testOCIClient) Lustre() client.LustreInterface { return t.lustre } +func (t *testOCIClient) Identity(*client.OCIClientConfig) client.IdentityInterface { return t.id } +func (t *testOCIClient) ContainerEngine() client.ContainerEngineInterface { return nil } +func (t *testOCIClient) NewWorkloadIdentityClient(*zap.SugaredLogger, string, *client.OCIClientConfig) client.Interface { + return t +} +func (t *testOCIClient) CertManager() client.CertificateManagerInterface { return nil } + +// Keep for compatibility if other tests add additional helpers here. + +func ptrString(s string) *string { return &s } + +func containsErr(err error, substr string) bool { + if err == nil { + return false + } + msg := status.Convert(err).Message() + return len(msg) > 0 && strings.Contains(msg, substr) +} diff --git a/pkg/csi/driver/lustre_node.go b/pkg/csi/driver/lustre_node.go index 963b648cd4..57c503f078 100644 --- a/pkg/csi/driver/lustre_node.go +++ b/pkg/csi/driver/lustre_node.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "os" + "strings" "github.com/container-storage-interface/spec/lib/go/csi" csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" @@ -37,7 +38,9 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag return nil, status.Error(codes.InvalidArgument, "Invalid fsType provided. Only \"lustre\" fsType is supported on this driver.") } - isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(req.VolumeId) + // Accept both legacy and new dynamic volume ID formats by stripping OCID prefix if present. + normalizedVolID := stripLustreOCIDPrefix(req.VolumeId) + isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(normalizedVolID) if !isValidVolumeId { return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") } @@ -118,7 +121,7 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag return &csi.NodeStageVolumeResponse{}, nil } - source := req.VolumeId + source := normalizedVolID err = mounter.Mount(source, targetPath, fsType, options) @@ -168,7 +171,8 @@ func (d LustreNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.NodeUn return nil, status.Error(codes.InvalidArgument, "Staging path must be provided") } - isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(req.VolumeId) + normalizedVolID := stripLustreOCIDPrefix(req.VolumeId) + isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(normalizedVolID) if !isValidVolumeId { return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") } @@ -255,7 +259,8 @@ func (d LustreNodeDriver) NodePublishVolume(ctx context.Context, req *csi.NodePu logger := d.logger.With("volumeID", req.VolumeId) logger.Debugf("volume context: %v", req.VolumeContext) - isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(req.VolumeId) + normalizedVolID := stripLustreOCIDPrefix(req.VolumeId) + isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(normalizedVolID) if !isValidVolumeId { return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") } @@ -338,7 +343,8 @@ func (d LustreNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi.Node return nil, status.Error(codes.InvalidArgument, "NodeUnpublishVolume: Target Path must be provided") } - isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(req.VolumeId) + normalizedVolID := stripLustreOCIDPrefix(req.VolumeId) + isValidVolumeId, lnetLabel := csi_util.ValidateLustreVolumeId(normalizedVolID) if !isValidVolumeId { return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") } @@ -443,3 +449,16 @@ func (d LustreNodeDriver) NodeGetInfo(ctx context.Context, request *csi.NodeGetI func isSkipLustreParams(csiConfig *util.CSIConfig) bool { return csiConfig != nil && csiConfig.Lustre != nil && csiConfig.Lustre.SkipLustreParameters } + +// stripLustreOCIDPrefix returns the legacy mount handle part of the volume ID. +// New dynamic format: :@:/ +// Legacy format: @:/ +func stripLustreOCIDPrefix(volumeID string) string { + // if there is a colon before '@', treat it as OCID separator. + atIdx := strings.Index(volumeID, "@") + colonIdx := strings.Index(volumeID, ":") + if atIdx > 0 && colonIdx >= 0 && colonIdx < atIdx { + return volumeID[colonIdx+1:] + } + return volumeID +} diff --git a/pkg/csi/driver/lustre_params.go b/pkg/csi/driver/lustre_params.go new file mode 100644 index 0000000000..b8ccfd6acd --- /dev/null +++ b/pkg/csi/driver/lustre_params.go @@ -0,0 +1,291 @@ +package driver + +import ( + "context" + "encoding/json" + "fmt" + "net" + "regexp" + "strconv" + "strings" + + "github.com/container-storage-interface/spec/lib/go/csi" + "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" + csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" + "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + lustre "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" + "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +// LustreStorageClassParameters holds Lustre-specific StorageClass attributes. +type LustreStorageClassParameters struct { + SubnetId string + CompartmentId string + AvailabilityDomain string + NSGIds []string + + // filesystem settings + FileSystemName string + PerformanceTier string // MBPS_PER_TB_125|250|500|1000 + KmsKeyId string + + // root squash settings + RootSquashEnabled bool + RootSquashUid int + RootSquashGid int + RootSquashUidSpecified bool + RootSquashGidSpecified bool + RootSquashClientExceptions []string + + // pass-through to VolumeContext + SetupLnet string + LustreSubnetCidr string + LustrePostMountParameters string + + // initial tags + SCTags *config.TagConfig +} + +// extractLustreStorageClassParameters parses and validates Lustre SC parameters. +// Returns: +// - updated logger (with useful fields) +// - early CreateVolumeResponse (if validation decides to short-circuit) +// - parsed parameters +// - error (grpc status) +// - done (true if CreateVolume should return early) +func extractLustreStorageClassParameters( + ctx context.Context, + d *LustreControllerDriver, + log *zap.SugaredLogger, + volumeName string, + parameters map[string]string, + identityClient client.IdentityInterface, +) (*zap.SugaredLogger, *csi.CreateVolumeResponse, *LustreStorageClassParameters, error) { + + params := &LustreStorageClassParameters{ + CompartmentId: d.config.CompartmentID, + RootSquashEnabled: false, + SCTags: &config.TagConfig{}, + } + + if d.config.Tags != nil && d.config.Tags.Lustre != nil { + if d.config.Tags.Lustre.FreeformTags != nil { + params.SCTags.FreeformTags = d.config.Tags.Lustre.FreeformTags + } + if d.config.Tags.Lustre.DefinedTags != nil { + params.SCTags.DefinedTags = d.config.Tags.Lustre.DefinedTags + } + } + + // subnetId (required) + subnetId, ok := parameters["subnetId"] + if !ok || strings.TrimSpace(subnetId) == "" { + log.Errorf("Missing required parameter: subnetId") + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Missing required parameter: subnetId") + } + params.SubnetId = subnetId + log = log.With("subnetId", subnetId) + + // compartmentId (optional; default to cluster compartment) + if compartmentId, ok := parameters["compartmentId"]; ok && strings.TrimSpace(compartmentId) != "" { + params.CompartmentId = compartmentId + } + log = log.With("compartmentId", params.CompartmentId) + + if nsgJSON, ok := parameters["nsgIds"]; ok && strings.TrimSpace(nsgJSON) != "" { + var nsgs []string + if err := json.Unmarshal([]byte(nsgJSON), &nsgs); err != nil { + log.With(zap.Error(err)).Error("Failed to parse nsgIds (expect JSON array of strings)") + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Failed to parse nsgIds (expect JSON array of strings) : %s", err.Error()) + } + params.NSGIds = nsgs + log = log.With("nsgIds", nsgs) + } + + // performanceTier (required) + if tier, ok := parameters["performanceTier"]; ok && strings.TrimSpace(tier) != "" { + t := strings.TrimSpace(tier) + if tierEnum, valid := lustre.GetMappingCreateLustreFileSystemDetailsPerformanceTierEnum(t); !valid { + return log, nil, nil, status.Errorf( + codes.InvalidArgument, + "Invalid performanceTier: %s. Supported values: %s", + t, + strings.Join(lustre.GetCreateLustreFileSystemDetailsPerformanceTierEnumStringValues(), ","), + ) + } else { + // Normalize to canonical enum string (e.g., MBPS_PER_TB_125) + params.PerformanceTier = string(tierEnum) + } + } else { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Missing required parameter: performanceTier") + } + log = log.With("performanceTier", params.PerformanceTier) + + // kmsKeyId (optional) + if kms, ok := parameters["kmsKeyId"]; ok && strings.TrimSpace(kms) != "" { + params.KmsKeyId = strings.TrimSpace(kms) + } + + // root squash (optional) + if rsEnabled, ok := parameters["rootSquashEnabled"]; ok && strings.TrimSpace(rsEnabled) != "" { + rsEnabledTrim := strings.TrimSpace(rsEnabled) + rsEnabledLower := strings.ToLower(rsEnabledTrim) + + if rsEnabledLower != "true" && rsEnabledLower != "false" { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid rootSquashEnabled: %s. Allowed values: true or false", rsEnabled) + } + params.RootSquashEnabled = strings.EqualFold(rsEnabledLower, "true") + log = log.With("rootSquashEnabled", params.RootSquashEnabled) + } + if rsUid, ok := parameters["rootSquashUid"]; ok && strings.TrimSpace(rsUid) != "" { + if uid, err := strconv.Atoi(strings.TrimSpace(rsUid)); err == nil && uid >= 0 { + params.RootSquashUid = uid + params.RootSquashUidSpecified = true + } else { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid rootSquashUid: %s", rsUid) + } + } + if rsGid, ok := parameters["rootSquashGid"]; ok && strings.TrimSpace(rsGid) != "" { + if gid, err := strconv.Atoi(strings.TrimSpace(rsGid)); err == nil && gid >= 0 { + params.RootSquashGid = gid + params.RootSquashGidSpecified = true + } else { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid rootSquashGid: %s", rsGid) + } + } + if rsEx, ok := parameters["rootSquashClientExceptions"]; ok && strings.TrimSpace(rsEx) != "" { + var exceptions []string + if err := json.Unmarshal([]byte(rsEx), &exceptions); err != nil { + log.With(zap.Error(err)).Error("Failed to parse rootSquashClientExceptions (expect JSON array of strings)") + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Failed to parse rootSquashClientExceptions (expect JSON array of strings) : %s", err.Error()) + } + if len(exceptions) > 10 { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "rootSquashClientExceptions supports max 10 entries") + } + params.RootSquashClientExceptions = exceptions + } + + // pass-through + if v, ok := parameters["setupLnet"]; ok && strings.TrimSpace(v) != "" { + setupLnet := strings.TrimSpace(v) + setupLnetLower := strings.ToLower(setupLnet) + if setupLnetLower != "true" && setupLnetLower != "false" { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid setupLnet: %s. Allowed values: true or false", v) + } + params.SetupLnet = setupLnetLower + } + if v, ok := parameters["lustreSubnetCidr"]; ok { + cidr := strings.TrimSpace(v) + if cidr != "" { + if _, _, err := net.ParseCIDR(cidr); err != nil { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid lustreSubnetCidr: %s", cidr) + } + params.LustreSubnetCidr = cidr + } + } + if v, ok := parameters["lustrePostMountParameters"]; ok { + lustrePostMountParameters := strings.TrimSpace(v) + if lustrePostMountParameters != "" { + if err := csi_util.ValidateLustreParameters(log, lustrePostMountParameters); err != nil { + log.With(zap.Error(err)).Error("Invalid lustrePostMountParameters") + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid lustrePostMountParameters: %v", err) + } + params.LustrePostMountParameters = lustrePostMountParameters + } + } + + // filesystemName (optional, default derive from volumeName last 8 allowed chars) + if fsn, ok := parameters["fileSystemName"]; ok && strings.TrimSpace(fsn) != "" { + fileSystemName := strings.TrimSpace(fsn) + if err := validateLustreFileSystemName(fileSystemName); err != nil { + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid fileSystemName: %v", err) + } + params.FileSystemName = fileSystemName + } else { + params.FileSystemName = deriveDefaultFSName(volumeName) + } + + // initialFreeformTagsOverride, initialDefinedTagsOverride come + if freeformStr, ok := parameters[initialFreeformTagsOverride]; ok && strings.TrimSpace(freeformStr) != "" { + freeform := make(map[string]string) + if err := json.Unmarshal([]byte(freeformStr), &freeform); err != nil { + log.With(zap.Error(err)).Errorf("failed to parse freeform tags provided for storageclass, freeformStr : %v", freeformStr) + return log, nil, nil, status.Errorf(codes.InvalidArgument, "failed to parse freeform tags provided for storageclass : %s", err.Error()) + } + params.SCTags.FreeformTags = freeform + } + if definedStr, ok := parameters[initialDefinedTagsOverride]; ok && strings.TrimSpace(definedStr) != "" { + defined := make(map[string]map[string]interface{}) + if err := json.Unmarshal([]byte(definedStr), &defined); err != nil { + log.With(zap.Error(err)).Errorf("failed to parse defined tags provided for storageclass, definedStr : %v", definedStr) + return log, nil, nil, status.Errorf(codes.InvalidArgument, "failed to parse defined tags provided for storageclass : %s", err.Error()) + } + params.SCTags.DefinedTags = defined + } + + // availabilityDomain (mandatory) + if ad, ok := parameters["availabilityDomain"]; ok && strings.TrimSpace(ad) != "" { + // Validate with Identity if provided, and normalize to full AD name (tenancy-prefixed) + adTrim := strings.TrimSpace(ad) + if full, err := identityClient.GetAvailabilityDomainByName(ctx, params.CompartmentId, adTrim); err != nil { + log.With(zap.Error(err)).Errorf("Invalid availabilityDomain: %s (from storage class) for compartment: %s", adTrim, params.CompartmentId) + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Invalid availabilityDomain: %s for compartment %s, error: %v", adTrim, params.CompartmentId, err) + } else { + params.AvailabilityDomain = *full.Name + } + log = log.With("availabilityDomain", params.AvailabilityDomain) + log.Info("AD is provided in storage class.") + } else { + log.Errorf("Missing required parameter: availabilityDomain") + return log, nil, nil, status.Errorf(codes.InvalidArgument, "Missing required parameter: availabilityDomain") + } + + log.Info("Successfully parsed Lustre storage class parameters") + return log, nil, params, nil +} + +// validateLustreFileSystemName enforces max 8 chars and allowed charset [A-Za-z0-9_] +func validateLustreFileSystemName(name string) error { + if name == "" { + return fmt.Errorf("empty") + } + if len(name) > 8 { + return fmt.Errorf("length must be <= 8") + } + ok, _ := regexp.MatchString(`^[A-Za-z0-9_]+$`, name) + if !ok { + return fmt.Errorf("allowed characters are [A-Za-z0-9_]") + } + return nil +} + +// deriveDefaultFSName picks the last 8 allowed characters from volumeName. +// If insufficient allowed chars, fall back to truncation with sanitization. +func deriveDefaultFSName(volumeName string) string { + if volumeName == "" { + return "pvlustre" //Just having default here, but volume name will not be empty as we check that in CreateVolume + } + // collect allowed chars from the end + allowed := []rune{} + for i := len(volumeName) - 1; i >= 0 && len(allowed) <= 6; i-- { + ch := rune(volumeName[i]) + if (ch >= 'a' && ch <= 'z') || + (ch >= 'A' && ch <= 'Z') || + (ch >= '0' && ch <= '9') { + allowed = append([]rune{ch}, allowed...) + } + } + + fs := string(allowed) + if len(fs) > 6 { + fs = fs[len(fs)-6:] + } + fs = "pv" + fs //autogenerated names will start with pv + // final sanity check + if err := validateLustreFileSystemName(fs); err != nil { + return "pvlustre" + } + return fs +} diff --git a/pkg/csi/driver/lustre_params_test.go b/pkg/csi/driver/lustre_params_test.go new file mode 100644 index 0000000000..74f6d55201 --- /dev/null +++ b/pkg/csi/driver/lustre_params_test.go @@ -0,0 +1,407 @@ +package driver + +import ( + "context" + "encoding/json" + "strings" + "testing" + + providercfg "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" + "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +// helper to call extractLustreStorageClassParameters +func parseParams(t *testing.T, p map[string]string, identity client.IdentityInterface) (*LustreStorageClassParameters, error) { + d := &LustreControllerDriver{ControllerDriver: &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} + _, _, parsed, err := extractLustreStorageClassParameters(context.Background(), d, zap.S(), "vol-1", p, identity) + if err != nil { + return nil, err + } + return parsed, err +} + +func TestLustreParams_MissingSubnetId(t *testing.T) { + p := map[string]string{ + "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2", + } + _, err := parseParams(t, p, nil) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument, got %v", err) + } +} + +func TestLustreParams_PerformanceTierValidation(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "mbps_per_tb_250", + "availabilityDomain": "PHX-AD-2", + } + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if parsed.PerformanceTier != "MBPS_PER_TB_250" { + t.Fatalf("expected canonical tier MBPS_PER_TB_250 got %s", parsed.PerformanceTier) + } + + p["performanceTier"] = "FASTEST" + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for invalid tier, got %v", err) + } +} + +func TestLustreParams_NSGIdsParsing(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + } + ids := []string{"ocid1.nsg.oc1..a", "ocid1.nsg.oc1..b"} + b, _ := json.Marshal(ids) + p["nsgIds"] = string(b) + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if len(parsed.NSGIds) != 2 { + t.Fatalf("expected 2 nsg ids, got %v", parsed.NSGIds) + } + + p["nsgIds"] = "not-json" + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for bad json, got %v", err) + } +} + +func TestLustreParams_SetupLnetAndCidrAndPostMountParams(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_500", + "availabilityDomain": "PHX-AD-2", + "setupLnet": "TrUE", + "lustreSubnetCidr": "10.0.0.0/24", + "lustrePostMountParameters": "[{}]", + } + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if parsed.SetupLnet != "true" { + t.Fatalf("expected setupLnet normalized true, got %s", parsed.SetupLnet) + } + + p["lustreSubnetCidr"] = "bad-cidr" + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for bad cidr, got %v", err) + } + + p["lustreSubnetCidr"] = "10.0.1.0/24" + p["lustrePostMountParameters"] = "not-json" + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for bad post mount params, got %v", err) + } +} + +func TestLustreParams_RootSquashValidation(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "rootSquashEnabled": "truely", + "rootSquashUid": "-1", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for negative uid, got %v", err) + } + + p["rootSquashUid"] = "1000" + // >10 exceptions + ex := make([]string, 11) + for i := 0; i < 11; i++ { + ex[i] = "10.0.0.1" + } + b, _ := json.Marshal(ex) + p["rootSquashClientExceptions"] = string(b) + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for >10 exceptions, got %v", err) + } +} + +func TestLustreParams_FileSystemNameValidation(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "fileSystemName": "INVALID-NAME", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for invalid fs name, got %v", err) + } + + p["fileSystemName"] = "mylustre" + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if parsed.FileSystemName != "mylustre" { + t.Fatalf("expected mylustre, got %s", parsed.FileSystemName) + } +} + +func TestLustreParams_AvailabilityDomain_ExplicitValidNormalization(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + } + d := &LustreControllerDriver{ControllerDriver: &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} + _, _, parsed, err := extractLustreStorageClassParameters(context.Background(), d, zap.S(), "vol-xyz", p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if parsed.AvailabilityDomain == "PHX-AD-2" || parsed.AvailabilityDomain == "" { + t.Fatalf("expected normalized AD name, got %q", parsed.AvailabilityDomain) + } +} + +func TestLustreParams_TagsOverrides_ValidAndInvalid(t *testing.T) { + free := map[string]string{"env": "dev"} + def := map[string]map[string]interface{}{"ns": {"k": "v"}} + freeJSON, _ := json.Marshal(free) + defJSON, _ := json.Marshal(def) + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + initialFreeformTagsOverride: string(freeJSON), + initialDefinedTagsOverride: string(defJSON), + } + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if parsed.SCTags.FreeformTags["env"] != "dev" { + t.Fatalf("expected freeform tag env=dev, got %v", parsed.SCTags.FreeformTags) + } + if _, ok := parsed.SCTags.DefinedTags["ns"]; !ok { + t.Fatalf("expected defined tag ns") + } + + // invalid JSON + p[initialFreeformTagsOverride] = "not-json" + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for invalid freeform tags json, got %v", err) + } + delete(p, initialFreeformTagsOverride) + p[initialDefinedTagsOverride] = "not-json" + _, err = parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument { + t.Fatalf("expected InvalidArgument for invalid defined tags json, got %v", err) + } +} + +func TestLustreParams_NSGIds_Omitted(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + } + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if len(parsed.NSGIds) != 0 { + t.Fatalf("expected empty NSGIds when omitted, got %v", parsed.NSGIds) + } +} + +func TestLustreParams_DeriveDefaultFSName(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + } + d := &LustreControllerDriver{ControllerDriver: &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} + _, _, parsed, err := extractLustreStorageClassParameters(context.Background(), d, zap.S(), "vol-abc_DEF123", p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected error: %v", err) + } + if parsed.FileSystemName == "" || len(parsed.FileSystemName) > 8 { + t.Fatalf("expected derived fs name <=8 chars, got %q", parsed.FileSystemName) + } +} + +func TestDeriveDefaultFSName_Empty(t *testing.T) { + got := deriveDefaultFSName("") + if got != "pvlustre" { + t.Fatalf("expected 'pvlustre' for empty volumeName, got %q", got) + } +} + +func TestDeriveDefaultFSName_WithSixLetters(t *testing.T) { + got := deriveDefaultFSName("abcdef") + if got != "pvabcdef" { + t.Fatalf("expected 'pvabcdef' for 'abcdef', got %q", got) + } +} + +func TestDeriveDefaultFSName_WithMoreThanSixLetters(t *testing.T) { + got := deriveDefaultFSName("abcdefghijk") + if got != "pvfghijk" { + t.Fatalf("expected 'pvfghijk' for 'abcdefghijk', got %q", got) + } +} + +func TestDeriveDefaultFSName_WithFewerThanSixLetters(t *testing.T) { + got := deriveDefaultFSName("abc") + if got != "pvabc" { + t.Fatalf("expected 'pvabc' for 'abc', got %q", got) + } +} + +func TestDeriveDefaultFSName_NoLetters(t *testing.T) { + got := deriveDefaultFSName("123456") + if got != "pv123456" { + t.Fatalf("expected 'pv123456' for '123456', got %q", got) + } +} + +func TestDeriveDefaultFSName_WithNumbersAndSymbols(t *testing.T) { + got := deriveDefaultFSName("a1b@c2d#e3f") + if got != "pvc2de3f" { + t.Fatalf("expected 'pvc2de3f' for 'a1b@c2d#e3f', got %q", got) + } +} + +func TestDeriveDefaultFSName_CaseSensitive(t *testing.T) { + got := deriveDefaultFSName("AbCdEf") + if got != "pvAbCdEf" { + t.Fatalf("expected 'pvAbCdEf' for 'AbCdEf', got %q", got) + } +} + +func TestDeriveDefaultFSName_MixedCaseAndNumbers(t *testing.T) { + got := deriveDefaultFSName("Vol123Abc") + if got != "pv123Abc" { + t.Fatalf("expected 'pv123Abc' for 'Vol123Abc', got %q", got) + } +} + +func TestDeriveDefaultFSName_SingleLetter(t *testing.T) { + got := deriveDefaultFSName("a") + if got != "pva" { + t.Fatalf("expected 'pva' for 'a', got %q", got) + } +} + +func TestDeriveDefaultFSName_AllLetters(t *testing.T) { + got := deriveDefaultFSName("ABCDEFGHIJKLMNOPQRSTUVWXYZ") + if got != "pvUVWXYZ" { + t.Fatalf("expected 'pvUVWXYZ' for 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', got %q", got) + } +} + +func TestValidateLustreFileSystemName_Empty(t *testing.T) { + err := validateLustreFileSystemName("") + if err == nil || !strings.Contains(err.Error(), "empty") { + t.Fatalf("expected error containing 'empty', got %v", err) + } +} + +func TestValidateLustreFileSystemName_InvalidPattern(t *testing.T) { + err := validateLustreFileSystemName("invalid@") + if err == nil || !strings.Contains(err.Error(), "allowed characters") { + t.Fatalf("expected error containing 'allowed characters', got %v", err) + } +} + +func TestLustreParams_InvalidSetupLnet(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "setupLnet": "invalid", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument || !strings.Contains(err.Error(), "Invalid setupLnet") { + t.Fatalf("expected InvalidArgument with 'Invalid setupLnet', got %v", err) + } +} + +func TestLustreParams_InvalidRootSquashClientExceptions(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "rootSquashClientExceptions": "not-json", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument || !strings.Contains(err.Error(), "Failed to parse rootSquashClientExceptions") { + t.Fatalf("expected InvalidArgument with parse error, got %v", err) + } +} + +func TestLustreParams_MissingPerformanceTier(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "availabilityDomain": "PHX-AD-2", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument || !strings.Contains(err.Error(), "Missing required parameter: performanceTier") { + t.Fatalf("expected InvalidArgument for missing performanceTier, got %v", err) + } +} + +func TestLustreParams_CompartmentIdPassed(t *testing.T) { + testComp := "ocid1.compartment.oc1..test" + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "compartmentId": testComp, + } + parsed, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if err != nil { + t.Fatalf("unexpected err: %v", err) + } + if parsed.CompartmentId != testComp { + t.Fatalf("expected compartmentId %q, got %q", testComp, parsed.CompartmentId) + } +} + +func TestLustreParams_NonIntRootSquashUid(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "rootSquashUid": "abc", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument || !strings.Contains(err.Error(), "Invalid rootSquashUid") { + t.Fatalf("expected InvalidArgument for non-int uid, got %v", err) + } +} + +func TestLustreParams_NonIntRootSquashGid(t *testing.T) { + p := map[string]string{ + "subnetId": "ocid1.subnet.oc1..example", + "performanceTier": "MBPS_PER_TB_125", + "availabilityDomain": "PHX-AD-2", + "rootSquashGid": "abc", + } + _, err := parseParams(t, p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) + if status.Code(err) != codes.InvalidArgument || !strings.Contains(err.Error(), "Invalid rootSquashGid") { + t.Fatalf("expected InvalidArgument for non-int gid, got %v", err) + } +} diff --git a/pkg/metrics/constants.go b/pkg/metrics/constants.go index 0fbe9fdc5b..e92686de07 100644 --- a/pkg/metrics/constants.go +++ b/pkg/metrics/constants.go @@ -83,6 +83,11 @@ const ( // FssAllDelete is the OCI metric suffix for FSS end to end deletion FssAllDelete = "FSS_ALL_DELETE" + // LustreProvision is the OCI metric suffix for Lustre end to end provision + LustreProvision = "LUSTRE_PROVISION" + // LustreDelete is the OCI metric suffix for Lustre end to end deletion + LustreDelete = "LUSTRE_DELETE" + ResourceOCIDDimension = "resourceOCID" ComponentDimension = "component" BackendSetsCountDimension = "backendSetsCount" diff --git a/pkg/oci/client/block_storage.go b/pkg/oci/client/block_storage.go index 0d612b57cf..3692daed5f 100644 --- a/pkg/oci/client/block_storage.go +++ b/pkg/oci/client/block_storage.go @@ -16,7 +16,6 @@ package client import ( "context" - "time" "github.com/oracle/oci-cloud-controller-manager/pkg/util" @@ -99,7 +98,7 @@ func (c *client) GetBootVolume(ctx context.Context, id string) (*core.BootVolume } resp, err := c.bs.GetBootVolume(ctx, core.GetBootVolumeRequest{ - BootVolumeId: &id, + BootVolumeId: &id, RequestMetadata: c.requestMetadata}) incRequestCounter(err, getVerb, volumeResource) diff --git a/pkg/oci/client/client.go b/pkg/oci/client/client.go index dd362ad66a..12e7a6da69 100644 --- a/pkg/oci/client/client.go +++ b/pkg/oci/client/client.go @@ -25,6 +25,7 @@ import ( "github.com/oracle/oci-go-sdk/v65/filestorage" "github.com/oracle/oci-go-sdk/v65/identity" "github.com/oracle/oci-go-sdk/v65/loadbalancer" + "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" "github.com/oracle/oci-go-sdk/v65/networkloadbalancer" "github.com/pkg/errors" "go.uber.org/zap" @@ -48,6 +49,7 @@ type Interface interface { Networking(*OCIClientConfig) NetworkingInterface BlockStorage() BlockStorageInterface FSS(*OCIClientConfig) FileStorageInterface + Lustre() LustreInterface Identity(*OCIClientConfig) IdentityInterface } @@ -190,6 +192,7 @@ type client struct { bs blockstorageClient identity identityClient //compartment compartmentClient + lustre lustrefilestorage.LustreFileStorageClient requestMetadata common.RequestMetadata rateLimiter RateLimiter @@ -283,7 +286,14 @@ func New(logger *zap.SugaredLogger, cp common.ConfigurationProvider, opRateLimit if err != nil { return nil, errors.Wrap(err, "configuring file storage service client custom transport") } - + lustreClient, err := lustrefilestorage.NewLustreFileStorageClientWithConfigurationProvider(cp) + if err != nil { + return nil, errors.Wrap(err, "NewLustreFileStorageClientWithConfigurationProvider") + } + err = configureCustomTransport(logger, &lustreClient.BaseClient) + if err != nil { + return nil, errors.Wrap(err, "configuring lustre file storage client custom transport") + } requestMetadata := common.RequestMetadata{ RetryPolicy: newRetryPolicy(), } @@ -300,7 +310,7 @@ func New(logger *zap.SugaredLogger, cp common.ConfigurationProvider, opRateLimit bs: &bs, filestorage: &fss, //compartment: &compartment, - + lustre: lustreClient, rateLimiter: *opRateLimiter, requestMetadata: requestMetadata, @@ -407,6 +417,10 @@ func (c *client) Networking(ociClientConfig *OCIClientConfig) NetworkingInterfac return c } +func (c *client) Lustre() LustreInterface { + return c +} + func (c *client) Compute() ComputeInterface { return c } diff --git a/pkg/oci/client/lustre.go b/pkg/oci/client/lustre.go new file mode 100644 index 0000000000..3cca73e258 --- /dev/null +++ b/pkg/oci/client/lustre.go @@ -0,0 +1,301 @@ +// Copyright 2018-2026 Oracle and/or its affiliates. All rights reserved. +// Licensed under the Apache License, Version 2.0 + +package client + +import ( + "context" + "fmt" + "time" + + "github.com/oracle/oci-cloud-controller-manager/pkg/util" + lustre "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" + "github.com/pkg/errors" + "go.uber.org/zap" + "k8s.io/apimachinery/pkg/util/wait" +) + +const ( + lustreDefaultCreateInterval = 30 * time.Second + lustreDefaultDeleteInterval = 45 * time.Second +) + +// LustreInterface defines the interface to OCI File Storage with Lustre consumed by the CSI controller. +type LustreInterface interface { + // CRUD + CreateLustreFileSystem(ctx context.Context, details lustre.CreateLustreFileSystemDetails) (*lustre.LustreFileSystem, error) + GetLustreFileSystem(ctx context.Context, id string) (*lustre.LustreFileSystem, error) + ListLustreFileSystems(ctx context.Context, compartmentID, ad, displayName string) ([]lustre.LustreFileSystemSummary, error) + DeleteLustreFileSystem(ctx context.Context, id string) error + + // Waiters + AwaitLustreFileSystemActive(ctx context.Context, logger *zap.SugaredLogger, id string) (*lustre.LustreFileSystem, error) + AwaitLustreFileSystemDeleted(ctx context.Context, logger *zap.SugaredLogger, id string) error + + // Work requests + ListWorkRequests(ctx context.Context, compartmentID, resourceID string) ([]lustre.WorkRequestSummary, error) + ListWorkRequestErrors(ctx context.Context, workRequestID string, volumeID string) ([]lustre.WorkRequestError, error) +} + +// CreateLustreFileSystem creates a Lustre file system and returns the created object. +func (c *client) CreateLustreFileSystem(ctx context.Context, details lustre.CreateLustreFileSystemDetails) (*lustre.LustreFileSystem, error) { + if !c.rateLimiter.Writer.TryAccept() { + return nil, RateLimitError(false, "CreateLustreFileSystem") + } + + resp, err := c.lustre.CreateLustreFileSystem(ctx, lustre.CreateLustreFileSystemRequest{ + CreateLustreFileSystemDetails: details, + OpcRetryToken: details.DisplayName, // idempotency token (csi-lustre-) + RequestMetadata: c.requestMetadata, + }) + incRequestCounter(err, createVerb, "lustreFileSystem") + + if resp.OpcRequestId != nil { + c.logger.With("service", "lustre", "verb", createVerb, "resource", "lustreFileSystem"). + With("volumeName", details.DisplayName, "OpcRequestId", *(resp.OpcRequestId)). + With("statusCode", util.GetHttpStatusCode(err)). + Info("OPC Request ID recorded for CreateLustreFileSystem call.") + } + + if err != nil { + return nil, errors.WithStack(err) + } + + ls := resp.LustreFileSystem + return &ls, nil +} + +// GetLustreFileSystem gets a Lustre file system by OCID. +func (c *client) GetLustreFileSystem(ctx context.Context, id string) (*lustre.LustreFileSystem, error) { + if !c.rateLimiter.Reader.TryAccept() { + return nil, RateLimitError(false, "GetLustreFileSystem") + } + + resp, err := c.lustre.GetLustreFileSystem(ctx, lustre.GetLustreFileSystemRequest{ + LustreFileSystemId: &id, + RequestMetadata: c.requestMetadata, + }) + incRequestCounter(err, getVerb, "lustreFileSystem") + + if resp.OpcRequestId != nil { + c.logger.With("service", "lustre", "verb", getVerb, "resource", "lustreFileSystem"). + With("volumeID", id, "OpcRequestId", *(resp.OpcRequestId)). + With("statusCode", util.GetHttpStatusCode(err)). + Info("OPC Request ID recorded for GetLustreFileSystem call.") + } + + if err != nil { + return nil, errors.WithStack(err) + } + ls := resp.LustreFileSystem + return &ls, nil +} + +// ListLustreFileSystems lists Lustre file systems filtered by compartment, AD, and displayName. +// Only ACTIVE and CREATING states are returned; conflicting states are returned with an error flag. +func (c *client) ListLustreFileSystems(ctx context.Context, compartmentID, ad, displayName string) ([]lustre.LustreFileSystemSummary, error) { + var page *string + items := make([]lustre.LustreFileSystemSummary, 0) + + for { + if !c.rateLimiter.Reader.TryAccept() { + return nil, RateLimitError(false, "ListLustreFileSystems") + } + + req := lustre.ListLustreFileSystemsRequest{ + CompartmentId: &compartmentID, + RequestMetadata: c.requestMetadata, + Page: page, + } + if displayName != "" { + req.DisplayName = &displayName + } + if ad != "" { + req.AvailabilityDomain = &ad + } + + resp, err := c.lustre.ListLustreFileSystems(ctx, req) + incRequestCounter(err, listVerb, "lustreFileSystem") + + if resp.OpcRequestId != nil { + c.logger.With("service", "lustre", "verb", listVerb, "resource", "lustreFileSystem"). + With("compartmentID", compartmentID, "availabilityDomain", ad, "volumeName", displayName, "OpcRequestId", *(resp.OpcRequestId)). + With("statusCode", util.GetHttpStatusCode(err)). + Info("OPC Request ID recorded for ListLustreFileSystems call.") + } + + if err != nil { + return nil, errors.WithStack(err) + } + + for _, s := range resp.LustreFileSystemCollection.Items { + items = append(items, s) + } + + if page = resp.OpcNextPage; page == nil { + break + } + } + return items, nil +} + +// DeleteLustreFileSystem deletes a Lustre file system by OCID. +func (c *client) DeleteLustreFileSystem(ctx context.Context, id string) error { + if !c.rateLimiter.Writer.TryAccept() { + return RateLimitError(true, "DeleteLustreFileSystem") + } + + resp, err := c.lustre.DeleteLustreFileSystem(ctx, lustre.DeleteLustreFileSystemRequest{ + LustreFileSystemId: &id, + RequestMetadata: c.requestMetadata, + }) + incRequestCounter(err, deleteVerb, "lustreFileSystem") + + if resp.OpcRequestId != nil { + c.logger.With("service", "lustre", "verb", deleteVerb, "resource", "lustreFileSystem"). + With("volumeID", id, "OpcRequestId", *(resp.OpcRequestId)). + With("statusCode", util.GetHttpStatusCode(err)). + Info("OPC Request ID recorded for DeleteLustreFileSystem call.") + } + + if err != nil { + return errors.WithStack(err) + } + return nil +} + +// AwaitLustreFileSystemActive waits for the Lustre file system to become ACTIVE or returns error on terminal states. +func (c *client) AwaitLustreFileSystemActive(ctx context.Context, logger *zap.SugaredLogger, id string) (*lustre.LustreFileSystem, error) { + logger.Info("Waiting for LustreFileSystem to go in lifecycle state ACTIVE") + + var fs *lustre.LustreFileSystem + err := wait.PollUntilContextCancel(ctx, lustreDefaultCreateInterval, true, func(ctx context.Context) (bool, error) { + logger.Debug("Polling LustreFileSystem lifecycle state") + + var err error + fs, err = c.GetLustreFileSystem(ctx, id) + if err != nil { + return false, err + } + + switch state := fs.LifecycleState; state { + case lustre.LustreFileSystemLifecycleStateActive: + logger.Infof("LustreFileSystem is in lifecycle state %q", state) + return true, nil + case lustre.LustreFileSystemLifecycleStateDeleting, + lustre.LustreFileSystemLifecycleStateDeleted, + lustre.LustreFileSystemLifecycleStateFailed: + return false, fmt.Errorf("LustreFileSystem is in lifecycle state %q", state) + default: + logger.Infof("LustreFileSystem is in lifecycle state %q", state) + return false, nil + } + }) + if err != nil { + return nil, err + } + return fs, nil +} + +// AwaitLustreFileSystemDeleted waits until the Lustre file system is deleted (404 or DELETED). +func (c *client) AwaitLustreFileSystemDeleted(ctx context.Context, logger *zap.SugaredLogger, id string) error { + logger.Info("Waiting for LustreFileSystem to be DELETED") + + return wait.PollUntilContextCancel(ctx, lustreDefaultDeleteInterval, true, func(ctx context.Context) (bool, error) { + logger.Debug("Polling LustreFileSystem deletion state") + + fs, err := c.GetLustreFileSystem(ctx, id) + if err != nil { + if IsNotFound(err) { + logger.Info("LustreFileSystem is deleted (not found).") + return true, nil + } + return false, err + } + switch state := fs.LifecycleState; state { + case lustre.LustreFileSystemLifecycleStateDeleted: + logger.Info("LustreFileSystem is DELETED") + return true, nil + case lustre.LustreFileSystemLifecycleStateDeleting: + logger.Debugf("LustreFileSystem is still DELETING") + return false, nil + default: + logger.Infof("LustreFileSystem is in state %v", state) + return false, nil + } + }) +} + +// ListWorkRequests lists Lustre work requests filtered by compartment and resourceId, sorted by timeAccepted desc. +func (c *client) ListWorkRequests(ctx context.Context, compartmentID, resourceID string) ([]lustre.WorkRequestSummary, error) { + var page *string + var items []lustre.WorkRequestSummary + + for { + if !c.rateLimiter.Reader.TryAccept() { + return nil, RateLimitError(false, "ListWorkRequests") + } + resp, err := c.lustre.ListWorkRequests(ctx, lustre.ListWorkRequestsRequest{ + CompartmentId: &compartmentID, + ResourceId: &resourceID, + SortBy: lustre.ListWorkRequestsSortByTimeaccepted, + SortOrder: lustre.ListWorkRequestsSortOrderDesc, + Page: page, + RequestMetadata: c.requestMetadata, + }) + incRequestCounter(err, listVerb, "lustreWorkRequests") + + if resp.OpcRequestId != nil { + c.logger.With("service", "lustre", "verb", listVerb, "resource", "lustreWorkRequests"). + With("compartmentID", compartmentID, "volumeID", resourceID, "OpcRequestId", *(resp.OpcRequestId)). + With("statusCode", util.GetHttpStatusCode(err)). + Info("OPC Request ID recorded for lustre ListWorkRequests call.") + } + + if err != nil { + return nil, errors.WithStack(err) + } + + items = append(items, resp.WorkRequestSummaryCollection.Items...) + if page = resp.OpcNextPage; page == nil { + break + } + } + return items, nil +} + +// ListWorkRequestErrors returns work request errors for a given work request id. +func (c *client) ListWorkRequestErrors(ctx context.Context, workRequestID string, volumeID string) ([]lustre.WorkRequestError, error) { + var page *string + var items []lustre.WorkRequestError + + for { + if !c.rateLimiter.Reader.TryAccept() { + return nil, RateLimitError(false, "ListWorkRequestErrors") + } + resp, err := c.lustre.ListWorkRequestErrors(ctx, lustre.ListWorkRequestErrorsRequest{ + WorkRequestId: &workRequestID, + SortBy: lustre.ListWorkRequestErrorsSortByTimestamp, + SortOrder: lustre.ListWorkRequestErrorsSortOrderDesc, + Page: page, + RequestMetadata: c.requestMetadata, + }) + + if resp.OpcRequestId != nil { + c.logger.With("service", "lustre", "verb", listVerb, "resource", "lustreWorkRequestErrors"). + With("workRequestID", workRequestID, "volumeID", volumeID, "OpcRequestId", *(resp.OpcRequestId)). + With("statusCode", util.GetHttpStatusCode(err)). + Info("OPC Request ID recorded for lustre ListWorkRequestErrors call.") + } + + incRequestCounter(err, listVerb, "lustreWorkRequestErrors") + if err != nil { + return nil, errors.WithStack(err) + } + items = append(items, resp.WorkRequestErrorCollection.Items...) + if page = resp.OpcNextPage; page == nil { + break + } + } + return items, nil +} diff --git a/pkg/util/commons_test.go b/pkg/util/commons_test.go index a81fd1638f..3fc96cf22a 100644 --- a/pkg/util/commons_test.go +++ b/pkg/util/commons_test.go @@ -152,6 +152,10 @@ func TestIsCommonTagPresent(t *testing.T) { FreeformTags: nil, DefinedTags: nil, }, + Lustre: &config.TagConfig{ + FreeformTags: nil, + DefinedTags: nil, + }, }, want: false, }, diff --git a/pkg/util/mock_oci_clients.go b/pkg/util/mock_oci_clients.go index c388cc7e25..8e4a1cd924 100644 --- a/pkg/util/mock_oci_clients.go +++ b/pkg/util/mock_oci_clients.go @@ -2,9 +2,11 @@ package util import ( "context" + "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/core" "github.com/oracle/oci-go-sdk/v65/filestorage" + lustre "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" ) type MockOCIBlockStorageClient struct { @@ -19,6 +21,10 @@ type MockOCIFileStorageClient struct { client filestorage.FileStorageClient } +type MockOCILustreFileStorageClient struct { + client lustre.LustreFileStorageClient +} + func (c MockOCIFileStorageClient) ListMountTargets(ctx context.Context, request filestorage.ListMountTargetsRequest) (response filestorage.ListMountTargetsResponse, err error) { if *request.DisplayName == "mount-target-idempotency-check-timeout-volume" { select { diff --git a/pkg/volume/provisioner/block/block_test.go b/pkg/volume/provisioner/block/block_test.go index 38d83ab171..be0cf6791b 100644 --- a/pkg/volume/provisioner/block/block_test.go +++ b/pkg/volume/provisioner/block/block_test.go @@ -376,10 +376,6 @@ type MockIdentityClient struct { common.BaseClient } -func (client MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { - return nil, nil -} - // ListAvailabilityDomains mocks the client ListAvailabilityDomains implementation func (client MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { return nil, nil @@ -390,6 +386,10 @@ type MockProvisionerClient struct { Storage *MockBlockStorageClient } +func (p *MockProvisionerClient) Lustre() client.LustreInterface { + return nil +} + // BlockStorage mocks client BlockStorage implementation func (p *MockProvisionerClient) BlockStorage() client.BlockStorageInterface { return p.Storage diff --git a/pkg/volume/provisioner/fss/fss_test.go b/pkg/volume/provisioner/fss/fss_test.go index e9193f1f07..197284d1a1 100644 --- a/pkg/volume/provisioner/fss/fss_test.go +++ b/pkg/volume/provisioner/fss/fss_test.go @@ -382,10 +382,6 @@ type MockIdentityClient struct { common.BaseClient } -func (client MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { - return nil, nil -} - // ListAvailabilityDomains mocks the client ListAvailabilityDomains implementation func (client MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { return nil, nil @@ -396,6 +392,10 @@ type MockProvisionerClient struct { Storage *MockBlockStorageClient } +func (p *MockProvisionerClient) Lustre() client.LustreInterface { + return nil +} + // BlockStorage mocks client BlockStorage implementation func (p *MockProvisionerClient) BlockStorage() client.BlockStorageInterface { return p.Storage diff --git a/test/e2e/cloud-provider-oci/lustre.go b/test/e2e/cloud-provider-oci/lustre.go new file mode 100644 index 0000000000..acb236450e --- /dev/null +++ b/test/e2e/cloud-provider-oci/lustre.go @@ -0,0 +1,164 @@ +// Copyright 2021 Oracle and/or its affiliates. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package e2e + +import ( + "context" + + . "github.com/onsi/ginkgo" + . "github.com/onsi/gomega" + "github.com/oracle/oci-cloud-controller-manager/test/e2e/framework" + v1 "k8s.io/api/core/v1" + "k8s.io/utils/pointer" +) + +var _ = Describe("Lustre E2E Tests", func() { + f := framework.NewDefaultFramework("lustre-dynamic-e2e") + Context("[cloudprovider][storage][csi][lustre]", func() { + + It("All the lustre dynamic provisioning and static provisioning tests", func() { + framework.Logf("Compartment %v", setupF.Compartment1) + f.CleanupLustreFileSystems(context.Background(), setupF.Compartment1) + + if !setupF.EnableLustreTests { + Skip("Skipping Lustre tests as Lustre tests are not been enabled (Env var: ENABLE_LUSTRE_TESTS)") + } + + By("Running test: Lustre Dynamic Provisioning - Create lustre file storage dynamically and deploy multiple pods for reading and writing data.") + pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-lustre-e2e-test") + + parameters := map[string]string{ + "subnetId": setupF.LustreSubnet, + "availabilityDomain": setupF.LustreAD, + "performanceTier": "MBPS_PER_TB_125", + "setupLnet": "true", + "lustrePostMountParameters": "[{\"*.*.*MDT*.lru_size\" : 11201}]", + } + if setupF.LustreKMSKey != "" { + parameters["kmsKeyId"] = setupF.LustreKMSKey + } + if setupF.LustreSubnetCidr != "" { + parameters["lustreSubnetCidr"] = setupF.LustreSubnetCidr + } + + scName := f.CreateStorageClassOrFail("lustre-high-perf", setupF.LustreProvisionerName, parameters, pvcJig.Labels, "WaitForFirstConsumer", false, "Delete", nil) + + pvc := pvcJig.CreateAndAwaitPVCOrFailDynamicLustre(f.Namespace.Name, "31200G", scName, v1.ClaimPending, nil) + + config := &framework.PodConfig{ + NodeSelector: map[string]string{ + "oci.oraclecloud.com/lustre-client-configured": "true", + }, + Tolerations: []v1.Toleration{ + { + Key: "dedicated", + Operator: v1.TolerationOpEqual, + Value: "lustre", + Effect: v1.TaintEffectNoSchedule, + }, + }, + } + pvcJig.CheckMultiplePodReadWriteGeneric(f.Namespace.Name, pvc.Name, config) + pvcWithDetails := pvcJig.GetPVCByName(pvc.Name, f.Namespace.Name) // refetching PVC to load PV details + pvc = &pvcWithDetails + f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) + pv := pvcJig.GetPVByName(pvc.Spec.VolumeName) + Expect(pv).ToNot(BeNil(), "PV Not present") + + // This dynamically provisioned LFS will be used for additional static provisioning tests due to cost reasons + setupF.LustreVolumeHandle = pv.Spec.CSI.VolumeHandle + By("Completed test: Lustre Dynamic Provisioning - Create lustre file storage dynamically and deploy multiple pods for reading and writing data.") + + By("Running test: Lustre Static Provisioning - Multiple pods should be able to read/write to statically provisioned LFS.") + pvVolumeAttributes := map[string]string{"setupLnet": "true"} + if setupF.LustreSubnetCidr != "" { + pvVolumeAttributes["lustreSubnetCidr"] = setupF.LustreSubnetCidr + } + + pv1 := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes) + pvc1 := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv1.Name, "31200G", nil) + f.VolumeIds = append(f.VolumeIds, pvc1.Spec.VolumeName) + pvcJig.CheckMultiplePodReadWriteGeneric(f.Namespace.Name, pvc1.Name, config) + err := pvcJig.DeleteAndAwaitPVC(f.Namespace.Name, pvc1.Name) + Expect(err).To(BeNil(), "PCV Deletion failed") + err = pvcJig.DeleteAndAwaitPV(pv1.Name) + Expect(err).To(BeNil(), "PV Deletion failed") + + By("Complete: Lustre Static Provisioning - Multiple pods should be able to read/write to statically provisioned LFS.") + + By("Running test: Lustre Static Provisioning - Post mount parameters") + pvVolumeAttributes2 := map[string]string{"setupLnet": "true", "lustrePostMountParameters": "[{\"*.*.*MDT*.lru_size\" : 11201}]"} + if setupF.LustreSubnetCidr != "" { + pvVolumeAttributes2["lustreSubnetCidr"] = setupF.LustreSubnetCidr + } + pv2 := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes2) + pvc2 := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv2.Name, "31200G", nil) + f.VolumeIds = append(f.VolumeIds, pvc2.Spec.VolumeName) + writePod2, readPod2 := pvcJig.CheckSinglePodReadWriteLustre(f.Namespace.Name, pvc2.Name, []string{}, true, config) + Expect(pvcJig.DeleteAndAwaitPod(f.Namespace.Name, writePod2)).NotTo(HaveOccurred(), "Pod Deletion failed") + Expect(pvcJig.DeleteAndAwaitPod(f.Namespace.Name, readPod2)).NotTo(HaveOccurred(), "Pod Deletion failed") + Expect(pvcJig.DeleteAndAwaitPVC(f.Namespace.Name, pvc2.Name)).NotTo(HaveOccurred(), "PCV Deletion failed") + Expect(pvcJig.DeleteAndAwaitPV(pv2.Name)).NotTo(HaveOccurred(), "PV Deletion failed") + By("Complete: Lustre Static Provisioning - Post mount parameters") + + By("Running test: Lustre Static Provisioning - Mount options") + mountOptions := []string{"flock"} + pvVolumeAttributes3 := map[string]string{"setupLnet": "true"} + if setupF.LustreSubnetCidr != "" { + pvVolumeAttributes3["lustreSubnetCidr"] = setupF.LustreSubnetCidr + } + + pv3 := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, mountOptions, pvVolumeAttributes3) + pvc3 := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv3.Name, "31200G", nil) + f.VolumeIds = append(f.VolumeIds, pvc3.Spec.VolumeName) + writePod3, readPod3 := pvcJig.CheckSinglePodReadWriteLustre(f.Namespace.Name, pvc3.Name, mountOptions, false, config) + Expect(pvcJig.DeleteAndAwaitPod(f.Namespace.Name, writePod3)).NotTo(HaveOccurred(), "Pod Deletion failed") + Expect(pvcJig.DeleteAndAwaitPod(f.Namespace.Name, readPod3)).NotTo(HaveOccurred(), "Pod Deletion failed") + Expect(pvcJig.DeleteAndAwaitPVC(f.Namespace.Name, pvc3.Name)).NotTo(HaveOccurred(), "PCV Deletion failed") + Expect(pvcJig.DeleteAndAwaitPV(pv3.Name)).NotTo(HaveOccurred(), "PV Deletion failed") + By("Complete: Lustre Static Provisioning - Mount Options") + + By("Running test: Lustre Static Provisioning - Applying FS Group ") + + pvVolumeAttributes4 := map[string]string{"setupLnet": "true"} + if setupF.LustreSubnetCidr != "" { + pvVolumeAttributes4["lustreSubnetCidr"] = setupF.LustreSubnetCidr + } + + pv4 := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes4) + pvc4 := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv4.Name, "31200G", nil) + + f.VolumeIds = append(f.VolumeIds, pvc4.Spec.VolumeName) + config.SecurityContext = &v1.PodSecurityContext{ + FSGroup: pointer.Int64(1000), + } + writePod4, readPod4 := pvcJig.CheckSinglePodReadWriteLustre(f.Namespace.Name, pvc4.Name, []string{}, false, config) + pvcJig.CheckVolumeOwnership(f.Namespace.Name, writePod4, "/data/", "1000") + Expect(pvcJig.DeleteAndAwaitPod(f.Namespace.Name, writePod4)).NotTo(HaveOccurred(), "Pod Deletion failed") + Expect(pvcJig.DeleteAndAwaitPod(f.Namespace.Name, readPod4)).NotTo(HaveOccurred(), "Pod Deletion failed") + Expect(pvcJig.DeleteAndAwaitPVC(f.Namespace.Name, pvc4.Name)).NotTo(HaveOccurred(), "PCV Deletion failed") + Expect(pvcJig.DeleteAndAwaitPV(pv4.Name)).NotTo(HaveOccurred(), "PV Deletion failed") + By("Complete: Lustre Static Provisioning - Applying FS Group") + + By("Running test: Delete dynamically created PVC for lustre file storage and make sure its deleted.") + err = pvcJig.DeleteAndAwaitPVC(f.Namespace.Name, pvc.Name) + Expect(err).NotTo(HaveOccurred(), "PVC Deletion failed") + deleted := f.WaitForLustreFSDeleted(context.Background(), setupF.Compartment1, setupF.AdLocation, pv.Spec.CSI.VolumeHandle, framework.Poll, framework.DefaultTimeout) + Expect(deleted).To(BeTrue(), "Lustre FS was not deleted") + By("Completed test: Delete dynamically created PVC for lustre file storage and make sure its deleted.") + + }) + }) +}) diff --git a/test/e2e/cloud-provider-oci/lustre_static.go b/test/e2e/cloud-provider-oci/lustre_static.go deleted file mode 100644 index 8bd7a184c0..0000000000 --- a/test/e2e/cloud-provider-oci/lustre_static.go +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2021 Oracle and/or its affiliates. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package e2e - -import ( - . "github.com/onsi/ginkgo" - "github.com/oracle/oci-cloud-controller-manager/test/e2e/framework" - v1 "k8s.io/api/core/v1" -) - -var _ = Describe("Lustre Static", func() { - f := framework.NewDefaultFramework("lustre-static-e2e") - Context("[cloudprovider][storage][csi][lustre][static]", func() { - - It("Multiple Pods should be able consume same PVC and read, write to same file", func() { - pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-lustre-e2e-test") - pvVolumeAttributes := map[string]string{ "setupLnet": "true"} - if setupF.LustreSubnetCidr != "" { - pvVolumeAttributes["lustreSubnetCidr"]= setupF.LustreSubnetCidr - } - - pv := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes) - pvc := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv.Name, "50Gi", nil) - f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) - pvcJig.CheckMultiplePodReadWrite(f.Namespace.Name, pvc.Name, false) - }) - - It("Multiple CSI Drivers (BV, FSS, Lustre) should work in same cluster and be able to handle mount, unmounts", func() { - - //BV - bvPVCJig := framework.NewPVCTestJig(f.ClientSet, "csi-bv-e2e-test") - scName := f.CreateStorageClassOrFail(framework.ClassOCICSI, setupF.BlockProvisionerName, nil, bvPVCJig.Labels, "WaitForFirstConsumer", false, "Delete", nil) - bvPVC := bvPVCJig.CreateAndAwaitPVCOrFailCSI(f.Namespace.Name, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeFilesystem, v1.ReadWriteOnce, v1.ClaimPending) - - //FSS - fssPVCJig := framework.NewPVCTestJig(f.ClientSet, "csi-fss-e2e-test") - opts := framework.Options{ - FSSProvisionerName: setupF.FSSProvisionerName, - } - fssPV := fssPVCJig.CreatePVorFailFSS(f.Namespace.Name, setupF.VolumeHandle, "false", "ReadWriteMany", "", []string{}, opts) - fssPVC := fssPVCJig.CreateAndAwaitPVCOrFailStaticFSS(f.Namespace.Name, fssPV.Name, "50Gi", nil) - f.VolumeIds = append(f.VolumeIds, fssPVC.Spec.VolumeName) - - //LUSTRE - lusterPVCJig := framework.NewPVCTestJig(f.ClientSet, "csi-lustre-e2e-test") - pvVolumeAttributes := map[string]string{ "setupLnet": "true"} - if setupF.LustreSubnetCidr != "" { - pvVolumeAttributes["lustreSubnetCidr"]= setupF.LustreSubnetCidr - } - lustrePV := lusterPVCJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes) - lustrePVC := lusterPVCJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, lustrePV.Name, "50Gi", nil) - f.VolumeIds = append(f.VolumeIds, lustrePVC.Spec.VolumeName) - - bvPVCJig.CheckSinglePodReadWrite(f.Namespace.Name, bvPVC.Name, false, []string{}) - fssPVCJig.CheckSinglePodReadWrite(f.Namespace.Name, fssPVC.Name, false, []string{}) - lusterPVCJig.CheckSinglePodReadWrite(f.Namespace.Name, lustrePVC.Name, false, []string{}) - - }) - - It("Create PV PVC and POD for CSI-Lustre with mount options", func() { - pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-lustre-e2e-test") - mountOptions := []string{"flock"} - pvVolumeAttributes := map[string]string{ "setupLnet": "true"} - if setupF.LustreSubnetCidr != "" { - pvVolumeAttributes["lustreSubnetCidr"]= setupF.LustreSubnetCidr - } - - pv := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, mountOptions, pvVolumeAttributes) - pvc := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv.Name, "50Gi", nil) - f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) - pvcJig.CheckSinglePodReadWriteLustre(f.Namespace.Name, pvc.Name, mountOptions, false) - }) - - It("Create PV PVC and POD for CSI-Lustre with lustre post mount parameters", func() { - pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-lustre-e2e-test") - pvVolumeAttributes := map[string]string{ "setupLnet": "true", "lustrePostMountParameters" : "[{\"*.*.*MDT*.lru_size\" : 11201}]"} - - pv := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes) - pvc := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv.Name, "50Gi", nil) - f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) - - checkLustreParameters := true - pvcJig.CheckSinglePodReadWriteLustre(f.Namespace.Name, pvc.Name, []string{}, checkLustreParameters) - }) - - It("Verify volume group ownership change for Lustre when fsGroup is defined", func() { - pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-lustre-e2e-test") - - pvVolumeAttributes := map[string]string{ "setupLnet": "true"} - if setupF.LustreSubnetCidr != "" { - pvVolumeAttributes["lustreSubnetCidr"]= setupF.LustreSubnetCidr - } - - pv := pvcJig.CreatePVorFailLustre(f.Namespace.Name, setupF.LustreVolumeHandle, []string{}, pvVolumeAttributes) - pvc := pvcJig.CreateAndAwaitPVCOrFailStaticLustre(f.Namespace.Name, pv.Name, "50Gi", nil) - - f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) - pod := pvcJig.CreateAndAwaitNginxPodOrFail(f.Namespace.Name, pvc, WriteCommand) - pvcJig.CheckVolumeOwnership(f.Namespace.Name, pod, "/usr/share/nginx/html/", "1000") - }) - }) -}) diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 1b979bf426..5ab34703eb 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -32,7 +32,7 @@ const ( K8sResourcePoll = 2 * time.Second // DefaultTimeout is how long we wait for long-running operations in the // test suite before giving up. - DefaultTimeout = 10 * time.Minute + DefaultTimeout = 15 * time.Minute // Some pods can take much longer to get ready due to volume attach/detach latency. slowPodStartTimeout = 7 * time.Minute @@ -89,6 +89,11 @@ var ( volumeHandle string // The FSS mount volume handle lustreVolumeHandle string // The Lustre mount volume handle lustreSubnetCidr string // The Lustre Subnet Cidr + enableLustreTests bool // Flag to enable disable lustre tests + lustreWorkerNodeImage string // Ocid of worker node image having backed in lustre clients to create separate nodepool + lustreKMSKey string + lustreSubnet string + lustreAD string staticSnapshotCompartmentOCID string // Compartment ID for cross compartment snapshot test customDriverHandle string // Custom driver handle for custom CSI driver installation runUhpE2E bool // Whether to run UHP E2Es, requires Volume Management Plugin enabled on the node and 16+ cores (check blockvolumeperformance public doc for the exact requirements) @@ -119,7 +124,11 @@ func init() { flag.StringVar(&volumeHandle, "volume-handle", "", "FSS volume handle used to mount the File System") flag.StringVar(&lustreVolumeHandle, "lustre-volume-handle", "", "Lustre volume handle used to mount the File System") flag.StringVar(&lustreSubnetCidr, "lustre-subnet-cidr", "", "Lustre subnet cidr to identify SVNIC in lustre subnet to configure lnet.") - + flag.BoolVar(&enableLustreTests, "enable-lustre-tests", false, "Flag to control lustre tests.") + flag.StringVar(&lustreWorkerNodeImage, "lustre-worker-node-image", "", "Worker node image which has lustre clients backed in for creating node pool.") + flag.StringVar(&lustreKMSKey, "lustre-kms-key", "", "Lustre KMS Key") + flag.StringVar(&lustreSubnet, "lustre-subnet", "", "Lustre Subnet to create lustre filesystem in.") + flag.StringVar(&lustreAD, "lustre-ad", "", "Lustre AD to create filesystem in.") flag.StringVar(&imagePullRepo, "image-pull-repo", "", "Repo to pull images from. Will pull public images if not specified.") flag.StringVar(&cmekKMSKey, "cmek-kms-key", "", "KMS key to be used for CMEK testing") flag.StringVar(&nsgOCIDS, "nsg-ocids", "", "NSG OCIDs to be used to associate to LB") @@ -169,7 +178,12 @@ type Framework struct { VolumeHandle string LustreVolumeHandle string - LustreSubnetCidr string + LustreSubnetCidr string + EnableLustreTests bool + LustreWorkerNodeImage string + LustreKMSKey string + LustreSubnet string + LustreAD string // Compartment ID for cross compartment snapshot test StaticSnapshotCompartmentOcid string @@ -177,6 +191,7 @@ type Framework struct { CustomDriverHandle string BlockProvisionerName string FSSProvisionerName string + LustreProvisionerName string AddOkeSystemTags bool } @@ -202,6 +217,11 @@ func NewWithConfig() *Framework { VolumeHandle: volumeHandle, LustreVolumeHandle: lustreVolumeHandle, LustreSubnetCidr: lustreSubnetCidr, + LustreWorkerNodeImage: lustreWorkerNodeImage, + LustreKMSKey: lustreKMSKey, + LustreSubnet: lustreSubnet, + LustreAD: lustreAD, + EnableLustreTests: enableLustreTests, StaticSnapshotCompartmentOcid: staticSnapshotCompartmentOCID, RunUhpE2E: runUhpE2E, CustomDriverHandle: customDriverHandle, @@ -243,6 +263,17 @@ func (f *Framework) Initialize() { Logf("Lustre Volume Handle is : %s", f.LustreVolumeHandle) f.LustreSubnetCidr = lustreSubnetCidr Logf("Lustre Subnet CIDR is : %s", f.LustreSubnetCidr) + f.EnableLustreTests = enableLustreTests + Logf("EnableLustreTests is : %s", f.EnableLustreTests) + f.LustreWorkerNodeImage = lustreWorkerNodeImage + Logf("LustreWorkerNodeImage : %s", f.LustreWorkerNodeImage) + f.LustreKMSKey = lustreKMSKey + Logf("LustreKMSKey : %s", f.LustreKMSKey) + f.LustreSubnet = lustreSubnet + Logf("LustreSubnet : %s", f.LustreSubnet) + f.LustreAD = lustreAD + Logf("LustreAD : %s", f.LustreAD) + f.StaticSnapshotCompartmentOcid = staticSnapshotCompartmentOCID Logf("Static Snapshot Compartment OCID: %s", f.StaticSnapshotCompartmentOcid) f.CustomDriverHandle = customDriverHandle @@ -251,6 +282,8 @@ func (f *Framework) Initialize() { Logf("Block Provisioner name: %s", f.BlockProvisionerName) f.FSSProvisionerName = getFSSProvisionerName(customDriverHandle) Logf("FSS Provisioner name: %s", f.FSSProvisionerName) + f.LustreProvisionerName = getLustreProvisionerName(customDriverHandle) + Logf("Lustre Provisioner name: %s", f.LustreProvisionerName) f.RunUhpE2E = runUhpE2E Logf("Run Uhp E2Es as well: %v", f.RunUhpE2E) f.CMEKKMSKey = cmekKMSKey @@ -332,3 +365,11 @@ func getFSSProvisionerName(handle string) string { } return provisioner } + +func getLustreProvisionerName(handle string) string { + provisioner := "lustre.csi.oraclecloud.com" + if handle != "" { + return handle + "." + provisioner + } + return provisioner +} diff --git a/test/e2e/framework/lustre_util.go b/test/e2e/framework/lustre_util.go new file mode 100644 index 0000000000..1357dd65da --- /dev/null +++ b/test/e2e/framework/lustre_util.go @@ -0,0 +1,97 @@ +// Copyright 2026 Oracle and/or its affiliates. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package framework + +import ( + "context" + "strings" + "time" + + "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "github.com/oracle/oci-go-sdk/v65/lustrefilestorage" + "k8s.io/apimachinery/pkg/util/wait" +) + +func (f *CloudProviderFramework) CheckLustreVolumeExist(ctx context.Context, fsId string) bool { + fs, err := f.Client.Lustre().GetLustreFileSystem(ctx, fsId) + if client.IsNotFound(err) { + return false + } + if err != nil { + return false + } + if fs.LifecycleState == lustrefilestorage.LustreFileSystemLifecycleStateDeleting || fs.LifecycleState == lustrefilestorage.LustreFileSystemLifecycleStateDeleted { + return false + } + return true +} + +func (f *CloudProviderFramework) WaitForLustreFSDeleted(ctx context.Context, compartmentId, adLocation, volumeHandle string, pollInterval, timeout time.Duration) bool { + if volumeHandle == "" { + return true + } + fsId := volumeHandle[:strings.Index(volumeHandle, ":")] + Logf("Waiting for lustre filesystem %v to be deleted", fsId) + var deleted bool + err := wait.Poll(pollInterval, timeout, func() (done bool, err error) { + exists := f.CheckLustreVolumeExist(ctx, fsId) + if !exists { + deleted = true + return true, nil + } + return false, nil + }) + if err != nil { + Logf("Error waiting for Lustre FS deletion: %v", err) + return false + } + return deleted +} + +// CleanupLustreFileSystems deletes any existing Lustre file systems in the given compartment. +// Intended for test hygiene before starting Lustre E2E tests. +func (f *CloudProviderFramework) CleanupLustreFileSystems(ctx context.Context, compartmentId string) { + Logf("Scanning for pre-existing Lustre File Systems in compartment: %s", compartmentId) + fsList, err := f.Client.Lustre().ListLustreFileSystems(ctx, compartmentId, "", "") + if err != nil { + Logf("Failed to list Lustre file systems for cleanup: %v", err) + return + } + if len(fsList) == 0 { + Logf("No pre-existing Lustre File Systems found to cleanup") + return + } + for _, s := range fsList { + // Skip already deleting/deleted + if s.LifecycleState == lustrefilestorage.LustreFileSystemLifecycleStateDeleting || + s.LifecycleState == lustrefilestorage.LustreFileSystemLifecycleStateDeleted || + s.LifecycleState == lustrefilestorage.LustreFileSystemLifecycleStateCreating { + continue + } + id := "" + if s.Id != nil { + id = *s.Id + } + name := "" + if s.DisplayName != nil { + name = *s.DisplayName + } + Logf("Deleting leftover Lustre FS: name=%s id=%s", name, id) + if err := f.Client.Lustre().DeleteLustreFileSystem(ctx, id); err != nil { + Logf("DeleteLustreFileSystem failed for %s: %v", id, err) + continue + } + } +} diff --git a/test/e2e/framework/pvc_util.go b/test/e2e/framework/pvc_util.go index 1ebc68a62a..3191ae2c5e 100644 --- a/test/e2e/framework/pvc_util.go +++ b/test/e2e/framework/pvc_util.go @@ -58,6 +58,13 @@ const ( FsTypeLustre = "lustre" ) +// PodConfig defines optional pod scheduling configurations +type PodConfig struct { + NodeSelector map[string]string + Tolerations []v1.Toleration + SecurityContext *v1.PodSecurityContext +} + // PVCTestJig is a jig to help create PVC tests. type PVCTestJig struct { ID string @@ -235,6 +242,13 @@ func (j *PVCTestJig) newPVCTemplateStaticFSS(namespace, volumeSize, volumeName s return pvc } +func (j *PVCTestJig) NewPVCTemplateDynamicLustre(namespace, volumeSize, scName string) *v1.PersistentVolumeClaim { + pvc := j.CreatePVCTemplate(namespace, volumeSize) + pvc = j.pvcAddAccessMode(pvc, v1.ReadWriteMany) + pvc = j.pvcAddStorageClassName(pvc, scName) + return pvc +} + // NewPVCTemplateDynamicFSS returns the default template for this jig, but // does not actually create the PVC. The default PVC has the same name // as the jig @@ -344,6 +358,12 @@ func (j *PVCTestJig) CreatePVCorFailStaticLustre(namespace, volumeName, volumeSi return j.CheckPVCorFail(pvc, tweak, namespace, volumeSize) } +func (j *PVCTestJig) CreatePVCorFailDynamicLustre(namespace, volumeSize string, scName string, + tweak func(pvc *v1.PersistentVolumeClaim)) *v1.PersistentVolumeClaim { + pvc := j.NewPVCTemplateDynamicLustre(namespace, volumeSize, scName) + return j.CheckPVCorFail(pvc, tweak, namespace, volumeSize) +} + // CreatePVCorFailDynamicFSS creates a new claim based on the jig's // defaults. Callers can provide a function to tweak the claim object // before it is created. @@ -434,6 +454,12 @@ func (j *PVCTestJig) CreateAndAwaitClonePVCOrFailCSI(namespace, volumeSize, scNa return j.CheckAndAwaitPVCOrFail(pvc, namespace, expectedPVCPhase) } +func (j *PVCTestJig) CreateAndAwaitPVCOrFailDynamicLustre(namespace, volumeSize, scName string, + phase v1.PersistentVolumeClaimPhase, tweak func(pvc *v1.PersistentVolumeClaim)) *v1.PersistentVolumeClaim { + pvc := j.CreatePVCorFailDynamicLustre(namespace, volumeSize, scName, tweak) + return j.CheckAndAwaitPVCOrFail(pvc, namespace, phase) +} + // CreateAndAwaitPVCOrFailDynamicFSS creates a new PVC based on the // jig's defaults, waits for it to become ready, and then sanity checks it and // its dependant resources. Callers can provide a function to tweak the @@ -510,6 +536,11 @@ func (j *PVCTestJig) CreateAndAwaitStaticBootVolumePVCOrFailCSI(c ocicore.Comput func (j *PVCTestJig) CreatePVTemplate(namespace, annotation, storageClassName string, pvReclaimPolicy v1.PersistentVolumeReclaimPolicy) *v1.PersistentVolume { + return j.CreatePVTemplateWithSize(namespace, annotation, storageClassName, pvReclaimPolicy, "50Gi") +} + +func (j *PVCTestJig) CreatePVTemplateWithSize(namespace, annotation, storageClassName string, + pvReclaimPolicy v1.PersistentVolumeReclaimPolicy, storageSize string) *v1.PersistentVolume { return &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Namespace: namespace, @@ -521,7 +552,7 @@ func (j *PVCTestJig) CreatePVTemplate(namespace, annotation, storageClassName st }, Spec: v1.PersistentVolumeSpec{ Capacity: v1.ResourceList{ - v1.ResourceStorage: resource.MustParse("50Gi"), + v1.ResourceStorage: resource.MustParse(storageSize), }, PersistentVolumeReclaimPolicy: pvReclaimPolicy, StorageClassName: storageClassName, @@ -587,7 +618,7 @@ func (j *PVCTestJig) newPVTemplateFSS(namespace, volumeHandle, enableIntransitEn // does not actually create the PV. The default PV has the same name // as the jig func (j *PVCTestJig) newPVTemplateLustre(namespace, volumeHandle string, mountOptions []string, pvVolumeAttributes map[string]string) *v1.PersistentVolume { - pv := j.CreatePVTemplate(namespace, driver.LustreDriverName, "", "Retain") + pv := j.CreatePVTemplateWithSize(namespace, driver.LustreDriverName, "", "Retain", "31200G") pv = j.pvAddVolumeMode(pv, v1.PersistentVolumeFilesystem) pv = j.pvAddAccessMode(pv, v1.ReadWriteMany) pv = j.pvAddMountOptions(pv, mountOptions) @@ -657,7 +688,6 @@ func (j *PVCTestJig) CreatePVorFailFSS(namespace, volumeHandle, encryptInTransit // before it is created. func (j *PVCTestJig) CreatePVorFailLustre(namespace, volumeHandle string, mountOptions []string, pvVolumeAttributes map[string]string) *v1.PersistentVolume { pv := j.newPVTemplateLustre(namespace, volumeHandle, mountOptions, pvVolumeAttributes) - result, err := j.KubeClient.CoreV1().PersistentVolumes().Create(context.Background(), pv, metav1.CreateOptions{}) if err != nil { Failf("Failed to create persistent volume claim %q: %v", pv.Name, err) @@ -1380,6 +1410,143 @@ func (j *PVCTestJig) NewPodForCSIFSSRead(matchString string, namespace string, c return pod.Name } +// NewPodWritingToVolume creates pod that writes data to volume. This will be generic method and not CSI driver specific. +func (j *PVCTestJig) NewPodWritingToVolume(name string, namespace string, claimName string, fileName string, config *PodConfig) string { + By("Creating a pod with the claiming PVC created by CSI") + + command := fmt.Sprintf("while true; do echo %s >> /data/%s; sleep 5; done", name, fileName) + podSpec := v1.PodSpec{ + Containers: []v1.Container{ + { + Name: name, + Image: centos, + Command: []string{"/bin/sh"}, + Args: []string{"-c", command}, + VolumeMounts: []v1.VolumeMount{ + { + Name: "persistent-storage", + MountPath: "/data", + }, + }, + }, + }, + Volumes: []v1.Volume{ + { + Name: "persistent-storage", + VolumeSource: v1.VolumeSource{ + PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ + ClaimName: claimName, + }, + }, + }, + }, + } + + if config.NodeSelector != nil { + podSpec.NodeSelector = config.NodeSelector + podSpec.Tolerations = config.Tolerations + } + if config.Tolerations != nil { + podSpec.Tolerations = config.Tolerations + } + if config.SecurityContext != nil { + podSpec.SecurityContext = config.SecurityContext + } + + pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ + TypeMeta: metav1.TypeMeta{ + Kind: "Pod", + APIVersion: "v1", + }, + ObjectMeta: metav1.ObjectMeta{ + GenerateName: j.Name, + Namespace: namespace, + }, + Spec: podSpec, + }, metav1.CreateOptions{}) + if err != nil { + Failf("Pod %q Create API error: %v", pod.Name, err) + } + + // Waiting for pod to be running + err = j.WaitTimeoutForPodRunningInNamespace(pod.Name, namespace, slowPodStartTimeout) + if err != nil { + Logf("Pod failed to come up, logging debug info\n") + j.LogPodDebugInfo(namespace, pod.Name) + Failf("Pod %q is not Running: %v", pod.Name, err) + } + zap.S().With(pod.Namespace).With(pod.Name).Info("CSI POD is created.") + return pod.Name +} + +// NewPodReadingFromVolume creates pod that reads data from volume. This will be generic method and not CSI driver specific.. +func (j *PVCTestJig) NewPodReadingFromVolume(matchString string, namespace string, claimName string, fileName string, config *PodConfig) string { + By("Creating a pod with the claiming PVC created by CSI") + + nodeSelectorMap := make(map[string]string) + + command := fmt.Sprintf("grep -q -i %s /data/%s; exit $?", matchString, fileName) + podSpec := v1.PodSpec{ + Containers: []v1.Container{ + { + Name: "readapp", + Image: centos, + Command: []string{"/bin/sh"}, + Args: []string{"-c", command}, + VolumeMounts: []v1.VolumeMount{ + { + Name: "persistent-storage", + MountPath: "/data", + }, + }, + }, + }, + RestartPolicy: v1.RestartPolicyNever, + Volumes: []v1.Volume{ + { + Name: "persistent-storage", + VolumeSource: v1.VolumeSource{ + PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ + ClaimName: claimName, + }, + }, + }, + }, + NodeSelector: nodeSelectorMap, + } + + if config != nil { + podSpec.NodeSelector = config.NodeSelector + podSpec.Tolerations = config.Tolerations + } + + pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ + TypeMeta: metav1.TypeMeta{ + Kind: "Pod", + APIVersion: "v1", + }, + ObjectMeta: metav1.ObjectMeta{ + GenerateName: j.Name, + Namespace: namespace, + }, + Spec: podSpec, + }, metav1.CreateOptions{}) + if err != nil { + Failf("CSI read POD Create API error: %v", err) + } + + // Waiting for pod to be running + err = j.waitTimeoutForPodCompletedSuccessfullyInNamespace(pod.Name, namespace, slowPodStartTimeout) + if err != nil { + Logf("Pod failed to come up, logging debug info\n") + j.LogPodDebugInfo(namespace, pod.Name) + Failf("Pod %q failed: %v", pod.Name, err) + } + zap.S().With(pod.Namespace).With(pod.Name).Info("CSI Fss read POD is created.") + + return pod.Name +} + // WaitForPVCPhase waits for a PersistentVolumeClaim to be in a specific phase or until timeout occurs, whichever comes first. func (j *PVCTestJig) WaitForPVCPhase(phase v1.PersistentVolumeClaimPhase, ns string, pvcName string) error { Logf("Waiting up to %v for PersistentVolumeClaim %s to have phase %s", DefaultTimeout, pvcName, phase) @@ -1717,12 +1884,13 @@ func (j *PVCTestJig) CheckSinglePodReadWrite(namespace string, pvcName string, c return podName, readPodName } -func (j *PVCTestJig) CheckSinglePodReadWriteLustre(namespace string, pvcName string, expectedMountOptions []string, checkLustreParameters bool) (string, string) { +func (j *PVCTestJig) CheckSinglePodReadWriteLustre(namespace string, pvcName string, expectedMountOptions []string, checkLustreParameters bool, + config *PodConfig) (string, string) { By("Creating Pod that can create and write to the file") uid := uuid.NewUUID() fileName := fmt.Sprintf("out_%s.txt", uid) - podName := j.NewPodForCSIFSSWrite(string(uid), namespace, pvcName, fileName, false) + podName := j.NewPodWritingToVolume(string(uid), namespace, pvcName, fileName, config) time.Sleep(30 * time.Second) //waiting for pod to become up and running By("check if the file exists") @@ -1738,7 +1906,7 @@ func (j *PVCTestJig) CheckSinglePodReadWriteLustre(namespace string, pvcName str } By("Creating Pod that can read contents of existing file") - readPodName := j.NewPodForCSIFSSRead(string(uid), namespace, pvcName, fileName, false) + readPodName := j.NewPodReadingFromVolume(string(uid), namespace, pvcName, fileName, config) return podName, readPodName } @@ -1775,6 +1943,52 @@ func (j *PVCTestJig) CheckMultiplePodReadWrite(namespace string, pvcName string, By("Creating Pod that can read contents of existing file") j.NewPodForCSIFSSRead(string(uuid2), namespace, pvcName, fileName, checkEncryption) } +func (j *PVCTestJig) CheckMultiplePodReadWriteGeneric(namespace string, pvcName string, podconfig *PodConfig) { + uid := uuid.NewUUID() + fileName := fmt.Sprintf("out_%s.txt", uid) + By("Creating Pod that can create and write to the file") + uuid1 := uuid.NewUUID() + podName1 := j.NewPodWritingToVolume(string(uuid1), namespace, pvcName, fileName, podconfig) + time.Sleep(30 * time.Second) //waiting for pod to become up and running + + By("check if the file exists") + j.CheckFileExists(namespace, podName1, "/data", fileName) + + By("Creating Pod that can create and write to the file") + uuid2 := uuid.NewUUID() + podName2 := j.NewPodWritingToVolume(string(uuid2), namespace, pvcName, fileName, podconfig) + time.Sleep(30 * time.Second) //waiting for pod to become up and running + By("check if the file exists") + j.CheckFileExists(namespace, podName2, "/data", fileName) + + By("Creating Pod that can read contents of existing file") + podName3 := j.NewPodReadingFromVolume(string(uuid1), namespace, pvcName, fileName, podconfig) + + By("Creating Pod that can read contents of existing file") + podName4 := j.NewPodReadingFromVolume(string(uuid2), namespace, pvcName, fileName, podconfig) + + By("Deleting all the pods") + err := j.DeleteAndAwaitPod(namespace, podName1) + if err != nil { + Failf("Unable to terminate pod %v", podName1) + return + } + err = j.DeleteAndAwaitPod(namespace, podName2) + if err != nil { + Failf("Unable to terminate pod %v", podName2) + return + } + err = j.DeleteAndAwaitPod(namespace, podName3) + if err != nil { + Failf("Unable to terminate pod %v", podName3) + return + } + err = j.DeleteAndAwaitPod(namespace, podName4) + if err != nil { + Failf("Unable to terminate pod %v", podName4) + return + } +} type PodCommands struct { podRunning string @@ -1826,7 +2040,7 @@ func (j *PVCTestJig) CheckDataPersistenceWithDeploymentImpl(pvcName string, ns s taintIsMaster := false if node.Spec.Unschedulable == false { for _, taint := range node.Spec.Taints { - taintIsMaster = (taint.Key == "node-role.kubernetes.io/master" || taint.Key == "node-role.kubernetes.io/control-plane") + taintIsMaster = (taint.Key == "node-role.kubernetes.io/master" || taint.Key == "node-role.kubernetes.io/control-plane" ||(taint.Key == "dedicated" && taint.Value == "lustre")) } if !taintIsMaster { schedulableNodeFound = true @@ -1953,6 +2167,15 @@ func (j *PVCTestJig) DeleteAndAwaitPVC(namespace, pvcName string) error { return wait.PollImmediate(Poll, 5*time.Minute, j.pvcDeleted(namespace, pvcName)) } +func (j *PVCTestJig) DeleteAndAwaitPV(pvName string) error { + err := j.KubeClient.CoreV1().PersistentVolumes().Delete(context.Background(), pvName, metav1.DeleteOptions{}) + if err != nil { + Failf("Error deleting PV %s: %v", pvName, err) + } + + return wait.PollImmediate(Poll, 5*time.Minute, j.pvDeleted(pvName)) +} + func (j *PVCTestJig) DeleteAndAwaitPod(namespace, podName string) error { err := j.KubeClient.CoreV1().Pods(namespace).Delete(context.Background(), podName, metav1.DeleteOptions{}) if err != nil { @@ -2028,6 +2251,11 @@ func (j *PVCTestJig) GetPVCByName(pvcName, namespace string) v1.PersistentVolume return *pvc } +func (j *PVCTestJig) GetPVByName(pvName string) v1.PersistentVolume { + pv, _ := j.KubeClient.CoreV1().PersistentVolumes().Get(context.Background(), pvName, metav1.GetOptions{}) + return *pv +} + func (j *PVCTestJig) CheckPVExists(pvName string) bool { _, err := j.KubeClient.CoreV1().PersistentVolumes().Get(context.Background(), pvName, metav1.GetOptions{}) if apierrors.IsNotFound(err) { @@ -2061,6 +2289,20 @@ func (j *PVCTestJig) pvcDeleted(namespace, pvcName string) wait.ConditionFunc { } } +func (j *PVCTestJig) pvDeleted(pvName string) wait.ConditionFunc { + return func() (bool, error) { + _, err := j.KubeClient.CoreV1().PersistentVolumes().Get(context.Background(), pvName, metav1.GetOptions{}) + + if apierrors.IsNotFound(err) { + return true, nil // done + } + if err != nil { + return true, err // stop wait with error + } + return false, nil + } +} + func (j *PVCTestJig) pvNotFound(pvName string) wait.ConditionFunc { return func() (bool, error) { _, err := j.KubeClient.CoreV1().PersistentVolumes().Get(context.Background(), pvName, metav1.GetOptions{}) diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go new file mode 100644 index 0000000000..24a5edbf50 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go @@ -0,0 +1,72 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "strings" +) + +// ActionTypeEnum Enum with underlying type: string +type ActionTypeEnum string + +// Set of constants representing the allowable values for ActionTypeEnum +const ( + ActionTypeCreated ActionTypeEnum = "CREATED" + ActionTypeUpdated ActionTypeEnum = "UPDATED" + ActionTypeDeleted ActionTypeEnum = "DELETED" + ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" + ActionTypeRelated ActionTypeEnum = "RELATED" + ActionTypeFailed ActionTypeEnum = "FAILED" +) + +var mappingActionTypeEnum = map[string]ActionTypeEnum{ + "CREATED": ActionTypeCreated, + "UPDATED": ActionTypeUpdated, + "DELETED": ActionTypeDeleted, + "IN_PROGRESS": ActionTypeInProgress, + "RELATED": ActionTypeRelated, + "FAILED": ActionTypeFailed, +} + +var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{ + "created": ActionTypeCreated, + "updated": ActionTypeUpdated, + "deleted": ActionTypeDeleted, + "in_progress": ActionTypeInProgress, + "related": ActionTypeRelated, + "failed": ActionTypeFailed, +} + +// GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum +func GetActionTypeEnumValues() []ActionTypeEnum { + values := make([]ActionTypeEnum, 0) + for _, v := range mappingActionTypeEnum { + values = append(values, v) + } + return values +} + +// GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum +func GetActionTypeEnumStringValues() []string { + return []string{ + "CREATED", + "UPDATED", + "DELETED", + "IN_PROGRESS", + "RELATED", + "FAILED", + } +} + +// GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool) { + enum, ok := mappingActionTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go new file mode 100644 index 0000000000..3857710e68 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AvailableComputeCapacity The compute capacity returned from Compute API. +type AvailableComputeCapacity struct { + Cores16 *FaultDomainUsage `mandatory:"false" json:"cores16"` + + Cores94 *FaultDomainUsage `mandatory:"false" json:"cores94"` +} + +func (m AvailableComputeCapacity) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AvailableComputeCapacity) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go index e8f11d9f21..7bcd8bc300 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go @@ -12,10 +12,6 @@ import ( ) // CancelWorkRequestRequest wrapper for the CancelWorkRequest operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest. type CancelWorkRequestRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go new file mode 100644 index 0000000000..82578e0226 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityReservation Capacity reservation associated to physical availability domain +type CapacityReservation struct { + + // The capacity reservation OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) assigned to tenancy. + Id *string `mandatory:"false" json:"id"` + + // The physical availability domain where the capacity reservation is created. + PhysicalAvailabilityDomain *string `mandatory:"false" json:"physicalAvailabilityDomain"` +} + +func (m CapacityReservation) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityReservation) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go new file mode 100644 index 0000000000..3a72f9aa6c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go @@ -0,0 +1,74 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityReservationInfo An object that gives more details about a capacity reservation. +type CapacityReservationInfo struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableBlockCapacityInGBs *int64 `mandatory:"true" json:"availableBlockCapacityInGBs"` + + DesiredComputeCount *DesiredComputeCount `mandatory:"true" json:"desiredComputeCount"` + + AvailableComputeCapacity *AvailableComputeCapacity `mandatory:"true" json:"availableComputeCapacity"` + + CurrentComputeCapacity *CurrentComputeCapacity `mandatory:"true" json:"currentComputeCapacity"` + + // If set to true, update capacity requests would not be sent. + IsUpdateRequestPaused *bool `mandatory:"true" json:"isUpdateRequestPaused"` + + // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity + // A maximum of 10 is allowed. + BlockCpgIds []string `mandatory:"true" json:"blockCpgIds"` + + // The date and time the Capacity Reservation Info was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the Capacity Reservation Info was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` +} + +func (m CapacityReservationInfo) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityReservationInfo) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go new file mode 100644 index 0000000000..f90d933181 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityReservationInfoCollection Results of a Capacity Reservation Info search. Contains CapacityReservationInfo items. +type CapacityReservationInfoCollection struct { + + // List of CapacityReservationInfoSummary. + Items []CapacityReservationInfoSummary `mandatory:"true" json:"items"` +} + +func (m CapacityReservationInfoCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityReservationInfoCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go new file mode 100644 index 0000000000..5e32e34eba --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go @@ -0,0 +1,74 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityReservationInfoSummary An object that gives more details about a capacity reservation. +type CapacityReservationInfoSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableBlockCapacityInGBs *int64 `mandatory:"true" json:"availableBlockCapacityInGBs"` + + DesiredComputeCount *DesiredComputeCount `mandatory:"true" json:"desiredComputeCount"` + + AvailableComputeCapacity *AvailableComputeCapacity `mandatory:"true" json:"availableComputeCapacity"` + + CurrentComputeCapacity *CurrentComputeCapacity `mandatory:"true" json:"currentComputeCapacity"` + + // If set to true, update capacity requests would not be sent. + IsUpdateRequestPaused *bool `mandatory:"true" json:"isUpdateRequestPaused"` + + // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity + // A maximum of 10 is allowed. + BlockCpgIds []string `mandatory:"true" json:"blockCpgIds"` + + // The date and time the Capacity Reservation Info was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the Capacity Reservation Info was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` +} + +func (m CapacityReservationInfoSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityReservationInfoSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go new file mode 100644 index 0000000000..cd36efef2f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityReservationsCollection List of Capacity reservations as per physical AD. +type CapacityReservationsCollection struct { + + // List of capacity reservations for the given fleet. + Items []CapacityReservation `mandatory:"false" json:"items"` +} + +func (m CapacityReservationsCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityReservationsCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go new file mode 100644 index 0000000000..21bbc8ab46 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeLustreFileSystemCompartmentDetails The configuration details for the move operation. +type ChangeLustreFileSystemCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Lustre file system to. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeLustreFileSystemCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeLustreFileSystemCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go index e52138834d..61b36a1fe2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go @@ -12,10 +12,6 @@ import ( ) // ChangeLustreFileSystemCompartmentRequest wrapper for the ChangeLustreFileSystemCompartment operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartmentRequest. type ChangeLustreFileSystemCompartmentRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go new file mode 100644 index 0000000000..29c2538e90 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeObjectStorageLinkCompartmentDetails The configuration details for the move operation. +type ChangeObjectStorageLinkCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Object Storage link to. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeObjectStorageLinkCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeObjectStorageLinkCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go index f0e22e8831..0aacc0e9a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go @@ -12,10 +12,6 @@ import ( ) // ChangeObjectStorageLinkCompartmentRequest wrapper for the ChangeObjectStorageLinkCompartment operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartmentRequest. type ChangeObjectStorageLinkCompartmentRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go new file mode 100644 index 0000000000..c8237b50e9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ClusterPlacementGroup Cluster Placement Groups lets you create resources in close proximity to one another to support low-latency networking use cases. +type ClusterPlacementGroup struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + Id *string `mandatory:"false" json:"id"` +} + +func (m ClusterPlacementGroup) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ClusterPlacementGroup) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go new file mode 100644 index 0000000000..e9f2640cbc --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go @@ -0,0 +1,58 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CpgOverride A mapping between a customer CPG and an LFS service CPG. +type CpgOverride struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` + + // The date and time the override was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the override was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` +} + +func (m CpgOverride) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CpgOverride) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go new file mode 100644 index 0000000000..7001ce9978 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CpgOverrideCollection Results of a CPG Override search. Contains CpgOverride items. +type CpgOverrideCollection struct { + + // List of CPG Override Summary. + Items []CpgOverrideSummary `mandatory:"true" json:"items"` +} + +func (m CpgOverrideCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CpgOverrideCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go new file mode 100644 index 0000000000..3faac87531 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go @@ -0,0 +1,58 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CpgOverrideSummary A mapping between a customer CPG and an LFS service CPG. +type CpgOverrideSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` + + // The date and time the override was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the override was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` +} + +func (m CpgOverrideSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CpgOverrideSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go new file mode 100644 index 0000000000..344713b077 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateCapacityReservationInfoDetails The data required for creating a Capacity Reservation Info. +type CreateCapacityReservationInfoDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"false" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"false" json:"customerTenancyId"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableBlockCapacityInGBs *int64 `mandatory:"false" json:"availableBlockCapacityInGBs"` + + DesiredComputeCount *DesiredComputeCount `mandatory:"false" json:"desiredComputeCount"` + + // If set to true, update capacity requests would not be sent. + IsUpdateRequestPaused *bool `mandatory:"false" json:"isUpdateRequestPaused"` + + // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity + // A maximum of 10 is allowed. + BlockCpgIds []string `mandatory:"false" json:"blockCpgIds"` +} + +func (m CreateCapacityReservationInfoDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateCapacityReservationInfoDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go new file mode 100644 index 0000000000..cc61ee0f12 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateCapacityReservationInfoRequest wrapper for the CreateCapacityReservationInfo operation +type CreateCapacityReservationInfoRequest struct { + + // Details for the new Capacity Reservation Info. + CreateCapacityReservationInfoDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateCapacityReservationInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateCapacityReservationInfoResponse wrapper for the CreateCapacityReservationInfo operation +type CreateCapacityReservationInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CapacityReservationInfo instance + CapacityReservationInfo `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateCapacityReservationInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateCapacityReservationInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go new file mode 100644 index 0000000000..a753d72c7e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateCpgOverrideDetails The data required for creating a CPG Override. +type CreateCpgOverrideDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` +} + +func (m CreateCpgOverrideDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateCpgOverrideDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go new file mode 100644 index 0000000000..1f72b1bc3a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateCpgOverrideRequest wrapper for the CreateCpgOverride operation +type CreateCpgOverrideRequest struct { + + // Details for the new CPG Override. + CreateCpgOverrideDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateCpgOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateCpgOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateCpgOverrideResponse wrapper for the CreateCpgOverride operation +type CreateCpgOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CpgOverride instance + CpgOverride `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateCpgOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateCpgOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go new file mode 100644 index 0000000000..5abf2800fb --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateLfsCpgInfoDetails The data required for creating a LFS CPG Info. +type CreateLfsCpgInfoDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. + DefaultCapacityReservationId *string `mandatory:"true" json:"defaultCapacityReservationId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` +} + +func (m CreateLfsCpgInfoDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateLfsCpgInfoDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go new file mode 100644 index 0000000000..0fd9661a2c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateLfsCpgInfoRequest wrapper for the CreateLfsCpgInfo operation +type CreateLfsCpgInfoRequest struct { + + // Details for the new lfsCpgInfo. + CreateLfsCpgInfoDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateLfsCpgInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateLfsCpgInfoResponse wrapper for the CreateLfsCpgInfo operation +type CreateLfsCpgInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The LfsCpgInfo instance + LfsCpgInfo `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateLfsCpgInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateLfsCpgInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go new file mode 100644 index 0000000000..839243e316 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go @@ -0,0 +1,144 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateLustreFileSystemDetails The details to create a Lustre file system. +type CreateLustreFileSystemDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the file system is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The Lustre file system name. This is used in mount commands and other aspects of the client command line interface. + // The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'. + // If you have multiple Lustre file systems mounted on the same clients, this name can help distinguish them. + FileSystemName *string `mandatory:"true" json:"fileSystemName"` + + // Capacity of the Lustre file system in GB. You can increase capacity only in multiples of 5 TB. + CapacityInGBs *int `mandatory:"true" json:"capacityInGBs"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // The Lustre file system performance tier. A value of `MBPS_PER_TB_125` represents 125 megabytes per second per terabyte. + PerformanceTier CreateLustreFileSystemDetailsPerformanceTierEnum `mandatory:"true" json:"performanceTier"` + + RootSquashConfiguration *RootSquashConfiguration `mandatory:"true" json:"rootSquashConfiguration"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Lustre file system` + DisplayName *string `mandatory:"false" json:"displayName"` + + // Short description of the Lustre file system. + // Avoid entering confidential information. + FileSystemDescription *string `mandatory:"false" json:"fileSystemDescription"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system. + // A maximum of 5 is allowed. + // Setting this to an empty array after the list is created removes the lustre file system from all NSGs. + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. + KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists. + ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"` +} + +func (m CreateLustreFileSystemDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateLustreFileSystemDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingCreateLustreFileSystemDetailsPerformanceTierEnum(string(m.PerformanceTier)); !ok && m.PerformanceTier != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PerformanceTier: %s. Supported values are: %s.", m.PerformanceTier, strings.Join(GetCreateLustreFileSystemDetailsPerformanceTierEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateLustreFileSystemDetailsPerformanceTierEnum Enum with underlying type: string +type CreateLustreFileSystemDetailsPerformanceTierEnum string + +// Set of constants representing the allowable values for CreateLustreFileSystemDetailsPerformanceTierEnum +const ( + CreateLustreFileSystemDetailsPerformanceTier125 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_125" + CreateLustreFileSystemDetailsPerformanceTier250 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_250" + CreateLustreFileSystemDetailsPerformanceTier500 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_500" + CreateLustreFileSystemDetailsPerformanceTier1000 CreateLustreFileSystemDetailsPerformanceTierEnum = "MBPS_PER_TB_1000" +) + +var mappingCreateLustreFileSystemDetailsPerformanceTierEnum = map[string]CreateLustreFileSystemDetailsPerformanceTierEnum{ + "MBPS_PER_TB_125": CreateLustreFileSystemDetailsPerformanceTier125, + "MBPS_PER_TB_250": CreateLustreFileSystemDetailsPerformanceTier250, + "MBPS_PER_TB_500": CreateLustreFileSystemDetailsPerformanceTier500, + "MBPS_PER_TB_1000": CreateLustreFileSystemDetailsPerformanceTier1000, +} + +var mappingCreateLustreFileSystemDetailsPerformanceTierEnumLowerCase = map[string]CreateLustreFileSystemDetailsPerformanceTierEnum{ + "mbps_per_tb_125": CreateLustreFileSystemDetailsPerformanceTier125, + "mbps_per_tb_250": CreateLustreFileSystemDetailsPerformanceTier250, + "mbps_per_tb_500": CreateLustreFileSystemDetailsPerformanceTier500, + "mbps_per_tb_1000": CreateLustreFileSystemDetailsPerformanceTier1000, +} + +// GetCreateLustreFileSystemDetailsPerformanceTierEnumValues Enumerates the set of values for CreateLustreFileSystemDetailsPerformanceTierEnum +func GetCreateLustreFileSystemDetailsPerformanceTierEnumValues() []CreateLustreFileSystemDetailsPerformanceTierEnum { + values := make([]CreateLustreFileSystemDetailsPerformanceTierEnum, 0) + for _, v := range mappingCreateLustreFileSystemDetailsPerformanceTierEnum { + values = append(values, v) + } + return values +} + +// GetCreateLustreFileSystemDetailsPerformanceTierEnumStringValues Enumerates the set of values in String for CreateLustreFileSystemDetailsPerformanceTierEnum +func GetCreateLustreFileSystemDetailsPerformanceTierEnumStringValues() []string { + return []string{ + "MBPS_PER_TB_125", + "MBPS_PER_TB_250", + "MBPS_PER_TB_500", + "MBPS_PER_TB_1000", + } +} + +// GetMappingCreateLustreFileSystemDetailsPerformanceTierEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateLustreFileSystemDetailsPerformanceTierEnum(val string) (CreateLustreFileSystemDetailsPerformanceTierEnum, bool) { + enum, ok := mappingCreateLustreFileSystemDetailsPerformanceTierEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go index b62ba01282..fda3fd960f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go @@ -12,10 +12,6 @@ import ( ) // CreateLustreFileSystemRequest wrapper for the CreateLustreFileSystem operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystemRequest. type CreateLustreFileSystemRequest struct { // Details for the new Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go new file mode 100644 index 0000000000..8cff46e67f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go @@ -0,0 +1,168 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateManagementCellDetails The data required for creating a ManagementCell. +type CreateManagementCellDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the ManagementCell. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The current state of the ManagementCell. + LifecycleState CreateManagementCellDetailsLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // ManagementCell can be categorized based on the customer filesystems it is hosting. + // Example: `RESTRICTED` category cell is restricted for use by only one customer + Category CreateManagementCellDetailsCategoryEnum `mandatory:"true" json:"category"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableCapacityInGBs *int64 `mandatory:"true" json:"availableCapacityInGBs"` + + Details *Details `mandatory:"true" json:"details"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` +} + +func (m CreateManagementCellDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateManagementCellDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingCreateManagementCellDetailsLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCreateManagementCellDetailsLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingCreateManagementCellDetailsCategoryEnum(string(m.Category)); !ok && m.Category != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetCreateManagementCellDetailsCategoryEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateManagementCellDetailsLifecycleStateEnum Enum with underlying type: string +type CreateManagementCellDetailsLifecycleStateEnum string + +// Set of constants representing the allowable values for CreateManagementCellDetailsLifecycleStateEnum +const ( + CreateManagementCellDetailsLifecycleStateCreating CreateManagementCellDetailsLifecycleStateEnum = "CREATING" + CreateManagementCellDetailsLifecycleStateActive CreateManagementCellDetailsLifecycleStateEnum = "ACTIVE" + CreateManagementCellDetailsLifecycleStateInactive CreateManagementCellDetailsLifecycleStateEnum = "INACTIVE" + CreateManagementCellDetailsLifecycleStateDeleted CreateManagementCellDetailsLifecycleStateEnum = "DELETED" +) + +var mappingCreateManagementCellDetailsLifecycleStateEnum = map[string]CreateManagementCellDetailsLifecycleStateEnum{ + "CREATING": CreateManagementCellDetailsLifecycleStateCreating, + "ACTIVE": CreateManagementCellDetailsLifecycleStateActive, + "INACTIVE": CreateManagementCellDetailsLifecycleStateInactive, + "DELETED": CreateManagementCellDetailsLifecycleStateDeleted, +} + +var mappingCreateManagementCellDetailsLifecycleStateEnumLowerCase = map[string]CreateManagementCellDetailsLifecycleStateEnum{ + "creating": CreateManagementCellDetailsLifecycleStateCreating, + "active": CreateManagementCellDetailsLifecycleStateActive, + "inactive": CreateManagementCellDetailsLifecycleStateInactive, + "deleted": CreateManagementCellDetailsLifecycleStateDeleted, +} + +// GetCreateManagementCellDetailsLifecycleStateEnumValues Enumerates the set of values for CreateManagementCellDetailsLifecycleStateEnum +func GetCreateManagementCellDetailsLifecycleStateEnumValues() []CreateManagementCellDetailsLifecycleStateEnum { + values := make([]CreateManagementCellDetailsLifecycleStateEnum, 0) + for _, v := range mappingCreateManagementCellDetailsLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetCreateManagementCellDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for CreateManagementCellDetailsLifecycleStateEnum +func GetCreateManagementCellDetailsLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "INACTIVE", + "DELETED", + } +} + +// GetMappingCreateManagementCellDetailsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateManagementCellDetailsLifecycleStateEnum(val string) (CreateManagementCellDetailsLifecycleStateEnum, bool) { + enum, ok := mappingCreateManagementCellDetailsLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// CreateManagementCellDetailsCategoryEnum Enum with underlying type: string +type CreateManagementCellDetailsCategoryEnum string + +// Set of constants representing the allowable values for CreateManagementCellDetailsCategoryEnum +const ( + CreateManagementCellDetailsCategoryGeneral CreateManagementCellDetailsCategoryEnum = "GENERAL" + CreateManagementCellDetailsCategoryInternal CreateManagementCellDetailsCategoryEnum = "INTERNAL" + CreateManagementCellDetailsCategoryRestricted CreateManagementCellDetailsCategoryEnum = "RESTRICTED" +) + +var mappingCreateManagementCellDetailsCategoryEnum = map[string]CreateManagementCellDetailsCategoryEnum{ + "GENERAL": CreateManagementCellDetailsCategoryGeneral, + "INTERNAL": CreateManagementCellDetailsCategoryInternal, + "RESTRICTED": CreateManagementCellDetailsCategoryRestricted, +} + +var mappingCreateManagementCellDetailsCategoryEnumLowerCase = map[string]CreateManagementCellDetailsCategoryEnum{ + "general": CreateManagementCellDetailsCategoryGeneral, + "internal": CreateManagementCellDetailsCategoryInternal, + "restricted": CreateManagementCellDetailsCategoryRestricted, +} + +// GetCreateManagementCellDetailsCategoryEnumValues Enumerates the set of values for CreateManagementCellDetailsCategoryEnum +func GetCreateManagementCellDetailsCategoryEnumValues() []CreateManagementCellDetailsCategoryEnum { + values := make([]CreateManagementCellDetailsCategoryEnum, 0) + for _, v := range mappingCreateManagementCellDetailsCategoryEnum { + values = append(values, v) + } + return values +} + +// GetCreateManagementCellDetailsCategoryEnumStringValues Enumerates the set of values in String for CreateManagementCellDetailsCategoryEnum +func GetCreateManagementCellDetailsCategoryEnumStringValues() []string { + return []string{ + "GENERAL", + "INTERNAL", + "RESTRICTED", + } +} + +// GetMappingCreateManagementCellDetailsCategoryEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateManagementCellDetailsCategoryEnum(val string) (CreateManagementCellDetailsCategoryEnum, bool) { + enum, ok := mappingCreateManagementCellDetailsCategoryEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go new file mode 100644 index 0000000000..e5cd196fc0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateManagementCellRequest wrapper for the CreateManagementCell operation +type CreateManagementCellRequest struct { + + // Details for the new ManagementCell. + CreateManagementCellDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateManagementCellRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateManagementCellRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateManagementCellRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateManagementCellResponse wrapper for the CreateManagementCell operation +type CreateManagementCellResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ManagementCell instance + ManagementCell `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateManagementCellResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateManagementCellResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go new file mode 100644 index 0000000000..e4d68378a3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateMapTenancyConfiguration Response to be returned post successful mapping +type CreateMapTenancyConfiguration struct { + + // The response message + Message *string `mandatory:"true" json:"message"` +} + +func (m CreateMapTenancyConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateMapTenancyConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go new file mode 100644 index 0000000000..780f3644b1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go @@ -0,0 +1,75 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateObjectStorageLinkDetails The details to create a Object Storage link. +type CreateObjectStorageLinkDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Object Storage link. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain that the Lustre file system is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system. + LustreFileSystemId *string `mandatory:"true" json:"lustreFileSystemId"` + + // The path in the Lustre file system used for this Object Storage link. + // Example: `myFileSystem/mount/myDirectory` + FileSystemPath *string `mandatory:"true" json:"fileSystemPath"` + + // The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. + // Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` + ObjectStoragePrefix *string `mandatory:"true" json:"objectStoragePrefix"` + + // The flag is an identifier to tell whether the job run has overwrite enabled. + // If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. + // If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. + IsOverwrite *bool `mandatory:"true" json:"isOverwrite"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Object Storage Link` + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` +} + +func (m CreateObjectStorageLinkDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateObjectStorageLinkDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go index 5415864659..3f37c92120 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go @@ -12,10 +12,6 @@ import ( ) // CreateObjectStorageLinkRequest wrapper for the CreateObjectStorageLink operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLinkRequest. type CreateObjectStorageLinkRequest struct { // Details for the new Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go new file mode 100644 index 0000000000..e78bb45aa8 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreatePoolDetails The data required for creating a Pool. +type CreatePoolDetails struct { + + // The type of pool + PoolType CreatePoolDetailsPoolTypeEnum `mandatory:"true" json:"poolType"` + + // Name of the pool + PoolName *string `mandatory:"true" json:"poolName"` + + // The name of the site group this pool is associated with + SiteGroup *string `mandatory:"true" json:"siteGroup"` + + // List of customer tenancies it is dedicated for + Resources []interface{} `mandatory:"true" json:"resources"` + + // List of customer tenancies it is dedicated for + DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` + + // List of customer tenancies it is dedicated for + Tags []string `mandatory:"false" json:"tags"` + + // The pools that have affinity with this pool. + PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` +} + +func (m CreatePoolDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreatePoolDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingCreatePoolDetailsPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetCreatePoolDetailsPoolTypeEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreatePoolDetailsPoolTypeEnum Enum with underlying type: string +type CreatePoolDetailsPoolTypeEnum string + +// Set of constants representing the allowable values for CreatePoolDetailsPoolTypeEnum +const ( + CreatePoolDetailsPoolTypeCompute CreatePoolDetailsPoolTypeEnum = "COMPUTE" + CreatePoolDetailsPoolTypeBlock CreatePoolDetailsPoolTypeEnum = "BLOCK" +) + +var mappingCreatePoolDetailsPoolTypeEnum = map[string]CreatePoolDetailsPoolTypeEnum{ + "COMPUTE": CreatePoolDetailsPoolTypeCompute, + "BLOCK": CreatePoolDetailsPoolTypeBlock, +} + +var mappingCreatePoolDetailsPoolTypeEnumLowerCase = map[string]CreatePoolDetailsPoolTypeEnum{ + "compute": CreatePoolDetailsPoolTypeCompute, + "block": CreatePoolDetailsPoolTypeBlock, +} + +// GetCreatePoolDetailsPoolTypeEnumValues Enumerates the set of values for CreatePoolDetailsPoolTypeEnum +func GetCreatePoolDetailsPoolTypeEnumValues() []CreatePoolDetailsPoolTypeEnum { + values := make([]CreatePoolDetailsPoolTypeEnum, 0) + for _, v := range mappingCreatePoolDetailsPoolTypeEnum { + values = append(values, v) + } + return values +} + +// GetCreatePoolDetailsPoolTypeEnumStringValues Enumerates the set of values in String for CreatePoolDetailsPoolTypeEnum +func GetCreatePoolDetailsPoolTypeEnumStringValues() []string { + return []string{ + "COMPUTE", + "BLOCK", + } +} + +// GetMappingCreatePoolDetailsPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreatePoolDetailsPoolTypeEnum(val string) (CreatePoolDetailsPoolTypeEnum, bool) { + enum, ok := mappingCreatePoolDetailsPoolTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go new file mode 100644 index 0000000000..1ddfb63015 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreatePoolRequest wrapper for the CreatePool operation +type CreatePoolRequest struct { + + // Details for the new Pool. + CreatePoolDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreatePoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreatePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreatePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreatePoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreatePoolRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreatePoolResponse wrapper for the CreatePool operation +type CreatePoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Pool instance + Pool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreatePoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreatePoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go new file mode 100644 index 0000000000..b6e042f337 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateTenancyOverrideDetails The data required for creating a Tenancy Override. +type CreateTenancyOverrideDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenancyId *string `mandatory:"true" json:"tenancyId"` + + // The list of overrides for a tenant. + Overrides []interface{} `mandatory:"true" json:"overrides"` +} + +func (m CreateTenancyOverrideDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateTenancyOverrideDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go new file mode 100644 index 0000000000..7edd957be0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateTenancyOverrideRequest wrapper for the CreateTenancyOverride operation +type CreateTenancyOverrideRequest struct { + + // Details for the new Tenancy Override. + CreateTenancyOverrideDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateTenancyOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateTenancyOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateTenancyOverrideResponse wrapper for the CreateTenancyOverride operation +type CreateTenancyOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The TenancyOverride instance + TenancyOverride `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateTenancyOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateTenancyOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go new file mode 100644 index 0000000000..5468d55378 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CurrentComputeCapacity The compute capacity tracked internally. +type CurrentComputeCapacity struct { + Cores16 *FaultDomainUsage `mandatory:"false" json:"cores16"` + + Cores94 *FaultDomainUsage `mandatory:"false" json:"cores94"` +} + +func (m CurrentComputeCapacity) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CurrentComputeCapacity) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go new file mode 100644 index 0000000000..79cf3e8298 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteAllTenancyOverridesForTenantRequest wrapper for the DeleteAllTenancyOverridesForTenant operation +type DeleteAllTenancyOverridesForTenantRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteAllTenancyOverridesForTenantRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteAllTenancyOverridesForTenantRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteAllTenancyOverridesForTenantRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteAllTenancyOverridesForTenantRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteAllTenancyOverridesForTenantRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteAllTenancyOverridesForTenantResponse wrapper for the DeleteAllTenancyOverridesForTenant operation +type DeleteAllTenancyOverridesForTenantResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteAllTenancyOverridesForTenantResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteAllTenancyOverridesForTenantResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go new file mode 100644 index 0000000000..d7a73e2af0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteCapacityReservationInfoRequest wrapper for the DeleteCapacityReservationInfo operation +type DeleteCapacityReservationInfoRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteCapacityReservationInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteCapacityReservationInfoResponse wrapper for the DeleteCapacityReservationInfo operation +type DeleteCapacityReservationInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteCapacityReservationInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteCapacityReservationInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go new file mode 100644 index 0000000000..157fec9ba0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteCpgOverrideRequest wrapper for the DeleteCpgOverride operation +type DeleteCpgOverrideRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" contributesTo:"path" name:"customerCpgId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteCpgOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteCpgOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteCpgOverrideResponse wrapper for the DeleteCpgOverride operation +type DeleteCpgOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteCpgOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteCpgOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go new file mode 100644 index 0000000000..a59c15f8d4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteLfsCpgInfoRequest wrapper for the DeleteLfsCpgInfo operation +type DeleteLfsCpgInfoRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" contributesTo:"path" name:"lfsCpgId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteLfsCpgInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteLfsCpgInfoResponse wrapper for the DeleteLfsCpgInfo operation +type DeleteLfsCpgInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteLfsCpgInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteLfsCpgInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go index 42f9289a34..c207d28246 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go @@ -12,10 +12,6 @@ import ( ) // DeleteLustreFileSystemRequest wrapper for the DeleteLustreFileSystem operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystemRequest. type DeleteLustreFileSystemRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go new file mode 100644 index 0000000000..9981550e09 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go @@ -0,0 +1,96 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteManagementCellRequest wrapper for the DeleteManagementCell operation +type DeleteManagementCellRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. + ManagementCellId *string `mandatory:"true" contributesTo:"path" name:"managementCellId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteManagementCellRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteManagementCellRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteManagementCellRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteManagementCellResponse wrapper for the DeleteManagementCell operation +type DeleteManagementCellResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteManagementCellResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteManagementCellResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go index 65a8f851ba..f3623aa666 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go @@ -12,10 +12,6 @@ import ( ) // DeleteObjectStorageLinkRequest wrapper for the DeleteObjectStorageLink operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLinkRequest. type DeleteObjectStorageLinkRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go new file mode 100644 index 0000000000..ba34debac9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeletePoolRequest wrapper for the DeletePool operation +type DeletePoolRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool. + PoolId *string `mandatory:"true" contributesTo:"path" name:"poolId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeletePoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeletePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeletePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeletePoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeletePoolRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeletePoolResponse wrapper for the DeletePool operation +type DeletePoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeletePoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeletePoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go new file mode 100644 index 0000000000..52a7c8ac42 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go @@ -0,0 +1,96 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteTenancyConfigurationRequest wrapper for the DeleteTenancyConfiguration operation +type DeleteTenancyConfigurationRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. + TenancyId *string `mandatory:"true" contributesTo:"path" name:"tenancyId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteTenancyConfigurationRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteTenancyConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteTenancyConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteTenancyConfigurationRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteTenancyConfigurationRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteTenancyConfigurationResponse wrapper for the DeleteTenancyConfiguration operation +type DeleteTenancyConfigurationResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteTenancyConfigurationResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteTenancyConfigurationResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go new file mode 100644 index 0000000000..4a4b030283 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go @@ -0,0 +1,95 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteTenancyOverrideRequest wrapper for the DeleteTenancyOverride operation +type DeleteTenancyOverrideRequest struct { + + // The ID associated with an override. + OverrideId *string `mandatory:"true" contributesTo:"path" name:"overrideId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteTenancyOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteTenancyOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteTenancyOverrideResponse wrapper for the DeleteTenancyOverride operation +type DeleteTenancyOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteTenancyOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteTenancyOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go new file mode 100644 index 0000000000..d34b5155fd --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DesiredComputeCount The desired compute configuration. +type DesiredComputeCount struct { + + // List of desired compute configurations. + Configs []interface{} `mandatory:"false" json:"configs"` +} + +func (m DesiredComputeCount) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m DesiredComputeCount) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go new file mode 100644 index 0000000000..073d154041 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Details ManagementCell details are captured in this JSON object. +type Details struct { + + // JSON object version. It helps in deploying read/write phase when JSON object is updated. + Version *int64 `mandatory:"false" json:"version"` + + // Management plane load balancer endpoint for ManagementCell + MpLoadBalancerEndpoint *string `mandatory:"false" json:"mpLoadBalancerEndpoint"` + + // Total Cell capacity available for creating new filesystems on the cell. Measured in GB. For create request, this will mapped to availableCapacityInGBs and need not to be part of request params. + TotalCapacityInGBs *int64 `mandatory:"false" json:"totalCapacityInGBs"` +} + +func (m Details) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Details) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go new file mode 100644 index 0000000000..0c7bb74398 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go @@ -0,0 +1,41 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FaultDomainUsage Usage per fault domain. +type FaultDomainUsage struct { + Fd1 *ReservedAndUsedCount `mandatory:"false" json:"fd1"` + + Fd2 *ReservedAndUsedCount `mandatory:"false" json:"fd2"` + + Fd3 *ReservedAndUsedCount `mandatory:"false" json:"fd3"` +} + +func (m FaultDomainUsage) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FaultDomainUsage) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go new file mode 100644 index 0000000000..310532ec04 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetCapacityReservationInfoRequest wrapper for the GetCapacityReservationInfo operation +type GetCapacityReservationInfoRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetCapacityReservationInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetCapacityReservationInfoResponse wrapper for the GetCapacityReservationInfo operation +type GetCapacityReservationInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CapacityReservationInfo instance + CapacityReservationInfo `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetCapacityReservationInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetCapacityReservationInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go new file mode 100644 index 0000000000..2423401f2c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetCpgOverrideRequest wrapper for the GetCpgOverride operation +type GetCpgOverrideRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" contributesTo:"path" name:"customerCpgId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetCpgOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetCpgOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetCpgOverrideResponse wrapper for the GetCpgOverride operation +type GetCpgOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CpgOverride instance + CpgOverride `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetCpgOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetCpgOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go new file mode 100644 index 0000000000..a973a50f87 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetLfsCpgInfoRequest wrapper for the GetLfsCpgInfo operation +type GetLfsCpgInfoRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" contributesTo:"path" name:"lfsCpgId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetLfsCpgInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetLfsCpgInfoResponse wrapper for the GetLfsCpgInfo operation +type GetLfsCpgInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The LfsCpgInfo instance + LfsCpgInfo `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetLfsCpgInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetLfsCpgInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go index c856c12a92..6b0f5cade9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go @@ -12,10 +12,6 @@ import ( ) // GetLustreFileSystemRequest wrapper for the GetLustreFileSystem operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystemRequest. type GetLustreFileSystemRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go new file mode 100644 index 0000000000..93371e44c3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetManagementCellRequest wrapper for the GetManagementCell operation +type GetManagementCellRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. + ManagementCellId *string `mandatory:"true" contributesTo:"path" name:"managementCellId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetManagementCellRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetManagementCellRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetManagementCellRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetManagementCellResponse wrapper for the GetManagementCell operation +type GetManagementCellResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ManagementCell instance + ManagementCell `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetManagementCellResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetManagementCellResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go index 0d04382d9b..0c308c20c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go @@ -12,10 +12,6 @@ import ( ) // GetObjectStorageLinkRequest wrapper for the GetObjectStorageLink operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLinkRequest. type GetObjectStorageLinkRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go new file mode 100644 index 0000000000..795f21ba08 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetPoolRequest wrapper for the GetPool operation +type GetPoolRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool. + PoolId *string `mandatory:"true" contributesTo:"path" name:"poolId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetPoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetPoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetPoolRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetPoolResponse wrapper for the GetPool operation +type GetPoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Pool instance + Pool `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetPoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetPoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go index df1abe6635..7cf1a640bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go @@ -12,10 +12,6 @@ import ( ) // GetSyncJobRequest wrapper for the GetSyncJob operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJobRequest. type GetSyncJobRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go new file mode 100644 index 0000000000..ebc49eb6ff --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go @@ -0,0 +1,92 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetTenancyOverrideRequest wrapper for the GetTenancyOverride operation +type GetTenancyOverrideRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetTenancyOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetTenancyOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetTenancyOverrideResponse wrapper for the GetTenancyOverride operation +type GetTenancyOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The TenancyOverride instance + TenancyOverride `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetTenancyOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetTenancyOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go index d1f1ccadbf..bd50e6824c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go @@ -12,10 +12,6 @@ import ( ) // GetWorkRequestRequest wrapper for the GetWorkRequest operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go new file mode 100644 index 0000000000..67d5c305da --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InjectFaultDetails Wrapper object for input map +type InjectFaultDetails struct { + + // Example: `{"action": "terminate_host"}` + PropertiesMap map[string]string `mandatory:"true" json:"map"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` +} + +func (m InjectFaultDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InjectFaultDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go new file mode 100644 index 0000000000..a95d4ff833 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InjectFaultOutputDetails Wrapper object for output map +type InjectFaultOutputDetails struct { + + // Example: `{"status": "success"}` + PropertiesMap map[string]string `mandatory:"true" json:"map"` +} + +func (m InjectFaultOutputDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InjectFaultOutputDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go new file mode 100644 index 0000000000..a4ce06707f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go @@ -0,0 +1,101 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// InjectFaultRequest wrapper for the InjectFault operation +type InjectFaultRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` + + // Inject faults for a particular lustre file system + InjectFaultDetails `contributesTo:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request InjectFaultRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request InjectFaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request InjectFaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request InjectFaultRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request InjectFaultRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// InjectFaultResponse wrapper for the InjectFault operation +type InjectFaultResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The InjectFaultOutputDetails instance + InjectFaultOutputDetails `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` +} + +func (response InjectFaultResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response InjectFaultResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go new file mode 100644 index 0000000000..ad05137b64 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LfsCpgInfo An object that gives more details about a LFS CPG. +type LfsCpgInfo struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The name of the site group that the LFS CPG belongs to. + SiteGroupKey *string `mandatory:"true" json:"siteGroupKey"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. + DefaultCapacityReservationId *string `mandatory:"true" json:"defaultCapacityReservationId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The date and time the LFS CPG Info was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the LFS CPG Info was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` +} + +func (m LfsCpgInfo) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LfsCpgInfo) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go new file mode 100644 index 0000000000..2f17362dd8 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LfsCpgInfoCollection Results of a LFS CPG Info search. Contains LFSCpgInfo items. +type LfsCpgInfoCollection struct { + + // List of LFSCpgInfoSummary. + Items []LfsCpgInfoSummary `mandatory:"true" json:"items"` +} + +func (m LfsCpgInfoCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LfsCpgInfoCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go new file mode 100644 index 0000000000..c19a04c3aa --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LfsCpgInfoSummary An object that gives more details about a LFS CPG. +type LfsCpgInfoSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` + + // The name of the site group that the LFS CPG belongs to. + SiteGroupKey *string `mandatory:"true" json:"siteGroupKey"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. + DefaultCapacityReservationId *string `mandatory:"true" json:"defaultCapacityReservationId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The date and time the LFS CPG Info was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the LFS CPG Info was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` +} + +func (m LfsCpgInfoSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LfsCpgInfoSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go new file mode 100644 index 0000000000..433cf18b94 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go @@ -0,0 +1,157 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListCapacityReservationInfosRequest wrapper for the ListCapacityReservationInfos operation +type ListCapacityReservationInfosRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"false" contributesTo:"query" name:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"false" contributesTo:"query" name:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"false" contributesTo:"query" name:"customerTenancyId"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListCapacityReservationInfosSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListCapacityReservationInfosRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListCapacityReservationInfosRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListCapacityReservationInfosRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListCapacityReservationInfosRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListCapacityReservationInfosRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListCapacityReservationInfosSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCapacityReservationInfosSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListCapacityReservationInfosResponse wrapper for the ListCapacityReservationInfos operation +type ListCapacityReservationInfosResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of CapacityReservationInfoCollection instances + CapacityReservationInfoCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListCapacityReservationInfosResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListCapacityReservationInfosResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListCapacityReservationInfosSortOrderEnum Enum with underlying type: string +type ListCapacityReservationInfosSortOrderEnum string + +// Set of constants representing the allowable values for ListCapacityReservationInfosSortOrderEnum +const ( + ListCapacityReservationInfosSortOrderAsc ListCapacityReservationInfosSortOrderEnum = "ASC" + ListCapacityReservationInfosSortOrderDesc ListCapacityReservationInfosSortOrderEnum = "DESC" +) + +var mappingListCapacityReservationInfosSortOrderEnum = map[string]ListCapacityReservationInfosSortOrderEnum{ + "ASC": ListCapacityReservationInfosSortOrderAsc, + "DESC": ListCapacityReservationInfosSortOrderDesc, +} + +var mappingListCapacityReservationInfosSortOrderEnumLowerCase = map[string]ListCapacityReservationInfosSortOrderEnum{ + "asc": ListCapacityReservationInfosSortOrderAsc, + "desc": ListCapacityReservationInfosSortOrderDesc, +} + +// GetListCapacityReservationInfosSortOrderEnumValues Enumerates the set of values for ListCapacityReservationInfosSortOrderEnum +func GetListCapacityReservationInfosSortOrderEnumValues() []ListCapacityReservationInfosSortOrderEnum { + values := make([]ListCapacityReservationInfosSortOrderEnum, 0) + for _, v := range mappingListCapacityReservationInfosSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListCapacityReservationInfosSortOrderEnumStringValues Enumerates the set of values in String for ListCapacityReservationInfosSortOrderEnum +func GetListCapacityReservationInfosSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListCapacityReservationInfosSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCapacityReservationInfosSortOrderEnum(val string) (ListCapacityReservationInfosSortOrderEnum, bool) { + enum, ok := mappingListCapacityReservationInfosSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go new file mode 100644 index 0000000000..459348ffac --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go @@ -0,0 +1,154 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListCpgOverridesRequest wrapper for the ListCpgOverrides operation +type ListCpgOverridesRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"false" contributesTo:"query" name:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"false" contributesTo:"query" name:"customerTenancyId"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListCpgOverridesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListCpgOverridesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListCpgOverridesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListCpgOverridesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListCpgOverridesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListCpgOverridesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListCpgOverridesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCpgOverridesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListCpgOverridesResponse wrapper for the ListCpgOverrides operation +type ListCpgOverridesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of CpgOverrideCollection instances + CpgOverrideCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListCpgOverridesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListCpgOverridesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListCpgOverridesSortOrderEnum Enum with underlying type: string +type ListCpgOverridesSortOrderEnum string + +// Set of constants representing the allowable values for ListCpgOverridesSortOrderEnum +const ( + ListCpgOverridesSortOrderAsc ListCpgOverridesSortOrderEnum = "ASC" + ListCpgOverridesSortOrderDesc ListCpgOverridesSortOrderEnum = "DESC" +) + +var mappingListCpgOverridesSortOrderEnum = map[string]ListCpgOverridesSortOrderEnum{ + "ASC": ListCpgOverridesSortOrderAsc, + "DESC": ListCpgOverridesSortOrderDesc, +} + +var mappingListCpgOverridesSortOrderEnumLowerCase = map[string]ListCpgOverridesSortOrderEnum{ + "asc": ListCpgOverridesSortOrderAsc, + "desc": ListCpgOverridesSortOrderDesc, +} + +// GetListCpgOverridesSortOrderEnumValues Enumerates the set of values for ListCpgOverridesSortOrderEnum +func GetListCpgOverridesSortOrderEnumValues() []ListCpgOverridesSortOrderEnum { + values := make([]ListCpgOverridesSortOrderEnum, 0) + for _, v := range mappingListCpgOverridesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListCpgOverridesSortOrderEnumStringValues Enumerates the set of values in String for ListCpgOverridesSortOrderEnum +func GetListCpgOverridesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListCpgOverridesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListCpgOverridesSortOrderEnum(val string) (ListCpgOverridesSortOrderEnum, bool) { + enum, ok := mappingListCpgOverridesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go new file mode 100644 index 0000000000..2d6beafa62 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go @@ -0,0 +1,155 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListLfsCpgInfosRequest wrapper for the ListLfsCpgInfos operation +type ListLfsCpgInfosRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"false" contributesTo:"query" name:"lfsCpgId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListLfsCpgInfosSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListLfsCpgInfosRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListLfsCpgInfosRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListLfsCpgInfosRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListLfsCpgInfosRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListLfsCpgInfosRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListLfsCpgInfosSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListLfsCpgInfosSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListLfsCpgInfosResponse wrapper for the ListLfsCpgInfos operation +type ListLfsCpgInfosResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of LfsCpgInfoCollection instances + LfsCpgInfoCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListLfsCpgInfosResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListLfsCpgInfosResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListLfsCpgInfosSortOrderEnum Enum with underlying type: string +type ListLfsCpgInfosSortOrderEnum string + +// Set of constants representing the allowable values for ListLfsCpgInfosSortOrderEnum +const ( + ListLfsCpgInfosSortOrderAsc ListLfsCpgInfosSortOrderEnum = "ASC" + ListLfsCpgInfosSortOrderDesc ListLfsCpgInfosSortOrderEnum = "DESC" +) + +var mappingListLfsCpgInfosSortOrderEnum = map[string]ListLfsCpgInfosSortOrderEnum{ + "ASC": ListLfsCpgInfosSortOrderAsc, + "DESC": ListLfsCpgInfosSortOrderDesc, +} + +var mappingListLfsCpgInfosSortOrderEnumLowerCase = map[string]ListLfsCpgInfosSortOrderEnum{ + "asc": ListLfsCpgInfosSortOrderAsc, + "desc": ListLfsCpgInfosSortOrderDesc, +} + +// GetListLfsCpgInfosSortOrderEnumValues Enumerates the set of values for ListLfsCpgInfosSortOrderEnum +func GetListLfsCpgInfosSortOrderEnumValues() []ListLfsCpgInfosSortOrderEnum { + values := make([]ListLfsCpgInfosSortOrderEnum, 0) + for _, v := range mappingListLfsCpgInfosSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListLfsCpgInfosSortOrderEnumStringValues Enumerates the set of values in String for ListLfsCpgInfosSortOrderEnum +func GetListLfsCpgInfosSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListLfsCpgInfosSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListLfsCpgInfosSortOrderEnum(val string) (ListLfsCpgInfosSortOrderEnum, bool) { + enum, ok := mappingListLfsCpgInfosSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go index 446f864823..66714263d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go @@ -12,10 +12,6 @@ import ( ) // ListLustreFileSystemsRequest wrapper for the ListLustreFileSystems operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystemsRequest. type ListLustreFileSystemsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go new file mode 100644 index 0000000000..ae42ea5615 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go @@ -0,0 +1,158 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListManagementCellsRequest wrapper for the ListManagementCells operation +type ListManagementCellsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. + Id *string `mandatory:"false" contributesTo:"query" name:"id"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListManagementCellsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListManagementCellsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListManagementCellsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListManagementCellsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListManagementCellsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListManagementCellsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListManagementCellsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListManagementCellsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListManagementCellsResponse wrapper for the ListManagementCells operation +type ListManagementCellsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ManagementCellCollection instances + ManagementCellCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListManagementCellsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListManagementCellsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListManagementCellsSortOrderEnum Enum with underlying type: string +type ListManagementCellsSortOrderEnum string + +// Set of constants representing the allowable values for ListManagementCellsSortOrderEnum +const ( + ListManagementCellsSortOrderAsc ListManagementCellsSortOrderEnum = "ASC" + ListManagementCellsSortOrderDesc ListManagementCellsSortOrderEnum = "DESC" +) + +var mappingListManagementCellsSortOrderEnum = map[string]ListManagementCellsSortOrderEnum{ + "ASC": ListManagementCellsSortOrderAsc, + "DESC": ListManagementCellsSortOrderDesc, +} + +var mappingListManagementCellsSortOrderEnumLowerCase = map[string]ListManagementCellsSortOrderEnum{ + "asc": ListManagementCellsSortOrderAsc, + "desc": ListManagementCellsSortOrderDesc, +} + +// GetListManagementCellsSortOrderEnumValues Enumerates the set of values for ListManagementCellsSortOrderEnum +func GetListManagementCellsSortOrderEnumValues() []ListManagementCellsSortOrderEnum { + values := make([]ListManagementCellsSortOrderEnum, 0) + for _, v := range mappingListManagementCellsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListManagementCellsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementCellsSortOrderEnum +func GetListManagementCellsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListManagementCellsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListManagementCellsSortOrderEnum(val string) (ListManagementCellsSortOrderEnum, bool) { + enum, ok := mappingListManagementCellsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go index 02c56cf8d0..0a4c443a40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go @@ -12,10 +12,6 @@ import ( ) // ListObjectStorageLinksRequest wrapper for the ListObjectStorageLinks operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinksRequest. type ListObjectStorageLinksRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go new file mode 100644 index 0000000000..76a4b745d0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go @@ -0,0 +1,148 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListPoolsRequest wrapper for the ListPools operation +type ListPoolsRequest struct { + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListPoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListPoolsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListPoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListPoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListPoolsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListPoolsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListPoolsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPoolsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListPoolsResponse wrapper for the ListPools operation +type ListPoolsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of PoolCollection instances + PoolCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListPoolsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListPoolsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListPoolsSortOrderEnum Enum with underlying type: string +type ListPoolsSortOrderEnum string + +// Set of constants representing the allowable values for ListPoolsSortOrderEnum +const ( + ListPoolsSortOrderAsc ListPoolsSortOrderEnum = "ASC" + ListPoolsSortOrderDesc ListPoolsSortOrderEnum = "DESC" +) + +var mappingListPoolsSortOrderEnum = map[string]ListPoolsSortOrderEnum{ + "ASC": ListPoolsSortOrderAsc, + "DESC": ListPoolsSortOrderDesc, +} + +var mappingListPoolsSortOrderEnumLowerCase = map[string]ListPoolsSortOrderEnum{ + "asc": ListPoolsSortOrderAsc, + "desc": ListPoolsSortOrderDesc, +} + +// GetListPoolsSortOrderEnumValues Enumerates the set of values for ListPoolsSortOrderEnum +func GetListPoolsSortOrderEnumValues() []ListPoolsSortOrderEnum { + values := make([]ListPoolsSortOrderEnum, 0) + for _, v := range mappingListPoolsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListPoolsSortOrderEnumStringValues Enumerates the set of values in String for ListPoolsSortOrderEnum +func GetListPoolsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListPoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListPoolsSortOrderEnum(val string) (ListPoolsSortOrderEnum, bool) { + enum, ok := mappingListPoolsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go new file mode 100644 index 0000000000..a03af979d7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go @@ -0,0 +1,151 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListProfilesRequest wrapper for the ListProfiles operation +type ListProfilesRequest struct { + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // A filter to return only profile associated with given name. + Name *string `mandatory:"false" contributesTo:"query" name:"name"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListProfilesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListProfilesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListProfilesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListProfilesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListProfilesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListProfilesResponse wrapper for the ListProfiles operation +type ListProfilesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ProfileCollection instances + ProfileCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListProfilesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListProfilesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListProfilesSortOrderEnum Enum with underlying type: string +type ListProfilesSortOrderEnum string + +// Set of constants representing the allowable values for ListProfilesSortOrderEnum +const ( + ListProfilesSortOrderAsc ListProfilesSortOrderEnum = "ASC" + ListProfilesSortOrderDesc ListProfilesSortOrderEnum = "DESC" +) + +var mappingListProfilesSortOrderEnum = map[string]ListProfilesSortOrderEnum{ + "ASC": ListProfilesSortOrderAsc, + "DESC": ListProfilesSortOrderDesc, +} + +var mappingListProfilesSortOrderEnumLowerCase = map[string]ListProfilesSortOrderEnum{ + "asc": ListProfilesSortOrderAsc, + "desc": ListProfilesSortOrderDesc, +} + +// GetListProfilesSortOrderEnumValues Enumerates the set of values for ListProfilesSortOrderEnum +func GetListProfilesSortOrderEnumValues() []ListProfilesSortOrderEnum { + values := make([]ListProfilesSortOrderEnum, 0) + for _, v := range mappingListProfilesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListProfilesSortOrderEnum +func GetListProfilesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListProfilesSortOrderEnum(val string) (ListProfilesSortOrderEnum, bool) { + enum, ok := mappingListProfilesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go index 1630840836..ec415dcdbe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go @@ -12,10 +12,6 @@ import ( ) // ListSyncJobsRequest wrapper for the ListSyncJobs operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobsRequest. type ListSyncJobsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go new file mode 100644 index 0000000000..4349fc81f3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go @@ -0,0 +1,151 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListTenancyConfigurationsRequest wrapper for the ListTenancyConfigurations operation +type ListTenancyConfigurationsRequest struct { + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListTenancyConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // A filter to return only profile associated with given name. + Name *string `mandatory:"false" contributesTo:"query" name:"name"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListTenancyConfigurationsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListTenancyConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListTenancyConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListTenancyConfigurationsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListTenancyConfigurationsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListTenancyConfigurationsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListTenancyConfigurationsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListTenancyConfigurationsResponse wrapper for the ListTenancyConfigurations operation +type ListTenancyConfigurationsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of MapTenancyConfigurationCollection instances + MapTenancyConfigurationCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListTenancyConfigurationsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListTenancyConfigurationsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListTenancyConfigurationsSortOrderEnum Enum with underlying type: string +type ListTenancyConfigurationsSortOrderEnum string + +// Set of constants representing the allowable values for ListTenancyConfigurationsSortOrderEnum +const ( + ListTenancyConfigurationsSortOrderAsc ListTenancyConfigurationsSortOrderEnum = "ASC" + ListTenancyConfigurationsSortOrderDesc ListTenancyConfigurationsSortOrderEnum = "DESC" +) + +var mappingListTenancyConfigurationsSortOrderEnum = map[string]ListTenancyConfigurationsSortOrderEnum{ + "ASC": ListTenancyConfigurationsSortOrderAsc, + "DESC": ListTenancyConfigurationsSortOrderDesc, +} + +var mappingListTenancyConfigurationsSortOrderEnumLowerCase = map[string]ListTenancyConfigurationsSortOrderEnum{ + "asc": ListTenancyConfigurationsSortOrderAsc, + "desc": ListTenancyConfigurationsSortOrderDesc, +} + +// GetListTenancyConfigurationsSortOrderEnumValues Enumerates the set of values for ListTenancyConfigurationsSortOrderEnum +func GetListTenancyConfigurationsSortOrderEnumValues() []ListTenancyConfigurationsSortOrderEnum { + values := make([]ListTenancyConfigurationsSortOrderEnum, 0) + for _, v := range mappingListTenancyConfigurationsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListTenancyConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyConfigurationsSortOrderEnum +func GetListTenancyConfigurationsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListTenancyConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListTenancyConfigurationsSortOrderEnum(val string) (ListTenancyConfigurationsSortOrderEnum, bool) { + enum, ok := mappingListTenancyConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go new file mode 100644 index 0000000000..3d60eadfc9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go @@ -0,0 +1,148 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListTenancyOverridesRequest wrapper for the ListTenancyOverrides operation +type ListTenancyOverridesRequest struct { + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListTenancyOverridesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListTenancyOverridesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListTenancyOverridesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListTenancyOverridesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListTenancyOverridesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListTenancyOverridesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListTenancyOverridesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListTenancyOverridesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListTenancyOverridesResponse wrapper for the ListTenancyOverrides operation +type ListTenancyOverridesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of TenancyOverrideCollection instances + TenancyOverrideCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListTenancyOverridesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListTenancyOverridesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListTenancyOverridesSortOrderEnum Enum with underlying type: string +type ListTenancyOverridesSortOrderEnum string + +// Set of constants representing the allowable values for ListTenancyOverridesSortOrderEnum +const ( + ListTenancyOverridesSortOrderAsc ListTenancyOverridesSortOrderEnum = "ASC" + ListTenancyOverridesSortOrderDesc ListTenancyOverridesSortOrderEnum = "DESC" +) + +var mappingListTenancyOverridesSortOrderEnum = map[string]ListTenancyOverridesSortOrderEnum{ + "ASC": ListTenancyOverridesSortOrderAsc, + "DESC": ListTenancyOverridesSortOrderDesc, +} + +var mappingListTenancyOverridesSortOrderEnumLowerCase = map[string]ListTenancyOverridesSortOrderEnum{ + "asc": ListTenancyOverridesSortOrderAsc, + "desc": ListTenancyOverridesSortOrderDesc, +} + +// GetListTenancyOverridesSortOrderEnumValues Enumerates the set of values for ListTenancyOverridesSortOrderEnum +func GetListTenancyOverridesSortOrderEnumValues() []ListTenancyOverridesSortOrderEnum { + values := make([]ListTenancyOverridesSortOrderEnum, 0) + for _, v := range mappingListTenancyOverridesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListTenancyOverridesSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyOverridesSortOrderEnum +func GetListTenancyOverridesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListTenancyOverridesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListTenancyOverridesSortOrderEnum(val string) (ListTenancyOverridesSortOrderEnum, bool) { + enum, ok := mappingListTenancyOverridesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go index 3e79fc829d..171974001d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go @@ -12,10 +12,6 @@ import ( ) // ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go index f8c49d2a42..0fe2f3837b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go @@ -12,10 +12,6 @@ import ( ) // ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go index 49e56868b1..5fd14a7d83 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go @@ -12,10 +12,6 @@ import ( ) // ListWorkRequestsRequest wrapper for the ListWorkRequests operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go new file mode 100644 index 0000000000..fdc26f1ec1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go @@ -0,0 +1,256 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LustreFileSystem A Lustre file system is a parallel file system that is used as a storage solution for HPC/AI/ML workloads. +// For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +// an administrator. If you're an administrator who needs to write policies to give users access, see +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +type LustreFileSystem struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the file system is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Lustre file system` + // + DisplayName *string `mandatory:"true" json:"displayName"` + + // Short description of the Lustre file system. + // Avoid entering confidential information. + FileSystemDescription *string `mandatory:"true" json:"fileSystemDescription"` + + // The date and time the Lustre file system was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the Lustre file system was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The current state of the Lustre file system. + LifecycleState LustreFileSystemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + // Capacity of the Lustre file system in GB. + CapacityInGBs *int `mandatory:"true" json:"capacityInGBs"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // The Lustre file system performance tier. A value of `MBPS_PER_TB_125` represents 125 megabytes per second per terabyte. + PerformanceTier LustreFileSystemPerformanceTierEnum `mandatory:"true" json:"performanceTier"` + + // The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system. For example '10.0.0.4'. + ManagementServiceAddress *string `mandatory:"true" json:"managementServiceAddress"` + + // The Lustre file system name. This is used in mount commands and other aspects of the client command line interface. + // The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'. + FileSystemName *string `mandatory:"true" json:"fileSystemName"` + + // Type of network used by clients to mount the file system. + // Example: `tcp` + Lnet *string `mandatory:"true" json:"lnet"` + + // Major version of Lustre running in the Lustre file system. + // Example: `2.15` + MajorVersion *string `mandatory:"true" json:"majorVersion"` + + MaintenanceWindow *MaintenanceWindow `mandatory:"true" json:"maintenanceWindow"` + + RootSquashConfiguration *RootSquashConfiguration `mandatory:"true" json:"rootSquashConfiguration"` + + // A message that describes the current state of the Lustre file system in more detail. For example, + // can be used to provide actionable information for a resource in the Failed state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system. + // A maximum of 5 is allowed. + // Setting this to an empty array after the list is created removes the lustre file system from all NSGs. + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. + KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists. + ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"` + + // The date and time that the current billing cycle for the file system will end, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. After the current cycle ends, + // this date is updated automatically to the next timestamp, which is 30 days later. + // File systems deleted earlier than this time will still incur charges until the billing cycle ends. + // Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd *common.SDKTime `mandatory:"false" json:"timeBillingCycleEnd"` +} + +func (m LustreFileSystem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LustreFileSystem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingLustreFileSystemLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetLustreFileSystemLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingLustreFileSystemPerformanceTierEnum(string(m.PerformanceTier)); !ok && m.PerformanceTier != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PerformanceTier: %s. Supported values are: %s.", m.PerformanceTier, strings.Join(GetLustreFileSystemPerformanceTierEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// LustreFileSystemLifecycleStateEnum Enum with underlying type: string +type LustreFileSystemLifecycleStateEnum string + +// Set of constants representing the allowable values for LustreFileSystemLifecycleStateEnum +const ( + LustreFileSystemLifecycleStateCreating LustreFileSystemLifecycleStateEnum = "CREATING" + LustreFileSystemLifecycleStateUpdating LustreFileSystemLifecycleStateEnum = "UPDATING" + LustreFileSystemLifecycleStateActive LustreFileSystemLifecycleStateEnum = "ACTIVE" + LustreFileSystemLifecycleStateInactive LustreFileSystemLifecycleStateEnum = "INACTIVE" + LustreFileSystemLifecycleStateDeleting LustreFileSystemLifecycleStateEnum = "DELETING" + LustreFileSystemLifecycleStateDeleted LustreFileSystemLifecycleStateEnum = "DELETED" + LustreFileSystemLifecycleStateFailed LustreFileSystemLifecycleStateEnum = "FAILED" +) + +var mappingLustreFileSystemLifecycleStateEnum = map[string]LustreFileSystemLifecycleStateEnum{ + "CREATING": LustreFileSystemLifecycleStateCreating, + "UPDATING": LustreFileSystemLifecycleStateUpdating, + "ACTIVE": LustreFileSystemLifecycleStateActive, + "INACTIVE": LustreFileSystemLifecycleStateInactive, + "DELETING": LustreFileSystemLifecycleStateDeleting, + "DELETED": LustreFileSystemLifecycleStateDeleted, + "FAILED": LustreFileSystemLifecycleStateFailed, +} + +var mappingLustreFileSystemLifecycleStateEnumLowerCase = map[string]LustreFileSystemLifecycleStateEnum{ + "creating": LustreFileSystemLifecycleStateCreating, + "updating": LustreFileSystemLifecycleStateUpdating, + "active": LustreFileSystemLifecycleStateActive, + "inactive": LustreFileSystemLifecycleStateInactive, + "deleting": LustreFileSystemLifecycleStateDeleting, + "deleted": LustreFileSystemLifecycleStateDeleted, + "failed": LustreFileSystemLifecycleStateFailed, +} + +// GetLustreFileSystemLifecycleStateEnumValues Enumerates the set of values for LustreFileSystemLifecycleStateEnum +func GetLustreFileSystemLifecycleStateEnumValues() []LustreFileSystemLifecycleStateEnum { + values := make([]LustreFileSystemLifecycleStateEnum, 0) + for _, v := range mappingLustreFileSystemLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetLustreFileSystemLifecycleStateEnumStringValues Enumerates the set of values in String for LustreFileSystemLifecycleStateEnum +func GetLustreFileSystemLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "UPDATING", + "ACTIVE", + "INACTIVE", + "DELETING", + "DELETED", + "FAILED", + } +} + +// GetMappingLustreFileSystemLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLustreFileSystemLifecycleStateEnum(val string) (LustreFileSystemLifecycleStateEnum, bool) { + enum, ok := mappingLustreFileSystemLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// LustreFileSystemPerformanceTierEnum Enum with underlying type: string +type LustreFileSystemPerformanceTierEnum string + +// Set of constants representing the allowable values for LustreFileSystemPerformanceTierEnum +const ( + LustreFileSystemPerformanceTier125 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_125" + LustreFileSystemPerformanceTier250 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_250" + LustreFileSystemPerformanceTier500 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_500" + LustreFileSystemPerformanceTier1000 LustreFileSystemPerformanceTierEnum = "MBPS_PER_TB_1000" +) + +var mappingLustreFileSystemPerformanceTierEnum = map[string]LustreFileSystemPerformanceTierEnum{ + "MBPS_PER_TB_125": LustreFileSystemPerformanceTier125, + "MBPS_PER_TB_250": LustreFileSystemPerformanceTier250, + "MBPS_PER_TB_500": LustreFileSystemPerformanceTier500, + "MBPS_PER_TB_1000": LustreFileSystemPerformanceTier1000, +} + +var mappingLustreFileSystemPerformanceTierEnumLowerCase = map[string]LustreFileSystemPerformanceTierEnum{ + "mbps_per_tb_125": LustreFileSystemPerformanceTier125, + "mbps_per_tb_250": LustreFileSystemPerformanceTier250, + "mbps_per_tb_500": LustreFileSystemPerformanceTier500, + "mbps_per_tb_1000": LustreFileSystemPerformanceTier1000, +} + +// GetLustreFileSystemPerformanceTierEnumValues Enumerates the set of values for LustreFileSystemPerformanceTierEnum +func GetLustreFileSystemPerformanceTierEnumValues() []LustreFileSystemPerformanceTierEnum { + values := make([]LustreFileSystemPerformanceTierEnum, 0) + for _, v := range mappingLustreFileSystemPerformanceTierEnum { + values = append(values, v) + } + return values +} + +// GetLustreFileSystemPerformanceTierEnumStringValues Enumerates the set of values in String for LustreFileSystemPerformanceTierEnum +func GetLustreFileSystemPerformanceTierEnumStringValues() []string { + return []string{ + "MBPS_PER_TB_125", + "MBPS_PER_TB_250", + "MBPS_PER_TB_500", + "MBPS_PER_TB_1000", + } +} + +// GetMappingLustreFileSystemPerformanceTierEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLustreFileSystemPerformanceTierEnum(val string) (LustreFileSystemPerformanceTierEnum, bool) { + enum, ok := mappingLustreFileSystemPerformanceTierEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go new file mode 100644 index 0000000000..f201792f51 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LustreFileSystemCollection Results of a Lustre file system search. Contains both LustreFileSystemSummary items and other information, such as metadata. +type LustreFileSystemCollection struct { + + // List of Lustre file systems. + Items []LustreFileSystemSummary `mandatory:"true" json:"items"` +} + +func (m LustreFileSystemCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LustreFileSystemCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go new file mode 100644 index 0000000000..afd694cbcf --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go @@ -0,0 +1,188 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LustreFileSystemSummary Summary information about a Lustre file system. +type LustreFileSystemSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the file system is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Lustre file system` + DisplayName *string `mandatory:"true" json:"displayName"` + + // Short description of the Lustre file system. + // Avoid entering confidential information. + FileSystemDescription *string `mandatory:"true" json:"fileSystemDescription"` + + // The date and time the Lustre file system was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the Lustre file system was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The current state of the Lustre file system. + LifecycleState LustreFileSystemLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + // The Lustre file system name. This is used in mount commands and other aspects of the client command line interface. + // The default file system name is 'lustre'. The file system name is limited to 8 characters. Allowed characters are lower and upper case English letters, numbers, and '_'. + FileSystemName *string `mandatory:"true" json:"fileSystemName"` + + // Capacity of the Lustre file system in GB. + CapacityInGBs *int `mandatory:"true" json:"capacityInGBs"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the Lustre file system is in. + SubnetId *string `mandatory:"true" json:"subnetId"` + + // The Lustre file system performance tier. A value of `MBPS_PER_TB_125` represents 125 megabytes per second per terabyte. + PerformanceTier LustreFileSystemSummaryPerformanceTierEnum `mandatory:"true" json:"performanceTier"` + + // The date and time the LustreFileSystem current billing cycle will end, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, + // it is updated automatically to next timestamp which is after 30 days. + // File systems deleted earlier will still incur charges till this date. + // Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd *common.SDKTime `mandatory:"true" json:"timeBillingCycleEnd"` + + // The IPv4 address of MGS (Lustre Management Service) used by clients to mount the file system. + // Example: `10.0.0.4` + ManagementServiceAddress *string `mandatory:"true" json:"managementServiceAddress"` + + // Type of network used by clients to mount the file system. + // Example: `tcp` + Lnet *string `mandatory:"true" json:"lnet"` + + // Major version of Lustre running in the Lustre file system. + // Example: `2.15` + MajorVersion *string `mandatory:"true" json:"majorVersion"` + + RootSquashConfiguration *RootSquashConfiguration `mandatory:"true" json:"rootSquashConfiguration"` + + // A message that describes the current state of the Lustre file system in more detail. For example, + // can be used to provide actionable information for a resource in the Failed state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system. + // A maximum of 5 is allowed. + // Setting this to an empty array after the list is created removes the lustre file system from all NSGs. + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. + KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists. + ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"` +} + +func (m LustreFileSystemSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LustreFileSystemSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingLustreFileSystemLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetLustreFileSystemLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingLustreFileSystemSummaryPerformanceTierEnum(string(m.PerformanceTier)); !ok && m.PerformanceTier != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PerformanceTier: %s. Supported values are: %s.", m.PerformanceTier, strings.Join(GetLustreFileSystemSummaryPerformanceTierEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// LustreFileSystemSummaryPerformanceTierEnum Enum with underlying type: string +type LustreFileSystemSummaryPerformanceTierEnum string + +// Set of constants representing the allowable values for LustreFileSystemSummaryPerformanceTierEnum +const ( + LustreFileSystemSummaryPerformanceTier125 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_125" + LustreFileSystemSummaryPerformanceTier250 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_250" + LustreFileSystemSummaryPerformanceTier500 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_500" + LustreFileSystemSummaryPerformanceTier1000 LustreFileSystemSummaryPerformanceTierEnum = "MBPS_PER_TB_1000" +) + +var mappingLustreFileSystemSummaryPerformanceTierEnum = map[string]LustreFileSystemSummaryPerformanceTierEnum{ + "MBPS_PER_TB_125": LustreFileSystemSummaryPerformanceTier125, + "MBPS_PER_TB_250": LustreFileSystemSummaryPerformanceTier250, + "MBPS_PER_TB_500": LustreFileSystemSummaryPerformanceTier500, + "MBPS_PER_TB_1000": LustreFileSystemSummaryPerformanceTier1000, +} + +var mappingLustreFileSystemSummaryPerformanceTierEnumLowerCase = map[string]LustreFileSystemSummaryPerformanceTierEnum{ + "mbps_per_tb_125": LustreFileSystemSummaryPerformanceTier125, + "mbps_per_tb_250": LustreFileSystemSummaryPerformanceTier250, + "mbps_per_tb_500": LustreFileSystemSummaryPerformanceTier500, + "mbps_per_tb_1000": LustreFileSystemSummaryPerformanceTier1000, +} + +// GetLustreFileSystemSummaryPerformanceTierEnumValues Enumerates the set of values for LustreFileSystemSummaryPerformanceTierEnum +func GetLustreFileSystemSummaryPerformanceTierEnumValues() []LustreFileSystemSummaryPerformanceTierEnum { + values := make([]LustreFileSystemSummaryPerformanceTierEnum, 0) + for _, v := range mappingLustreFileSystemSummaryPerformanceTierEnum { + values = append(values, v) + } + return values +} + +// GetLustreFileSystemSummaryPerformanceTierEnumStringValues Enumerates the set of values in String for LustreFileSystemSummaryPerformanceTierEnum +func GetLustreFileSystemSummaryPerformanceTierEnumStringValues() []string { + return []string{ + "MBPS_PER_TB_125", + "MBPS_PER_TB_250", + "MBPS_PER_TB_500", + "MBPS_PER_TB_1000", + } +} + +// GetMappingLustreFileSystemSummaryPerformanceTierEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLustreFileSystemSummaryPerformanceTierEnum(val string) (LustreFileSystemSummaryPerformanceTierEnum, bool) { + enum, ok := mappingLustreFileSystemSummaryPerformanceTierEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go new file mode 100644 index 0000000000..10c404e5af --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go @@ -0,0 +1,367 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// CapacityReservationInfoClient a client for CapacityReservationInfo +type CapacityReservationInfoClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewCapacityReservationInfoClientWithConfigurationProvider Creates a new default CapacityReservationInfo client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewCapacityReservationInfoClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CapacityReservationInfoClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newCapacityReservationInfoClientFromBaseClient(baseClient, provider) +} + +// NewCapacityReservationInfoClientWithOboToken Creates a new default CapacityReservationInfo client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewCapacityReservationInfoClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CapacityReservationInfoClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newCapacityReservationInfoClientFromBaseClient(baseClient, configProvider) +} + +func newCapacityReservationInfoClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client CapacityReservationInfoClient, err error) { + // CapacityReservationInfo service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("CapacityReservationInfo")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = CapacityReservationInfoClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *CapacityReservationInfoClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *CapacityReservationInfoClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *CapacityReservationInfoClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CreateCapacityReservationInfo Creates a Capacity Reservation Info. +// A default retry strategy applies to this operation CreateCapacityReservationInfo() +func (client CapacityReservationInfoClient) CreateCapacityReservationInfo(ctx context.Context, request CreateCapacityReservationInfoRequest) (response CreateCapacityReservationInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createCapacityReservationInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateCapacityReservationInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateCapacityReservationInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateCapacityReservationInfoResponse") + } + return +} + +// createCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) +func (client CapacityReservationInfoClient) createCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/capacityReservationInfos", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateCapacityReservationInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/CreateCapacityReservationInfo" + err = common.PostProcessServiceError(err, "CapacityReservationInfo", "CreateCapacityReservationInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteCapacityReservationInfo Deletes a CapacityReservationInfo. +// A default retry strategy applies to this operation DeleteCapacityReservationInfo() +func (client CapacityReservationInfoClient) DeleteCapacityReservationInfo(ctx context.Context, request DeleteCapacityReservationInfoRequest) (response DeleteCapacityReservationInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteCapacityReservationInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteCapacityReservationInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteCapacityReservationInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteCapacityReservationInfoResponse") + } + return +} + +// deleteCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) +func (client CapacityReservationInfoClient) deleteCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/capacityReservationInfos/{capacityReservationId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteCapacityReservationInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/DeleteCapacityReservationInfo" + err = common.PostProcessServiceError(err, "CapacityReservationInfo", "DeleteCapacityReservationInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetCapacityReservationInfo Gets information about a CapacityReservationInfo. +// A default retry strategy applies to this operation GetCapacityReservationInfo() +func (client CapacityReservationInfoClient) GetCapacityReservationInfo(ctx context.Context, request GetCapacityReservationInfoRequest) (response GetCapacityReservationInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getCapacityReservationInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetCapacityReservationInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetCapacityReservationInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetCapacityReservationInfoResponse") + } + return +} + +// getCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) +func (client CapacityReservationInfoClient) getCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/capacityReservationInfos/{capacityReservationId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetCapacityReservationInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/GetCapacityReservationInfo" + err = common.PostProcessServiceError(err, "CapacityReservationInfo", "GetCapacityReservationInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListCapacityReservationInfos Gets a list of Capacity Reservation Info. +// A default retry strategy applies to this operation ListCapacityReservationInfos() +func (client CapacityReservationInfoClient) ListCapacityReservationInfos(ctx context.Context, request ListCapacityReservationInfosRequest) (response ListCapacityReservationInfosResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listCapacityReservationInfos, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListCapacityReservationInfosResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListCapacityReservationInfosResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListCapacityReservationInfosResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListCapacityReservationInfosResponse") + } + return +} + +// listCapacityReservationInfos implements the OCIOperation interface (enables retrying operations) +func (client CapacityReservationInfoClient) listCapacityReservationInfos(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/capacityReservationInfos", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListCapacityReservationInfosResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfoCollection/ListCapacityReservationInfos" + err = common.PostProcessServiceError(err, "CapacityReservationInfo", "ListCapacityReservationInfos", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateCapacityReservationInfo Updates a CapacityReservationInfo. +// A default retry strategy applies to this operation UpdateCapacityReservationInfo() +func (client CapacityReservationInfoClient) UpdateCapacityReservationInfo(ctx context.Context, request UpdateCapacityReservationInfoRequest) (response UpdateCapacityReservationInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateCapacityReservationInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateCapacityReservationInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateCapacityReservationInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateCapacityReservationInfoResponse") + } + return +} + +// updateCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) +func (client CapacityReservationInfoClient) updateCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/capacityReservationInfos/{capacityReservationId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateCapacityReservationInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/UpdateCapacityReservationInfo" + err = common.PostProcessServiceError(err, "CapacityReservationInfo", "UpdateCapacityReservationInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go index 502e6cef14..b9bb3c8c4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go @@ -92,10 +92,6 @@ func (client *LustreFileStorageClient) ConfigurationProvider() *common.Configura } // CancelWorkRequest Cancels a work request. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. // A default retry strategy applies to this operation CancelWorkRequest() func (client LustreFileStorageClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -151,10 +147,6 @@ func (client LustreFileStorageClient) cancelWorkRequest(ctx context.Context, req // ChangeLustreFileSystemCompartment Moves a Lustre file system into a different compartment within the same tenancy. For information about moving resources between // compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartment API. // A default retry strategy applies to this operation ChangeLustreFileSystemCompartment() func (client LustreFileStorageClient) ChangeLustreFileSystemCompartment(ctx context.Context, request ChangeLustreFileSystemCompartmentRequest) (response ChangeLustreFileSystemCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -210,10 +202,6 @@ func (client LustreFileStorageClient) changeLustreFileSystemCompartment(ctx cont // ChangeObjectStorageLinkCompartment Moves an Object Storage link into a different compartment within the same tenancy. For information about moving resources between // compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartment API. // A default retry strategy applies to this operation ChangeObjectStorageLinkCompartment() func (client LustreFileStorageClient) ChangeObjectStorageLinkCompartment(ctx context.Context, request ChangeObjectStorageLinkCompartmentRequest) (response ChangeObjectStorageLinkCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -273,10 +261,6 @@ func (client LustreFileStorageClient) changeObjectStorageLinkCompartment(ctx con } // CreateLustreFileSystem Creates a Lustre file system. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystem API. // A default retry strategy applies to this operation CreateLustreFileSystem() func (client LustreFileStorageClient) CreateLustreFileSystem(ctx context.Context, request CreateLustreFileSystemRequest) (response CreateLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -336,10 +320,6 @@ func (client LustreFileStorageClient) createLustreFileSystem(ctx context.Context } // CreateObjectStorageLink Creates an Object Storage link. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLink API. // A default retry strategy applies to this operation CreateObjectStorageLink() func (client LustreFileStorageClient) CreateObjectStorageLink(ctx context.Context, request CreateObjectStorageLinkRequest) (response CreateObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse @@ -399,10 +379,6 @@ func (client LustreFileStorageClient) createObjectStorageLink(ctx context.Contex } // DeleteLustreFileSystem Deletes a Lustre file system. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystem API. // A default retry strategy applies to this operation DeleteLustreFileSystem() func (client LustreFileStorageClient) DeleteLustreFileSystem(ctx context.Context, request DeleteLustreFileSystemRequest) (response DeleteLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -457,10 +433,6 @@ func (client LustreFileStorageClient) deleteLustreFileSystem(ctx context.Context } // DeleteObjectStorageLink Deletes an Object Storage link. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLink API. // A default retry strategy applies to this operation DeleteObjectStorageLink() func (client LustreFileStorageClient) DeleteObjectStorageLink(ctx context.Context, request DeleteObjectStorageLinkRequest) (response DeleteObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse @@ -515,10 +487,6 @@ func (client LustreFileStorageClient) deleteObjectStorageLink(ctx context.Contex } // GetLustreFileSystem Gets information about a Lustre file system. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystem API. // A default retry strategy applies to this operation GetLustreFileSystem() func (client LustreFileStorageClient) GetLustreFileSystem(ctx context.Context, request GetLustreFileSystemRequest) (response GetLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -573,10 +541,6 @@ func (client LustreFileStorageClient) getLustreFileSystem(ctx context.Context, r } // GetObjectStorageLink Gets information about an Object Storage link. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLink API. // A default retry strategy applies to this operation GetObjectStorageLink() func (client LustreFileStorageClient) GetObjectStorageLink(ctx context.Context, request GetObjectStorageLinkRequest) (response GetObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse @@ -631,10 +595,6 @@ func (client LustreFileStorageClient) getObjectStorageLink(ctx context.Context, } // GetSyncJob Gets details of a sync job associated with an Object Storage link when `objectStorageLink` and a unique ID are provided. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJob API. // A default retry strategy applies to this operation GetSyncJob() func (client LustreFileStorageClient) GetSyncJob(ctx context.Context, request GetSyncJobRequest) (response GetSyncJobResponse, err error) { var ociResponse common.OCIResponse @@ -689,10 +649,6 @@ func (client LustreFileStorageClient) getSyncJob(ctx context.Context, request co } // GetWorkRequest Gets the details of a work request. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. // A default retry strategy applies to this operation GetWorkRequest() func (client LustreFileStorageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -747,10 +703,6 @@ func (client LustreFileStorageClient) getWorkRequest(ctx context.Context, reques } // ListLustreFileSystems Gets a list of Lustre file systems. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystems API. // A default retry strategy applies to this operation ListLustreFileSystems() func (client LustreFileStorageClient) ListLustreFileSystems(ctx context.Context, request ListLustreFileSystemsRequest) (response ListLustreFileSystemsResponse, err error) { var ociResponse common.OCIResponse @@ -805,10 +757,6 @@ func (client LustreFileStorageClient) listLustreFileSystems(ctx context.Context, } // ListObjectStorageLinks Gets a list of Object Storage links. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinks API. // A default retry strategy applies to this operation ListObjectStorageLinks() func (client LustreFileStorageClient) ListObjectStorageLinks(ctx context.Context, request ListObjectStorageLinksRequest) (response ListObjectStorageLinksResponse, err error) { var ociResponse common.OCIResponse @@ -863,10 +811,6 @@ func (client LustreFileStorageClient) listObjectStorageLinks(ctx context.Context } // ListSyncJobs Lists all sync jobs associated with the Object Storage link. Contains a unique ID for each sync job. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobs API. // A default retry strategy applies to this operation ListSyncJobs() func (client LustreFileStorageClient) ListSyncJobs(ctx context.Context, request ListSyncJobsRequest) (response ListSyncJobsResponse, err error) { var ociResponse common.OCIResponse @@ -921,10 +865,6 @@ func (client LustreFileStorageClient) listSyncJobs(ctx context.Context, request } // ListWorkRequestErrors Lists the errors for a work request. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. // A default retry strategy applies to this operation ListWorkRequestErrors() func (client LustreFileStorageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse @@ -979,10 +919,6 @@ func (client LustreFileStorageClient) listWorkRequestErrors(ctx context.Context, } // ListWorkRequestLogs Lists the logs for a work request. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. // A default retry strategy applies to this operation ListWorkRequestLogs() func (client LustreFileStorageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse @@ -1037,10 +973,6 @@ func (client LustreFileStorageClient) listWorkRequestLogs(ctx context.Context, r } // ListWorkRequests Lists the work requests in a compartment. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. // A default retry strategy applies to this operation ListWorkRequests() func (client LustreFileStorageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -1094,12 +1026,68 @@ func (client LustreFileStorageClient) listWorkRequests(ctx context.Context, requ return response, err } +// PauseSyncJob Pauses the object sync job in progress. The object sync job can either have Object Storage or Lustre File +// System as either source or target. +// A default retry strategy applies to this operation PauseSyncJob() +func (client LustreFileStorageClient) PauseSyncJob(ctx context.Context, request PauseSyncJobRequest) (response PauseSyncJobResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.pauseSyncJob, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = PauseSyncJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = PauseSyncJobResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(PauseSyncJobResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into PauseSyncJobResponse") + } + return +} + +// pauseSyncJob implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) pauseSyncJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/pauseSyncJob", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response PauseSyncJobResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/PauseSyncJob" + err = common.PostProcessServiceError(err, "LustreFileStorage", "PauseSyncJob", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // StartExportToObject Starts the export of data from the Lustre file system to Object Storage. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObject API. // A default retry strategy applies to this operation StartExportToObject() func (client LustreFileStorageClient) StartExportToObject(ctx context.Context, request StartExportToObjectRequest) (response StartExportToObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1160,10 +1148,6 @@ func (client LustreFileStorageClient) startExportToObject(ctx context.Context, r // StartImportFromObject Starts the import of data from Object Storage to the Lustre file system. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObject API. // A default retry strategy applies to this operation StartImportFromObject() func (client LustreFileStorageClient) StartImportFromObject(ctx context.Context, request StartImportFromObjectRequest) (response StartImportFromObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1224,10 +1208,6 @@ func (client LustreFileStorageClient) startImportFromObject(ctx context.Context, // StopExportToObject Stops the export of data from the Lustre file system to Object Storage. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObject API. // A default retry strategy applies to this operation StopExportToObject() func (client LustreFileStorageClient) StopExportToObject(ctx context.Context, request StopExportToObjectRequest) (response StopExportToObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1288,10 +1268,6 @@ func (client LustreFileStorageClient) stopExportToObject(ctx context.Context, re // StopImportFromObject Stops the import of data from Object Storage to the Lustre file system. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObject API. // A default retry strategy applies to this operation StopImportFromObject() func (client LustreFileStorageClient) StopImportFromObject(ctx context.Context, request StopImportFromObjectRequest) (response StopImportFromObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1350,11 +1326,67 @@ func (client LustreFileStorageClient) stopImportFromObject(ctx context.Context, return response, err } +// UnpauseSyncJob Unpauses the object sync job in progress. The object sync job can either have Object Storage or Lustre File +// System as either source or target. +// A default retry strategy applies to this operation UnpauseSyncJob() +func (client LustreFileStorageClient) UnpauseSyncJob(ctx context.Context, request UnpauseSyncJobRequest) (response UnpauseSyncJobResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.unpauseSyncJob, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UnpauseSyncJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UnpauseSyncJobResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UnpauseSyncJobResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UnpauseSyncJobResponse") + } + return +} + +// unpauseSyncJob implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) unpauseSyncJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/unpauseSyncJob", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UnpauseSyncJobResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/UnpauseSyncJob" + err = common.PostProcessServiceError(err, "LustreFileStorage", "UnpauseSyncJob", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateLustreFileSystem Updates a Lustre file system. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystem API. // A default retry strategy applies to this operation UpdateLustreFileSystem() func (client LustreFileStorageClient) UpdateLustreFileSystem(ctx context.Context, request UpdateLustreFileSystemRequest) (response UpdateLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -1409,10 +1441,6 @@ func (client LustreFileStorageClient) updateLustreFileSystem(ctx context.Context } // UpdateObjectStorageLink Updates an Object Storage link. -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLink API. // A default retry strategy applies to this operation UpdateObjectStorageLink() func (client LustreFileStorageClient) UpdateObjectStorageLink(ctx context.Context, request UpdateObjectStorageLinkRequest) (response UpdateObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go new file mode 100644 index 0000000000..09a0d610c6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go @@ -0,0 +1,313 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// ConfigMgmtClient a client for ConfigMgmt +type ConfigMgmtClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewConfigMgmtClientWithConfigurationProvider Creates a new default ConfigMgmt client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewConfigMgmtClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ConfigMgmtClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newConfigMgmtClientFromBaseClient(baseClient, provider) +} + +// NewConfigMgmtClientWithOboToken Creates a new default ConfigMgmt client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewConfigMgmtClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ConfigMgmtClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newConfigMgmtClientFromBaseClient(baseClient, configProvider) +} + +func newConfigMgmtClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client ConfigMgmtClient, err error) { + // ConfigMgmt service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("ConfigMgmt")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = ConfigMgmtClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *ConfigMgmtClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *ConfigMgmtClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *ConfigMgmtClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// DeleteTenancyConfiguration Delete the tenancy configuration mapping for given tenancy +// A default retry strategy applies to this operation DeleteTenancyConfiguration() +func (client ConfigMgmtClient) DeleteTenancyConfiguration(ctx context.Context, request DeleteTenancyConfigurationRequest) (response DeleteTenancyConfigurationResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteTenancyConfiguration, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteTenancyConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteTenancyConfigurationResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteTenancyConfigurationResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteTenancyConfigurationResponse") + } + return +} + +// deleteTenancyConfiguration implements the OCIOperation interface (enables retrying operations) +func (client ConfigMgmtClient) deleteTenancyConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/configManagement/tenancyConfigurations/{tenancyId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteTenancyConfigurationResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyConfigurationSummary/DeleteTenancyConfiguration" + err = common.PostProcessServiceError(err, "ConfigMgmt", "DeleteTenancyConfiguration", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListProfiles Retrieve all available profiles for the file system configuration. +// A default retry strategy applies to this operation ListProfiles() +func (client ConfigMgmtClient) ListProfiles(ctx context.Context, request ListProfilesRequest) (response ListProfilesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listProfiles, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListProfilesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListProfilesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListProfilesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListProfilesResponse") + } + return +} + +// listProfiles implements the OCIOperation interface (enables retrying operations) +func (client ConfigMgmtClient) listProfiles(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/configManagement/profiles", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListProfilesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ProfileCollection/ListProfiles" + err = common.PostProcessServiceError(err, "ConfigMgmt", "ListProfiles", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListTenancyConfigurations Returns all the tenancy configuration along with profile and capacity reservation associated. +// A default retry strategy applies to this operation ListTenancyConfigurations() +func (client ConfigMgmtClient) ListTenancyConfigurations(ctx context.Context, request ListTenancyConfigurationsRequest) (response ListTenancyConfigurationsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listTenancyConfigurations, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListTenancyConfigurationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListTenancyConfigurationsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListTenancyConfigurationsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListTenancyConfigurationsResponse") + } + return +} + +// listTenancyConfigurations implements the OCIOperation interface (enables retrying operations) +func (client ConfigMgmtClient) listTenancyConfigurations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/configManagement/tenancyConfigurations", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListTenancyConfigurationsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/MapTenancyConfigurationCollection/ListTenancyConfigurations" + err = common.PostProcessServiceError(err, "ConfigMgmt", "ListTenancyConfigurations", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// MapTenancyConfiguration Assigns given configuration to a tenancy. +// A default retry strategy applies to this operation MapTenancyConfiguration() +func (client ConfigMgmtClient) MapTenancyConfiguration(ctx context.Context, request MapTenancyConfigurationRequest) (response MapTenancyConfigurationResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.mapTenancyConfiguration, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = MapTenancyConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = MapTenancyConfigurationResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(MapTenancyConfigurationResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into MapTenancyConfigurationResponse") + } + return +} + +// mapTenancyConfiguration implements the OCIOperation interface (enables retrying operations) +func (client ConfigMgmtClient) mapTenancyConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/configManagement/tenancyConfigurations", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response MapTenancyConfigurationResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CreateMapTenancyConfiguration/MapTenancyConfiguration" + err = common.PostProcessServiceError(err, "ConfigMgmt", "MapTenancyConfiguration", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go new file mode 100644 index 0000000000..3e380c5f3c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go @@ -0,0 +1,367 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// CpgOverrideClient a client for CpgOverride +type CpgOverrideClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewCpgOverrideClientWithConfigurationProvider Creates a new default CpgOverride client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewCpgOverrideClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CpgOverrideClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newCpgOverrideClientFromBaseClient(baseClient, provider) +} + +// NewCpgOverrideClientWithOboToken Creates a new default CpgOverride client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewCpgOverrideClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CpgOverrideClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newCpgOverrideClientFromBaseClient(baseClient, configProvider) +} + +func newCpgOverrideClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client CpgOverrideClient, err error) { + // CpgOverride service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("CpgOverride")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = CpgOverrideClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *CpgOverrideClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *CpgOverrideClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *CpgOverrideClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CreateCpgOverride Creates a CPG Override. +// A default retry strategy applies to this operation CreateCpgOverride() +func (client CpgOverrideClient) CreateCpgOverride(ctx context.Context, request CreateCpgOverrideRequest) (response CreateCpgOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createCpgOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateCpgOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateCpgOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateCpgOverrideResponse") + } + return +} + +// createCpgOverride implements the OCIOperation interface (enables retrying operations) +func (client CpgOverrideClient) createCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/cpgOverrides", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateCpgOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/CreateCpgOverride" + err = common.PostProcessServiceError(err, "CpgOverride", "CreateCpgOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteCpgOverride Deletes a CPG Override. +// A default retry strategy applies to this operation DeleteCpgOverride() +func (client CpgOverrideClient) DeleteCpgOverride(ctx context.Context, request DeleteCpgOverrideRequest) (response DeleteCpgOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteCpgOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteCpgOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteCpgOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteCpgOverrideResponse") + } + return +} + +// deleteCpgOverride implements the OCIOperation interface (enables retrying operations) +func (client CpgOverrideClient) deleteCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/cpgOverrides/{customerCpgId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteCpgOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/DeleteCpgOverride" + err = common.PostProcessServiceError(err, "CpgOverride", "DeleteCpgOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetCpgOverride Gets information about a CPG Override. +// A default retry strategy applies to this operation GetCpgOverride() +func (client CpgOverrideClient) GetCpgOverride(ctx context.Context, request GetCpgOverrideRequest) (response GetCpgOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getCpgOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetCpgOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetCpgOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetCpgOverrideResponse") + } + return +} + +// getCpgOverride implements the OCIOperation interface (enables retrying operations) +func (client CpgOverrideClient) getCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpgOverrides/{customerCpgId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetCpgOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/GetCpgOverride" + err = common.PostProcessServiceError(err, "CpgOverride", "GetCpgOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListCpgOverrides Gets a list of CPG Overrides. +// A default retry strategy applies to this operation ListCpgOverrides() +func (client CpgOverrideClient) ListCpgOverrides(ctx context.Context, request ListCpgOverridesRequest) (response ListCpgOverridesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listCpgOverrides, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListCpgOverridesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListCpgOverridesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListCpgOverridesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListCpgOverridesResponse") + } + return +} + +// listCpgOverrides implements the OCIOperation interface (enables retrying operations) +func (client CpgOverrideClient) listCpgOverrides(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpgOverrides", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListCpgOverridesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverrideCollection/ListCpgOverrides" + err = common.PostProcessServiceError(err, "CpgOverride", "ListCpgOverrides", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateCpgOverride Updates a CPG Override. +// A default retry strategy applies to this operation UpdateCpgOverride() +func (client CpgOverrideClient) UpdateCpgOverride(ctx context.Context, request UpdateCpgOverrideRequest) (response UpdateCpgOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateCpgOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateCpgOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateCpgOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateCpgOverrideResponse") + } + return +} + +// updateCpgOverride implements the OCIOperation interface (enables retrying operations) +func (client CpgOverrideClient) updateCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/cpgOverrides/{customerCpgId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateCpgOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/UpdateCpgOverride" + err = common.PostProcessServiceError(err, "CpgOverride", "UpdateCpgOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go new file mode 100644 index 0000000000..a3d5ff04e6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go @@ -0,0 +1,146 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// InternalClient a client for Internal +type InternalClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewInternalClientWithConfigurationProvider Creates a new default Internal client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewInternalClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client InternalClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newInternalClientFromBaseClient(baseClient, provider) +} + +// NewInternalClientWithOboToken Creates a new default Internal client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewInternalClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client InternalClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newInternalClientFromBaseClient(baseClient, configProvider) +} + +func newInternalClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client InternalClient, err error) { + // Internal service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("Internal")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = InternalClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *InternalClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *InternalClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *InternalClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// InjectFault Inject Fault in the system to test its robustness, like terminating host to trigger failover. Will be called by canaries. +// A default retry strategy applies to this operation InjectFault() +func (client InternalClient) InjectFault(ctx context.Context, request InjectFaultRequest) (response InjectFaultResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.injectFault, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = InjectFaultResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = InjectFaultResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(InjectFaultResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into InjectFaultResponse") + } + return +} + +// injectFault implements the OCIOperation interface (enables retrying operations) +func (client InternalClient) injectFault(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/internal/injectFault/{lustreFileSystemId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response InjectFaultResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/InjectFault" + err = common.PostProcessServiceError(err, "Internal", "InjectFault", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go new file mode 100644 index 0000000000..d8f161391a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go @@ -0,0 +1,367 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// LfsCpgInfoClient a client for LfsCpgInfo +type LfsCpgInfoClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewLfsCpgInfoClientWithConfigurationProvider Creates a new default LfsCpgInfo client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewLfsCpgInfoClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LfsCpgInfoClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newLfsCpgInfoClientFromBaseClient(baseClient, provider) +} + +// NewLfsCpgInfoClientWithOboToken Creates a new default LfsCpgInfo client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewLfsCpgInfoClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LfsCpgInfoClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newLfsCpgInfoClientFromBaseClient(baseClient, configProvider) +} + +func newLfsCpgInfoClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client LfsCpgInfoClient, err error) { + // LfsCpgInfo service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("LfsCpgInfo")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = LfsCpgInfoClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *LfsCpgInfoClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *LfsCpgInfoClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *LfsCpgInfoClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CreateLfsCpgInfo Creates a CPG lfsCpgInfo. +// A default retry strategy applies to this operation CreateLfsCpgInfo() +func (client LfsCpgInfoClient) CreateLfsCpgInfo(ctx context.Context, request CreateLfsCpgInfoRequest) (response CreateLfsCpgInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createLfsCpgInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateLfsCpgInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateLfsCpgInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateLfsCpgInfoResponse") + } + return +} + +// createLfsCpgInfo implements the OCIOperation interface (enables retrying operations) +func (client LfsCpgInfoClient) createLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/lfsCpgInfos", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateLfsCpgInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/CreateLfsCpgInfo" + err = common.PostProcessServiceError(err, "LfsCpgInfo", "CreateLfsCpgInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteLfsCpgInfo Deletes a LFS CPG Info. +// A default retry strategy applies to this operation DeleteLfsCpgInfo() +func (client LfsCpgInfoClient) DeleteLfsCpgInfo(ctx context.Context, request DeleteLfsCpgInfoRequest) (response DeleteLfsCpgInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteLfsCpgInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteLfsCpgInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteLfsCpgInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteLfsCpgInfoResponse") + } + return +} + +// deleteLfsCpgInfo implements the OCIOperation interface (enables retrying operations) +func (client LfsCpgInfoClient) deleteLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/lfsCpgInfos/{lfsCpgId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteLfsCpgInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/DeleteLfsCpgInfo" + err = common.PostProcessServiceError(err, "LfsCpgInfo", "DeleteLfsCpgInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetLfsCpgInfo Gets information about a LFS CPG +// A default retry strategy applies to this operation GetLfsCpgInfo() +func (client LfsCpgInfoClient) GetLfsCpgInfo(ctx context.Context, request GetLfsCpgInfoRequest) (response GetLfsCpgInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getLfsCpgInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetLfsCpgInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetLfsCpgInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetLfsCpgInfoResponse") + } + return +} + +// getLfsCpgInfo implements the OCIOperation interface (enables retrying operations) +func (client LfsCpgInfoClient) getLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/lfsCpgInfos/{lfsCpgId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetLfsCpgInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/GetLfsCpgInfo" + err = common.PostProcessServiceError(err, "LfsCpgInfo", "GetLfsCpgInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListLfsCpgInfos Gets a list of lfsCpgInfo. +// A default retry strategy applies to this operation ListLfsCpgInfos() +func (client LfsCpgInfoClient) ListLfsCpgInfos(ctx context.Context, request ListLfsCpgInfosRequest) (response ListLfsCpgInfosResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listLfsCpgInfos, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListLfsCpgInfosResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListLfsCpgInfosResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListLfsCpgInfosResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListLfsCpgInfosResponse") + } + return +} + +// listLfsCpgInfos implements the OCIOperation interface (enables retrying operations) +func (client LfsCpgInfoClient) listLfsCpgInfos(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/lfsCpgInfos", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListLfsCpgInfosResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfoCollection/ListLfsCpgInfos" + err = common.PostProcessServiceError(err, "LfsCpgInfo", "ListLfsCpgInfos", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateLfsCpgInfo Updates a a LfsCpgInfo. +// A default retry strategy applies to this operation UpdateLfsCpgInfo() +func (client LfsCpgInfoClient) UpdateLfsCpgInfo(ctx context.Context, request UpdateLfsCpgInfoRequest) (response UpdateLfsCpgInfoResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateLfsCpgInfo, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateLfsCpgInfoResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateLfsCpgInfoResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateLfsCpgInfoResponse") + } + return +} + +// updateLfsCpgInfo implements the OCIOperation interface (enables retrying operations) +func (client LfsCpgInfoClient) updateLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/lfsCpgInfos/{lfsCpgId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateLfsCpgInfoResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/UpdateLfsCpgInfo" + err = common.PostProcessServiceError(err, "LfsCpgInfo", "UpdateLfsCpgInfo", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go new file mode 100644 index 0000000000..9474f49f33 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go @@ -0,0 +1,367 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// LfsPoolClient a client for LfsPool +type LfsPoolClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewLfsPoolClientWithConfigurationProvider Creates a new default LfsPool client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewLfsPoolClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LfsPoolClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newLfsPoolClientFromBaseClient(baseClient, provider) +} + +// NewLfsPoolClientWithOboToken Creates a new default LfsPool client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewLfsPoolClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LfsPoolClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newLfsPoolClientFromBaseClient(baseClient, configProvider) +} + +func newLfsPoolClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client LfsPoolClient, err error) { + // LfsPool service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("LfsPool")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = LfsPoolClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *LfsPoolClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *LfsPoolClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *LfsPoolClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CreatePool Creates a Pool. +// A default retry strategy applies to this operation CreatePool() +func (client LfsPoolClient) CreatePool(ctx context.Context, request CreatePoolRequest) (response CreatePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createPool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreatePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreatePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreatePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreatePoolResponse") + } + return +} + +// createPool implements the OCIOperation interface (enables retrying operations) +func (client LfsPoolClient) createPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/pools", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreatePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/CreatePool" + err = common.PostProcessServiceError(err, "LfsPool", "CreatePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeletePool Deletes the pool. +// A default retry strategy applies to this operation DeletePool() +func (client LfsPoolClient) DeletePool(ctx context.Context, request DeletePoolRequest) (response DeletePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deletePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeletePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeletePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeletePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeletePoolResponse") + } + return +} + +// deletePool implements the OCIOperation interface (enables retrying operations) +func (client LfsPoolClient) deletePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/pools/{poolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeletePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/DeletePool" + err = common.PostProcessServiceError(err, "LfsPool", "DeletePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetPool Gets information about a Pool. +// A default retry strategy applies to this operation GetPool() +func (client LfsPoolClient) GetPool(ctx context.Context, request GetPoolRequest) (response GetPoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getPool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetPoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetPoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetPoolResponse") + } + return +} + +// getPool implements the OCIOperation interface (enables retrying operations) +func (client LfsPoolClient) getPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/pools/{poolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetPoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/GetPool" + err = common.PostProcessServiceError(err, "LfsPool", "GetPool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListPools Gets a list of Pools. +// A default retry strategy applies to this operation ListPools() +func (client LfsPoolClient) ListPools(ctx context.Context, request ListPoolsRequest) (response ListPoolsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listPools, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListPoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListPoolsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListPoolsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListPoolsResponse") + } + return +} + +// listPools implements the OCIOperation interface (enables retrying operations) +func (client LfsPoolClient) listPools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/pools", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListPoolsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/PoolCollection/ListPools" + err = common.PostProcessServiceError(err, "LfsPool", "ListPools", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdatePool Updates a Pool. +// A default retry strategy applies to this operation UpdatePool() +func (client LfsPoolClient) UpdatePool(ctx context.Context, request UpdatePoolRequest) (response UpdatePoolResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updatePool, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdatePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdatePoolResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdatePoolResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdatePoolResponse") + } + return +} + +// updatePool implements the OCIOperation interface (enables retrying operations) +func (client LfsPoolClient) updatePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/pools/{poolId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdatePoolResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/UpdatePool" + err = common.PostProcessServiceError(err, "LfsPool", "UpdatePool", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go new file mode 100644 index 0000000000..b04b8e0ac1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go @@ -0,0 +1,367 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// MgmtCellClient a client for MgmtCell +type MgmtCellClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewMgmtCellClientWithConfigurationProvider Creates a new default MgmtCell client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewMgmtCellClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MgmtCellClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newMgmtCellClientFromBaseClient(baseClient, provider) +} + +// NewMgmtCellClientWithOboToken Creates a new default MgmtCell client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewMgmtCellClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MgmtCellClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newMgmtCellClientFromBaseClient(baseClient, configProvider) +} + +func newMgmtCellClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client MgmtCellClient, err error) { + // MgmtCell service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("MgmtCell")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = MgmtCellClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *MgmtCellClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *MgmtCellClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *MgmtCellClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CreateManagementCell Creates a ManagementCell. +// A default retry strategy applies to this operation CreateManagementCell() +func (client MgmtCellClient) CreateManagementCell(ctx context.Context, request CreateManagementCellRequest) (response CreateManagementCellResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createManagementCell, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateManagementCellResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateManagementCellResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateManagementCellResponse") + } + return +} + +// createManagementCell implements the OCIOperation interface (enables retrying operations) +func (client MgmtCellClient) createManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/managementCells", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateManagementCellResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/CreateManagementCell" + err = common.PostProcessServiceError(err, "MgmtCell", "CreateManagementCell", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteManagementCell Deletes a ManagementCell. +// A default retry strategy applies to this operation DeleteManagementCell() +func (client MgmtCellClient) DeleteManagementCell(ctx context.Context, request DeleteManagementCellRequest) (response DeleteManagementCellResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteManagementCell, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteManagementCellResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteManagementCellResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteManagementCellResponse") + } + return +} + +// deleteManagementCell implements the OCIOperation interface (enables retrying operations) +func (client MgmtCellClient) deleteManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/managementCells/{managementCellId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteManagementCellResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/DeleteManagementCell" + err = common.PostProcessServiceError(err, "MgmtCell", "DeleteManagementCell", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetManagementCell Gets information about a ManagementCell. +// A default retry strategy applies to this operation GetManagementCell() +func (client MgmtCellClient) GetManagementCell(ctx context.Context, request GetManagementCellRequest) (response GetManagementCellResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getManagementCell, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetManagementCellResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetManagementCellResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetManagementCellResponse") + } + return +} + +// getManagementCell implements the OCIOperation interface (enables retrying operations) +func (client MgmtCellClient) getManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/managementCells/{managementCellId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetManagementCellResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/GetManagementCell" + err = common.PostProcessServiceError(err, "MgmtCell", "GetManagementCell", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListManagementCells Gets a list of ManagementCells. +// A default retry strategy applies to this operation ListManagementCells() +func (client MgmtCellClient) ListManagementCells(ctx context.Context, request ListManagementCellsRequest) (response ListManagementCellsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listManagementCells, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListManagementCellsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListManagementCellsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListManagementCellsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListManagementCellsResponse") + } + return +} + +// listManagementCells implements the OCIOperation interface (enables retrying operations) +func (client MgmtCellClient) listManagementCells(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/managementCells", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListManagementCellsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCellCollection/ListManagementCells" + err = common.PostProcessServiceError(err, "MgmtCell", "ListManagementCells", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateManagementCell Updates a ManagementCell. +// A default retry strategy applies to this operation UpdateManagementCell() +func (client MgmtCellClient) UpdateManagementCell(ctx context.Context, request UpdateManagementCellRequest) (response UpdateManagementCellResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateManagementCell, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateManagementCellResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateManagementCellResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateManagementCellResponse") + } + return +} + +// updateManagementCell implements the OCIOperation interface (enables retrying operations) +func (client MgmtCellClient) updateManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/managementCells/{managementCellId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateManagementCellResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/UpdateManagementCell" + err = common.PostProcessServiceError(err, "MgmtCell", "UpdateManagementCell", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go new file mode 100644 index 0000000000..a4feeb2e6f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go @@ -0,0 +1,421 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// TenancyOverrideClient a client for TenancyOverride +type TenancyOverrideClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewTenancyOverrideClientWithConfigurationProvider Creates a new default TenancyOverride client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewTenancyOverrideClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TenancyOverrideClient, err error) { + if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newTenancyOverrideClientFromBaseClient(baseClient, provider) +} + +// NewTenancyOverrideClientWithOboToken Creates a new default TenancyOverride client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewTenancyOverrideClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TenancyOverrideClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newTenancyOverrideClientFromBaseClient(baseClient, configProvider) +} + +func newTenancyOverrideClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client TenancyOverrideClient, err error) { + // TenancyOverride service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("TenancyOverride")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = TenancyOverrideClient{BaseClient: baseClient} + client.BasePath = "20250228" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *TenancyOverrideClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *TenancyOverrideClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *TenancyOverrideClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// CreateTenancyOverride Creates a Tenancy Override. +// A default retry strategy applies to this operation CreateTenancyOverride() +func (client TenancyOverrideClient) CreateTenancyOverride(ctx context.Context, request CreateTenancyOverrideRequest) (response CreateTenancyOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createTenancyOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateTenancyOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateTenancyOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateTenancyOverrideResponse") + } + return +} + +// createTenancyOverride implements the OCIOperation interface (enables retrying operations) +func (client TenancyOverrideClient) createTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/tenancyOverrides", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateTenancyOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/CreateTenancyOverride" + err = common.PostProcessServiceError(err, "TenancyOverride", "CreateTenancyOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteAllTenancyOverridesForTenant Deletes all Tenancy Overrides for Tenant. +// A default retry strategy applies to this operation DeleteAllTenancyOverridesForTenant() +func (client TenancyOverrideClient) DeleteAllTenancyOverridesForTenant(ctx context.Context, request DeleteAllTenancyOverridesForTenantRequest) (response DeleteAllTenancyOverridesForTenantResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteAllTenancyOverridesForTenant, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteAllTenancyOverridesForTenantResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteAllTenancyOverridesForTenantResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteAllTenancyOverridesForTenantResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteAllTenancyOverridesForTenantResponse") + } + return +} + +// deleteAllTenancyOverridesForTenant implements the OCIOperation interface (enables retrying operations) +func (client TenancyOverrideClient) deleteAllTenancyOverridesForTenant(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/tenancyOverrides/{tenantId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteAllTenancyOverridesForTenantResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/DeleteAllTenancyOverridesForTenant" + err = common.PostProcessServiceError(err, "TenancyOverride", "DeleteAllTenancyOverridesForTenant", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteTenancyOverride Deletes a Tenancy Override. +// A default retry strategy applies to this operation DeleteTenancyOverride() +func (client TenancyOverrideClient) DeleteTenancyOverride(ctx context.Context, request DeleteTenancyOverrideRequest) (response DeleteTenancyOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteTenancyOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteTenancyOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteTenancyOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteTenancyOverrideResponse") + } + return +} + +// deleteTenancyOverride implements the OCIOperation interface (enables retrying operations) +func (client TenancyOverrideClient) deleteTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/tenancyOverrides/{tenantId}/{overrideId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteTenancyOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/DeleteTenancyOverride" + err = common.PostProcessServiceError(err, "TenancyOverride", "DeleteTenancyOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetTenancyOverride Gets information about a Tenancy Override. +// A default retry strategy applies to this operation GetTenancyOverride() +func (client TenancyOverrideClient) GetTenancyOverride(ctx context.Context, request GetTenancyOverrideRequest) (response GetTenancyOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getTenancyOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetTenancyOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetTenancyOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetTenancyOverrideResponse") + } + return +} + +// getTenancyOverride implements the OCIOperation interface (enables retrying operations) +func (client TenancyOverrideClient) getTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/tenancyOverrides/{tenantId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetTenancyOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/GetTenancyOverride" + err = common.PostProcessServiceError(err, "TenancyOverride", "GetTenancyOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListTenancyOverrides Gets a list of Tenancy Overrides. +// A default retry strategy applies to this operation ListTenancyOverrides() +func (client TenancyOverrideClient) ListTenancyOverrides(ctx context.Context, request ListTenancyOverridesRequest) (response ListTenancyOverridesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listTenancyOverrides, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListTenancyOverridesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListTenancyOverridesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListTenancyOverridesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListTenancyOverridesResponse") + } + return +} + +// listTenancyOverrides implements the OCIOperation interface (enables retrying operations) +func (client TenancyOverrideClient) listTenancyOverrides(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/tenancyOverrides", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListTenancyOverridesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverrideCollection/ListTenancyOverrides" + err = common.PostProcessServiceError(err, "TenancyOverride", "ListTenancyOverrides", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateTenancyOverride Updates a Tenancy Override. +// A default retry strategy applies to this operation UpdateTenancyOverride() +func (client TenancyOverrideClient) UpdateTenancyOverride(ctx context.Context, request UpdateTenancyOverrideRequest) (response UpdateTenancyOverrideResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateTenancyOverride, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateTenancyOverrideResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateTenancyOverrideResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateTenancyOverrideResponse") + } + return +} + +// updateTenancyOverride implements the OCIOperation interface (enables retrying operations) +func (client TenancyOverrideClient) updateTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/tenancyOverrides/{tenantId}/{overrideId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateTenancyOverrideResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/UpdateTenancyOverride" + err = common.PostProcessServiceError(err, "TenancyOverride", "UpdateTenancyOverride", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go new file mode 100644 index 0000000000..f62ff052dc --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MaintenanceWindow The preferred day and time to perform maintenance. +type MaintenanceWindow struct { + + // Day of the week when the maintainence window starts. + DayOfWeek MaintenanceWindowDayOfWeekEnum `mandatory:"false" json:"dayOfWeek,omitempty"` + + // The time to start the maintenance window. The format is 'HH:MM', 'HH:MM' represents the time in UTC. + // Example: `22:00` + TimeStart *string `mandatory:"false" json:"timeStart"` +} + +func (m MaintenanceWindow) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MaintenanceWindow) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingMaintenanceWindowDayOfWeekEnum(string(m.DayOfWeek)); !ok && m.DayOfWeek != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DayOfWeek: %s. Supported values are: %s.", m.DayOfWeek, strings.Join(GetMaintenanceWindowDayOfWeekEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MaintenanceWindowDayOfWeekEnum Enum with underlying type: string +type MaintenanceWindowDayOfWeekEnum string + +// Set of constants representing the allowable values for MaintenanceWindowDayOfWeekEnum +const ( + MaintenanceWindowDayOfWeekMonday MaintenanceWindowDayOfWeekEnum = "MONDAY" + MaintenanceWindowDayOfWeekTuesday MaintenanceWindowDayOfWeekEnum = "TUESDAY" + MaintenanceWindowDayOfWeekWednesday MaintenanceWindowDayOfWeekEnum = "WEDNESDAY" + MaintenanceWindowDayOfWeekThursday MaintenanceWindowDayOfWeekEnum = "THURSDAY" + MaintenanceWindowDayOfWeekFriday MaintenanceWindowDayOfWeekEnum = "FRIDAY" + MaintenanceWindowDayOfWeekSaturday MaintenanceWindowDayOfWeekEnum = "SATURDAY" + MaintenanceWindowDayOfWeekSunday MaintenanceWindowDayOfWeekEnum = "SUNDAY" +) + +var mappingMaintenanceWindowDayOfWeekEnum = map[string]MaintenanceWindowDayOfWeekEnum{ + "MONDAY": MaintenanceWindowDayOfWeekMonday, + "TUESDAY": MaintenanceWindowDayOfWeekTuesday, + "WEDNESDAY": MaintenanceWindowDayOfWeekWednesday, + "THURSDAY": MaintenanceWindowDayOfWeekThursday, + "FRIDAY": MaintenanceWindowDayOfWeekFriday, + "SATURDAY": MaintenanceWindowDayOfWeekSaturday, + "SUNDAY": MaintenanceWindowDayOfWeekSunday, +} + +var mappingMaintenanceWindowDayOfWeekEnumLowerCase = map[string]MaintenanceWindowDayOfWeekEnum{ + "monday": MaintenanceWindowDayOfWeekMonday, + "tuesday": MaintenanceWindowDayOfWeekTuesday, + "wednesday": MaintenanceWindowDayOfWeekWednesday, + "thursday": MaintenanceWindowDayOfWeekThursday, + "friday": MaintenanceWindowDayOfWeekFriday, + "saturday": MaintenanceWindowDayOfWeekSaturday, + "sunday": MaintenanceWindowDayOfWeekSunday, +} + +// GetMaintenanceWindowDayOfWeekEnumValues Enumerates the set of values for MaintenanceWindowDayOfWeekEnum +func GetMaintenanceWindowDayOfWeekEnumValues() []MaintenanceWindowDayOfWeekEnum { + values := make([]MaintenanceWindowDayOfWeekEnum, 0) + for _, v := range mappingMaintenanceWindowDayOfWeekEnum { + values = append(values, v) + } + return values +} + +// GetMaintenanceWindowDayOfWeekEnumStringValues Enumerates the set of values in String for MaintenanceWindowDayOfWeekEnum +func GetMaintenanceWindowDayOfWeekEnumStringValues() []string { + return []string{ + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + } +} + +// GetMappingMaintenanceWindowDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingMaintenanceWindowDayOfWeekEnum(val string) (MaintenanceWindowDayOfWeekEnum, bool) { + enum, ok := mappingMaintenanceWindowDayOfWeekEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go new file mode 100644 index 0000000000..2d9b0f1a21 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go @@ -0,0 +1,189 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ManagementCell The Lustre File Service architecture is a cellular architecture which can create new management +// plane cells as the number of filesystems, hosts, and volumes grow. Lustre management plane cells +// are the main scalable unit within the Lustre File Service. +// A single management cell is capable of placing Lustre filesystems in different locations using +// cluster placement groups. +type ManagementCell struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Management Cell. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The current state of the ManagementCell. + LifecycleState ManagementCellLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // ManagementCell can be categorized based on the customer filesystems it is hosting. + // Example: `RESTRICTED` category cell is restricted for use by only one customer + Category ManagementCellCategoryEnum `mandatory:"true" json:"category"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableCapacityInGBs *int64 `mandatory:"true" json:"availableCapacityInGBs"` + + // The date and time the ManagementCell was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the ManagementCell was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + Details *Details `mandatory:"true" json:"details"` +} + +func (m ManagementCell) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ManagementCell) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingManagementCellLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetManagementCellLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingManagementCellCategoryEnum(string(m.Category)); !ok && m.Category != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetManagementCellCategoryEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ManagementCellLifecycleStateEnum Enum with underlying type: string +type ManagementCellLifecycleStateEnum string + +// Set of constants representing the allowable values for ManagementCellLifecycleStateEnum +const ( + ManagementCellLifecycleStateCreating ManagementCellLifecycleStateEnum = "CREATING" + ManagementCellLifecycleStateActive ManagementCellLifecycleStateEnum = "ACTIVE" + ManagementCellLifecycleStateInactive ManagementCellLifecycleStateEnum = "INACTIVE" + ManagementCellLifecycleStateDeleted ManagementCellLifecycleStateEnum = "DELETED" +) + +var mappingManagementCellLifecycleStateEnum = map[string]ManagementCellLifecycleStateEnum{ + "CREATING": ManagementCellLifecycleStateCreating, + "ACTIVE": ManagementCellLifecycleStateActive, + "INACTIVE": ManagementCellLifecycleStateInactive, + "DELETED": ManagementCellLifecycleStateDeleted, +} + +var mappingManagementCellLifecycleStateEnumLowerCase = map[string]ManagementCellLifecycleStateEnum{ + "creating": ManagementCellLifecycleStateCreating, + "active": ManagementCellLifecycleStateActive, + "inactive": ManagementCellLifecycleStateInactive, + "deleted": ManagementCellLifecycleStateDeleted, +} + +// GetManagementCellLifecycleStateEnumValues Enumerates the set of values for ManagementCellLifecycleStateEnum +func GetManagementCellLifecycleStateEnumValues() []ManagementCellLifecycleStateEnum { + values := make([]ManagementCellLifecycleStateEnum, 0) + for _, v := range mappingManagementCellLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetManagementCellLifecycleStateEnumStringValues Enumerates the set of values in String for ManagementCellLifecycleStateEnum +func GetManagementCellLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "INACTIVE", + "DELETED", + } +} + +// GetMappingManagementCellLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingManagementCellLifecycleStateEnum(val string) (ManagementCellLifecycleStateEnum, bool) { + enum, ok := mappingManagementCellLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ManagementCellCategoryEnum Enum with underlying type: string +type ManagementCellCategoryEnum string + +// Set of constants representing the allowable values for ManagementCellCategoryEnum +const ( + ManagementCellCategoryGeneral ManagementCellCategoryEnum = "GENERAL" + ManagementCellCategoryInternal ManagementCellCategoryEnum = "INTERNAL" + ManagementCellCategoryRestricted ManagementCellCategoryEnum = "RESTRICTED" +) + +var mappingManagementCellCategoryEnum = map[string]ManagementCellCategoryEnum{ + "GENERAL": ManagementCellCategoryGeneral, + "INTERNAL": ManagementCellCategoryInternal, + "RESTRICTED": ManagementCellCategoryRestricted, +} + +var mappingManagementCellCategoryEnumLowerCase = map[string]ManagementCellCategoryEnum{ + "general": ManagementCellCategoryGeneral, + "internal": ManagementCellCategoryInternal, + "restricted": ManagementCellCategoryRestricted, +} + +// GetManagementCellCategoryEnumValues Enumerates the set of values for ManagementCellCategoryEnum +func GetManagementCellCategoryEnumValues() []ManagementCellCategoryEnum { + values := make([]ManagementCellCategoryEnum, 0) + for _, v := range mappingManagementCellCategoryEnum { + values = append(values, v) + } + return values +} + +// GetManagementCellCategoryEnumStringValues Enumerates the set of values in String for ManagementCellCategoryEnum +func GetManagementCellCategoryEnumStringValues() []string { + return []string{ + "GENERAL", + "INTERNAL", + "RESTRICTED", + } +} + +// GetMappingManagementCellCategoryEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingManagementCellCategoryEnum(val string) (ManagementCellCategoryEnum, bool) { + enum, ok := mappingManagementCellCategoryEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go new file mode 100644 index 0000000000..bcd010038e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ManagementCellCollection Results of a ManagementCell search. Contains both ManagementCellSummary items and other information, such as metadata. +type ManagementCellCollection struct { + + // List of ManagementCells. + Items []ManagementCellSummary `mandatory:"true" json:"items"` +} + +func (m ManagementCellCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ManagementCellCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go new file mode 100644 index 0000000000..90883d6eb9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go @@ -0,0 +1,89 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ManagementCellSummary Summary information about a ManagementCell. +type ManagementCellSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Cell + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the ManagementCell. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The current state of the ManagementCell + LifecycleState ManagementCellLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // ManagementCell can be categorized based on the customer filesystems it is hosting. + // Example: `RESTRICTED` category cell is restricted for use by only one customer + Category ManagementCellCategoryEnum `mandatory:"true" json:"category"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableCapacityInGBs *int64 `mandatory:"true" json:"availableCapacityInGBs"` + + // The date and time the ManagementCell was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the ManagementCell was updated, in the format defined + // by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + Details *Details `mandatory:"true" json:"details"` +} + +func (m ManagementCellSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ManagementCellSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingManagementCellLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetManagementCellLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingManagementCellCategoryEnum(string(m.Category)); !ok && m.Category != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetManagementCellCategoryEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go new file mode 100644 index 0000000000..d0b358841e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MapTenancyConfiguration Details required to create tenancy configuration +type MapTenancyConfiguration struct { + + // The tenancy OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + TenancyId *string `mandatory:"true" json:"tenancyId"` + + // The profile name which is applicable for the given tenancy. + Profile *string `mandatory:"false" json:"profile"` + + CapacityReservations *CapacityReservationsCollection `mandatory:"false" json:"capacityReservations"` +} + +func (m MapTenancyConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MapTenancyConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go new file mode 100644 index 0000000000..29eebf7e85 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MapTenancyConfigurationCollection List of MapTenancyConfiguration. +type MapTenancyConfigurationCollection struct { + + // List of MapTenancyConfiguration. + Items []TenancyConfigurationSummary `mandatory:"true" json:"items"` +} + +func (m MapTenancyConfigurationCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MapTenancyConfigurationCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go new file mode 100644 index 0000000000..7bfd350b64 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MapTenancyConfigurationDetails List of MapTenancyConfiguration. +type MapTenancyConfigurationDetails struct { + + // List of MapTenancyConfiguration. + Items []MapTenancyConfiguration `mandatory:"true" json:"items"` +} + +func (m MapTenancyConfigurationDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MapTenancyConfigurationDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go new file mode 100644 index 0000000000..735bd544c9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go @@ -0,0 +1,105 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// MapTenancyConfigurationRequest wrapper for the MapTenancyConfiguration operation +type MapTenancyConfigurationRequest struct { + + // The information to be updated. + MapTenancyConfigurationDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request MapTenancyConfigurationRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request MapTenancyConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request MapTenancyConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request MapTenancyConfigurationRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request MapTenancyConfigurationRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MapTenancyConfigurationResponse wrapper for the MapTenancyConfiguration operation +type MapTenancyConfigurationResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CreateMapTenancyConfiguration instance + CreateMapTenancyConfiguration `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response MapTenancyConfigurationResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response MapTenancyConfigurationResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go new file mode 100644 index 0000000000..16e31255ba --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// NetworkSecurityGroup A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this Lustre file system. For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). +type NetworkSecurityGroup struct { + + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system. + // A maximum of 5 is allowed. + // Setting this to an empty array after the list is created removes the lustre file system from all NSGs. + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). + NsgIds []string `mandatory:"false" json:"nsgIds"` +} + +func (m NetworkSecurityGroup) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m NetworkSecurityGroup) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go new file mode 100644 index 0000000000..71eda8baf7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go @@ -0,0 +1,166 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ObjectStorageLink Object Storage links create the relationship between a directory in an File Storage with Lustre file system and a path within an Object Storage bucket. +// For more information, see Syncing Lustre file systems with Object Storage (https://docs.oracle.com/iaas/Content/lustre/object-storage-sync.htm). +// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +// an administrator. If you're an administrator who needs to write policies to give users access, see +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +type ObjectStorageLink struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ObjectStorageLink. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the file system is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Object Storage Link` + // + DisplayName *string `mandatory:"true" json:"displayName"` + + // The date and time the Lustre file system was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the Object Storage link was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The current state of the Object Storage link. + LifecycleState ObjectStorageLinkLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated Lustre file system. + LustreFileSystemId *string `mandatory:"true" json:"lustreFileSystemId"` + + // The path in the Lustre file system used for this Object Storage link. + // Example: `myFileSystem/mount/myDirectory` + FileSystemPath *string `mandatory:"true" json:"fileSystemPath"` + + // The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. + // Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` + ObjectStoragePrefix *string `mandatory:"true" json:"objectStoragePrefix"` + + // The flag is an identifier to tell whether the job run has overwrite enabled. + // If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. + // If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. + IsOverwrite *bool `mandatory:"true" json:"isOverwrite"` + + // A message that describes the current state of the Object Storage link in more detail. For example, + // can be used to provide actionable information for a resource in the Failed state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running sync job. If no sync job is running, then this will be empty. + CurrentJobId *string `mandatory:"false" json:"currentJobId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of last succeeded sync job. If no sync job has previously run, then this will be empty. + LastJobId *string `mandatory:"false" json:"lastJobId"` +} + +func (m ObjectStorageLink) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ObjectStorageLink) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingObjectStorageLinkLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetObjectStorageLinkLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ObjectStorageLinkLifecycleStateEnum Enum with underlying type: string +type ObjectStorageLinkLifecycleStateEnum string + +// Set of constants representing the allowable values for ObjectStorageLinkLifecycleStateEnum +const ( + ObjectStorageLinkLifecycleStateCreating ObjectStorageLinkLifecycleStateEnum = "CREATING" + ObjectStorageLinkLifecycleStateActive ObjectStorageLinkLifecycleStateEnum = "ACTIVE" + ObjectStorageLinkLifecycleStateDeleting ObjectStorageLinkLifecycleStateEnum = "DELETING" + ObjectStorageLinkLifecycleStateDeleted ObjectStorageLinkLifecycleStateEnum = "DELETED" + ObjectStorageLinkLifecycleStateFailed ObjectStorageLinkLifecycleStateEnum = "FAILED" +) + +var mappingObjectStorageLinkLifecycleStateEnum = map[string]ObjectStorageLinkLifecycleStateEnum{ + "CREATING": ObjectStorageLinkLifecycleStateCreating, + "ACTIVE": ObjectStorageLinkLifecycleStateActive, + "DELETING": ObjectStorageLinkLifecycleStateDeleting, + "DELETED": ObjectStorageLinkLifecycleStateDeleted, + "FAILED": ObjectStorageLinkLifecycleStateFailed, +} + +var mappingObjectStorageLinkLifecycleStateEnumLowerCase = map[string]ObjectStorageLinkLifecycleStateEnum{ + "creating": ObjectStorageLinkLifecycleStateCreating, + "active": ObjectStorageLinkLifecycleStateActive, + "deleting": ObjectStorageLinkLifecycleStateDeleting, + "deleted": ObjectStorageLinkLifecycleStateDeleted, + "failed": ObjectStorageLinkLifecycleStateFailed, +} + +// GetObjectStorageLinkLifecycleStateEnumValues Enumerates the set of values for ObjectStorageLinkLifecycleStateEnum +func GetObjectStorageLinkLifecycleStateEnumValues() []ObjectStorageLinkLifecycleStateEnum { + values := make([]ObjectStorageLinkLifecycleStateEnum, 0) + for _, v := range mappingObjectStorageLinkLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetObjectStorageLinkLifecycleStateEnumStringValues Enumerates the set of values in String for ObjectStorageLinkLifecycleStateEnum +func GetObjectStorageLinkLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "DELETING", + "DELETED", + "FAILED", + } +} + +// GetMappingObjectStorageLinkLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingObjectStorageLinkLifecycleStateEnum(val string) (ObjectStorageLinkLifecycleStateEnum, bool) { + enum, ok := mappingObjectStorageLinkLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go new file mode 100644 index 0000000000..2747def0a2 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ObjectStorageLinkCollection Results of a Object Storage link search. Contains both ObjectStorageLinkSummary items and other information, such as metadata. +type ObjectStorageLinkCollection struct { + + // List of Object Storage links. + Items []ObjectStorageLinkSummary `mandatory:"true" json:"items"` +} + +func (m ObjectStorageLinkCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ObjectStorageLinkCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go new file mode 100644 index 0000000000..07b0e4c77c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go @@ -0,0 +1,107 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ObjectStorageLinkSummary Summary information about a Object Storage link. +type ObjectStorageLinkSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Lustre file system. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain the file system is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Object Storage Link` + DisplayName *string `mandatory:"true" json:"displayName"` + + // The date and time the Lustre file system was created, expressed + // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-04-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the ObjectStorageLink was updated, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2024-04-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The current state of the ObjectStorageLink. + LifecycleState ObjectStorageLinkLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated lustre file system. + LustreFileSystemId *string `mandatory:"true" json:"lustreFileSystemId"` + + // The path in the Lustre file system used for this Object Storage link. + // Example: `myFileSystem/mount/myDirectory` + FileSystemPath *string `mandatory:"true" json:"fileSystemPath"` + + // The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. + // Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` + ObjectStoragePrefix *string `mandatory:"true" json:"objectStoragePrefix"` + + // The flag is an identifier to tell whether the job run has overwrite enabled. + // If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. + // If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. + IsOverwrite *bool `mandatory:"true" json:"isOverwrite"` + + // A message that describes the current state of the Object Storage link in more detail. For example, + // can be used to provide actionable information for a resource in the Failed state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running sync job. If no sync job is running then this will be empty. + CurrentJobId *string `mandatory:"false" json:"currentJobId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of last succeeded sync job. If no sync job has previously run then this will be empty. + LastJobId *string `mandatory:"false" json:"lastJobId"` +} + +func (m ObjectStorageLinkSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ObjectStorageLinkSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingObjectStorageLinkLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetObjectStorageLinkLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go new file mode 100644 index 0000000000..89a10b20e7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go @@ -0,0 +1,80 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "strings" +) + +// OperationStatusEnum Enum with underlying type: string +type OperationStatusEnum string + +// Set of constants representing the allowable values for OperationStatusEnum +const ( + OperationStatusAccepted OperationStatusEnum = "ACCEPTED" + OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" + OperationStatusWaiting OperationStatusEnum = "WAITING" + OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" + OperationStatusFailed OperationStatusEnum = "FAILED" + OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" + OperationStatusCanceling OperationStatusEnum = "CANCELING" + OperationStatusCanceled OperationStatusEnum = "CANCELED" +) + +var mappingOperationStatusEnum = map[string]OperationStatusEnum{ + "ACCEPTED": OperationStatusAccepted, + "IN_PROGRESS": OperationStatusInProgress, + "WAITING": OperationStatusWaiting, + "NEEDS_ATTENTION": OperationStatusNeedsAttention, + "FAILED": OperationStatusFailed, + "SUCCEEDED": OperationStatusSucceeded, + "CANCELING": OperationStatusCanceling, + "CANCELED": OperationStatusCanceled, +} + +var mappingOperationStatusEnumLowerCase = map[string]OperationStatusEnum{ + "accepted": OperationStatusAccepted, + "in_progress": OperationStatusInProgress, + "waiting": OperationStatusWaiting, + "needs_attention": OperationStatusNeedsAttention, + "failed": OperationStatusFailed, + "succeeded": OperationStatusSucceeded, + "canceling": OperationStatusCanceling, + "canceled": OperationStatusCanceled, +} + +// GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum +func GetOperationStatusEnumValues() []OperationStatusEnum { + values := make([]OperationStatusEnum, 0) + for _, v := range mappingOperationStatusEnum { + values = append(values, v) + } + return values +} + +// GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum +func GetOperationStatusEnumStringValues() []string { + return []string{ + "ACCEPTED", + "IN_PROGRESS", + "WAITING", + "NEEDS_ATTENTION", + "FAILED", + "SUCCEEDED", + "CANCELING", + "CANCELED", + } +} + +// GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool) { + enum, ok := mappingOperationStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go new file mode 100644 index 0000000000..a75fdba443 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go @@ -0,0 +1,68 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "strings" +) + +// OperationTypeEnum Enum with underlying type: string +type OperationTypeEnum string + +// Set of constants representing the allowable values for OperationTypeEnum +const ( + OperationTypeCreateLustreFileSystem OperationTypeEnum = "CREATE_LUSTRE_FILE_SYSTEM" + OperationTypeUpdateLustreFileSystem OperationTypeEnum = "UPDATE_LUSTRE_FILE_SYSTEM" + OperationTypeDeleteLustreFileSystem OperationTypeEnum = "DELETE_LUSTRE_FILE_SYSTEM" + OperationTypeMoveLustreFileSystem OperationTypeEnum = "MOVE_LUSTRE_FILE_SYSTEM" + OperationTypeDeleteObjectStorageLink OperationTypeEnum = "DELETE_OBJECT_STORAGE_LINK" +) + +var mappingOperationTypeEnum = map[string]OperationTypeEnum{ + "CREATE_LUSTRE_FILE_SYSTEM": OperationTypeCreateLustreFileSystem, + "UPDATE_LUSTRE_FILE_SYSTEM": OperationTypeUpdateLustreFileSystem, + "DELETE_LUSTRE_FILE_SYSTEM": OperationTypeDeleteLustreFileSystem, + "MOVE_LUSTRE_FILE_SYSTEM": OperationTypeMoveLustreFileSystem, + "DELETE_OBJECT_STORAGE_LINK": OperationTypeDeleteObjectStorageLink, +} + +var mappingOperationTypeEnumLowerCase = map[string]OperationTypeEnum{ + "create_lustre_file_system": OperationTypeCreateLustreFileSystem, + "update_lustre_file_system": OperationTypeUpdateLustreFileSystem, + "delete_lustre_file_system": OperationTypeDeleteLustreFileSystem, + "move_lustre_file_system": OperationTypeMoveLustreFileSystem, + "delete_object_storage_link": OperationTypeDeleteObjectStorageLink, +} + +// GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum +func GetOperationTypeEnumValues() []OperationTypeEnum { + values := make([]OperationTypeEnum, 0) + for _, v := range mappingOperationTypeEnum { + values = append(values, v) + } + return values +} + +// GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum +func GetOperationTypeEnumStringValues() []string { + return []string{ + "CREATE_LUSTRE_FILE_SYSTEM", + "UPDATE_LUSTRE_FILE_SYSTEM", + "DELETE_LUSTRE_FILE_SYSTEM", + "MOVE_LUSTRE_FILE_SYSTEM", + "DELETE_OBJECT_STORAGE_LINK", + } +} + +// GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool) { + enum, ok := mappingOperationTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go new file mode 100644 index 0000000000..9f9d6c6127 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PauseSyncJobDetails Details about pausing an object sync job. +type PauseSyncJobDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running job. + SyncJobId *string `mandatory:"true" json:"syncJobId"` +} + +func (m PauseSyncJobDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PauseSyncJobDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go new file mode 100644 index 0000000000..7af78bbfef --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// PauseSyncJobRequest wrapper for the PauseSyncJob operation +type PauseSyncJobRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // The information needed to pause the sync job. + PauseSyncJobDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request PauseSyncJobRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request PauseSyncJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request PauseSyncJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request PauseSyncJobRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request PauseSyncJobRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// PauseSyncJobResponse wrapper for the PauseSyncJob operation +type PauseSyncJobResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response PauseSyncJobResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response PauseSyncJobResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go new file mode 100644 index 0000000000..9f448848ac --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Pool A construct that to represent compute capacity reservation(s) for a purpose (can be a default, or dedicated for customers). +type Pool struct { + + // The id of the pool + Id *string `mandatory:"true" json:"id"` + + // The type of pool + PoolType PoolPoolTypeEnum `mandatory:"true" json:"poolType"` + + // Name of the pool + PoolName *string `mandatory:"true" json:"poolName"` + + // List of customer tenancies it is dedicated for + DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` + + // The name of the site group this pool is associated with + SiteGroup *string `mandatory:"false" json:"siteGroup"` + + // List of customer tenancies it is dedicated for + Tags []string `mandatory:"false" json:"tags"` + + // List of customer tenancies it is dedicated for + Resources []interface{} `mandatory:"false" json:"resources"` + + // List of customer tenancies it is dedicated for + Accounting *interface{} `mandatory:"false" json:"accounting"` + + // The pools that have affinity with this pool. + PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` +} + +func (m Pool) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Pool) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingPoolPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetPoolPoolTypeEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// PoolPoolTypeEnum Enum with underlying type: string +type PoolPoolTypeEnum string + +// Set of constants representing the allowable values for PoolPoolTypeEnum +const ( + PoolPoolTypeCompute PoolPoolTypeEnum = "COMPUTE" + PoolPoolTypeBlock PoolPoolTypeEnum = "BLOCK" +) + +var mappingPoolPoolTypeEnum = map[string]PoolPoolTypeEnum{ + "COMPUTE": PoolPoolTypeCompute, + "BLOCK": PoolPoolTypeBlock, +} + +var mappingPoolPoolTypeEnumLowerCase = map[string]PoolPoolTypeEnum{ + "compute": PoolPoolTypeCompute, + "block": PoolPoolTypeBlock, +} + +// GetPoolPoolTypeEnumValues Enumerates the set of values for PoolPoolTypeEnum +func GetPoolPoolTypeEnumValues() []PoolPoolTypeEnum { + values := make([]PoolPoolTypeEnum, 0) + for _, v := range mappingPoolPoolTypeEnum { + values = append(values, v) + } + return values +} + +// GetPoolPoolTypeEnumStringValues Enumerates the set of values in String for PoolPoolTypeEnum +func GetPoolPoolTypeEnumStringValues() []string { + return []string{ + "COMPUTE", + "BLOCK", + } +} + +// GetMappingPoolPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPoolPoolTypeEnum(val string) (PoolPoolTypeEnum, bool) { + enum, ok := mappingPoolPoolTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go new file mode 100644 index 0000000000..86e0613cef --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PoolCollection Results of a Pool search. Contains Pool items. +type PoolCollection struct { + + // List of Pool Summary. + Items []PoolSummary `mandatory:"true" json:"items"` +} + +func (m PoolCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PoolCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go new file mode 100644 index 0000000000..572bbd5438 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PoolSummary A list of pools. +type PoolSummary struct { + + // The id of the pool + PoolId *string `mandatory:"false" json:"poolId"` + + // The type of pool + PoolType PoolSummaryPoolTypeEnum `mandatory:"false" json:"poolType,omitempty"` + + // Name of the pool + PoolName *string `mandatory:"false" json:"poolName"` + + // List of customer tenancies it is dedicated for + DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` + + // The name of the site group this pool is associated with + SiteGroup *string `mandatory:"false" json:"siteGroup"` + + // List of customer tenancies it is dedicated for + Tags []string `mandatory:"false" json:"tags"` + + // List of customer tenancies it is dedicated for + Resources []interface{} `mandatory:"false" json:"resources"` + + // List of customer tenancies it is dedicated for + Accounting *interface{} `mandatory:"false" json:"accounting"` + + // The pools that have affinity with this pool. + PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` +} + +func (m PoolSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PoolSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingPoolSummaryPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetPoolSummaryPoolTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// PoolSummaryPoolTypeEnum Enum with underlying type: string +type PoolSummaryPoolTypeEnum string + +// Set of constants representing the allowable values for PoolSummaryPoolTypeEnum +const ( + PoolSummaryPoolTypeCompute PoolSummaryPoolTypeEnum = "COMPUTE" + PoolSummaryPoolTypeBlock PoolSummaryPoolTypeEnum = "BLOCK" +) + +var mappingPoolSummaryPoolTypeEnum = map[string]PoolSummaryPoolTypeEnum{ + "COMPUTE": PoolSummaryPoolTypeCompute, + "BLOCK": PoolSummaryPoolTypeBlock, +} + +var mappingPoolSummaryPoolTypeEnumLowerCase = map[string]PoolSummaryPoolTypeEnum{ + "compute": PoolSummaryPoolTypeCompute, + "block": PoolSummaryPoolTypeBlock, +} + +// GetPoolSummaryPoolTypeEnumValues Enumerates the set of values for PoolSummaryPoolTypeEnum +func GetPoolSummaryPoolTypeEnumValues() []PoolSummaryPoolTypeEnum { + values := make([]PoolSummaryPoolTypeEnum, 0) + for _, v := range mappingPoolSummaryPoolTypeEnum { + values = append(values, v) + } + return values +} + +// GetPoolSummaryPoolTypeEnumStringValues Enumerates the set of values in String for PoolSummaryPoolTypeEnum +func GetPoolSummaryPoolTypeEnumStringValues() []string { + return []string{ + "COMPUTE", + "BLOCK", + } +} + +// GetMappingPoolSummaryPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPoolSummaryPoolTypeEnum(val string) (PoolSummaryPoolTypeEnum, bool) { + enum, ok := mappingPoolSummaryPoolTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go new file mode 100644 index 0000000000..2f8b0a2e9b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ProfileCollection List of ProfileSummary. +type ProfileCollection struct { + + // List of ProfileSummary. + Items []ProfileSummary `mandatory:"true" json:"items"` +} + +func (m ProfileCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ProfileCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go new file mode 100644 index 0000000000..d69990c00d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ProfileSummary complete profile details. It will be in key-value format. +type ProfileSummary struct { + + // The profile name. + Name *string `mandatory:"true" json:"name"` + + // Configuration values associated with profile in key-value pairs + Values *interface{} `mandatory:"false" json:"values"` +} + +func (m ProfileSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ProfileSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go new file mode 100644 index 0000000000..71cdfa1e8b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ReservedAndUsedCount Reserved and used count for compute instances. +type ReservedAndUsedCount struct { + + // Reserved compute instances count. + ReservedCount *int `mandatory:"true" json:"reservedCount"` + + // Reserved compute instances count. + UsedCount *int `mandatory:"true" json:"usedCount"` +} + +func (m ReservedAndUsedCount) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ReservedAndUsedCount) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go new file mode 100644 index 0000000000..f59acaec76 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// RootSquashConfiguration An administrative feature that allows you to restrict root level access from clients that try to access your Lustre file system as root. +type RootSquashConfiguration struct { + + // Used when clients accessing the Lustre file system have their UID and GID remapped to + // `squashUid` and `squashGid`. If `ROOT`, only the root user and group (UID/GID 0) are remapped; + // if `NONE`, no remapping is done. If unspecified, defaults to `NONE`. + IdentitySquash RootSquashConfigurationIdentitySquashEnum `mandatory:"false" json:"identitySquash,omitempty"` + + // The UID value to remap to when squashing a client UID. See + // `identitySquash` for more details. If unspecified, defaults + // to `65534`. + SquashUid *int64 `mandatory:"false" json:"squashUid"` + + // The GID value to remap to when squashing a client GID. See + // `identitySquash` for more details. If unspecified, defaults + // to `65534`. + SquashGid *int64 `mandatory:"false" json:"squashGid"` + + // A list of NIDs allowed with this lustre file system not to be squashed. + // A maximum of 10 is allowed. + ClientExceptions []string `mandatory:"false" json:"clientExceptions"` +} + +func (m RootSquashConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m RootSquashConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingRootSquashConfigurationIdentitySquashEnum(string(m.IdentitySquash)); !ok && m.IdentitySquash != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IdentitySquash: %s. Supported values are: %s.", m.IdentitySquash, strings.Join(GetRootSquashConfigurationIdentitySquashEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// RootSquashConfigurationIdentitySquashEnum Enum with underlying type: string +type RootSquashConfigurationIdentitySquashEnum string + +// Set of constants representing the allowable values for RootSquashConfigurationIdentitySquashEnum +const ( + RootSquashConfigurationIdentitySquashNone RootSquashConfigurationIdentitySquashEnum = "NONE" + RootSquashConfigurationIdentitySquashRoot RootSquashConfigurationIdentitySquashEnum = "ROOT" +) + +var mappingRootSquashConfigurationIdentitySquashEnum = map[string]RootSquashConfigurationIdentitySquashEnum{ + "NONE": RootSquashConfigurationIdentitySquashNone, + "ROOT": RootSquashConfigurationIdentitySquashRoot, +} + +var mappingRootSquashConfigurationIdentitySquashEnumLowerCase = map[string]RootSquashConfigurationIdentitySquashEnum{ + "none": RootSquashConfigurationIdentitySquashNone, + "root": RootSquashConfigurationIdentitySquashRoot, +} + +// GetRootSquashConfigurationIdentitySquashEnumValues Enumerates the set of values for RootSquashConfigurationIdentitySquashEnum +func GetRootSquashConfigurationIdentitySquashEnumValues() []RootSquashConfigurationIdentitySquashEnum { + values := make([]RootSquashConfigurationIdentitySquashEnum, 0) + for _, v := range mappingRootSquashConfigurationIdentitySquashEnum { + values = append(values, v) + } + return values +} + +// GetRootSquashConfigurationIdentitySquashEnumStringValues Enumerates the set of values in String for RootSquashConfigurationIdentitySquashEnum +func GetRootSquashConfigurationIdentitySquashEnumStringValues() []string { + return []string{ + "NONE", + "ROOT", + } +} + +// GetMappingRootSquashConfigurationIdentitySquashEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRootSquashConfigurationIdentitySquashEnum(val string) (RootSquashConfigurationIdentitySquashEnum, bool) { + enum, ok := mappingRootSquashConfigurationIdentitySquashEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go new file mode 100644 index 0000000000..c80482b9df --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "strings" +) + +// SortOrderEnum Enum with underlying type: string +type SortOrderEnum string + +// Set of constants representing the allowable values for SortOrderEnum +const ( + SortOrderAsc SortOrderEnum = "ASC" + SortOrderDesc SortOrderEnum = "DESC" +) + +var mappingSortOrderEnum = map[string]SortOrderEnum{ + "ASC": SortOrderAsc, + "DESC": SortOrderDesc, +} + +var mappingSortOrderEnumLowerCase = map[string]SortOrderEnum{ + "asc": SortOrderAsc, + "desc": SortOrderDesc, +} + +// GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum +func GetSortOrderEnumValues() []SortOrderEnum { + values := make([]SortOrderEnum, 0) + for _, v := range mappingSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum +func GetSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool) { + enum, ok := mappingSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go index 7b0e213234..f253ea3840 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go @@ -12,10 +12,6 @@ import ( ) // StartExportToObjectRequest wrapper for the StartExportToObject operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObjectRequest. type StartExportToObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go index beb01e8c83..1e5f52d9ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go @@ -12,10 +12,6 @@ import ( ) // StartImportFromObjectRequest wrapper for the StartImportFromObject operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObjectRequest. type StartImportFromObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go index 34c51040c6..a3eb2f53d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go @@ -12,10 +12,6 @@ import ( ) // StopExportToObjectRequest wrapper for the StopExportToObject operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObjectRequest. type StopExportToObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go index d3584f2cf3..51c82f3d86 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go @@ -12,10 +12,6 @@ import ( ) // StopImportFromObjectRequest wrapper for the StopImportFromObject operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObjectRequest. type StopImportFromObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go new file mode 100644 index 0000000000..f32321970b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Subnet The Subnet is subdivision within a Virtual Cloud Network, consisting of a contiguous range of IP addresses and a VNIC. +type Subnet struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Subnet. + Id *string `mandatory:"false" json:"id"` +} + +func (m Subnet) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Subnet) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go new file mode 100644 index 0000000000..d1ca401aa6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go @@ -0,0 +1,207 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// SyncJob Details associated with sync job runs. +type SyncJob struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job. + Id *string `mandatory:"true" json:"id"` + + // The type of the sync job. + JobType SyncJobJobTypeEnum `mandatory:"true" json:"jobType"` + + // The current state of the sync job. + LifecycleState SyncJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + // The flag is an identifier to tell whether this specific job run has overwrite enabled. + // If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. + // If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. + IsOverwrite *bool `mandatory:"true" json:"isOverwrite"` + + // Total object count for scanned files for import or export as part of this sync job. + TotalObjectsScanned *int64 `mandatory:"true" json:"totalObjectsScanned"` + + // Count of total files that transferred successfully. + ObjectsTransferred *int64 `mandatory:"true" json:"objectsTransferred"` + + // Bytes transferred during the sync. This value changes while the sync is still in progress. + BytesTransferred *int64 `mandatory:"true" json:"bytesTransferred"` + + // Count of files or objects that failed to export or import due to errors. + SkippedErrorCount *int64 `mandatory:"true" json:"skippedErrorCount"` + + // The date and time the job was started, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2020-07-25T21:10:29.600Z` + TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` + + // The path in the Lustre file system used for this Object Storage link. + // Example: `myFileSystem/mount/myDirectory` + LustreFileSystemPath *string `mandatory:"true" json:"lustreFileSystemPath"` + + // The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. + // Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` + ObjectStoragePath *string `mandatory:"true" json:"objectStoragePath"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ParentId *string `mandatory:"false" json:"parentId"` + + // A message that describes the current state of the sync job in more detail. For example, + // can be used to provide actionable information for a resource in the Failed state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The date and time the job finished, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2020-07-25T21:10:29.600Z` + TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` +} + +func (m SyncJob) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m SyncJob) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingSyncJobJobTypeEnum(string(m.JobType)); !ok && m.JobType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for JobType: %s. Supported values are: %s.", m.JobType, strings.Join(GetSyncJobJobTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingSyncJobLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSyncJobLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// SyncJobJobTypeEnum Enum with underlying type: string +type SyncJobJobTypeEnum string + +// Set of constants representing the allowable values for SyncJobJobTypeEnum +const ( + SyncJobJobTypeImport SyncJobJobTypeEnum = "IMPORT" + SyncJobJobTypeExport SyncJobJobTypeEnum = "EXPORT" +) + +var mappingSyncJobJobTypeEnum = map[string]SyncJobJobTypeEnum{ + "IMPORT": SyncJobJobTypeImport, + "EXPORT": SyncJobJobTypeExport, +} + +var mappingSyncJobJobTypeEnumLowerCase = map[string]SyncJobJobTypeEnum{ + "import": SyncJobJobTypeImport, + "export": SyncJobJobTypeExport, +} + +// GetSyncJobJobTypeEnumValues Enumerates the set of values for SyncJobJobTypeEnum +func GetSyncJobJobTypeEnumValues() []SyncJobJobTypeEnum { + values := make([]SyncJobJobTypeEnum, 0) + for _, v := range mappingSyncJobJobTypeEnum { + values = append(values, v) + } + return values +} + +// GetSyncJobJobTypeEnumStringValues Enumerates the set of values in String for SyncJobJobTypeEnum +func GetSyncJobJobTypeEnumStringValues() []string { + return []string{ + "IMPORT", + "EXPORT", + } +} + +// GetMappingSyncJobJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSyncJobJobTypeEnum(val string) (SyncJobJobTypeEnum, bool) { + enum, ok := mappingSyncJobJobTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// SyncJobLifecycleStateEnum Enum with underlying type: string +type SyncJobLifecycleStateEnum string + +// Set of constants representing the allowable values for SyncJobLifecycleStateEnum +const ( + SyncJobLifecycleStateInProgress SyncJobLifecycleStateEnum = "IN_PROGRESS" + SyncJobLifecycleStateSucceeded SyncJobLifecycleStateEnum = "SUCCEEDED" + SyncJobLifecycleStateCanceling SyncJobLifecycleStateEnum = "CANCELING" + SyncJobLifecycleStateCanceled SyncJobLifecycleStateEnum = "CANCELED" + SyncJobLifecycleStateFailed SyncJobLifecycleStateEnum = "FAILED" + SyncJobLifecycleStateFailing SyncJobLifecycleStateEnum = "FAILING" +) + +var mappingSyncJobLifecycleStateEnum = map[string]SyncJobLifecycleStateEnum{ + "IN_PROGRESS": SyncJobLifecycleStateInProgress, + "SUCCEEDED": SyncJobLifecycleStateSucceeded, + "CANCELING": SyncJobLifecycleStateCanceling, + "CANCELED": SyncJobLifecycleStateCanceled, + "FAILED": SyncJobLifecycleStateFailed, + "FAILING": SyncJobLifecycleStateFailing, +} + +var mappingSyncJobLifecycleStateEnumLowerCase = map[string]SyncJobLifecycleStateEnum{ + "in_progress": SyncJobLifecycleStateInProgress, + "succeeded": SyncJobLifecycleStateSucceeded, + "canceling": SyncJobLifecycleStateCanceling, + "canceled": SyncJobLifecycleStateCanceled, + "failed": SyncJobLifecycleStateFailed, + "failing": SyncJobLifecycleStateFailing, +} + +// GetSyncJobLifecycleStateEnumValues Enumerates the set of values for SyncJobLifecycleStateEnum +func GetSyncJobLifecycleStateEnumValues() []SyncJobLifecycleStateEnum { + values := make([]SyncJobLifecycleStateEnum, 0) + for _, v := range mappingSyncJobLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetSyncJobLifecycleStateEnumStringValues Enumerates the set of values in String for SyncJobLifecycleStateEnum +func GetSyncJobLifecycleStateEnumStringValues() []string { + return []string{ + "IN_PROGRESS", + "SUCCEEDED", + "CANCELING", + "CANCELED", + "FAILED", + "FAILING", + } +} + +// GetMappingSyncJobLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSyncJobLifecycleStateEnum(val string) (SyncJobLifecycleStateEnum, bool) { + enum, ok := mappingSyncJobLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go new file mode 100644 index 0000000000..2dc67d67c1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// SyncJobCollection Results of a sync job search. Contains both sync job summary items and other information, such as metadata. +type SyncJobCollection struct { + + // List of sync jobs. + Items []SyncJobSummary `mandatory:"true" json:"items"` +} + +func (m SyncJobCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m SyncJobCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go new file mode 100644 index 0000000000..747ed97ac0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go @@ -0,0 +1,146 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// SyncJobSummary Summary information associated with sync jobs. +type SyncJobSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the sync job. + Id *string `mandatory:"true" json:"id"` + + // The type of the sync job. + JobType SyncJobSummaryJobTypeEnum `mandatory:"true" json:"jobType"` + + // The current state of the sync job. + LifecycleState SyncJobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` + + // The flag is an identifier to tell whether this specific job run has overwrite enabled. + // If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. + // If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. + IsOverwrite *bool `mandatory:"true" json:"isOverwrite"` + + // Total object count for scanned files for import or export as part of this sync job. + TotalObjectsScanned *int64 `mandatory:"true" json:"totalObjectsScanned"` + + // Count of total files transferred successfully. + ObjectsTransferred *int64 `mandatory:"true" json:"objectsTransferred"` + + // Bytes transferred during the sync. This value changes while sync is still in progress. + BytesTransferred *int64 `mandatory:"true" json:"bytesTransferred"` + + // Count of files or objects that failed to export or import due to errors. + SkippedErrorCount *int64 `mandatory:"true" json:"skippedErrorCount"` + + // The date and time the job was started, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2020-07-25T21:10:29.600Z` + TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` + + // The path in the Lustre file system used for this Object Storage link. + // Example: `myFileSystem/mount/myDirectory` + LustreFileSystemPath *string `mandatory:"true" json:"lustreFileSystemPath"` + + // The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports. + // Example: `objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix` + ObjectStoragePath *string `mandatory:"true" json:"objectStoragePath"` + + // A message that describes the current state of the sync job in more detail. For example, + // can be used to provide actionable information for a resource in the Failed state. + LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` + + // The date and time the job finished, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2024-07-21T20:10:29.600Z` + TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` +} + +func (m SyncJobSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m SyncJobSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingSyncJobSummaryJobTypeEnum(string(m.JobType)); !ok && m.JobType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for JobType: %s. Supported values are: %s.", m.JobType, strings.Join(GetSyncJobSummaryJobTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingSyncJobLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSyncJobLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// SyncJobSummaryJobTypeEnum Enum with underlying type: string +type SyncJobSummaryJobTypeEnum string + +// Set of constants representing the allowable values for SyncJobSummaryJobTypeEnum +const ( + SyncJobSummaryJobTypeImport SyncJobSummaryJobTypeEnum = "IMPORT" + SyncJobSummaryJobTypeExport SyncJobSummaryJobTypeEnum = "EXPORT" +) + +var mappingSyncJobSummaryJobTypeEnum = map[string]SyncJobSummaryJobTypeEnum{ + "IMPORT": SyncJobSummaryJobTypeImport, + "EXPORT": SyncJobSummaryJobTypeExport, +} + +var mappingSyncJobSummaryJobTypeEnumLowerCase = map[string]SyncJobSummaryJobTypeEnum{ + "import": SyncJobSummaryJobTypeImport, + "export": SyncJobSummaryJobTypeExport, +} + +// GetSyncJobSummaryJobTypeEnumValues Enumerates the set of values for SyncJobSummaryJobTypeEnum +func GetSyncJobSummaryJobTypeEnumValues() []SyncJobSummaryJobTypeEnum { + values := make([]SyncJobSummaryJobTypeEnum, 0) + for _, v := range mappingSyncJobSummaryJobTypeEnum { + values = append(values, v) + } + return values +} + +// GetSyncJobSummaryJobTypeEnumStringValues Enumerates the set of values in String for SyncJobSummaryJobTypeEnum +func GetSyncJobSummaryJobTypeEnumStringValues() []string { + return []string{ + "IMPORT", + "EXPORT", + } +} + +// GetMappingSyncJobSummaryJobTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSyncJobSummaryJobTypeEnum(val string) (SyncJobSummaryJobTypeEnum, bool) { + enum, ok := mappingSyncJobSummaryJobTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go new file mode 100644 index 0000000000..6d81472249 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// TenancyConfigurationSummary Details of the tenancy configuration +type TenancyConfigurationSummary struct { + + // The tenancy OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + TenancyId *string `mandatory:"true" json:"tenancyId"` + + // The profile name which is applicable for the given tenancy. + Profile *string `mandatory:"false" json:"profile"` + + CapacityReservations *CapacityReservationsCollection `mandatory:"false" json:"capacityReservations"` +} + +func (m TenancyConfigurationSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m TenancyConfigurationSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go new file mode 100644 index 0000000000..14e215fb88 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// TenancyOverride A construct that stores configuration and capacity reservation overrides for a tenant. +type TenancyOverride struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenancyId *string `mandatory:"true" json:"tenancyId"` + + // The list of overrides for a tenant. + Overrides []interface{} `mandatory:"true" json:"overrides"` +} + +func (m TenancyOverride) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m TenancyOverride) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go new file mode 100644 index 0000000000..ea6c5682bb --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// TenancyOverrideCollection Results of a Tenancy Override search. Contains TenancyOverride items. +type TenancyOverrideCollection struct { + + // List of Tenancy Override Summary. + Items []TenancyOverrideSummary `mandatory:"true" json:"items"` +} + +func (m TenancyOverrideCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m TenancyOverrideCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go new file mode 100644 index 0000000000..835a99fbef --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// TenancyOverrideSummary A construct that stores configuration and capacity reservation overrides for a tenant. +type TenancyOverrideSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenancyId *string `mandatory:"true" json:"tenancyId"` + + // The list of overrides for a tenant. + Overrides []interface{} `mandatory:"true" json:"overrides"` +} + +func (m TenancyOverrideSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m TenancyOverrideSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go new file mode 100644 index 0000000000..9c6132b1d7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UnpauseSyncJobDetails Details about un-pausing an object sync job. +type UnpauseSyncJobDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running job. + SyncJobId *string `mandatory:"true" json:"syncJobId"` +} + +func (m UnpauseSyncJobDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UnpauseSyncJobDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go new file mode 100644 index 0000000000..7e4acf3708 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UnpauseSyncJobRequest wrapper for the UnpauseSyncJob operation +type UnpauseSyncJobRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. + ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` + + // The information needed to start the export to Object Storage. + UnpauseSyncJobDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of running that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and removed from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UnpauseSyncJobRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UnpauseSyncJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UnpauseSyncJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UnpauseSyncJobRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UnpauseSyncJobRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UnpauseSyncJobResponse wrapper for the UnpauseSyncJob operation +type UnpauseSyncJobResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UnpauseSyncJobResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UnpauseSyncJobResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go new file mode 100644 index 0000000000..178676d433 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go @@ -0,0 +1,57 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateCapacityReservationInfoDetails The data required for updating a Capacity Reservation Info. +type UpdateCapacityReservationInfoDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. Use empty string to unset the value. + CustomerCpgId *string `mandatory:"false" json:"customerCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. Use empty string to unset the value. + CustomerTenancyId *string `mandatory:"false" json:"customerTenancyId"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableBlockCapacityInGBs *int64 `mandatory:"false" json:"availableBlockCapacityInGBs"` + + DesiredComputeCount *DesiredComputeCount `mandatory:"false" json:"desiredComputeCount"` + + // If set to true, update capacity requests would not be sent. + IsUpdateRequestPaused *bool `mandatory:"false" json:"isUpdateRequestPaused"` + + // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity + // A maximum of 10 is allowed. + BlockCpgIds []string `mandatory:"false" json:"blockCpgIds"` +} + +func (m UpdateCapacityReservationInfoDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateCapacityReservationInfoDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go new file mode 100644 index 0000000000..aa5bc960a8 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go @@ -0,0 +1,98 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateCapacityReservationInfoRequest wrapper for the UpdateCapacityReservationInfo operation +type UpdateCapacityReservationInfoRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"` + + // The information to be updated. + UpdateCapacityReservationInfoDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateCapacityReservationInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateCapacityReservationInfoResponse wrapper for the UpdateCapacityReservationInfo operation +type UpdateCapacityReservationInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CapacityReservationInfo instance + CapacityReservationInfo `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateCapacityReservationInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateCapacityReservationInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go new file mode 100644 index 0000000000..45ef0da473 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateCpgOverrideDetails The data required for updating a CPG Override. +type UpdateCpgOverrideDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. + CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. + CustomerTenancyId *string `mandatory:"false" json:"customerTenancyId"` +} + +func (m UpdateCpgOverrideDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateCpgOverrideDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go new file mode 100644 index 0000000000..cd2d8f0981 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go @@ -0,0 +1,98 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateCpgOverrideRequest wrapper for the UpdateCpgOverride operation +type UpdateCpgOverrideRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. + CustomerCpgId *string `mandatory:"true" contributesTo:"path" name:"customerCpgId"` + + // The information to be updated. + UpdateCpgOverrideDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateCpgOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateCpgOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateCpgOverrideResponse wrapper for the UpdateCpgOverride operation +type UpdateCpgOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The CpgOverride instance + CpgOverride `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateCpgOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateCpgOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go new file mode 100644 index 0000000000..838b683175 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateLfsCpgInfoDetails The data required for creating a LFS CPG Info. +type UpdateLfsCpgInfoDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. + DefaultCapacityReservationId *string `mandatory:"false" json:"defaultCapacityReservationId"` + + // The availability domain the Management Cell is in. May be unset + // as a blank or NULL value. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` +} + +func (m UpdateLfsCpgInfoDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateLfsCpgInfoDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go new file mode 100644 index 0000000000..df0d6e4f12 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go @@ -0,0 +1,98 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateLfsCpgInfoRequest wrapper for the UpdateLfsCpgInfo operation +type UpdateLfsCpgInfoRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. + LfsCpgId *string `mandatory:"true" contributesTo:"path" name:"lfsCpgId"` + + // The information to be updated. + UpdateLfsCpgInfoDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateLfsCpgInfoRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateLfsCpgInfoResponse wrapper for the UpdateLfsCpgInfo operation +type UpdateLfsCpgInfoResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The LfsCpgInfo instance + LfsCpgInfo `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateLfsCpgInfoResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateLfsCpgInfoResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go new file mode 100644 index 0000000000..cc5b50e8b3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go @@ -0,0 +1,69 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateLustreFileSystemDetails The data to update a Lustre file system. +type UpdateLustreFileSystemDetails struct { + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Lustre file system` + DisplayName *string `mandatory:"false" json:"displayName"` + + // Short description of the Lustre file system. + // Avoid entering confidential information. + FileSystemDescription *string `mandatory:"false" json:"fileSystemDescription"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this lustre file system. + // A maximum of 5 is allowed. + // Setting this to an empty array after the list is created removes the lustre file system from all NSGs. + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). + NsgIds []string `mandatory:"false" json:"nsgIds"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. + KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` + + // Capacity of the Lustre file system in GB. You can increase capacity only in multiples of 5 TB. + CapacityInGBs *int `mandatory:"false" json:"capacityInGBs"` + + RootSquashConfiguration *RootSquashConfiguration `mandatory:"false" json:"rootSquashConfiguration"` +} + +func (m UpdateLustreFileSystemDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateLustreFileSystemDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go index f03549f60f..8894bf015c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go @@ -12,10 +12,6 @@ import ( ) // UpdateLustreFileSystemRequest wrapper for the UpdateLustreFileSystem operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystemRequest. type UpdateLustreFileSystemRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go new file mode 100644 index 0000000000..079242fe31 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go @@ -0,0 +1,160 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateManagementCellDetails The data required for updating a ManagementCell. +type UpdateManagementCellDetails struct { + + // The current state of the Management cell. + LifecycleState UpdateManagementCellDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // ManagementCell can be categorized based on the customer filesystems it is hosting. + // Example: `RESTRICTED` category cell is restricted for use by only one customer + Category UpdateManagementCellDetailsCategoryEnum `mandatory:"false" json:"category,omitempty"` + + // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. + AvailableCapacityInGBs *int64 `mandatory:"false" json:"availableCapacityInGBs"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + Details *Details `mandatory:"false" json:"details"` +} + +func (m UpdateManagementCellDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateManagementCellDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingUpdateManagementCellDetailsLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetUpdateManagementCellDetailsLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingUpdateManagementCellDetailsCategoryEnum(string(m.Category)); !ok && m.Category != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetUpdateManagementCellDetailsCategoryEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateManagementCellDetailsLifecycleStateEnum Enum with underlying type: string +type UpdateManagementCellDetailsLifecycleStateEnum string + +// Set of constants representing the allowable values for UpdateManagementCellDetailsLifecycleStateEnum +const ( + UpdateManagementCellDetailsLifecycleStateCreating UpdateManagementCellDetailsLifecycleStateEnum = "CREATING" + UpdateManagementCellDetailsLifecycleStateActive UpdateManagementCellDetailsLifecycleStateEnum = "ACTIVE" + UpdateManagementCellDetailsLifecycleStateInactive UpdateManagementCellDetailsLifecycleStateEnum = "INACTIVE" + UpdateManagementCellDetailsLifecycleStateDeleted UpdateManagementCellDetailsLifecycleStateEnum = "DELETED" +) + +var mappingUpdateManagementCellDetailsLifecycleStateEnum = map[string]UpdateManagementCellDetailsLifecycleStateEnum{ + "CREATING": UpdateManagementCellDetailsLifecycleStateCreating, + "ACTIVE": UpdateManagementCellDetailsLifecycleStateActive, + "INACTIVE": UpdateManagementCellDetailsLifecycleStateInactive, + "DELETED": UpdateManagementCellDetailsLifecycleStateDeleted, +} + +var mappingUpdateManagementCellDetailsLifecycleStateEnumLowerCase = map[string]UpdateManagementCellDetailsLifecycleStateEnum{ + "creating": UpdateManagementCellDetailsLifecycleStateCreating, + "active": UpdateManagementCellDetailsLifecycleStateActive, + "inactive": UpdateManagementCellDetailsLifecycleStateInactive, + "deleted": UpdateManagementCellDetailsLifecycleStateDeleted, +} + +// GetUpdateManagementCellDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateManagementCellDetailsLifecycleStateEnum +func GetUpdateManagementCellDetailsLifecycleStateEnumValues() []UpdateManagementCellDetailsLifecycleStateEnum { + values := make([]UpdateManagementCellDetailsLifecycleStateEnum, 0) + for _, v := range mappingUpdateManagementCellDetailsLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetUpdateManagementCellDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateManagementCellDetailsLifecycleStateEnum +func GetUpdateManagementCellDetailsLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "INACTIVE", + "DELETED", + } +} + +// GetMappingUpdateManagementCellDetailsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateManagementCellDetailsLifecycleStateEnum(val string) (UpdateManagementCellDetailsLifecycleStateEnum, bool) { + enum, ok := mappingUpdateManagementCellDetailsLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateManagementCellDetailsCategoryEnum Enum with underlying type: string +type UpdateManagementCellDetailsCategoryEnum string + +// Set of constants representing the allowable values for UpdateManagementCellDetailsCategoryEnum +const ( + UpdateManagementCellDetailsCategoryGeneral UpdateManagementCellDetailsCategoryEnum = "GENERAL" + UpdateManagementCellDetailsCategoryInternal UpdateManagementCellDetailsCategoryEnum = "INTERNAL" + UpdateManagementCellDetailsCategoryRestricted UpdateManagementCellDetailsCategoryEnum = "RESTRICTED" +) + +var mappingUpdateManagementCellDetailsCategoryEnum = map[string]UpdateManagementCellDetailsCategoryEnum{ + "GENERAL": UpdateManagementCellDetailsCategoryGeneral, + "INTERNAL": UpdateManagementCellDetailsCategoryInternal, + "RESTRICTED": UpdateManagementCellDetailsCategoryRestricted, +} + +var mappingUpdateManagementCellDetailsCategoryEnumLowerCase = map[string]UpdateManagementCellDetailsCategoryEnum{ + "general": UpdateManagementCellDetailsCategoryGeneral, + "internal": UpdateManagementCellDetailsCategoryInternal, + "restricted": UpdateManagementCellDetailsCategoryRestricted, +} + +// GetUpdateManagementCellDetailsCategoryEnumValues Enumerates the set of values for UpdateManagementCellDetailsCategoryEnum +func GetUpdateManagementCellDetailsCategoryEnumValues() []UpdateManagementCellDetailsCategoryEnum { + values := make([]UpdateManagementCellDetailsCategoryEnum, 0) + for _, v := range mappingUpdateManagementCellDetailsCategoryEnum { + values = append(values, v) + } + return values +} + +// GetUpdateManagementCellDetailsCategoryEnumStringValues Enumerates the set of values in String for UpdateManagementCellDetailsCategoryEnum +func GetUpdateManagementCellDetailsCategoryEnumStringValues() []string { + return []string{ + "GENERAL", + "INTERNAL", + "RESTRICTED", + } +} + +// GetMappingUpdateManagementCellDetailsCategoryEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateManagementCellDetailsCategoryEnum(val string) (UpdateManagementCellDetailsCategoryEnum, bool) { + enum, ok := mappingUpdateManagementCellDetailsCategoryEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go new file mode 100644 index 0000000000..fb5b98c7ff --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateManagementCellRequest wrapper for the UpdateManagementCell operation +type UpdateManagementCellRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. + ManagementCellId *string `mandatory:"true" contributesTo:"path" name:"managementCellId"` + + // The information to be updated. + UpdateManagementCellDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateManagementCellRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateManagementCellRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateManagementCellRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateManagementCellResponse wrapper for the UpdateManagementCell operation +type UpdateManagementCellResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateManagementCellResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateManagementCellResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go new file mode 100644 index 0000000000..da048de359 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateObjectStorageLinkDetails The data to update an Object Storage link. +type UpdateObjectStorageLinkDetails struct { + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `My Object Storage Link` + DisplayName *string `mandatory:"false" json:"displayName"` + + // The flag is an identifier to tell whether the job run has overwrite enabled. + // If `isOverwrite` is false, the file to be imported or exported will be skipped if it already exists. + // If `isOverwrite` is true, the file to be imported or exported will be overwritten if it already exists. + IsOverwrite *bool `mandatory:"false" json:"isOverwrite"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a namespace. + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` +} + +func (m UpdateObjectStorageLinkDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateObjectStorageLinkDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go index 9f6373afba..bd822e5b28 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go @@ -12,10 +12,6 @@ import ( ) // UpdateObjectStorageLinkRequest wrapper for the UpdateObjectStorageLink operation -// -// # See also -// -// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLinkRequest. type UpdateObjectStorageLinkRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go new file mode 100644 index 0000000000..2ae820a070 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdatePoolDetails The data required for updating a Pool. +type UpdatePoolDetails struct { + + // The type of pool + PoolType UpdatePoolDetailsPoolTypeEnum `mandatory:"false" json:"poolType,omitempty"` + + // Name of the pool + PoolName *string `mandatory:"false" json:"poolName"` + + // List of customer tenancies it is dedicated for + DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` + + // The name of the site group this pool is associated with + SiteGroup *string `mandatory:"false" json:"siteGroup"` + + // List of customer tenancies it is dedicated for + Tags []string `mandatory:"false" json:"tags"` + + // List of customer tenancies it is dedicated for + Resources []interface{} `mandatory:"false" json:"resources"` + + // The pools that have affinity with this pool. + PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` +} + +func (m UpdatePoolDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdatePoolDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingUpdatePoolDetailsPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetUpdatePoolDetailsPoolTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdatePoolDetailsPoolTypeEnum Enum with underlying type: string +type UpdatePoolDetailsPoolTypeEnum string + +// Set of constants representing the allowable values for UpdatePoolDetailsPoolTypeEnum +const ( + UpdatePoolDetailsPoolTypeCompute UpdatePoolDetailsPoolTypeEnum = "COMPUTE" + UpdatePoolDetailsPoolTypeBlock UpdatePoolDetailsPoolTypeEnum = "BLOCK" +) + +var mappingUpdatePoolDetailsPoolTypeEnum = map[string]UpdatePoolDetailsPoolTypeEnum{ + "COMPUTE": UpdatePoolDetailsPoolTypeCompute, + "BLOCK": UpdatePoolDetailsPoolTypeBlock, +} + +var mappingUpdatePoolDetailsPoolTypeEnumLowerCase = map[string]UpdatePoolDetailsPoolTypeEnum{ + "compute": UpdatePoolDetailsPoolTypeCompute, + "block": UpdatePoolDetailsPoolTypeBlock, +} + +// GetUpdatePoolDetailsPoolTypeEnumValues Enumerates the set of values for UpdatePoolDetailsPoolTypeEnum +func GetUpdatePoolDetailsPoolTypeEnumValues() []UpdatePoolDetailsPoolTypeEnum { + values := make([]UpdatePoolDetailsPoolTypeEnum, 0) + for _, v := range mappingUpdatePoolDetailsPoolTypeEnum { + values = append(values, v) + } + return values +} + +// GetUpdatePoolDetailsPoolTypeEnumStringValues Enumerates the set of values in String for UpdatePoolDetailsPoolTypeEnum +func GetUpdatePoolDetailsPoolTypeEnumStringValues() []string { + return []string{ + "COMPUTE", + "BLOCK", + } +} + +// GetMappingUpdatePoolDetailsPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdatePoolDetailsPoolTypeEnum(val string) (UpdatePoolDetailsPoolTypeEnum, bool) { + enum, ok := mappingUpdatePoolDetailsPoolTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go new file mode 100644 index 0000000000..ad854db70b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go @@ -0,0 +1,98 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdatePoolRequest wrapper for the UpdatePool operation +type UpdatePoolRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool. + PoolId *string `mandatory:"true" contributesTo:"path" name:"poolId"` + + // The information to be updated. + UpdatePoolDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdatePoolRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdatePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdatePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdatePoolRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdatePoolRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdatePoolResponse wrapper for the UpdatePool operation +type UpdatePoolResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Pool instance + Pool `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdatePoolResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdatePoolResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go new file mode 100644 index 0000000000..d36d47c243 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateTenancyOverrideDetails The data required for updating a Tenancy Override. +type UpdateTenancyOverrideDetails struct { + + // The override for a tenant. + Override *interface{} `mandatory:"true" json:"override"` +} + +func (m UpdateTenancyOverrideDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateTenancyOverrideDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go new file mode 100644 index 0000000000..cc4ee63d47 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go @@ -0,0 +1,101 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateTenancyOverrideRequest wrapper for the UpdateTenancyOverride operation +type UpdateTenancyOverrideRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. + TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` + + // The ID associated with an override. + OverrideId *string `mandatory:"true" contributesTo:"path" name:"overrideId"` + + // The information to be updated. + UpdateTenancyOverrideDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateTenancyOverrideRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateTenancyOverrideRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateTenancyOverrideResponse wrapper for the UpdateTenancyOverride operation +type UpdateTenancyOverrideResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The TenancyOverride instance + TenancyOverride `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateTenancyOverrideResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateTenancyOverrideResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go new file mode 100644 index 0000000000..fc9723ce8a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go @@ -0,0 +1,79 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, +// the service creates a work request. A work request is an activity log that lets you track each step in the operation's +// progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation. +type WorkRequest struct { + + // The asynchronous operation tracked by this work request. + OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` + + // The status of the work request. + Status OperationStatusEnum `mandatory:"true" json:"status"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The resources that are affected by the work request. + Resources []WorkRequestResource `mandatory:"true" json:"resources"` + + // Shows the progress of the operation tracked by the work request, as a percentage of the total work + // that must be performed. + PercentComplete *float32 `mandatory:"true" json:"percentComplete"` + + // The date and time the work request was created, in the format defined by + // RFC 3339 (https://tools.ietf.org/html/rfc3339). + TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` + + // The date and time the work request was started, in the format defined by + // RFC 3339 (https://tools.ietf.org/html/rfc3339). + TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` + + // The date and time the work request was finished, in the format defined by + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). + TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` + + // The date and time the work request was updated, in the format defined by + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` +} + +func (m WorkRequest) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingOperationTypeEnum(string(m.OperationType)); !ok && m.OperationType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OperationType: %s. Supported values are: %s.", m.OperationType, strings.Join(GetOperationTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingOperationStatusEnum(string(m.Status)); !ok && m.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetOperationStatusEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go new file mode 100644 index 0000000000..17707261e1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestError An error encountered while performing an operation that is tracked by a work request. +type WorkRequestError struct { + + // A machine-usable code for the error that occurred. For a list of error codes, see + // API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + Code *string `mandatory:"true" json:"code"` + + // A human-readable error message. + Message *string `mandatory:"true" json:"message"` + + // The date and time the error occurred, in the format defined by + // RFC 3339 (https://tools.ietf.org/html/rfc3339). + Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` +} + +func (m WorkRequestError) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestError) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go new file mode 100644 index 0000000000..c51f87a21b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata. +type WorkRequestErrorCollection struct { + + // A list of work request errors. + Items []WorkRequestError `mandatory:"true" json:"items"` +} + +func (m WorkRequestErrorCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go new file mode 100644 index 0000000000..60eb74e4ba --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go @@ -0,0 +1,43 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestLogEntry A log message from performing an operation that is tracked by a work request. +type WorkRequestLogEntry struct { + + // A human-readable log message. + Message *string `mandatory:"true" json:"message"` + + // The date and time the log message was written, in the format defined by + // RFC 3339 (https://tools.ietf.org/html/rfc3339). + Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` +} + +func (m WorkRequestLogEntry) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go new file mode 100644 index 0000000000..3e5769127c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata. +type WorkRequestLogEntryCollection struct { + + // A list of work request log entries. + Items []WorkRequestLogEntry `mandatory:"true" json:"items"` +} + +func (m WorkRequestLogEntryCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go new file mode 100644 index 0000000000..4dec939279 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go @@ -0,0 +1,54 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestResource A resource created or operated on by a work request. +type WorkRequestResource struct { + + // The resource type that the work request affects. + EntityType *string `mandatory:"true" json:"entityType"` + + // The way in which this resource is affected by the operation tracked in the work request. + // A resource being created, updated, or deleted remains in the IN_PROGRESS state until + // work is complete for that resource, at which point it transitions to CREATED, UPDATED, + // or DELETED, respectively. + ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` + + // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + Identifier *string `mandatory:"true" json:"identifier"` + + // The URI path that you can use for a GET request to access the resource metadata. + EntityUri *string `mandatory:"false" json:"entityUri"` +} + +func (m WorkRequestResource) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestResource) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingActionTypeEnum(string(m.ActionType)); !ok && m.ActionType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ActionType: %s. Supported values are: %s.", m.ActionType, strings.Join(GetActionTypeEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go new file mode 100644 index 0000000000..1c3a62c551 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestSummary Summary information about an asynchronous work request. +type WorkRequestSummary struct { + + // The asynchronous operation tracked by this work request. + OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` + + // The status of the work request. + Status OperationStatusEnum `mandatory:"true" json:"status"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The resources that are affected by this work request. + Resources []WorkRequestResource `mandatory:"true" json:"resources"` + + // Shows the progress of the operation tracked by the work request, as a percentage of the total work + // that must be performed. + PercentComplete *float32 `mandatory:"true" json:"percentComplete"` + + // The date and time the work request was created, in the format defined by + // RFC 3339 (https://tools.ietf.org/html/rfc3339). + TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` + + // The date and time the work request was started, in the format defined by + // RFC 3339 (https://tools.ietf.org/html/rfc3339). + TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` + + // The date and time the work request was finished, in the format defined by + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). + TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` + + // The date and time the work request was updated, in the format defined by + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` +} + +func (m WorkRequestSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingOperationTypeEnum(string(m.OperationType)); !ok && m.OperationType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OperationType: %s. Supported values are: %s.", m.OperationType, strings.Join(GetOperationTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingOperationStatusEnum(string(m.Status)); !ok && m.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetOperationStatusEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go new file mode 100644 index 0000000000..d15e1f82d1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata. +type WorkRequestSummaryCollection struct { + + // A list of work requests. + Items []WorkRequestSummary `mandatory:"true" json:"items"` +} + +func (m WorkRequestSummaryCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/modules.txt b/vendor/modules.txt index c40c296ab6..115967a8db 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -481,6 +481,7 @@ github.com/oracle/oci-go-sdk/v65/core github.com/oracle/oci-go-sdk/v65/filestorage github.com/oracle/oci-go-sdk/v65/identity github.com/oracle/oci-go-sdk/v65/loadbalancer +github.com/oracle/oci-go-sdk/v65/lustrefilestorage github.com/oracle/oci-go-sdk/v65/monitoring github.com/oracle/oci-go-sdk/v65/networkloadbalancer # github.com/pelletier/go-toml v1.9.5 From 3f33f04f689452fe9cd7e67107e7987e77b9a665 Mon Sep 17 00:00:00 2001 From: sumantac Date: Mon, 13 Oct 2025 18:22:57 +0530 Subject: [PATCH 12/27] Tagging controller changes --- pkg/cloudprovider/providers/oci/ccm.go | 96 +++++++ pkg/cloudprovider/providers/oci/ccm_test.go | 205 ++++++++++++++ .../providers/oci/instances_test.go | 12 + .../providers/oci/tagging_controller.go | 258 ++++++++++++++++++ .../providers/oci/tagging_controller_test.go | 233 ++++++++++++++++ pkg/csi/driver/bv_controller_test.go | 20 +- pkg/oci/client/client.go | 1 + pkg/oci/client/client_test.go | 8 +- pkg/oci/client/compute.go | 19 ++ pkg/volume/provisioner/block/block_test.go | 4 + pkg/volume/provisioner/fss/fss_test.go | 4 + .../cloud-provider-oci/tagging_controller.go | 140 ++++++++++ .../zap/zaptest/observer/logged_entry.go | 39 +++ .../zap/zaptest/observer/observer.go | 196 +++++++++++++ 14 files changed, 1227 insertions(+), 8 deletions(-) create mode 100644 pkg/cloudprovider/providers/oci/ccm_test.go create mode 100644 pkg/cloudprovider/providers/oci/tagging_controller.go create mode 100644 pkg/cloudprovider/providers/oci/tagging_controller_test.go create mode 100644 test/e2e/cloud-provider-oci/tagging_controller.go create mode 100644 vendor/go.uber.org/zap/zaptest/observer/logged_entry.go create mode 100644 vendor/go.uber.org/zap/zaptest/observer/observer.go diff --git a/pkg/cloudprovider/providers/oci/ccm.go b/pkg/cloudprovider/providers/oci/ccm.go index d6a620e9f6..acb2a05d42 100644 --- a/pkg/cloudprovider/providers/oci/ccm.go +++ b/pkg/cloudprovider/providers/oci/ccm.go @@ -20,13 +20,18 @@ import ( "context" "fmt" "io" + "os" + "strings" "time" "github.com/pkg/errors" "go.uber.org/zap" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/selection" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/informers" + v1 "k8s.io/client-go/informers/core/v1" clientset "k8s.io/client-go/kubernetes" listersv1 "k8s.io/client-go/listers/core/v1" "k8s.io/client-go/tools/cache" @@ -45,6 +50,12 @@ const ( // (OCI) cloud-provider. providerName = "oci" providerPrefix = providerName + "://" + + disableInstanceTaggingController = "DISABLE_INSTANCE_TAGGING_CONTROLLER" + openshiftNodeLabelId = "OPENSHIFT_NODE_LABEL_ID" + // Default OpenShift node OS label key/value + openshiftOSLabelKey = "node.openshift.io/os_id" + openshiftOSLabelRHEL = "rhel" ) // ProviderName uniquely identifies the Oracle Bare Metal Cloud Services (OCI) @@ -192,6 +203,25 @@ func (cp *CloudProvider) Initialize(clientBuilder cloudprovider.ControllerClient go nodeInfoController.Run(wait.NeverStop) + // If the cluster is type OpenShift then the Tagging Controller + // should be enabled. + isOpenShiftCluster := cp.isOpenShiftCluster(nodeInformer) + if isOpenShiftCluster { + if GetIsFeatureEnabledFromEnv(cp.logger, disableInstanceTaggingController, false) { + cp.logger.Info("Tagging controller disabled via environment variable DISABLE_INSTANCE_TAGGING_CONTROLLER") + } else { + cp.logger.Info("Tagging controller enabled") + taggingController := NewTaggingController( + nodeInformer, + cp.kubeclient, + cp, + cp.logger.With("controller", "tagging-controller"), + cp.client, + ) + go taggingController.Run(wait.NeverStop) + } + } + cp.logger.Info("Waiting for node informer cache to sync") if !cache.WaitForCacheSync(wait.NeverStop, nodeInformer.Informer().HasSynced, serviceInformer.Informer().HasSynced) { utilruntime.HandleError(fmt.Errorf("Timed out waiting for informers to sync")) @@ -280,3 +310,69 @@ func (cp *CloudProvider) HasClusterID() bool { func instanceCacheKeyFn(obj interface{}) (string, error) { return *obj.(*core.Instance).Id, nil } + +func (cp *CloudProvider) isOpenShiftCluster(informer v1.NodeInformer) bool { + labelIdentifier := strings.TrimSpace(os.Getenv(openshiftNodeLabelId)) + if labelIdentifier == "" { + // Fallback: if env var not provided, inspect nodes directly for the default OpenShift label + cp.logger.Info("OpenShift node label identifier not provided; checking for node label node.openshift.io/os_id=rhel") + nodes, err := informer.Lister().List(labels.Everything()) + if err != nil { + cp.logger.Error("Failed to list nodes for OpenShift default label check", "error", err) + return false + } + for _, n := range nodes { + if val, ok := n.Labels[openshiftOSLabelKey]; ok && val == openshiftOSLabelRHEL { + cp.logger.Info("Detected OpenShift node by default label", "node", n.Name) + return true + } + } + return false + } + + selector, err := parseOpenShiftLabelSelector(labelIdentifier) + if err != nil { + cp.logger.Error("Invalid OpenShift node label identifier", "label", labelIdentifier, "error", err) + return false + } + + nodes, err := informer.Lister().List(selector) + if err != nil { + cp.logger.Error("Failed to list nodes for OpenShift label", "label", labelIdentifier, "error", err) + return false + } + + if len(nodes) > 0 { + cp.logger.Info("Detected OpenShift node label", "label", labelIdentifier) + return true + } + return false +} + +// parseOpenShiftLabelSelector parses an OpenShift node label identifier into a Kubernetes labels.Selector. +// The identifier may be in "key" form (Exists) or "key=value" form (Equals). Surrounding whitespace is ignored. +// It returns a selector matching nodes with the given label or an error if the identifier is empty or malformed. +func parseOpenShiftLabelSelector(labelIdentifier string) (labels.Selector, error) { + labelIdentifier = strings.TrimSpace(labelIdentifier) + + // Support both "key" (Exists) and "key=value" (Equals) forms. + if strings.Contains(labelIdentifier, "=") { + parts := strings.SplitN(labelIdentifier, "=", 2) + key := strings.TrimSpace(parts[0]) + val := strings.TrimSpace(parts[1]) + if key == "" || val == "" { + return nil, fmt.Errorf("invalid label identifier %q", labelIdentifier) + } + req, err := labels.NewRequirement(key, selection.Equals, []string{val}) + if err != nil { + return nil, err + } + return labels.NewSelector().Add(*req), nil + } + + req, err := labels.NewRequirement(labelIdentifier, selection.Exists, nil) + if err != nil { + return nil, err + } + return labels.NewSelector().Add(*req), nil +} diff --git a/pkg/cloudprovider/providers/oci/ccm_test.go b/pkg/cloudprovider/providers/oci/ccm_test.go new file mode 100644 index 0000000000..a7cc2308ed --- /dev/null +++ b/pkg/cloudprovider/providers/oci/ccm_test.go @@ -0,0 +1,205 @@ +package oci + +import ( + "errors" + "fmt" + "testing" + + "go.uber.org/zap" + v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + listersv1 "k8s.io/client-go/listers/core/v1" + "k8s.io/client-go/tools/cache" +) + +type stubNodeInformer struct { + lister listersv1.NodeLister +} + +func (f *stubNodeInformer) Informer() cache.SharedIndexInformer { + return nil +} + +func (f *stubNodeInformer) Lister() listersv1.NodeLister { + return f.lister +} + +type stubNodeLister struct { + nodes []*v1.Node + listErr error +} + +func (f *stubNodeLister) List(selector labels.Selector) ([]*v1.Node, error) { + if f.listErr != nil { + return nil, f.listErr + } + if selector == nil { + return append([]*v1.Node(nil), f.nodes...), nil + } + var filtered []*v1.Node + for _, node := range f.nodes { + if selector.Matches(labels.Set(node.Labels)) { + filtered = append(filtered, node) + } + } + return filtered, nil +} + +func (f *stubNodeLister) Get(name string) (*v1.Node, error) { + for _, node := range f.nodes { + if node.Name == name { + return node, nil + } + } + return nil, fmt.Errorf("node %q not found", name) +} + +func TestIsOpenShiftCluster(t *testing.T) { + logger := zap.NewNop().Sugar() + cp := &CloudProvider{logger: logger} + + workerNode := &v1.Node{ + ObjectMeta: metav1.ObjectMeta{ + Name: "worker-1", + Labels: map[string]string{ + "node-role.kubernetes.io/worker": "", + }, + }, + } + infraNode := &v1.Node{ + ObjectMeta: metav1.ObjectMeta{ + Name: "infra-1", + Labels: map[string]string{ + "node-role.kubernetes.io/infra": "", + "openshift.io/cluster": "true", + }, + }, + } + + tests := []struct { + name string + labelEnv string + lister listersv1.NodeLister + want bool + }{ + { + name: "empty label identifier falls back and returns true when default label exists", + labelEnv: "", + lister: &stubNodeLister{nodes: []*v1.Node{{ + ObjectMeta: metav1.ObjectMeta{ + Name: "n1", + Labels: map[string]string{"node.openshift.io/os_id": "rhel"}, + }, + }}}, + want: true, + }, + { + name: "empty label identifier falls back and returns false when default label missing", + labelEnv: "", + lister: &stubNodeLister{nodes: []*v1.Node{{ + ObjectMeta: metav1.ObjectMeta{ + Name: "n2", + Labels: map[string]string{"some": "label"}, + }, + }}}, + want: false, + }, + { + name: "empty label identifier falls back and returns false when default label value is not rhel", + labelEnv: "", + lister: &stubNodeLister{nodes: []*v1.Node{{ + ObjectMeta: metav1.ObjectMeta{ + Name: "n3", + Labels: map[string]string{"node.openshift.io/os_id": "rhcos"}, + }, + }}}, + want: false, + }, + { + name: "invalid label identifier returns false", + labelEnv: "openshift.io/cluster=", + lister: &stubNodeLister{}, + want: false, + }, + { + name: "list error returns false", + labelEnv: "openshift.io/cluster=true", + lister: &stubNodeLister{ + listErr: errors.New("list failed"), + }, + want: false, + }, + { + name: "no matching nodes returns false", + labelEnv: "openshift.io/cluster=true", + lister: &stubNodeLister{ + nodes: []*v1.Node{workerNode}, + }, + want: false, + }, + { + name: "equals selector matches node", + labelEnv: " openshift.io/cluster = true ", + lister: &stubNodeLister{ + nodes: []*v1.Node{workerNode, infraNode}, + }, + want: true, + }, + { + name: "exists selector matches node", + labelEnv: "node-role.kubernetes.io/worker", + lister: &stubNodeLister{ + nodes: []*v1.Node{workerNode}, + }, + want: true, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + t.Setenv(openshiftNodeLabelId, tt.labelEnv) + informer := &stubNodeInformer{lister: tt.lister} + if got := cp.isOpenShiftCluster(informer); got != tt.want { + t.Errorf("isOpenShiftCluster() = %v, want %v", got, tt.want) + } + }) + } +} + +func TestParseOpenShiftLabelSelectorEquals(t *testing.T) { + selector, err := parseOpenShiftLabelSelector(" role = infra ") + if err != nil { + t.Fatalf("parseOpenShiftLabelSelector returned error: %v", err) + } + + if !selector.Matches(labels.Set{"role": "infra"}) { + t.Fatalf("expected selector to match node with role=infra") + } + if selector.Matches(labels.Set{"role": "worker"}) { + t.Fatalf("did not expect selector to match node with role=worker") + } +} + +func TestParseOpenShiftLabelSelectorExists(t *testing.T) { + selector, err := parseOpenShiftLabelSelector("node-role.kubernetes.io/worker") + if err != nil { + t.Fatalf("parseOpenShiftLabelSelector returned error: %v", err) + } + + if !selector.Matches(labels.Set{"node-role.kubernetes.io/worker": ""}) { + t.Fatalf("expected selector to match node with worker role label") + } + if selector.Matches(labels.Set{"node-role.kubernetes.io/infra": ""}) { + t.Fatalf("did not expect selector to match infra role label") + } +} + +func TestParseOpenShiftLabelSelectorInvalid(t *testing.T) { + if _, err := parseOpenShiftLabelSelector("openshift.io/cluster="); err == nil { + t.Fatalf("expected error for invalid label identifier") + } + if _, err := parseOpenShiftLabelSelector("="); err == nil { + t.Fatalf("expected error for missing key and value") + } +} diff --git a/pkg/cloudprovider/providers/oci/instances_test.go b/pkg/cloudprovider/providers/oci/instances_test.go index f93afb2ef6..6caa26412e 100644 --- a/pkg/cloudprovider/providers/oci/instances_test.go +++ b/pkg/cloudprovider/providers/oci/instances_test.go @@ -956,6 +956,18 @@ func (c *MockComputeClient) AttachVnic(ctx context.Context, instanceID, subnetID return core.VnicAttachment{}, nil } +func (c *MockComputeClient) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) { + // Return mock or expected response + return &core.Instance{ + AvailabilityDomain: common.String("NWuj:PHX-AD-1"), + Id: request.InstanceId, + Region: common.String("PHX"), + Shape: common.String("VM.Standard1.2"), + DisplayName: request.DisplayName, + DefinedTags: request.DefinedTags, + }, nil +} + func (MockComputeClient) FindVolumeAttachment(ctx context.Context, compartmentID, volumeID string, instanceID *string) (core.VolumeAttachment, error) { return nil, nil } diff --git a/pkg/cloudprovider/providers/oci/tagging_controller.go b/pkg/cloudprovider/providers/oci/tagging_controller.go new file mode 100644 index 0000000000..0d00c1c55f --- /dev/null +++ b/pkg/cloudprovider/providers/oci/tagging_controller.go @@ -0,0 +1,258 @@ +// Copyright 2017 Oracle and/or its affiliates. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package oci + +import ( + "context" + "reflect" + "time" + + "go.uber.org/zap" + "golang.org/x/time/rate" + v1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/apimachinery/pkg/util/wait" + coreinformers "k8s.io/client-go/informers/core/v1" + "k8s.io/client-go/kubernetes" + clientset "k8s.io/client-go/kubernetes" + "k8s.io/client-go/tools/cache" + "k8s.io/client-go/util/workqueue" + + "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" + "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "github.com/oracle/oci-cloud-controller-manager/pkg/util" + "github.com/oracle/oci-go-sdk/v65/core" +) + +const ( + reconcileRetryingMinutes = 240 + workerRestartIntervalinMinutes = 2 + openshiftTagNamespace = "openshift-tags" + openshiftTagKey = "openshift-resource" + openshiftTagValue = "openshift-resource-infra" + definedTagLimit = 64 +) + +type TaggingController struct { + nodeInformer coreinformers.NodeInformer + logger *zap.SugaredLogger + kubeClient clientset.Interface + cloud *CloudProvider + queue workqueue.RateLimitingInterface + ociClient client.Interface +} + +// TaggingControllerRateLimiter enforces at most one retry every ten minutes for tagging controller work queues. +func TaggingControllerRateLimiter() workqueue.RateLimiter { + tenMinuteDelay := 10 * time.Minute + return workqueue.NewMaxOfRateLimiter( + // Ensure each retry is at least 10 minutes apart regardless of failures + workqueue.NewItemExponentialFailureRateLimiter(tenMinuteDelay, tenMinuteDelay), + // Limit overall processing to one operation per 10 minutes + &workqueue.BucketRateLimiter{Limiter: rate.NewLimiter(rate.Every(tenMinuteDelay), 1)}, + ) +} + +// NewTaggingController creates a TaggingController object +func NewTaggingController( + nodeInformer coreinformers.NodeInformer, + kubeClient kubernetes.Interface, + cloud *CloudProvider, + logger *zap.SugaredLogger, + ociClient client.Interface) *TaggingController { + + tc := &TaggingController{ + nodeInformer: nodeInformer, + kubeClient: kubeClient, + logger: logger, + cloud: cloud, + queue: workqueue.NewRateLimitingQueue(TaggingControllerRateLimiter()), + ociClient: ociClient, + } + + // Use shared informer to listen to add nodes + tc.nodeInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{ + AddFunc: func(obj interface{}) { + node := obj.(*v1.Node) + tc.queue.Add(node.Name) + }, + UpdateFunc: func(_, newObj interface{}) { + node := newObj.(*v1.Node) + tc.queue.Add(node.Name) + }, + }) + + return tc + +} + +func (tc *TaggingController) Run(stopCh <-chan struct{}) { + defer tc.queue.ShutDown() + tc.logger.Info("Starting tagging controller") + wait.Until(func() { + if err := tc.runWorker(stopCh); err != nil { + tc.logger.Error(err, "runWorker error", "TaggingController") + } + }, workerRestartIntervalinMinutes*time.Minute, stopCh) + +} + +func (tc *TaggingController) runWorker(stopCh <-chan struct{}) error { + nodeLister := tc.nodeInformer.Lister() + + ticker := time.NewTicker(reconcileRetryingMinutes * time.Minute) + defer ticker.Stop() + + for { + select { + case <-stopCh: + tc.logger.Info("Tagging Controller stopped") + return nil + case <-ticker.C: + nodes, err := nodeLister.List(labels.Everything()) + if err != nil { + tc.logger.Error("Failed to list nodes: %v", err) + return err + } + for _, node := range nodes { + tc.logger.Info("processing node: ", node.Name) + tc.ReconcileNodeTags(context.Background(), node) + } + } + } +} + +// ReconcileNodeTags retrieves instance details, merges required tags with existing defined tags, +// and calls the UpdateInstance API to apply the changes. +func (tc *TaggingController) ReconcileNodeTags(ctx context.Context, node *v1.Node) { + + if node == nil { + tc.logger.Error("node is nil") + return + } + tc.logger.Infow("Getting instanceOcid for node", "node", node.Name) + instanceOCID, err := MapProviderIDToResourceID(node.Spec.ProviderID) + if err != nil { + tc.logger.Error("Failed to get/retrieve instanceOCID for node %s: %v", node.Name, err) + return + } + logger := tc.logger.With("nodeName", node.Name, "instanceId", instanceOCID) + + logger.Info("Resolved instance OCID") + instance, err := tc.ociClient.Compute().GetInstance(ctx, instanceOCID) + if err != nil { + logger.Errorw("Failed to get instance for node", "error", err) + return + } + + logger.Infof("Existing defined tags on node: %v", instance.DefinedTags) + + var t *config.TagConfig + if tc.cloud.config.Tags == nil || tc.cloud.config.Tags.Common == nil { + logger.Warnf("Tag config is nil; using empty TagConfig for node") + t = &config.TagConfig{ + FreeformTags: map[string]string{}, + DefinedTags: map[string]map[string]interface{}{}, + } + } else { + t = tc.cloud.config.Tags.Common + } + + // Ensure the OpenShift defined tag namespace, key and value are present on the TagConfig. + ns, ok := t.DefinedTags[openshiftTagNamespace] + if !ok { + t.DefinedTags[openshiftTagNamespace] = map[string]interface{}{ + openshiftTagKey: openshiftTagValue, + } + } else if val, ok := ns[openshiftTagKey]; !ok || !reflect.DeepEqual(val, openshiftTagValue) { + ns[openshiftTagKey] = openshiftTagValue + } + + logger.Infow( + "Defined tags to reconcile on node", + "definedTagsToReconcile", t.DefinedTags, + "definedTagsExistingOnNode", instance.DefinedTags) + + if tc.hasRequiredDefinedTags(instance.DefinedTags, t.DefinedTags) { + logger.Infof("Node already has required defined tags; skipping update") + return + } + + instanceTagConfig := &config.TagConfig{ + FreeformTags: instance.FreeformTags, + DefinedTags: instance.DefinedTags, + } + + // MergeTags - Retrieve all defined tags currently set on the instance, + // and merge them with the required tags that should be present. + tags := util.MergeTagConfig(instanceTagConfig, t) + + // If the instance has already reached the defined tag limit, skip update to avoid API failure + if countDefinedTags(instance.DefinedTags) >= definedTagLimit { + logger.Warnf("Instance has %d defined tags which is the maximum allowed; cannot add required tags. Skipping update.", countDefinedTags(instance.DefinedTags)) + return + } + + _, err = tc.ociClient.Compute().UpdateInstance(ctx, core.UpdateInstanceRequest{ + InstanceId: &instanceOCID, + UpdateInstanceDetails: core.UpdateInstanceDetails{ + DefinedTags: tags.DefinedTags, + FreeformTags: tags.FreeformTags, + }, + }) + if err != nil { + logger.Error("Failed to update defined tags for node : %v", err) + return + } + logger.Info("Successfully updated defined tags for node ") +} + +// hasRequiredDefinedTags verifies that all required defined tags exist on the instance. +// This includes the OpenShift defined tags. +func (tc *TaggingController) hasRequiredDefinedTags(instanceDefinedTags, requiredDefinedTags map[string]map[string]interface{}) bool { + if requiredDefinedTags == nil { + return true + } + if len(requiredDefinedTags) > 0 { + if len(instanceDefinedTags) == 0 { + return false + } + for namespace, tags := range requiredDefinedTags { + existingNamespace, ok := instanceDefinedTags[namespace] + if !ok { + return false + } + for key, value := range tags { + existingValue, ok := existingNamespace[key] + if !ok || !reflect.DeepEqual(existingValue, value) { + return false + } + } + } + } + return true +} + +// countDefinedTags returns the total count of defined tag key-value pairs across all namespaces. +func countDefinedTags(tags map[string]map[string]interface{}) int { + if len(tags) == 0 { + return 0 + } + total := 0 + for _, ns := range tags { + total += len(ns) + } + return total +} diff --git a/pkg/cloudprovider/providers/oci/tagging_controller_test.go b/pkg/cloudprovider/providers/oci/tagging_controller_test.go new file mode 100644 index 0000000000..3fff1fe3cc --- /dev/null +++ b/pkg/cloudprovider/providers/oci/tagging_controller_test.go @@ -0,0 +1,233 @@ +package oci + +import ( + "context" + "fmt" + "strings" + "testing" + + "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" + providercfg "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci/config" + ociClient "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" + "github.com/oracle/oci-go-sdk/v65/core" + "go.uber.org/zap" + "go.uber.org/zap/zaptest/observer" + v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +func newTestLogger(t *testing.T) *zap.SugaredLogger { + logger, err := zap.NewDevelopment() + if err != nil { + t.Fatalf("Failed to create logger: %v", err) + } + return logger.Sugar() +} + +func TestHasRequiredDefinedTags(t *testing.T) { + tc := &TaggingController{} + tests := []struct { + name string + instance *core.Instance + required *config.TagConfig + want bool + }{ + { + name: "no requirements", + instance: &core.Instance{}, + required: nil, + want: true, + }, + { + name: "all defined tags present", + instance: &core.Instance{ + DefinedTags: map[string]map[string]interface{}{ + "openshift-tags": {openshiftTagKey: openshiftTagValue}, + }, + }, + required: &config.TagConfig{ + DefinedTags: map[string]map[string]interface{}{ + "openshift-tags": {openshiftTagKey: openshiftTagValue}, + }, + }, + want: true, + }, + { + name: "missing defined namespace", + instance: &core.Instance{ + DefinedTags: map[string]map[string]interface{}{}, + }, + required: &config.TagConfig{ + DefinedTags: map[string]map[string]interface{}{ + "openshift-tags": {openshiftTagKey: openshiftTagValue}, + }, + }, + want: false, + }, + { + name: "missing defined tag value", + instance: &core.Instance{ + DefinedTags: map[string]map[string]interface{}{ + "openshift-tags": {"other": "value"}, + }, + }, + required: &config.TagConfig{ + DefinedTags: map[string]map[string]interface{}{ + "openshift-tags": {openshiftTagKey: openshiftTagValue}, + }, + }, + want: false, + }, + { + name: "no required defined tags", + instance: &core.Instance{ + DefinedTags: map[string]map[string]interface{}{ + "foo": {"bar": "baz"}, + }, + }, + required: &config.TagConfig{DefinedTags: map[string]map[string]interface{}{}}, + want: true, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + var requiredDefinedTags map[string]map[string]interface{} + if tt.required != nil { + requiredDefinedTags = tt.required.DefinedTags + } + if got := tc.hasRequiredDefinedTags(tt.instance.DefinedTags, requiredDefinedTags); got != tt.want { + t.Fatalf("hasRequiredDefinedTags() = %v, want %v", got, tt.want) + } + }) + } +} + +func TestMapProviderIDToResourceID_Basic(t *testing.T) { + tests := []struct { + name string + providerID string + wantID string + wantError string + }{ + { + name: "valid oci provider prefix", + providerID: providerPrefix + "ocid1.instance.oc1..aaaaaaaaxxx", + wantID: "ocid1.instance.oc1..aaaaaaaaxxx", + wantError: "", + }, + { + name: "empty provider id", + providerID: "", + wantID: "", + wantError: "empty", + }, + { + name: "wrong provider prefix", + providerID: "aws://i-xxxxx", + wantID: "aws://i-xxxxx", + wantError: "not valid for oci", + }, + { + name: "raw ocid without provider prefix", + providerID: "ocid1.instance.oc1..rawid", + wantID: "ocid1.instance.oc1..rawid", + wantError: "", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotID, err := MapProviderIDToResourceID(tt.providerID) + if gotID != tt.wantID { + t.Errorf("got ID %q, want %q", gotID, tt.wantID) + } + if tt.wantError != "" { + if err == nil || !strings.Contains(err.Error(), tt.wantError) { + t.Errorf("expected error containing %q, got %v", tt.wantError, err) + } + } else if err != nil { + t.Errorf("expected no error, got %v", err) + } + }) + } +} + +// --- ReconcileNodeTags tests --- + +// recordingComputeClient wraps MockComputeClient to record UpdateInstance invocations and return a custom instance. +type recordingComputeClient struct { + MockComputeClient + instance *core.Instance + updateCalled bool +} + +func (r *recordingComputeClient) GetInstance(ctx context.Context, id string) (*core.Instance, error) { + return r.instance, nil +} + +func (r *recordingComputeClient) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) { + r.updateCalled = true + return r.instance, nil +} + +// recordingOCIClient implements client.Interface returning the provided compute client and stubs others. +type recordingOCIClient struct{ compute ociClient.ComputeInterface } + +func (m recordingOCIClient) Compute() ociClient.ComputeInterface { return m.compute } +func (m recordingOCIClient) LoadBalancer(*zap.SugaredLogger, string, *ociClient.OCIClientConfig) ociClient.GenericLoadBalancerInterface { + return nil +} +func (m recordingOCIClient) Networking(*ociClient.OCIClientConfig) ociClient.NetworkingInterface { + return nil +} +func (m recordingOCIClient) BlockStorage() ociClient.BlockStorageInterface { return nil } +func (m recordingOCIClient) FSS(*ociClient.OCIClientConfig) ociClient.FileStorageInterface { + return nil +} +func (m recordingOCIClient) Identity(*ociClient.OCIClientConfig) ociClient.IdentityInterface { + return nil +} +func (m recordingOCIClient) ContainerEngine() ociClient.ContainerEngineInterface { return nil } +func (m recordingOCIClient) NewWorkloadIdentityClient(*zap.SugaredLogger, string, *ociClient.OCIClientConfig) ociClient.Interface { + return m +} + +func TestReconcileNodeTags_SkipWhenAtLimit(t *testing.T) { + coreLogger, recorded := observer.New(zap.InfoLevel) + logger := zap.New(coreLogger).Sugar() + + // Create an instance with 64 defined tags and missing the required OpenShift tag + dt := map[string]map[string]interface{}{"ns": {}} + for i := 0; i < 64; i++ { + key := fmt.Sprintf("k%d", i) + dt["ns"][key] = "v" + } + inst := &core.Instance{DefinedTags: dt} + + rcc := &recordingComputeClient{instance: inst} + roc := recordingOCIClient{compute: rcc} + + cp := &CloudProvider{config: &providercfg.Config{Tags: &providercfg.InitialTags{Common: &config.TagConfig{DefinedTags: map[string]map[string]interface{}{openshiftTagNamespace: {openshiftTagKey: openshiftTagValue}}}}}, logger: logger} + + tc := &TaggingController{logger: logger, cloud: cp, ociClient: roc} + + node := &v1.Node{ObjectMeta: metav1.ObjectMeta{Name: "n1"}, Spec: v1.NodeSpec{ProviderID: providerPrefix + "ocid1.limit"}} + + tc.ReconcileNodeTags(context.Background(), node) + + if rcc.updateCalled { + t.Fatalf("expected UpdateInstance to be skipped when instance has 64 defined tags, but it was called") + } + + // Optional: ensure a warning was logged about skipping due to limit + foundWarn := false + for _, e := range recorded.All() { + if strings.Contains(e.Message, "Skipping update") { + foundWarn = true + break + } + } + if !foundWarn { + t.Fatalf("expected a warning log about skipping update due to tag limit") + } +} diff --git a/pkg/csi/driver/bv_controller_test.go b/pkg/csi/driver/bv_controller_test.go index 3ba6eefc28..8657121410 100644 --- a/pkg/csi/driver/bv_controller_test.go +++ b/pkg/csi/driver/bv_controller_test.go @@ -630,6 +630,10 @@ type MockComputeClient struct { compute util.MockOCIComputeClient } +func (c *MockComputeClient) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) { + return nil, nil +} + func (c *MockComputeClient) ListInstancesByCompartmentAndAD(ctx context.Context, compartmentId, availabilityDomain string) (response []core.Instance, err error) { return nil, nil } @@ -827,6 +831,11 @@ type MockIdentityClient struct { common.BaseClient } +func (mockClient MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { + //TODO implement me + panic("implement me") +} + // ListAvailabilityDomains mocks the client ListAvailabilityDomains implementation func (mockClient MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { var ad1 string @@ -1361,7 +1370,7 @@ func TestControllerDriver_ControllerPublishVolume(t *testing.T) { }, }, want: nil, - wantErr: errors.New("Failed to attach volume to the node: timed out waiting for the condition"), + wantErr: errors.New("Failed to attach volume volume-attachment-stuck-in-attaching-state to the instance sample-provider-id. error: timed out waiting for the condition"), }, { name: "WaitForShareableVolumeAttached times out", @@ -1376,7 +1385,7 @@ func TestControllerDriver_ControllerPublishVolume(t *testing.T) { }, }, want: nil, - wantErr: errors.New("Failed to attach volume to the node: timed out waiting for the condition"), + wantErr: errors.New("Failed to attach volume volume-attachment-stuck-in-attaching-state to the instance sample-provider-id. error: timed out waiting for the condition"), }, { name: "isShareable, but not all attachments are shareable", @@ -1390,9 +1399,8 @@ func TestControllerDriver_ControllerPublishVolume(t *testing.T) { }, }, }, - want: nil, - wantErr: errors.New("Failed to attach volume to node. " + - "The volume already has a non-shareable attachment."), + want: nil, + wantErr: errors.New("Failed to attach volume shareable-volume-with-nonshareable-attachments to node sample-provider-id. The volume already has a non-shareable attachment shareable-volume-with-nonshareable-attachments to instance sample-provider-id-2."), }, } for _, tt := range tests { @@ -1444,7 +1452,7 @@ func TestControllerDriver_ControllerUnpublishVolume(t *testing.T) { }, }, want: nil, - wantErr: errors.New("timed out waiting for volume to be detached"), + wantErr: errors.New("timed out waiting for volume volume-attachment-stuck-in-detaching-state to get detached from instance sample-provider-id. error timed out waiting for the condition"), }, { name: "FindVolumeAttachment times out", diff --git a/pkg/oci/client/client.go b/pkg/oci/client/client.go index 12e7a6da69..cb44b1ec67 100644 --- a/pkg/oci/client/client.go +++ b/pkg/oci/client/client.go @@ -75,6 +75,7 @@ type computeClient interface { AttachVolume(ctx context.Context, request core.AttachVolumeRequest) (response core.AttachVolumeResponse, err error) DetachVolume(ctx context.Context, request core.DetachVolumeRequest) (response core.DetachVolumeResponse, err error) ListInstanceDevices(ctx context.Context, request core.ListInstanceDevicesRequest) (response core.ListInstanceDevicesResponse, err error) + UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (response core.UpdateInstanceResponse, err error) } type virtualNetworkClient interface { diff --git a/pkg/oci/client/client_test.go b/pkg/oci/client/client_test.go index 7960981ec7..47fe1295e0 100644 --- a/pkg/oci/client/client_test.go +++ b/pkg/oci/client/client_test.go @@ -166,6 +166,10 @@ func (c *mockComputeClient) AttachVnic(ctx context.Context, request core.AttachV return core.AttachVnicResponse{}, nil } +func (c *mockComputeClient) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (response core.UpdateInstanceResponse, err error) { + return response, nil +} + func (c *mockComputeClient) GetVolumeAttachment(ctx context.Context, request core.GetVolumeAttachmentRequest) (response core.GetVolumeAttachmentResponse, err error) { return core.GetVolumeAttachmentResponse{}, nil } @@ -194,8 +198,8 @@ func (c *mockComputeClient) ListInstanceDevices(ctx context.Context, request cor } else if *request.InstanceId == "ocid1.one-device-path-available" { return core.ListInstanceDevicesResponse{ Items: []core.Device{{ - Name: &devicePath, - }, + Name: &devicePath, + }, }, }, nil } diff --git a/pkg/oci/client/compute.go b/pkg/oci/client/compute.go index 99e3993892..33034c7c5c 100644 --- a/pkg/oci/client/compute.go +++ b/pkg/oci/client/compute.go @@ -36,6 +36,8 @@ type ComputeInterface interface { GetSecondaryVNICsForInstance(ctx context.Context, compartmentID, instanceID string) ([]*core.Vnic, error) + UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) + VolumeAttachmentInterface } @@ -230,6 +232,23 @@ func (c *client) GetSecondaryVNICsForInstance(ctx context.Context, compartmentID return secondaryVnics, nil } +func (c *client) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) { + var instanceId string + if request.InstanceId != nil { + instanceId = *request.InstanceId + } + + c.logger.With( + "instanceOcid", instanceId, + ).Info("UpdateInstance API call") + + resp, err := c.compute.UpdateInstance(ctx, request) + if err != nil { + return nil, errors.WithStack(err) + } + return &resp.Instance, nil +} + func (c *client) GetInstanceByNodeName(ctx context.Context, compartmentID, vcnID, nodeName string) (*core.Instance, error) { // First try lookup by display name. instance, err := c.getInstanceByDisplayName(ctx, compartmentID, nodeName) diff --git a/pkg/volume/provisioner/block/block_test.go b/pkg/volume/provisioner/block/block_test.go index be0cf6791b..596c608151 100644 --- a/pkg/volume/provisioner/block/block_test.go +++ b/pkg/volume/provisioner/block/block_test.go @@ -268,6 +268,10 @@ func (c *MockComputeClient) AttachVnic(ctx context.Context, instanceID, subnetID return core.VnicAttachment{}, nil } +func (c *MockComputeClient) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) { + return nil, nil +} + func (c *MockComputeClient) FindVolumeAttachment(ctx context.Context, compartmentID, volumeID string, instanceID *string) (core.VolumeAttachment, error) { return nil, nil } diff --git a/pkg/volume/provisioner/fss/fss_test.go b/pkg/volume/provisioner/fss/fss_test.go index 197284d1a1..bc376cb21f 100644 --- a/pkg/volume/provisioner/fss/fss_test.go +++ b/pkg/volume/provisioner/fss/fss_test.go @@ -239,6 +239,10 @@ func (c *MockComputeClient) GetInstance(ctx context.Context, id string) (*core.I return nil, nil } +func (c *MockComputeClient) UpdateInstance(ctx context.Context, request core.UpdateInstanceRequest) (*core.Instance, error) { + return nil, nil +} + // GetInstanceByNodeName gets the OCI instance corresponding to the given // Kubernetes node name. func (c *MockComputeClient) GetInstanceByNodeName(ctx context.Context, compartmentID, vcnID, nodeName string) (*core.Instance, error) { diff --git a/test/e2e/cloud-provider-oci/tagging_controller.go b/test/e2e/cloud-provider-oci/tagging_controller.go new file mode 100644 index 0000000000..b86450dfa1 --- /dev/null +++ b/test/e2e/cloud-provider-oci/tagging_controller.go @@ -0,0 +1,140 @@ +package e2e + +import ( + "context" + "fmt" + "os" + "strings" + + . "github.com/onsi/ginkgo" + . "github.com/onsi/gomega" + "github.com/oracle/oci-cloud-controller-manager/pkg/cloudprovider/providers/oci" + sharedfw "github.com/oracle/oci-cloud-controller-manager/test/e2e/framework" + v1 "k8s.io/api/core/v1" +) + +func validateDefinedTags(instanceTags map[string]map[string]interface{}, expected map[string]map[string]interface{}) error { + for ns, expectedTags := range expected { + actualTags, ok := instanceTags[ns] + if !ok { + return fmt.Errorf("missing defined tag namespace %s", ns) + } + for key, value := range expectedTags { + actualValue, ok := actualTags[key] + if !ok { + return fmt.Errorf("missing defined tag %s/%s", ns, key) + } + if actualValue != value { + return fmt.Errorf("defined tag %s/%s mismatch: expected %v got %v", ns, key, value, actualValue) + } + } + } + return nil +} + +const ( + e2eOpenShiftTagNamespace = "openshift-tags" + e2eOpenShiftTagKey = "openshift-resource" + e2eOpenShiftTagValue = "openshift-resource-infra" + openshiftNodeLabelEnv = "OPENSHIFT_NODE_LABEL_ID" + e2eOCIProviderPrefix = "oci://" +) + +// isOSOCluster returns true when OPENSHIFT_NODE_LABEL_ID matches at least one node label in the cluster. +func isOSOCluster(nodes []v1.Node) bool { + labelIdentifier := strings.TrimSpace(os.Getenv(openshiftNodeLabelEnv)) + if labelIdentifier == "" { + return false + } + + var ( + labelKey string + labelValue string + ) + if strings.Contains(labelIdentifier, "=") { + parts := strings.SplitN(labelIdentifier, "=", 2) + labelKey = strings.TrimSpace(parts[0]) + labelValue = strings.TrimSpace(parts[1]) + } else { + labelKey = labelIdentifier + } + + if labelKey == "" { + return false + } + + for _, node := range nodes { + value, exists := node.Labels[labelKey] + if !exists { + continue + } + if labelValue == "" || value == labelValue { + return true + } + } + + return false +} + +var _ = Describe("Tagging Controller", func() { + f := sharedfw.NewDefaultFramework("tagging-controller") + + var ( + nodes []v1.Node + ) + + BeforeEach(func() { + nodeList := sharedfw.GetReadySchedulableNodesOrDie(f.ClientSet) + Expect(len(nodeList.Items)).NotTo(BeZero()) + nodes = nodeList.Items + }) + + Context("[cloudprovider][tagging-controller]", func() { + It("ensures common defined tags are present on instances", func() { + + if !isOSOCluster(nodes) { + Skip(fmt.Sprintf("%s not detected on any node", openshiftNodeLabelEnv)) + } + + if f.CloudProviderConfig == nil || f.CloudProviderConfig.Tags == nil || f.CloudProviderConfig.Tags.Common == nil || len(f.CloudProviderConfig.Tags.Common.DefinedTags) == 0 { + Skip("no common defined tags configured") + } + + computeClient := f.Client.Compute() + ctx := context.Background() + for _, node := range nodes { + Expect(node.Spec.ProviderID).To(HavePrefix(e2eOCIProviderPrefix), fmt.Sprintf("node %s providerID must have %s prefix in OSO clusters", node.Name, e2eOCIProviderPrefix)) + instanceID, err := oci.MapProviderIDToResourceID(node.Spec.ProviderID) + Expect(err).NotTo(HaveOccurred()) + + instance, err := computeClient.GetInstance(ctx, instanceID) + Expect(err).NotTo(HaveOccurred()) + + Expect(validateDefinedTags(instance.DefinedTags, f.CloudProviderConfig.Tags.Common.DefinedTags)).NotTo(HaveOccurred(), + "defined tags missing for instance %s", instanceID) + } + }) + + It("ensures OpenShift defined tag is applied", func() { + if !isOSOCluster(nodes) { + Skip(fmt.Sprintf("%s not detected on any node", openshiftNodeLabelEnv)) + } + + computeClient := f.Client.Compute() + ctx := context.Background() + for _, node := range nodes { + Expect(node.Spec.ProviderID).To(HavePrefix(e2eOCIProviderPrefix), fmt.Sprintf("node %s providerID must have %s prefix in OSO clusters", node.Name, e2eOCIProviderPrefix)) + instanceID, err := oci.MapProviderIDToResourceID(node.Spec.ProviderID) + Expect(err).NotTo(HaveOccurred()) + + instance, err := computeClient.GetInstance(ctx, instanceID) + Expect(err).NotTo(HaveOccurred()) + + ns := e2eOpenShiftTagNamespace + Expect(instance.DefinedTags).To(HaveKey(ns), "instance %s missing OpenShift namespace %s", instanceID, ns) + Expect(instance.DefinedTags[ns]).To(HaveKeyWithValue(e2eOpenShiftTagKey, e2eOpenShiftTagValue), + "instance %s missing OpenShift defined tag", instanceID) + } + }) + }) +}) diff --git a/vendor/go.uber.org/zap/zaptest/observer/logged_entry.go b/vendor/go.uber.org/zap/zaptest/observer/logged_entry.go new file mode 100644 index 0000000000..a4ea7ec36c --- /dev/null +++ b/vendor/go.uber.org/zap/zaptest/observer/logged_entry.go @@ -0,0 +1,39 @@ +// Copyright (c) 2017 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// 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. + +package observer + +import "go.uber.org/zap/zapcore" + +// An LoggedEntry is an encoding-agnostic representation of a log message. +// Field availability is context dependant. +type LoggedEntry struct { + zapcore.Entry + Context []zapcore.Field +} + +// ContextMap returns a map for all fields in Context. +func (e LoggedEntry) ContextMap() map[string]interface{} { + encoder := zapcore.NewMapObjectEncoder() + for _, f := range e.Context { + f.AddTo(encoder) + } + return encoder.Fields +} diff --git a/vendor/go.uber.org/zap/zaptest/observer/observer.go b/vendor/go.uber.org/zap/zaptest/observer/observer.go new file mode 100644 index 0000000000..f77f1308ba --- /dev/null +++ b/vendor/go.uber.org/zap/zaptest/observer/observer.go @@ -0,0 +1,196 @@ +// Copyright (c) 2016-2022 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// 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. + +// Package observer provides a zapcore.Core that keeps an in-memory, +// encoding-agnostic representation of log entries. It's useful for +// applications that want to unit test their log output without tying their +// tests to a particular output encoding. +package observer // import "go.uber.org/zap/zaptest/observer" + +import ( + "strings" + "sync" + "time" + + "go.uber.org/zap/internal" + "go.uber.org/zap/zapcore" +) + +// ObservedLogs is a concurrency-safe, ordered collection of observed logs. +type ObservedLogs struct { + mu sync.RWMutex + logs []LoggedEntry +} + +// Len returns the number of items in the collection. +func (o *ObservedLogs) Len() int { + o.mu.RLock() + n := len(o.logs) + o.mu.RUnlock() + return n +} + +// All returns a copy of all the observed logs. +func (o *ObservedLogs) All() []LoggedEntry { + o.mu.RLock() + ret := make([]LoggedEntry, len(o.logs)) + copy(ret, o.logs) + o.mu.RUnlock() + return ret +} + +// TakeAll returns a copy of all the observed logs, and truncates the observed +// slice. +func (o *ObservedLogs) TakeAll() []LoggedEntry { + o.mu.Lock() + ret := o.logs + o.logs = nil + o.mu.Unlock() + return ret +} + +// AllUntimed returns a copy of all the observed logs, but overwrites the +// observed timestamps with time.Time's zero value. This is useful when making +// assertions in tests. +func (o *ObservedLogs) AllUntimed() []LoggedEntry { + ret := o.All() + for i := range ret { + ret[i].Time = time.Time{} + } + return ret +} + +// FilterLevelExact filters entries to those logged at exactly the given level. +func (o *ObservedLogs) FilterLevelExact(level zapcore.Level) *ObservedLogs { + return o.Filter(func(e LoggedEntry) bool { + return e.Level == level + }) +} + +// FilterMessage filters entries to those that have the specified message. +func (o *ObservedLogs) FilterMessage(msg string) *ObservedLogs { + return o.Filter(func(e LoggedEntry) bool { + return e.Message == msg + }) +} + +// FilterMessageSnippet filters entries to those that have a message containing the specified snippet. +func (o *ObservedLogs) FilterMessageSnippet(snippet string) *ObservedLogs { + return o.Filter(func(e LoggedEntry) bool { + return strings.Contains(e.Message, snippet) + }) +} + +// FilterField filters entries to those that have the specified field. +func (o *ObservedLogs) FilterField(field zapcore.Field) *ObservedLogs { + return o.Filter(func(e LoggedEntry) bool { + for _, ctxField := range e.Context { + if ctxField.Equals(field) { + return true + } + } + return false + }) +} + +// FilterFieldKey filters entries to those that have the specified key. +func (o *ObservedLogs) FilterFieldKey(key string) *ObservedLogs { + return o.Filter(func(e LoggedEntry) bool { + for _, ctxField := range e.Context { + if ctxField.Key == key { + return true + } + } + return false + }) +} + +// Filter returns a copy of this ObservedLogs containing only those entries +// for which the provided function returns true. +func (o *ObservedLogs) Filter(keep func(LoggedEntry) bool) *ObservedLogs { + o.mu.RLock() + defer o.mu.RUnlock() + + var filtered []LoggedEntry + for _, entry := range o.logs { + if keep(entry) { + filtered = append(filtered, entry) + } + } + return &ObservedLogs{logs: filtered} +} + +func (o *ObservedLogs) add(log LoggedEntry) { + o.mu.Lock() + o.logs = append(o.logs, log) + o.mu.Unlock() +} + +// New creates a new Core that buffers logs in memory (without any encoding). +// It's particularly useful in tests. +func New(enab zapcore.LevelEnabler) (zapcore.Core, *ObservedLogs) { + ol := &ObservedLogs{} + return &contextObserver{ + LevelEnabler: enab, + logs: ol, + }, ol +} + +type contextObserver struct { + zapcore.LevelEnabler + logs *ObservedLogs + context []zapcore.Field +} + +var ( + _ zapcore.Core = (*contextObserver)(nil) + _ internal.LeveledEnabler = (*contextObserver)(nil) +) + +func (co *contextObserver) Level() zapcore.Level { + return zapcore.LevelOf(co.LevelEnabler) +} + +func (co *contextObserver) Check(ent zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry { + if co.Enabled(ent.Level) { + return ce.AddCore(ent, co) + } + return ce +} + +func (co *contextObserver) With(fields []zapcore.Field) zapcore.Core { + return &contextObserver{ + LevelEnabler: co.LevelEnabler, + logs: co.logs, + context: append(co.context[:len(co.context):len(co.context)], fields...), + } +} + +func (co *contextObserver) Write(ent zapcore.Entry, fields []zapcore.Field) error { + all := make([]zapcore.Field, 0, len(fields)+len(co.context)) + all = append(all, co.context...) + all = append(all, fields...) + co.logs.add(LoggedEntry{ent, all}) + return nil +} + +func (co *contextObserver) Sync() error { + return nil +} From ffad845c72d284dc6957fa87a3442d461c175c88 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Mon, 2 Mar 2026 21:28:52 +0530 Subject: [PATCH 13/27] Adding unit test fixes --- .github/workflows/makefile.yml | 34 ++++++++++++------- .../providers/oci/instances_test.go | 5 +++ .../providers/oci/tagging_controller_test.go | 12 +++++-- pkg/csi/driver/lustre_controller_test.go | 19 ++++++----- pkg/csi/driver/lustre_params_test.go | 6 ++-- pkg/volume/provisioner/block/block_test.go | 5 +++ pkg/volume/provisioner/fss/fss_test.go | 5 +++ 7 files changed, 60 insertions(+), 26 deletions(-) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 2456ce7cd0..9b0c5164a9 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -3,30 +3,40 @@ name: Unit Tests on: pull_request: {} push: {} +# Prevent multiple runs from the same PR/branch from overlapping +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: name: Build runs-on: ubuntu-latest + # Added a job-level timeout as a safety net + timeout-minutes: 15 steps: + - name: Check out code + uses: actions/checkout@v4 # Upgraded - - name: Set up Go 1.x - uses: actions/setup-go@v2 + - name: Set up Go + uses: actions/setup-go@v5 # Upgraded with: - go-version: '1.22.9' - id: go + go-version: '1.24.0' + cache: true # Built-in caching for faster runs - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - name: Install dependencies - run: | - go mod download + run: go mod download + - name: Run Unit Tests + env: + GOMEMLIMIT: 6GiB + # Added -v to see which specific test hangs if it fails again run: | - go test -covermode=count -coverprofile=profile.cov ./pkg/... - - name: Install goveralls - run: go install github.com/mattn/goveralls@latest + go test -v -p 1 -covermode=count -coverprofile=profile.cov ./pkg/... + - name: Send coverage env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - goveralls -coverprofile=profile.cov -service=github + go install github.com/mattn/goveralls@latest + $(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github \ No newline at end of file diff --git a/pkg/cloudprovider/providers/oci/instances_test.go b/pkg/cloudprovider/providers/oci/instances_test.go index 6caa26412e..58f3015404 100644 --- a/pkg/cloudprovider/providers/oci/instances_test.go +++ b/pkg/cloudprovider/providers/oci/instances_test.go @@ -1414,6 +1414,11 @@ func (MockFileStorageClient) DeleteMountTarget(ctx context.Context, id string) e // MockIdentityClient mocks Identity client implementaion type MockIdentityClient struct{} +func (c MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { + //TODO implement me + panic("implement me") +} + func (MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { return nil, nil } diff --git a/pkg/cloudprovider/providers/oci/tagging_controller_test.go b/pkg/cloudprovider/providers/oci/tagging_controller_test.go index 3fff1fe3cc..7d19b3d0ae 100644 --- a/pkg/cloudprovider/providers/oci/tagging_controller_test.go +++ b/pkg/cloudprovider/providers/oci/tagging_controller_test.go @@ -12,6 +12,7 @@ import ( "github.com/oracle/oci-go-sdk/v65/core" "go.uber.org/zap" "go.uber.org/zap/zaptest/observer" + authv1 "k8s.io/api/authentication/v1" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -173,10 +174,16 @@ func (r *recordingComputeClient) UpdateInstance(ctx context.Context, request cor // recordingOCIClient implements client.Interface returning the provided compute client and stubs others. type recordingOCIClient struct{ compute ociClient.ComputeInterface } -func (m recordingOCIClient) Compute() ociClient.ComputeInterface { return m.compute } -func (m recordingOCIClient) LoadBalancer(*zap.SugaredLogger, string, *ociClient.OCIClientConfig) ociClient.GenericLoadBalancerInterface { +func (m recordingOCIClient) LoadBalancer(logger *zap.SugaredLogger, s string, s2 string, request *authv1.TokenRequest) ociClient.GenericLoadBalancerInterface { + return nil +} + +func (m recordingOCIClient) Lustre() ociClient.LustreInterface { return nil } + +func (m recordingOCIClient) Compute() ociClient.ComputeInterface { return m.compute } + func (m recordingOCIClient) Networking(*ociClient.OCIClientConfig) ociClient.NetworkingInterface { return nil } @@ -187,7 +194,6 @@ func (m recordingOCIClient) FSS(*ociClient.OCIClientConfig) ociClient.FileStorag func (m recordingOCIClient) Identity(*ociClient.OCIClientConfig) ociClient.IdentityInterface { return nil } -func (m recordingOCIClient) ContainerEngine() ociClient.ContainerEngineInterface { return nil } func (m recordingOCIClient) NewWorkloadIdentityClient(*zap.SugaredLogger, string, *ociClient.OCIClientConfig) ociClient.Interface { return m } diff --git a/pkg/csi/driver/lustre_controller_test.go b/pkg/csi/driver/lustre_controller_test.go index 5d919c6a6b..2cf4797fe6 100644 --- a/pkg/csi/driver/lustre_controller_test.go +++ b/pkg/csi/driver/lustre_controller_test.go @@ -14,6 +14,7 @@ import ( "go.uber.org/zap" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" + authv1 "k8s.io/api/authentication/v1" "k8s.io/utils/pointer" ) @@ -102,6 +103,11 @@ type MockOCIIdentityClient struct { listErr error } +func (i *MockOCIIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]ociidentity.AvailabilityDomain, error) { + //TODO implement me + panic("implement me") +} + func (i *MockOCIIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*ociidentity.AvailabilityDomain, error) { // interface{} to avoid ctx import if i.getErr != nil { return nil, i.getErr @@ -898,7 +904,7 @@ func TestHelper_buildLustreVolumeHandle(t *testing.T) { func newControllerWith(flustre client.LustreInterface, fid client.IdentityInterface) *LustreControllerDriver { logger, _ := zap.NewDevelopment() - cd := &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit", Tags: &providercfg.InitialTags{ + cd := ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit", Tags: &providercfg.InitialTags{ LoadBalancer: nil, BlockVolume: &providercfg.TagConfig{ FreeformTags: map[string]string{"Project": "Lustre"}, @@ -914,20 +920,17 @@ type testOCIClient struct { id client.IdentityInterface } -func (t *testOCIClient) Compute() client.ComputeInterface { return nil } -func (t *testOCIClient) LoadBalancer(*zap.SugaredLogger, string, *client.OCIClientConfig) client.GenericLoadBalancerInterface { +func (t *testOCIClient) LoadBalancer(logger *zap.SugaredLogger, s string, s2 string, request *authv1.TokenRequest) client.GenericLoadBalancerInterface { return nil } + +func (t *testOCIClient) Compute() client.ComputeInterface { return nil } + func (t *testOCIClient) Networking(*client.OCIClientConfig) client.NetworkingInterface { return nil } func (t *testOCIClient) BlockStorage() client.BlockStorageInterface { return nil } func (t *testOCIClient) FSS(*client.OCIClientConfig) client.FileStorageInterface { return nil } func (t *testOCIClient) Lustre() client.LustreInterface { return t.lustre } func (t *testOCIClient) Identity(*client.OCIClientConfig) client.IdentityInterface { return t.id } -func (t *testOCIClient) ContainerEngine() client.ContainerEngineInterface { return nil } -func (t *testOCIClient) NewWorkloadIdentityClient(*zap.SugaredLogger, string, *client.OCIClientConfig) client.Interface { - return t -} -func (t *testOCIClient) CertManager() client.CertificateManagerInterface { return nil } // Keep for compatibility if other tests add additional helpers here. diff --git a/pkg/csi/driver/lustre_params_test.go b/pkg/csi/driver/lustre_params_test.go index 74f6d55201..6c2128db28 100644 --- a/pkg/csi/driver/lustre_params_test.go +++ b/pkg/csi/driver/lustre_params_test.go @@ -15,7 +15,7 @@ import ( // helper to call extractLustreStorageClassParameters func parseParams(t *testing.T, p map[string]string, identity client.IdentityInterface) (*LustreStorageClassParameters, error) { - d := &LustreControllerDriver{ControllerDriver: &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} + d := &LustreControllerDriver{ControllerDriver: ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} _, _, parsed, err := extractLustreStorageClassParameters(context.Background(), d, zap.S(), "vol-1", p, identity) if err != nil { return nil, err @@ -164,7 +164,7 @@ func TestLustreParams_AvailabilityDomain_ExplicitValidNormalization(t *testing.T "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2", } - d := &LustreControllerDriver{ControllerDriver: &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} + d := &LustreControllerDriver{ControllerDriver: ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} _, _, parsed, err := extractLustreStorageClassParameters(context.Background(), d, zap.S(), "vol-xyz", p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) if err != nil { t.Fatalf("unexpected error: %v", err) @@ -232,7 +232,7 @@ func TestLustreParams_DeriveDefaultFSName(t *testing.T) { "performanceTier": "MBPS_PER_TB_125", "availabilityDomain": "PHX-AD-2", } - d := &LustreControllerDriver{ControllerDriver: &ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} + d := &LustreControllerDriver{ControllerDriver: ControllerDriver{config: &providercfg.Config{CompartmentID: "ocid1.compartment.oc1..unit-test"}}} _, _, parsed, err := extractLustreStorageClassParameters(context.Background(), d, zap.S(), "vol-abc_DEF123", p, &MockOCIIdentityClient{ads: []string{"phx:PHX-AD-2"}}) if err != nil { t.Fatalf("unexpected error: %v", err) diff --git a/pkg/volume/provisioner/block/block_test.go b/pkg/volume/provisioner/block/block_test.go index 596c608151..1c9882350b 100644 --- a/pkg/volume/provisioner/block/block_test.go +++ b/pkg/volume/provisioner/block/block_test.go @@ -380,6 +380,11 @@ type MockIdentityClient struct { common.BaseClient } +func (client MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { + //TODO implement me + panic("implement me") +} + // ListAvailabilityDomains mocks the client ListAvailabilityDomains implementation func (client MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { return nil, nil diff --git a/pkg/volume/provisioner/fss/fss_test.go b/pkg/volume/provisioner/fss/fss_test.go index bc376cb21f..c3b464fbc6 100644 --- a/pkg/volume/provisioner/fss/fss_test.go +++ b/pkg/volume/provisioner/fss/fss_test.go @@ -386,6 +386,11 @@ type MockIdentityClient struct { common.BaseClient } +func (client MockIdentityClient) ListAvailabilityDomains(ctx context.Context, compartmentID string) ([]identity.AvailabilityDomain, error) { + //TODO implement me + panic("implement me") +} + // ListAvailabilityDomains mocks the client ListAvailabilityDomains implementation func (client MockIdentityClient) GetAvailabilityDomainByName(ctx context.Context, compartmentID, name string) (*identity.AvailabilityDomain, error) { return nil, nil From 0512c8ac91974b1ae0aceaef2b81b077d1b95f4e Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Wed, 4 Mar 2026 13:41:41 +0530 Subject: [PATCH 14/27] bumping golang version to 1.24.13 --- .github/workflows/makefile.yml | 2 +- Dockerfile | 2 +- Dockerfile_arm_all | 2 +- go.mod | 22 +- .../available_compute_capacity.go | 39 -- .../cancel_work_request_request_response.go | 4 + .../lustrefilestorage/capacity_reservation.go | 42 -- .../capacity_reservation_info.go | 74 --- .../capacity_reservation_info_collection.go | 39 -- .../capacity_reservation_info_summary.go | 74 --- .../capacity_reservations_collection.go | 39 -- ...ile_system_compartment_request_response.go | 4 + ...orage_link_compartment_request_response.go | 4 + .../v65/lustrefilestorage/cpg_override.go | 58 --- .../cpg_override_collection.go | 39 -- .../lustrefilestorage/cpg_override_summary.go | 58 --- ...reate_capacity_reservation_info_details.go | 60 --- ...acity_reservation_info_request_response.go | 99 ---- .../create_cpg_override_details.go | 48 -- .../create_cpg_override_request_response.go | 99 ---- .../create_lfs_cpg_info_details.go | 47 -- .../create_lfs_cpg_info_request_response.go | 99 ---- ...ate_lustre_file_system_request_response.go | 4 + .../create_management_cell_details.go | 168 ------- ...create_management_cell_request_response.go | 99 ---- .../create_map_tenancy_configuration.go | 39 -- ...te_object_storage_link_request_response.go | 4 + .../lustrefilestorage/create_pool_details.go | 102 ----- .../create_pool_request_response.go | 99 ---- .../create_tenancy_override_details.go | 42 -- ...reate_tenancy_override_request_response.go | 99 ---- .../current_compute_capacity.go | 39 -- ...y_overrides_for_tenant_request_response.go | 92 ---- ...acity_reservation_info_request_response.go | 92 ---- .../delete_cpg_override_request_response.go | 92 ---- .../delete_lfs_cpg_info_request_response.go | 92 ---- ...ete_lustre_file_system_request_response.go | 4 + ...delete_management_cell_request_response.go | 96 ---- ...te_object_storage_link_request_response.go | 4 + .../delete_pool_request_response.go | 92 ---- ..._tenancy_configuration_request_response.go | 96 ---- ...elete_tenancy_override_request_response.go | 95 ---- .../desired_compute_count.go | 39 -- .../v65/lustrefilestorage/details.go | 45 -- .../lustrefilestorage/fault_domain_usage.go | 41 -- ...acity_reservation_info_request_response.go | 92 ---- .../get_cpg_override_request_response.go | 92 ---- .../get_lfs_cpg_info_request_response.go | 92 ---- ...get_lustre_file_system_request_response.go | 4 + .../get_management_cell_request_response.go | 92 ---- ...et_object_storage_link_request_response.go | 4 + .../get_pool_request_response.go | 92 ---- .../get_sync_job_request_response.go | 4 + .../get_tenancy_override_request_response.go | 92 ---- .../get_work_request_request_response.go | 4 + .../lustrefilestorage/inject_fault_details.go | 53 --- .../inject_fault_output_details.go | 39 -- .../inject_fault_request_response.go | 101 ----- .../v65/lustrefilestorage/lfs_cpg_info.go | 60 --- .../lfs_cpg_info_collection.go | 39 -- .../lustrefilestorage/lfs_cpg_info_summary.go | 60 --- ...city_reservation_infos_request_response.go | 157 ------- .../list_cpg_overrides_request_response.go | 154 ------- .../list_lfs_cpg_infos_request_response.go | 155 ------- ...st_lustre_file_systems_request_response.go | 4 + .../list_management_cells_request_response.go | 158 ------- ...t_object_storage_links_request_response.go | 4 + .../list_pools_request_response.go | 148 ------ .../list_profiles_request_response.go | 151 ------- .../list_sync_jobs_request_response.go | 4 + ...tenancy_configurations_request_response.go | 151 ------- ...list_tenancy_overrides_request_response.go | 148 ------ ...st_work_request_errors_request_response.go | 4 + ...list_work_request_logs_request_response.go | 4 + .../list_work_requests_request_response.go | 4 + ...estorage_capacityreservationinfo_client.go | 367 --------------- .../lustrefilestorage_client.go | 212 ++++----- .../lustrefilestorage_configmgmt_client.go | 313 ------------- .../lustrefilestorage_cpgoverride_client.go | 367 --------------- .../lustrefilestorage_internal_client.go | 146 ------ .../lustrefilestorage_lfscpginfo_client.go | 367 --------------- .../lustrefilestorage_lfspool_client.go | 367 --------------- .../lustrefilestorage_mgmtcell_client.go | 367 --------------- ...ustrefilestorage_tenancyoverride_client.go | 421 ------------------ .../v65/lustrefilestorage/management_cell.go | 189 -------- .../management_cell_collection.go | 39 -- .../management_cell_summary.go | 89 ---- .../map_tenancy_configuration.go | 44 -- .../map_tenancy_configuration_collection.go | 39 -- .../map_tenancy_configuration_details.go | 39 -- ..._tenancy_configuration_request_response.go | 105 ----- .../pause_sync_job_details.go | 39 -- .../pause_sync_job_request_response.go | 102 ----- .../oci-go-sdk/v65/lustrefilestorage/pool.go | 108 ----- .../v65/lustrefilestorage/pool_collection.go | 39 -- .../v65/lustrefilestorage/pool_summary.go | 108 ----- .../lustrefilestorage/profile_collection.go | 39 -- .../v65/lustrefilestorage/profile_summary.go | 42 -- .../reserved_and_used_count.go | 42 -- ...start_export_to_object_request_response.go | 4 + ...art_import_from_object_request_response.go | 4 + .../stop_export_to_object_request_response.go | 4 + ...top_import_from_object_request_response.go | 4 + .../tenancy_configuration_summary.go | 44 -- .../v65/lustrefilestorage/tenancy_override.go | 42 -- .../tenancy_override_collection.go | 39 -- .../tenancy_override_summary.go | 42 -- .../unpause_sync_job_details.go | 39 -- .../unpause_sync_job_request_response.go | 102 ----- ...pdate_capacity_reservation_info_details.go | 57 --- ...acity_reservation_info_request_response.go | 98 ---- .../update_cpg_override_details.go | 45 -- .../update_cpg_override_request_response.go | 98 ---- .../update_lfs_cpg_info_details.go | 44 -- .../update_lfs_cpg_info_request_response.go | 98 ---- ...ate_lustre_file_system_request_response.go | 4 + .../update_management_cell_details.go | 160 ------- ...update_management_cell_request_response.go | 99 ---- ...te_object_storage_link_request_response.go | 4 + .../lustrefilestorage/update_pool_details.go | 102 ----- .../update_pool_request_response.go | 98 ---- .../update_tenancy_override_details.go | 39 -- ...pdate_tenancy_override_request_response.go | 101 ----- 123 files changed, 197 insertions(+), 9859 deletions(-) delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go delete mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index 9b0c5164a9..e345d182a7 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 # Upgraded with: - go-version: '1.24.0' + go-version: '1.24.13' cache: true # Built-in caching for faster runs - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index 6f259d645c..c1d36b44b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ARG CI_IMAGE_REGISTRY -FROM golang:1.23.4 as builder +FROM golang:1.24.13 as builder ARG COMPONENT diff --git a/Dockerfile_arm_all b/Dockerfile_arm_all index 7605d58d2a..955e8e508f 100644 --- a/Dockerfile_arm_all +++ b/Dockerfile_arm_all @@ -1,6 +1,6 @@ ARG CI_IMAGE_REGISTRY -FROM golang:1.23.4 as builder +FROM golang:1.24.13 as builder ARG COMPONENT diff --git a/go.mod b/go.mod index d2e2da9a57..ee2644f554 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/oracle/oci-cloud-controller-manager -go 1.23.1 - -toolchain go1.23.4 +go 1.24.13 replace ( github.com/docker/distribution => github.com/docker/distribution v2.8.3+incompatible @@ -78,8 +76,9 @@ require ( require ( golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 - golang.org/x/sync v0.11.0 - google.golang.org/protobuf v1.36.2 + golang.org/x/sync v0.15.0 + golang.org/x/time v0.9.0 + google.golang.org/protobuf v1.36.5 gopkg.in/yaml.v3 v3.0.1 helm.sh/helm/v3 v3.15.4 k8s.io/apiextensions-apiserver v0.32.1 @@ -222,13 +221,12 @@ require ( go.opentelemetry.io/otel/trace v1.33.0 // indirect go.opentelemetry.io/proto/otlp v1.5.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.35.0 // indirect - golang.org/x/mod v0.22.0 // indirect - golang.org/x/oauth2 v0.25.0 // indirect - golang.org/x/term v0.29.0 // indirect - golang.org/x/text v0.22.0 // indirect - golang.org/x/time v0.9.0 // indirect - golang.org/x/tools v0.29.0 // indirect + golang.org/x/crypto v0.39.0 // indirect + golang.org/x/mod v0.25.0 // indirect + golang.org/x/oauth2 v0.28.0 // indirect + golang.org/x/term v0.32.0 // indirect + golang.org/x/text v0.26.0 // indirect + golang.org/x/tools v0.33.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go deleted file mode 100644 index 3857710e68..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_compute_capacity.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// AvailableComputeCapacity The compute capacity returned from Compute API. -type AvailableComputeCapacity struct { - Cores16 *FaultDomainUsage `mandatory:"false" json:"cores16"` - - Cores94 *FaultDomainUsage `mandatory:"false" json:"cores94"` -} - -func (m AvailableComputeCapacity) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m AvailableComputeCapacity) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go index 7bcd8bc300..e8f11d9f21 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go @@ -12,6 +12,10 @@ import ( ) // CancelWorkRequestRequest wrapper for the CancelWorkRequest operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest. type CancelWorkRequestRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go deleted file mode 100644 index 82578e0226..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CapacityReservation Capacity reservation associated to physical availability domain -type CapacityReservation struct { - - // The capacity reservation OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) assigned to tenancy. - Id *string `mandatory:"false" json:"id"` - - // The physical availability domain where the capacity reservation is created. - PhysicalAvailabilityDomain *string `mandatory:"false" json:"physicalAvailabilityDomain"` -} - -func (m CapacityReservation) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CapacityReservation) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go deleted file mode 100644 index 3a72f9aa6c..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CapacityReservationInfo An object that gives more details about a capacity reservation. -type CapacityReservationInfo struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableBlockCapacityInGBs *int64 `mandatory:"true" json:"availableBlockCapacityInGBs"` - - DesiredComputeCount *DesiredComputeCount `mandatory:"true" json:"desiredComputeCount"` - - AvailableComputeCapacity *AvailableComputeCapacity `mandatory:"true" json:"availableComputeCapacity"` - - CurrentComputeCapacity *CurrentComputeCapacity `mandatory:"true" json:"currentComputeCapacity"` - - // If set to true, update capacity requests would not be sent. - IsUpdateRequestPaused *bool `mandatory:"true" json:"isUpdateRequestPaused"` - - // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity - // A maximum of 10 is allowed. - BlockCpgIds []string `mandatory:"true" json:"blockCpgIds"` - - // The date and time the Capacity Reservation Info was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the Capacity Reservation Info was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` -} - -func (m CapacityReservationInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CapacityReservationInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go deleted file mode 100644 index f90d933181..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CapacityReservationInfoCollection Results of a Capacity Reservation Info search. Contains CapacityReservationInfo items. -type CapacityReservationInfoCollection struct { - - // List of CapacityReservationInfoSummary. - Items []CapacityReservationInfoSummary `mandatory:"true" json:"items"` -} - -func (m CapacityReservationInfoCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CapacityReservationInfoCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go deleted file mode 100644 index 5e32e34eba..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservation_info_summary.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CapacityReservationInfoSummary An object that gives more details about a capacity reservation. -type CapacityReservationInfoSummary struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableBlockCapacityInGBs *int64 `mandatory:"true" json:"availableBlockCapacityInGBs"` - - DesiredComputeCount *DesiredComputeCount `mandatory:"true" json:"desiredComputeCount"` - - AvailableComputeCapacity *AvailableComputeCapacity `mandatory:"true" json:"availableComputeCapacity"` - - CurrentComputeCapacity *CurrentComputeCapacity `mandatory:"true" json:"currentComputeCapacity"` - - // If set to true, update capacity requests would not be sent. - IsUpdateRequestPaused *bool `mandatory:"true" json:"isUpdateRequestPaused"` - - // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity - // A maximum of 10 is allowed. - BlockCpgIds []string `mandatory:"true" json:"blockCpgIds"` - - // The date and time the Capacity Reservation Info was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the Capacity Reservation Info was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` -} - -func (m CapacityReservationInfoSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CapacityReservationInfoSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go deleted file mode 100644 index cd36efef2f..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/capacity_reservations_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CapacityReservationsCollection List of Capacity reservations as per physical AD. -type CapacityReservationsCollection struct { - - // List of capacity reservations for the given fleet. - Items []CapacityReservation `mandatory:"false" json:"items"` -} - -func (m CapacityReservationsCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CapacityReservationsCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go index 61b36a1fe2..e52138834d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go @@ -12,6 +12,10 @@ import ( ) // ChangeLustreFileSystemCompartmentRequest wrapper for the ChangeLustreFileSystemCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartmentRequest. type ChangeLustreFileSystemCompartmentRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go index 0aacc0e9a6..f0e22e8831 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go @@ -12,6 +12,10 @@ import ( ) // ChangeObjectStorageLinkCompartmentRequest wrapper for the ChangeObjectStorageLinkCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartmentRequest. type ChangeObjectStorageLinkCompartmentRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go deleted file mode 100644 index e9f2640cbc..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override.go +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CpgOverride A mapping between a customer CPG and an LFS service CPG. -type CpgOverride struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` - - // The date and time the override was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the override was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` -} - -func (m CpgOverride) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CpgOverride) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go deleted file mode 100644 index 7001ce9978..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CpgOverrideCollection Results of a CPG Override search. Contains CpgOverride items. -type CpgOverrideCollection struct { - - // List of CPG Override Summary. - Items []CpgOverrideSummary `mandatory:"true" json:"items"` -} - -func (m CpgOverrideCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CpgOverrideCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go deleted file mode 100644 index 3faac87531..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cpg_override_summary.go +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CpgOverrideSummary A mapping between a customer CPG and an LFS service CPG. -type CpgOverrideSummary struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` - - // The date and time the override was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the override was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` -} - -func (m CpgOverrideSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CpgOverrideSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go deleted file mode 100644 index 344713b077..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_details.go +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreateCapacityReservationInfoDetails The data required for creating a Capacity Reservation Info. -type CreateCapacityReservationInfoDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"false" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"false" json:"customerTenancyId"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableBlockCapacityInGBs *int64 `mandatory:"false" json:"availableBlockCapacityInGBs"` - - DesiredComputeCount *DesiredComputeCount `mandatory:"false" json:"desiredComputeCount"` - - // If set to true, update capacity requests would not be sent. - IsUpdateRequestPaused *bool `mandatory:"false" json:"isUpdateRequestPaused"` - - // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity - // A maximum of 10 is allowed. - BlockCpgIds []string `mandatory:"false" json:"blockCpgIds"` -} - -func (m CreateCapacityReservationInfoDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateCapacityReservationInfoDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go deleted file mode 100644 index cc61ee0f12..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_capacity_reservation_info_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// CreateCapacityReservationInfoRequest wrapper for the CreateCapacityReservationInfo operation -type CreateCapacityReservationInfoRequest struct { - - // Details for the new Capacity Reservation Info. - CreateCapacityReservationInfoDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateCapacityReservationInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateCapacityReservationInfoResponse wrapper for the CreateCapacityReservationInfo operation -type CreateCapacityReservationInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CapacityReservationInfo instance - CapacityReservationInfo `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response CreateCapacityReservationInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateCapacityReservationInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go deleted file mode 100644 index a753d72c7e..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_details.go +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreateCpgOverrideDetails The data required for creating a CPG Override. -type CreateCpgOverrideDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"true" json:"customerTenancyId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` -} - -func (m CreateCpgOverrideDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateCpgOverrideDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go deleted file mode 100644 index 1f72b1bc3a..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_cpg_override_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// CreateCpgOverrideRequest wrapper for the CreateCpgOverride operation -type CreateCpgOverrideRequest struct { - - // Details for the new CPG Override. - CreateCpgOverrideDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateCpgOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateCpgOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateCpgOverrideResponse wrapper for the CreateCpgOverride operation -type CreateCpgOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CpgOverride instance - CpgOverride `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response CreateCpgOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateCpgOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go deleted file mode 100644 index 5abf2800fb..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_details.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreateLfsCpgInfoDetails The data required for creating a LFS CPG Info. -type CreateLfsCpgInfoDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. - DefaultCapacityReservationId *string `mandatory:"true" json:"defaultCapacityReservationId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` -} - -func (m CreateLfsCpgInfoDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateLfsCpgInfoDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go deleted file mode 100644 index 0fd9661a2c..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lfs_cpg_info_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// CreateLfsCpgInfoRequest wrapper for the CreateLfsCpgInfo operation -type CreateLfsCpgInfoRequest struct { - - // Details for the new lfsCpgInfo. - CreateLfsCpgInfoDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateLfsCpgInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateLfsCpgInfoResponse wrapper for the CreateLfsCpgInfo operation -type CreateLfsCpgInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LfsCpgInfo instance - LfsCpgInfo `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response CreateLfsCpgInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateLfsCpgInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go index fda3fd960f..b62ba01282 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go @@ -12,6 +12,10 @@ import ( ) // CreateLustreFileSystemRequest wrapper for the CreateLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystemRequest. type CreateLustreFileSystemRequest struct { // Details for the new Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go deleted file mode 100644 index 8cff46e67f..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_details.go +++ /dev/null @@ -1,168 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreateManagementCellDetails The data required for creating a ManagementCell. -type CreateManagementCellDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the ManagementCell. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - - // The current state of the ManagementCell. - LifecycleState CreateManagementCellDetailsLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // ManagementCell can be categorized based on the customer filesystems it is hosting. - // Example: `RESTRICTED` category cell is restricted for use by only one customer - Category CreateManagementCellDetailsCategoryEnum `mandatory:"true" json:"category"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableCapacityInGBs *int64 `mandatory:"true" json:"availableCapacityInGBs"` - - Details *Details `mandatory:"true" json:"details"` - - // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` -} - -func (m CreateManagementCellDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateManagementCellDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingCreateManagementCellDetailsLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCreateManagementCellDetailsLifecycleStateEnumStringValues(), ","))) - } - if _, ok := GetMappingCreateManagementCellDetailsCategoryEnum(string(m.Category)); !ok && m.Category != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetCreateManagementCellDetailsCategoryEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateManagementCellDetailsLifecycleStateEnum Enum with underlying type: string -type CreateManagementCellDetailsLifecycleStateEnum string - -// Set of constants representing the allowable values for CreateManagementCellDetailsLifecycleStateEnum -const ( - CreateManagementCellDetailsLifecycleStateCreating CreateManagementCellDetailsLifecycleStateEnum = "CREATING" - CreateManagementCellDetailsLifecycleStateActive CreateManagementCellDetailsLifecycleStateEnum = "ACTIVE" - CreateManagementCellDetailsLifecycleStateInactive CreateManagementCellDetailsLifecycleStateEnum = "INACTIVE" - CreateManagementCellDetailsLifecycleStateDeleted CreateManagementCellDetailsLifecycleStateEnum = "DELETED" -) - -var mappingCreateManagementCellDetailsLifecycleStateEnum = map[string]CreateManagementCellDetailsLifecycleStateEnum{ - "CREATING": CreateManagementCellDetailsLifecycleStateCreating, - "ACTIVE": CreateManagementCellDetailsLifecycleStateActive, - "INACTIVE": CreateManagementCellDetailsLifecycleStateInactive, - "DELETED": CreateManagementCellDetailsLifecycleStateDeleted, -} - -var mappingCreateManagementCellDetailsLifecycleStateEnumLowerCase = map[string]CreateManagementCellDetailsLifecycleStateEnum{ - "creating": CreateManagementCellDetailsLifecycleStateCreating, - "active": CreateManagementCellDetailsLifecycleStateActive, - "inactive": CreateManagementCellDetailsLifecycleStateInactive, - "deleted": CreateManagementCellDetailsLifecycleStateDeleted, -} - -// GetCreateManagementCellDetailsLifecycleStateEnumValues Enumerates the set of values for CreateManagementCellDetailsLifecycleStateEnum -func GetCreateManagementCellDetailsLifecycleStateEnumValues() []CreateManagementCellDetailsLifecycleStateEnum { - values := make([]CreateManagementCellDetailsLifecycleStateEnum, 0) - for _, v := range mappingCreateManagementCellDetailsLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetCreateManagementCellDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for CreateManagementCellDetailsLifecycleStateEnum -func GetCreateManagementCellDetailsLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "INACTIVE", - "DELETED", - } -} - -// GetMappingCreateManagementCellDetailsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingCreateManagementCellDetailsLifecycleStateEnum(val string) (CreateManagementCellDetailsLifecycleStateEnum, bool) { - enum, ok := mappingCreateManagementCellDetailsLifecycleStateEnumLowerCase[strings.ToLower(val)] - return enum, ok -} - -// CreateManagementCellDetailsCategoryEnum Enum with underlying type: string -type CreateManagementCellDetailsCategoryEnum string - -// Set of constants representing the allowable values for CreateManagementCellDetailsCategoryEnum -const ( - CreateManagementCellDetailsCategoryGeneral CreateManagementCellDetailsCategoryEnum = "GENERAL" - CreateManagementCellDetailsCategoryInternal CreateManagementCellDetailsCategoryEnum = "INTERNAL" - CreateManagementCellDetailsCategoryRestricted CreateManagementCellDetailsCategoryEnum = "RESTRICTED" -) - -var mappingCreateManagementCellDetailsCategoryEnum = map[string]CreateManagementCellDetailsCategoryEnum{ - "GENERAL": CreateManagementCellDetailsCategoryGeneral, - "INTERNAL": CreateManagementCellDetailsCategoryInternal, - "RESTRICTED": CreateManagementCellDetailsCategoryRestricted, -} - -var mappingCreateManagementCellDetailsCategoryEnumLowerCase = map[string]CreateManagementCellDetailsCategoryEnum{ - "general": CreateManagementCellDetailsCategoryGeneral, - "internal": CreateManagementCellDetailsCategoryInternal, - "restricted": CreateManagementCellDetailsCategoryRestricted, -} - -// GetCreateManagementCellDetailsCategoryEnumValues Enumerates the set of values for CreateManagementCellDetailsCategoryEnum -func GetCreateManagementCellDetailsCategoryEnumValues() []CreateManagementCellDetailsCategoryEnum { - values := make([]CreateManagementCellDetailsCategoryEnum, 0) - for _, v := range mappingCreateManagementCellDetailsCategoryEnum { - values = append(values, v) - } - return values -} - -// GetCreateManagementCellDetailsCategoryEnumStringValues Enumerates the set of values in String for CreateManagementCellDetailsCategoryEnum -func GetCreateManagementCellDetailsCategoryEnumStringValues() []string { - return []string{ - "GENERAL", - "INTERNAL", - "RESTRICTED", - } -} - -// GetMappingCreateManagementCellDetailsCategoryEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingCreateManagementCellDetailsCategoryEnum(val string) (CreateManagementCellDetailsCategoryEnum, bool) { - enum, ok := mappingCreateManagementCellDetailsCategoryEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go deleted file mode 100644 index e5cd196fc0..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_management_cell_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// CreateManagementCellRequest wrapper for the CreateManagementCell operation -type CreateManagementCellRequest struct { - - // Details for the new ManagementCell. - CreateManagementCellDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateManagementCellRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateManagementCellRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateManagementCellRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateManagementCellResponse wrapper for the CreateManagementCell operation -type CreateManagementCellResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ManagementCell instance - ManagementCell `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response CreateManagementCellResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateManagementCellResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go deleted file mode 100644 index e4d68378a3..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_map_tenancy_configuration.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreateMapTenancyConfiguration Response to be returned post successful mapping -type CreateMapTenancyConfiguration struct { - - // The response message - Message *string `mandatory:"true" json:"message"` -} - -func (m CreateMapTenancyConfiguration) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateMapTenancyConfiguration) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go index 3f37c92120..5415864659 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go @@ -12,6 +12,10 @@ import ( ) // CreateObjectStorageLinkRequest wrapper for the CreateObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLinkRequest. type CreateObjectStorageLinkRequest struct { // Details for the new Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go deleted file mode 100644 index e78bb45aa8..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_details.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreatePoolDetails The data required for creating a Pool. -type CreatePoolDetails struct { - - // The type of pool - PoolType CreatePoolDetailsPoolTypeEnum `mandatory:"true" json:"poolType"` - - // Name of the pool - PoolName *string `mandatory:"true" json:"poolName"` - - // The name of the site group this pool is associated with - SiteGroup *string `mandatory:"true" json:"siteGroup"` - - // List of customer tenancies it is dedicated for - Resources []interface{} `mandatory:"true" json:"resources"` - - // List of customer tenancies it is dedicated for - DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` - - // List of customer tenancies it is dedicated for - Tags []string `mandatory:"false" json:"tags"` - - // The pools that have affinity with this pool. - PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` -} - -func (m CreatePoolDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreatePoolDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingCreatePoolDetailsPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetCreatePoolDetailsPoolTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreatePoolDetailsPoolTypeEnum Enum with underlying type: string -type CreatePoolDetailsPoolTypeEnum string - -// Set of constants representing the allowable values for CreatePoolDetailsPoolTypeEnum -const ( - CreatePoolDetailsPoolTypeCompute CreatePoolDetailsPoolTypeEnum = "COMPUTE" - CreatePoolDetailsPoolTypeBlock CreatePoolDetailsPoolTypeEnum = "BLOCK" -) - -var mappingCreatePoolDetailsPoolTypeEnum = map[string]CreatePoolDetailsPoolTypeEnum{ - "COMPUTE": CreatePoolDetailsPoolTypeCompute, - "BLOCK": CreatePoolDetailsPoolTypeBlock, -} - -var mappingCreatePoolDetailsPoolTypeEnumLowerCase = map[string]CreatePoolDetailsPoolTypeEnum{ - "compute": CreatePoolDetailsPoolTypeCompute, - "block": CreatePoolDetailsPoolTypeBlock, -} - -// GetCreatePoolDetailsPoolTypeEnumValues Enumerates the set of values for CreatePoolDetailsPoolTypeEnum -func GetCreatePoolDetailsPoolTypeEnumValues() []CreatePoolDetailsPoolTypeEnum { - values := make([]CreatePoolDetailsPoolTypeEnum, 0) - for _, v := range mappingCreatePoolDetailsPoolTypeEnum { - values = append(values, v) - } - return values -} - -// GetCreatePoolDetailsPoolTypeEnumStringValues Enumerates the set of values in String for CreatePoolDetailsPoolTypeEnum -func GetCreatePoolDetailsPoolTypeEnumStringValues() []string { - return []string{ - "COMPUTE", - "BLOCK", - } -} - -// GetMappingCreatePoolDetailsPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingCreatePoolDetailsPoolTypeEnum(val string) (CreatePoolDetailsPoolTypeEnum, bool) { - enum, ok := mappingCreatePoolDetailsPoolTypeEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go deleted file mode 100644 index 1ddfb63015..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_pool_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// CreatePoolRequest wrapper for the CreatePool operation -type CreatePoolRequest struct { - - // Details for the new Pool. - CreatePoolDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreatePoolRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreatePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreatePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreatePoolRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreatePoolRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreatePoolResponse wrapper for the CreatePool operation -type CreatePoolResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Pool instance - Pool `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response CreatePoolResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreatePoolResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go deleted file mode 100644 index b6e042f337..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_details.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CreateTenancyOverrideDetails The data required for creating a Tenancy Override. -type CreateTenancyOverrideDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenancyId *string `mandatory:"true" json:"tenancyId"` - - // The list of overrides for a tenant. - Overrides []interface{} `mandatory:"true" json:"overrides"` -} - -func (m CreateTenancyOverrideDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CreateTenancyOverrideDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go deleted file mode 100644 index 7edd957be0..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_tenancy_override_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// CreateTenancyOverrideRequest wrapper for the CreateTenancyOverride operation -type CreateTenancyOverrideRequest struct { - - // Details for the new Tenancy Override. - CreateTenancyOverrideDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request CreateTenancyOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request CreateTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request CreateTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request CreateTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request CreateTenancyOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// CreateTenancyOverrideResponse wrapper for the CreateTenancyOverride operation -type CreateTenancyOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The TenancyOverride instance - TenancyOverride `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response CreateTenancyOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response CreateTenancyOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go deleted file mode 100644 index 5468d55378..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/current_compute_capacity.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// CurrentComputeCapacity The compute capacity tracked internally. -type CurrentComputeCapacity struct { - Cores16 *FaultDomainUsage `mandatory:"false" json:"cores16"` - - Cores94 *FaultDomainUsage `mandatory:"false" json:"cores94"` -} - -func (m CurrentComputeCapacity) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m CurrentComputeCapacity) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go deleted file mode 100644 index 79cf3e8298..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_all_tenancy_overrides_for_tenant_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteAllTenancyOverridesForTenantRequest wrapper for the DeleteAllTenancyOverridesForTenant operation -type DeleteAllTenancyOverridesForTenantRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteAllTenancyOverridesForTenantRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteAllTenancyOverridesForTenantRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteAllTenancyOverridesForTenantRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteAllTenancyOverridesForTenantRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteAllTenancyOverridesForTenantRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteAllTenancyOverridesForTenantResponse wrapper for the DeleteAllTenancyOverridesForTenant operation -type DeleteAllTenancyOverridesForTenantResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteAllTenancyOverridesForTenantResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteAllTenancyOverridesForTenantResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go deleted file mode 100644 index d7a73e2af0..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_capacity_reservation_info_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteCapacityReservationInfoRequest wrapper for the DeleteCapacityReservationInfo operation -type DeleteCapacityReservationInfoRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteCapacityReservationInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteCapacityReservationInfoResponse wrapper for the DeleteCapacityReservationInfo operation -type DeleteCapacityReservationInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteCapacityReservationInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteCapacityReservationInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go deleted file mode 100644 index 157fec9ba0..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_cpg_override_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteCpgOverrideRequest wrapper for the DeleteCpgOverride operation -type DeleteCpgOverrideRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" contributesTo:"path" name:"customerCpgId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteCpgOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteCpgOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteCpgOverrideResponse wrapper for the DeleteCpgOverride operation -type DeleteCpgOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteCpgOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteCpgOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go deleted file mode 100644 index a59c15f8d4..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lfs_cpg_info_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteLfsCpgInfoRequest wrapper for the DeleteLfsCpgInfo operation -type DeleteLfsCpgInfoRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" contributesTo:"path" name:"lfsCpgId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteLfsCpgInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteLfsCpgInfoResponse wrapper for the DeleteLfsCpgInfo operation -type DeleteLfsCpgInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteLfsCpgInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteLfsCpgInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go index c207d28246..42f9289a34 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go @@ -12,6 +12,10 @@ import ( ) // DeleteLustreFileSystemRequest wrapper for the DeleteLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystemRequest. type DeleteLustreFileSystemRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go deleted file mode 100644 index 9981550e09..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_management_cell_request_response.go +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteManagementCellRequest wrapper for the DeleteManagementCell operation -type DeleteManagementCellRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. - ManagementCellId *string `mandatory:"true" contributesTo:"path" name:"managementCellId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteManagementCellRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteManagementCellRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteManagementCellRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteManagementCellResponse wrapper for the DeleteManagementCell operation -type DeleteManagementCellResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. - // Use GetWorkRequest with this ID to track the status of the request. - OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteManagementCellResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteManagementCellResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go index f3623aa666..65a8f851ba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go @@ -12,6 +12,10 @@ import ( ) // DeleteObjectStorageLinkRequest wrapper for the DeleteObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLinkRequest. type DeleteObjectStorageLinkRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go deleted file mode 100644 index ba34debac9..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_pool_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeletePoolRequest wrapper for the DeletePool operation -type DeletePoolRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool. - PoolId *string `mandatory:"true" contributesTo:"path" name:"poolId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeletePoolRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeletePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeletePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeletePoolRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeletePoolRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeletePoolResponse wrapper for the DeletePool operation -type DeletePoolResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeletePoolResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeletePoolResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go deleted file mode 100644 index 52a7c8ac42..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_configuration_request_response.go +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteTenancyConfigurationRequest wrapper for the DeleteTenancyConfiguration operation -type DeleteTenancyConfigurationRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy. - TenancyId *string `mandatory:"true" contributesTo:"path" name:"tenancyId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteTenancyConfigurationRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteTenancyConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteTenancyConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteTenancyConfigurationRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteTenancyConfigurationRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteTenancyConfigurationResponse wrapper for the DeleteTenancyConfiguration operation -type DeleteTenancyConfigurationResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. - // Use GetWorkRequest with this ID to track the status of the request. - OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteTenancyConfigurationResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteTenancyConfigurationResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go deleted file mode 100644 index 4a4b030283..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_tenancy_override_request_response.go +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// DeleteTenancyOverrideRequest wrapper for the DeleteTenancyOverride operation -type DeleteTenancyOverrideRequest struct { - - // The ID associated with an override. - OverrideId *string `mandatory:"true" contributesTo:"path" name:"overrideId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request DeleteTenancyOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request DeleteTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request DeleteTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request DeleteTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request DeleteTenancyOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// DeleteTenancyOverrideResponse wrapper for the DeleteTenancyOverride operation -type DeleteTenancyOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response DeleteTenancyOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response DeleteTenancyOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go deleted file mode 100644 index d34b5155fd..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/desired_compute_count.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// DesiredComputeCount The desired compute configuration. -type DesiredComputeCount struct { - - // List of desired compute configurations. - Configs []interface{} `mandatory:"false" json:"configs"` -} - -func (m DesiredComputeCount) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m DesiredComputeCount) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go deleted file mode 100644 index 073d154041..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/details.go +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// Details ManagementCell details are captured in this JSON object. -type Details struct { - - // JSON object version. It helps in deploying read/write phase when JSON object is updated. - Version *int64 `mandatory:"false" json:"version"` - - // Management plane load balancer endpoint for ManagementCell - MpLoadBalancerEndpoint *string `mandatory:"false" json:"mpLoadBalancerEndpoint"` - - // Total Cell capacity available for creating new filesystems on the cell. Measured in GB. For create request, this will mapped to availableCapacityInGBs and need not to be part of request params. - TotalCapacityInGBs *int64 `mandatory:"false" json:"totalCapacityInGBs"` -} - -func (m Details) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m Details) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go deleted file mode 100644 index 0c7bb74398..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/fault_domain_usage.go +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// FaultDomainUsage Usage per fault domain. -type FaultDomainUsage struct { - Fd1 *ReservedAndUsedCount `mandatory:"false" json:"fd1"` - - Fd2 *ReservedAndUsedCount `mandatory:"false" json:"fd2"` - - Fd3 *ReservedAndUsedCount `mandatory:"false" json:"fd3"` -} - -func (m FaultDomainUsage) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m FaultDomainUsage) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go deleted file mode 100644 index 310532ec04..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_capacity_reservation_info_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// GetCapacityReservationInfoRequest wrapper for the GetCapacityReservationInfo operation -type GetCapacityReservationInfoRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request GetCapacityReservationInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetCapacityReservationInfoResponse wrapper for the GetCapacityReservationInfo operation -type GetCapacityReservationInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CapacityReservationInfo instance - CapacityReservationInfo `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response GetCapacityReservationInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetCapacityReservationInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go deleted file mode 100644 index 2423401f2c..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_cpg_override_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// GetCpgOverrideRequest wrapper for the GetCpgOverride operation -type GetCpgOverrideRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" contributesTo:"path" name:"customerCpgId"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request GetCpgOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetCpgOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetCpgOverrideResponse wrapper for the GetCpgOverride operation -type GetCpgOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CpgOverride instance - CpgOverride `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response GetCpgOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetCpgOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go deleted file mode 100644 index a973a50f87..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lfs_cpg_info_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// GetLfsCpgInfoRequest wrapper for the GetLfsCpgInfo operation -type GetLfsCpgInfoRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" contributesTo:"path" name:"lfsCpgId"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request GetLfsCpgInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetLfsCpgInfoResponse wrapper for the GetLfsCpgInfo operation -type GetLfsCpgInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LfsCpgInfo instance - LfsCpgInfo `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response GetLfsCpgInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetLfsCpgInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go index 6b0f5cade9..c856c12a92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go @@ -12,6 +12,10 @@ import ( ) // GetLustreFileSystemRequest wrapper for the GetLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystemRequest. type GetLustreFileSystemRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go deleted file mode 100644 index 93371e44c3..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_management_cell_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// GetManagementCellRequest wrapper for the GetManagementCell operation -type GetManagementCellRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. - ManagementCellId *string `mandatory:"true" contributesTo:"path" name:"managementCellId"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request GetManagementCellRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetManagementCellRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetManagementCellRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetManagementCellResponse wrapper for the GetManagementCell operation -type GetManagementCellResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The ManagementCell instance - ManagementCell `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response GetManagementCellResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetManagementCellResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go index 0c308c20c6..0d04382d9b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go @@ -12,6 +12,10 @@ import ( ) // GetObjectStorageLinkRequest wrapper for the GetObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLinkRequest. type GetObjectStorageLinkRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go deleted file mode 100644 index 795f21ba08..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_pool_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// GetPoolRequest wrapper for the GetPool operation -type GetPoolRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool. - PoolId *string `mandatory:"true" contributesTo:"path" name:"poolId"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request GetPoolRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetPoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetPoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetPoolRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetPoolRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetPoolResponse wrapper for the GetPool operation -type GetPoolResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Pool instance - Pool `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response GetPoolResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetPoolResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go index 7cf1a640bc..df1abe6635 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go @@ -12,6 +12,10 @@ import ( ) // GetSyncJobRequest wrapper for the GetSyncJob operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJobRequest. type GetSyncJobRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go deleted file mode 100644 index ebc49eb6ff..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_tenancy_override_request_response.go +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// GetTenancyOverrideRequest wrapper for the GetTenancyOverride operation -type GetTenancyOverrideRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request GetTenancyOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request GetTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request GetTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request GetTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request GetTenancyOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// GetTenancyOverrideResponse wrapper for the GetTenancyOverride operation -type GetTenancyOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The TenancyOverride instance - TenancyOverride `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response GetTenancyOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response GetTenancyOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go index bd50e6824c..d1f1ccadbf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go @@ -12,6 +12,10 @@ import ( ) // GetWorkRequestRequest wrapper for the GetWorkRequest operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go deleted file mode 100644 index 67d5c305da..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_details.go +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// InjectFaultDetails Wrapper object for input map -type InjectFaultDetails struct { - - // Example: `{"action": "terminate_host"}` - PropertiesMap map[string]string `mandatory:"true" json:"map"` - - // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - - // System tags for this resource. Each key is predefined and scoped to a namespace. - // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` - SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` -} - -func (m InjectFaultDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InjectFaultDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go deleted file mode 100644 index a95d4ff833..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_output_details.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// InjectFaultOutputDetails Wrapper object for output map -type InjectFaultOutputDetails struct { - - // Example: `{"status": "success"}` - PropertiesMap map[string]string `mandatory:"true" json:"map"` -} - -func (m InjectFaultOutputDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m InjectFaultOutputDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go deleted file mode 100644 index a4ce06707f..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/inject_fault_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// InjectFaultRequest wrapper for the InjectFault operation -type InjectFaultRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. - LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` - - // Inject faults for a particular lustre file system - InjectFaultDetails `contributesTo:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request InjectFaultRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request InjectFaultRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request InjectFaultRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request InjectFaultRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request InjectFaultRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// InjectFaultResponse wrapper for the InjectFault operation -type InjectFaultResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The InjectFaultOutputDetails instance - InjectFaultOutputDetails `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` -} - -func (response InjectFaultResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response InjectFaultResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go deleted file mode 100644 index ad05137b64..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info.go +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// LfsCpgInfo An object that gives more details about a LFS CPG. -type LfsCpgInfo struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The name of the site group that the LFS CPG belongs to. - SiteGroupKey *string `mandatory:"true" json:"siteGroupKey"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. - DefaultCapacityReservationId *string `mandatory:"true" json:"defaultCapacityReservationId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - - // The date and time the LFS CPG Info was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the LFS CPG Info was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` -} - -func (m LfsCpgInfo) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m LfsCpgInfo) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go deleted file mode 100644 index 2f17362dd8..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// LfsCpgInfoCollection Results of a LFS CPG Info search. Contains LFSCpgInfo items. -type LfsCpgInfoCollection struct { - - // List of LFSCpgInfoSummary. - Items []LfsCpgInfoSummary `mandatory:"true" json:"items"` -} - -func (m LfsCpgInfoCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m LfsCpgInfoCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go deleted file mode 100644 index c19a04c3aa..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lfs_cpg_info_summary.go +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// LfsCpgInfoSummary An object that gives more details about a LFS CPG. -type LfsCpgInfoSummary struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" json:"lfsCpgId"` - - // The name of the site group that the LFS CPG belongs to. - SiteGroupKey *string `mandatory:"true" json:"siteGroupKey"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. - DefaultCapacityReservationId *string `mandatory:"true" json:"defaultCapacityReservationId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - - // The date and time the LFS CPG Info was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the LFS CPG Info was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` -} - -func (m LfsCpgInfoSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m LfsCpgInfoSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go deleted file mode 100644 index 433cf18b94..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_capacity_reservation_infos_request_response.go +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListCapacityReservationInfosRequest wrapper for the ListCapacityReservationInfos operation -type ListCapacityReservationInfosRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"false" contributesTo:"query" name:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"false" contributesTo:"query" name:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"false" contributesTo:"query" name:"customerTenancyId"` - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListCapacityReservationInfosSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListCapacityReservationInfosRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListCapacityReservationInfosRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListCapacityReservationInfosRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListCapacityReservationInfosRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListCapacityReservationInfosRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListCapacityReservationInfosSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCapacityReservationInfosSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListCapacityReservationInfosResponse wrapper for the ListCapacityReservationInfos operation -type ListCapacityReservationInfosResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of CapacityReservationInfoCollection instances - CapacityReservationInfoCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListCapacityReservationInfosResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListCapacityReservationInfosResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListCapacityReservationInfosSortOrderEnum Enum with underlying type: string -type ListCapacityReservationInfosSortOrderEnum string - -// Set of constants representing the allowable values for ListCapacityReservationInfosSortOrderEnum -const ( - ListCapacityReservationInfosSortOrderAsc ListCapacityReservationInfosSortOrderEnum = "ASC" - ListCapacityReservationInfosSortOrderDesc ListCapacityReservationInfosSortOrderEnum = "DESC" -) - -var mappingListCapacityReservationInfosSortOrderEnum = map[string]ListCapacityReservationInfosSortOrderEnum{ - "ASC": ListCapacityReservationInfosSortOrderAsc, - "DESC": ListCapacityReservationInfosSortOrderDesc, -} - -var mappingListCapacityReservationInfosSortOrderEnumLowerCase = map[string]ListCapacityReservationInfosSortOrderEnum{ - "asc": ListCapacityReservationInfosSortOrderAsc, - "desc": ListCapacityReservationInfosSortOrderDesc, -} - -// GetListCapacityReservationInfosSortOrderEnumValues Enumerates the set of values for ListCapacityReservationInfosSortOrderEnum -func GetListCapacityReservationInfosSortOrderEnumValues() []ListCapacityReservationInfosSortOrderEnum { - values := make([]ListCapacityReservationInfosSortOrderEnum, 0) - for _, v := range mappingListCapacityReservationInfosSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListCapacityReservationInfosSortOrderEnumStringValues Enumerates the set of values in String for ListCapacityReservationInfosSortOrderEnum -func GetListCapacityReservationInfosSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListCapacityReservationInfosSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListCapacityReservationInfosSortOrderEnum(val string) (ListCapacityReservationInfosSortOrderEnum, bool) { - enum, ok := mappingListCapacityReservationInfosSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go deleted file mode 100644 index 459348ffac..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_cpg_overrides_request_response.go +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListCpgOverridesRequest wrapper for the ListCpgOverrides operation -type ListCpgOverridesRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"false" contributesTo:"query" name:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"false" contributesTo:"query" name:"customerTenancyId"` - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListCpgOverridesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListCpgOverridesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListCpgOverridesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListCpgOverridesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListCpgOverridesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListCpgOverridesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListCpgOverridesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListCpgOverridesSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListCpgOverridesResponse wrapper for the ListCpgOverrides operation -type ListCpgOverridesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of CpgOverrideCollection instances - CpgOverrideCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListCpgOverridesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListCpgOverridesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListCpgOverridesSortOrderEnum Enum with underlying type: string -type ListCpgOverridesSortOrderEnum string - -// Set of constants representing the allowable values for ListCpgOverridesSortOrderEnum -const ( - ListCpgOverridesSortOrderAsc ListCpgOverridesSortOrderEnum = "ASC" - ListCpgOverridesSortOrderDesc ListCpgOverridesSortOrderEnum = "DESC" -) - -var mappingListCpgOverridesSortOrderEnum = map[string]ListCpgOverridesSortOrderEnum{ - "ASC": ListCpgOverridesSortOrderAsc, - "DESC": ListCpgOverridesSortOrderDesc, -} - -var mappingListCpgOverridesSortOrderEnumLowerCase = map[string]ListCpgOverridesSortOrderEnum{ - "asc": ListCpgOverridesSortOrderAsc, - "desc": ListCpgOverridesSortOrderDesc, -} - -// GetListCpgOverridesSortOrderEnumValues Enumerates the set of values for ListCpgOverridesSortOrderEnum -func GetListCpgOverridesSortOrderEnumValues() []ListCpgOverridesSortOrderEnum { - values := make([]ListCpgOverridesSortOrderEnum, 0) - for _, v := range mappingListCpgOverridesSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListCpgOverridesSortOrderEnumStringValues Enumerates the set of values in String for ListCpgOverridesSortOrderEnum -func GetListCpgOverridesSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListCpgOverridesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListCpgOverridesSortOrderEnum(val string) (ListCpgOverridesSortOrderEnum, bool) { - enum, ok := mappingListCpgOverridesSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go deleted file mode 100644 index 2d6beafa62..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lfs_cpg_infos_request_response.go +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListLfsCpgInfosRequest wrapper for the ListLfsCpgInfos operation -type ListLfsCpgInfosRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"false" contributesTo:"query" name:"lfsCpgId"` - - // The name of the availability domain. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListLfsCpgInfosSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListLfsCpgInfosRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListLfsCpgInfosRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListLfsCpgInfosRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListLfsCpgInfosRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListLfsCpgInfosRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListLfsCpgInfosSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListLfsCpgInfosSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListLfsCpgInfosResponse wrapper for the ListLfsCpgInfos operation -type ListLfsCpgInfosResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of LfsCpgInfoCollection instances - LfsCpgInfoCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListLfsCpgInfosResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListLfsCpgInfosResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListLfsCpgInfosSortOrderEnum Enum with underlying type: string -type ListLfsCpgInfosSortOrderEnum string - -// Set of constants representing the allowable values for ListLfsCpgInfosSortOrderEnum -const ( - ListLfsCpgInfosSortOrderAsc ListLfsCpgInfosSortOrderEnum = "ASC" - ListLfsCpgInfosSortOrderDesc ListLfsCpgInfosSortOrderEnum = "DESC" -) - -var mappingListLfsCpgInfosSortOrderEnum = map[string]ListLfsCpgInfosSortOrderEnum{ - "ASC": ListLfsCpgInfosSortOrderAsc, - "DESC": ListLfsCpgInfosSortOrderDesc, -} - -var mappingListLfsCpgInfosSortOrderEnumLowerCase = map[string]ListLfsCpgInfosSortOrderEnum{ - "asc": ListLfsCpgInfosSortOrderAsc, - "desc": ListLfsCpgInfosSortOrderDesc, -} - -// GetListLfsCpgInfosSortOrderEnumValues Enumerates the set of values for ListLfsCpgInfosSortOrderEnum -func GetListLfsCpgInfosSortOrderEnumValues() []ListLfsCpgInfosSortOrderEnum { - values := make([]ListLfsCpgInfosSortOrderEnum, 0) - for _, v := range mappingListLfsCpgInfosSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListLfsCpgInfosSortOrderEnumStringValues Enumerates the set of values in String for ListLfsCpgInfosSortOrderEnum -func GetListLfsCpgInfosSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListLfsCpgInfosSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListLfsCpgInfosSortOrderEnum(val string) (ListLfsCpgInfosSortOrderEnum, bool) { - enum, ok := mappingListLfsCpgInfosSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go index 66714263d3..446f864823 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go @@ -12,6 +12,10 @@ import ( ) // ListLustreFileSystemsRequest wrapper for the ListLustreFileSystems operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystemsRequest. type ListLustreFileSystemsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go deleted file mode 100644 index ae42ea5615..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_management_cells_request_response.go +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListManagementCellsRequest wrapper for the ListManagementCells operation -type ListManagementCellsRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - - // The name of the availability domain. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. - Id *string `mandatory:"false" contributesTo:"query" name:"id"` - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListManagementCellsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListManagementCellsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListManagementCellsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListManagementCellsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListManagementCellsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListManagementCellsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListManagementCellsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListManagementCellsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListManagementCellsResponse wrapper for the ListManagementCells operation -type ListManagementCellsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of ManagementCellCollection instances - ManagementCellCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListManagementCellsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListManagementCellsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListManagementCellsSortOrderEnum Enum with underlying type: string -type ListManagementCellsSortOrderEnum string - -// Set of constants representing the allowable values for ListManagementCellsSortOrderEnum -const ( - ListManagementCellsSortOrderAsc ListManagementCellsSortOrderEnum = "ASC" - ListManagementCellsSortOrderDesc ListManagementCellsSortOrderEnum = "DESC" -) - -var mappingListManagementCellsSortOrderEnum = map[string]ListManagementCellsSortOrderEnum{ - "ASC": ListManagementCellsSortOrderAsc, - "DESC": ListManagementCellsSortOrderDesc, -} - -var mappingListManagementCellsSortOrderEnumLowerCase = map[string]ListManagementCellsSortOrderEnum{ - "asc": ListManagementCellsSortOrderAsc, - "desc": ListManagementCellsSortOrderDesc, -} - -// GetListManagementCellsSortOrderEnumValues Enumerates the set of values for ListManagementCellsSortOrderEnum -func GetListManagementCellsSortOrderEnumValues() []ListManagementCellsSortOrderEnum { - values := make([]ListManagementCellsSortOrderEnum, 0) - for _, v := range mappingListManagementCellsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListManagementCellsSortOrderEnumStringValues Enumerates the set of values in String for ListManagementCellsSortOrderEnum -func GetListManagementCellsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListManagementCellsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListManagementCellsSortOrderEnum(val string) (ListManagementCellsSortOrderEnum, bool) { - enum, ok := mappingListManagementCellsSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go index 0a4c443a40..02c56cf8d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go @@ -12,6 +12,10 @@ import ( ) // ListObjectStorageLinksRequest wrapper for the ListObjectStorageLinks operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinksRequest. type ListObjectStorageLinksRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go deleted file mode 100644 index 76a4b745d0..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_pools_request_response.go +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListPoolsRequest wrapper for the ListPools operation -type ListPoolsRequest struct { - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListPoolsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListPoolsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListPoolsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListPoolsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListPoolsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListPoolsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListPoolsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPoolsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListPoolsResponse wrapper for the ListPools operation -type ListPoolsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of PoolCollection instances - PoolCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListPoolsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListPoolsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListPoolsSortOrderEnum Enum with underlying type: string -type ListPoolsSortOrderEnum string - -// Set of constants representing the allowable values for ListPoolsSortOrderEnum -const ( - ListPoolsSortOrderAsc ListPoolsSortOrderEnum = "ASC" - ListPoolsSortOrderDesc ListPoolsSortOrderEnum = "DESC" -) - -var mappingListPoolsSortOrderEnum = map[string]ListPoolsSortOrderEnum{ - "ASC": ListPoolsSortOrderAsc, - "DESC": ListPoolsSortOrderDesc, -} - -var mappingListPoolsSortOrderEnumLowerCase = map[string]ListPoolsSortOrderEnum{ - "asc": ListPoolsSortOrderAsc, - "desc": ListPoolsSortOrderDesc, -} - -// GetListPoolsSortOrderEnumValues Enumerates the set of values for ListPoolsSortOrderEnum -func GetListPoolsSortOrderEnumValues() []ListPoolsSortOrderEnum { - values := make([]ListPoolsSortOrderEnum, 0) - for _, v := range mappingListPoolsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListPoolsSortOrderEnumStringValues Enumerates the set of values in String for ListPoolsSortOrderEnum -func GetListPoolsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListPoolsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListPoolsSortOrderEnum(val string) (ListPoolsSortOrderEnum, bool) { - enum, ok := mappingListPoolsSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go deleted file mode 100644 index a03af979d7..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_profiles_request_response.go +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListProfilesRequest wrapper for the ListProfiles operation -type ListProfilesRequest struct { - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListProfilesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // A filter to return only profile associated with given name. - Name *string `mandatory:"false" contributesTo:"query" name:"name"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListProfilesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListProfilesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListProfilesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListProfilesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListProfilesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListProfilesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListProfilesSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListProfilesResponse wrapper for the ListProfiles operation -type ListProfilesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of ProfileCollection instances - ProfileCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListProfilesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListProfilesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListProfilesSortOrderEnum Enum with underlying type: string -type ListProfilesSortOrderEnum string - -// Set of constants representing the allowable values for ListProfilesSortOrderEnum -const ( - ListProfilesSortOrderAsc ListProfilesSortOrderEnum = "ASC" - ListProfilesSortOrderDesc ListProfilesSortOrderEnum = "DESC" -) - -var mappingListProfilesSortOrderEnum = map[string]ListProfilesSortOrderEnum{ - "ASC": ListProfilesSortOrderAsc, - "DESC": ListProfilesSortOrderDesc, -} - -var mappingListProfilesSortOrderEnumLowerCase = map[string]ListProfilesSortOrderEnum{ - "asc": ListProfilesSortOrderAsc, - "desc": ListProfilesSortOrderDesc, -} - -// GetListProfilesSortOrderEnumValues Enumerates the set of values for ListProfilesSortOrderEnum -func GetListProfilesSortOrderEnumValues() []ListProfilesSortOrderEnum { - values := make([]ListProfilesSortOrderEnum, 0) - for _, v := range mappingListProfilesSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListProfilesSortOrderEnumStringValues Enumerates the set of values in String for ListProfilesSortOrderEnum -func GetListProfilesSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListProfilesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListProfilesSortOrderEnum(val string) (ListProfilesSortOrderEnum, bool) { - enum, ok := mappingListProfilesSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go index ec415dcdbe..1630840836 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go @@ -12,6 +12,10 @@ import ( ) // ListSyncJobsRequest wrapper for the ListSyncJobs operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobsRequest. type ListSyncJobsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go deleted file mode 100644 index 4349fc81f3..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_configurations_request_response.go +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListTenancyConfigurationsRequest wrapper for the ListTenancyConfigurations operation -type ListTenancyConfigurationsRequest struct { - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListTenancyConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // A filter to return only profile associated with given name. - Name *string `mandatory:"false" contributesTo:"query" name:"name"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListTenancyConfigurationsRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListTenancyConfigurationsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListTenancyConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListTenancyConfigurationsRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListTenancyConfigurationsRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListTenancyConfigurationsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListTenancyConfigurationsSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListTenancyConfigurationsResponse wrapper for the ListTenancyConfigurations operation -type ListTenancyConfigurationsResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of MapTenancyConfigurationCollection instances - MapTenancyConfigurationCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListTenancyConfigurationsResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListTenancyConfigurationsResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListTenancyConfigurationsSortOrderEnum Enum with underlying type: string -type ListTenancyConfigurationsSortOrderEnum string - -// Set of constants representing the allowable values for ListTenancyConfigurationsSortOrderEnum -const ( - ListTenancyConfigurationsSortOrderAsc ListTenancyConfigurationsSortOrderEnum = "ASC" - ListTenancyConfigurationsSortOrderDesc ListTenancyConfigurationsSortOrderEnum = "DESC" -) - -var mappingListTenancyConfigurationsSortOrderEnum = map[string]ListTenancyConfigurationsSortOrderEnum{ - "ASC": ListTenancyConfigurationsSortOrderAsc, - "DESC": ListTenancyConfigurationsSortOrderDesc, -} - -var mappingListTenancyConfigurationsSortOrderEnumLowerCase = map[string]ListTenancyConfigurationsSortOrderEnum{ - "asc": ListTenancyConfigurationsSortOrderAsc, - "desc": ListTenancyConfigurationsSortOrderDesc, -} - -// GetListTenancyConfigurationsSortOrderEnumValues Enumerates the set of values for ListTenancyConfigurationsSortOrderEnum -func GetListTenancyConfigurationsSortOrderEnumValues() []ListTenancyConfigurationsSortOrderEnum { - values := make([]ListTenancyConfigurationsSortOrderEnum, 0) - for _, v := range mappingListTenancyConfigurationsSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListTenancyConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyConfigurationsSortOrderEnum -func GetListTenancyConfigurationsSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListTenancyConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListTenancyConfigurationsSortOrderEnum(val string) (ListTenancyConfigurationsSortOrderEnum, bool) { - enum, ok := mappingListTenancyConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go deleted file mode 100644 index 3d60eadfc9..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_tenancy_overrides_request_response.go +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// ListTenancyOverridesRequest wrapper for the ListTenancyOverrides operation -type ListTenancyOverridesRequest struct { - - // For list pagination. The maximum number of results per page, or items to return in a - // paginated "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` - - // For list pagination. The value of the opc-next-page response header from the previous - // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - Page *string `mandatory:"false" contributesTo:"query" name:"page"` - - // The sort order to use, either ascending (`ASC`) or descending (`DESC`). - SortOrder ListTenancyOverridesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request ListTenancyOverridesRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request ListTenancyOverridesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request ListTenancyOverridesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request ListTenancyOverridesRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request ListTenancyOverridesRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingListTenancyOverridesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListTenancyOverridesSortOrderEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ListTenancyOverridesResponse wrapper for the ListTenancyOverrides operation -type ListTenancyOverridesResponse struct { - - // The underlying http response - RawResponse *http.Response - - // A list of TenancyOverrideCollection instances - TenancyOverrideCollection `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - - // For list pagination. When this header appears in the response, additional pages of results remain. For - // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - OpcNextPage *string `presentIn:"header" name:"opc-next-page"` -} - -func (response ListTenancyOverridesResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response ListTenancyOverridesResponse) HTTPResponse() *http.Response { - return response.RawResponse -} - -// ListTenancyOverridesSortOrderEnum Enum with underlying type: string -type ListTenancyOverridesSortOrderEnum string - -// Set of constants representing the allowable values for ListTenancyOverridesSortOrderEnum -const ( - ListTenancyOverridesSortOrderAsc ListTenancyOverridesSortOrderEnum = "ASC" - ListTenancyOverridesSortOrderDesc ListTenancyOverridesSortOrderEnum = "DESC" -) - -var mappingListTenancyOverridesSortOrderEnum = map[string]ListTenancyOverridesSortOrderEnum{ - "ASC": ListTenancyOverridesSortOrderAsc, - "DESC": ListTenancyOverridesSortOrderDesc, -} - -var mappingListTenancyOverridesSortOrderEnumLowerCase = map[string]ListTenancyOverridesSortOrderEnum{ - "asc": ListTenancyOverridesSortOrderAsc, - "desc": ListTenancyOverridesSortOrderDesc, -} - -// GetListTenancyOverridesSortOrderEnumValues Enumerates the set of values for ListTenancyOverridesSortOrderEnum -func GetListTenancyOverridesSortOrderEnumValues() []ListTenancyOverridesSortOrderEnum { - values := make([]ListTenancyOverridesSortOrderEnum, 0) - for _, v := range mappingListTenancyOverridesSortOrderEnum { - values = append(values, v) - } - return values -} - -// GetListTenancyOverridesSortOrderEnumStringValues Enumerates the set of values in String for ListTenancyOverridesSortOrderEnum -func GetListTenancyOverridesSortOrderEnumStringValues() []string { - return []string{ - "ASC", - "DESC", - } -} - -// GetMappingListTenancyOverridesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingListTenancyOverridesSortOrderEnum(val string) (ListTenancyOverridesSortOrderEnum, bool) { - enum, ok := mappingListTenancyOverridesSortOrderEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go index 171974001d..3e79fc829d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go @@ -12,6 +12,10 @@ import ( ) // ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go index 0fe2f3837b..f8c49d2a42 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go @@ -12,6 +12,10 @@ import ( ) // ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go index 5fd14a7d83..49e56868b1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go @@ -12,6 +12,10 @@ import ( ) // ListWorkRequestsRequest wrapper for the ListWorkRequests operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go deleted file mode 100644 index 10c404e5af..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_capacityreservationinfo_client.go +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// CapacityReservationInfoClient a client for CapacityReservationInfo -type CapacityReservationInfoClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewCapacityReservationInfoClientWithConfigurationProvider Creates a new default CapacityReservationInfo client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewCapacityReservationInfoClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CapacityReservationInfoClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newCapacityReservationInfoClientFromBaseClient(baseClient, provider) -} - -// NewCapacityReservationInfoClientWithOboToken Creates a new default CapacityReservationInfo client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewCapacityReservationInfoClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CapacityReservationInfoClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newCapacityReservationInfoClientFromBaseClient(baseClient, configProvider) -} - -func newCapacityReservationInfoClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client CapacityReservationInfoClient, err error) { - // CapacityReservationInfo service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("CapacityReservationInfo")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = CapacityReservationInfoClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *CapacityReservationInfoClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *CapacityReservationInfoClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *CapacityReservationInfoClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// CreateCapacityReservationInfo Creates a Capacity Reservation Info. -// A default retry strategy applies to this operation CreateCapacityReservationInfo() -func (client CapacityReservationInfoClient) CreateCapacityReservationInfo(ctx context.Context, request CreateCapacityReservationInfoRequest) (response CreateCapacityReservationInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createCapacityReservationInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateCapacityReservationInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateCapacityReservationInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateCapacityReservationInfoResponse") - } - return -} - -// createCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) -func (client CapacityReservationInfoClient) createCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/capacityReservationInfos", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateCapacityReservationInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/CreateCapacityReservationInfo" - err = common.PostProcessServiceError(err, "CapacityReservationInfo", "CreateCapacityReservationInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeleteCapacityReservationInfo Deletes a CapacityReservationInfo. -// A default retry strategy applies to this operation DeleteCapacityReservationInfo() -func (client CapacityReservationInfoClient) DeleteCapacityReservationInfo(ctx context.Context, request DeleteCapacityReservationInfoRequest) (response DeleteCapacityReservationInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteCapacityReservationInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteCapacityReservationInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteCapacityReservationInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteCapacityReservationInfoResponse") - } - return -} - -// deleteCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) -func (client CapacityReservationInfoClient) deleteCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/capacityReservationInfos/{capacityReservationId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteCapacityReservationInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/DeleteCapacityReservationInfo" - err = common.PostProcessServiceError(err, "CapacityReservationInfo", "DeleteCapacityReservationInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetCapacityReservationInfo Gets information about a CapacityReservationInfo. -// A default retry strategy applies to this operation GetCapacityReservationInfo() -func (client CapacityReservationInfoClient) GetCapacityReservationInfo(ctx context.Context, request GetCapacityReservationInfoRequest) (response GetCapacityReservationInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.getCapacityReservationInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCapacityReservationInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCapacityReservationInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCapacityReservationInfoResponse") - } - return -} - -// getCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) -func (client CapacityReservationInfoClient) getCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/capacityReservationInfos/{capacityReservationId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCapacityReservationInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/GetCapacityReservationInfo" - err = common.PostProcessServiceError(err, "CapacityReservationInfo", "GetCapacityReservationInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListCapacityReservationInfos Gets a list of Capacity Reservation Info. -// A default retry strategy applies to this operation ListCapacityReservationInfos() -func (client CapacityReservationInfoClient) ListCapacityReservationInfos(ctx context.Context, request ListCapacityReservationInfosRequest) (response ListCapacityReservationInfosResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listCapacityReservationInfos, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCapacityReservationInfosResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListCapacityReservationInfosResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListCapacityReservationInfosResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCapacityReservationInfosResponse") - } - return -} - -// listCapacityReservationInfos implements the OCIOperation interface (enables retrying operations) -func (client CapacityReservationInfoClient) listCapacityReservationInfos(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/capacityReservationInfos", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListCapacityReservationInfosResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfoCollection/ListCapacityReservationInfos" - err = common.PostProcessServiceError(err, "CapacityReservationInfo", "ListCapacityReservationInfos", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateCapacityReservationInfo Updates a CapacityReservationInfo. -// A default retry strategy applies to this operation UpdateCapacityReservationInfo() -func (client CapacityReservationInfoClient) UpdateCapacityReservationInfo(ctx context.Context, request UpdateCapacityReservationInfoRequest) (response UpdateCapacityReservationInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.updateCapacityReservationInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateCapacityReservationInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateCapacityReservationInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateCapacityReservationInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateCapacityReservationInfoResponse") - } - return -} - -// updateCapacityReservationInfo implements the OCIOperation interface (enables retrying operations) -func (client CapacityReservationInfoClient) updateCapacityReservationInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/capacityReservationInfos/{capacityReservationId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateCapacityReservationInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CapacityReservationInfo/UpdateCapacityReservationInfo" - err = common.PostProcessServiceError(err, "CapacityReservationInfo", "UpdateCapacityReservationInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go index b9bb3c8c4a..502e6cef14 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go @@ -92,6 +92,10 @@ func (client *LustreFileStorageClient) ConfigurationProvider() *common.Configura } // CancelWorkRequest Cancels a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. // A default retry strategy applies to this operation CancelWorkRequest() func (client LustreFileStorageClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -147,6 +151,10 @@ func (client LustreFileStorageClient) cancelWorkRequest(ctx context.Context, req // ChangeLustreFileSystemCompartment Moves a Lustre file system into a different compartment within the same tenancy. For information about moving resources between // compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeLustreFileSystemCompartment.go.html to see an example of how to use ChangeLustreFileSystemCompartment API. // A default retry strategy applies to this operation ChangeLustreFileSystemCompartment() func (client LustreFileStorageClient) ChangeLustreFileSystemCompartment(ctx context.Context, request ChangeLustreFileSystemCompartmentRequest) (response ChangeLustreFileSystemCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -202,6 +210,10 @@ func (client LustreFileStorageClient) changeLustreFileSystemCompartment(ctx cont // ChangeObjectStorageLinkCompartment Moves an Object Storage link into a different compartment within the same tenancy. For information about moving resources between // compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ChangeObjectStorageLinkCompartment.go.html to see an example of how to use ChangeObjectStorageLinkCompartment API. // A default retry strategy applies to this operation ChangeObjectStorageLinkCompartment() func (client LustreFileStorageClient) ChangeObjectStorageLinkCompartment(ctx context.Context, request ChangeObjectStorageLinkCompartmentRequest) (response ChangeObjectStorageLinkCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -261,6 +273,10 @@ func (client LustreFileStorageClient) changeObjectStorageLinkCompartment(ctx con } // CreateLustreFileSystem Creates a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateLustreFileSystem.go.html to see an example of how to use CreateLustreFileSystem API. // A default retry strategy applies to this operation CreateLustreFileSystem() func (client LustreFileStorageClient) CreateLustreFileSystem(ctx context.Context, request CreateLustreFileSystemRequest) (response CreateLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -320,6 +336,10 @@ func (client LustreFileStorageClient) createLustreFileSystem(ctx context.Context } // CreateObjectStorageLink Creates an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/CreateObjectStorageLink.go.html to see an example of how to use CreateObjectStorageLink API. // A default retry strategy applies to this operation CreateObjectStorageLink() func (client LustreFileStorageClient) CreateObjectStorageLink(ctx context.Context, request CreateObjectStorageLinkRequest) (response CreateObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse @@ -379,6 +399,10 @@ func (client LustreFileStorageClient) createObjectStorageLink(ctx context.Contex } // DeleteLustreFileSystem Deletes a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteLustreFileSystem.go.html to see an example of how to use DeleteLustreFileSystem API. // A default retry strategy applies to this operation DeleteLustreFileSystem() func (client LustreFileStorageClient) DeleteLustreFileSystem(ctx context.Context, request DeleteLustreFileSystemRequest) (response DeleteLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -433,6 +457,10 @@ func (client LustreFileStorageClient) deleteLustreFileSystem(ctx context.Context } // DeleteObjectStorageLink Deletes an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/DeleteObjectStorageLink.go.html to see an example of how to use DeleteObjectStorageLink API. // A default retry strategy applies to this operation DeleteObjectStorageLink() func (client LustreFileStorageClient) DeleteObjectStorageLink(ctx context.Context, request DeleteObjectStorageLinkRequest) (response DeleteObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse @@ -487,6 +515,10 @@ func (client LustreFileStorageClient) deleteObjectStorageLink(ctx context.Contex } // GetLustreFileSystem Gets information about a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetLustreFileSystem.go.html to see an example of how to use GetLustreFileSystem API. // A default retry strategy applies to this operation GetLustreFileSystem() func (client LustreFileStorageClient) GetLustreFileSystem(ctx context.Context, request GetLustreFileSystemRequest) (response GetLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -541,6 +573,10 @@ func (client LustreFileStorageClient) getLustreFileSystem(ctx context.Context, r } // GetObjectStorageLink Gets information about an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetObjectStorageLink.go.html to see an example of how to use GetObjectStorageLink API. // A default retry strategy applies to this operation GetObjectStorageLink() func (client LustreFileStorageClient) GetObjectStorageLink(ctx context.Context, request GetObjectStorageLinkRequest) (response GetObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse @@ -595,6 +631,10 @@ func (client LustreFileStorageClient) getObjectStorageLink(ctx context.Context, } // GetSyncJob Gets details of a sync job associated with an Object Storage link when `objectStorageLink` and a unique ID are provided. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetSyncJob.go.html to see an example of how to use GetSyncJob API. // A default retry strategy applies to this operation GetSyncJob() func (client LustreFileStorageClient) GetSyncJob(ctx context.Context, request GetSyncJobRequest) (response GetSyncJobResponse, err error) { var ociResponse common.OCIResponse @@ -649,6 +689,10 @@ func (client LustreFileStorageClient) getSyncJob(ctx context.Context, request co } // GetWorkRequest Gets the details of a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. // A default retry strategy applies to this operation GetWorkRequest() func (client LustreFileStorageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -703,6 +747,10 @@ func (client LustreFileStorageClient) getWorkRequest(ctx context.Context, reques } // ListLustreFileSystems Gets a list of Lustre file systems. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListLustreFileSystems.go.html to see an example of how to use ListLustreFileSystems API. // A default retry strategy applies to this operation ListLustreFileSystems() func (client LustreFileStorageClient) ListLustreFileSystems(ctx context.Context, request ListLustreFileSystemsRequest) (response ListLustreFileSystemsResponse, err error) { var ociResponse common.OCIResponse @@ -757,6 +805,10 @@ func (client LustreFileStorageClient) listLustreFileSystems(ctx context.Context, } // ListObjectStorageLinks Gets a list of Object Storage links. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListObjectStorageLinks.go.html to see an example of how to use ListObjectStorageLinks API. // A default retry strategy applies to this operation ListObjectStorageLinks() func (client LustreFileStorageClient) ListObjectStorageLinks(ctx context.Context, request ListObjectStorageLinksRequest) (response ListObjectStorageLinksResponse, err error) { var ociResponse common.OCIResponse @@ -811,6 +863,10 @@ func (client LustreFileStorageClient) listObjectStorageLinks(ctx context.Context } // ListSyncJobs Lists all sync jobs associated with the Object Storage link. Contains a unique ID for each sync job. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListSyncJobs.go.html to see an example of how to use ListSyncJobs API. // A default retry strategy applies to this operation ListSyncJobs() func (client LustreFileStorageClient) ListSyncJobs(ctx context.Context, request ListSyncJobsRequest) (response ListSyncJobsResponse, err error) { var ociResponse common.OCIResponse @@ -865,6 +921,10 @@ func (client LustreFileStorageClient) listSyncJobs(ctx context.Context, request } // ListWorkRequestErrors Lists the errors for a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. // A default retry strategy applies to this operation ListWorkRequestErrors() func (client LustreFileStorageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse @@ -919,6 +979,10 @@ func (client LustreFileStorageClient) listWorkRequestErrors(ctx context.Context, } // ListWorkRequestLogs Lists the logs for a work request. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. // A default retry strategy applies to this operation ListWorkRequestLogs() func (client LustreFileStorageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse @@ -973,6 +1037,10 @@ func (client LustreFileStorageClient) listWorkRequestLogs(ctx context.Context, r } // ListWorkRequests Lists the work requests in a compartment. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. // A default retry strategy applies to this operation ListWorkRequests() func (client LustreFileStorageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -1026,68 +1094,12 @@ func (client LustreFileStorageClient) listWorkRequests(ctx context.Context, requ return response, err } -// PauseSyncJob Pauses the object sync job in progress. The object sync job can either have Object Storage or Lustre File -// System as either source or target. -// A default retry strategy applies to this operation PauseSyncJob() -func (client LustreFileStorageClient) PauseSyncJob(ctx context.Context, request PauseSyncJobRequest) (response PauseSyncJobResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.pauseSyncJob, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = PauseSyncJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = PauseSyncJobResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(PauseSyncJobResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into PauseSyncJobResponse") - } - return -} - -// pauseSyncJob implements the OCIOperation interface (enables retrying operations) -func (client LustreFileStorageClient) pauseSyncJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/pauseSyncJob", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response PauseSyncJobResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/PauseSyncJob" - err = common.PostProcessServiceError(err, "LustreFileStorage", "PauseSyncJob", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - // StartExportToObject Starts the export of data from the Lustre file system to Object Storage. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObject API. // A default retry strategy applies to this operation StartExportToObject() func (client LustreFileStorageClient) StartExportToObject(ctx context.Context, request StartExportToObjectRequest) (response StartExportToObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1148,6 +1160,10 @@ func (client LustreFileStorageClient) startExportToObject(ctx context.Context, r // StartImportFromObject Starts the import of data from Object Storage to the Lustre file system. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObject API. // A default retry strategy applies to this operation StartImportFromObject() func (client LustreFileStorageClient) StartImportFromObject(ctx context.Context, request StartImportFromObjectRequest) (response StartImportFromObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1208,6 +1224,10 @@ func (client LustreFileStorageClient) startImportFromObject(ctx context.Context, // StopExportToObject Stops the export of data from the Lustre file system to Object Storage. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObject API. // A default retry strategy applies to this operation StopExportToObject() func (client LustreFileStorageClient) StopExportToObject(ctx context.Context, request StopExportToObjectRequest) (response StopExportToObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1268,6 +1288,10 @@ func (client LustreFileStorageClient) stopExportToObject(ctx context.Context, re // StopImportFromObject Stops the import of data from Object Storage to the Lustre file system. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObject API. // A default retry strategy applies to this operation StopImportFromObject() func (client LustreFileStorageClient) StopImportFromObject(ctx context.Context, request StopImportFromObjectRequest) (response StopImportFromObjectResponse, err error) { var ociResponse common.OCIResponse @@ -1326,67 +1350,11 @@ func (client LustreFileStorageClient) stopImportFromObject(ctx context.Context, return response, err } -// UnpauseSyncJob Unpauses the object sync job in progress. The object sync job can either have Object Storage or Lustre File -// System as either source or target. -// A default retry strategy applies to this operation UnpauseSyncJob() -func (client LustreFileStorageClient) UnpauseSyncJob(ctx context.Context, request UnpauseSyncJobRequest) (response UnpauseSyncJobResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.unpauseSyncJob, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UnpauseSyncJobResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UnpauseSyncJobResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UnpauseSyncJobResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UnpauseSyncJobResponse") - } - return -} - -// unpauseSyncJob implements the OCIOperation interface (enables retrying operations) -func (client LustreFileStorageClient) unpauseSyncJob(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/objectStorageLinks/{objectStorageLinkId}/actions/unpauseSyncJob", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UnpauseSyncJobResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ObjectStorageLink/UnpauseSyncJob" - err = common.PostProcessServiceError(err, "LustreFileStorage", "UnpauseSyncJob", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - // UpdateLustreFileSystem Updates a Lustre file system. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystem API. // A default retry strategy applies to this operation UpdateLustreFileSystem() func (client LustreFileStorageClient) UpdateLustreFileSystem(ctx context.Context, request UpdateLustreFileSystemRequest) (response UpdateLustreFileSystemResponse, err error) { var ociResponse common.OCIResponse @@ -1441,6 +1409,10 @@ func (client LustreFileStorageClient) updateLustreFileSystem(ctx context.Context } // UpdateObjectStorageLink Updates an Object Storage link. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLink API. // A default retry strategy applies to this operation UpdateObjectStorageLink() func (client LustreFileStorageClient) UpdateObjectStorageLink(ctx context.Context, request UpdateObjectStorageLinkRequest) (response UpdateObjectStorageLinkResponse, err error) { var ociResponse common.OCIResponse diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go deleted file mode 100644 index 09a0d610c6..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_configmgmt_client.go +++ /dev/null @@ -1,313 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// ConfigMgmtClient a client for ConfigMgmt -type ConfigMgmtClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewConfigMgmtClientWithConfigurationProvider Creates a new default ConfigMgmt client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewConfigMgmtClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ConfigMgmtClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newConfigMgmtClientFromBaseClient(baseClient, provider) -} - -// NewConfigMgmtClientWithOboToken Creates a new default ConfigMgmt client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewConfigMgmtClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ConfigMgmtClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newConfigMgmtClientFromBaseClient(baseClient, configProvider) -} - -func newConfigMgmtClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client ConfigMgmtClient, err error) { - // ConfigMgmt service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("ConfigMgmt")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = ConfigMgmtClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *ConfigMgmtClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *ConfigMgmtClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *ConfigMgmtClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// DeleteTenancyConfiguration Delete the tenancy configuration mapping for given tenancy -// A default retry strategy applies to this operation DeleteTenancyConfiguration() -func (client ConfigMgmtClient) DeleteTenancyConfiguration(ctx context.Context, request DeleteTenancyConfigurationRequest) (response DeleteTenancyConfigurationResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteTenancyConfiguration, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteTenancyConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteTenancyConfigurationResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteTenancyConfigurationResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteTenancyConfigurationResponse") - } - return -} - -// deleteTenancyConfiguration implements the OCIOperation interface (enables retrying operations) -func (client ConfigMgmtClient) deleteTenancyConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/configManagement/tenancyConfigurations/{tenancyId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteTenancyConfigurationResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyConfigurationSummary/DeleteTenancyConfiguration" - err = common.PostProcessServiceError(err, "ConfigMgmt", "DeleteTenancyConfiguration", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListProfiles Retrieve all available profiles for the file system configuration. -// A default retry strategy applies to this operation ListProfiles() -func (client ConfigMgmtClient) ListProfiles(ctx context.Context, request ListProfilesRequest) (response ListProfilesResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listProfiles, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListProfilesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListProfilesResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListProfilesResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListProfilesResponse") - } - return -} - -// listProfiles implements the OCIOperation interface (enables retrying operations) -func (client ConfigMgmtClient) listProfiles(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/configManagement/profiles", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListProfilesResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ProfileCollection/ListProfiles" - err = common.PostProcessServiceError(err, "ConfigMgmt", "ListProfiles", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListTenancyConfigurations Returns all the tenancy configuration along with profile and capacity reservation associated. -// A default retry strategy applies to this operation ListTenancyConfigurations() -func (client ConfigMgmtClient) ListTenancyConfigurations(ctx context.Context, request ListTenancyConfigurationsRequest) (response ListTenancyConfigurationsResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listTenancyConfigurations, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListTenancyConfigurationsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListTenancyConfigurationsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListTenancyConfigurationsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListTenancyConfigurationsResponse") - } - return -} - -// listTenancyConfigurations implements the OCIOperation interface (enables retrying operations) -func (client ConfigMgmtClient) listTenancyConfigurations(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/configManagement/tenancyConfigurations", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListTenancyConfigurationsResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/MapTenancyConfigurationCollection/ListTenancyConfigurations" - err = common.PostProcessServiceError(err, "ConfigMgmt", "ListTenancyConfigurations", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// MapTenancyConfiguration Assigns given configuration to a tenancy. -// A default retry strategy applies to this operation MapTenancyConfiguration() -func (client ConfigMgmtClient) MapTenancyConfiguration(ctx context.Context, request MapTenancyConfigurationRequest) (response MapTenancyConfigurationResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.mapTenancyConfiguration, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = MapTenancyConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = MapTenancyConfigurationResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(MapTenancyConfigurationResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into MapTenancyConfigurationResponse") - } - return -} - -// mapTenancyConfiguration implements the OCIOperation interface (enables retrying operations) -func (client ConfigMgmtClient) mapTenancyConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/configManagement/tenancyConfigurations", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response MapTenancyConfigurationResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CreateMapTenancyConfiguration/MapTenancyConfiguration" - err = common.PostProcessServiceError(err, "ConfigMgmt", "MapTenancyConfiguration", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go deleted file mode 100644 index 3e380c5f3c..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_cpgoverride_client.go +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// CpgOverrideClient a client for CpgOverride -type CpgOverrideClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewCpgOverrideClientWithConfigurationProvider Creates a new default CpgOverride client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewCpgOverrideClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CpgOverrideClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newCpgOverrideClientFromBaseClient(baseClient, provider) -} - -// NewCpgOverrideClientWithOboToken Creates a new default CpgOverride client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewCpgOverrideClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CpgOverrideClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newCpgOverrideClientFromBaseClient(baseClient, configProvider) -} - -func newCpgOverrideClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client CpgOverrideClient, err error) { - // CpgOverride service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("CpgOverride")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = CpgOverrideClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *CpgOverrideClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *CpgOverrideClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *CpgOverrideClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// CreateCpgOverride Creates a CPG Override. -// A default retry strategy applies to this operation CreateCpgOverride() -func (client CpgOverrideClient) CreateCpgOverride(ctx context.Context, request CreateCpgOverrideRequest) (response CreateCpgOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createCpgOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateCpgOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateCpgOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateCpgOverrideResponse") - } - return -} - -// createCpgOverride implements the OCIOperation interface (enables retrying operations) -func (client CpgOverrideClient) createCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/cpgOverrides", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateCpgOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/CreateCpgOverride" - err = common.PostProcessServiceError(err, "CpgOverride", "CreateCpgOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeleteCpgOverride Deletes a CPG Override. -// A default retry strategy applies to this operation DeleteCpgOverride() -func (client CpgOverrideClient) DeleteCpgOverride(ctx context.Context, request DeleteCpgOverrideRequest) (response DeleteCpgOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteCpgOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteCpgOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteCpgOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteCpgOverrideResponse") - } - return -} - -// deleteCpgOverride implements the OCIOperation interface (enables retrying operations) -func (client CpgOverrideClient) deleteCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/cpgOverrides/{customerCpgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteCpgOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/DeleteCpgOverride" - err = common.PostProcessServiceError(err, "CpgOverride", "DeleteCpgOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetCpgOverride Gets information about a CPG Override. -// A default retry strategy applies to this operation GetCpgOverride() -func (client CpgOverrideClient) GetCpgOverride(ctx context.Context, request GetCpgOverrideRequest) (response GetCpgOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.getCpgOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetCpgOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetCpgOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetCpgOverrideResponse") - } - return -} - -// getCpgOverride implements the OCIOperation interface (enables retrying operations) -func (client CpgOverrideClient) getCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpgOverrides/{customerCpgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetCpgOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/GetCpgOverride" - err = common.PostProcessServiceError(err, "CpgOverride", "GetCpgOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListCpgOverrides Gets a list of CPG Overrides. -// A default retry strategy applies to this operation ListCpgOverrides() -func (client CpgOverrideClient) ListCpgOverrides(ctx context.Context, request ListCpgOverridesRequest) (response ListCpgOverridesResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listCpgOverrides, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListCpgOverridesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListCpgOverridesResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListCpgOverridesResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListCpgOverridesResponse") - } - return -} - -// listCpgOverrides implements the OCIOperation interface (enables retrying operations) -func (client CpgOverrideClient) listCpgOverrides(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/cpgOverrides", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListCpgOverridesResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverrideCollection/ListCpgOverrides" - err = common.PostProcessServiceError(err, "CpgOverride", "ListCpgOverrides", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateCpgOverride Updates a CPG Override. -// A default retry strategy applies to this operation UpdateCpgOverride() -func (client CpgOverrideClient) UpdateCpgOverride(ctx context.Context, request UpdateCpgOverrideRequest) (response UpdateCpgOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.updateCpgOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateCpgOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateCpgOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateCpgOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateCpgOverrideResponse") - } - return -} - -// updateCpgOverride implements the OCIOperation interface (enables retrying operations) -func (client CpgOverrideClient) updateCpgOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/cpgOverrides/{customerCpgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateCpgOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/CpgOverride/UpdateCpgOverride" - err = common.PostProcessServiceError(err, "CpgOverride", "UpdateCpgOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go deleted file mode 100644 index a3d5ff04e6..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_internal_client.go +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// InternalClient a client for Internal -type InternalClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewInternalClientWithConfigurationProvider Creates a new default Internal client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewInternalClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client InternalClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newInternalClientFromBaseClient(baseClient, provider) -} - -// NewInternalClientWithOboToken Creates a new default Internal client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewInternalClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client InternalClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newInternalClientFromBaseClient(baseClient, configProvider) -} - -func newInternalClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client InternalClient, err error) { - // Internal service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("Internal")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = InternalClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *InternalClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *InternalClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *InternalClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// InjectFault Inject Fault in the system to test its robustness, like terminating host to trigger failover. Will be called by canaries. -// A default retry strategy applies to this operation InjectFault() -func (client InternalClient) InjectFault(ctx context.Context, request InjectFaultRequest) (response InjectFaultResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.injectFault, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = InjectFaultResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = InjectFaultResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(InjectFaultResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into InjectFaultResponse") - } - return -} - -// injectFault implements the OCIOperation interface (enables retrying operations) -func (client InternalClient) injectFault(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/internal/injectFault/{lustreFileSystemId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response InjectFaultResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/InjectFault" - err = common.PostProcessServiceError(err, "Internal", "InjectFault", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go deleted file mode 100644 index d8f161391a..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfscpginfo_client.go +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// LfsCpgInfoClient a client for LfsCpgInfo -type LfsCpgInfoClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewLfsCpgInfoClientWithConfigurationProvider Creates a new default LfsCpgInfo client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewLfsCpgInfoClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LfsCpgInfoClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newLfsCpgInfoClientFromBaseClient(baseClient, provider) -} - -// NewLfsCpgInfoClientWithOboToken Creates a new default LfsCpgInfo client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewLfsCpgInfoClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LfsCpgInfoClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newLfsCpgInfoClientFromBaseClient(baseClient, configProvider) -} - -func newLfsCpgInfoClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client LfsCpgInfoClient, err error) { - // LfsCpgInfo service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("LfsCpgInfo")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = LfsCpgInfoClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *LfsCpgInfoClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *LfsCpgInfoClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *LfsCpgInfoClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// CreateLfsCpgInfo Creates a CPG lfsCpgInfo. -// A default retry strategy applies to this operation CreateLfsCpgInfo() -func (client LfsCpgInfoClient) CreateLfsCpgInfo(ctx context.Context, request CreateLfsCpgInfoRequest) (response CreateLfsCpgInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createLfsCpgInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateLfsCpgInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateLfsCpgInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateLfsCpgInfoResponse") - } - return -} - -// createLfsCpgInfo implements the OCIOperation interface (enables retrying operations) -func (client LfsCpgInfoClient) createLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/lfsCpgInfos", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateLfsCpgInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/CreateLfsCpgInfo" - err = common.PostProcessServiceError(err, "LfsCpgInfo", "CreateLfsCpgInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeleteLfsCpgInfo Deletes a LFS CPG Info. -// A default retry strategy applies to this operation DeleteLfsCpgInfo() -func (client LfsCpgInfoClient) DeleteLfsCpgInfo(ctx context.Context, request DeleteLfsCpgInfoRequest) (response DeleteLfsCpgInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteLfsCpgInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteLfsCpgInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteLfsCpgInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteLfsCpgInfoResponse") - } - return -} - -// deleteLfsCpgInfo implements the OCIOperation interface (enables retrying operations) -func (client LfsCpgInfoClient) deleteLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/lfsCpgInfos/{lfsCpgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteLfsCpgInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/DeleteLfsCpgInfo" - err = common.PostProcessServiceError(err, "LfsCpgInfo", "DeleteLfsCpgInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetLfsCpgInfo Gets information about a LFS CPG -// A default retry strategy applies to this operation GetLfsCpgInfo() -func (client LfsCpgInfoClient) GetLfsCpgInfo(ctx context.Context, request GetLfsCpgInfoRequest) (response GetLfsCpgInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.getLfsCpgInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetLfsCpgInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetLfsCpgInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetLfsCpgInfoResponse") - } - return -} - -// getLfsCpgInfo implements the OCIOperation interface (enables retrying operations) -func (client LfsCpgInfoClient) getLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/lfsCpgInfos/{lfsCpgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetLfsCpgInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/GetLfsCpgInfo" - err = common.PostProcessServiceError(err, "LfsCpgInfo", "GetLfsCpgInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListLfsCpgInfos Gets a list of lfsCpgInfo. -// A default retry strategy applies to this operation ListLfsCpgInfos() -func (client LfsCpgInfoClient) ListLfsCpgInfos(ctx context.Context, request ListLfsCpgInfosRequest) (response ListLfsCpgInfosResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listLfsCpgInfos, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListLfsCpgInfosResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListLfsCpgInfosResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListLfsCpgInfosResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListLfsCpgInfosResponse") - } - return -} - -// listLfsCpgInfos implements the OCIOperation interface (enables retrying operations) -func (client LfsCpgInfoClient) listLfsCpgInfos(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/lfsCpgInfos", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListLfsCpgInfosResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfoCollection/ListLfsCpgInfos" - err = common.PostProcessServiceError(err, "LfsCpgInfo", "ListLfsCpgInfos", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateLfsCpgInfo Updates a a LfsCpgInfo. -// A default retry strategy applies to this operation UpdateLfsCpgInfo() -func (client LfsCpgInfoClient) UpdateLfsCpgInfo(ctx context.Context, request UpdateLfsCpgInfoRequest) (response UpdateLfsCpgInfoResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.updateLfsCpgInfo, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateLfsCpgInfoResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateLfsCpgInfoResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateLfsCpgInfoResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateLfsCpgInfoResponse") - } - return -} - -// updateLfsCpgInfo implements the OCIOperation interface (enables retrying operations) -func (client LfsCpgInfoClient) updateLfsCpgInfo(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/lfsCpgInfos/{lfsCpgId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateLfsCpgInfoResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LfsCpgInfo/UpdateLfsCpgInfo" - err = common.PostProcessServiceError(err, "LfsCpgInfo", "UpdateLfsCpgInfo", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go deleted file mode 100644 index 9474f49f33..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_lfspool_client.go +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// LfsPoolClient a client for LfsPool -type LfsPoolClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewLfsPoolClientWithConfigurationProvider Creates a new default LfsPool client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewLfsPoolClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LfsPoolClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newLfsPoolClientFromBaseClient(baseClient, provider) -} - -// NewLfsPoolClientWithOboToken Creates a new default LfsPool client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewLfsPoolClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LfsPoolClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newLfsPoolClientFromBaseClient(baseClient, configProvider) -} - -func newLfsPoolClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client LfsPoolClient, err error) { - // LfsPool service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("LfsPool")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = LfsPoolClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *LfsPoolClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *LfsPoolClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *LfsPoolClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// CreatePool Creates a Pool. -// A default retry strategy applies to this operation CreatePool() -func (client LfsPoolClient) CreatePool(ctx context.Context, request CreatePoolRequest) (response CreatePoolResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createPool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreatePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreatePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreatePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreatePoolResponse") - } - return -} - -// createPool implements the OCIOperation interface (enables retrying operations) -func (client LfsPoolClient) createPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/pools", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreatePoolResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/CreatePool" - err = common.PostProcessServiceError(err, "LfsPool", "CreatePool", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeletePool Deletes the pool. -// A default retry strategy applies to this operation DeletePool() -func (client LfsPoolClient) DeletePool(ctx context.Context, request DeletePoolRequest) (response DeletePoolResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deletePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeletePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeletePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeletePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeletePoolResponse") - } - return -} - -// deletePool implements the OCIOperation interface (enables retrying operations) -func (client LfsPoolClient) deletePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/pools/{poolId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeletePoolResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/DeletePool" - err = common.PostProcessServiceError(err, "LfsPool", "DeletePool", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetPool Gets information about a Pool. -// A default retry strategy applies to this operation GetPool() -func (client LfsPoolClient) GetPool(ctx context.Context, request GetPoolRequest) (response GetPoolResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.getPool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetPoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetPoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetPoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetPoolResponse") - } - return -} - -// getPool implements the OCIOperation interface (enables retrying operations) -func (client LfsPoolClient) getPool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/pools/{poolId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetPoolResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/GetPool" - err = common.PostProcessServiceError(err, "LfsPool", "GetPool", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListPools Gets a list of Pools. -// A default retry strategy applies to this operation ListPools() -func (client LfsPoolClient) ListPools(ctx context.Context, request ListPoolsRequest) (response ListPoolsResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listPools, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListPoolsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListPoolsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListPoolsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListPoolsResponse") - } - return -} - -// listPools implements the OCIOperation interface (enables retrying operations) -func (client LfsPoolClient) listPools(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/pools", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListPoolsResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/PoolCollection/ListPools" - err = common.PostProcessServiceError(err, "LfsPool", "ListPools", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdatePool Updates a Pool. -// A default retry strategy applies to this operation UpdatePool() -func (client LfsPoolClient) UpdatePool(ctx context.Context, request UpdatePoolRequest) (response UpdatePoolResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.updatePool, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdatePoolResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdatePoolResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdatePoolResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdatePoolResponse") - } - return -} - -// updatePool implements the OCIOperation interface (enables retrying operations) -func (client LfsPoolClient) updatePool(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/pools/{poolId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdatePoolResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/Pool/UpdatePool" - err = common.PostProcessServiceError(err, "LfsPool", "UpdatePool", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go deleted file mode 100644 index b04b8e0ac1..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_mgmtcell_client.go +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// MgmtCellClient a client for MgmtCell -type MgmtCellClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewMgmtCellClientWithConfigurationProvider Creates a new default MgmtCell client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewMgmtCellClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client MgmtCellClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newMgmtCellClientFromBaseClient(baseClient, provider) -} - -// NewMgmtCellClientWithOboToken Creates a new default MgmtCell client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewMgmtCellClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client MgmtCellClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newMgmtCellClientFromBaseClient(baseClient, configProvider) -} - -func newMgmtCellClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client MgmtCellClient, err error) { - // MgmtCell service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("MgmtCell")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = MgmtCellClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *MgmtCellClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *MgmtCellClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *MgmtCellClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// CreateManagementCell Creates a ManagementCell. -// A default retry strategy applies to this operation CreateManagementCell() -func (client MgmtCellClient) CreateManagementCell(ctx context.Context, request CreateManagementCellRequest) (response CreateManagementCellResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createManagementCell, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateManagementCellResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateManagementCellResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateManagementCellResponse") - } - return -} - -// createManagementCell implements the OCIOperation interface (enables retrying operations) -func (client MgmtCellClient) createManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/managementCells", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateManagementCellResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/CreateManagementCell" - err = common.PostProcessServiceError(err, "MgmtCell", "CreateManagementCell", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeleteManagementCell Deletes a ManagementCell. -// A default retry strategy applies to this operation DeleteManagementCell() -func (client MgmtCellClient) DeleteManagementCell(ctx context.Context, request DeleteManagementCellRequest) (response DeleteManagementCellResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteManagementCell, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteManagementCellResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteManagementCellResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteManagementCellResponse") - } - return -} - -// deleteManagementCell implements the OCIOperation interface (enables retrying operations) -func (client MgmtCellClient) deleteManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/managementCells/{managementCellId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteManagementCellResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/DeleteManagementCell" - err = common.PostProcessServiceError(err, "MgmtCell", "DeleteManagementCell", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetManagementCell Gets information about a ManagementCell. -// A default retry strategy applies to this operation GetManagementCell() -func (client MgmtCellClient) GetManagementCell(ctx context.Context, request GetManagementCellRequest) (response GetManagementCellResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.getManagementCell, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetManagementCellResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetManagementCellResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetManagementCellResponse") - } - return -} - -// getManagementCell implements the OCIOperation interface (enables retrying operations) -func (client MgmtCellClient) getManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/managementCells/{managementCellId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetManagementCellResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/GetManagementCell" - err = common.PostProcessServiceError(err, "MgmtCell", "GetManagementCell", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListManagementCells Gets a list of ManagementCells. -// A default retry strategy applies to this operation ListManagementCells() -func (client MgmtCellClient) ListManagementCells(ctx context.Context, request ListManagementCellsRequest) (response ListManagementCellsResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listManagementCells, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListManagementCellsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListManagementCellsResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListManagementCellsResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListManagementCellsResponse") - } - return -} - -// listManagementCells implements the OCIOperation interface (enables retrying operations) -func (client MgmtCellClient) listManagementCells(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/managementCells", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListManagementCellsResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCellCollection/ListManagementCells" - err = common.PostProcessServiceError(err, "MgmtCell", "ListManagementCells", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateManagementCell Updates a ManagementCell. -// A default retry strategy applies to this operation UpdateManagementCell() -func (client MgmtCellClient) UpdateManagementCell(ctx context.Context, request UpdateManagementCellRequest) (response UpdateManagementCellResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.updateManagementCell, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateManagementCellResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateManagementCellResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateManagementCellResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateManagementCellResponse") - } - return -} - -// updateManagementCell implements the OCIOperation interface (enables retrying operations) -func (client MgmtCellClient) updateManagementCell(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/managementCells/{managementCellId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateManagementCellResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/ManagementCell/UpdateManagementCell" - err = common.PostProcessServiceError(err, "MgmtCell", "UpdateManagementCell", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go deleted file mode 100644 index a4feeb2e6f..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_tenancyoverride_client.go +++ /dev/null @@ -1,421 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "context" - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "github.com/oracle/oci-go-sdk/v65/common/auth" - "net/http" -) - -// TenancyOverrideClient a client for TenancyOverride -type TenancyOverrideClient struct { - common.BaseClient - config *common.ConfigurationProvider -} - -// NewTenancyOverrideClientWithConfigurationProvider Creates a new default TenancyOverride client with the given configuration provider. -// the configuration provider will be used for the default signer as well as reading the region -func NewTenancyOverrideClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client TenancyOverrideClient, err error) { - if enabled := common.CheckForEnabledServices("lustrefilestorage"); !enabled { - return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") - } - provider, err := auth.GetGenericConfigurationProvider(configProvider) - if err != nil { - return client, err - } - baseClient, e := common.NewClientWithConfig(provider) - if e != nil { - return client, e - } - return newTenancyOverrideClientFromBaseClient(baseClient, provider) -} - -// NewTenancyOverrideClientWithOboToken Creates a new default TenancyOverride client with the given configuration provider. -// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// -// as well as reading the region -func NewTenancyOverrideClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client TenancyOverrideClient, err error) { - baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) - if err != nil { - return client, err - } - - return newTenancyOverrideClientFromBaseClient(baseClient, configProvider) -} - -func newTenancyOverrideClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client TenancyOverrideClient, err error) { - // TenancyOverride service default circuit breaker is enabled - baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("TenancyOverride")) - common.ConfigCircuitBreakerFromEnvVar(&baseClient) - common.ConfigCircuitBreakerFromGlobalVar(&baseClient) - - client = TenancyOverrideClient{BaseClient: baseClient} - client.BasePath = "20250228" - err = client.setConfigurationProvider(configProvider) - return -} - -// SetRegion overrides the region of this client. -func (client *TenancyOverrideClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("lustrefilestorage", "https://lustre-file-storage.{region}.oci.{secondLevelDomain}") -} - -// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid -func (client *TenancyOverrideClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { - if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { - return err - } - - // Error has been checked already - region, _ := configProvider.Region() - client.SetRegion(region) - if client.Host == "" { - return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") - } - client.config = &configProvider - return nil -} - -// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set -func (client *TenancyOverrideClient) ConfigurationProvider() *common.ConfigurationProvider { - return client.config -} - -// CreateTenancyOverride Creates a Tenancy Override. -// A default retry strategy applies to this operation CreateTenancyOverride() -func (client TenancyOverrideClient) CreateTenancyOverride(ctx context.Context, request CreateTenancyOverrideRequest) (response CreateTenancyOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.createTenancyOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = CreateTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = CreateTenancyOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(CreateTenancyOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into CreateTenancyOverrideResponse") - } - return -} - -// createTenancyOverride implements the OCIOperation interface (enables retrying operations) -func (client TenancyOverrideClient) createTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPost, "/tenancyOverrides", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response CreateTenancyOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/CreateTenancyOverride" - err = common.PostProcessServiceError(err, "TenancyOverride", "CreateTenancyOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeleteAllTenancyOverridesForTenant Deletes all Tenancy Overrides for Tenant. -// A default retry strategy applies to this operation DeleteAllTenancyOverridesForTenant() -func (client TenancyOverrideClient) DeleteAllTenancyOverridesForTenant(ctx context.Context, request DeleteAllTenancyOverridesForTenantRequest) (response DeleteAllTenancyOverridesForTenantResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteAllTenancyOverridesForTenant, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteAllTenancyOverridesForTenantResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteAllTenancyOverridesForTenantResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteAllTenancyOverridesForTenantResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteAllTenancyOverridesForTenantResponse") - } - return -} - -// deleteAllTenancyOverridesForTenant implements the OCIOperation interface (enables retrying operations) -func (client TenancyOverrideClient) deleteAllTenancyOverridesForTenant(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/tenancyOverrides/{tenantId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteAllTenancyOverridesForTenantResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/DeleteAllTenancyOverridesForTenant" - err = common.PostProcessServiceError(err, "TenancyOverride", "DeleteAllTenancyOverridesForTenant", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// DeleteTenancyOverride Deletes a Tenancy Override. -// A default retry strategy applies to this operation DeleteTenancyOverride() -func (client TenancyOverrideClient) DeleteTenancyOverride(ctx context.Context, request DeleteTenancyOverrideRequest) (response DeleteTenancyOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.deleteTenancyOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DeleteTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = DeleteTenancyOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(DeleteTenancyOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into DeleteTenancyOverrideResponse") - } - return -} - -// deleteTenancyOverride implements the OCIOperation interface (enables retrying operations) -func (client TenancyOverrideClient) deleteTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/tenancyOverrides/{tenantId}/{overrideId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response DeleteTenancyOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/DeleteTenancyOverride" - err = common.PostProcessServiceError(err, "TenancyOverride", "DeleteTenancyOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// GetTenancyOverride Gets information about a Tenancy Override. -// A default retry strategy applies to this operation GetTenancyOverride() -func (client TenancyOverrideClient) GetTenancyOverride(ctx context.Context, request GetTenancyOverrideRequest) (response GetTenancyOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.getTenancyOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = GetTenancyOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(GetTenancyOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into GetTenancyOverrideResponse") - } - return -} - -// getTenancyOverride implements the OCIOperation interface (enables retrying operations) -func (client TenancyOverrideClient) getTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/tenancyOverrides/{tenantId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response GetTenancyOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/GetTenancyOverride" - err = common.PostProcessServiceError(err, "TenancyOverride", "GetTenancyOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// ListTenancyOverrides Gets a list of Tenancy Overrides. -// A default retry strategy applies to this operation ListTenancyOverrides() -func (client TenancyOverrideClient) ListTenancyOverrides(ctx context.Context, request ListTenancyOverridesRequest) (response ListTenancyOverridesResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.listTenancyOverrides, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListTenancyOverridesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = ListTenancyOverridesResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(ListTenancyOverridesResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into ListTenancyOverridesResponse") - } - return -} - -// listTenancyOverrides implements the OCIOperation interface (enables retrying operations) -func (client TenancyOverrideClient) listTenancyOverrides(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodGet, "/tenancyOverrides", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response ListTenancyOverridesResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverrideCollection/ListTenancyOverrides" - err = common.PostProcessServiceError(err, "TenancyOverride", "ListTenancyOverrides", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} - -// UpdateTenancyOverride Updates a Tenancy Override. -// A default retry strategy applies to this operation UpdateTenancyOverride() -func (client TenancyOverrideClient) UpdateTenancyOverride(ctx context.Context, request UpdateTenancyOverrideRequest) (response UpdateTenancyOverrideResponse, err error) { - var ociResponse common.OCIResponse - policy := common.DefaultRetryPolicy() - if client.RetryPolicy() != nil { - policy = *client.RetryPolicy() - } - if request.RetryPolicy() != nil { - policy = *request.RetryPolicy() - } - ociResponse, err = common.Retry(ctx, request, client.updateTenancyOverride, policy) - if err != nil { - if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = UpdateTenancyOverrideResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = UpdateTenancyOverrideResponse{} - } - } - return - } - if convertedResponse, ok := ociResponse.(UpdateTenancyOverrideResponse); ok { - response = convertedResponse - } else { - err = fmt.Errorf("failed to convert OCIResponse into UpdateTenancyOverrideResponse") - } - return -} - -// updateTenancyOverride implements the OCIOperation interface (enables retrying operations) -func (client TenancyOverrideClient) updateTenancyOverride(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - - httpRequest, err := request.HTTPRequest(http.MethodPut, "/tenancyOverrides/{tenantId}/{overrideId}", binaryReqBody, extraHeaders) - if err != nil { - return nil, err - } - - var response UpdateTenancyOverrideResponse - var httpResponse *http.Response - httpResponse, err = client.Call(ctx, &httpRequest) - defer common.CloseBodyIfValid(httpResponse) - response.RawResponse = httpResponse - if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/TenancyOverride/UpdateTenancyOverride" - err = common.PostProcessServiceError(err, "TenancyOverride", "UpdateTenancyOverride", apiReferenceLink) - return response, err - } - - err = common.UnmarshalResponse(httpResponse, &response) - return response, err -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go deleted file mode 100644 index 2d9b0f1a21..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell.go +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// ManagementCell The Lustre File Service architecture is a cellular architecture which can create new management -// plane cells as the number of filesystems, hosts, and volumes grow. Lustre management plane cells -// are the main scalable unit within the Lustre File Service. -// A single management cell is capable of placing Lustre filesystems in different locations using -// cluster placement groups. -type ManagementCell struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the Management Cell. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - - // The current state of the ManagementCell. - LifecycleState ManagementCellLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // ManagementCell can be categorized based on the customer filesystems it is hosting. - // Example: `RESTRICTED` category cell is restricted for use by only one customer - Category ManagementCellCategoryEnum `mandatory:"true" json:"category"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableCapacityInGBs *int64 `mandatory:"true" json:"availableCapacityInGBs"` - - // The date and time the ManagementCell was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the ManagementCell was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` - - // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` - - // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` - - // System tags for this resource. Each key is predefined and scoped to a namespace. - // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` - SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` - - Details *Details `mandatory:"true" json:"details"` -} - -func (m ManagementCell) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ManagementCell) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingManagementCellLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetManagementCellLifecycleStateEnumStringValues(), ","))) - } - if _, ok := GetMappingManagementCellCategoryEnum(string(m.Category)); !ok && m.Category != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetManagementCellCategoryEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// ManagementCellLifecycleStateEnum Enum with underlying type: string -type ManagementCellLifecycleStateEnum string - -// Set of constants representing the allowable values for ManagementCellLifecycleStateEnum -const ( - ManagementCellLifecycleStateCreating ManagementCellLifecycleStateEnum = "CREATING" - ManagementCellLifecycleStateActive ManagementCellLifecycleStateEnum = "ACTIVE" - ManagementCellLifecycleStateInactive ManagementCellLifecycleStateEnum = "INACTIVE" - ManagementCellLifecycleStateDeleted ManagementCellLifecycleStateEnum = "DELETED" -) - -var mappingManagementCellLifecycleStateEnum = map[string]ManagementCellLifecycleStateEnum{ - "CREATING": ManagementCellLifecycleStateCreating, - "ACTIVE": ManagementCellLifecycleStateActive, - "INACTIVE": ManagementCellLifecycleStateInactive, - "DELETED": ManagementCellLifecycleStateDeleted, -} - -var mappingManagementCellLifecycleStateEnumLowerCase = map[string]ManagementCellLifecycleStateEnum{ - "creating": ManagementCellLifecycleStateCreating, - "active": ManagementCellLifecycleStateActive, - "inactive": ManagementCellLifecycleStateInactive, - "deleted": ManagementCellLifecycleStateDeleted, -} - -// GetManagementCellLifecycleStateEnumValues Enumerates the set of values for ManagementCellLifecycleStateEnum -func GetManagementCellLifecycleStateEnumValues() []ManagementCellLifecycleStateEnum { - values := make([]ManagementCellLifecycleStateEnum, 0) - for _, v := range mappingManagementCellLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetManagementCellLifecycleStateEnumStringValues Enumerates the set of values in String for ManagementCellLifecycleStateEnum -func GetManagementCellLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "INACTIVE", - "DELETED", - } -} - -// GetMappingManagementCellLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingManagementCellLifecycleStateEnum(val string) (ManagementCellLifecycleStateEnum, bool) { - enum, ok := mappingManagementCellLifecycleStateEnumLowerCase[strings.ToLower(val)] - return enum, ok -} - -// ManagementCellCategoryEnum Enum with underlying type: string -type ManagementCellCategoryEnum string - -// Set of constants representing the allowable values for ManagementCellCategoryEnum -const ( - ManagementCellCategoryGeneral ManagementCellCategoryEnum = "GENERAL" - ManagementCellCategoryInternal ManagementCellCategoryEnum = "INTERNAL" - ManagementCellCategoryRestricted ManagementCellCategoryEnum = "RESTRICTED" -) - -var mappingManagementCellCategoryEnum = map[string]ManagementCellCategoryEnum{ - "GENERAL": ManagementCellCategoryGeneral, - "INTERNAL": ManagementCellCategoryInternal, - "RESTRICTED": ManagementCellCategoryRestricted, -} - -var mappingManagementCellCategoryEnumLowerCase = map[string]ManagementCellCategoryEnum{ - "general": ManagementCellCategoryGeneral, - "internal": ManagementCellCategoryInternal, - "restricted": ManagementCellCategoryRestricted, -} - -// GetManagementCellCategoryEnumValues Enumerates the set of values for ManagementCellCategoryEnum -func GetManagementCellCategoryEnumValues() []ManagementCellCategoryEnum { - values := make([]ManagementCellCategoryEnum, 0) - for _, v := range mappingManagementCellCategoryEnum { - values = append(values, v) - } - return values -} - -// GetManagementCellCategoryEnumStringValues Enumerates the set of values in String for ManagementCellCategoryEnum -func GetManagementCellCategoryEnumStringValues() []string { - return []string{ - "GENERAL", - "INTERNAL", - "RESTRICTED", - } -} - -// GetMappingManagementCellCategoryEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingManagementCellCategoryEnum(val string) (ManagementCellCategoryEnum, bool) { - enum, ok := mappingManagementCellCategoryEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go deleted file mode 100644 index bcd010038e..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// ManagementCellCollection Results of a ManagementCell search. Contains both ManagementCellSummary items and other information, such as metadata. -type ManagementCellCollection struct { - - // List of ManagementCells. - Items []ManagementCellSummary `mandatory:"true" json:"items"` -} - -func (m ManagementCellCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ManagementCellCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go deleted file mode 100644 index 90883d6eb9..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/management_cell_summary.go +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// ManagementCellSummary Summary information about a ManagementCell. -type ManagementCellSummary struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Cell - Id *string `mandatory:"true" json:"id"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the ManagementCell. - CompartmentId *string `mandatory:"true" json:"compartmentId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - - // The current state of the ManagementCell - LifecycleState ManagementCellLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - - // ManagementCell can be categorized based on the customer filesystems it is hosting. - // Example: `RESTRICTED` category cell is restricted for use by only one customer - Category ManagementCellCategoryEnum `mandatory:"true" json:"category"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableCapacityInGBs *int64 `mandatory:"true" json:"availableCapacityInGBs"` - - // The date and time the ManagementCell was created, expressed - // in RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. - // Example: `2024-04-25T21:10:29.600Z` - TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - - // The date and time the ManagementCell was updated, in the format defined - // by RFC 3339 (https://tools.ietf.org/html/rfc3339). - // Example: `2024-04-25T21:10:29.600Z` - TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` - - // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"true" json:"freeformTags"` - - // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` - - // System tags for this resource. Each key is predefined and scoped to a namespace. - // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` - SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"` - - Details *Details `mandatory:"true" json:"details"` -} - -func (m ManagementCellSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ManagementCellSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingManagementCellLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetManagementCellLifecycleStateEnumStringValues(), ","))) - } - if _, ok := GetMappingManagementCellCategoryEnum(string(m.Category)); !ok && m.Category != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetManagementCellCategoryEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go deleted file mode 100644 index d0b358841e..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// MapTenancyConfiguration Details required to create tenancy configuration -type MapTenancyConfiguration struct { - - // The tenancy OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - TenancyId *string `mandatory:"true" json:"tenancyId"` - - // The profile name which is applicable for the given tenancy. - Profile *string `mandatory:"false" json:"profile"` - - CapacityReservations *CapacityReservationsCollection `mandatory:"false" json:"capacityReservations"` -} - -func (m MapTenancyConfiguration) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m MapTenancyConfiguration) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go deleted file mode 100644 index 29eebf7e85..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// MapTenancyConfigurationCollection List of MapTenancyConfiguration. -type MapTenancyConfigurationCollection struct { - - // List of MapTenancyConfiguration. - Items []TenancyConfigurationSummary `mandatory:"true" json:"items"` -} - -func (m MapTenancyConfigurationCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m MapTenancyConfigurationCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go deleted file mode 100644 index 7bfd350b64..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_details.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// MapTenancyConfigurationDetails List of MapTenancyConfiguration. -type MapTenancyConfigurationDetails struct { - - // List of MapTenancyConfiguration. - Items []MapTenancyConfiguration `mandatory:"true" json:"items"` -} - -func (m MapTenancyConfigurationDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m MapTenancyConfigurationDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go deleted file mode 100644 index 735bd544c9..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/map_tenancy_configuration_request_response.go +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// MapTenancyConfigurationRequest wrapper for the MapTenancyConfiguration operation -type MapTenancyConfigurationRequest struct { - - // The information to be updated. - MapTenancyConfigurationDetails `contributesTo:"body"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request MapTenancyConfigurationRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request MapTenancyConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request MapTenancyConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request MapTenancyConfigurationRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request MapTenancyConfigurationRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// MapTenancyConfigurationResponse wrapper for the MapTenancyConfiguration operation -type MapTenancyConfigurationResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CreateMapTenancyConfiguration instance - CreateMapTenancyConfiguration `presentIn:"body"` - - // For optimistic concurrency control. See `if-match`. - Etag *string `presentIn:"header" name:"etag"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response MapTenancyConfigurationResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response MapTenancyConfigurationResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go deleted file mode 100644 index 9f9d6c6127..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_details.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// PauseSyncJobDetails Details about pausing an object sync job. -type PauseSyncJobDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running job. - SyncJobId *string `mandatory:"true" json:"syncJobId"` -} - -func (m PauseSyncJobDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PauseSyncJobDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go deleted file mode 100644 index 7af78bbfef..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pause_sync_job_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// PauseSyncJobRequest wrapper for the PauseSyncJob operation -type PauseSyncJobRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. - ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` - - // The information needed to pause the sync job. - PauseSyncJobDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request PauseSyncJobRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request PauseSyncJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request PauseSyncJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request PauseSyncJobRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request PauseSyncJobRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PauseSyncJobResponse wrapper for the PauseSyncJob operation -type PauseSyncJobResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response PauseSyncJobResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response PauseSyncJobResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go deleted file mode 100644 index 9f448848ac..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool.go +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// Pool A construct that to represent compute capacity reservation(s) for a purpose (can be a default, or dedicated for customers). -type Pool struct { - - // The id of the pool - Id *string `mandatory:"true" json:"id"` - - // The type of pool - PoolType PoolPoolTypeEnum `mandatory:"true" json:"poolType"` - - // Name of the pool - PoolName *string `mandatory:"true" json:"poolName"` - - // List of customer tenancies it is dedicated for - DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` - - // The name of the site group this pool is associated with - SiteGroup *string `mandatory:"false" json:"siteGroup"` - - // List of customer tenancies it is dedicated for - Tags []string `mandatory:"false" json:"tags"` - - // List of customer tenancies it is dedicated for - Resources []interface{} `mandatory:"false" json:"resources"` - - // List of customer tenancies it is dedicated for - Accounting *interface{} `mandatory:"false" json:"accounting"` - - // The pools that have affinity with this pool. - PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` -} - -func (m Pool) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m Pool) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if _, ok := GetMappingPoolPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetPoolPoolTypeEnumStringValues(), ","))) - } - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PoolPoolTypeEnum Enum with underlying type: string -type PoolPoolTypeEnum string - -// Set of constants representing the allowable values for PoolPoolTypeEnum -const ( - PoolPoolTypeCompute PoolPoolTypeEnum = "COMPUTE" - PoolPoolTypeBlock PoolPoolTypeEnum = "BLOCK" -) - -var mappingPoolPoolTypeEnum = map[string]PoolPoolTypeEnum{ - "COMPUTE": PoolPoolTypeCompute, - "BLOCK": PoolPoolTypeBlock, -} - -var mappingPoolPoolTypeEnumLowerCase = map[string]PoolPoolTypeEnum{ - "compute": PoolPoolTypeCompute, - "block": PoolPoolTypeBlock, -} - -// GetPoolPoolTypeEnumValues Enumerates the set of values for PoolPoolTypeEnum -func GetPoolPoolTypeEnumValues() []PoolPoolTypeEnum { - values := make([]PoolPoolTypeEnum, 0) - for _, v := range mappingPoolPoolTypeEnum { - values = append(values, v) - } - return values -} - -// GetPoolPoolTypeEnumStringValues Enumerates the set of values in String for PoolPoolTypeEnum -func GetPoolPoolTypeEnumStringValues() []string { - return []string{ - "COMPUTE", - "BLOCK", - } -} - -// GetMappingPoolPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingPoolPoolTypeEnum(val string) (PoolPoolTypeEnum, bool) { - enum, ok := mappingPoolPoolTypeEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go deleted file mode 100644 index 86e0613cef..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// PoolCollection Results of a Pool search. Contains Pool items. -type PoolCollection struct { - - // List of Pool Summary. - Items []PoolSummary `mandatory:"true" json:"items"` -} - -func (m PoolCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PoolCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go deleted file mode 100644 index 572bbd5438..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/pool_summary.go +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// PoolSummary A list of pools. -type PoolSummary struct { - - // The id of the pool - PoolId *string `mandatory:"false" json:"poolId"` - - // The type of pool - PoolType PoolSummaryPoolTypeEnum `mandatory:"false" json:"poolType,omitempty"` - - // Name of the pool - PoolName *string `mandatory:"false" json:"poolName"` - - // List of customer tenancies it is dedicated for - DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` - - // The name of the site group this pool is associated with - SiteGroup *string `mandatory:"false" json:"siteGroup"` - - // List of customer tenancies it is dedicated for - Tags []string `mandatory:"false" json:"tags"` - - // List of customer tenancies it is dedicated for - Resources []interface{} `mandatory:"false" json:"resources"` - - // List of customer tenancies it is dedicated for - Accounting *interface{} `mandatory:"false" json:"accounting"` - - // The pools that have affinity with this pool. - PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` -} - -func (m PoolSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m PoolSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := GetMappingPoolSummaryPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetPoolSummaryPoolTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// PoolSummaryPoolTypeEnum Enum with underlying type: string -type PoolSummaryPoolTypeEnum string - -// Set of constants representing the allowable values for PoolSummaryPoolTypeEnum -const ( - PoolSummaryPoolTypeCompute PoolSummaryPoolTypeEnum = "COMPUTE" - PoolSummaryPoolTypeBlock PoolSummaryPoolTypeEnum = "BLOCK" -) - -var mappingPoolSummaryPoolTypeEnum = map[string]PoolSummaryPoolTypeEnum{ - "COMPUTE": PoolSummaryPoolTypeCompute, - "BLOCK": PoolSummaryPoolTypeBlock, -} - -var mappingPoolSummaryPoolTypeEnumLowerCase = map[string]PoolSummaryPoolTypeEnum{ - "compute": PoolSummaryPoolTypeCompute, - "block": PoolSummaryPoolTypeBlock, -} - -// GetPoolSummaryPoolTypeEnumValues Enumerates the set of values for PoolSummaryPoolTypeEnum -func GetPoolSummaryPoolTypeEnumValues() []PoolSummaryPoolTypeEnum { - values := make([]PoolSummaryPoolTypeEnum, 0) - for _, v := range mappingPoolSummaryPoolTypeEnum { - values = append(values, v) - } - return values -} - -// GetPoolSummaryPoolTypeEnumStringValues Enumerates the set of values in String for PoolSummaryPoolTypeEnum -func GetPoolSummaryPoolTypeEnumStringValues() []string { - return []string{ - "COMPUTE", - "BLOCK", - } -} - -// GetMappingPoolSummaryPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingPoolSummaryPoolTypeEnum(val string) (PoolSummaryPoolTypeEnum, bool) { - enum, ok := mappingPoolSummaryPoolTypeEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go deleted file mode 100644 index 2f8b0a2e9b..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// ProfileCollection List of ProfileSummary. -type ProfileCollection struct { - - // List of ProfileSummary. - Items []ProfileSummary `mandatory:"true" json:"items"` -} - -func (m ProfileCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ProfileCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go deleted file mode 100644 index d69990c00d..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/profile_summary.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// ProfileSummary complete profile details. It will be in key-value format. -type ProfileSummary struct { - - // The profile name. - Name *string `mandatory:"true" json:"name"` - - // Configuration values associated with profile in key-value pairs - Values *interface{} `mandatory:"false" json:"values"` -} - -func (m ProfileSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ProfileSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go deleted file mode 100644 index 71cdfa1e8b..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/reserved_and_used_count.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// ReservedAndUsedCount Reserved and used count for compute instances. -type ReservedAndUsedCount struct { - - // Reserved compute instances count. - ReservedCount *int `mandatory:"true" json:"reservedCount"` - - // Reserved compute instances count. - UsedCount *int `mandatory:"true" json:"usedCount"` -} - -func (m ReservedAndUsedCount) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m ReservedAndUsedCount) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go index f253ea3840..7b0e213234 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go @@ -12,6 +12,10 @@ import ( ) // StartExportToObjectRequest wrapper for the StartExportToObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartExportToObject.go.html to see an example of how to use StartExportToObjectRequest. type StartExportToObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go index 1e5f52d9ac..beb01e8c83 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go @@ -12,6 +12,10 @@ import ( ) // StartImportFromObjectRequest wrapper for the StartImportFromObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StartImportFromObject.go.html to see an example of how to use StartImportFromObjectRequest. type StartImportFromObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go index a3eb2f53d8..34c51040c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go @@ -12,6 +12,10 @@ import ( ) // StopExportToObjectRequest wrapper for the StopExportToObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopExportToObject.go.html to see an example of how to use StopExportToObjectRequest. type StopExportToObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go index 51c82f3d86..d3584f2cf3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go @@ -12,6 +12,10 @@ import ( ) // StopImportFromObjectRequest wrapper for the StopImportFromObject operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/StopImportFromObject.go.html to see an example of how to use StopImportFromObjectRequest. type StopImportFromObjectRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go deleted file mode 100644 index 6d81472249..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_configuration_summary.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// TenancyConfigurationSummary Details of the tenancy configuration -type TenancyConfigurationSummary struct { - - // The tenancy OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - TenancyId *string `mandatory:"true" json:"tenancyId"` - - // The profile name which is applicable for the given tenancy. - Profile *string `mandatory:"false" json:"profile"` - - CapacityReservations *CapacityReservationsCollection `mandatory:"false" json:"capacityReservations"` -} - -func (m TenancyConfigurationSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m TenancyConfigurationSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go deleted file mode 100644 index 14e215fb88..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// TenancyOverride A construct that stores configuration and capacity reservation overrides for a tenant. -type TenancyOverride struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenancyId *string `mandatory:"true" json:"tenancyId"` - - // The list of overrides for a tenant. - Overrides []interface{} `mandatory:"true" json:"overrides"` -} - -func (m TenancyOverride) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m TenancyOverride) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go deleted file mode 100644 index ea6c5682bb..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_collection.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// TenancyOverrideCollection Results of a Tenancy Override search. Contains TenancyOverride items. -type TenancyOverrideCollection struct { - - // List of Tenancy Override Summary. - Items []TenancyOverrideSummary `mandatory:"true" json:"items"` -} - -func (m TenancyOverrideCollection) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m TenancyOverrideCollection) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go deleted file mode 100644 index 835a99fbef..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/tenancy_override_summary.go +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// TenancyOverrideSummary A construct that stores configuration and capacity reservation overrides for a tenant. -type TenancyOverrideSummary struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenancyId *string `mandatory:"true" json:"tenancyId"` - - // The list of overrides for a tenant. - Overrides []interface{} `mandatory:"true" json:"overrides"` -} - -func (m TenancyOverrideSummary) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m TenancyOverrideSummary) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go deleted file mode 100644 index 9c6132b1d7..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_details.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UnpauseSyncJobDetails Details about un-pausing an object sync job. -type UnpauseSyncJobDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of currently running job. - SyncJobId *string `mandatory:"true" json:"syncJobId"` -} - -func (m UnpauseSyncJobDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UnpauseSyncJobDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go deleted file mode 100644 index 7e4acf3708..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/unpause_sync_job_request_response.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UnpauseSyncJobRequest wrapper for the UnpauseSyncJob operation -type UnpauseSyncJobRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. - ObjectStorageLinkId *string `mandatory:"true" contributesTo:"path" name:"objectStorageLinkId"` - - // The information needed to start the export to Object Storage. - UnpauseSyncJobDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // A token that uniquely identifies a request so it can be retried in case of a timeout or - // server error without risk of running that same action again. Retry tokens expire after 24 - // hours, but can be invalidated before then due to conflicting operations. For example, if a resource - // has been deleted and removed from the system, then a retry of the original creation request - // might be rejected. - OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UnpauseSyncJobRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UnpauseSyncJobRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UnpauseSyncJobRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UnpauseSyncJobRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UnpauseSyncJobRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UnpauseSyncJobResponse wrapper for the UnpauseSyncJob operation -type UnpauseSyncJobResponse struct { - - // The underlying http response - RawResponse *http.Response - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UnpauseSyncJobResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UnpauseSyncJobResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go deleted file mode 100644 index 178676d433..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_details.go +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UpdateCapacityReservationInfoDetails The data required for updating a Capacity Reservation Info. -type UpdateCapacityReservationInfoDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. Use empty string to unset the value. - CustomerCpgId *string `mandatory:"false" json:"customerCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. Use empty string to unset the value. - CustomerTenancyId *string `mandatory:"false" json:"customerTenancyId"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableBlockCapacityInGBs *int64 `mandatory:"false" json:"availableBlockCapacityInGBs"` - - DesiredComputeCount *DesiredComputeCount `mandatory:"false" json:"desiredComputeCount"` - - // If set to true, update capacity requests would not be sent. - IsUpdateRequestPaused *bool `mandatory:"false" json:"isUpdateRequestPaused"` - - // A list of CPG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) with block capacity - // A maximum of 10 is allowed. - BlockCpgIds []string `mandatory:"false" json:"blockCpgIds"` -} - -func (m UpdateCapacityReservationInfoDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateCapacityReservationInfoDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go deleted file mode 100644 index aa5bc960a8..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_capacity_reservation_info_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UpdateCapacityReservationInfoRequest wrapper for the UpdateCapacityReservationInfo operation -type UpdateCapacityReservationInfoRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"true" contributesTo:"path" name:"capacityReservationId"` - - // The information to be updated. - UpdateCapacityReservationInfoDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateCapacityReservationInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateCapacityReservationInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateCapacityReservationInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateCapacityReservationInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateCapacityReservationInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateCapacityReservationInfoResponse wrapper for the UpdateCapacityReservationInfo operation -type UpdateCapacityReservationInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CapacityReservationInfo instance - CapacityReservationInfo `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UpdateCapacityReservationInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateCapacityReservationInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go deleted file mode 100644 index 45ef0da473..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_details.go +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UpdateCpgOverrideDetails The data required for updating a CPG Override. -type UpdateCpgOverrideDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"false" json:"lfsCpgId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capacity reservation. - CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer tenancy. - CustomerTenancyId *string `mandatory:"false" json:"customerTenancyId"` -} - -func (m UpdateCpgOverrideDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateCpgOverrideDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go deleted file mode 100644 index cd2d8f0981..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_cpg_override_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UpdateCpgOverrideRequest wrapper for the UpdateCpgOverride operation -type UpdateCpgOverrideRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer CPG. - CustomerCpgId *string `mandatory:"true" contributesTo:"path" name:"customerCpgId"` - - // The information to be updated. - UpdateCpgOverrideDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateCpgOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateCpgOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateCpgOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateCpgOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateCpgOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateCpgOverrideResponse wrapper for the UpdateCpgOverride operation -type UpdateCpgOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The CpgOverride instance - CpgOverride `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UpdateCpgOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateCpgOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go deleted file mode 100644 index 838b683175..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_details.go +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UpdateLfsCpgInfoDetails The data required for creating a LFS CPG Info. -type UpdateLfsCpgInfoDetails struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default capacity reservation. - DefaultCapacityReservationId *string `mandatory:"false" json:"defaultCapacityReservationId"` - - // The availability domain the Management Cell is in. May be unset - // as a blank or NULL value. - // Example: `Uocm:PHX-AD-1` - AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` -} - -func (m UpdateLfsCpgInfoDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateLfsCpgInfoDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go deleted file mode 100644 index df0d6e4f12..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lfs_cpg_info_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UpdateLfsCpgInfoRequest wrapper for the UpdateLfsCpgInfo operation -type UpdateLfsCpgInfoRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LFS service CPG. - LfsCpgId *string `mandatory:"true" contributesTo:"path" name:"lfsCpgId"` - - // The information to be updated. - UpdateLfsCpgInfoDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateLfsCpgInfoRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateLfsCpgInfoRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateLfsCpgInfoRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateLfsCpgInfoRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateLfsCpgInfoRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateLfsCpgInfoResponse wrapper for the UpdateLfsCpgInfo operation -type UpdateLfsCpgInfoResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The LfsCpgInfo instance - LfsCpgInfo `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UpdateLfsCpgInfoResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateLfsCpgInfoResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go index 8894bf015c..f03549f60f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go @@ -12,6 +12,10 @@ import ( ) // UpdateLustreFileSystemRequest wrapper for the UpdateLustreFileSystem operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateLustreFileSystem.go.html to see an example of how to use UpdateLustreFileSystemRequest. type UpdateLustreFileSystemRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go deleted file mode 100644 index 079242fe31..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_details.go +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UpdateManagementCellDetails The data required for updating a ManagementCell. -type UpdateManagementCellDetails struct { - - // The current state of the Management cell. - LifecycleState UpdateManagementCellDetailsLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` - - // ManagementCell can be categorized based on the customer filesystems it is hosting. - // Example: `RESTRICTED` category cell is restricted for use by only one customer - Category UpdateManagementCellDetailsCategoryEnum `mandatory:"false" json:"category,omitempty"` - - // Provisional cell capacity available for creating new filesystems on the cell. Measured in GB. - AvailableCapacityInGBs *int64 `mandatory:"false" json:"availableCapacityInGBs"` - - // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Department": "Finance"}` - FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - - // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - // Example: `{"Operations": {"CostCenter": "42"}}` - DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - - Details *Details `mandatory:"false" json:"details"` -} - -func (m UpdateManagementCellDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateManagementCellDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := GetMappingUpdateManagementCellDetailsLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetUpdateManagementCellDetailsLifecycleStateEnumStringValues(), ","))) - } - if _, ok := GetMappingUpdateManagementCellDetailsCategoryEnum(string(m.Category)); !ok && m.Category != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", m.Category, strings.Join(GetUpdateManagementCellDetailsCategoryEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateManagementCellDetailsLifecycleStateEnum Enum with underlying type: string -type UpdateManagementCellDetailsLifecycleStateEnum string - -// Set of constants representing the allowable values for UpdateManagementCellDetailsLifecycleStateEnum -const ( - UpdateManagementCellDetailsLifecycleStateCreating UpdateManagementCellDetailsLifecycleStateEnum = "CREATING" - UpdateManagementCellDetailsLifecycleStateActive UpdateManagementCellDetailsLifecycleStateEnum = "ACTIVE" - UpdateManagementCellDetailsLifecycleStateInactive UpdateManagementCellDetailsLifecycleStateEnum = "INACTIVE" - UpdateManagementCellDetailsLifecycleStateDeleted UpdateManagementCellDetailsLifecycleStateEnum = "DELETED" -) - -var mappingUpdateManagementCellDetailsLifecycleStateEnum = map[string]UpdateManagementCellDetailsLifecycleStateEnum{ - "CREATING": UpdateManagementCellDetailsLifecycleStateCreating, - "ACTIVE": UpdateManagementCellDetailsLifecycleStateActive, - "INACTIVE": UpdateManagementCellDetailsLifecycleStateInactive, - "DELETED": UpdateManagementCellDetailsLifecycleStateDeleted, -} - -var mappingUpdateManagementCellDetailsLifecycleStateEnumLowerCase = map[string]UpdateManagementCellDetailsLifecycleStateEnum{ - "creating": UpdateManagementCellDetailsLifecycleStateCreating, - "active": UpdateManagementCellDetailsLifecycleStateActive, - "inactive": UpdateManagementCellDetailsLifecycleStateInactive, - "deleted": UpdateManagementCellDetailsLifecycleStateDeleted, -} - -// GetUpdateManagementCellDetailsLifecycleStateEnumValues Enumerates the set of values for UpdateManagementCellDetailsLifecycleStateEnum -func GetUpdateManagementCellDetailsLifecycleStateEnumValues() []UpdateManagementCellDetailsLifecycleStateEnum { - values := make([]UpdateManagementCellDetailsLifecycleStateEnum, 0) - for _, v := range mappingUpdateManagementCellDetailsLifecycleStateEnum { - values = append(values, v) - } - return values -} - -// GetUpdateManagementCellDetailsLifecycleStateEnumStringValues Enumerates the set of values in String for UpdateManagementCellDetailsLifecycleStateEnum -func GetUpdateManagementCellDetailsLifecycleStateEnumStringValues() []string { - return []string{ - "CREATING", - "ACTIVE", - "INACTIVE", - "DELETED", - } -} - -// GetMappingUpdateManagementCellDetailsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingUpdateManagementCellDetailsLifecycleStateEnum(val string) (UpdateManagementCellDetailsLifecycleStateEnum, bool) { - enum, ok := mappingUpdateManagementCellDetailsLifecycleStateEnumLowerCase[strings.ToLower(val)] - return enum, ok -} - -// UpdateManagementCellDetailsCategoryEnum Enum with underlying type: string -type UpdateManagementCellDetailsCategoryEnum string - -// Set of constants representing the allowable values for UpdateManagementCellDetailsCategoryEnum -const ( - UpdateManagementCellDetailsCategoryGeneral UpdateManagementCellDetailsCategoryEnum = "GENERAL" - UpdateManagementCellDetailsCategoryInternal UpdateManagementCellDetailsCategoryEnum = "INTERNAL" - UpdateManagementCellDetailsCategoryRestricted UpdateManagementCellDetailsCategoryEnum = "RESTRICTED" -) - -var mappingUpdateManagementCellDetailsCategoryEnum = map[string]UpdateManagementCellDetailsCategoryEnum{ - "GENERAL": UpdateManagementCellDetailsCategoryGeneral, - "INTERNAL": UpdateManagementCellDetailsCategoryInternal, - "RESTRICTED": UpdateManagementCellDetailsCategoryRestricted, -} - -var mappingUpdateManagementCellDetailsCategoryEnumLowerCase = map[string]UpdateManagementCellDetailsCategoryEnum{ - "general": UpdateManagementCellDetailsCategoryGeneral, - "internal": UpdateManagementCellDetailsCategoryInternal, - "restricted": UpdateManagementCellDetailsCategoryRestricted, -} - -// GetUpdateManagementCellDetailsCategoryEnumValues Enumerates the set of values for UpdateManagementCellDetailsCategoryEnum -func GetUpdateManagementCellDetailsCategoryEnumValues() []UpdateManagementCellDetailsCategoryEnum { - values := make([]UpdateManagementCellDetailsCategoryEnum, 0) - for _, v := range mappingUpdateManagementCellDetailsCategoryEnum { - values = append(values, v) - } - return values -} - -// GetUpdateManagementCellDetailsCategoryEnumStringValues Enumerates the set of values in String for UpdateManagementCellDetailsCategoryEnum -func GetUpdateManagementCellDetailsCategoryEnumStringValues() []string { - return []string{ - "GENERAL", - "INTERNAL", - "RESTRICTED", - } -} - -// GetMappingUpdateManagementCellDetailsCategoryEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingUpdateManagementCellDetailsCategoryEnum(val string) (UpdateManagementCellDetailsCategoryEnum, bool) { - enum, ok := mappingUpdateManagementCellDetailsCategoryEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go deleted file mode 100644 index fb5b98c7ff..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_management_cell_request_response.go +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UpdateManagementCellRequest wrapper for the UpdateManagementCell operation -type UpdateManagementCellRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ManagementCell. - ManagementCellId *string `mandatory:"true" contributesTo:"path" name:"managementCellId"` - - // The information to be updated. - UpdateManagementCellDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateManagementCellRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateManagementCellRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateManagementCellRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateManagementCellRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateManagementCellRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateManagementCellResponse wrapper for the UpdateManagementCell operation -type UpdateManagementCellResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. - // Use GetWorkRequest with this ID to track the status of the request. - OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UpdateManagementCellResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateManagementCellResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go index bd822e5b28..9f6373afba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go @@ -12,6 +12,10 @@ import ( ) // UpdateObjectStorageLinkRequest wrapper for the UpdateObjectStorageLink operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/UpdateObjectStorageLink.go.html to see an example of how to use UpdateObjectStorageLinkRequest. type UpdateObjectStorageLinkRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Object Storage link. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go deleted file mode 100644 index 2ae820a070..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_details.go +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UpdatePoolDetails The data required for updating a Pool. -type UpdatePoolDetails struct { - - // The type of pool - PoolType UpdatePoolDetailsPoolTypeEnum `mandatory:"false" json:"poolType,omitempty"` - - // Name of the pool - PoolName *string `mandatory:"false" json:"poolName"` - - // List of customer tenancies it is dedicated for - DedicatedCustomerTenancies []string `mandatory:"false" json:"dedicatedCustomerTenancies"` - - // The name of the site group this pool is associated with - SiteGroup *string `mandatory:"false" json:"siteGroup"` - - // List of customer tenancies it is dedicated for - Tags []string `mandatory:"false" json:"tags"` - - // List of customer tenancies it is dedicated for - Resources []interface{} `mandatory:"false" json:"resources"` - - // The pools that have affinity with this pool. - PoolAffinities *interface{} `mandatory:"false" json:"poolAffinities"` -} - -func (m UpdatePoolDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdatePoolDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if _, ok := GetMappingUpdatePoolDetailsPoolTypeEnum(string(m.PoolType)); !ok && m.PoolType != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PoolType: %s. Supported values are: %s.", m.PoolType, strings.Join(GetUpdatePoolDetailsPoolTypeEnumStringValues(), ","))) - } - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdatePoolDetailsPoolTypeEnum Enum with underlying type: string -type UpdatePoolDetailsPoolTypeEnum string - -// Set of constants representing the allowable values for UpdatePoolDetailsPoolTypeEnum -const ( - UpdatePoolDetailsPoolTypeCompute UpdatePoolDetailsPoolTypeEnum = "COMPUTE" - UpdatePoolDetailsPoolTypeBlock UpdatePoolDetailsPoolTypeEnum = "BLOCK" -) - -var mappingUpdatePoolDetailsPoolTypeEnum = map[string]UpdatePoolDetailsPoolTypeEnum{ - "COMPUTE": UpdatePoolDetailsPoolTypeCompute, - "BLOCK": UpdatePoolDetailsPoolTypeBlock, -} - -var mappingUpdatePoolDetailsPoolTypeEnumLowerCase = map[string]UpdatePoolDetailsPoolTypeEnum{ - "compute": UpdatePoolDetailsPoolTypeCompute, - "block": UpdatePoolDetailsPoolTypeBlock, -} - -// GetUpdatePoolDetailsPoolTypeEnumValues Enumerates the set of values for UpdatePoolDetailsPoolTypeEnum -func GetUpdatePoolDetailsPoolTypeEnumValues() []UpdatePoolDetailsPoolTypeEnum { - values := make([]UpdatePoolDetailsPoolTypeEnum, 0) - for _, v := range mappingUpdatePoolDetailsPoolTypeEnum { - values = append(values, v) - } - return values -} - -// GetUpdatePoolDetailsPoolTypeEnumStringValues Enumerates the set of values in String for UpdatePoolDetailsPoolTypeEnum -func GetUpdatePoolDetailsPoolTypeEnumStringValues() []string { - return []string{ - "COMPUTE", - "BLOCK", - } -} - -// GetMappingUpdatePoolDetailsPoolTypeEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingUpdatePoolDetailsPoolTypeEnum(val string) (UpdatePoolDetailsPoolTypeEnum, bool) { - enum, ok := mappingUpdatePoolDetailsPoolTypeEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go deleted file mode 100644 index ad854db70b..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_pool_request_response.go +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UpdatePoolRequest wrapper for the UpdatePool operation -type UpdatePoolRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool. - PoolId *string `mandatory:"true" contributesTo:"path" name:"poolId"` - - // The information to be updated. - UpdatePoolDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdatePoolRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdatePoolRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdatePoolRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdatePoolRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdatePoolRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdatePoolResponse wrapper for the UpdatePool operation -type UpdatePoolResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The Pool instance - Pool `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UpdatePoolResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdatePoolResponse) HTTPResponse() *http.Response { - return response.RawResponse -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go deleted file mode 100644 index d36d47c243..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_details.go +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -// File Storage with Lustre API -// -// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). -// - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "strings" -) - -// UpdateTenancyOverrideDetails The data required for updating a Tenancy Override. -type UpdateTenancyOverrideDetails struct { - - // The override for a tenant. - Override *interface{} `mandatory:"true" json:"override"` -} - -func (m UpdateTenancyOverrideDetails) String() string { - return common.PointerString(m) -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (m UpdateTenancyOverrideDetails) ValidateEnumValue() (bool, error) { - errMessage := []string{} - - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go deleted file mode 100644 index cc4ee63d47..0000000000 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_tenancy_override_request_response.go +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. -// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. -// Code generated. DO NOT EDIT. - -package lustrefilestorage - -import ( - "fmt" - "github.com/oracle/oci-go-sdk/v65/common" - "net/http" - "strings" -) - -// UpdateTenancyOverrideRequest wrapper for the UpdateTenancyOverride operation -type UpdateTenancyOverrideRequest struct { - - // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. - TenantId *string `mandatory:"true" contributesTo:"path" name:"tenantId"` - - // The ID associated with an override. - OverrideId *string `mandatory:"true" contributesTo:"path" name:"overrideId"` - - // The information to be updated. - UpdateTenancyOverrideDetails `contributesTo:"body"` - - // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the - // `if-match` parameter to the value of the etag from a previous GET or POST response for - // that resource. The resource will be updated or deleted only if the etag you provide - // matches the resource's current etag value. - IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - // The only valid characters for request IDs are letters, numbers, - // underscore, and dash. - OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - - // Metadata about the request. This information will not be transmitted to the service, but - // represents information that the SDK will consume to drive retry behavior. - RequestMetadata common.RequestMetadata -} - -func (request UpdateTenancyOverrideRequest) String() string { - return common.PointerString(request) -} - -// HTTPRequest implements the OCIRequest interface -func (request UpdateTenancyOverrideRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { - - _, err := request.ValidateEnumValue() - if err != nil { - return http.Request{}, err - } - return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) -} - -// BinaryRequestBody implements the OCIRequest interface -func (request UpdateTenancyOverrideRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { - - return nil, false - -} - -// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. -func (request UpdateTenancyOverrideRequest) RetryPolicy() *common.RetryPolicy { - return request.RequestMetadata.RetryPolicy -} - -// ValidateEnumValue returns an error when providing an unsupported enum value -// This function is being called during constructing API request process -// Not recommended for calling this function directly -func (request UpdateTenancyOverrideRequest) ValidateEnumValue() (bool, error) { - errMessage := []string{} - if len(errMessage) > 0 { - return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) - } - return false, nil -} - -// UpdateTenancyOverrideResponse wrapper for the UpdateTenancyOverride operation -type UpdateTenancyOverrideResponse struct { - - // The underlying http response - RawResponse *http.Response - - // The TenancyOverride instance - TenancyOverride `presentIn:"body"` - - // Unique Oracle-assigned identifier for the request. If you need to contact - // Oracle about a particular request, please provide the request ID. - OpcRequestId *string `presentIn:"header" name:"opc-request-id"` -} - -func (response UpdateTenancyOverrideResponse) String() string { - return common.PointerString(response) -} - -// HTTPResponse implements the OCIResponse interface -func (response UpdateTenancyOverrideResponse) HTTPResponse() *http.Response { - return response.RawResponse -} From b7f35a7ffc21b45045b92e45564130a701c903e2 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Tue, 17 Feb 2026 14:58:21 +0530 Subject: [PATCH 15/27] Adding lustre controller driver OSS enablement --- cmd/oci-csi-controller-driver/main.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cmd/oci-csi-controller-driver/main.go b/cmd/oci-csi-controller-driver/main.go index 940216c869..90d53f781f 100644 --- a/cmd/oci-csi-controller-driver/main.go +++ b/cmd/oci-csi-controller-driver/main.go @@ -16,6 +16,8 @@ package main import ( "flag" + "os" + "strings" "time" csicontrollerdriver "github.com/oracle/oci-cloud-controller-manager/cmd/oci-csi-controller-driver/csi-controller-driver" @@ -33,6 +35,7 @@ func main() { csiOptions := csioptions.CSIOptions{} flag.StringVar(&csiOptions.Endpoint, "endpoint", "unix://tmp/csi.sock", "CSI endpoint") flag.StringVar(&csiOptions.FssEndpoint, "fss-csi-endpoint", "unix://tmp/csi-fss.sock", "CSI FSS endpoint") + flag.StringVar(&csiOptions.LustreEndpoint, "lustre-csi-endpoint", "unix://tmp/csi-lustre.sock", "CSI Lustre endpoint") flag.StringVar(&csiOptions.Master, "master", "", "kube master") flag.StringVar(&csiOptions.Kubeconfig, "kubeconfig", "", "cluster kubeconfig") flag.Parse() @@ -63,5 +66,14 @@ func main() { go csicontrollerdriver.StartControllerDriver(csiOptions, driver.BV) go csicontrollerdriver.StartControllerDriver(csiOptions, driver.FSS) + + if IsLustreControllerDriverEnabled() { + go csicontrollerdriver.StartControllerDriver(csiOptions, driver.Lustre) + } + <-stopCh } + +func IsLustreControllerDriverEnabled() bool { + return strings.EqualFold(os.Getenv("LUSTRE_CSI_CONTROLLER_DRIVER_ENABLED"), "true") +} From 25866ee55424b6cc4ce79ce9091d3b056754fab3 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Fri, 6 Mar 2026 09:33:28 +0530 Subject: [PATCH 16/27] Fixing bug in e2e test for load balancer --- test/e2e/cloud-provider-oci/load_balancer.go | 2 +- test/e2e/framework/framework.go | 52 ++++++++++---------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/test/e2e/cloud-provider-oci/load_balancer.go b/test/e2e/cloud-provider-oci/load_balancer.go index f1eb4e9685..47ada184f6 100644 --- a/test/e2e/cloud-provider-oci/load_balancer.go +++ b/test/e2e/cloud-provider-oci/load_balancer.go @@ -844,7 +844,7 @@ var _ = Describe("ESIPP - IpMode Proxy [Slow]", func() { var srcIP, expectedIP string By(fmt.Sprintf("Hitting external lb %v from pod %v (%v) on node %v", ingressIP, podName, execPod.Status.PodIP, nodeName)) if pollErr := wait.PollImmediate(sharedfw.K8sResourcePoll, 5*time.Minute, func() (bool, error) { - expectedIP = execPod.Spec.NodeName // Node IP + expectedIP = execPod.Status.HostIP // Node IP stdout, err := sharedfw.RunHostCmd(execPod.Namespace, execPod.Name, cmd) if err != nil { diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index 5ab34703eb..a2401fcfe5 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -34,7 +34,7 @@ const ( // test suite before giving up. DefaultTimeout = 15 * time.Minute // Some pods can take much longer to get ready due to volume attach/detach latency. - slowPodStartTimeout = 7 * time.Minute + slowPodStartTimeout = 15 * time.Minute JobCompletionTimeout = 5 * time.Minute deploymentAvailableTimeout = 5 * time.Minute @@ -43,22 +43,22 @@ const ( DefaultClusterKubeconfig = "/tmp/clusterkubeconfig" DefaultCloudConfig = "/tmp/cloudconfig" - ClassOCI = "oci" - ClassOCICSI = "oci-bv" - ClassCustom = "oci-bv-custom" - ClassOCICSIExpand = "oci-bv-expand" - ClassOCILowCost = "oci-bv-low" - ClassOCIBalanced = "oci-bal" - ClassOCIHigh = "oci-bv-high" - ClassOCIUHP = "oci-uhp" - ClassOCIKMS = "oci-kms" - ClassOCIExt3 = "oci-ext3" - ClassOCIXfs = "oci-xfs" - ClassFssDynamic = "oci-file-storage-test" - ClassSnapshot = "oci-snapshot-sc" - MinVolumeBlock = "50Gi" - MaxVolumeBlock = "100Gi" - VolumeFss = "1Gi" + ClassOCI = "oci" + ClassOCICSI = "oci-bv" + ClassCustom = "oci-bv-custom" + ClassOCICSIExpand = "oci-bv-expand" + ClassOCILowCost = "oci-bv-low" + ClassOCIBalanced = "oci-bal" + ClassOCIHigh = "oci-bv-high" + ClassOCIUHP = "oci-uhp" + ClassOCIKMS = "oci-kms" + ClassOCIExt3 = "oci-ext3" + ClassOCIXfs = "oci-xfs" + ClassFssDynamic = "oci-file-storage-test" + ClassSnapshot = "oci-snapshot-sc" + MinVolumeBlock = "50Gi" + MaxVolumeBlock = "100Gi" + VolumeFss = "1Gi" VSClassDefault = "oci-snapclass" NodeHostnameLabel = "kubernetes.io/hostname" @@ -87,7 +87,7 @@ var ( reservedIP string // Testing public reserved IP feature architecture string volumeHandle string // The FSS mount volume handle - lustreVolumeHandle string // The Lustre mount volume handle + lustreVolumeHandle string // The Lustre mount volume handle lustreSubnetCidr string // The Lustre Subnet Cidr enableLustreTests bool // Flag to enable disable lustre tests lustreWorkerNodeImage string // Ocid of worker node image having backed in lustre clients to create separate nodepool @@ -95,9 +95,9 @@ var ( lustreSubnet string lustreAD string staticSnapshotCompartmentOCID string // Compartment ID for cross compartment snapshot test - customDriverHandle string // Custom driver handle for custom CSI driver installation + customDriverHandle string // Custom driver handle for custom CSI driver installation runUhpE2E bool // Whether to run UHP E2Es, requires Volume Management Plugin enabled on the node and 16+ cores (check blockvolumeperformance public doc for the exact requirements) - enableParallelRun bool + enableParallelRun bool addOkeSystemTags bool clusterID string // Ocid of the newly created E2E cluster clusterType string // Cluster type can be BASIC_CLUSTER or ENHANCED_CLUSTER (Default: BASIC_CLUSTER) @@ -175,7 +175,7 @@ type Framework struct { ReservedIP string Architecture string - VolumeHandle string + VolumeHandle string LustreVolumeHandle string LustreSubnetCidr string @@ -188,11 +188,11 @@ type Framework struct { // Compartment ID for cross compartment snapshot test StaticSnapshotCompartmentOcid string RunUhpE2E bool - CustomDriverHandle string - BlockProvisionerName string - FSSProvisionerName string + CustomDriverHandle string + BlockProvisionerName string + FSSProvisionerName string LustreProvisionerName string - AddOkeSystemTags bool + AddOkeSystemTags bool } // New creates a new a framework that holds the context of the test @@ -224,7 +224,7 @@ func NewWithConfig() *Framework { EnableLustreTests: enableLustreTests, StaticSnapshotCompartmentOcid: staticSnapshotCompartmentOCID, RunUhpE2E: runUhpE2E, - CustomDriverHandle: customDriverHandle, + CustomDriverHandle: customDriverHandle, AddOkeSystemTags: addOkeSystemTags, ClusterType: clusterTypeEnum, } From 43367143c2dc6311a4993902d86d85b2a49f45a0 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Fri, 6 Mar 2026 09:34:45 +0530 Subject: [PATCH 17/27] Fixing bug in lustre node driver to pick correct node internal ip for subnet setup --- pkg/csi-util/utils.go | 13 +++++++++++-- pkg/csi/driver/lustre_node.go | 24 ++++++++++++------------ 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/pkg/csi-util/utils.go b/pkg/csi-util/utils.go index e900833348..82ad59cc70 100644 --- a/pkg/csi-util/utils.go +++ b/pkg/csi-util/utils.go @@ -17,7 +17,6 @@ package csi_util import ( "context" "fmt" - "net" "os" "os/exec" @@ -91,7 +90,6 @@ const ( RawBlockStagingFile = "mountfile" AvailabilityDomainLabel = "csi-ipv6-full-ad-name" - ) // Util interface @@ -116,6 +114,7 @@ type NodeMetadata struct { Ipv6Enabled bool AvailabilityDomain string FullAvailabilityDomain string + NodeInternalIP string IsNodeMetadataLoaded bool } @@ -173,6 +172,15 @@ func (u *Util) LoadNodeMetadataFromApiServer(ctx context.Context, k kubernetes.I return fmt.Errorf("Failed to get node information from kube api server, please check if kube api server is accessible.") } + if node.Status.Addresses != nil { + for _, address := range node.Status.Addresses { + if address.Type == kubeAPI.NodeInternalIP { + nodeMetadata.NodeInternalIP = address.Address + break + } + } + } + var ok bool if node.Labels != nil { nodeMetadata.AvailabilityDomain, ok = node.Labels[kubeAPI.LabelTopologyZone] @@ -193,6 +201,7 @@ func (u *Util) LoadNodeMetadataFromApiServer(ctx context.Context, k kubernetes.I nodeMetadata.Ipv6Enabled = true } } + if !nodeMetadata.Ipv4Enabled && !nodeMetadata.Ipv6Enabled { nodeMetadata.PreferredNodeIpFamily = Ipv4Stack nodeMetadata.Ipv4Enabled = true diff --git a/pkg/csi/driver/lustre_node.go b/pkg/csi/driver/lustre_node.go index 57c503f078..8beb1bd439 100644 --- a/pkg/csi/driver/lustre_node.go +++ b/pkg/csi/driver/lustre_node.go @@ -45,8 +45,10 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") } - d.loadCSIConfig(ctx) + if !d.nodeMetadata.IsNodeMetadataLoaded { + d.util.LoadNodeMetadataFromApiServer(ctx, d.KubeClient, d.nodeID, d.nodeMetadata) + } if lustrePostMountParameters, exists := req.GetVolumeContext()["lustrePostMountParameters"]; exists && !isSkipLustreParams(d.csiConfig) { if err := csi_util.ValidateLustreParameters(d.logger, lustrePostMountParameters); err != nil { @@ -69,10 +71,10 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag //Lnet Setup if setupLnet, ok := req.GetVolumeContext()[SetupLnet]; ok && setupLnet == "true" { - lustreSubnetCIDR, ok := req.GetVolumeContext()[LustreSubnetCidr] + lustreSubnetCIDR, ok := req.GetVolumeContext()[LustreSubnetCidr] if !ok { - lustreSubnetCIDR = fmt.Sprintf("%s/32", d.nodeID) + lustreSubnetCIDR = fmt.Sprintf("%s/32", d.nodeMetadata.NodeInternalIP) } err := lnetService.SetupLnet(logger, lustreSubnetCIDR, lnetLabel) @@ -94,8 +96,6 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag mounter := mount.New(mountPath) - - targetPath := req.StagingTargetPath mountPoint, err := isMountPoint(mounter, targetPath) if err != nil { @@ -134,7 +134,7 @@ func (d LustreNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStag if lustrePostMountParameters, exists := req.GetVolumeContext()["lustrePostMountParameters"]; exists { d.loadCSIConfig(ctx) - if !isSkipLustreParams(d.csiConfig) { + if !isSkipLustreParams(d.csiConfig) { err = lnetService.ApplyLustreParameters(logger, lustrePostMountParameters) if err != nil { //Unmounting volume on error as we are failing NodeStageVolume. If we don't unmount and customer deletes workload then volume will remain mounted as NodeUnstageVolume won't be called. @@ -160,7 +160,6 @@ func (d LustreNodeDriver) loadCSIConfig(ctx context.Context) { d.csiConfig.IsLoaded = true } - func (d LustreNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.NodeUnstageVolumeRequest) (*csi.NodeUnstageVolumeResponse, error) { if req.VolumeId == "" { @@ -219,7 +218,7 @@ func (d LustreNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.NodeUn logger.With("StagingTargetPath", targetPath).Infof("mount point does not exist") return &csi.NodeUnstageVolumeResponse{}, nil } - return nil, status.Error(codes.Internal, err.Error()) + return nil, status.Error(codes.Internal, err.Error()) } if !isMountPoint { @@ -227,7 +226,7 @@ func (d LustreNodeDriver) NodeUnstageVolume(ctx context.Context, req *csi.NodeUn err = os.RemoveAll(targetPath) if err != nil { logger.With(zap.Error(err)).Error("Remove target path failed with error") - return nil, status.Error(codes.Internal, "Failed to remove target path") + return nil, status.Error(codes.Internal, "Failed to remove target path") } return &csi.NodeUnstageVolumeResponse{}, nil } @@ -255,7 +254,6 @@ func (d LustreNodeDriver) NodePublishVolume(ctx context.Context, req *csi.NodePu return nil, status.Error(codes.InvalidArgument, "Target Path must be provided") } - logger := d.logger.With("volumeID", req.VolumeId) logger.Debugf("volume context: %v", req.VolumeContext) @@ -264,7 +262,9 @@ func (d LustreNodeDriver) NodePublishVolume(ctx context.Context, req *csi.NodePu if !isValidVolumeId { return nil, status.Error(codes.InvalidArgument, "Invalid Volume Handle provided.") } - + if !d.nodeMetadata.IsNodeMetadataLoaded { + d.util.LoadNodeMetadataFromApiServer(ctx, d.KubeClient, d.nodeID, d.nodeMetadata) + } //Lnet Setup if setupLnet, ok := req.GetVolumeContext()[SetupLnet]; ok && setupLnet == "true" { @@ -273,7 +273,7 @@ func (d LustreNodeDriver) NodePublishVolume(ctx context.Context, req *csi.NodePu lustreSubnetCIDR, ok := req.GetVolumeContext()[LustreSubnetCidr] if !ok { - lustreSubnetCIDR = fmt.Sprintf("%s/32", d.nodeID) + lustreSubnetCIDR = fmt.Sprintf("%s/32", d.nodeMetadata.NodeInternalIP) } err := lnetService.SetupLnet(logger, lustreSubnetCIDR, lnetLabel) From ca3b25d59b12096cabac24c382ac7b520b843ce4 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Fri, 6 Mar 2026 13:51:26 +0530 Subject: [PATCH 18/27] upgrading oci go sdk to v65.109.0 --- THIRD_PARTY_LICENSES.txt | 2 +- go.mod | 42 +- go.sum | 83 +- .../e2e/framework/cloud_provider_framework.go | 2 +- test/e2e/framework/pvc_util.go | 14 +- test/e2e/framework/volumesnapshot_util.go | 2 +- .../e2e/framework/volumesnapshotclass_util.go | 8 +- vendor/github.com/gofrs/flock/.golangci.yml | 114 + vendor/github.com/gofrs/flock/.travis.yml | 10 - vendor/github.com/gofrs/flock/LICENSE | 1 + vendor/github.com/gofrs/flock/Makefile | 15 + vendor/github.com/gofrs/flock/README.md | 30 +- vendor/github.com/gofrs/flock/SECURITY.md | 21 + vendor/github.com/gofrs/flock/appveyor.yml | 25 - vendor/github.com/gofrs/flock/build.sh | 18 + vendor/github.com/gofrs/flock/flock.go | 8 +- vendor/github.com/gofrs/flock/flock_unix.go | 17 +- .../{flock_aix.go => flock_unix_variants.go} | 9 +- vendor/github.com/gofrs/flock/flock_winapi.go | 21 +- .../github.com/gofrs/flock/flock_windows.go | 9 +- .../google/go-cmp/cmp/cmpopts/sort.go | 64 +- .../go-cmp/cmp/internal/function/func.go | 7 + .../github.com/google/go-cmp/cmp/options.go | 10 +- .../github.com/klauspost/compress/README.md | 140 +- .../klauspost/compress/huff0/bitreader.go | 25 +- .../klauspost/compress/internal/le/le.go | 5 + .../compress/internal/le/unsafe_disabled.go | 42 + .../compress/internal/le/unsafe_enabled.go | 55 + vendor/github.com/klauspost/compress/s2sx.mod | 3 +- .../klauspost/compress/zstd/README.md | 2 +- .../klauspost/compress/zstd/bitreader.go | 37 +- .../klauspost/compress/zstd/blockdec.go | 19 - .../klauspost/compress/zstd/blockenc.go | 27 +- .../klauspost/compress/zstd/decoder.go | 3 +- .../klauspost/compress/zstd/enc_base.go | 2 +- .../compress/zstd/matchlen_generic.go | 11 +- .../klauspost/compress/zstd/seqdec.go | 2 +- .../klauspost/compress/zstd/seqdec_amd64.s | 64 +- .../klauspost/compress/zstd/seqdec_generic.go | 2 +- .../klauspost/compress/zstd/seqenc.go | 2 - .../klauspost/compress/zstd/snappy.go | 4 +- .../klauspost/compress/zstd/zstd.go | 7 +- .../apis/volumegroupsnapshot/v1alpha1/doc.go | 20 - .../volumegroupsnapshot/v1alpha1/register.go | 57 - .../volumegroupsnapshot/v1alpha1/types.go | 363 - .../v1alpha1/zz_generated.deepcopy.go | 398 - .../client/v6/apis/volumesnapshot/v1/doc.go | 20 - .../v6/apis/volumesnapshot/v1/register.go | 58 - .../client/v6/apis/volumesnapshot/v1/types.go | 456 - .../v1/zz_generated.deepcopy.go | 441 - .../v6/clientset/versioned/clientset.go | 133 - .../v6/clientset/versioned/scheme/doc.go | 20 - .../v6/clientset/versioned/scheme/register.go | 58 - .../typed/volumegroupsnapshot/v1alpha1/doc.go | 20 - .../v1alpha1/generated_expansion.go | 25 - .../v1alpha1/volumegroupsnapshot.go | 195 - .../v1alpha1/volumegroupsnapshot_client.go | 117 - .../v1alpha1/volumegroupsnapshotclass.go | 168 - .../v1alpha1/volumegroupsnapshotcontent.go | 184 - .../versioned/typed/volumesnapshot/v1/doc.go | 20 - .../volumesnapshot/v1/generated_expansion.go | 25 - .../typed/volumesnapshot/v1/volumesnapshot.go | 195 - .../v1/volumesnapshot_client.go | 117 - .../volumesnapshot/v1/volumesnapshotclass.go | 168 - .../v1/volumesnapshotcontent.go | 184 - .../oracle/oci-go-sdk/v65/LICENSE.txt | 6 +- .../oracle/oci-go-sdk/v65/NOTICE.txt | 2 +- .../v65/common/auth/certificate_retriever.go | 2 +- .../v65/common/auth/configuration.go | 2 +- .../v65/common/auth/dispatcher_modifier.go | 2 +- .../v65/common/auth/federation_client.go | 197 +- ...federation_client_oke_workload_identity.go | 22 +- ...nce_principal_delegation_token_provider.go | 2 +- .../auth/instance_principal_key_provider.go | 17 +- .../oracle/oci-go-sdk/v65/common/auth/jwt.go | 2 +- .../v65/common/auth/oauth2_provider.go | 82 + ...rce_principal_delegation_token_provider.go | 2 +- .../auth/resource_principal_key_provider.go | 2 +- .../resource_principal_token_path_provider.go | 2 +- .../v65/common/auth/resource_principals_v1.go | 2 +- .../v65/common/auth/resource_principals_v3.go | 2 +- .../oci-go-sdk/v65/common/auth/utils.go | 8 +- .../oci-go-sdk/v65/common/circuit_breaker.go | 2 +- .../oracle/oci-go-sdk/v65/common/client.go | 106 +- .../oracle/oci-go-sdk/v65/common/common.go | 52 +- .../oci-go-sdk/v65/common/configuration.go | 4 +- .../oracle/oci-go-sdk/v65/common/errors.go | 4 +- .../v65/common/eventual_consistency.go | 2 +- .../oracle/oci-go-sdk/v65/common/helpers.go | 41 +- .../oracle/oci-go-sdk/v65/common/http.go | 86 +- .../oci-go-sdk/v65/common/http_signer.go | 2 +- .../oracle/oci-go-sdk/v65/common/log.go | 2 +- .../v65/common/oci_http_transport_wrapper.go | 2 +- .../oracle/oci-go-sdk/v65/common/regions.go | 52 +- .../oracle/oci-go-sdk/v65/common/regions.json | 66 + .../oracle/oci-go-sdk/v65/common/retry.go | 2 +- .../oracle/oci-go-sdk/v65/common/sseReader.go | 2 +- .../v65/common/tls_config_provider.go | 2 +- .../v65/common/transport_template_provider.go | 2 +- .../v65/common/utils/opc_request_id.go | 2 +- .../oracle/oci-go-sdk/v65/common/version.go | 2 +- .../v65/containerengine/add_on_options.go | 6 +- .../oci-go-sdk/v65/containerengine/addon.go | 6 +- .../containerengine/addon_configuration.go | 6 +- .../v65/containerengine/addon_error.go | 8 +- .../containerengine/addon_lifecycle_state.go | 4 +- .../containerengine/addon_option_summary.go | 10 +- .../v65/containerengine/addon_summary.go | 6 +- .../addon_version_configuration.go | 6 +- .../v65/containerengine/addon_versions.go | 6 +- .../admission_controller_options.go | 6 +- .../oci-go-sdk/v65/containerengine/cluster.go | 18 +- .../containerengine/cluster_create_options.go | 57 +- .../cluster_endpoint_config.go | 6 +- .../v65/containerengine/cluster_endpoints.go | 9 +- .../cluster_lifecycle_state.go | 4 +- .../v65/containerengine/cluster_metadata.go | 6 +- .../cluster_migrate_to_native_vcn_details.go | 6 +- ..._migrate_to_native_vcn_request_response.go | 6 +- .../cluster_migrate_to_native_vcn_status.go | 6 +- .../v65/containerengine/cluster_node.go | 44 + .../v65/containerengine/cluster_options.go | 6 +- .../cluster_pod_network_option_details.go | 8 +- .../v65/containerengine/cluster_summary.go | 14 +- .../v65/containerengine/cluster_type.go | 4 +- ...te_credential_rotation_request_response.go | 6 +- .../containerengine/containerengine_client.go | 467 +- .../containerengine/create_cluster_details.go | 10 +- .../create_cluster_endpoint_config_details.go | 6 +- ...eate_cluster_kubeconfig_content_details.go | 6 +- .../create_cluster_request_response.go | 6 +- .../create_image_policy_config_details.go | 6 +- .../create_kubeconfig_request_response.go | 6 +- .../create_node_pool_details.go | 10 +- .../create_node_pool_node_config_details.go | 10 +- .../create_node_pool_request_response.go | 6 +- .../create_node_shape_config_details.go | 8 +- .../create_virtual_node_pool_details.go | 22 +- ...eate_virtual_node_pool_request_response.go | 6 +- .../create_workload_mapping_details.go | 10 +- ...reate_workload_mapping_request_response.go | 6 +- .../credential_rotation_status.go | 6 +- .../v65/containerengine/cycle_mode.go | 58 + .../delete_cluster_request_response.go | 6 +- .../delete_node_pool_request_response.go | 6 +- .../delete_node_request_response.go | 6 +- ...lete_virtual_node_pool_request_response.go | 6 +- .../delete_work_request_request_response.go | 6 +- ...elete_workload_mapping_request_response.go | 6 +- .../disable_addon_request_response.go | 6 +- ..._decommission_rollback_deadline_details.go | 42 + ...sion_rollback_deadline_request_response.go | 106 + ...rlay_cluster_pod_network_option_details.go | 6 +- ...ay_node_pool_pod_network_option_details.go | 6 +- .../get_addon_request_response.go | 6 +- ...e_to_native_vcn_status_request_response.go | 6 +- .../get_cluster_options_request_response.go | 9 +- .../get_cluster_request_response.go | 9 +- ...ential_rotation_status_request_response.go | 6 +- .../get_node_pool_options_request_response.go | 112 +- .../get_node_pool_request_response.go | 6 +- ...nt_decommission_status_request_response.go | 94 + .../get_virtual_node_pool_request_response.go | 6 +- .../get_virtual_node_request_response.go | 6 +- .../get_work_request_request_response.go | 6 +- .../get_workload_mapping_request_response.go | 6 +- .../oci-go-sdk/v65/containerengine/image.go | 47 + .../containerengine/image_policy_config.go | 6 +- .../initial_virtual_node_label.go | 6 +- .../containerengine/install_addon_details.go | 6 +- .../install_addon_request_response.go | 6 +- .../v65/containerengine/key_details.go | 6 +- .../v65/containerengine/key_value.go | 6 +- .../kubernetes_network_config.go | 6 +- .../kubernetes_versions_filters.go | 6 +- .../list_addon_options_request_response.go | 16 +- .../list_addons_request_response.go | 12 +- .../list_clusters_request_response.go | 14 +- .../list_node_pools_request_response.go | 14 +- .../list_pod_shapes_request_response.go | 12 +- ...ist_virtual_node_pools_request_response.go | 12 +- .../list_virtual_nodes_request_response.go | 12 +- ...st_work_request_errors_request_response.go | 6 +- ...list_work_request_logs_request_response.go | 6 +- .../list_work_requests_request_response.go | 12 +- ...list_workload_mappings_request_response.go | 12 +- .../oci-go-sdk/v65/containerengine/node.go | 12 +- .../v65/containerengine/node_error.go | 8 +- .../node_eviction_node_pool_settings.go | 9 +- .../containerengine/node_eviction_settings.go | 45 + .../v65/containerengine/node_pool.go | 12 +- .../node_pool_cycling_details.go | 11 +- .../node_pool_lifecycle_state.go | 4 +- .../node_pool_node_config_details.go | 10 +- .../v65/containerengine/node_pool_options.go | 6 +- .../node_pool_placement_config_details.go | 6 +- .../node_pool_pod_network_option_details.go | 8 +- .../v65/containerengine/node_pool_summary.go | 12 +- .../v65/containerengine/node_shape_config.go | 8 +- .../containerengine/node_source_details.go | 8 +- .../v65/containerengine/node_source_option.go | 8 +- .../v65/containerengine/node_source_type.go | 4 +- .../node_source_via_image_details.go | 8 +- .../node_source_via_image_option.go | 6 +- ...tive_cluster_pod_network_option_details.go | 6 +- ...ve_node_pool_pod_network_option_details.go | 12 +- .../open_id_connect_discovery.go | 6 +- ..._id_connect_token_authentication_config.go | 9 +- .../persistent_volume_config_details.go | 10 +- .../placement_configuration.go | 6 +- .../v65/containerengine/pod_configuration.go | 6 +- .../v65/containerengine/pod_shape.go | 6 +- .../v65/containerengine/pod_shape_summary.go | 6 +- .../preemptible_node_config_details.go | 6 +- .../v65/containerengine/preemption_action.go | 8 +- ...public_api_endpoint_decommission_status.go | 110 + .../reboot_cluster_node_details.go | 39 + .../reboot_cluster_node_request_response.go | 100 + ...eplace_boot_volume_cluster_node_details.go | 39 + ...ot_volume_cluster_node_request_response.go | 100 + ..._endpoint_decommission_request_response.go | 99 + .../service_lb_config_details.go | 13 +- .../containerengine/shape_memory_options.go | 6 +- .../shape_network_bandwidth_options.go | 6 +- .../v65/containerengine/shape_ocpu_options.go | 6 +- .../v65/containerengine/sort_order.go | 4 +- .../start_credential_rotation_details.go | 6 +- ...rt_credential_rotation_request_response.go | 6 +- ..._endpoint_decommission_request_response.go | 99 + .../oci-go-sdk/v65/containerengine/taint.go | 6 +- .../terminate_preemption_action.go | 6 +- .../containerengine/update_addon_details.go | 6 +- .../update_addon_request_response.go | 6 +- .../containerengine/update_cluster_details.go | 10 +- .../update_cluster_endpoint_config_details.go | 6 +- ...luster_endpoint_config_request_response.go | 6 +- .../update_cluster_options_details.go | 6 +- .../update_cluster_request_response.go | 6 +- .../update_image_policy_config_details.go | 6 +- .../update_node_pool_details.go | 10 +- .../update_node_pool_node_config_details.go | 10 +- .../update_node_pool_request_response.go | 6 +- .../update_node_shape_config_details.go | 8 +- .../update_virtual_node_pool_details.go | 10 +- ...date_virtual_node_pool_request_response.go | 6 +- .../update_workload_mapping_details.go | 10 +- ...pdate_workload_mapping_request_response.go | 6 +- .../v65/containerengine/virtual_node.go | 10 +- .../virtual_node_lifecycle_state.go | 4 +- .../v65/containerengine/virtual_node_pool.go | 22 +- .../virtual_node_pool_lifecycle_state.go | 4 +- .../virtual_node_pool_summary.go | 22 +- .../containerengine/virtual_node_summary.go | 10 +- .../v65/containerengine/virtual_node_tags.go | 10 +- .../v65/containerengine/work_request.go | 6 +- .../v65/containerengine/work_request_error.go | 8 +- .../containerengine/work_request_log_entry.go | 6 +- .../work_request_operation_type.go | 128 +- .../containerengine/work_request_resource.go | 6 +- .../containerengine/work_request_status.go | 4 +- .../containerengine/work_request_summary.go | 46 +- .../v65/containerengine/workload_mapping.go | 10 +- .../workload_mapping_lifecycle_state.go | 4 +- .../workload_mapping_summary.go | 10 +- ...elded_integrity_policy_request_response.go | 8 +- ...rg_route_distribution_statement_details.go | 12 +- ...g_route_distribution_statements_details.go | 12 +- ...istribution_statements_request_response.go | 8 +- .../v65/core/add_drg_route_rule_details.go | 14 +- .../v65/core/add_drg_route_rules_details.go | 12 +- .../add_drg_route_rules_request_response.go | 8 +- ...image_shape_compatibility_entry_details.go | 12 +- ...pe_compatibility_entry_request_response.go | 8 +- .../v65/core/add_ipv4_subnet_cidr_details.go | 48 + .../add_ipv4_subnet_cidr_request_response.go | 108 + .../add_ipv6_subnet_cidr_request_response.go | 12 +- .../add_ipv6_vcn_cidr_request_response.go | 12 +- ...k_security_group_security_rules_details.go | 12 +- ...y_group_security_rules_request_response.go | 8 +- .../add_public_ip_pool_capacity_details.go | 14 +- ...ublic_ip_pool_capacity_request_response.go | 8 +- .../v65/core/add_security_rule_details.go | 24 +- .../v65/core/add_subnet_ipv6_cidr_details.go | 14 +- .../v65/core/add_vcn_cidr_details.go | 12 +- .../v65/core/add_vcn_cidr_request_response.go | 12 +- .../v65/core/add_vcn_ipv6_cidr_details.go | 14 +- ...d_network_security_group_security_rules.go | 12 +- .../oci-go-sdk/v65/core/address_type.go | 10 +- .../advertise_byoip_range_request_response.go | 8 +- .../v65/core/allowed_ike_ip_sec_parameters.go | 12 +- .../v65/core/allowed_phase_one_parameters.go | 12 +- .../v65/core/allowed_phase_two_parameters.go | 12 +- ..._bm_gpu_launch_instance_platform_config.go | 16 +- .../core/amd_milan_bm_gpu_platform_config.go | 16 +- ...ilan_bm_launch_instance_platform_config.go | 16 +- .../v65/core/amd_milan_bm_platform_config.go | 16 +- ..._bm_gpu_launch_instance_platform_config.go | 16 +- .../core/amd_rome_bm_gpu_platform_config.go | 16 +- ...rome_bm_launch_instance_platform_config.go | 16 +- .../v65/core/amd_rome_bm_platform_config.go | 16 +- .../amd_vm_launch_instance_platform_config.go | 12 +- .../v65/core/amd_vm_platform_config.go | 12 +- .../amd_vm_update_instance_platform_config.go | 12 +- .../v65/core/app_catalog_listing.go | 12 +- .../app_catalog_listing_resource_version.go | 14 +- ...log_listing_resource_version_agreements.go | 12 +- ...atalog_listing_resource_version_summary.go | 12 +- .../v65/core/app_catalog_listing_summary.go | 12 +- .../v65/core/app_catalog_subscription.go | 12 +- .../core/app_catalog_subscription_summary.go | 12 +- ...ply_host_configuration_request_response.go | 114 + .../v65/core/attach_boot_volume_details.go | 12 +- .../attach_boot_volume_request_response.go | 6 +- .../attach_compute_host_group_host_details.go | 45 + ...ompute_host_group_host_request_response.go | 117 + .../core/attach_emulated_volume_details.go | 12 +- .../v65/core/attach_i_scsi_volume_details.go | 12 +- .../attach_instance_pool_instance_details.go | 14 +- ...instance_pool_instance_request_response.go | 12 +- .../v65/core/attach_load_balancer_details.go | 14 +- .../attach_load_balancer_request_response.go | 8 +- .../attach_paravirtualized_volume_details.go | 12 +- ...ttach_service_determined_volume_details.go | 12 +- .../attach_service_id_request_response.go | 8 +- .../v65/core/attach_vnic_details.go | 14 +- .../v65/core/attach_vnic_request_response.go | 6 +- .../v65/core/attach_volume_details.go | 14 +- .../core/attach_volume_request_response.go | 6 +- .../oci-go-sdk/v65/core/autotune_policy.go | 14 +- .../oci-go-sdk/v65/core/bgp_session_info.go | 12 +- .../v65/core/block_volume_replica.go | 24 +- .../v65/core/block_volume_replica_details.go | 16 +- .../v65/core/block_volume_replica_info.go | 16 +- ...lean_image_capability_schema_descriptor.go | 12 +- .../oracle/oci-go-sdk/v65/core/boot_volume.go | 22 +- .../v65/core/boot_volume_attachment.go | 12 +- .../oci-go-sdk/v65/core/boot_volume_backup.go | 24 +- .../v65/core/boot_volume_kms_key.go | 12 +- .../v65/core/boot_volume_replica.go | 24 +- .../v65/core/boot_volume_replica_details.go | 16 +- .../v65/core/boot_volume_replica_info.go | 16 +- .../v65/core/boot_volume_source_details.go | 14 +- ...e_from_boot_volume_backup_delta_details.go | 12 +- ..._source_from_boot_volume_backup_details.go | 12 +- ..._volume_source_from_boot_volume_details.go | 12 +- ...source_from_boot_volume_replica_details.go | 12 +- ...virtual_circuit_public_prefixes_details.go | 12 +- ...ircuit_public_prefixes_request_response.go | 8 +- .../v65/core/bulk_create_ipv6s_details.go | 53 + .../v65/core/bulk_create_ipv6s_item.go | 124 + .../bulk_create_ipv6s_request_response.go | 100 + .../v65/core/bulk_create_private_ip_item.go | 139 + .../core/bulk_create_private_ips_details.go | 55 + ...ulk_create_private_ips_request_response.go | 100 + .../v65/core/bulk_delete_ipv6s_details.go | 52 + .../v65/core/bulk_delete_ipv6s_item.go | 45 + .../bulk_delete_ipv6s_request_response.go | 100 + .../v65/core/bulk_delete_private_ip_item.go | 45 + .../core/bulk_delete_private_ips_details.go | 56 + ...ulk_delete_private_ips_request_response.go | 100 + ...virtual_circuit_public_prefixes_details.go | 12 +- ...ircuit_public_prefixes_request_response.go | 8 +- .../v65/core/bulk_detach_ipv6s_details.go | 48 + .../v65/core/bulk_detach_ipv6s_item.go | 45 + .../bulk_detach_ipv6s_request_response.go | 100 + .../v65/core/bulk_detach_private_ip_item.go | 45 + .../core/bulk_detach_private_ips_details.go | 48 + ...ulk_detach_private_ips_request_response.go | 100 + .../v65/core/bulk_update_ipv6s_details.go | 49 + .../v65/core/bulk_update_ipv6s_item.go | 114 + .../bulk_update_ipv6s_request_response.go | 100 + .../v65/core/bulk_update_private_ip_item.go | 125 + .../core/bulk_update_private_ips_details.go | 49 + ...ulk_update_private_ips_request_response.go | 100 + .../oracle/oci-go-sdk/v65/core/byoasn.go | 143 + .../oci-go-sdk/v65/core/byoasn_byoip_range.go | 56 + .../oci-go-sdk/v65/core/byoasn_collection.go | 45 + .../oci-go-sdk/v65/core/byoasn_summary.go | 79 + .../core/byoip_allocated_range_collection.go | 12 +- .../v65/core/byoip_allocated_range_summary.go | 14 +- .../oracle/oci-go-sdk/v65/core/byoip_range.go | 26 +- .../v65/core/byoip_range_collection.go | 12 +- .../v65/core/byoip_range_origin_asn.go | 51 + .../v65/core/byoip_range_summary.go | 20 +- ...byoip_range_vcn_ipv6_allocation_summary.go | 18 +- .../v65/core/byoipv6_cidr_details.go | 14 +- .../oci-go-sdk/v65/core/capacity_bin.go | 60 + .../v65/core/capacity_bin_preview.go | 54 + .../oci-go-sdk/v65/core/capacity_config.go | 53 + .../capacity_report_instance_shape_config.go | 69 +- .../capacity_report_shape_availability.go | 12 +- .../capacity_reservation_instance_summary.go | 12 +- .../oci-go-sdk/v65/core/capacity_source.go | 14 +- .../core/capture_console_history_details.go | 16 +- ...apture_console_history_request_response.go | 6 +- .../oci-go-sdk/v65/core/capture_filter.go | 22 +- ..._boot_volume_backup_compartment_details.go | 14 +- ...ume_backup_compartment_request_response.go | 6 +- .../change_boot_volume_compartment_details.go | 14 +- ...oot_volume_compartment_request_response.go | 6 +- .../core/change_byoasn_compartment_details.go | 45 + ...nge_byoasn_compartment_request_response.go | 103 + .../change_byoip_range_compartment_details.go | 14 +- ...yoip_range_compartment_request_response.go | 8 +- ...ange_capture_filter_compartment_details.go | 14 +- ...ure_filter_compartment_request_response.go | 12 +- ...nge_cluster_network_compartment_details.go | 14 +- ...er_network_compartment_request_response.go | 8 +- ...apacity_reservation_compartment_details.go | 14 +- ...eservation_compartment_request_response.go | 10 +- ...e_capacity_topology_compartment_details.go | 14 +- ...y_topology_compartment_request_response.go | 12 +- ...nge_compute_cluster_compartment_details.go | 14 +- ...te_cluster_compartment_request_response.go | 10 +- ..._gpu_memory_cluster_compartment_details.go | 46 + ...ry_cluster_compartment_request_response.go | 103 + ...e_gpu_memory_fabric_compartment_details.go | 46 + ...ory_fabric_compartment_request_response.go | 103 + ...change_compute_host_compartment_details.go | 46 + ...mpute_host_compartment_request_response.go | 108 + ..._compute_host_group_compartment_details.go | 46 + ...host_group_compartment_request_response.go | 108 + ...e_capability_schema_compartment_details.go | 14 +- ...ity_schema_compartment_request_response.go | 6 +- .../core/change_cpe_compartment_details.go | 14 +- ...change_cpe_compartment_request_response.go | 8 +- ...hange_cross_connect_compartment_details.go | 14 +- ...ss_connect_compartment_request_response.go | 8 +- ...cross_connect_group_compartment_details.go | 14 +- ...nect_group_compartment_request_response.go | 8 +- ...e_dedicated_vm_host_compartment_details.go | 14 +- ...ed_vm_host_compartment_request_response.go | 10 +- ...change_dhcp_options_compartment_details.go | 14 +- ...cp_options_compartment_request_response.go | 8 +- .../core/change_drg_compartment_details.go | 14 +- ...change_drg_compartment_request_response.go | 12 +- ...connection_compartment_request_response.go | 8 +- .../core/change_image_compartment_details.go | 14 +- ...ange_image_compartment_request_response.go | 8 +- .../change_instance_compartment_details.go | 14 +- ...e_instance_compartment_request_response.go | 12 +- ...tance_configuration_compartment_details.go | 14 +- ...figuration_compartment_request_response.go | 6 +- ...hange_instance_pool_compartment_details.go | 14 +- ...tance_pool_compartment_request_response.go | 8 +- ...ge_internet_gateway_compartment_details.go | 14 +- ...et_gateway_compartment_request_response.go | 8 +- ...e_ip_sec_connection_compartment_details.go | 14 +- ...cal_peering_gateway_compartment_details.go | 14 +- ...ng_gateway_compartment_request_response.go | 8 +- .../change_nat_gateway_compartment_details.go | 14 +- ...at_gateway_compartment_request_response.go | 8 +- ...work_security_group_compartment_details.go | 14 +- ...rity_group_compartment_request_response.go | 8 +- .../change_public_ip_compartment_details.go | 14 +- ..._public_ip_compartment_request_response.go | 8 +- ...ange_public_ip_pool_compartment_details.go | 14 +- ...ic_ip_pool_compartment_request_response.go | 8 +- ..._peering_connection_compartment_details.go | 14 +- ...connection_compartment_request_response.go | 8 +- .../change_route_table_compartment_details.go | 14 +- ...oute_table_compartment_request_response.go | 8 +- ...hange_security_list_compartment_details.go | 14 +- ...urity_list_compartment_request_response.go | 8 +- ...nge_service_gateway_compartment_details.go | 14 +- ...ce_gateway_compartment_request_response.go | 8 +- .../core/change_subnet_compartment_details.go | 14 +- ...nge_subnet_compartment_request_response.go | 12 +- .../core/change_vcn_compartment_details.go | 14 +- ...change_vcn_compartment_request_response.go | 12 +- ...nge_virtual_circuit_compartment_details.go | 14 +- ...al_circuit_compartment_request_response.go | 8 +- .../core/change_vlan_compartment_details.go | 14 +- ...hange_vlan_compartment_request_response.go | 12 +- ...hange_volume_backup_compartment_details.go | 14 +- ...ume_backup_compartment_request_response.go | 6 +- .../core/change_volume_compartment_details.go | 14 +- ...nge_volume_compartment_request_response.go | 6 +- ...volume_group_backup_compartment_details.go | 14 +- ...oup_backup_compartment_request_response.go | 6 +- ...change_volume_group_compartment_details.go | 14 +- ...lume_group_compartment_request_response.go | 6 +- .../core/change_vtap_compartment_details.go | 14 +- ...hange_vtap_compartment_request_response.go | 12 +- ...eck_host_configuration_request_response.go | 109 + .../v65/core/cluster_config_details.go | 14 +- .../v65/core/cluster_configuration_details.go | 14 +- .../oci-go-sdk/v65/core/cluster_network.go | 24 +- ...network_placement_configuration_details.go | 14 +- .../v65/core/cluster_network_summary.go | 22 +- .../v65/core/compartment_internal.go | 14 +- .../oci-go-sdk/v65/core/component_version.go | 48 + .../v65/core/compute_bare_metal_host.go | 24 +- .../compute_bare_metal_host_collection.go | 12 +- ...metal_host_placement_constraint_details.go | 61 + .../core/compute_bare_metal_host_summary.go | 24 +- .../v65/core/compute_capacity_report.go | 14 +- .../v65/core/compute_capacity_reservation.go | 22 +- ...city_reservation_instance_shape_summary.go | 12 +- .../compute_capacity_reservation_summary.go | 18 +- .../v65/core/compute_capacity_topology.go | 20 +- .../compute_capacity_topology_collection.go | 12 +- .../core/compute_capacity_topology_summary.go | 20 +- .../oci-go-sdk/v65/core/compute_cluster.go | 22 +- .../v65/core/compute_cluster_collection.go | 14 +- .../v65/core/compute_cluster_summary.go | 22 +- .../compute_global_image_capability_schema.go | 18 +- ..._global_image_capability_schema_summary.go | 18 +- ..._global_image_capability_schema_version.go | 12 +- ...image_capability_schema_version_summary.go | 12 +- .../v65/core/compute_gpu_memory_cluster.go | 148 + .../compute_gpu_memory_cluster_collection.go | 45 + ..._gpu_memory_cluster_instance_collection.go | 45 + ...ute_gpu_memory_cluster_instance_summary.go | 159 + ...compute_gpu_memory_cluster_scale_config.go | 51 + .../compute_gpu_memory_cluster_summary.go | 81 + .../v65/core/compute_gpu_memory_fabric.go | 270 + .../compute_gpu_memory_fabric_collection.go | 45 + .../core/compute_gpu_memory_fabric_summary.go | 168 + .../oci-go-sdk/v65/core/compute_host.go | 249 + .../v65/core/compute_host_collection.go | 45 + ...ompute_host_configuration_check_details.go | 153 + .../core/compute_host_configuration_data.go | 47 + .../oci-go-sdk/v65/core/compute_host_group.go | 133 + .../v65/core/compute_host_group_collection.go | 45 + .../v65/core/compute_host_group_summary.go | 87 + .../v65/core/compute_host_summary.go | 133 + .../oci-go-sdk/v65/core/compute_hpc_island.go | 16 +- .../v65/core/compute_hpc_island_collection.go | 12 +- .../v65/core/compute_hpc_island_summary.go | 16 +- .../core/compute_image_capability_schema.go | 91 +- ...compute_image_capability_schema_summary.go | 18 +- .../v65/core/compute_instance_details.go | 12 +- .../v65/core/compute_instance_options.go | 12 +- .../v65/core/compute_network_block.go | 18 +- .../core/compute_network_block_collection.go | 12 +- .../v65/core/compute_network_block_summary.go | 18 +- .../v65/core/configuration_state.go | 78 + .../connect_local_peering_gateways_details.go | 14 +- ...local_peering_gateways_request_response.go | 8 +- ...nect_remote_peering_connections_details.go | 14 +- ...te_peering_connections_request_response.go | 8 +- .../oci-go-sdk/v65/core/console_history.go | 16 +- .../core/copy_boot_volume_backup_details.go | 16 +- ...opy_boot_volume_backup_request_response.go | 10 +- .../v65/core/copy_volume_backup_details.go | 16 +- .../copy_volume_backup_request_response.go | 10 +- .../core/copy_volume_group_backup_details.go | 16 +- ...py_volume_group_backup_request_response.go | 6 +- .../v65/core/core_blockstorage_client.go | 194 +- .../v65/core/core_compute_client.go | 2064 +- .../v65/core/core_computemanagement_client.go | 160 +- .../v65/core/core_virtualnetwork_client.go | 2444 +- .../oracle/oci-go-sdk/v65/core/cpe.go | 26 +- .../v65/core/cpe_device_config_answer.go | 12 +- .../v65/core/cpe_device_config_question.go | 12 +- .../oci-go-sdk/v65/core/cpe_device_info.go | 12 +- .../v65/core/cpe_device_shape_detail.go | 14 +- .../v65/core/cpe_device_shape_summary.go | 14 +- ...create_app_catalog_subscription_details.go | 12 +- ...p_catalog_subscription_request_response.go | 6 +- .../core/create_boot_volume_backup_details.go | 20 +- ...ate_boot_volume_backup_request_response.go | 6 +- .../v65/core/create_boot_volume_details.go | 22 +- .../create_boot_volume_request_response.go | 6 +- .../v65/core/create_byoasn_details.go | 62 + .../core/create_byoasn_request_response.go | 101 + .../v65/core/create_byoip_range_details.go | 18 +- .../create_byoip_range_request_response.go | 6 +- ...acity_report_shape_availability_details.go | 12 +- .../core/create_capacity_source_details.go | 14 +- .../v65/core/create_capture_filter_details.go | 18 +- .../create_capture_filter_request_response.go | 6 +- .../core/create_cluster_network_details.go | 20 +- ...e_cluster_network_instance_pool_details.go | 18 +- ...create_cluster_network_request_response.go | 10 +- .../create_compute_capacity_report_details.go | 14 +- ...ompute_capacity_report_request_response.go | 6 +- ...te_compute_capacity_reservation_details.go | 20 +- ...e_capacity_reservation_request_response.go | 10 +- ...reate_compute_capacity_topology_details.go | 18 +- ...pute_capacity_topology_request_response.go | 10 +- .../core/create_compute_cluster_details.go | 20 +- ...create_compute_cluster_request_response.go | 8 +- ...eate_compute_gpu_memory_cluster_details.go | 77 + ...ute_gpu_memory_cluster_request_response.go | 106 + ...compute_gpu_memory_cluster_scale_config.go | 51 + .../core/create_compute_host_group_details.go | 69 + ...ate_compute_host_group_request_response.go | 109 + ...compute_image_capability_schema_details.go | 16 +- ...mage_capability_schema_request_response.go | 6 +- .../oci-go-sdk/v65/core/create_cpe_details.go | 20 +- .../v65/core/create_cpe_request_response.go | 6 +- .../v65/core/create_cross_connect_details.go | 30 +- .../create_cross_connect_group_details.go | 18 +- ...te_cross_connect_group_request_response.go | 6 +- .../create_cross_connect_request_response.go | 6 +- ...reate_dedicated_capacity_source_details.go | 14 +- .../core/create_dedicated_vm_host_details.go | 81 +- ...eate_dedicated_vm_host_request_response.go | 10 +- .../v65/core/create_dhcp_details.go | 20 +- .../create_dhcp_options_request_response.go | 6 +- .../v65/core/create_drg_attachment_details.go | 30 +- .../create_drg_attachment_request_response.go | 6 +- .../oci-go-sdk/v65/core/create_drg_details.go | 18 +- .../v65/core/create_drg_request_response.go | 6 +- .../create_drg_route_distribution_details.go | 22 +- ...drg_route_distribution_request_response.go | 6 +- .../core/create_drg_route_table_details.go | 20 +- ...create_drg_route_table_request_response.go | 6 +- ...ate_i_p_sec_connection_request_response.go | 6 +- .../v65/core/create_image_details.go | 16 +- .../v65/core/create_image_request_response.go | 10 +- .../create_instance_configuration_base.go | 20 +- .../create_instance_configuration_details.go | 18 +- ...nce_configuration_from_instance_details.go | 20 +- ...instance_configuration_request_response.go | 6 +- ...ate_instance_console_connection_details.go | 16 +- ...nce_console_connection_request_response.go | 6 +- .../v65/core/create_instance_pool_details.go | 23 +- ...ce_pool_placement_configuration_details.go | 20 +- .../create_instance_pool_request_response.go | 6 +- .../core/create_internet_gateway_details.go | 22 +- ...reate_internet_gateway_request_response.go | 6 +- .../core/create_ip_sec_connection_details.go | 50 +- ...create_ip_sec_connection_tunnel_details.go | 16 +- ...reate_ip_sec_tunnel_bgp_session_details.go | 12 +- ...ip_sec_tunnel_encryption_domain_details.go | 14 +- .../v65/core/create_ipv6_details.go | 86 +- .../v65/core/create_ipv6_request_response.go | 6 +- .../create_local_peering_gateway_details.go | 30 +- ..._local_peering_gateway_request_response.go | 6 +- .../oci-go-sdk/v65/core/create_macsec_key.go | 18 +- .../v65/core/create_macsec_properties.go | 12 +- .../v65/core/create_nat_gateway_details.go | 24 +- .../create_nat_gateway_request_response.go | 6 +- .../create_network_security_group_details.go | 20 +- ...network_security_group_request_response.go | 6 +- .../v65/core/create_private_ip_details.go | 92 +- .../create_private_ip_request_response.go | 6 +- .../v65/core/create_public_ip_details.go | 26 +- .../v65/core/create_public_ip_pool_details.go | 18 +- .../create_public_ip_pool_request_response.go | 6 +- .../core/create_public_ip_request_response.go | 6 +- ...reate_remote_peering_connection_details.go | 20 +- ...ote_peering_connection_request_response.go | 6 +- .../v65/core/create_route_table_details.go | 20 +- .../create_route_table_request_response.go | 6 +- .../v65/core/create_security_list_details.go | 20 +- .../create_security_list_request_response.go | 6 +- .../core/create_service_gateway_details.go | 24 +- ...create_service_gateway_request_response.go | 6 +- .../v65/core/create_subnet_details.go | 46 +- .../core/create_subnet_request_response.go | 6 +- .../oci-go-sdk/v65/core/create_vcn_details.go | 29 +- .../v65/core/create_vcn_request_response.go | 6 +- .../core/create_virtual_circuit_details.go | 24 +- ...e_virtual_circuit_public_prefix_details.go | 12 +- ...create_virtual_circuit_request_response.go | 6 +- .../v65/core/create_vlan_details.go | 22 +- .../v65/core/create_vlan_request_response.go | 6 +- .../v65/core/create_vnic_details.go | 60 +- .../v65/core/create_volume_backup_details.go | 20 +- ...volume_backup_policy_assignment_details.go | 16 +- ...ckup_policy_assignment_request_response.go | 6 +- .../create_volume_backup_policy_details.go | 26 +- ...e_volume_backup_policy_request_response.go | 6 +- .../create_volume_backup_request_response.go | 6 +- .../v65/core/create_volume_details.go | 29 +- .../create_volume_group_backup_details.go | 16 +- ...te_volume_group_backup_request_response.go | 6 +- .../v65/core/create_volume_group_details.go | 20 +- .../create_volume_group_request_response.go | 6 +- .../core/create_volume_request_response.go | 6 +- .../v65/core/create_vtap_details.go | 28 +- .../v65/core/create_vtap_request_response.go | 6 +- .../oci-go-sdk/v65/core/cross_connect.go | 27 +- .../v65/core/cross_connect_group.go | 26 +- .../v65/core/cross_connect_location.go | 12 +- .../v65/core/cross_connect_mapping.go | 18 +- .../v65/core/cross_connect_mapping_details.go | 14 +- ...ross_connect_mapping_details_collection.go | 12 +- .../core/cross_connect_port_speed_shape.go | 12 +- .../v65/core/cross_connect_status.go | 14 +- .../v65/core/dedicated_capacity_source.go | 14 +- .../oci-go-sdk/v65/core/dedicated_vm_host.go | 116 +- ...edicated_vm_host_instance_shape_summary.go | 14 +- .../dedicated_vm_host_instance_summary.go | 15 +- .../core/dedicated_vm_host_shape_summary.go | 17 +- .../v65/core/dedicated_vm_host_summary.go | 17 +- .../v65/core/default_drg_route_tables.go | 20 +- .../v65/core/default_phase_one_parameters.go | 12 +- .../v65/core/default_phase_two_parameters.go | 12 +- ...p_catalog_subscription_request_response.go | 8 +- ...ete_boot_volume_backup_request_response.go | 6 +- ...te_boot_volume_kms_key_request_response.go | 6 +- .../delete_boot_volume_request_response.go | 6 +- .../core/delete_byoasn_request_response.go | 93 + .../delete_byoip_range_request_response.go | 12 +- .../delete_capture_filter_request_response.go | 8 +- ...e_capacity_reservation_request_response.go | 10 +- ...pute_capacity_topology_request_response.go | 12 +- ...delete_compute_cluster_request_response.go | 10 +- ...ute_gpu_memory_cluster_request_response.go | 98 + ...ete_compute_host_group_request_response.go | 93 + ...mage_capability_schema_request_response.go | 6 +- ...delete_console_history_request_response.go | 6 +- .../v65/core/delete_cpe_request_response.go | 8 +- ...te_cross_connect_group_request_response.go | 8 +- .../delete_cross_connect_request_response.go | 8 +- ...lete_dedicated_vm_host_request_response.go | 10 +- .../delete_dhcp_options_request_response.go | 8 +- .../delete_drg_attachment_request_response.go | 8 +- .../v65/core/delete_drg_request_response.go | 8 +- ...drg_route_distribution_request_response.go | 8 +- ...delete_drg_route_table_request_response.go | 8 +- ...ete_i_p_sec_connection_request_response.go | 8 +- .../v65/core/delete_image_request_response.go | 8 +- ...instance_configuration_request_response.go | 6 +- ...nce_console_connection_request_response.go | 6 +- ...elete_internet_gateway_request_response.go | 8 +- .../v65/core/delete_ipv6_request_response.go | 8 +- ..._local_peering_gateway_request_response.go | 8 +- .../delete_nat_gateway_request_response.go | 8 +- ...network_security_group_request_response.go | 8 +- .../delete_private_ip_request_response.go | 8 +- .../delete_public_ip_pool_request_response.go | 8 +- .../core/delete_public_ip_request_response.go | 8 +- ...ote_peering_connection_request_response.go | 8 +- .../delete_route_table_request_response.go | 8 +- .../delete_security_list_request_response.go | 8 +- ...delete_service_gateway_request_response.go | 8 +- .../core/delete_subnet_request_response.go | 8 +- .../v65/core/delete_vcn_request_response.go | 8 +- ...e_virtual_circuit_public_prefix_details.go | 12 +- ...delete_virtual_circuit_request_response.go | 8 +- .../v65/core/delete_vlan_request_response.go | 8 +- ...ckup_policy_assignment_request_response.go | 6 +- ...e_volume_backup_policy_request_response.go | 6 +- .../delete_volume_backup_request_response.go | 6 +- ...te_volume_group_backup_request_response.go | 6 +- .../delete_volume_group_request_response.go | 6 +- .../delete_volume_kms_key_request_response.go | 6 +- .../core/delete_volume_request_response.go | 6 +- .../v65/core/delete_vtap_request_response.go | 12 +- .../detach_boot_volume_request_response.go | 6 +- .../detach_compute_host_group_host_details.go | 45 + ...ompute_host_group_host_request_response.go | 108 + .../detach_instance_pool_instance_details.go | 14 +- ...instance_pool_instance_request_response.go | 12 +- .../v65/core/detach_load_balancer_details.go | 12 +- .../detach_load_balancer_request_response.go | 8 +- .../detach_service_id_request_response.go | 8 +- .../v65/core/detach_vnic_request_response.go | 6 +- .../core/detach_volume_request_response.go | 6 +- .../core/detached_volume_autotune_policy.go | 12 +- .../oracle/oci-go-sdk/v65/core/device.go | 12 +- .../oci-go-sdk/v65/core/dhcp_dns_option.go | 16 +- .../oracle/oci-go-sdk/v65/core/dhcp_option.go | 18 +- .../oci-go-sdk/v65/core/dhcp_options.go | 28 +- .../v65/core/dhcp_search_domain_option.go | 14 +- .../oracle/oci-go-sdk/v65/core/dpd_config.go | 12 +- .../oracle/oci-go-sdk/v65/core/drg.go | 30 +- .../oci-go-sdk/v65/core/drg_attachment.go | 40 +- ...d_drg_route_distribution_match_criteria.go | 14 +- .../v65/core/drg_attachment_info.go | 14 +- ...l_drg_route_distribution_match_criteria.go | 12 +- .../drg_attachment_network_create_details.go | 16 +- .../core/drg_attachment_network_details.go | 16 +- .../drg_attachment_network_update_details.go | 14 +- ...e_drg_route_distribution_match_criteria.go | 12 +- .../oci-go-sdk/v65/core/drg_customer.go | 54 + .../v65/core/drg_customer_resource.go | 54 + .../v65/core/drg_promotion_status_response.go | 110 + .../v65/core/drg_redundancy_status.go | 16 +- .../v65/core/drg_route_distribution.go | 29 +- .../drg_route_distribution_match_criteria.go | 14 +- .../core/drg_route_distribution_statement.go | 12 +- .../oci-go-sdk/v65/core/drg_route_rule.go | 14 +- .../oci-go-sdk/v65/core/drg_route_table.go | 24 +- .../v65/core/egress_security_rule.go | 14 +- .../v65/core/emulated_volume_attachment.go | 12 +- .../v65/core/encryption_domain_config.go | 12 +- .../v65/core/encryption_in_transit_type.go | 10 +- ...num_integer_image_capability_descriptor.go | 12 +- ...ring_image_capability_schema_descriptor.go | 12 +- .../v65/core/export_image_details.go | 14 +- .../v65/core/export_image_request_response.go | 12 +- ..._image_via_object_storage_tuple_details.go | 12 +- ...rt_image_via_object_storage_uri_details.go | 16 +- .../v65/core/fast_connect_provider_service.go | 16 +- .../core/fast_connect_provider_service_key.go | 12 +- .../oci-go-sdk/v65/core/firmware_bundle.go | 119 + .../v65/core/firmware_bundle_summary.go | 73 + .../v65/core/firmware_bundle_transitions.go | 48 + .../v65/core/firmware_bundles_collection.go | 45 + .../flow_log_capture_filter_rule_details.go | 12 +- ...eric_bm_launch_instance_platform_config.go | 16 +- .../v65/core/generic_bm_platform_config.go | 16 +- ...et_all_drg_attachments_request_response.go | 14 +- ...ike_i_p_sec_parameters_request_response.go | 6 +- ...log_listing_agreements_request_response.go | 6 +- ...et_app_catalog_listing_request_response.go | 6 +- ...sting_resource_version_request_response.go | 6 +- ...t_block_volume_replica_request_response.go | 6 +- ...boot_volume_attachment_request_response.go | 6 +- ...get_boot_volume_backup_request_response.go | 6 +- ...et_boot_volume_kms_key_request_response.go | 6 +- ...et_boot_volume_replica_request_response.go | 6 +- .../core/get_boot_volume_request_response.go | 6 +- .../v65/core/get_byoasn_request_response.go | 94 + .../core/get_byoip_range_request_response.go | 8 +- .../get_capture_filter_request_response.go | 8 +- .../get_cluster_network_request_response.go | 8 +- ...e_capacity_reservation_request_response.go | 6 +- ...pute_capacity_topology_request_response.go | 8 +- .../get_compute_cluster_request_response.go | 10 +- ...mage_capability_schema_request_response.go | 8 +- ...ability_schema_version_request_response.go | 8 +- ...ute_gpu_memory_cluster_request_response.go | 94 + ...pute_gpu_memory_fabric_request_response.go | 94 + ...get_compute_host_group_request_response.go | 94 + .../get_compute_hosts_request_response.go | 94 + ...mage_capability_schema_request_response.go | 6 +- ...onsole_history_content_request_response.go | 6 +- .../get_console_history_request_response.go | 6 +- ..._device_config_content_request_response.go | 8 +- .../get_cpe_device_shape_request_response.go | 8 +- .../v65/core/get_cpe_request_response.go | 8 +- ...et_cross_connect_group_request_response.go | 8 +- ...ct_letter_of_authority_request_response.go | 8 +- .../get_cross_connect_request_response.go | 8 +- ...t_cross_connect_status_request_response.go | 8 +- .../get_dedicated_vm_host_request_response.go | 6 +- .../core/get_dhcp_options_request_response.go | 8 +- .../get_drg_attachment_request_response.go | 8 +- ..._drg_redundancy_status_request_response.go | 8 +- .../v65/core/get_drg_request_response.go | 8 +- ...drg_route_distribution_request_response.go | 8 +- .../get_drg_route_table_request_response.go | 8 +- ...t_provider_service_key_request_response.go | 8 +- ...nnect_provider_service_request_response.go | 8 +- .../get_firmware_bundle_request_response.go | 91 + ...nnection_device_config_request_response.go | 8 +- ...nnection_device_status_request_response.go | 8 +- ...get_i_p_sec_connection_request_response.go | 8 +- ...onnection_tunnel_error_request_response.go | 10 +- ..._sec_connection_tunnel_request_response.go | 10 +- ...n_tunnel_shared_secret_request_response.go | 10 +- .../v65/core/get_image_request_response.go | 8 +- ...pe_compatibility_entry_request_response.go | 8 +- ...instance_configuration_request_response.go | 6 +- ...nce_console_connection_request_response.go | 6 +- ...ance_maintenance_event_request_response.go | 6 +- ...nce_maintenance_reboot_request_response.go | 8 +- ...instance_pool_instance_request_response.go | 10 +- ...ad_balancer_attachment_request_response.go | 8 +- .../get_instance_pool_request_response.go | 8 +- .../v65/core/get_instance_request_response.go | 8 +- .../get_internet_gateway_request_response.go | 8 +- .../get_ip_inventory_vcn_overlap_details.go | 14 +- ..._device_config_content_request_response.go | 8 +- .../v65/core/get_ipv6_request_response.go | 8 +- ..._local_peering_gateway_request_response.go | 8 +- ...t_measured_boot_report_request_response.go | 8 +- .../core/get_nat_gateway_request_response.go | 8 +- ...network_security_group_request_response.go | 8 +- ...et_networking_topology_request_response.go | 8 +- .../core/get_private_ip_request_response.go | 8 +- .../get_public_ip_by_ip_address_details.go | 12 +- ...ublic_ip_by_ip_address_request_response.go | 6 +- .../get_public_ip_by_private_ip_id_details.go | 14 +- ...ic_ip_by_private_ip_id_request_response.go | 6 +- .../get_public_ip_pool_request_response.go | 8 +- .../core/get_public_ip_request_response.go | 8 +- ...ote_peering_connection_request_response.go | 8 +- ..._resource_ip_inventory_request_response.go | 8 +- .../core/get_route_table_request_response.go | 8 +- .../get_security_list_request_response.go | 8 +- .../get_service_gateway_request_response.go | 8 +- .../v65/core/get_service_request_response.go | 8 +- ...ubnet_cidr_utilization_request_response.go | 8 +- ...et_subnet_ip_inventory_request_response.go | 8 +- .../v65/core/get_subnet_request_response.go | 8 +- .../get_subnet_topology_request_response.go | 10 +- ..._device_config_content_request_response.go | 10 +- ...nnel_cpe_device_config_request_response.go | 10 +- .../get_upgrade_status_request_response.go | 8 +- ...s_resolver_association_request_response.go | 8 +- .../core/get_vcn_overlap_request_response.go | 16 +- .../v65/core/get_vcn_request_response.go | 8 +- .../core/get_vcn_topology_request_response.go | 10 +- .../get_virtual_circuit_request_response.go | 8 +- .../v65/core/get_vlan_request_response.go | 8 +- .../get_vnic_attachment_request_response.go | 6 +- .../v65/core/get_vnic_request_response.go | 8 +- .../get_volume_attachment_request_response.go | 6 +- ...olicy_asset_assignment_request_response.go | 12 +- ...ckup_policy_assignment_request_response.go | 6 +- ...t_volume_backup_policy_request_response.go | 6 +- .../get_volume_backup_request_response.go | 6 +- ...et_volume_group_backup_request_response.go | 6 +- ...t_volume_group_replica_request_response.go | 6 +- .../core/get_volume_group_request_response.go | 6 +- .../get_volume_kms_key_request_response.go | 6 +- .../v65/core/get_volume_request_response.go | 6 +- .../v65/core/get_vtap_request_response.go | 8 +- ...ce_initial_credentials_request_response.go | 8 +- .../v65/core/host_group_configuration.go | 146 + ...host_group_placement_constraint_details.go | 60 + .../v65/core/i_scsi_volume_attachment.go | 16 +- .../oci-go-sdk/v65/core/icmp_options.go | 12 +- .../oracle/oci-go-sdk/v65/core/image.go | 20 +- .../image_capability_schema_descriptor.go | 14 +- .../v65/core/image_memory_constraints.go | 12 +- .../v65/core/image_ocpu_constraints.go | 12 +- .../core/image_shape_compatibility_entry.go | 12 +- .../core/image_shape_compatibility_summary.go | 14 +- .../v65/core/image_source_details.go | 14 +- ...source_via_object_storage_tuple_details.go | 12 +- ...e_source_via_object_storage_uri_details.go | 12 +- .../v65/core/ingress_security_rule.go | 14 +- .../oracle/oci-go-sdk/v65/core/instance.go | 119 +- .../core/instance_action_request_response.go | 8 +- .../v65/core/instance_agent_config.go | 14 +- .../v65/core/instance_agent_features.go | 12 +- .../instance_agent_plugin_config_details.go | 14 +- .../v65/core/instance_availability_config.go | 12 +- .../v65/core/instance_configuration.go | 22 +- ..._bm_gpu_launch_instance_platform_config.go | 16 +- ...ilan_bm_launch_instance_platform_config.go | 16 +- ..._bm_gpu_launch_instance_platform_config.go | 16 +- ...rome_bm_launch_instance_platform_config.go | 16 +- ..._amd_vm_launch_instance_platform_config.go | 12 +- ...tance_configuration_attach_vnic_details.go | 14 +- ...nce_configuration_attach_volume_details.go | 14 +- .../instance_configuration_autotune_policy.go | 14 +- ...tance_configuration_availability_config.go | 12 +- ...ance_configuration_block_volume_details.go | 12 +- ...figuration_block_volume_replica_details.go | 12 +- ...tance_configuration_create_vnic_details.go | 31 +- ...nce_configuration_create_volume_details.go | 29 +- ...uration_detached_volume_autotune_policy.go | 12 +- ...eric_bm_launch_instance_platform_config.go | 16 +- ...host_group_placement_constraint_details.go | 60 + ...instance_configuration_instance_details.go | 14 +- ...instance_configuration_instance_options.go | 12 +- ...e_configuration_instance_source_details.go | 14 +- ...on_instance_source_image_filter_details.go | 14 +- ...instance_source_via_boot_volume_details.go | 12 +- ...ation_instance_source_via_image_details.go | 14 +- ...lake_bm_launch_instance_platform_config.go | 12 +- ...lake_bm_launch_instance_platform_config.go | 12 +- ...ntel_vm_launch_instance_platform_config.go | 12 +- ...6_address_ipv6_subnet_cidr_pair_details.go | 12 +- ...nfiguration_iscsi_attach_volume_details.go | 12 +- ...on_launch_instance_agent_config_details.go | 14 +- ...e_configuration_launch_instance_details.go | 64 +- ...uration_launch_instance_platform_config.go | 14 +- ...on_launch_instance_shape_config_details.go | 60 +- .../instance_configuration_launch_options.go | 12 +- ...n_paravirtualized_attach_volume_details.go | 12 +- ...ation_performance_based_autotune_policy.go | 12 +- ...figuration_placement_constraint_details.go | 83 + .../core/instance_configuration_summary.go | 16 +- ...nce_configuration_volume_source_details.go | 14 +- ...olume_source_from_volume_backup_details.go | 12 +- ...ation_volume_source_from_volume_details.go | 12 +- .../v65/core/instance_console_connection.go | 18 +- .../v65/core/instance_credentials.go | 12 +- ...ntenance_alternative_resolution_actions.go | 10 +- .../v65/core/instance_maintenance_event.go | 22 +- .../instance_maintenance_event_summary.go | 22 +- .../v65/core/instance_maintenance_reboot.go | 12 +- .../oci-go-sdk/v65/core/instance_options.go | 12 +- .../oci-go-sdk/v65/core/instance_pool.go | 26 +- .../v65/core/instance_pool_instance.go | 46 +- ...nce_pool_instance_load_balancer_backend.go | 12 +- ...instance_pool_lifecycle_actions_details.go | 43 + ...tance_pool_lifecycle_management_details.go | 43 + .../instance_pool_load_balancer_attachment.go | 18 +- .../instance_pool_placement_configuration.go | 18 +- ...t_ipv6_address_ipv6_subnet_cidr_details.go | 12 +- .../instance_pool_placement_primary_subnet.go | 14 +- ...ce_pool_placement_secondary_vnic_subnet.go | 14 +- .../instance_pool_placement_subnet_details.go | 14 +- ...nce_pool_pre_termination_action_details.go | 50 + ...rmination_action_handle_timeout_details.go | 146 + .../v65/core/instance_pool_summary.go | 16 +- .../v65/core/instance_power_action_details.go | 14 +- .../v65/core/instance_reservation_config.go | 14 +- .../instance_reservation_config_details.go | 16 +- ...stance_reservation_shape_config_details.go | 14 +- .../v65/core/instance_shape_config.go | 60 +- .../v65/core/instance_source_details.go | 14 +- .../instance_source_image_filter_details.go | 14 +- ...instance_source_via_boot_volume_details.go | 12 +- .../core/instance_source_via_image_details.go | 14 +- .../oci-go-sdk/v65/core/instance_summary.go | 12 +- ...lake_bm_launch_instance_platform_config.go | 12 +- .../core/intel_icelake_bm_platform_config.go | 12 +- ...lake_bm_launch_instance_platform_config.go | 12 +- .../core/intel_skylake_bm_platform_config.go | 12 +- ...ntel_vm_launch_instance_platform_config.go | 12 +- .../v65/core/intel_vm_platform_config.go | 12 +- ...ntel_vm_update_instance_platform_config.go | 12 +- .../oci-go-sdk/v65/core/internet_gateway.go | 28 +- .../v65/core/inventory_ip_address_summary.go | 14 +- .../v65/core/inventory_resource_summary.go | 17 +- .../inventory_subnet_cidr_block_summary.go | 12 +- .../v65/core/inventory_subnet_summary.go | 16 +- .../core/inventory_vcn_cidr_block_summary.go | 12 +- .../v65/core/inventory_vcn_summary.go | 16 +- ...p_inventory_cidr_utilization_collection.go | 12 +- .../ip_inventory_cidr_utilization_summary.go | 12 +- .../v65/core/ip_inventory_collection.go | 12 +- ...ip_inventory_subnet_resource_collection.go | 12 +- .../ip_inventory_subnet_resource_summary.go | 17 +- .../ip_inventory_vcn_overlap_collection.go | 12 +- .../core/ip_inventory_vcn_overlap_summary.go | 14 +- .../oci-go-sdk/v65/core/ip_sec_connection.go | 54 +- .../core/ip_sec_connection_device_config.go | 16 +- .../core/ip_sec_connection_device_status.go | 16 +- .../v65/core/ip_sec_connection_tunnel.go | 18 +- .../ip_sec_connection_tunnel_error_details.go | 12 +- .../ip_sec_connection_tunnel_shared_secret.go | 12 +- .../oracle/oci-go-sdk/v65/core/ipam.go | 12 +- ...c_tunnel_drg_attachment_network_details.go | 16 +- .../oracle/oci-go-sdk/v65/core/ipv6.go | 138 +- ...6_address_ipv6_subnet_cidr_pair_details.go | 12 +- .../core/ipv6_vnic_detach_request_response.go | 106 + .../launch_attach_i_scsi_volume_details.go | 12 +- ...h_attach_paravirtualized_volume_details.go | 12 +- .../v65/core/launch_attach_volume_details.go | 14 +- .../v65/core/launch_create_volume_details.go | 14 +- .../launch_create_volume_from_attributes.go | 14 +- .../launch_instance_agent_config_details.go | 14 +- ...ch_instance_availability_config_details.go | 12 +- ...instance_configuration_request_response.go | 14 +- .../v65/core/launch_instance_details.go | 63 +- .../core/launch_instance_licensing_config.go | 178 + .../core/launch_instance_platform_config.go | 18 +- .../core/launch_instance_request_response.go | 10 +- .../launch_instance_shape_config_details.go | 60 +- ...aunch_instance_windows_licensing_config.go | 70 + .../oci-go-sdk/v65/core/launch_options.go | 12 +- .../v65/core/letter_of_authority.go | 14 +- .../oci-go-sdk/v65/core/licensing_config.go | 139 + ...ons_for_remote_peering_request_response.go | 6 +- ...ting_resource_versions_request_response.go | 12 +- ...t_app_catalog_listings_request_response.go | 12 +- ..._catalog_subscriptions_request_response.go | 14 +- ..._block_volume_replicas_request_response.go | 14 +- ...oot_volume_attachments_request_response.go | 14 +- ...st_boot_volume_backups_request_response.go | 14 +- ...t_boot_volume_replicas_request_response.go | 14 +- .../list_boot_volumes_request_response.go | 14 +- .../v65/core/list_byoasns_request_response.go | 210 + ...byoip_allocated_ranges_request_response.go | 14 +- .../list_byoip_ranges_request_response.go | 14 +- .../list_capture_filters_request_response.go | 14 +- ...ster_network_instances_request_response.go | 16 +- .../list_cluster_networks_request_response.go | 14 +- ...vation_instance_shapes_request_response.go | 14 +- ..._reservation_instances_request_response.go | 14 +- ..._capacity_reservations_request_response.go | 14 +- ...te_capacity_topologies_request_response.go | 14 +- ...mpute_bare_metal_hosts_request_response.go | 22 +- ...gy_compute_hpc_islands_request_response.go | 16 +- ...compute_network_blocks_request_response.go | 18 +- .../list_compute_clusters_request_response.go | 14 +- ...bility_schema_versions_request_response.go | 14 +- ...age_capability_schemas_request_response.go | 12 +- ...mory_cluster_instances_request_response.go | 213 + ...te_gpu_memory_clusters_request_response.go | 228 + ...ute_gpu_memory_fabrics_request_response.go | 238 + ...st_compute_host_groups_request_response.go | 107 + .../list_compute_hosts_request_response.go | 237 + ...age_capability_schemas_request_response.go | 14 +- ...list_console_histories_request_response.go | 14 +- ...list_cpe_device_shapes_request_response.go | 12 +- .../v65/core/list_cpes_request_response.go | 14 +- ...t_cross_connect_groups_request_response.go | 14 +- ...ross_connect_locations_request_response.go | 14 +- ...cross_connect_mappings_request_response.go | 8 +- .../list_cross_connects_request_response.go | 16 +- ...nect_port_speed_shapes_request_response.go | 14 +- ...m_host_instance_shapes_request_response.go | 14 +- ...ated_vm_host_instances_request_response.go | 17 +- ...dicated_vm_host_shapes_request_response.go | 14 +- ...ist_dedicated_vm_hosts_request_response.go | 17 +- .../list_dhcp_options_request_response.go | 16 +- .../list_drg_attachments_request_response.go | 22 +- ...istribution_statements_request_response.go | 14 +- ...rg_route_distributions_request_response.go | 14 +- .../list_drg_route_rules_request_response.go | 14 +- .../list_drg_route_tables_request_response.go | 16 +- .../v65/core/list_drgs_request_response.go | 14 +- ...nect_provider_services_request_response.go | 14 +- ...rcuit_bandwidth_shapes_request_response.go | 14 +- .../list_firmware_bundles_request_response.go | 116 + ...nnection_tunnel_routes_request_response.go | 16 +- ..._security_associations_request_response.go | 16 +- ...sec_connection_tunnels_request_response.go | 14 +- ...st_i_p_sec_connections_request_response.go | 18 +- ..._compatibility_entries_request_response.go | 14 +- .../v65/core/list_images_request_response.go | 14 +- ...nstance_configurations_request_response.go | 14 +- ...ce_console_connections_request_response.go | 14 +- .../list_instance_devices_request_response.go | 14 +- ...nce_maintenance_events_request_response.go | 14 +- ...nstance_pool_instances_request_response.go | 16 +- .../list_instance_pools_request_response.go | 14 +- .../core/list_instances_request_response.go | 18 +- ...list_internet_gateways_request_response.go | 16 +- .../v65/core/list_ip_inventory_details.go | 18 +- .../list_ip_inventory_request_response.go | 16 +- .../v65/core/list_ipv6s_request_response.go | 23 +- ...local_peering_gateways_request_response.go | 16 +- .../list_nat_gateways_request_response.go | 16 +- ...y_group_security_rules_request_response.go | 14 +- ...k_security_group_vnics_request_response.go | 14 +- ...etwork_security_groups_request_response.go | 18 +- .../core/list_private_ips_request_response.go | 25 +- .../list_public_ip_pools_request_response.go | 14 +- .../core/list_public_ips_request_response.go | 14 +- ...te_peering_connections_request_response.go | 16 +- .../list_route_tables_request_response.go | 16 +- .../list_security_lists_request_response.go | 16 +- .../list_service_gateways_request_response.go | 16 +- .../core/list_services_request_response.go | 12 +- .../v65/core/list_shapes_request_response.go | 19 +- .../v65/core/list_subnets_request_response.go | 16 +- .../v65/core/list_vcns_request_response.go | 14 +- ...uit_associated_tunnels_request_response.go | 14 +- ...rcuit_bandwidth_shapes_request_response.go | 14 +- ...ircuit_public_prefixes_request_response.go | 8 +- .../list_virtual_circuits_request_response.go | 14 +- .../v65/core/list_vlans_request_response.go | 16 +- .../list_vnic_attachments_request_response.go | 14 +- ...ist_volume_attachments_request_response.go | 14 +- ...volume_backup_policies_request_response.go | 12 +- .../list_volume_backups_request_response.go | 14 +- ...t_volume_group_backups_request_response.go | 14 +- ..._volume_group_replicas_request_response.go | 14 +- .../list_volume_groups_request_response.go | 14 +- .../v65/core/list_volumes_request_response.go | 14 +- .../v65/core/list_vtaps_request_response.go | 20 +- .../v65/core/local_peering_gateway.go | 38 +- ...oop_back_drg_attachment_network_details.go | 16 +- .../v65/core/macsec_encryption_cipher.go | 10 +- .../oracle/oci-go-sdk/v65/core/macsec_key.go | 16 +- .../oci-go-sdk/v65/core/macsec_properties.go | 12 +- .../oci-go-sdk/v65/core/macsec_state.go | 10 +- .../v65/core/measured_boot_entry.go | 12 +- .../v65/core/measured_boot_report.go | 12 +- .../core/measured_boot_report_measurements.go | 12 +- .../oci-go-sdk/v65/core/member_replica.go | 12 +- .../memory_fabric_preferences_descriptor.go | 97 + .../core/modify_ipv4_subnet_cidr_details.go | 48 + ...odify_ipv4_subnet_cidr_request_response.go | 108 + .../v65/core/modify_vcn_cidr_details.go | 12 +- .../core/modify_vcn_cidr_request_response.go | 12 +- .../oci-go-sdk/v65/core/multipath_device.go | 12 +- .../oracle/oci-go-sdk/v65/core/nat_gateway.go | 30 +- .../v65/core/network_security_group.go | 38 +- .../v65/core/network_security_group_vnic.go | 16 +- .../v65/core/networking_topology.go | 14 +- .../core/paravirtualized_volume_attachment.go | 12 +- .../core/peer_region_for_remote_peering.go | 14 +- .../percentage_of_cores_enabled_options.go | 12 +- .../core/performance_based_autotune_policy.go | 12 +- .../v65/core/phase_one_config_details.go | 12 +- .../v65/core/phase_two_config_details.go | 12 +- .../v65/core/placement_constraint_details.go | 87 + .../oci-go-sdk/v65/core/platform_config.go | 14 +- .../oci-go-sdk/v65/core/platform_versions.go | 48 + .../oracle/oci-go-sdk/v65/core/port_range.go | 12 +- .../preemptible_instance_config_details.go | 12 +- .../oci-go-sdk/v65/core/preemption_action.go | 14 +- .../oracle/oci-go-sdk/v65/core/private_ip.go | 143 +- ...private_ip_vnic_detach_request_response.go | 106 + .../oracle/oci-go-sdk/v65/core/public_ip.go | 30 +- .../oci-go-sdk/v65/core/public_ip_pool.go | 20 +- .../v65/core/public_ip_pool_collection.go | 12 +- .../v65/core/public_ip_pool_summary.go | 20 +- .../v65/core/reboot_migrate_action_details.go | 12 +- .../oci-go-sdk/v65/core/recycle_details.go | 95 + .../v65/core/remote_peering_connection.go | 30 +- ...nnection_drg_attachment_network_details.go | 14 +- ...g_route_distribution_statements_details.go | 12 +- ...istribution_statements_request_response.go | 8 +- .../core/remove_drg_route_rules_details.go | 12 +- ...remove_drg_route_rules_request_response.go | 8 +- ...drg_route_distribution_request_response.go | 8 +- ...pe_compatibility_entry_request_response.go | 8 +- ...drg_route_distribution_request_response.go | 8 +- .../core/remove_ipv4_subnet_cidr_details.go | 50 + ...emove_ipv4_subnet_cidr_request_response.go | 108 + ...emove_ipv6_subnet_cidr_request_response.go | 12 +- .../remove_ipv6_vcn_cidr_request_response.go | 12 +- ...k_security_group_security_rules_details.go | 12 +- ...y_group_security_rules_request_response.go | 8 +- .../remove_public_ip_pool_capacity_details.go | 12 +- ...ublic_ip_pool_capacity_request_response.go | 8 +- .../core/remove_subnet_ipv6_cidr_details.go | 14 +- .../v65/core/remove_vcn_cidr_details.go | 12 +- .../core/remove_vcn_cidr_request_response.go | 12 +- .../v65/core/remove_vcn_ipv6_cidr_details.go | 14 +- .../v65/core/reset_action_details.go | 14 +- .../reset_instance_pool_request_response.go | 8 +- .../oracle/oci-go-sdk/v65/core/route_rule.go | 18 +- .../oracle/oci-go-sdk/v65/core/route_table.go | 26 +- .../oci-go-sdk/v65/core/security_list.go | 26 +- .../oci-go-sdk/v65/core/security_rule.go | 24 +- .../oracle/oci-go-sdk/v65/core/service.go | 16 +- .../oci-go-sdk/v65/core/service_gateway.go | 30 +- .../v65/core/service_id_request_details.go | 14 +- .../v65/core/service_id_response_details.go | 14 +- .../v65/core/set_origin_asn_details.go | 48 + .../core/set_origin_asn_request_response.go | 108 + ...t_origin_asn_to_oracle_request_response.go | 93 + .../oracle/oci-go-sdk/v65/core/shape.go | 25 +- ...ontrol_service_enabled_platform_options.go | 12 +- .../v65/core/shape_alternative_object.go | 12 +- ...anagement_unit_enabled_platform_options.go | 12 +- .../core/shape_max_vnic_attachment_options.go | 12 +- .../v65/core/shape_measured_boot_options.go | 12 +- .../core/shape_memory_encryption_options.go | 12 +- .../v65/core/shape_memory_options.go | 12 +- .../shape_networking_bandwidth_options.go | 12 +- ..._numa_nodes_per_socket_platform_options.go | 16 +- .../oci-go-sdk/v65/core/shape_ocpu_options.go | 12 +- .../v65/core/shape_platform_config_options.go | 12 +- .../v65/core/shape_secure_boot_options.go | 12 +- ...ulti_threading_enabled_platform_options.go | 12 +- .../shape_trusted_platform_module_options.go | 12 +- ...l_instructions_enabled_platform_options.go | 12 +- .../v65/core/soft_reset_action_details.go | 14 +- ...oftreset_instance_pool_request_response.go | 8 +- ...softstop_instance_pool_request_response.go | 8 +- .../start_instance_pool_request_response.go | 8 +- .../stop_instance_pool_request_response.go | 8 +- .../oracle/oci-go-sdk/v65/core/subnet.go | 44 +- .../oci-go-sdk/v65/core/subnet_topology.go | 16 +- .../v65/core/supported_capabilities.go | 45 + .../oracle/oci-go-sdk/v65/core/tcp_options.go | 12 +- ...minate_cluster_network_request_response.go | 12 +- ...erminate_instance_pool_request_response.go | 8 +- .../terminate_instance_request_response.go | 54 +- .../v65/core/terminate_preemption_action.go | 12 +- ..._proceed_instance_pool_instance_details.go | 45 + ...instance_pool_instance_request_response.go | 98 + .../oracle/oci-go-sdk/v65/core/topology.go | 14 +- ...ogy_associated_with_entity_relationship.go | 16 +- ...gy_associated_with_relationship_details.go | 14 +- .../topology_contains_entity_relationship.go | 16 +- .../v65/core/topology_entity_relationship.go | 18 +- .../topology_routes_to_entity_relationship.go | 16 +- ...topology_routes_to_relationship_details.go | 14 +- .../oci-go-sdk/v65/core/tunnel_config.go | 12 +- .../v65/core/tunnel_cpe_device_config.go | 12 +- .../v65/core/tunnel_phase_one_details.go | 12 +- .../v65/core/tunnel_phase_two_details.go | 12 +- .../v65/core/tunnel_route_summary.go | 12 +- .../tunnel_security_association_summary.go | 12 +- .../oci-go-sdk/v65/core/tunnel_status.go | 12 +- .../oracle/oci-go-sdk/v65/core/udp_options.go | 12 +- .../core/update_boot_volume_backup_details.go | 20 +- ...ate_boot_volume_backup_request_response.go | 6 +- .../v65/core/update_boot_volume_details.go | 18 +- .../update_boot_volume_kms_key_details.go | 12 +- ...te_boot_volume_kms_key_request_response.go | 6 +- .../update_boot_volume_request_response.go | 6 +- .../v65/core/update_byoasn_details.go | 56 + .../core/update_byoasn_request_response.go | 102 + .../v65/core/update_byoip_range_details.go | 16 +- .../update_byoip_range_request_response.go | 8 +- .../core/update_capacity_source_details.go | 14 +- .../v65/core/update_capture_filter_details.go | 16 +- .../update_capture_filter_request_response.go | 8 +- .../core/update_cluster_network_details.go | 18 +- ...e_cluster_network_instance_pool_details.go | 20 +- ...update_cluster_network_request_response.go | 8 +- ...te_compute_capacity_reservation_details.go | 18 +- ...e_capacity_reservation_request_response.go | 10 +- ...pdate_compute_capacity_topology_details.go | 16 +- ...pute_capacity_topology_request_response.go | 12 +- .../core/update_compute_cluster_details.go | 18 +- ...update_compute_cluster_request_response.go | 10 +- ...date_compute_gpu_memory_cluster_details.go | 64 + ...ute_gpu_memory_cluster_request_response.go | 114 + ...compute_gpu_memory_cluster_scale_config.go | 51 + ...pdate_compute_gpu_memory_fabric_details.go | 58 + ...pute_gpu_memory_fabric_request_response.go | 109 + .../core/update_compute_host_group_details.go | 62 + ...ate_compute_host_group_request_response.go | 117 + .../v65/core/update_compute_hosts_details.go | 56 + .../update_compute_hosts_request_response.go | 111 + ...compute_image_capability_schema_details.go | 16 +- ...mage_capability_schema_request_response.go | 6 +- .../core/update_console_history_details.go | 16 +- ...update_console_history_request_response.go | 6 +- .../oci-go-sdk/v65/core/update_cpe_details.go | 18 +- .../v65/core/update_cpe_request_response.go | 8 +- .../v65/core/update_cross_connect_details.go | 16 +- .../update_cross_connect_group_details.go | 16 +- ...te_cross_connect_group_request_response.go | 8 +- .../update_cross_connect_request_response.go | 8 +- ...pdate_dedicated_capacity_source_details.go | 12 +- .../core/update_dedicated_vm_host_details.go | 16 +- ...date_dedicated_vm_host_request_response.go | 6 +- .../v65/core/update_dhcp_details.go | 16 +- .../update_dhcp_options_request_response.go | 8 +- .../v65/core/update_drg_attachment_details.go | 26 +- .../update_drg_attachment_request_response.go | 8 +- .../oci-go-sdk/v65/core/update_drg_details.go | 16 +- .../v65/core/update_drg_request_response.go | 8 +- .../update_drg_route_distribution_details.go | 16 +- ...drg_route_distribution_request_response.go | 8 +- ...rg_route_distribution_statement_details.go | 12 +- ...g_route_distribution_statements_details.go | 12 +- ...istribution_statements_request_response.go | 8 +- .../v65/core/update_drg_route_rule_details.go | 14 +- .../core/update_drg_route_rules_details.go | 12 +- ...update_drg_route_rules_request_response.go | 8 +- .../core/update_drg_route_table_details.go | 18 +- ...update_drg_route_table_request_response.go | 8 +- ...ate_i_p_sec_connection_request_response.go | 8 +- ..._sec_connection_tunnel_request_response.go | 10 +- ...n_tunnel_shared_secret_request_response.go | 10 +- .../v65/core/update_image_details.go | 16 +- .../v65/core/update_image_request_response.go | 8 +- .../update_instance_agent_config_details.go | 14 +- ...te_instance_availability_config_details.go | 12 +- .../update_instance_configuration_details.go | 16 +- ...instance_configuration_request_response.go | 6 +- ...ate_instance_console_connection_details.go | 16 +- ...nce_console_connection_request_response.go | 6 +- .../v65/core/update_instance_details.go | 50 +- .../core/update_instance_licensing_config.go | 178 + ...date_instance_maintenance_event_details.go | 16 +- ...ance_maintenance_event_request_response.go | 10 +- .../core/update_instance_platform_config.go | 14 +- .../v65/core/update_instance_pool_details.go | 20 +- ...ce_pool_placement_configuration_details.go | 14 +- .../update_instance_pool_request_response.go | 8 +- .../core/update_instance_request_response.go | 12 +- .../update_instance_shape_config_details.go | 60 +- .../core/update_instance_source_details.go | 14 +- ...instance_source_via_boot_volume_details.go | 12 +- ...pdate_instance_source_via_image_details.go | 12 +- ...pdate_instance_windows_licensing_config.go | 70 + .../core/update_internet_gateway_details.go | 18 +- ...pdate_internet_gateway_request_response.go | 8 +- .../core/update_ip_sec_connection_details.go | 20 +- ...update_ip_sec_connection_tunnel_details.go | 12 +- ...connection_tunnel_shared_secret_details.go | 12 +- ...pdate_ip_sec_tunnel_bgp_session_details.go | 12 +- ...ip_sec_tunnel_encryption_domain_details.go | 14 +- .../v65/core/update_ipv6_details.go | 73 +- .../v65/core/update_ipv6_request_response.go | 8 +- .../v65/core/update_launch_options.go | 16 +- .../update_local_peering_gateway_details.go | 26 +- ..._local_peering_gateway_request_response.go | 8 +- .../oci-go-sdk/v65/core/update_macsec_key.go | 16 +- .../v65/core/update_macsec_properties.go | 12 +- .../v65/core/update_nat_gateway_details.go | 18 +- .../update_nat_gateway_request_response.go | 8 +- .../update_network_security_group_details.go | 16 +- ...network_security_group_request_response.go | 8 +- ...k_security_group_security_rules_details.go | 12 +- ...y_group_security_rules_request_response.go | 8 +- .../v65/core/update_private_ip_details.go | 75 +- .../update_private_ip_request_response.go | 8 +- .../v65/core/update_public_ip_details.go | 18 +- .../v65/core/update_public_ip_pool_details.go | 16 +- .../update_public_ip_pool_request_response.go | 8 +- .../core/update_public_ip_request_response.go | 8 +- ...pdate_remote_peering_connection_details.go | 16 +- ...ote_peering_connection_request_response.go | 8 +- .../v65/core/update_route_table_details.go | 16 +- .../update_route_table_request_response.go | 8 +- .../v65/core/update_security_list_details.go | 16 +- .../update_security_list_request_response.go | 8 +- .../v65/core/update_security_rule_details.go | 24 +- .../core/update_service_gateway_details.go | 20 +- ...update_service_gateway_request_response.go | 8 +- .../v65/core/update_subnet_details.go | 22 +- .../core/update_subnet_request_response.go | 8 +- ...update_tunnel_cpe_device_config_details.go | 12 +- ...nnel_cpe_device_config_request_response.go | 10 +- .../oci-go-sdk/v65/core/update_vcn_details.go | 23 +- .../v65/core/update_vcn_request_response.go | 8 +- .../core/update_virtual_circuit_details.go | 20 +- ...update_virtual_circuit_request_response.go | 8 +- .../v65/core/update_vlan_details.go | 18 +- .../v65/core/update_vlan_request_response.go | 8 +- .../v65/core/update_vnic_details.go | 30 +- .../v65/core/update_vnic_request_response.go | 8 +- .../core/update_volume_attachment_details.go | 12 +- ...date_volume_attachment_request_response.go | 6 +- .../v65/core/update_volume_backup_details.go | 20 +- .../update_volume_backup_policy_details.go | 26 +- ...e_volume_backup_policy_request_response.go | 6 +- .../update_volume_backup_request_response.go | 6 +- .../v65/core/update_volume_details.go | 41 +- .../update_volume_group_backup_details.go | 16 +- ...te_volume_group_backup_request_response.go | 6 +- .../v65/core/update_volume_group_details.go | 16 +- .../update_volume_group_request_response.go | 6 +- .../v65/core/update_volume_kms_key_details.go | 12 +- .../update_volume_kms_key_request_response.go | 6 +- .../core/update_volume_request_response.go | 6 +- .../v65/core/update_vtap_details.go | 24 +- .../v65/core/update_vtap_request_response.go | 12 +- ...d_network_security_group_security_rules.go | 12 +- .../v65/core/upgrade_drg_request_response.go | 12 +- .../oci-go-sdk/v65/core/upgrade_status.go | 12 +- .../core/validate_byoasn_request_response.go | 105 + .../validate_byoip_range_request_response.go | 12 +- .../oracle/oci-go-sdk/v65/core/vcn.go | 41 +- .../v65/core/vcn_dns_resolver_association.go | 16 +- ...n_drg_attachment_network_create_details.go | 22 +- .../vcn_drg_attachment_network_details.go | 20 +- ...n_drg_attachment_network_update_details.go | 18 +- .../oci-go-sdk/v65/core/vcn_topology.go | 16 +- .../oci-go-sdk/v65/core/virtual_circuit.go | 34 +- ...rtual_circuit_associated_tunnel_details.go | 16 +- .../core/virtual_circuit_bandwidth_shape.go | 12 +- ..._circuit_drg_attachment_network_details.go | 14 +- .../v65/core/virtual_circuit_ip_mtu.go | 10 +- .../v65/core/virtual_circuit_public_prefix.go | 14 +- .../virtual_circuit_redundancy_metadata.go | 20 +- .../oracle/oci-go-sdk/v65/core/vlan.go | 24 +- .../oracle/oci-go-sdk/v65/core/vnic.go | 42 +- .../oci-go-sdk/v65/core/vnic_attachment.go | 16 +- .../oracle/oci-go-sdk/v65/core/volume.go | 29 +- .../oci-go-sdk/v65/core/volume_attachment.go | 16 +- .../oci-go-sdk/v65/core/volume_backup.go | 24 +- .../v65/core/volume_backup_policy.go | 18 +- .../core/volume_backup_policy_assignment.go | 18 +- .../v65/core/volume_backup_schedule.go | 14 +- .../oci-go-sdk/v65/core/volume_group.go | 18 +- .../v65/core/volume_group_backup.go | 20 +- .../v65/core/volume_group_replica.go | 20 +- .../v65/core/volume_group_replica_details.go | 16 +- .../v65/core/volume_group_replica_info.go | 16 +- .../v65/core/volume_group_source_details.go | 14 +- ...source_from_volume_group_backup_details.go | 12 +- ..._group_source_from_volume_group_details.go | 12 +- ...ource_from_volume_group_replica_details.go | 12 +- ...olume_group_source_from_volumes_details.go | 12 +- .../oci-go-sdk/v65/core/volume_kms_key.go | 12 +- .../v65/core/volume_source_details.go | 14 +- ...ource_from_block_volume_replica_details.go | 12 +- ...source_from_volume_backup_delta_details.go | 12 +- ...olume_source_from_volume_backup_details.go | 12 +- .../core/volume_source_from_volume_details.go | 12 +- .../oracle/oci-go-sdk/v65/core/vtap.go | 30 +- .../core/vtap_capture_filter_rule_details.go | 12 +- .../withdraw_byoip_range_request_response.go | 8 +- .../add_export_lock_request_response.go | 8 +- .../add_file_system_lock_request_response.go | 8 +- ...m_snapshot_policy_lock_request_response.go | 8 +- .../add_mount_target_lock_request_response.go | 8 +- ...utbound_connector_lock_request_response.go | 8 +- .../add_replication_lock_request_response.go | 8 +- .../add_snapshot_lock_request_response.go | 8 +- ...ade_shape_mount_target_request_response.go | 8 +- .../change_file_system_compartment_details.go | 8 +- ...ile_system_compartment_request_response.go | 8 +- ...tem_snapshot_policy_compartment_details.go | 8 +- ...hot_policy_compartment_request_response.go | 8 +- ...change_mount_target_compartment_details.go | 8 +- ...unt_target_compartment_request_response.go | 8 +- ..._outbound_connector_compartment_details.go | 8 +- ..._connector_compartment_request_response.go | 8 +- .../change_replication_compartment_details.go | 8 +- ...eplication_compartment_request_response.go | 8 +- .../v65/filestorage/client_options.go | 6 +- .../v65/filestorage/create_export_details.go | 10 +- .../create_export_request_response.go | 6 +- .../filestorage/create_file_system_details.go | 23 +- .../create_file_system_request_response.go | 6 +- ...eate_filesystem_snapshot_policy_details.go | 12 +- ...system_snapshot_policy_request_response.go | 6 +- .../filestorage/create_kerberos_details.go | 8 +- .../create_ldap_bind_account_details.go | 14 +- .../filestorage/create_ldap_idmap_details.go | 20 +- .../create_mount_target_details.go | 33 +- .../create_mount_target_request_response.go | 6 +- .../create_outbound_connector_details.go | 14 +- ...ate_outbound_connector_request_response.go | 6 +- .../filestorage/create_quota_rule_details.go | 115 + .../create_quota_rule_request_response.go | 112 + .../filestorage/create_replication_details.go | 16 +- .../create_replication_request_response.go | 6 +- .../filestorage/create_snapshot_details.go | 12 +- .../create_snapshot_request_response.go | 6 +- .../delete_export_request_response.go | 8 +- .../delete_file_system_request_response.go | 8 +- ...system_snapshot_policy_request_response.go | 8 +- .../delete_mount_target_request_response.go | 8 +- ...ete_outbound_connector_request_response.go | 8 +- .../delete_quota_rule_request_response.go | 99 + .../delete_replication_request_response.go | 8 +- ...ete_replication_target_request_response.go | 8 +- .../delete_snapshot_request_response.go | 8 +- .../detach_clone_request_response.go | 8 +- .../oci-go-sdk/v65/filestorage/endpoint.go | 6 +- .../estimate_replication_request_response.go | 8 +- .../oci-go-sdk/v65/filestorage/export.go | 14 +- .../oci-go-sdk/v65/filestorage/export_set.go | 12 +- .../v65/filestorage/export_set_summary.go | 12 +- .../v65/filestorage/export_summary.go | 12 +- .../oci-go-sdk/v65/filestorage/file_system.go | 104 +- .../v65/filestorage/file_system_summary.go | 91 +- .../v65/filestorage/filestorage_client.go | 535 +- .../filestorage/filesystem_snapshot_policy.go | 22 +- .../filesystem_snapshot_policy_summary.go | 18 +- .../get_export_request_response.go | 8 +- .../get_export_set_request_response.go | 8 +- .../get_file_system_request_response.go | 8 +- ...system_snapshot_policy_request_response.go | 8 +- .../get_mount_target_request_response.go | 8 +- ...get_outbound_connector_request_response.go | 8 +- .../get_quota_rule_request_response.go | 105 + .../get_replication_request_response.go | 8 +- ...get_replication_target_request_response.go | 8 +- .../get_snapshot_request_response.go | 8 +- .../oci-go-sdk/v65/filestorage/kerberos.go | 8 +- .../v65/filestorage/kerberos_keytab_entry.go | 6 +- .../v65/filestorage/key_tab_secret_details.go | 8 +- .../v65/filestorage/ldap_bind_account.go | 25 +- .../filestorage/ldap_bind_account_summary.go | 23 +- .../oci-go-sdk/v65/filestorage/ldap_idmap.go | 20 +- .../list_export_sets_request_response.go | 16 +- .../list_exports_request_response.go | 20 +- .../list_file_systems_request_response.go | 22 +- ...stem_snapshot_policies_request_response.go | 16 +- .../list_mount_targets_request_response.go | 18 +- ...st_outbound_connectors_request_response.go | 16 +- .../list_quota_rules_request_response.go | 239 + ...st_replication_targets_request_response.go | 16 +- .../list_replications_request_response.go | 18 +- .../list_snapshots_request_response.go | 20 +- .../v65/filestorage/mount_target.go | 32 +- .../v65/filestorage/mount_target_summary.go | 32 +- .../v65/filestorage/outbound_connector.go | 27 +- .../filestorage/outbound_connector_summary.go | 27 +- ...system_snapshot_policy_request_response.go | 8 +- .../oci-go-sdk/v65/filestorage/quota_rule.go | 131 + .../v65/filestorage/quota_rule_summary.go | 140 + .../remove_export_lock_request_response.go | 8 +- ...emove_file_system_lock_request_response.go | 8 +- ...m_snapshot_policy_lock_request_response.go | 8 +- ...move_mount_target_lock_request_response.go | 8 +- ...utbound_connector_lock_request_response.go | 8 +- ...emove_replication_lock_request_response.go | 8 +- .../remove_snapshot_lock_request_response.go | 8 +- .../oci-go-sdk/v65/filestorage/replication.go | 28 +- .../v65/filestorage/replication_estimate.go | 6 +- .../v65/filestorage/replication_summary.go | 18 +- .../v65/filestorage/replication_target.go | 28 +- .../filestorage/replication_target_summary.go | 18 +- .../v65/filestorage/resource_lock.go | 6 +- ...le_downgrade_shape_mount_target_details.go | 6 +- ...ade_shape_mount_target_request_response.go | 8 +- .../oci-go-sdk/v65/filestorage/snapshot.go | 26 +- .../v65/filestorage/snapshot_schedule.go | 6 +- .../v65/filestorage/snapshot_summary.go | 24 +- .../v65/filestorage/source_details.go | 14 +- .../filestorage/toggle_quota_rules_details.go | 40 + .../toggle_quota_rules_request_response.go | 106 + ...system_snapshot_policy_request_response.go | 8 +- .../v65/filestorage/update_export_details.go | 6 +- .../update_export_request_response.go | 8 +- .../filestorage/update_export_set_details.go | 6 +- .../update_export_set_request_response.go | 8 +- .../filestorage/update_file_system_details.go | 16 +- .../update_file_system_request_response.go | 8 +- ...date_filesystem_snapshot_policy_details.go | 10 +- ...system_snapshot_policy_request_response.go | 8 +- .../filestorage/update_kerberos_details.go | 8 +- .../filestorage/update_ldap_idmap_details.go | 20 +- .../update_mount_target_details.go | 20 +- .../update_mount_target_request_response.go | 8 +- .../update_outbound_connector_details.go | 10 +- ...ate_outbound_connector_request_response.go | 8 +- .../filestorage/update_quota_rule_details.go | 45 + .../update_quota_rule_request_response.go | 108 + .../filestorage/update_replication_details.go | 10 +- .../update_replication_request_response.go | 8 +- .../filestorage/update_snapshot_details.go | 10 +- .../update_snapshot_request_response.go | 8 +- .../upgrade_shape_mount_target_details.go | 6 +- ...ade_shape_mount_target_request_response.go | 8 +- .../filestorage/validate_key_tabs_details.go | 8 +- .../validate_key_tabs_request_response.go | 6 +- .../validate_key_tabs_response_details.go | 6 +- .../activate_domain_request_response.go | 8 +- ...tivate_mfa_totp_device_request_response.go | 6 +- .../v65/identity/add_lock_details.go | 6 +- .../add_tag_default_lock_request_response.go | 6 +- ...add_tag_namespace_lock_request_response.go | 6 +- .../v65/identity/add_user_to_group_details.go | 6 +- .../add_user_to_group_request_response.go | 6 +- .../allowed_domain_license_type_summary.go | 6 +- .../oracle/oci-go-sdk/v65/identity/api_key.go | 10 +- ...mble_effective_tag_set_request_response.go | 6 +- .../oci-go-sdk/v65/identity/auth_token.go | 8 +- .../v65/identity/authentication_policy.go | 6 +- .../v65/identity/availability_domain.go | 8 +- .../identity/base_tag_definition_validator.go | 12 +- .../v65/identity/bulk_action_resource.go | 6 +- .../v65/identity/bulk_action_resource_type.go | 6 +- .../bulk_action_resource_type_collection.go | 6 +- .../identity/bulk_delete_resources_details.go | 6 +- .../bulk_delete_resources_request_response.go | 8 +- .../v65/identity/bulk_delete_tags_details.go | 6 +- .../bulk_delete_tags_request_response.go | 8 +- .../identity/bulk_edit_operation_details.go | 8 +- .../v65/identity/bulk_edit_resource.go | 6 +- .../v65/identity/bulk_edit_tags_details.go | 6 +- .../bulk_edit_tags_request_response.go | 8 +- .../identity/bulk_edit_tags_resource_type.go | 10 +- ...bulk_edit_tags_resource_type_collection.go | 6 +- .../identity/bulk_move_resources_details.go | 8 +- .../bulk_move_resources_request_response.go | 8 +- ...e_delete_tag_namespace_request_response.go | 8 +- .../change_domain_compartment_details.go | 8 +- ...nge_domain_compartment_request_response.go | 8 +- .../change_domain_license_type_details.go | 6 +- ...ge_domain_license_type_request_response.go | 8 +- ...change_tag_namespace_compartment_detail.go | 6 +- ..._namespace_compartment_request_response.go | 6 +- .../change_tas_domain_license_type_details.go | 6 +- .../oci-go-sdk/v65/identity/compartment.go | 16 +- .../v65/identity/create_api_key_details.go | 6 +- .../v65/identity/create_auth_token_details.go | 6 +- .../create_auth_token_request_response.go | 6 +- .../identity/create_compartment_details.go | 10 +- .../create_compartment_request_response.go | 6 +- .../create_customer_secret_key_details.go | 6 +- ...te_customer_secret_key_request_response.go | 6 +- .../identity/create_db_credential_details.go | 6 +- .../create_db_credential_request_response.go | 6 +- .../v65/identity/create_domain_details.go | 12 +- .../create_domain_request_response.go | 8 +- .../identity/create_dynamic_group_details.go | 12 +- .../create_dynamic_group_request_response.go | 6 +- .../v65/identity/create_group_details.go | 10 +- .../identity/create_group_request_response.go | 6 +- .../create_identity_provider_details.go | 12 +- ...eate_identity_provider_request_response.go | 6 +- .../create_idp_group_mapping_details.go | 6 +- ...eate_idp_group_mapping_request_response.go | 6 +- ...create_mfa_totp_device_request_response.go | 6 +- .../identity/create_network_source_details.go | 10 +- .../create_network_source_request_response.go | 6 +- ...reate_o_auth2_client_credential_details.go | 6 +- ...auth_client_credential_request_response.go | 6 +- ..._or_reset_u_i_password_request_response.go | 6 +- .../v65/identity/create_policy_details.go | 14 +- .../create_policy_request_response.go | 6 +- .../create_region_subscription_details.go | 8 +- ...te_region_subscription_request_response.go | 6 +- .../create_saml2_identity_provider_details.go | 10 +- .../create_smtp_credential_details.go | 6 +- ...create_smtp_credential_request_response.go | 6 +- .../identity/create_swift_password_details.go | 6 +- .../create_swift_password_request_response.go | 6 +- .../identity/create_tag_default_details.go | 6 +- .../create_tag_default_request_response.go | 6 +- .../v65/identity/create_tag_details.go | 10 +- .../identity/create_tag_namespace_details.go | 10 +- .../create_tag_namespace_request_response.go | 6 +- .../identity/create_tag_request_response.go | 6 +- .../v65/identity/create_user_details.go | 10 +- .../identity/create_user_request_response.go | 6 +- .../v65/identity/customer_secret_key.go | 10 +- .../identity/customer_secret_key_summary.go | 6 +- .../oci-go-sdk/v65/identity/db_credential.go | 6 +- .../v65/identity/db_credential_summary.go | 6 +- .../deactivate_domain_request_response.go | 8 +- .../default_tag_definition_validator.go | 6 +- .../delete_api_key_request_response.go | 6 +- .../delete_auth_token_request_response.go | 6 +- .../delete_compartment_request_response.go | 8 +- ...te_customer_secret_key_request_response.go | 6 +- .../delete_db_credential_request_response.go | 6 +- .../delete_domain_request_response.go | 8 +- .../delete_dynamic_group_request_response.go | 6 +- .../identity/delete_group_request_response.go | 6 +- ...lete_identity_provider_request_response.go | 6 +- ...lete_idp_group_mapping_request_response.go | 6 +- ...delete_mfa_totp_device_request_response.go | 6 +- .../delete_network_source_request_response.go | 6 +- ...auth_client_credential_request_response.go | 6 +- .../delete_policy_request_response.go | 6 +- ...delete_smtp_credential_request_response.go | 6 +- .../delete_swift_password_request_response.go | 6 +- .../delete_tag_default_request_response.go | 6 +- .../delete_tag_namespace_request_response.go | 6 +- .../identity/delete_tag_request_response.go | 8 +- .../identity/delete_user_request_response.go | 6 +- .../oracle/oci-go-sdk/v65/identity/domain.go | 12 +- .../v65/identity/domain_replication.go | 6 +- .../v65/identity/domain_replication_states.go | 6 +- .../oci-go-sdk/v65/identity/domain_summary.go | 10 +- .../oci-go-sdk/v65/identity/dynamic_group.go | 14 +- .../enable_replication_to_region_details.go | 8 +- ..._replication_to_region_request_response.go | 8 +- .../identity/enum_tag_definition_validator.go | 6 +- .../oci-go-sdk/v65/identity/fault_domain.go | 6 +- .../v65/identity/fully_qualified_scope.go | 6 +- .../generate_totp_seed_request_response.go | 6 +- ..._authentication_policy_request_response.go | 6 +- .../get_compartment_request_response.go | 6 +- .../identity/get_domain_request_response.go | 6 +- .../get_dynamic_group_request_response.go | 6 +- .../identity/get_group_request_response.go | 6 +- .../get_iam_work_request_request_response.go | 6 +- .../get_identity_provider_request_response.go | 6 +- .../get_idp_group_mapping_request_response.go | 6 +- .../get_mfa_totp_device_request_response.go | 6 +- .../get_network_source_request_response.go | 6 +- .../identity/get_policy_request_response.go | 6 +- ..._standard_tag_template_request_response.go | 6 +- .../get_tag_default_request_response.go | 6 +- .../get_tag_namespace_request_response.go | 6 +- .../v65/identity/get_tag_request_response.go | 6 +- ...t_tagging_work_request_request_response.go | 6 +- .../identity/get_tenancy_request_response.go | 6 +- ..._user_group_membership_request_response.go | 6 +- .../v65/identity/get_user_request_response.go | 6 +- ...i_password_information_request_response.go | 6 +- .../get_work_request_request_response.go | 6 +- .../oracle/oci-go-sdk/v65/identity/group.go | 16 +- .../v65/identity/iam_work_request.go | 6 +- .../iam_work_request_error_summary.go | 6 +- .../identity/iam_work_request_log_summary.go | 6 +- .../v65/identity/iam_work_request_resource.go | 6 +- .../v65/identity/iam_work_request_summary.go | 6 +- .../v65/identity/identity_client.go | 393 +- .../v65/identity/identity_provider.go | 16 +- .../identity_provider_group_summary.go | 6 +- .../v65/identity/idp_group_mapping.go | 8 +- .../identity/import_standard_tags_details.go | 6 +- .../import_standard_tags_request_response.go | 8 +- ...d_domain_license_types_request_response.go | 6 +- .../list_api_keys_request_response.go | 6 +- .../list_auth_tokens_request_response.go | 6 +- ...t_availability_domains_request_response.go | 6 +- ..._action_resource_types_request_response.go | 6 +- ...it_tags_resource_types_request_response.go | 6 +- .../list_compartments_request_response.go | 6 +- ...ist_cost_tracking_tags_request_response.go | 8 +- ...t_customer_secret_keys_request_response.go | 6 +- .../list_db_credentials_request_response.go | 6 +- .../identity/list_domains_request_response.go | 6 +- .../list_dynamic_groups_request_response.go | 6 +- .../list_fault_domains_request_response.go | 6 +- .../identity/list_groups_request_response.go | 6 +- ...am_work_request_errors_request_response.go | 8 +- ..._iam_work_request_logs_request_response.go | 6 +- ...list_iam_work_requests_request_response.go | 6 +- ...entity_provider_groups_request_response.go | 6 +- ...ist_identity_providers_request_response.go | 6 +- ...ist_idp_group_mappings_request_response.go | 6 +- .../list_mfa_totp_devices_request_response.go | 6 +- .../list_network_sources_request_response.go | 6 +- ...uth_client_credentials_request_response.go | 6 +- .../list_policies_request_response.go | 6 +- ...t_region_subscriptions_request_response.go | 6 +- .../identity/list_regions_request_response.go | 6 +- .../list_smtp_credentials_request_response.go | 6 +- ...tandard_tag_namespaces_request_response.go | 6 +- .../list_swift_passwords_request_response.go | 6 +- .../list_tag_defaults_request_response.go | 6 +- .../list_tag_namespaces_request_response.go | 6 +- ...ng_work_request_errors_request_response.go | 6 +- ...ging_work_request_logs_request_response.go | 6 +- ..._tagging_work_requests_request_response.go | 6 +- .../identity/list_tags_request_response.go | 6 +- ...user_group_memberships_request_response.go | 6 +- .../identity/list_users_request_response.go | 6 +- .../list_work_requests_request_response.go | 6 +- .../v65/identity/mfa_totp_device.go | 8 +- .../v65/identity/mfa_totp_device_summary.go | 6 +- .../oci-go-sdk/v65/identity/mfa_totp_token.go | 6 +- .../v65/identity/move_compartment_details.go | 8 +- .../move_compartment_request_response.go | 8 +- .../oci-go-sdk/v65/identity/network_policy.go | 6 +- .../v65/identity/network_sources.go | 12 +- .../v65/identity/network_sources_summary.go | 12 +- .../network_sources_virtual_source_list.go | 6 +- .../v65/identity/o_auth2_client_credential.go | 6 +- .../o_auth2_client_credential_summary.go | 6 +- .../v65/identity/password_policy.go | 6 +- .../oracle/oci-go-sdk/v65/identity/policy.go | 14 +- .../recover_compartment_request_response.go | 6 +- .../oracle/oci-go-sdk/v65/identity/region.go | 14 +- .../v65/identity/region_subscription.go | 14 +- .../v65/identity/remove_lock_details.go | 6 +- ...emove_tag_default_lock_request_response.go | 6 +- ...ove_tag_namespace_lock_request_response.go | 6 +- ...remove_user_from_group_request_response.go | 6 +- .../v65/identity/replicated_region_details.go | 8 +- .../reset_idp_scim_client_request_response.go | 6 +- .../oci-go-sdk/v65/identity/resource_lock.go | 6 +- .../v65/identity/saml2_identity_provider.go | 12 +- .../v65/identity/scim_client_credentials.go | 6 +- .../v65/identity/smtp_credential.go | 8 +- .../v65/identity/smtp_credential_summary.go | 8 +- .../standard_tag_definition_template.go | 6 +- .../standard_tag_namespace_template.go | 6 +- ...standard_tag_namespace_template_summary.go | 6 +- .../oci-go-sdk/v65/identity/swift_password.go | 8 +- .../oracle/oci-go-sdk/v65/identity/tag.go | 14 +- .../oci-go-sdk/v65/identity/tag_default.go | 8 +- .../v65/identity/tag_default_summary.go | 6 +- .../oci-go-sdk/v65/identity/tag_namespace.go | 14 +- .../v65/identity/tag_namespace_summary.go | 12 +- .../oci-go-sdk/v65/identity/tag_summary.go | 12 +- .../v65/identity/tagging_work_request.go | 6 +- .../tagging_work_request_error_summary.go | 6 +- .../tagging_work_request_log_summary.go | 6 +- .../identity/tagging_work_request_summary.go | 6 +- .../oracle/oci-go-sdk/v65/identity/tenancy.go | 14 +- .../oci-go-sdk/v65/identity/ui_password.go | 8 +- .../v65/identity/ui_password_information.go | 8 +- .../v65/identity/update_auth_token_details.go | 6 +- .../update_auth_token_request_response.go | 6 +- .../update_authentication_policy_details.go | 6 +- ..._authentication_policy_request_response.go | 6 +- .../identity/update_compartment_details.go | 10 +- .../update_compartment_request_response.go | 6 +- .../update_customer_secret_key_details.go | 6 +- ...te_customer_secret_key_request_response.go | 6 +- .../v65/identity/update_domain_details.go | 10 +- .../update_domain_request_response.go | 8 +- .../identity/update_dynamic_group_details.go | 12 +- .../update_dynamic_group_request_response.go | 6 +- .../v65/identity/update_group_details.go | 10 +- .../identity/update_group_request_response.go | 6 +- .../update_identity_provider_details.go | 12 +- ...date_identity_provider_request_response.go | 6 +- .../update_idp_group_mapping_details.go | 6 +- ...date_idp_group_mapping_request_response.go | 6 +- .../identity/update_network_source_details.go | 10 +- .../update_network_source_request_response.go | 6 +- ...pdate_o_auth2_client_credential_details.go | 6 +- ...auth_client_credential_request_response.go | 6 +- .../v65/identity/update_policy_details.go | 14 +- .../update_policy_request_response.go | 6 +- .../update_saml2_identity_provider_details.go | 10 +- .../update_smtp_credential_details.go | 6 +- ...update_smtp_credential_request_response.go | 6 +- .../v65/identity/update_state_details.go | 6 +- .../identity/update_swift_password_details.go | 6 +- .../update_swift_password_request_response.go | 6 +- .../identity/update_tag_default_details.go | 6 +- .../update_tag_default_request_response.go | 6 +- .../v65/identity/update_tag_details.go | 12 +- .../identity/update_tag_namespace_details.go | 12 +- .../update_tag_namespace_request_response.go | 6 +- .../identity/update_tag_request_response.go | 6 +- .../update_user_capabilities_details.go | 6 +- ...date_user_capabilities_request_response.go | 6 +- .../v65/identity/update_user_details.go | 10 +- .../identity/update_user_request_response.go | 6 +- .../update_user_state_request_response.go | 6 +- .../upload_api_key_request_response.go | 6 +- .../oracle/oci-go-sdk/v65/identity/user.go | 18 +- .../v65/identity/user_capabilities.go | 6 +- .../v65/identity/user_group_membership.go | 6 +- .../oci-go-sdk/v65/identity/work_request.go | 6 +- .../v65/identity/work_request_error.go | 6 +- .../v65/identity/work_request_log_entry.go | 6 +- .../v65/identity/work_request_resource.go | 6 +- .../v65/identity/work_request_summary.go | 6 +- .../oci-go-sdk/v65/loadbalancer/action.go | 8 +- .../add_http_request_header_rule.go | 6 +- .../add_http_response_header_rule.go | 6 +- .../oci-go-sdk/v65/loadbalancer/allow_rule.go | 6 +- .../oci-go-sdk/v65/loadbalancer/backend.go | 14 +- .../v65/loadbalancer/backend_details.go | 14 +- .../v65/loadbalancer/backend_health.go | 6 +- .../v65/loadbalancer/backend_set.go | 13 +- .../v65/loadbalancer/backend_set_details.go | 15 +- .../v65/loadbalancer/backend_set_health.go | 6 +- .../v65/loadbalancer/certificate.go | 8 +- .../v65/loadbalancer/certificate_details.go | 8 +- ...hange_load_balancer_compartment_details.go | 8 +- ...d_balancer_compartment_request_response.go | 10 +- .../loadbalancer/connection_configuration.go | 8 +- .../control_access_using_http_methods_rule.go | 8 +- .../loadbalancer/create_backend_details.go | 16 +- .../create_backend_request_response.go | 10 +- .../create_backend_set_details.go | 15 +- .../create_backend_set_request_response.go | 10 +- .../create_certificate_details.go | 8 +- .../create_certificate_request_response.go | 10 +- .../loadbalancer/create_hostname_details.go | 8 +- .../create_hostname_request_response.go | 10 +- .../loadbalancer/create_listener_details.go | 13 +- .../create_listener_request_response.go | 10 +- .../create_load_balancer_details.go | 27 +- .../create_load_balancer_request_response.go | 8 +- .../create_path_route_set_details.go | 6 +- .../create_path_route_set_request_response.go | 10 +- .../create_routing_policy_details.go | 6 +- .../create_routing_policy_request_response.go | 10 +- .../loadbalancer/create_rule_set_details.go | 6 +- .../create_rule_set_request_response.go | 10 +- ...ate_s_s_l_cipher_suite_request_response.go | 10 +- .../create_ssl_cipher_suite_details.go | 10 +- .../delete_backend_request_response.go | 10 +- .../delete_backend_set_request_response.go | 10 +- .../delete_certificate_request_response.go | 10 +- .../delete_hostname_request_response.go | 10 +- .../delete_listener_request_response.go | 10 +- .../delete_load_balancer_request_response.go | 10 +- .../delete_path_route_set_request_response.go | 10 +- .../delete_routing_policy_request_response.go | 10 +- .../delete_rule_set_request_response.go | 10 +- ...ete_s_s_l_cipher_suite_request_response.go | 10 +- .../extend_http_request_header_value_rule.go | 6 +- .../extend_http_response_header_value_rule.go | 6 +- .../loadbalancer/forward_to_backend_set.go | 6 +- .../get_backend_health_request_response.go | 8 +- .../get_backend_request_response.go | 8 +- ...get_backend_set_health_request_response.go | 8 +- .../get_backend_set_request_response.go | 8 +- .../get_health_checker_request_response.go | 8 +- .../get_hostname_request_response.go | 8 +- ...t_load_balancer_health_request_response.go | 8 +- .../get_load_balancer_request_response.go | 8 +- .../get_path_route_set_request_response.go | 8 +- .../get_routing_policy_request_response.go | 8 +- .../get_rule_set_request_response.go | 8 +- ...get_s_s_l_cipher_suite_request_response.go | 8 +- .../get_work_request_request_response.go | 8 +- .../v65/loadbalancer/health_check_result.go | 8 +- .../v65/loadbalancer/health_checker.go | 8 +- .../loadbalancer/health_checker_details.go | 6 +- .../oci-go-sdk/v65/loadbalancer/hostname.go | 8 +- .../v65/loadbalancer/hostname_details.go | 8 +- .../v65/loadbalancer/http_header_rule.go | 6 +- .../oci-go-sdk/v65/loadbalancer/ip_address.go | 6 +- .../ip_based_max_connections_rule.go | 6 +- .../v65/loadbalancer/ip_max_connections.go | 6 +- ...ssion_persistence_configuration_details.go | 8 +- .../list_backend_sets_request_response.go | 8 +- .../list_backends_request_response.go | 8 +- .../list_certificates_request_response.go | 8 +- .../list_hostnames_request_response.go | 8 +- .../list_listener_rules_request_response.go | 8 +- ..._load_balancer_healths_request_response.go | 14 +- .../list_load_balancers_request_response.go | 14 +- .../list_path_route_sets_request_response.go | 8 +- .../list_policies_request_response.go | 14 +- .../list_protocols_request_response.go | 14 +- .../list_routing_policies_request_response.go | 14 +- .../list_rule_sets_request_response.go | 8 +- ...st_s_s_l_cipher_suites_request_response.go | 8 +- .../list_shapes_request_response.go | 14 +- .../list_work_requests_request_response.go | 14 +- .../oci-go-sdk/v65/loadbalancer/listener.go | 13 +- .../v65/loadbalancer/listener_details.go | 11 +- .../v65/loadbalancer/listener_rule_summary.go | 6 +- .../v65/loadbalancer/load_balancer.go | 85 +- .../v65/loadbalancer/load_balancer_health.go | 6 +- .../load_balancer_health_summary.go | 8 +- .../v65/loadbalancer/load_balancer_policy.go | 8 +- .../loadbalancer/load_balancer_protocol.go | 6 +- .../v65/loadbalancer/load_balancer_shape.go | 6 +- .../v65/loadbalancer/loadbalancer_client.go | 144 +- .../v65/loadbalancer/path_match_condition.go | 6 +- .../v65/loadbalancer/path_match_type.go | 8 +- .../oci-go-sdk/v65/loadbalancer/path_route.go | 6 +- .../v65/loadbalancer/path_route_set.go | 8 +- .../loadbalancer/path_route_set_details.go | 6 +- .../v65/loadbalancer/redirect_rule.go | 6 +- .../v65/loadbalancer/redirect_uri.go | 6 +- .../remove_http_request_header_rule.go | 6 +- .../remove_http_response_header_rule.go | 6 +- .../v65/loadbalancer/reserved_ip.go | 7 +- .../v65/loadbalancer/routing_policy.go | 6 +- .../loadbalancer/routing_policy_details.go | 6 +- .../v65/loadbalancer/routing_rule.go | 6 +- .../oci-go-sdk/v65/loadbalancer/rule.go | 8 +- .../v65/loadbalancer/rule_condition.go | 8 +- .../oci-go-sdk/v65/loadbalancer/rule_set.go | 8 +- .../v65/loadbalancer/rule_set_details.go | 6 +- ...ssion_persistence_configuration_details.go | 8 +- .../v65/loadbalancer/shape_details.go | 6 +- .../source_ip_address_condition.go | 6 +- .../loadbalancer/source_vcn_id_condition.go | 8 +- .../source_vcn_ip_address_condition.go | 6 +- .../v65/loadbalancer/ssl_cipher_suite.go | 10 +- .../loadbalancer/ssl_cipher_suite_details.go | 10 +- .../v65/loadbalancer/ssl_configuration.go | 6 +- .../loadbalancer/ssl_configuration_details.go | 6 +- .../loadbalancer/update_backend_details.go | 14 +- .../update_backend_request_response.go | 10 +- .../update_backend_set_details.go | 15 +- .../update_backend_set_request_response.go | 10 +- .../update_health_checker_details.go | 6 +- .../update_health_checker_request_response.go | 10 +- .../loadbalancer/update_hostname_details.go | 10 +- .../update_hostname_request_response.go | 10 +- .../loadbalancer/update_listener_details.go | 11 +- .../update_listener_request_response.go | 10 +- .../update_load_balancer_details.go | 70 +- .../update_load_balancer_request_response.go | 10 +- .../update_load_balancer_shape_details.go | 6 +- ...te_load_balancer_shape_request_response.go | 10 +- .../update_network_security_groups_details.go | 8 +- ...etwork_security_groups_request_response.go | 10 +- .../update_path_route_set_details.go | 6 +- .../update_path_route_set_request_response.go | 10 +- .../update_routing_policy_details.go | 6 +- .../update_routing_policy_request_response.go | 10 +- .../loadbalancer/update_rule_set_details.go | 6 +- .../update_rule_set_request_response.go | 10 +- ...ate_s_s_l_cipher_suite_request_response.go | 10 +- .../update_ssl_cipher_suite_details.go | 6 +- .../v65/loadbalancer/work_request.go | 14 +- .../v65/loadbalancer/work_request_error.go | 6 +- .../v65/lustrefilestorage/action_type.go | 2 +- ...ntenance_schedule_start_time_collection.go | 39 + ...maintenance_schedule_start_time_summary.go | 109 + ...rride_maintenance_start_time_collection.go | 39 + ...override_maintenance_start_time_summary.go | 44 + .../cancel_work_request_request_response.go | 2 +- ..._lustre_file_system_compartment_details.go | 2 +- ...ile_system_compartment_request_response.go | 2 +- ...object_storage_link_compartment_details.go | 2 +- ...orage_link_compartment_request_response.go | 2 +- .../cluster_placement_group.go | 2 +- .../create_lustre_file_system_details.go | 4 +- ...ate_lustre_file_system_request_response.go | 2 +- .../create_object_storage_link_details.go | 2 +- ...te_object_storage_link_request_response.go | 2 +- .../v65/lustrefilestorage/date_and_time.go | 44 + ...ete_lustre_file_system_request_response.go | 2 +- ...te_object_storage_link_request_response.go | 2 +- ...get_lustre_file_system_request_response.go | 2 +- ...et_object_storage_link_request_response.go | 2 +- .../get_sync_job_request_response.go | 2 +- .../get_work_request_request_response.go | 2 +- ...e_schedule_start_times_request_response.go | 274 + ...aintenance_start_times_request_response.go | 202 + ...st_lustre_file_systems_request_response.go | 2 +- ...t_object_storage_links_request_response.go | 2 +- .../list_sync_jobs_request_response.go | 2 +- ...st_work_request_errors_request_response.go | 2 +- ...list_work_request_logs_request_response.go | 2 +- .../list_work_requests_request_response.go | 2 +- .../lustrefilestorage/lustre_file_system.go | 4 +- .../lustre_file_system_collection.go | 2 +- .../lustre_file_system_summary.go | 2 +- .../lustrefilestorage_client.go | 176 +- .../lustrefilestorage/maintenance_window.go | 2 +- .../maintenance_window_metadata_details.go | 42 + .../network_security_group.go | 2 +- .../lustrefilestorage/object_storage_link.go | 2 +- .../object_storage_link_collection.go | 2 +- .../object_storage_link_summary.go | 2 +- .../v65/lustrefilestorage/operation_status.go | 2 +- .../v65/lustrefilestorage/operation_type.go | 2 +- .../override_maintenance_details.go | 37 + .../override_maintenance_request_response.go | 103 + .../root_squash_configuration.go | 2 +- .../v65/lustrefilestorage/sort_order.go | 2 +- ...start_export_to_object_request_response.go | 2 +- ...art_import_from_object_request_response.go | 2 +- .../stop_export_to_object_request_response.go | 2 +- ...top_import_from_object_request_response.go | 2 +- .../v65/lustrefilestorage/subnet.go | 2 +- .../v65/lustrefilestorage/sync_job.go | 2 +- .../lustrefilestorage/sync_job_collection.go | 2 +- .../v65/lustrefilestorage/sync_job_summary.go | 2 +- .../update_lustre_file_system_details.go | 4 +- ...ate_lustre_file_system_request_response.go | 2 +- .../update_object_storage_link_details.go | 2 +- ...te_object_storage_link_request_response.go | 2 +- .../v65/lustrefilestorage/work_request.go | 2 +- .../lustrefilestorage/work_request_error.go | 2 +- .../work_request_error_collection.go | 2 +- .../work_request_log_entry.go | 2 +- .../work_request_log_entry_collection.go | 2 +- .../work_request_resource.go | 2 +- .../lustrefilestorage/work_request_summary.go | 2 +- .../work_request_summary_collection.go | 2 +- .../v65/monitoring/aggregated_datapoint.go | 6 +- .../oracle/oci-go-sdk/v65/monitoring/alarm.go | 42 +- .../alarm_dimension_states_collection.go | 8 +- .../alarm_dimension_states_entry.go | 10 +- .../monitoring/alarm_history_collection.go | 8 +- .../v65/monitoring/alarm_history_entry.go | 10 +- .../v65/monitoring/alarm_override.go | 16 +- .../v65/monitoring/alarm_status_summary.go | 20 +- .../v65/monitoring/alarm_summary.go | 40 +- .../v65/monitoring/alarm_suppression.go | 10 +- .../alarm_suppression_alarm_target.go | 8 +- .../alarm_suppression_collection.go | 6 +- .../alarm_suppression_compartment_target.go | 8 +- .../alarm_suppression_history_item.go | 8 +- ...arm_suppression_history_item_collection.go | 6 +- .../monitoring/alarm_suppression_summary.go | 10 +- .../monitoring/alarm_suppression_target.go | 8 +- .../change_alarm_compartment_details.go | 8 +- ...ange_alarm_compartment_request_response.go | 8 +- .../v65/monitoring/create_alarm_details.go | 32 +- .../create_alarm_request_response.go | 6 +- .../create_alarm_suppression_details.go | 6 +- ...eate_alarm_suppression_request_response.go | 6 +- .../oci-go-sdk/v65/monitoring/datapoint.go | 6 +- .../delete_alarm_request_response.go | 8 +- ...lete_alarm_suppression_request_response.go | 8 +- .../v65/monitoring/failed_metric_record.go | 6 +- .../get_alarm_history_request_response.go | 14 +- .../monitoring/get_alarm_request_response.go | 8 +- .../get_alarm_suppression_request_response.go | 8 +- ...ist_alarm_suppressions_request_response.go | 18 +- .../list_alarms_request_response.go | 14 +- .../list_alarms_status_request_response.go | 18 +- .../v65/monitoring/list_metrics_details.go | 6 +- .../list_metrics_request_response.go | 14 +- .../oci-go-sdk/v65/monitoring/metric.go | 10 +- .../oci-go-sdk/v65/monitoring/metric_data.go | 12 +- .../v65/monitoring/metric_data_details.go | 8 +- .../v65/monitoring/monitoring_client.go | 124 +- .../monitoring/post_metric_data_details.go | 6 +- .../post_metric_data_request_response.go | 6 +- .../post_metric_data_response_details.go | 6 +- .../oci-go-sdk/v65/monitoring/recurrence.go | 6 +- ...move_alarm_suppression_request_response.go | 8 +- .../retrieve_dimension_states_details.go | 6 +- ...rieve_dimension_states_request_response.go | 14 +- ...arize_alarm_suppression_history_details.go | 6 +- ...rm_suppression_history_request_response.go | 16 +- .../summarize_metrics_data_details.go | 10 +- ...summarize_metrics_data_request_response.go | 8 +- .../oci-go-sdk/v65/monitoring/suppression.go | 8 +- .../v65/monitoring/suppression_condition.go | 8 +- .../v65/monitoring/update_alarm_details.go | 32 +- .../update_alarm_request_response.go | 8 +- .../v65/networkloadbalancer/action_type.go | 2 +- .../v65/networkloadbalancer/backend.go | 10 +- .../networkloadbalancer/backend_collection.go | 4 +- .../networkloadbalancer/backend_details.go | 6 +- .../v65/networkloadbalancer/backend_health.go | 4 +- .../backend_operational_status.go | 88 + .../v65/networkloadbalancer/backend_set.go | 12 +- .../backend_set_collection.go | 4 +- .../backend_set_details.go | 12 +- .../networkloadbalancer/backend_set_health.go | 4 +- .../backend_set_summary.go | 12 +- .../networkloadbalancer/backend_summary.go | 10 +- ...twork_load_balancer_compartment_details.go | 6 +- ...d_balancer_compartment_request_response.go | 8 +- .../create_backend_details.go | 10 +- .../create_backend_request_response.go | 8 +- .../create_backend_set_details.go | 12 +- .../create_backend_set_request_response.go | 8 +- .../create_listener_details.go | 8 +- .../create_listener_request_response.go | 8 +- .../create_network_load_balancer_details.go | 24 +- ..._network_load_balancer_request_response.go | 6 +- .../delete_backend_request_response.go | 8 +- .../delete_backend_set_request_response.go | 8 +- .../delete_listener_request_response.go | 8 +- ..._network_load_balancer_request_response.go | 8 +- .../dns_health_check_query_classes.go | 2 +- .../dns_health_check_query_types.go | 2 +- .../dns_health_check_r_codes.go | 2 +- .../dns_health_check_transport_protocols.go | 2 +- .../dns_health_checker_details.go | 4 +- .../get_backend_health_request_response.go | 8 +- ...end_operational_status_request_response.go | 102 + .../get_backend_request_response.go | 8 +- ...get_backend_set_health_request_response.go | 8 +- .../get_backend_set_request_response.go | 8 +- .../get_health_checker_request_response.go | 8 +- .../get_listener_request_response.go | 8 +- ...k_load_balancer_health_request_response.go | 8 +- ..._network_load_balancer_request_response.go | 8 +- .../get_work_request_request_response.go | 6 +- .../hcs_infra_ip_version.go | 2 +- .../health_check_protocols.go | 2 +- .../health_check_result.go | 4 +- .../v65/networkloadbalancer/health_checker.go | 6 +- .../health_checker_details.go | 6 +- .../v65/networkloadbalancer/ip_address.go | 4 +- .../v65/networkloadbalancer/ip_version.go | 2 +- .../networkloadbalancer/lifecycle_state.go | 2 +- .../list_backend_sets_request_response.go | 12 +- .../list_backends_request_response.go | 12 +- .../list_listeners_request_response.go | 12 +- ..._load_balancer_healths_request_response.go | 12 +- ...oad_balancers_policies_request_response.go | 10 +- ...ad_balancers_protocols_request_response.go | 10 +- ...network_load_balancers_request_response.go | 12 +- ...st_work_request_errors_request_response.go | 12 +- ...list_work_request_logs_request_response.go | 12 +- .../list_work_requests_request_response.go | 12 +- .../v65/networkloadbalancer/listener.go | 8 +- .../listener_collection.go | 4 +- .../networkloadbalancer/listener_details.go | 8 +- .../networkloadbalancer/listener_protocols.go | 2 +- .../networkloadbalancer/listener_summary.go | 8 +- .../network_load_balancer.go | 30 +- .../network_load_balancer_collection.go | 4 +- .../network_load_balancer_health.go | 4 +- ...network_load_balancer_health_collection.go | 4 +- .../network_load_balancer_health_summary.go | 6 +- .../network_load_balancer_summary.go | 22 +- ...etwork_load_balancers_policy_collection.go | 4 +- .../network_load_balancers_policy_summary.go | 2 +- ...work_load_balancers_protocol_collection.go | 4 +- ...network_load_balancers_protocol_summary.go | 2 +- .../network_load_balancing_policy.go | 2 +- .../networkloadbalancer_client.go | 130 +- .../v65/networkloadbalancer/nlb_ip_version.go | 2 +- .../networkloadbalancer/operation_status.go | 2 +- .../v65/networkloadbalancer/operation_type.go | 2 +- .../v65/networkloadbalancer/reserved_ip.go | 4 +- .../v65/networkloadbalancer/sort_order.go | 2 +- .../update_backend_details.go | 8 +- .../update_backend_request_response.go | 8 +- .../update_backend_set_details.go | 12 +- .../update_backend_set_request_response.go | 8 +- .../update_health_checker_details.go | 4 +- .../update_health_checker_request_response.go | 8 +- .../update_listener_details.go | 8 +- .../update_listener_request_response.go | 8 +- .../update_network_load_balancer_details.go | 10 +- ..._network_load_balancer_request_response.go | 8 +- .../update_network_security_groups_details.go | 6 +- ...etwork_security_groups_request_response.go | 8 +- .../v65/networkloadbalancer/work_request.go | 4 +- .../work_request_collection.go | 4 +- .../networkloadbalancer/work_request_error.go | 6 +- .../work_request_error_collection.go | 4 +- .../work_request_log_entry.go | 4 +- .../work_request_log_entry_collection.go | 4 +- .../work_request_resource.go | 4 +- .../work_request_summary.go | 4 +- .../client_golang/prometheus/collectorfunc.go | 30 + .../client_golang/prometheus/desc.go | 15 +- .../prometheus/go_collector_latest.go | 2 +- .../client_golang/prometheus/histogram.go | 249 +- .../prometheus/internal/difflib.go | 19 +- .../prometheus/internal/go_runtime_metrics.go | 3 +- .../client_golang/prometheus/metric.go | 24 +- .../prometheus/process_collector.go | 31 +- .../prometheus/process_collector_darwin.go | 130 + .../process_collector_mem_cgo_darwin.c | 84 + .../process_collector_mem_cgo_darwin.go | 51 + .../process_collector_mem_nocgo_darwin.go | 39 + ....go => process_collector_not_supported.go} | 17 +- ....go => process_collector_procfsenabled.go} | 20 +- .../prometheus/process_collector_windows.go | 21 +- .../client_golang/prometheus/promhttp/http.go | 49 +- .../internal/compression.go} | 19 +- .../client_golang/prometheus/summary.go | 7 +- .../validations/duplicate_validations.go | 4 +- .../prometheus/testutil/testutil.go | 8 +- .../common/expfmt/openmetrics_create.go | 4 +- .../prometheus/common/model/metric.go | 14 +- vendor/github.com/youmark/pkcs8/.gitignore | 23 + vendor/github.com/youmark/pkcs8/LICENSE | 21 + vendor/github.com/youmark/pkcs8/README | 1 + vendor/github.com/youmark/pkcs8/README.md | 22 + vendor/github.com/youmark/pkcs8/cipher.go | 60 + .../github.com/youmark/pkcs8/cipher_3des.go | 24 + vendor/github.com/youmark/pkcs8/cipher_aes.go | 84 + vendor/github.com/youmark/pkcs8/kdf_pbkdf2.go | 91 + vendor/github.com/youmark/pkcs8/kdf_scrypt.go | 62 + vendor/github.com/youmark/pkcs8/pkcs8.go | 309 + vendor/golang.org/x/crypto/bcrypt/bcrypt.go | 2 +- vendor/golang.org/x/crypto/cryptobyte/asn1.go | 2 +- .../x/crypto/internal/poly1305/mac_noasm.go | 2 +- .../poly1305/{sum_amd64.go => sum_asm.go} | 2 +- .../x/crypto/internal/poly1305/sum_loong64.s | 123 + .../x/crypto/internal/poly1305/sum_ppc64x.go | 47 - vendor/golang.org/x/crypto/openpgp/s2k/s2k.go | 2 +- .../x/crypto/salsa20/salsa/hsalsa20.go | 4 + vendor/golang.org/x/mod/semver/semver.go | 30 +- vendor/golang.org/x/net/context/context.go | 138 +- vendor/golang.org/x/net/context/go17.go | 72 - vendor/golang.org/x/net/context/go19.go | 20 - vendor/golang.org/x/net/context/pre_go17.go | 300 - vendor/golang.org/x/net/context/pre_go19.go | 109 - vendor/golang.org/x/net/html/atom/table.go | 1256 +- vendor/golang.org/x/net/html/escape.go | 2 +- vendor/golang.org/x/net/html/parse.go | 61 +- vendor/golang.org/x/net/html/render.go | 2 +- vendor/golang.org/x/net/html/token.go | 18 +- vendor/golang.org/x/net/http2/config.go | 63 +- vendor/golang.org/x/net/http2/config_go124.go | 61 - vendor/golang.org/x/net/http2/config_go125.go | 15 + vendor/golang.org/x/net/http2/config_go126.go | 15 + .../x/net/http2/config_pre_go124.go | 16 - vendor/golang.org/x/net/http2/frame.go | 124 +- vendor/golang.org/x/net/http2/gotrack.go | 17 +- vendor/golang.org/x/net/http2/http2.go | 74 +- vendor/golang.org/x/net/http2/server.go | 273 +- vendor/golang.org/x/net/http2/timer.go | 20 - vendor/golang.org/x/net/http2/transport.go | 530 +- vendor/golang.org/x/net/http2/write.go | 3 +- vendor/golang.org/x/net/http2/writesched.go | 67 +- ...rity.go => writesched_priority_rfc7540.go} | 109 +- .../net/http2/writesched_priority_rfc9218.go | 209 + .../x/net/http2/writesched_roundrobin.go | 2 +- .../x/net/internal/httpcommon/ascii.go | 53 + .../httpcommon}/headermap.go | 24 +- .../x/net/internal/httpcommon/request.go | 467 + .../golang.org/x/net/internal/socks/socks.go | 2 +- vendor/golang.org/x/net/proxy/per_host.go | 8 +- vendor/golang.org/x/net/trace/events.go | 2 +- .../golang.org/x/net/websocket/websocket.go | 5 +- vendor/golang.org/x/oauth2/oauth2.go | 8 +- vendor/golang.org/x/oauth2/pkce.go | 4 +- vendor/golang.org/x/sync/errgroup/errgroup.go | 27 +- vendor/golang.org/x/sync/errgroup/go120.go | 13 - .../golang.org/x/sync/errgroup/pre_go120.go | 14 - vendor/golang.org/x/sys/cpu/cpu.go | 26 + vendor/golang.org/x/sys/cpu/cpu_arm64.go | 20 +- vendor/golang.org/x/sys/cpu/cpu_arm64.s | 19 +- vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go | 1 + .../golang.org/x/sys/cpu/cpu_gccgo_arm64.go | 1 + .../golang.org/x/sys/cpu/cpu_linux_loong64.go | 22 + .../golang.org/x/sys/cpu/cpu_linux_noinit.go | 2 +- .../golang.org/x/sys/cpu/cpu_linux_riscv64.go | 23 + vendor/golang.org/x/sys/cpu/cpu_loong64.go | 38 + vendor/golang.org/x/sys/cpu/cpu_loong64.s | 13 + .../golang.org/x/sys/cpu/cpu_netbsd_arm64.go | 2 +- .../golang.org/x/sys/cpu/cpu_openbsd_arm64.go | 2 +- vendor/golang.org/x/sys/cpu/cpu_riscv64.go | 12 + vendor/golang.org/x/sys/cpu/parse.go | 4 +- .../golang.org/x/sys/plan9/pwd_go15_plan9.go | 21 - vendor/golang.org/x/sys/plan9/pwd_plan9.go | 14 +- .../golang.org/x/sys/unix/affinity_linux.go | 9 +- vendor/golang.org/x/sys/unix/fdset.go | 4 +- vendor/golang.org/x/sys/unix/ifreq_linux.go | 4 +- vendor/golang.org/x/sys/unix/mkall.sh | 1 + vendor/golang.org/x/sys/unix/mkerrors.sh | 5 + .../golang.org/x/sys/unix/syscall_darwin.go | 93 + vendor/golang.org/x/sys/unix/syscall_linux.go | 52 +- .../golang.org/x/sys/unix/syscall_netbsd.go | 17 + .../golang.org/x/sys/unix/syscall_solaris.go | 2 +- vendor/golang.org/x/sys/unix/zerrors_linux.go | 422 +- .../x/sys/unix/zerrors_linux_386.go | 3 + .../x/sys/unix/zerrors_linux_amd64.go | 3 + .../x/sys/unix/zerrors_linux_arm.go | 3 + .../x/sys/unix/zerrors_linux_arm64.go | 3 + .../x/sys/unix/zerrors_linux_loong64.go | 3 + .../x/sys/unix/zerrors_linux_mips.go | 3 + .../x/sys/unix/zerrors_linux_mips64.go | 3 + .../x/sys/unix/zerrors_linux_mips64le.go | 3 + .../x/sys/unix/zerrors_linux_mipsle.go | 3 + .../x/sys/unix/zerrors_linux_ppc.go | 3 + .../x/sys/unix/zerrors_linux_ppc64.go | 3 + .../x/sys/unix/zerrors_linux_ppc64le.go | 3 + .../x/sys/unix/zerrors_linux_riscv64.go | 3 + .../x/sys/unix/zerrors_linux_s390x.go | 3 + .../x/sys/unix/zerrors_linux_sparc64.go | 3 + .../x/sys/unix/zsyscall_darwin_amd64.go | 84 + .../x/sys/unix/zsyscall_darwin_amd64.s | 20 + .../x/sys/unix/zsyscall_darwin_arm64.go | 84 + .../x/sys/unix/zsyscall_darwin_arm64.s | 20 + .../golang.org/x/sys/unix/zsyscall_linux.go | 10 + .../x/sys/unix/zsyscall_solaris_amd64.go | 8 +- .../x/sys/unix/zsysnum_linux_386.go | 1 + .../x/sys/unix/zsysnum_linux_amd64.go | 1 + .../x/sys/unix/zsysnum_linux_arm.go | 1 + .../x/sys/unix/zsysnum_linux_arm64.go | 1 + .../x/sys/unix/zsysnum_linux_loong64.go | 1 + .../x/sys/unix/zsysnum_linux_mips.go | 1 + .../x/sys/unix/zsysnum_linux_mips64.go | 1 + .../x/sys/unix/zsysnum_linux_mips64le.go | 1 + .../x/sys/unix/zsysnum_linux_mipsle.go | 1 + .../x/sys/unix/zsysnum_linux_ppc.go | 1 + .../x/sys/unix/zsysnum_linux_ppc64.go | 1 + .../x/sys/unix/zsysnum_linux_ppc64le.go | 1 + .../x/sys/unix/zsysnum_linux_riscv64.go | 1 + .../x/sys/unix/zsysnum_linux_s390x.go | 1 + .../x/sys/unix/zsysnum_linux_sparc64.go | 1 + vendor/golang.org/x/sys/unix/ztypes_linux.go | 211 +- .../golang.org/x/sys/unix/ztypes_linux_386.go | 18 +- .../x/sys/unix/ztypes_linux_amd64.go | 16 + .../golang.org/x/sys/unix/ztypes_linux_arm.go | 20 +- .../x/sys/unix/ztypes_linux_arm64.go | 16 + .../x/sys/unix/ztypes_linux_loong64.go | 16 + .../x/sys/unix/ztypes_linux_mips.go | 18 +- .../x/sys/unix/ztypes_linux_mips64.go | 16 + .../x/sys/unix/ztypes_linux_mips64le.go | 16 + .../x/sys/unix/ztypes_linux_mipsle.go | 18 +- .../golang.org/x/sys/unix/ztypes_linux_ppc.go | 20 +- .../x/sys/unix/ztypes_linux_ppc64.go | 16 + .../x/sys/unix/ztypes_linux_ppc64le.go | 16 + .../x/sys/unix/ztypes_linux_riscv64.go | 16 + .../x/sys/unix/ztypes_linux_s390x.go | 16 + .../x/sys/unix/ztypes_linux_sparc64.go | 16 + .../golang.org/x/sys/windows/registry/key.go | 13 +- .../x/sys/windows/registry/value.go | 6 +- .../sys/windows/registry/zsyscall_windows.go | 16 +- .../x/sys/windows/security_windows.go | 49 +- .../x/sys/windows/syscall_windows.go | 23 +- .../golang.org/x/sys/windows/types_windows.go | 337 + .../x/sys/windows/zsyscall_windows.go | 1028 +- vendor/golang.org/x/term/term_windows.go | 4 +- vendor/golang.org/x/term/terminal.go | 90 +- .../x/text/internal/number/format.go | 2 - vendor/golang.org/x/text/language/parse.go | 2 +- vendor/golang.org/x/text/unicode/bidi/core.go | 11 +- vendor/golang.org/x/tools/go/ast/edge/edge.go | 295 + .../x/tools/go/ast/inspector/cursor.go | 502 + .../x/tools/go/ast/inspector/inspector.go | 311 + .../x/tools/go/ast/inspector/iter.go | 85 + .../x/tools/go/ast/inspector/typeof.go | 227 + .../x/tools/go/ast/inspector/walk.go | 341 + .../x/tools/go/gcexportdata/gcexportdata.go | 5 +- vendor/golang.org/x/tools/go/packages/doc.go | 2 + .../x/tools/go/packages/external.go | 2 +- .../golang.org/x/tools/go/packages/golist.go | 26 +- .../x/tools/go/packages/golist_overlay.go | 2 +- .../x/tools/go/packages/packages.go | 30 +- .../golang.org/x/tools/go/packages/visit.go | 85 +- .../x/tools/go/types/objectpath/objectpath.go | 7 +- .../x/tools/go/types/typeutil/callee.go | 83 +- .../x/tools/go/types/typeutil/map.go | 23 +- .../x/tools/internal/event/core/event.go | 5 - .../x/tools/internal/event/keys/keys.go | 6 +- .../x/tools/internal/event/label/label.go | 13 +- .../x/tools/internal/gcimporter/bimport.go | 2 +- .../x/tools/internal/gcimporter/iexport.go | 41 +- .../x/tools/internal/gcimporter/iimport.go | 9 +- .../internal/gcimporter/iimport_go122.go | 53 - .../tools/internal/gcimporter/ureader_yes.go | 8 +- .../x/tools/internal/gocommand/invoke.go | 44 +- .../internal/gocommand/invoke_notunix.go | 13 + .../x/tools/internal/gocommand/invoke_unix.go | 13 + .../internal/packagesinternal/packages.go | 11 +- .../x/tools/internal/pkgbits/decoder.go | 2 +- .../x/tools/internal/stdlib/deps.go | 365 + .../x/tools/internal/stdlib/import.go | 89 + .../x/tools/internal/stdlib/manifest.go | 34674 ++++++++-------- .../x/tools/internal/stdlib/stdlib.go | 10 +- .../x/tools/internal/typeparams/coretype.go | 11 +- .../x/tools/internal/typeparams/free.go | 2 +- .../x/tools/internal/typeparams/normalize.go | 2 +- .../x/tools/internal/typeparams/termlist.go | 12 +- .../x/tools/internal/typeparams/typeterm.go | 3 + .../internal/typesinternal/classify_call.go | 137 + .../tools/internal/typesinternal/errorcode.go | 2 +- .../x/tools/internal/typesinternal/fx.go | 49 + .../x/tools/internal/typesinternal/isnamed.go | 71 + .../tools/internal/typesinternal/qualifier.go | 8 + .../x/tools/internal/typesinternal/recv.go | 3 +- .../x/tools/internal/typesinternal/types.go | 135 +- .../x/tools/internal/typesinternal/varkind.go | 40 + .../tools/internal/typesinternal/zerovalue.go | 17 +- .../protobuf/encoding/protojson/decode.go | 5 - .../protobuf/encoding/prototext/decode.go | 5 - .../protobuf/internal/encoding/tag/tag.go | 8 +- .../protobuf/internal/filedesc/desc.go | 9 +- .../protobuf/internal/filedesc/desc_lazy.go | 9 - .../protobuf/internal/filetype/build.go | 2 +- .../protobuf/internal/flags/flags.go | 2 +- .../protobuf/internal/genid/goname.go | 5 - .../protobuf/internal/impl/codec_field.go | 75 - .../protobuf/internal/impl/codec_map.go | 14 +- .../protobuf/internal/impl/codec_map_go111.go | 38 - .../protobuf/internal/impl/codec_map_go112.go | 12 - .../protobuf/internal/impl/codec_message.go | 7 +- .../internal/impl/codec_message_opaque.go | 9 +- .../protobuf/internal/impl/convert_map.go | 2 +- .../protobuf/internal/impl/lazy.go | 2 +- .../protobuf/internal/impl/legacy_message.go | 5 +- .../protobuf/internal/impl/message.go | 23 +- .../protobuf/internal/impl/message_opaque.go | 17 +- .../protobuf/internal/impl/message_reflect.go | 5 - .../internal/impl/message_reflect_field.go | 130 +- .../protobuf/internal/impl/pointer_unsafe.go | 3 +- .../protobuf/internal/impl/validate.go | 24 +- .../protobuf/internal/impl/weak.go | 74 - .../protobuf/internal/version/version.go | 2 +- .../protobuf/proto/decode.go | 5 - .../protobuf/reflect/protodesc/desc.go | 8 +- .../protobuf/reflect/protodesc/desc_init.go | 1 - .../reflect/protodesc/desc_resolve.go | 26 +- .../reflect/protodesc/desc_validate.go | 12 - .../protobuf/reflect/protodesc/editions.go | 48 +- .../protobuf/reflect/protodesc/proto.go | 3 - .../protobuf/reflect/protoreflect/type.go | 12 +- .../types/descriptorpb/descriptor.pb.go | 12 +- .../protobuf/types/dynamicpb/types.go | 12 +- .../types/gofeaturespb/go_features.pb.go | 12 +- .../protobuf/types/known/anypb/any.pb.go | 12 +- .../types/known/durationpb/duration.pb.go | 12 +- .../protobuf/types/known/emptypb/empty.pb.go | 12 +- .../types/known/fieldmaskpb/field_mask.pb.go | 12 +- .../types/known/structpb/struct.pb.go | 12 +- .../types/known/timestamppb/timestamp.pb.go | 12 +- .../types/known/wrapperspb/wrappers.pb.go | 12 +- vendor/k8s.io/kube-openapi/pkg/spec3/fuzz.go | 146 +- vendor/modules.txt | 83 +- vendor/sigs.k8s.io/randfill/CONTRIBUTING.md | 43 + vendor/sigs.k8s.io/randfill/LICENSE | 202 + vendor/sigs.k8s.io/randfill/NOTICE | 24 + vendor/sigs.k8s.io/randfill/OWNERS | 8 + vendor/sigs.k8s.io/randfill/OWNERS_ALIASES | 14 + vendor/sigs.k8s.io/randfill/README.md | 98 + vendor/sigs.k8s.io/randfill/SECURITY_CONTACTS | 16 + .../randfill/bytesource/bytesource.go | 81 + .../sigs.k8s.io/randfill/code-of-conduct.md | 3 + vendor/sigs.k8s.io/randfill/randfill.go | 682 + 2524 files changed, 63514 insertions(+), 37035 deletions(-) create mode 100644 vendor/github.com/gofrs/flock/.golangci.yml delete mode 100644 vendor/github.com/gofrs/flock/.travis.yml create mode 100644 vendor/github.com/gofrs/flock/Makefile create mode 100644 vendor/github.com/gofrs/flock/SECURITY.md delete mode 100644 vendor/github.com/gofrs/flock/appveyor.yml create mode 100644 vendor/github.com/gofrs/flock/build.sh rename vendor/github.com/gofrs/flock/{flock_aix.go => flock_unix_variants.go} (96%) create mode 100644 vendor/github.com/klauspost/compress/internal/le/le.go create mode 100644 vendor/github.com/klauspost/compress/internal/le/unsafe_disabled.go create mode 100644 vendor/github.com/klauspost/compress/internal/le/unsafe_enabled.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/doc.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/register.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/types.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/zz_generated.deepcopy.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/doc.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/register.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/types.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/zz_generated.deepcopy.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/clientset.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/doc.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/register.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/doc.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/generated_expansion.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot_client.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotclass.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotcontent.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/doc.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go delete mode 100644 vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/common/auth/oauth2_provider.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_node.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cycle_mode.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_public_api_endpoint_decommission_status_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_settings.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/public_api_endpoint_decommission_status.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/rollback_public_api_endpoint_decommission_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_public_api_endpoint_decommission_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/apply_host_configuration_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ip_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ip_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ip_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ip_item.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_byoip_range.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_origin_asn.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin_preview.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/check_host_configuration_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/component_version.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_placement_constraint_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_scale_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_check_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_data.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/configuration_state.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_scale_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoasn_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_gpu_memory_cluster_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_host_group_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer_resource.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/drg_promotion_status_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_transitions.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundles_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoasn_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_cluster_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_fabric_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_host_group_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_hosts_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/get_firmware_bundle_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_configuration.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_placement_constraint_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_host_group_placement_constraint_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_placement_constraint_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_actions_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_management_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_handle_timeout_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_vnic_detach_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_licensing_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_windows_licensing_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/licensing_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoasns_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_cluster_instances_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_clusters_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_fabrics_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_host_groups_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_hosts_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/list_firmware_bundles_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/memory_fabric_preferences_descriptor.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/placement_constraint_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/platform_versions.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip_vnic_detach_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/recycle_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_to_oracle_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/supported_capabilities.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_scale_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_licensing_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_windows_licensing_config.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoasn_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_quota_rule_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_quota_rule_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_quota_rules_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_collection.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_summary.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/date_and_time.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_maintenance_schedule_start_times_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_override_maintenance_start_times_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window_metadata_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_details.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_request_response.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_operational_status.go create mode 100644 vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_operational_status_request_response.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/collectorfunc.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.go create mode 100644 vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_nocgo_darwin.go rename vendor/github.com/prometheus/client_golang/prometheus/{process_collector_wasip1.go => process_collector_not_supported.go} (55%) rename vendor/github.com/prometheus/client_golang/prometheus/{process_collector_other.go => process_collector_procfsenabled.go} (77%) rename vendor/github.com/prometheus/client_golang/prometheus/{process_collector_js.go => promhttp/internal/compression.go} (70%) create mode 100644 vendor/github.com/youmark/pkcs8/.gitignore create mode 100644 vendor/github.com/youmark/pkcs8/LICENSE create mode 100644 vendor/github.com/youmark/pkcs8/README create mode 100644 vendor/github.com/youmark/pkcs8/README.md create mode 100644 vendor/github.com/youmark/pkcs8/cipher.go create mode 100644 vendor/github.com/youmark/pkcs8/cipher_3des.go create mode 100644 vendor/github.com/youmark/pkcs8/cipher_aes.go create mode 100644 vendor/github.com/youmark/pkcs8/kdf_pbkdf2.go create mode 100644 vendor/github.com/youmark/pkcs8/kdf_scrypt.go create mode 100644 vendor/github.com/youmark/pkcs8/pkcs8.go rename vendor/golang.org/x/crypto/internal/poly1305/{sum_amd64.go => sum_asm.go} (94%) create mode 100644 vendor/golang.org/x/crypto/internal/poly1305/sum_loong64.s delete mode 100644 vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go delete mode 100644 vendor/golang.org/x/net/context/go17.go delete mode 100644 vendor/golang.org/x/net/context/go19.go delete mode 100644 vendor/golang.org/x/net/context/pre_go17.go delete mode 100644 vendor/golang.org/x/net/context/pre_go19.go delete mode 100644 vendor/golang.org/x/net/http2/config_go124.go create mode 100644 vendor/golang.org/x/net/http2/config_go125.go create mode 100644 vendor/golang.org/x/net/http2/config_go126.go delete mode 100644 vendor/golang.org/x/net/http2/config_pre_go124.go delete mode 100644 vendor/golang.org/x/net/http2/timer.go rename vendor/golang.org/x/net/http2/{writesched_priority.go => writesched_priority_rfc7540.go} (77%) create mode 100644 vendor/golang.org/x/net/http2/writesched_priority_rfc9218.go create mode 100644 vendor/golang.org/x/net/internal/httpcommon/ascii.go rename vendor/golang.org/x/net/{http2 => internal/httpcommon}/headermap.go (74%) create mode 100644 vendor/golang.org/x/net/internal/httpcommon/request.go delete mode 100644 vendor/golang.org/x/sync/errgroup/go120.go delete mode 100644 vendor/golang.org/x/sync/errgroup/pre_go120.go create mode 100644 vendor/golang.org/x/sys/cpu/cpu_linux_loong64.go create mode 100644 vendor/golang.org/x/sys/cpu/cpu_loong64.s delete mode 100644 vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go create mode 100644 vendor/golang.org/x/tools/go/ast/edge/edge.go create mode 100644 vendor/golang.org/x/tools/go/ast/inspector/cursor.go create mode 100644 vendor/golang.org/x/tools/go/ast/inspector/inspector.go create mode 100644 vendor/golang.org/x/tools/go/ast/inspector/iter.go create mode 100644 vendor/golang.org/x/tools/go/ast/inspector/typeof.go create mode 100644 vendor/golang.org/x/tools/go/ast/inspector/walk.go delete mode 100644 vendor/golang.org/x/tools/internal/gcimporter/iimport_go122.go create mode 100644 vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go create mode 100644 vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go create mode 100644 vendor/golang.org/x/tools/internal/stdlib/deps.go create mode 100644 vendor/golang.org/x/tools/internal/stdlib/import.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/classify_call.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/fx.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/isnamed.go create mode 100644 vendor/golang.org/x/tools/internal/typesinternal/varkind.go delete mode 100644 vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go delete mode 100644 vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go delete mode 100644 vendor/google.golang.org/protobuf/internal/impl/weak.go create mode 100644 vendor/sigs.k8s.io/randfill/CONTRIBUTING.md create mode 100644 vendor/sigs.k8s.io/randfill/LICENSE create mode 100644 vendor/sigs.k8s.io/randfill/NOTICE create mode 100644 vendor/sigs.k8s.io/randfill/OWNERS create mode 100644 vendor/sigs.k8s.io/randfill/OWNERS_ALIASES create mode 100644 vendor/sigs.k8s.io/randfill/README.md create mode 100644 vendor/sigs.k8s.io/randfill/SECURITY_CONTACTS create mode 100644 vendor/sigs.k8s.io/randfill/bytesource/bytesource.go create mode 100644 vendor/sigs.k8s.io/randfill/code-of-conduct.md create mode 100644 vendor/sigs.k8s.io/randfill/randfill.go diff --git a/THIRD_PARTY_LICENSES.txt b/THIRD_PARTY_LICENSES.txt index 32da6d4427..1609e9d4eb 100644 --- a/THIRD_PARTY_LICENSES.txt +++ b/THIRD_PARTY_LICENSES.txt @@ -1751,7 +1751,7 @@ Copyright 2021 The Kubernetes Authors. --------------------------------- (separator) ---------------------------------- == Dependency -github.com/kubernetes-csi/external-snapshotter/client/v6 +github.com/kubernetes-csi/external-snapshotter/client/v8 == License Type SPDX:Apache-2.0 diff --git a/go.mod b/go.mod index ee2644f554..c82d634297 100644 --- a/go.mod +++ b/go.mod @@ -41,27 +41,26 @@ require ( github.com/container-storage-interface/spec v1.11.0 github.com/golang/protobuf v1.5.4 github.com/kubernetes-csi/csi-lib-utils v0.22.0 - github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0 github.com/onsi/ginkgo v1.16.5 github.com/onsi/gomega v1.36.2 - github.com/oracle/oci-go-sdk/v65 v65.79.0 + github.com/oracle/oci-go-sdk/v65 v65.109.0 github.com/pkg/errors v0.9.1 - github.com/prometheus/client_golang v1.20.5 + github.com/prometheus/client_golang v1.22.0 github.com/spf13/cobra v1.8.1 // indirect github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.8.1 github.com/stretchr/testify v1.10.0 go.uber.org/zap v1.27.0 - golang.org/x/net v0.34.0 - golang.org/x/sys v0.30.0 // indirect + golang.org/x/net v0.47.0 + golang.org/x/sys v0.38.0 // indirect google.golang.org/grpc v1.69.2 gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/yaml.v2 v2.4.0 - k8s.io/api v0.32.1 - k8s.io/apimachinery v0.32.1 + k8s.io/api v0.33.1 + k8s.io/apimachinery v0.33.1 k8s.io/apiserver v0.32.1 // indirect k8s.io/cloud-provider v0.32.1 - k8s.io/component-base v0.32.1 + k8s.io/component-base v0.33.1 k8s.io/component-helpers v0.32.1 k8s.io/controller-manager v0.32.1 // indirect k8s.io/csi-translation-lib v0.32.1 // indirect @@ -75,8 +74,9 @@ require ( ) require ( + github.com/kubernetes-csi/external-snapshotter/client/v8 v8.2.0 golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 - golang.org/x/sync v0.15.0 + golang.org/x/sync v0.18.0 golang.org/x/time v0.9.0 google.golang.org/protobuf v1.36.5 gopkg.in/yaml.v3 v3.0.1 @@ -132,12 +132,12 @@ require ( github.com/go-openapi/jsonreference v0.21.0 // indirect github.com/go-openapi/swag v0.23.0 // indirect github.com/gobwas/glob v0.2.3 // indirect - github.com/gofrs/flock v0.8.1 // indirect + github.com/gofrs/flock v0.10.0 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/google/btree v1.1.3 // indirect github.com/google/cel-go v0.22.1 // indirect github.com/google/gnostic-models v0.6.9 // indirect - github.com/google/go-cmp v0.6.0 // indirect + github.com/google/go-cmp v0.7.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/uuid v1.6.0 // indirect @@ -156,7 +156,7 @@ require ( github.com/jmoiron/sqlx v1.3.5 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/compress v1.17.11 // indirect + github.com/klauspost/compress v1.18.0 // indirect github.com/kylelemons/godebug v1.1.0 // indirect github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect @@ -190,7 +190,7 @@ require ( github.com/peterbourgon/diskv v2.0.1+incompatible // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/client_model v0.6.1 // indirect - github.com/prometheus/common v0.61.0 // indirect + github.com/prometheus/common v0.62.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/rubenv/sql-migrate v1.5.2 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect @@ -207,6 +207,7 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/xlab/treeprint v1.2.0 // indirect + github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect go.etcd.io/etcd/api/v3 v3.5.17 // indirect go.etcd.io/etcd/client/pkg/v3 v3.5.17 // indirect go.etcd.io/etcd/client/v3 v3.5.17 // indirect @@ -221,12 +222,12 @@ require ( go.opentelemetry.io/otel/trace v1.33.0 // indirect go.opentelemetry.io/proto/otlp v1.5.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/crypto v0.39.0 // indirect - golang.org/x/mod v0.25.0 // indirect + golang.org/x/crypto v0.45.0 // indirect + golang.org/x/mod v0.29.0 // indirect golang.org/x/oauth2 v0.28.0 // indirect - golang.org/x/term v0.32.0 // indirect - golang.org/x/text v0.26.0 // indirect - golang.org/x/tools v0.33.0 // indirect + golang.org/x/term v0.37.0 // indirect + golang.org/x/text v0.31.0 // indirect + golang.org/x/tools v0.38.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250106144421-5f5ef82da422 // indirect @@ -237,7 +238,7 @@ require ( k8s.io/cli-runtime v0.32.1 // indirect k8s.io/dynamic-resource-allocation v0.32.0 // indirect k8s.io/kms v0.32.1 // indirect - k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect + k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect k8s.io/kube-scheduler v0.32.1 // indirect k8s.io/kubectl v0.32.1 // indirect oras.land/oras-go v1.2.5 // indirect @@ -245,6 +246,7 @@ require ( sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect sigs.k8s.io/kustomize/api v0.18.0 // indirect sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect + sigs.k8s.io/randfill v1.0.0 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect sigs.k8s.io/yaml v1.4.0 // indirect ) diff --git a/go.sum b/go.sum index 60c4c60053..82a8479cb0 100644 --- a/go.sum +++ b/go.sum @@ -226,8 +226,8 @@ github.com/gobuffalo/packr/v2 v2.8.3/go.mod h1:0SahksCVcx4IMnigTjiFuyldmTrdTctXs github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw= -github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= +github.com/gofrs/flock v0.10.0 h1:SHMXenfaB03KbroETaCMtbBg3Yn29v4w1r+tgy4ff4k= +github.com/gofrs/flock v0.10.0/go.mod h1:FirDy1Ing0mI2+kB6wk+vyyAH+e6xiE+EYA0jnzV9jc= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= @@ -288,8 +288,8 @@ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -394,8 +394,8 @@ github.com/karrick/godirwalk v1.17.0 h1:b4kY7nqDdioR/6qnbHQyDvmA17u5G1cZ6J+CZXwS github.com/karrick/godirwalk v1.17.0/go.mod h1:j4mkqPuvaLI8mp1DroR3P6ad7cyYd4c1qeJ3RV7ULlk= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= -github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= +github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= +github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= @@ -509,8 +509,8 @@ github.com/opencontainers/image-spec v1.1.0-rc6 h1:XDqvyKsJEbRtATzkgItUqBA7QHk58 github.com/opencontainers/image-spec v1.1.0-rc6/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM= github.com/opencontainers/selinux v1.11.1 h1:nHFvthhM0qY8/m+vfhJylliSshm8G1jJ2jDMcgULaH8= github.com/opencontainers/selinux v1.11.1/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= -github.com/oracle/oci-go-sdk/v65 v65.79.0 h1:Tv9L1XTKWkdXtSViMbP+dA93WunquvW++/2s5pOvOgU= -github.com/oracle/oci-go-sdk/v65 v65.79.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/oci-go-sdk/v65 v65.109.0 h1:EsbFVvcV+uid9SoQnFQbTKS6FgqsM9NtoKmUIovKsbk= +github.com/oracle/oci-go-sdk/v65 v65.109.0/go.mod h1:8ZzvzuEG/cFLFZhxg/Mg1w19KqyXBKO3c17QIc5PkGs= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= @@ -533,8 +533,8 @@ github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjz github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= -github.com/prometheus/client_golang v1.20.5 h1:cxppBPuYhUnsO6yo/aoRol4L7q7UFfdm+bR9r+8l63Y= -github.com/prometheus/client_golang v1.20.5/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= +github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q= +github.com/prometheus/client_golang v1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -542,8 +542,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= -github.com/prometheus/common v0.61.0 h1:3gv/GThfX0cV2lpO7gkTUwZru38mxevy90Bj8YFSRQQ= -github.com/prometheus/common v0.61.0/go.mod h1:zr29OCN/2BsJRaFwG8QOBr41D6kkchKbpeNH7pAjb/s= +github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io= +github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= @@ -551,8 +551,8 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= -github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= +github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= +github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/rubenv/sql-migrate v1.5.2 h1:bMDqOnrJVV/6JQgQ/MxOpU+AdO8uzYYA/TxFUBzFtS0= github.com/rubenv/sql-migrate v1.5.2/go.mod h1:H38GW8Vqf8F0Su5XignRyaRcbXbJunSWxs+kmzlg0Is= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= @@ -604,7 +604,6 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= @@ -625,6 +624,8 @@ github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 h1:S2dVYn90KE98chq github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ= github.com/xlab/treeprint v1.2.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0= +github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 h1:ilQV1hzziu+LLM3zUTJ0trRztfwgjqKnBWNtSRkbmwM= +github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78/go.mod h1:aL8wCCfTfSfmXjznFBSZNN13rSJjlIOI1fUNAtF7rmI= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -706,8 +707,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs= -golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ= +golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q= +golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -746,8 +747,8 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= -golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= +golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA= +golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -790,8 +791,8 @@ golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLd golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0= -golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= +golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY= +golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -804,8 +805,8 @@ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.25.0 h1:CY4y7XT9v0cRI9oupztF8AgiIu99L/ksR/Xp/6jrZ70= -golang.org/x/oauth2 v0.25.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/oauth2 v0.28.0 h1:CrgCKl8PPAVtLnU3c+EDw6x11699EWlsDeWNWKdIOkc= +golang.org/x/oauth2 v0.28.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -818,8 +819,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= -golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= +golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -875,14 +876,13 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= -golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= +golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU= -golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= +golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU= +golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -892,8 +892,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= -golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= +golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= +golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -952,8 +952,8 @@ golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.29.0 h1:Xx0h3TtM9rzQpQuR4dKLrdglAmCEN5Oi+P74JdhdzXE= -golang.org/x/tools v0.29.0/go.mod h1:KMQVMRsVxU6nHCFXrBPhDB8XncLNLM0lIy/F14RP588= +golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ= +golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1068,8 +1068,8 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.36.2 h1:R8FeyR1/eLmkutZOM5CWghmo5itiG9z0ktFlTVLuTmU= -google.golang.org/protobuf v1.36.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.5 h1:tPhr+woSbjfYvY6/GPufUoYizxw1cF/yFoxJ2fmpwlM= +google.golang.org/protobuf v1.36.5/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -1141,8 +1141,8 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk= k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE= k8s.io/kms v0.32.1 h1:TW6cswRI/fawoQRFGWLmEceO37rZXupdoRdmO019jCc= k8s.io/kms v0.32.1/go.mod h1:Bk2evz/Yvk0oVrvm4MvZbgq8BD34Ksxs2SRHn4/UiOM= -k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 h1:hcha5B1kVACrLujCKLbr8XWMxCxzQx42DY8QKYJrDLg= -k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7/go.mod h1:GewRfANuJ70iYzvn+i4lezLDAFzvjxZYK1gn1lWcfas= +k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUyGcf03XZEP0ZIKgKj35LS4= +k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8= k8s.io/kube-scheduler v0.32.1 h1:RT484opqmampkWS0XjC7ZnqjpQrJ/rmOBJVPIw4x7WM= k8s.io/kube-scheduler v0.32.1/go.mod h1:dAZqpc2oeqqwXS3ovQjAod6B+y1IYt1nVfMC+MFTgH0= k8s.io/kubectl v0.32.1 h1:/btLtXLQUU1rWx8AEvX9jrb9LaI6yeezt3sFALhB8M8= @@ -1168,9 +1168,12 @@ sigs.k8s.io/kustomize/api v0.18.0 h1:hTzp67k+3NEVInwz5BHyzc9rGxIauoXferXyjv5lWPo sigs.k8s.io/kustomize/api v0.18.0/go.mod h1:f8isXnX+8b+SGLHQ6yO4JG1rdkZlvhaCf/uZbLVMb0U= sigs.k8s.io/kustomize/kyaml v0.18.1 h1:WvBo56Wzw3fjS+7vBjN6TeivvpbW9GmRaWZ9CIVmt4E= sigs.k8s.io/kustomize/kyaml v0.18.1/go.mod h1:C3L2BFVU1jgcddNBE1TxuVLgS46TjObMwW5FT9FcjYo= +sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= +sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU= +sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY= sigs.k8s.io/sig-storage-lib-external-provisioner/v9 v9.1.0-rc.0 h1:0aLQSafwBXlXTPiA9wJK5wEDsgYUh5uJlKHpBw9dwCk= sigs.k8s.io/sig-storage-lib-external-provisioner/v9 v9.1.0-rc.0/go.mod h1:MMl64GlAImSAd7mOvJZ8SOkKORuvV/lsjhtgLPDlGjQ= -sigs.k8s.io/structured-merge-diff/v4 v4.5.0 h1:nbCitCK2hfnhyiKo6uf2HxUPTCodY6Qaf85SbDIaMBk= -sigs.k8s.io/structured-merge-diff/v4 v4.5.0/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4= +sigs.k8s.io/structured-merge-diff/v4 v4.6.0 h1:IUA9nvMmnKWcj5jl84xn+T5MnlZKThmUW1TdblaLVAc= +sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps= sigs.k8s.io/yaml v1.4.0 h1:Mk1wCc2gy/F0THH0TAp1QYyJNzRm2KCLy3o5ASXVI5E= sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY= diff --git a/test/e2e/framework/cloud_provider_framework.go b/test/e2e/framework/cloud_provider_framework.go index 401305608c..aa1a1dc70d 100644 --- a/test/e2e/framework/cloud_provider_framework.go +++ b/test/e2e/framework/cloud_provider_framework.go @@ -21,7 +21,7 @@ import ( "strings" "time" - snapclientset "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned" + snapclientset "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/pkg/errors" diff --git a/test/e2e/framework/pvc_util.go b/test/e2e/framework/pvc_util.go index 3191ae2c5e..6ac4d8a4c8 100644 --- a/test/e2e/framework/pvc_util.go +++ b/test/e2e/framework/pvc_util.go @@ -19,7 +19,7 @@ import ( "strings" "time" - snapclientset "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned" + snapclientset "github.com/kubernetes-csi/external-snapshotter/client/v8/clientset/versioned" "github.com/pkg/errors" "go.uber.org/zap" "golang.org/x/net/context" @@ -77,8 +77,8 @@ type PVCTestJig struct { } type Options struct { - BlockProvisionerName string - FSSProvisionerName string + BlockProvisionerName string + FSSProvisionerName string } // NewPVCTestJig allocates and inits a new PVCTestJig. @@ -782,13 +782,13 @@ func waitForVolumeState(ctx context.Context, bsClient ocicore.BlockstorageClient } // CreateBootVolume is a function to create the boot volume -func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, bs ocicore.BlockstorageClient,adLabel string, compartmentId string) string { +func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, bs ocicore.BlockstorageClient, adLabel string, compartmentId string) string { ctx := context.Background() instances, err := c.ListInstances(ctx, ocicore.ListInstancesRequest{ AvailabilityDomain: &adLabel, - CompartmentId: &compartmentId, - LifecycleState: ocicore.InstanceLifecycleStateRunning, + CompartmentId: &compartmentId, + LifecycleState: ocicore.InstanceLifecycleStateRunning, }) if err != nil { Failf("Error listing instances: %v", err) @@ -2040,7 +2040,7 @@ func (j *PVCTestJig) CheckDataPersistenceWithDeploymentImpl(pvcName string, ns s taintIsMaster := false if node.Spec.Unschedulable == false { for _, taint := range node.Spec.Taints { - taintIsMaster = (taint.Key == "node-role.kubernetes.io/master" || taint.Key == "node-role.kubernetes.io/control-plane" ||(taint.Key == "dedicated" && taint.Value == "lustre")) + taintIsMaster = (taint.Key == "node-role.kubernetes.io/master" || taint.Key == "node-role.kubernetes.io/control-plane" || (taint.Key == "dedicated" && taint.Value == "lustre")) } if !taintIsMaster { schedulableNodeFound = true diff --git a/test/e2e/framework/volumesnapshot_util.go b/test/e2e/framework/volumesnapshot_util.go index 231ffbc43d..c000c16c37 100644 --- a/test/e2e/framework/volumesnapshot_util.go +++ b/test/e2e/framework/volumesnapshot_util.go @@ -19,7 +19,7 @@ import ( "fmt" "time" - snapshot "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" + snapshot "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" . "github.com/onsi/ginkgo" ocicore "github.com/oracle/oci-go-sdk/v65/core" v1 "k8s.io/api/core/v1" diff --git a/test/e2e/framework/volumesnapshotclass_util.go b/test/e2e/framework/volumesnapshotclass_util.go index 3b3d11916a..765edab375 100644 --- a/test/e2e/framework/volumesnapshotclass_util.go +++ b/test/e2e/framework/volumesnapshotclass_util.go @@ -17,7 +17,7 @@ package framework import ( "context" - snapshot "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" + snapshot "github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumesnapshot/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -49,17 +49,17 @@ func (f *CloudProviderFramework) CreateVolumeSnapshotClassOrFail(name string, dr // does not actually create the storage class. The default storage class has the same name // as the jig func (f *CloudProviderFramework) NewVolumeSnapshotClassTemplate(name string, parameters map[string]string, - driverType string,deletionPolicy snapshot.DeletionPolicy) *snapshot.VolumeSnapshotClass { + driverType string, deletionPolicy snapshot.DeletionPolicy) *snapshot.VolumeSnapshotClass { return &snapshot.VolumeSnapshotClass{ TypeMeta: metav1.TypeMeta{ Kind: "VolumeSnapshotClass", APIVersion: "snapshot.storage.k8s.io/v1", }, ObjectMeta: metav1.ObjectMeta{ - Name: name, + Name: name, }, Driver: driverType, - Parameters: parameters, + Parameters: parameters, DeletionPolicy: deletionPolicy, } } diff --git a/vendor/github.com/gofrs/flock/.golangci.yml b/vendor/github.com/gofrs/flock/.golangci.yml new file mode 100644 index 0000000000..3ad88a38fc --- /dev/null +++ b/vendor/github.com/gofrs/flock/.golangci.yml @@ -0,0 +1,114 @@ +run: + timeout: 10m + +linters: + enable: + - asasalint + - bidichk + - dogsled + - dupword + - durationcheck + - err113 + - errname + - errorlint + - fatcontext + - forbidigo + - gocheckcompilerdirectives + - gochecknoinits + - gocritic + - godot + - godox + - gofumpt + - goheader + - goimports + - gomoddirectives + - goprintffuncname + - gosec + - inamedparam + - interfacebloat + - ireturn + - mirror + - misspell + - nolintlint + - revive + - stylecheck + - tenv + - testifylint + - thelper + - unconvert + - unparam + - usestdlibvars + - whitespace + +linters-settings: + misspell: + locale: US + godox: + keywords: + - FIXME + goheader: + template: |- + Copyright 2015 Tim Heckman. All rights reserved. + Copyright 2018-{{ YEAR }} The Gofrs. All rights reserved. + Use of this source code is governed by the BSD 3-Clause + license that can be found in the LICENSE file. + gofumpt: + extra-rules: true + gocritic: + enabled-tags: + - diagnostic + - style + - performance + disabled-checks: + - paramTypeCombine # already handle by gofumpt.extra-rules + - whyNoLint # already handle by nonolint + - unnamedResult + - hugeParam + - sloppyReassign + - rangeValCopy + - octalLiteral + - ptrToRefParam + - appendAssign + - ruleguard + - httpNoBody + - exposedSyncMutex + + revive: + rules: + - name: struct-tag + - name: blank-imports + - name: context-as-argument + - name: context-keys-type + - name: dot-imports + - name: error-return + - name: error-strings + - name: error-naming + - name: exported + - name: if-return + - name: increment-decrement + - name: var-naming + - name: var-declaration + - name: package-comments + - name: range + - name: receiver-naming + - name: time-naming + - name: unexported-return + - name: indent-error-flow + - name: errorf + - name: empty-block + - name: superfluous-else + - name: unused-parameter + - name: unreachable-code + - name: redefines-builtin-id + +issues: + exclude-use-default: true + max-issues-per-linter: 0 + max-same-issues: 0 + +output: + show-stats: true + sort-results: true + sort-order: + - linter + - file diff --git a/vendor/github.com/gofrs/flock/.travis.yml b/vendor/github.com/gofrs/flock/.travis.yml deleted file mode 100644 index b16d040fa8..0000000000 --- a/vendor/github.com/gofrs/flock/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: go -go: - - 1.14.x - - 1.15.x -script: go test -v -check.vv -race ./... -sudo: false -notifications: - email: - on_success: never - on_failure: always diff --git a/vendor/github.com/gofrs/flock/LICENSE b/vendor/github.com/gofrs/flock/LICENSE index 8b8ff36fe4..7de525bf02 100644 --- a/vendor/github.com/gofrs/flock/LICENSE +++ b/vendor/github.com/gofrs/flock/LICENSE @@ -1,3 +1,4 @@ +Copyright (c) 2018-2024, The Gofrs Copyright (c) 2015-2020, Tim Heckman All rights reserved. diff --git a/vendor/github.com/gofrs/flock/Makefile b/vendor/github.com/gofrs/flock/Makefile new file mode 100644 index 0000000000..65c139d68c --- /dev/null +++ b/vendor/github.com/gofrs/flock/Makefile @@ -0,0 +1,15 @@ +.PHONY: lint test test_race build_cross_os + +default: lint test build_cross_os + +test: + go test -v -cover ./... + +test_race: + CGO_ENABLED=1 go test -v -race ./... + +lint: + golangci-lint run + +build_cross_os: + ./build.sh diff --git a/vendor/github.com/gofrs/flock/README.md b/vendor/github.com/gofrs/flock/README.md index 71ce63692e..a3479dba57 100644 --- a/vendor/github.com/gofrs/flock/README.md +++ b/vendor/github.com/gofrs/flock/README.md @@ -1,26 +1,22 @@ # flock -[![TravisCI Build Status](https://img.shields.io/travis/gofrs/flock/master.svg?style=flat)](https://travis-ci.org/gofrs/flock) -[![GoDoc](https://img.shields.io/badge/godoc-flock-blue.svg?style=flat)](https://godoc.org/github.com/gofrs/flock) + +[![Go Reference](https://pkg.go.dev/badge/github.com/gofrs/flock.svg)](https://pkg.go.dev/github.com/gofrs/flock) [![License](https://img.shields.io/badge/license-BSD_3--Clause-brightgreen.svg?style=flat)](https://github.com/gofrs/flock/blob/master/LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/gofrs/flock)](https://goreportcard.com/report/github.com/gofrs/flock) -`flock` implements a thread-safe sync.Locker interface for file locking. It also -includes a non-blocking TryLock() function to allow locking without blocking execution. - -## License -`flock` is released under the BSD 3-Clause License. See the `LICENSE` file for more details. +`flock` implements a thread-safe file lock. -## Go Compatibility -This package makes use of the `context` package that was introduced in Go 1.7. As such, this -package has an implicit dependency on Go 1.7+. +It also includes a non-blocking `TryLock()` function to allow locking without blocking execution. ## Installation -``` + +```bash go get -u github.com/gofrs/flock ``` ## Usage -```Go + +```go import "github.com/gofrs/flock" fileLock := flock.New("/var/lock/go-lock.lock") @@ -38,4 +34,12 @@ if locked { ``` For more detailed usage information take a look at the package API docs on -[GoDoc](https://godoc.org/github.com/gofrs/flock). +[GoDoc](https://pkg.go.dev/github.com/gofrs/flock). + +## License + +`flock` is released under the BSD 3-Clause License. See the [`LICENSE`](./LICENSE) file for more details. + +## Project History + +This project was originally `github.com/theckman/go-flock`, it was transferred to Gofrs by the original author [Tim Heckman ](https://github.com/theckman). diff --git a/vendor/github.com/gofrs/flock/SECURITY.md b/vendor/github.com/gofrs/flock/SECURITY.md new file mode 100644 index 0000000000..01419bd592 --- /dev/null +++ b/vendor/github.com/gofrs/flock/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +We support the latest version of this library. +We do not guarantee support of previous versions. + +If a defect is reported, it will generally be fixed on the latest version (provided it exists) irrespective of whether it was introduced in a prior version. + +## Reporting a Vulnerability + +To report a potential security vulnerability, please create a [security advisory](https://github.com/gofrs/flock/security/advisories/new). + +For us to respond to your report most effectively, please include any of the following: + +- Steps to reproduce or a proof-of-concept +- Any relevant information, including the versions used + +## Security Scorecard + +This project submits security [results](https://scorecard.dev/viewer/?uri=github.com/gofrs/flock) to the [OpenSSF Scorecard](https://securityscorecards.dev/). diff --git a/vendor/github.com/gofrs/flock/appveyor.yml b/vendor/github.com/gofrs/flock/appveyor.yml deleted file mode 100644 index 909b4bf7cb..0000000000 --- a/vendor/github.com/gofrs/flock/appveyor.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: '{build}' - -build: false -deploy: false - -clone_folder: 'c:\gopath\src\github.com\gofrs\flock' - -environment: - GOPATH: 'c:\gopath' - GOVERSION: '1.15' - -init: - - git config --global core.autocrlf input - -install: - - rmdir c:\go /s /q - - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi - - msiexec /i go%GOVERSION%.windows-amd64.msi /q - - set Path=c:\go\bin;c:\gopath\bin;%Path% - - go version - - go env - -test_script: - - go get -t ./... - - go test -race -v ./... diff --git a/vendor/github.com/gofrs/flock/build.sh b/vendor/github.com/gofrs/flock/build.sh new file mode 100644 index 0000000000..34d3a9c901 --- /dev/null +++ b/vendor/github.com/gofrs/flock/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash -e + +# Not supported by flock: +# - plan9/* +# - js/wasm +# - wasp1/wasm + +for row in $(go tool dist list -json | jq -r '.[] | select( .GOOS != "plan9" and .GOARCH != "wasm") | @base64'); do + _jq() { + echo ${row} | base64 --decode | jq -r ${1} + } + + GOOS=$(_jq '.GOOS') + GOARCH=$(_jq '.GOARCH') + + echo "$GOOS/$GOARCH" + GOOS=$GOOS GOARCH=$GOARCH go build +done diff --git a/vendor/github.com/gofrs/flock/flock.go b/vendor/github.com/gofrs/flock/flock.go index 95c784ca50..97ba857c6d 100644 --- a/vendor/github.com/gofrs/flock/flock.go +++ b/vendor/github.com/gofrs/flock/flock.go @@ -1,4 +1,5 @@ // Copyright 2015 Tim Heckman. All rights reserved. +// Copyright 2018-2024 The Gofrs. All rights reserved. // Use of this source code is governed by the BSD 3-Clause // license that can be found in the LICENSE file. @@ -118,14 +119,15 @@ func (f *Flock) setFh() error { // open a new os.File instance // create it if it doesn't exist, and open the file read-only. flags := os.O_CREATE - if runtime.GOOS == "aix" { + if runtime.GOOS == "aix" || runtime.GOOS == "solaris" || runtime.GOOS == "illumos" { // AIX cannot preform write-lock (ie exclusive) on a // read-only file. flags |= os.O_RDWR } else { flags |= os.O_RDONLY } - fh, err := os.OpenFile(f.path, flags, os.FileMode(0600)) + + fh, err := os.OpenFile(f.path, flags, os.FileMode(0o600)) if err != nil { return err } @@ -135,7 +137,7 @@ func (f *Flock) setFh() error { return nil } -// ensure the file handle is closed if no lock is held +// ensure the file handle is closed if no lock is held. func (f *Flock) ensureFhState() { if !f.l && !f.r && f.fh != nil { f.fh.Close() diff --git a/vendor/github.com/gofrs/flock/flock_unix.go b/vendor/github.com/gofrs/flock/flock_unix.go index c315a3e290..4fde9f0398 100644 --- a/vendor/github.com/gofrs/flock/flock_unix.go +++ b/vendor/github.com/gofrs/flock/flock_unix.go @@ -1,12 +1,14 @@ // Copyright 2015 Tim Heckman. All rights reserved. +// Copyright 2018-2024 The Gofrs. All rights reserved. // Use of this source code is governed by the BSD 3-Clause // license that can be found in the LICENSE file. -// +build !aix,!windows +//go:build !aix && !solaris && !windows package flock import ( + "errors" "os" "syscall" ) @@ -157,6 +159,7 @@ retry: *locked = true return true, nil } + if !retried { if shouldRetry, reopenErr := f.reopenFDOnError(err); reopenErr != nil { return false, reopenErr @@ -171,24 +174,26 @@ retry: // reopenFDOnError determines whether we should reopen the file handle // in readwrite mode and try again. This comes from util-linux/sys-utils/flock.c: -// Since Linux 3.4 (commit 55725513) -// Probably NFSv4 where flock() is emulated by fcntl(). +// +// Since Linux 3.4 (commit 55725513) +// Probably NFSv4 where flock() is emulated by fcntl(). func (f *Flock) reopenFDOnError(err error) (bool, error) { - if err != syscall.EIO && err != syscall.EBADF { + if !errors.Is(err, syscall.EIO) && !errors.Is(err, syscall.EBADF) { return false, nil } if st, err := f.fh.Stat(); err == nil { // if the file is able to be read and written - if st.Mode()&0600 == 0600 { + if st.Mode()&0o600 == 0o600 { f.fh.Close() f.fh = nil // reopen in read-write mode and set the filehandle - fh, err := os.OpenFile(f.path, os.O_CREATE|os.O_RDWR, os.FileMode(0600)) + fh, err := os.OpenFile(f.path, os.O_CREATE|os.O_RDWR, os.FileMode(0o600)) if err != nil { return false, err } f.fh = fh + return true, nil } } diff --git a/vendor/github.com/gofrs/flock/flock_aix.go b/vendor/github.com/gofrs/flock/flock_unix_variants.go similarity index 96% rename from vendor/github.com/gofrs/flock/flock_aix.go rename to vendor/github.com/gofrs/flock/flock_unix_variants.go index 7277c1b6b2..e485e16a10 100644 --- a/vendor/github.com/gofrs/flock/flock_aix.go +++ b/vendor/github.com/gofrs/flock/flock_unix_variants.go @@ -1,5 +1,7 @@ -// Copyright 2019 Tim Heckman. All rights reserved. Use of this source code is -// governed by the BSD 3-Clause license that can be found in the LICENSE file. +// Copyright 2015 Tim Heckman. All rights reserved. +// Copyright 2018-2024 The Gofrs. All rights reserved. +// Use of this source code is governed by the BSD 3-Clause +// license that can be found in the LICENSE file. // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style @@ -13,7 +15,7 @@ // This code is adapted from the Go package: // cmd/go/internal/lockedfile/internal/filelock -//+build aix +//go:build aix || solaris package flock @@ -151,7 +153,6 @@ func (f *Flock) doLock(cmd cmdType, lt lockType, blocking bool) (bool, error) { } err = setlkw(f.fh.Fd(), cmd, lt) - if err != nil { f.doUnlock() if cmd == tryLock && err == unix.EACCES { diff --git a/vendor/github.com/gofrs/flock/flock_winapi.go b/vendor/github.com/gofrs/flock/flock_winapi.go index fe405a255a..9e4df34b22 100644 --- a/vendor/github.com/gofrs/flock/flock_winapi.go +++ b/vendor/github.com/gofrs/flock/flock_winapi.go @@ -1,8 +1,9 @@ // Copyright 2015 Tim Heckman. All rights reserved. +// Copyright 2018-2024 The Gofrs. All rights reserved. // Use of this source code is governed by the BSD 3-Clause // license that can be found in the LICENSE file. -// +build windows +//go:build windows package flock @@ -31,10 +32,10 @@ const ( // // https://msdn.microsoft.com/en-us/library/windows/desktop/aa365203(v=vs.85).aspx -func lockFileEx(handle syscall.Handle, flags uint32, reserved uint32, numberOfBytesToLockLow uint32, numberOfBytesToLockHigh uint32, offset *syscall.Overlapped) (bool, syscall.Errno) { - r1, _, errNo := syscall.Syscall6( - uintptr(procLockFileEx), - 6, +//nolint:unparam +func lockFileEx(handle syscall.Handle, flags, reserved, numberOfBytesToLockLow, numberOfBytesToLockHigh uint32, offset *syscall.Overlapped) (bool, syscall.Errno) { + r1, _, errNo := syscall.SyscallN( + procLockFileEx, uintptr(handle), uintptr(flags), uintptr(reserved), @@ -53,16 +54,14 @@ func lockFileEx(handle syscall.Handle, flags uint32, reserved uint32, numberOfBy return true, 0 } -func unlockFileEx(handle syscall.Handle, reserved uint32, numberOfBytesToLockLow uint32, numberOfBytesToLockHigh uint32, offset *syscall.Overlapped) (bool, syscall.Errno) { - r1, _, errNo := syscall.Syscall6( - uintptr(procUnlockFileEx), - 5, +func unlockFileEx(handle syscall.Handle, reserved, numberOfBytesToLockLow, numberOfBytesToLockHigh uint32, offset *syscall.Overlapped) (bool, syscall.Errno) { + r1, _, errNo := syscall.SyscallN( + procUnlockFileEx, uintptr(handle), uintptr(reserved), uintptr(numberOfBytesToLockLow), uintptr(numberOfBytesToLockHigh), - uintptr(unsafe.Pointer(offset)), - 0) + uintptr(unsafe.Pointer(offset))) if r1 != 1 { if errNo == 0 { diff --git a/vendor/github.com/gofrs/flock/flock_windows.go b/vendor/github.com/gofrs/flock/flock_windows.go index ddb534ccef..1f0c968416 100644 --- a/vendor/github.com/gofrs/flock/flock_windows.go +++ b/vendor/github.com/gofrs/flock/flock_windows.go @@ -1,4 +1,5 @@ // Copyright 2015 Tim Heckman. All rights reserved. +// Copyright 2018-2024 The Gofrs. All rights reserved. // Use of this source code is governed by the BSD 3-Clause // license that can be found in the LICENSE file. @@ -9,7 +10,7 @@ import ( ) // ErrorLockViolation is the error code returned from the Windows syscall when a -// lock would block and you ask to fail immediately. +// lock would block, and you ask to fail immediately. const ErrorLockViolation syscall.Errno = 0x21 // 33 // Lock is a blocking call to try and take an exclusive file lock. It will wait @@ -49,7 +50,8 @@ func (f *Flock) lock(locked *bool, flag uint32) error { defer f.ensureFhState() } - if _, errNo := lockFileEx(syscall.Handle(f.fh.Fd()), flag, 0, 1, 0, &syscall.Overlapped{}); errNo > 0 { + _, errNo := lockFileEx(syscall.Handle(f.fh.Fd()), flag, 0, 1, 0, &syscall.Overlapped{}) + if errNo > 0 { return errNo } @@ -74,7 +76,8 @@ func (f *Flock) Unlock() error { } // mark the file as unlocked - if _, errNo := unlockFileEx(syscall.Handle(f.fh.Fd()), 0, 1, 0, &syscall.Overlapped{}); errNo > 0 { + _, errNo := unlockFileEx(syscall.Handle(f.fh.Fd()), 0, 1, 0, &syscall.Overlapped{}) + if errNo > 0 { return errNo } diff --git a/vendor/github.com/google/go-cmp/cmp/cmpopts/sort.go b/vendor/github.com/google/go-cmp/cmp/cmpopts/sort.go index c6d09dae40..720f3cdf57 100644 --- a/vendor/github.com/google/go-cmp/cmp/cmpopts/sort.go +++ b/vendor/github.com/google/go-cmp/cmp/cmpopts/sort.go @@ -14,22 +14,29 @@ import ( ) // SortSlices returns a [cmp.Transformer] option that sorts all []V. -// The less function must be of the form "func(T, T) bool" which is used to -// sort any slice with element type V that is assignable to T. +// The lessOrCompareFunc function must be either +// a less function of the form "func(T, T) bool" or +// a compare function of the format "func(T, T) int" +// which is used to sort any slice with element type V that is assignable to T. // -// The less function must be: +// A less function must be: // - Deterministic: less(x, y) == less(x, y) // - Irreflexive: !less(x, x) // - Transitive: if !less(x, y) and !less(y, z), then !less(x, z) // -// The less function does not have to be "total". That is, if !less(x, y) and -// !less(y, x) for two elements x and y, their relative order is maintained. +// A compare function must be: +// - Deterministic: compare(x, y) == compare(x, y) +// - Irreflexive: compare(x, x) == 0 +// - Transitive: if !less(x, y) and !less(y, z), then !less(x, z) +// +// The function does not have to be "total". That is, if x != y, but +// less or compare report inequality, their relative order is maintained. // // SortSlices can be used in conjunction with [EquateEmpty]. -func SortSlices(lessFunc interface{}) cmp.Option { - vf := reflect.ValueOf(lessFunc) - if !function.IsType(vf.Type(), function.Less) || vf.IsNil() { - panic(fmt.Sprintf("invalid less function: %T", lessFunc)) +func SortSlices(lessOrCompareFunc interface{}) cmp.Option { + vf := reflect.ValueOf(lessOrCompareFunc) + if (!function.IsType(vf.Type(), function.Less) && !function.IsType(vf.Type(), function.Compare)) || vf.IsNil() { + panic(fmt.Sprintf("invalid less or compare function: %T", lessOrCompareFunc)) } ss := sliceSorter{vf.Type().In(0), vf} return cmp.FilterValues(ss.filter, cmp.Transformer("cmpopts.SortSlices", ss.sort)) @@ -79,28 +86,40 @@ func (ss sliceSorter) checkSort(v reflect.Value) { } func (ss sliceSorter) less(v reflect.Value, i, j int) bool { vx, vy := v.Index(i), v.Index(j) - return ss.fnc.Call([]reflect.Value{vx, vy})[0].Bool() + vo := ss.fnc.Call([]reflect.Value{vx, vy})[0] + if vo.Kind() == reflect.Bool { + return vo.Bool() + } else { + return vo.Int() < 0 + } } -// SortMaps returns a [cmp.Transformer] option that flattens map[K]V types to be a -// sorted []struct{K, V}. The less function must be of the form -// "func(T, T) bool" which is used to sort any map with key K that is -// assignable to T. +// SortMaps returns a [cmp.Transformer] option that flattens map[K]V types to be +// a sorted []struct{K, V}. The lessOrCompareFunc function must be either +// a less function of the form "func(T, T) bool" or +// a compare function of the format "func(T, T) int" +// which is used to sort any map with key K that is assignable to T. // // Flattening the map into a slice has the property that [cmp.Equal] is able to // use [cmp.Comparer] options on K or the K.Equal method if it exists. // -// The less function must be: +// A less function must be: // - Deterministic: less(x, y) == less(x, y) // - Irreflexive: !less(x, x) // - Transitive: if !less(x, y) and !less(y, z), then !less(x, z) // - Total: if x != y, then either less(x, y) or less(y, x) // +// A compare function must be: +// - Deterministic: compare(x, y) == compare(x, y) +// - Irreflexive: compare(x, x) == 0 +// - Transitive: if compare(x, y) < 0 and compare(y, z) < 0, then compare(x, z) < 0 +// - Total: if x != y, then compare(x, y) != 0 +// // SortMaps can be used in conjunction with [EquateEmpty]. -func SortMaps(lessFunc interface{}) cmp.Option { - vf := reflect.ValueOf(lessFunc) - if !function.IsType(vf.Type(), function.Less) || vf.IsNil() { - panic(fmt.Sprintf("invalid less function: %T", lessFunc)) +func SortMaps(lessOrCompareFunc interface{}) cmp.Option { + vf := reflect.ValueOf(lessOrCompareFunc) + if (!function.IsType(vf.Type(), function.Less) && !function.IsType(vf.Type(), function.Compare)) || vf.IsNil() { + panic(fmt.Sprintf("invalid less or compare function: %T", lessOrCompareFunc)) } ms := mapSorter{vf.Type().In(0), vf} return cmp.FilterValues(ms.filter, cmp.Transformer("cmpopts.SortMaps", ms.sort)) @@ -143,5 +162,10 @@ func (ms mapSorter) checkSort(v reflect.Value) { } func (ms mapSorter) less(v reflect.Value, i, j int) bool { vx, vy := v.Index(i).Field(0), v.Index(j).Field(0) - return ms.fnc.Call([]reflect.Value{vx, vy})[0].Bool() + vo := ms.fnc.Call([]reflect.Value{vx, vy})[0] + if vo.Kind() == reflect.Bool { + return vo.Bool() + } else { + return vo.Int() < 0 + } } diff --git a/vendor/github.com/google/go-cmp/cmp/internal/function/func.go b/vendor/github.com/google/go-cmp/cmp/internal/function/func.go index d127d43623..def01a6be3 100644 --- a/vendor/github.com/google/go-cmp/cmp/internal/function/func.go +++ b/vendor/github.com/google/go-cmp/cmp/internal/function/func.go @@ -19,6 +19,7 @@ const ( tbFunc // func(T) bool ttbFunc // func(T, T) bool + ttiFunc // func(T, T) int trbFunc // func(T, R) bool tibFunc // func(T, I) bool trFunc // func(T) R @@ -28,11 +29,13 @@ const ( Transformer = trFunc // func(T) R ValueFilter = ttbFunc // func(T, T) bool Less = ttbFunc // func(T, T) bool + Compare = ttiFunc // func(T, T) int ValuePredicate = tbFunc // func(T) bool KeyValuePredicate = trbFunc // func(T, R) bool ) var boolType = reflect.TypeOf(true) +var intType = reflect.TypeOf(0) // IsType reports whether the reflect.Type is of the specified function type. func IsType(t reflect.Type, ft funcType) bool { @@ -49,6 +52,10 @@ func IsType(t reflect.Type, ft funcType) bool { if ni == 2 && no == 1 && t.In(0) == t.In(1) && t.Out(0) == boolType { return true } + case ttiFunc: // func(T, T) int + if ni == 2 && no == 1 && t.In(0) == t.In(1) && t.Out(0) == intType { + return true + } case trbFunc: // func(T, R) bool if ni == 2 && no == 1 && t.Out(0) == boolType { return true diff --git a/vendor/github.com/google/go-cmp/cmp/options.go b/vendor/github.com/google/go-cmp/cmp/options.go index 754496f3b3..ba3fce81ff 100644 --- a/vendor/github.com/google/go-cmp/cmp/options.go +++ b/vendor/github.com/google/go-cmp/cmp/options.go @@ -232,7 +232,15 @@ func (validator) apply(s *state, vx, vy reflect.Value) { if t := s.curPath.Index(-2).Type(); t.Name() != "" { // Named type with unexported fields. name = fmt.Sprintf("%q.%v", t.PkgPath(), t.Name()) // e.g., "path/to/package".MyType - if _, ok := reflect.New(t).Interface().(error); ok { + isProtoMessage := func(t reflect.Type) bool { + m, ok := reflect.PointerTo(t).MethodByName("ProtoReflect") + return ok && m.Type.NumIn() == 1 && m.Type.NumOut() == 1 && + m.Type.Out(0).PkgPath() == "google.golang.org/protobuf/reflect/protoreflect" && + m.Type.Out(0).Name() == "Message" + } + if isProtoMessage(t) { + help = `consider using "google.golang.org/protobuf/testing/protocmp".Transform to compare proto.Message types` + } else if _, ok := reflect.New(t).Interface().(error); ok { help = "consider using cmpopts.EquateErrors to compare error values" } else if t.Comparable() { help = "consider using cmpopts.EquateComparable to compare comparable Go types" diff --git a/vendor/github.com/klauspost/compress/README.md b/vendor/github.com/klauspost/compress/README.md index de264c85a5..244ee19c4b 100644 --- a/vendor/github.com/klauspost/compress/README.md +++ b/vendor/github.com/klauspost/compress/README.md @@ -14,8 +14,34 @@ This package provides various compression algorithms. [![Go](https://github.com/klauspost/compress/actions/workflows/go.yml/badge.svg)](https://github.com/klauspost/compress/actions/workflows/go.yml) [![Sourcegraph Badge](https://sourcegraph.com/github.com/klauspost/compress/-/badge.svg)](https://sourcegraph.com/github.com/klauspost/compress?badge) +# package usage + +Use `go get github.com/klauspost/compress@latest` to add it to your project. + +This package will support the current Go version and 2 versions back. + +* Use the `nounsafe` tag to disable all use of the "unsafe" package. +* Use the `noasm` tag to disable all assembly across packages. + +Use the links above for more information on each. + # changelog +* Feb 19th, 2025 - [1.18.0](https://github.com/klauspost/compress/releases/tag/v1.18.0) + * Add unsafe little endian loaders https://github.com/klauspost/compress/pull/1036 + * fix: check `r.err != nil` but return a nil value error `err` by @alingse in https://github.com/klauspost/compress/pull/1028 + * flate: Simplify L4-6 loading https://github.com/klauspost/compress/pull/1043 + * flate: Simplify matchlen (remove asm) https://github.com/klauspost/compress/pull/1045 + * s2: Improve small block compression speed w/o asm https://github.com/klauspost/compress/pull/1048 + * flate: Fix matchlen L5+L6 https://github.com/klauspost/compress/pull/1049 + * flate: Cleanup & reduce casts https://github.com/klauspost/compress/pull/1050 + +* Oct 11th, 2024 - [1.17.11](https://github.com/klauspost/compress/releases/tag/v1.17.11) + * zstd: Fix extra CRC written with multiple Close calls https://github.com/klauspost/compress/pull/1017 + * s2: Don't use stack for index tables https://github.com/klauspost/compress/pull/1014 + * gzhttp: No content-type on no body response code by @juliens in https://github.com/klauspost/compress/pull/1011 + * gzhttp: Do not set the content-type when response has no body by @kevinpollet in https://github.com/klauspost/compress/pull/1013 + * Sep 23rd, 2024 - [1.17.10](https://github.com/klauspost/compress/releases/tag/v1.17.10) * gzhttp: Add TransportAlwaysDecompress option. https://github.com/klauspost/compress/pull/978 * gzhttp: Add supported decompress request body by @mirecl in https://github.com/klauspost/compress/pull/1002 @@ -65,9 +91,9 @@ https://github.com/klauspost/compress/pull/919 https://github.com/klauspost/comp * zstd: Fix rare *CORRUPTION* output in "best" mode. See https://github.com/klauspost/compress/pull/876 * Oct 14th, 2023 - [v1.17.1](https://github.com/klauspost/compress/releases/tag/v1.17.1) - * s2: Fix S2 "best" dictionary wrong encoding by @klauspost in https://github.com/klauspost/compress/pull/871 + * s2: Fix S2 "best" dictionary wrong encoding https://github.com/klauspost/compress/pull/871 * flate: Reduce allocations in decompressor and minor code improvements by @fakefloordiv in https://github.com/klauspost/compress/pull/869 - * s2: Fix EstimateBlockSize on 6&7 length input by @klauspost in https://github.com/klauspost/compress/pull/867 + * s2: Fix EstimateBlockSize on 6&7 length input https://github.com/klauspost/compress/pull/867 * Sept 19th, 2023 - [v1.17.0](https://github.com/klauspost/compress/releases/tag/v1.17.0) * Add experimental dictionary builder https://github.com/klauspost/compress/pull/853 @@ -124,7 +150,7 @@ https://github.com/klauspost/compress/pull/919 https://github.com/klauspost/comp See changes to v1.15.x * Jan 21st, 2023 (v1.15.15) - * deflate: Improve level 7-9 by @klauspost in https://github.com/klauspost/compress/pull/739 + * deflate: Improve level 7-9 https://github.com/klauspost/compress/pull/739 * zstd: Add delta encoding support by @greatroar in https://github.com/klauspost/compress/pull/728 * zstd: Various speed improvements by @greatroar https://github.com/klauspost/compress/pull/741 https://github.com/klauspost/compress/pull/734 https://github.com/klauspost/compress/pull/736 https://github.com/klauspost/compress/pull/744 https://github.com/klauspost/compress/pull/743 https://github.com/klauspost/compress/pull/745 * gzhttp: Add SuffixETag() and DropETag() options to prevent ETag collisions on compressed responses by @willbicks in https://github.com/klauspost/compress/pull/740 @@ -167,7 +193,7 @@ https://github.com/klauspost/compress/pull/919 https://github.com/klauspost/comp * zstd: Fix decoder crash on amd64 (no BMI) on invalid input https://github.com/klauspost/compress/pull/645 * zstd: Disable decoder extended memory copies (amd64) due to possible crashes https://github.com/klauspost/compress/pull/644 - * zstd: Allow single segments up to "max decoded size" by @klauspost in https://github.com/klauspost/compress/pull/643 + * zstd: Allow single segments up to "max decoded size" https://github.com/klauspost/compress/pull/643 * July 13, 2022 (v1.15.8) @@ -209,7 +235,7 @@ https://github.com/klauspost/compress/pull/919 https://github.com/klauspost/comp * zstd: Speed up when WithDecoderLowmem(false) https://github.com/klauspost/compress/pull/599 * zstd: faster next state update in BMI2 version of decode by @WojciechMula in https://github.com/klauspost/compress/pull/593 * huff0: Do not check max size when reading table. https://github.com/klauspost/compress/pull/586 - * flate: Inplace hashing for level 7-9 by @klauspost in https://github.com/klauspost/compress/pull/590 + * flate: Inplace hashing for level 7-9 https://github.com/klauspost/compress/pull/590 * May 11, 2022 (v1.15.4) @@ -236,12 +262,12 @@ https://github.com/klauspost/compress/pull/919 https://github.com/klauspost/comp * zstd: Add stricter block size checks in [#523](https://github.com/klauspost/compress/pull/523) * Mar 3, 2022 (v1.15.0) - * zstd: Refactor decoder by @klauspost in [#498](https://github.com/klauspost/compress/pull/498) - * zstd: Add stream encoding without goroutines by @klauspost in [#505](https://github.com/klauspost/compress/pull/505) + * zstd: Refactor decoder [#498](https://github.com/klauspost/compress/pull/498) + * zstd: Add stream encoding without goroutines [#505](https://github.com/klauspost/compress/pull/505) * huff0: Prevent single blocks exceeding 16 bits by @klauspost in[#507](https://github.com/klauspost/compress/pull/507) - * flate: Inline literal emission by @klauspost in [#509](https://github.com/klauspost/compress/pull/509) - * gzhttp: Add zstd to transport by @klauspost in [#400](https://github.com/klauspost/compress/pull/400) - * gzhttp: Make content-type optional by @klauspost in [#510](https://github.com/klauspost/compress/pull/510) + * flate: Inline literal emission [#509](https://github.com/klauspost/compress/pull/509) + * gzhttp: Add zstd to transport [#400](https://github.com/klauspost/compress/pull/400) + * gzhttp: Make content-type optional [#510](https://github.com/klauspost/compress/pull/510) Both compression and decompression now supports "synchronous" stream operations. This means that whenever "concurrency" is set to 1, they will operate without spawning goroutines. @@ -258,7 +284,7 @@ While the release has been extensively tested, it is recommended to testing when * flate: Fix rare huffman only (-2) corruption. [#503](https://github.com/klauspost/compress/pull/503) * zip: Update deprecated CreateHeaderRaw to correctly call CreateRaw by @saracen in [#502](https://github.com/klauspost/compress/pull/502) * zip: don't read data descriptor early by @saracen in [#501](https://github.com/klauspost/compress/pull/501) #501 - * huff0: Use static decompression buffer up to 30% faster by @klauspost in [#499](https://github.com/klauspost/compress/pull/499) [#500](https://github.com/klauspost/compress/pull/500) + * huff0: Use static decompression buffer up to 30% faster [#499](https://github.com/klauspost/compress/pull/499) [#500](https://github.com/klauspost/compress/pull/500) * Feb 17, 2022 (v1.14.3) * flate: Improve fastest levels compression speed ~10% more throughput. [#482](https://github.com/klauspost/compress/pull/482) [#489](https://github.com/klauspost/compress/pull/489) [#490](https://github.com/klauspost/compress/pull/490) [#491](https://github.com/klauspost/compress/pull/491) [#494](https://github.com/klauspost/compress/pull/494) [#478](https://github.com/klauspost/compress/pull/478) @@ -565,12 +591,14 @@ While the release has been extensively tested, it is recommended to testing when The packages are drop-in replacements for standard libraries. Simply replace the import path to use them: -| old import | new import | Documentation -|--------------------|-----------------------------------------|--------------------| -| `compress/gzip` | `github.com/klauspost/compress/gzip` | [gzip](https://pkg.go.dev/github.com/klauspost/compress/gzip?tab=doc) -| `compress/zlib` | `github.com/klauspost/compress/zlib` | [zlib](https://pkg.go.dev/github.com/klauspost/compress/zlib?tab=doc) -| `archive/zip` | `github.com/klauspost/compress/zip` | [zip](https://pkg.go.dev/github.com/klauspost/compress/zip?tab=doc) -| `compress/flate` | `github.com/klauspost/compress/flate` | [flate](https://pkg.go.dev/github.com/klauspost/compress/flate?tab=doc) +Typical speed is about 2x of the standard library packages. + +| old import | new import | Documentation | +|------------------|---------------------------------------|-------------------------------------------------------------------------| +| `compress/gzip` | `github.com/klauspost/compress/gzip` | [gzip](https://pkg.go.dev/github.com/klauspost/compress/gzip?tab=doc) | +| `compress/zlib` | `github.com/klauspost/compress/zlib` | [zlib](https://pkg.go.dev/github.com/klauspost/compress/zlib?tab=doc) | +| `archive/zip` | `github.com/klauspost/compress/zip` | [zip](https://pkg.go.dev/github.com/klauspost/compress/zip?tab=doc) | +| `compress/flate` | `github.com/klauspost/compress/flate` | [flate](https://pkg.go.dev/github.com/klauspost/compress/flate?tab=doc) | * Optimized [deflate](https://godoc.org/github.com/klauspost/compress/flate) packages which can be used as a dropin replacement for [gzip](https://godoc.org/github.com/klauspost/compress/gzip), [zip](https://godoc.org/github.com/klauspost/compress/zip) and [zlib](https://godoc.org/github.com/klauspost/compress/zlib). @@ -625,84 +653,6 @@ This will only use up to 4KB in memory when the writer is idle. Compression is almost always worse than the fastest compression level and each write will allocate (a little) memory. -# Performance Update 2018 - -It has been a while since we have been looking at the speed of this package compared to the standard library, so I thought I would re-do my tests and give some overall recommendations based on the current state. All benchmarks have been performed with Go 1.10 on my Desktop Intel(R) Core(TM) i7-2600 CPU @3.40GHz. Since I last ran the tests, I have gotten more RAM, which means tests with big files are no longer limited by my SSD. - -The raw results are in my [updated spreadsheet](https://docs.google.com/spreadsheets/d/1nuNE2nPfuINCZJRMt6wFWhKpToF95I47XjSsc-1rbPQ/edit?usp=sharing). Due to cgo changes and upstream updates i could not get the cgo version of gzip to compile. Instead I included the [zstd](https://github.com/datadog/zstd) cgo implementation. If I get cgo gzip to work again, I might replace the results in the sheet. - -The columns to take note of are: *MB/s* - the throughput. *Reduction* - the data size reduction in percent of the original. *Rel Speed* relative speed compared to the standard library at the same level. *Smaller* - how many percent smaller is the compressed output compared to stdlib. Negative means the output was bigger. *Loss* means the loss (or gain) in compression as a percentage difference of the input. - -The `gzstd` (standard library gzip) and `gzkp` (this package gzip) only uses one CPU core. [`pgzip`](https://github.com/klauspost/pgzip), [`bgzf`](https://github.com/biogo/hts/tree/master/bgzf) uses all 4 cores. [`zstd`](https://github.com/DataDog/zstd) uses one core, and is a beast (but not Go, yet). - - -## Overall differences. - -There appears to be a roughly 5-10% speed advantage over the standard library when comparing at similar compression levels. - -The biggest difference you will see is the result of [re-balancing](https://blog.klauspost.com/rebalancing-deflate-compression-levels/) the compression levels. I wanted by library to give a smoother transition between the compression levels than the standard library. - -This package attempts to provide a more smooth transition, where "1" is taking a lot of shortcuts, "5" is the reasonable trade-off and "9" is the "give me the best compression", and the values in between gives something reasonable in between. The standard library has big differences in levels 1-4, but levels 5-9 having no significant gains - often spending a lot more time than can be justified by the achieved compression. - -There are links to all the test data in the [spreadsheet](https://docs.google.com/spreadsheets/d/1nuNE2nPfuINCZJRMt6wFWhKpToF95I47XjSsc-1rbPQ/edit?usp=sharing) in the top left field on each tab. - -## Web Content - -This test set aims to emulate typical use in a web server. The test-set is 4GB data in 53k files, and is a mixture of (mostly) HTML, JS, CSS. - -Since level 1 and 9 are close to being the same code, they are quite close. But looking at the levels in-between the differences are quite big. - -Looking at level 6, this package is 88% faster, but will output about 6% more data. For a web server, this means you can serve 88% more data, but have to pay for 6% more bandwidth. You can draw your own conclusions on what would be the most expensive for your case. - -## Object files - -This test is for typical data files stored on a server. In this case it is a collection of Go precompiled objects. They are very compressible. - -The picture is similar to the web content, but with small differences since this is very compressible. Levels 2-3 offer good speed, but is sacrificing quite a bit of compression. - -The standard library seems suboptimal on level 3 and 4 - offering both worse compression and speed than level 6 & 7 of this package respectively. - -## Highly Compressible File - -This is a JSON file with very high redundancy. The reduction starts at 95% on level 1, so in real life terms we are dealing with something like a highly redundant stream of data, etc. - -It is definitely visible that we are dealing with specialized content here, so the results are very scattered. This package does not do very well at levels 1-4, but picks up significantly at level 5 and levels 7 and 8 offering great speed for the achieved compression. - -So if you know you content is extremely compressible you might want to go slightly higher than the defaults. The standard library has a huge gap between levels 3 and 4 in terms of speed (2.75x slowdown), so it offers little "middle ground". - -## Medium-High Compressible - -This is a pretty common test corpus: [enwik9](http://mattmahoney.net/dc/textdata.html). It contains the first 10^9 bytes of the English Wikipedia dump on Mar. 3, 2006. This is a very good test of typical text based compression and more data heavy streams. - -We see a similar picture here as in "Web Content". On equal levels some compression is sacrificed for more speed. Level 5 seems to be the best trade-off between speed and size, beating stdlib level 3 in both. - -## Medium Compressible - -I will combine two test sets, one [10GB file set](http://mattmahoney.net/dc/10gb.html) and a VM disk image (~8GB). Both contain different data types and represent a typical backup scenario. - -The most notable thing is how quickly the standard library drops to very low compression speeds around level 5-6 without any big gains in compression. Since this type of data is fairly common, this does not seem like good behavior. - - -## Un-compressible Content - -This is mainly a test of how good the algorithms are at detecting un-compressible input. The standard library only offers this feature with very conservative settings at level 1. Obviously there is no reason for the algorithms to try to compress input that cannot be compressed. The only downside is that it might skip some compressible data on false detections. - - -## Huffman only compression - -This compression library adds a special compression level, named `HuffmanOnly`, which allows near linear time compression. This is done by completely disabling matching of previous data, and only reduce the number of bits to represent each character. - -This means that often used characters, like 'e' and ' ' (space) in text use the fewest bits to represent, and rare characters like '¤' takes more bits to represent. For more information see [wikipedia](https://en.wikipedia.org/wiki/Huffman_coding) or this nice [video](https://youtu.be/ZdooBTdW5bM). - -Since this type of compression has much less variance, the compression speed is mostly unaffected by the input data, and is usually more than *180MB/s* for a single core. - -The downside is that the compression ratio is usually considerably worse than even the fastest conventional compression. The compression ratio can never be better than 8:1 (12.5%). - -The linear time compression can be used as a "better than nothing" mode, where you cannot risk the encoder to slow down on some content. For comparison, the size of the "Twain" text is *233460 bytes* (+29% vs. level 1) and encode speed is 144MB/s (4.5x level 1). So in this case you trade a 30% size increase for a 4 times speedup. - -For more information see my blog post on [Fast Linear Time Compression](http://blog.klauspost.com/constant-time-gzipzip-compression/). - -This is implemented on Go 1.7 as "Huffman Only" mode, though not exposed for gzip. # Other packages diff --git a/vendor/github.com/klauspost/compress/huff0/bitreader.go b/vendor/github.com/klauspost/compress/huff0/bitreader.go index e36d9742f9..bfc7a523de 100644 --- a/vendor/github.com/klauspost/compress/huff0/bitreader.go +++ b/vendor/github.com/klauspost/compress/huff0/bitreader.go @@ -6,10 +6,11 @@ package huff0 import ( - "encoding/binary" "errors" "fmt" "io" + + "github.com/klauspost/compress/internal/le" ) // bitReader reads a bitstream in reverse. @@ -46,7 +47,7 @@ func (b *bitReaderBytes) init(in []byte) error { return nil } -// peekBitsFast requires that at least one bit is requested every time. +// peekByteFast requires that at least one byte is requested every time. // There are no checks if the buffer is filled. func (b *bitReaderBytes) peekByteFast() uint8 { got := uint8(b.value >> 56) @@ -66,8 +67,7 @@ func (b *bitReaderBytes) fillFast() { } // 2 bounds checks. - v := b.in[b.off-4 : b.off] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + low := le.Load32(b.in, b.off-4) b.value |= uint64(low) << (b.bitsRead - 32) b.bitsRead -= 32 b.off -= 4 @@ -76,7 +76,7 @@ func (b *bitReaderBytes) fillFast() { // fillFastStart() assumes the bitReaderBytes is empty and there is at least 8 bytes to read. func (b *bitReaderBytes) fillFastStart() { // Do single re-slice to avoid bounds checks. - b.value = binary.LittleEndian.Uint64(b.in[b.off-8:]) + b.value = le.Load64(b.in, b.off-8) b.bitsRead = 0 b.off -= 8 } @@ -86,9 +86,8 @@ func (b *bitReaderBytes) fill() { if b.bitsRead < 32 { return } - if b.off > 4 { - v := b.in[b.off-4 : b.off] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + if b.off >= 4 { + low := le.Load32(b.in, b.off-4) b.value |= uint64(low) << (b.bitsRead - 32) b.bitsRead -= 32 b.off -= 4 @@ -175,9 +174,7 @@ func (b *bitReaderShifted) fillFast() { return } - // 2 bounds checks. - v := b.in[b.off-4 : b.off] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + low := le.Load32(b.in, b.off-4) b.value |= uint64(low) << ((b.bitsRead - 32) & 63) b.bitsRead -= 32 b.off -= 4 @@ -185,8 +182,7 @@ func (b *bitReaderShifted) fillFast() { // fillFastStart() assumes the bitReaderShifted is empty and there is at least 8 bytes to read. func (b *bitReaderShifted) fillFastStart() { - // Do single re-slice to avoid bounds checks. - b.value = binary.LittleEndian.Uint64(b.in[b.off-8:]) + b.value = le.Load64(b.in, b.off-8) b.bitsRead = 0 b.off -= 8 } @@ -197,8 +193,7 @@ func (b *bitReaderShifted) fill() { return } if b.off > 4 { - v := b.in[b.off-4 : b.off] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) + low := le.Load32(b.in, b.off-4) b.value |= uint64(low) << ((b.bitsRead - 32) & 63) b.bitsRead -= 32 b.off -= 4 diff --git a/vendor/github.com/klauspost/compress/internal/le/le.go b/vendor/github.com/klauspost/compress/internal/le/le.go new file mode 100644 index 0000000000..e54909e16f --- /dev/null +++ b/vendor/github.com/klauspost/compress/internal/le/le.go @@ -0,0 +1,5 @@ +package le + +type Indexer interface { + int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 +} diff --git a/vendor/github.com/klauspost/compress/internal/le/unsafe_disabled.go b/vendor/github.com/klauspost/compress/internal/le/unsafe_disabled.go new file mode 100644 index 0000000000..0cfb5c0e27 --- /dev/null +++ b/vendor/github.com/klauspost/compress/internal/le/unsafe_disabled.go @@ -0,0 +1,42 @@ +//go:build !(amd64 || arm64 || ppc64le || riscv64) || nounsafe || purego || appengine + +package le + +import ( + "encoding/binary" +) + +// Load8 will load from b at index i. +func Load8[I Indexer](b []byte, i I) byte { + return b[i] +} + +// Load16 will load from b at index i. +func Load16[I Indexer](b []byte, i I) uint16 { + return binary.LittleEndian.Uint16(b[i:]) +} + +// Load32 will load from b at index i. +func Load32[I Indexer](b []byte, i I) uint32 { + return binary.LittleEndian.Uint32(b[i:]) +} + +// Load64 will load from b at index i. +func Load64[I Indexer](b []byte, i I) uint64 { + return binary.LittleEndian.Uint64(b[i:]) +} + +// Store16 will store v at b. +func Store16(b []byte, v uint16) { + binary.LittleEndian.PutUint16(b, v) +} + +// Store32 will store v at b. +func Store32(b []byte, v uint32) { + binary.LittleEndian.PutUint32(b, v) +} + +// Store64 will store v at b. +func Store64(b []byte, v uint64) { + binary.LittleEndian.PutUint64(b, v) +} diff --git a/vendor/github.com/klauspost/compress/internal/le/unsafe_enabled.go b/vendor/github.com/klauspost/compress/internal/le/unsafe_enabled.go new file mode 100644 index 0000000000..ada45cd909 --- /dev/null +++ b/vendor/github.com/klauspost/compress/internal/le/unsafe_enabled.go @@ -0,0 +1,55 @@ +// We enable 64 bit LE platforms: + +//go:build (amd64 || arm64 || ppc64le || riscv64) && !nounsafe && !purego && !appengine + +package le + +import ( + "unsafe" +) + +// Load8 will load from b at index i. +func Load8[I Indexer](b []byte, i I) byte { + //return binary.LittleEndian.Uint16(b[i:]) + //return *(*uint16)(unsafe.Pointer(&b[i])) + return *(*byte)(unsafe.Add(unsafe.Pointer(unsafe.SliceData(b)), i)) +} + +// Load16 will load from b at index i. +func Load16[I Indexer](b []byte, i I) uint16 { + //return binary.LittleEndian.Uint16(b[i:]) + //return *(*uint16)(unsafe.Pointer(&b[i])) + return *(*uint16)(unsafe.Add(unsafe.Pointer(unsafe.SliceData(b)), i)) +} + +// Load32 will load from b at index i. +func Load32[I Indexer](b []byte, i I) uint32 { + //return binary.LittleEndian.Uint32(b[i:]) + //return *(*uint32)(unsafe.Pointer(&b[i])) + return *(*uint32)(unsafe.Add(unsafe.Pointer(unsafe.SliceData(b)), i)) +} + +// Load64 will load from b at index i. +func Load64[I Indexer](b []byte, i I) uint64 { + //return binary.LittleEndian.Uint64(b[i:]) + //return *(*uint64)(unsafe.Pointer(&b[i])) + return *(*uint64)(unsafe.Add(unsafe.Pointer(unsafe.SliceData(b)), i)) +} + +// Store16 will store v at b. +func Store16(b []byte, v uint16) { + //binary.LittleEndian.PutUint16(b, v) + *(*uint16)(unsafe.Pointer(unsafe.SliceData(b))) = v +} + +// Store32 will store v at b. +func Store32(b []byte, v uint32) { + //binary.LittleEndian.PutUint32(b, v) + *(*uint32)(unsafe.Pointer(unsafe.SliceData(b))) = v +} + +// Store64 will store v at b. +func Store64(b []byte, v uint64) { + //binary.LittleEndian.PutUint64(b, v) + *(*uint64)(unsafe.Pointer(unsafe.SliceData(b))) = v +} diff --git a/vendor/github.com/klauspost/compress/s2sx.mod b/vendor/github.com/klauspost/compress/s2sx.mod index 5a4412f907..81bda5e294 100644 --- a/vendor/github.com/klauspost/compress/s2sx.mod +++ b/vendor/github.com/klauspost/compress/s2sx.mod @@ -1,4 +1,3 @@ module github.com/klauspost/compress -go 1.19 - +go 1.22 diff --git a/vendor/github.com/klauspost/compress/zstd/README.md b/vendor/github.com/klauspost/compress/zstd/README.md index 92e2347bbc..c11d7fa28e 100644 --- a/vendor/github.com/klauspost/compress/zstd/README.md +++ b/vendor/github.com/klauspost/compress/zstd/README.md @@ -6,7 +6,7 @@ A high performance compression algorithm is implemented. For now focused on spee This package provides [compression](#Compressor) to and [decompression](#Decompressor) of Zstandard content. -This package is pure Go and without use of "unsafe". +This package is pure Go. Use `noasm` and `nounsafe` to disable relevant features. The `zstd` package is provided as open source software using a Go standard license. diff --git a/vendor/github.com/klauspost/compress/zstd/bitreader.go b/vendor/github.com/klauspost/compress/zstd/bitreader.go index 25ca983941..d41e3e1709 100644 --- a/vendor/github.com/klauspost/compress/zstd/bitreader.go +++ b/vendor/github.com/klauspost/compress/zstd/bitreader.go @@ -5,11 +5,12 @@ package zstd import ( - "encoding/binary" "errors" "fmt" "io" "math/bits" + + "github.com/klauspost/compress/internal/le" ) // bitReader reads a bitstream in reverse. @@ -18,6 +19,7 @@ import ( type bitReader struct { in []byte value uint64 // Maybe use [16]byte, but shifting is awkward. + cursor int // offset where next read should end bitsRead uint8 } @@ -32,6 +34,7 @@ func (b *bitReader) init(in []byte) error { if v == 0 { return errors.New("corrupt stream, did not find end of stream") } + b.cursor = len(in) b.bitsRead = 64 b.value = 0 if len(in) >= 8 { @@ -67,18 +70,15 @@ func (b *bitReader) fillFast() { if b.bitsRead < 32 { return } - v := b.in[len(b.in)-4:] - b.in = b.in[:len(b.in)-4] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) - b.value = (b.value << 32) | uint64(low) + b.cursor -= 4 + b.value = (b.value << 32) | uint64(le.Load32(b.in, b.cursor)) b.bitsRead -= 32 } // fillFastStart() assumes the bitreader is empty and there is at least 8 bytes to read. func (b *bitReader) fillFastStart() { - v := b.in[len(b.in)-8:] - b.in = b.in[:len(b.in)-8] - b.value = binary.LittleEndian.Uint64(v) + b.cursor -= 8 + b.value = le.Load64(b.in, b.cursor) b.bitsRead = 0 } @@ -87,25 +87,23 @@ func (b *bitReader) fill() { if b.bitsRead < 32 { return } - if len(b.in) >= 4 { - v := b.in[len(b.in)-4:] - b.in = b.in[:len(b.in)-4] - low := (uint32(v[0])) | (uint32(v[1]) << 8) | (uint32(v[2]) << 16) | (uint32(v[3]) << 24) - b.value = (b.value << 32) | uint64(low) + if b.cursor >= 4 { + b.cursor -= 4 + b.value = (b.value << 32) | uint64(le.Load32(b.in, b.cursor)) b.bitsRead -= 32 return } - b.bitsRead -= uint8(8 * len(b.in)) - for len(b.in) > 0 { - b.value = (b.value << 8) | uint64(b.in[len(b.in)-1]) - b.in = b.in[:len(b.in)-1] + b.bitsRead -= uint8(8 * b.cursor) + for b.cursor > 0 { + b.cursor -= 1 + b.value = (b.value << 8) | uint64(b.in[b.cursor]) } } // finished returns true if all bits have been read from the bit stream. func (b *bitReader) finished() bool { - return len(b.in) == 0 && b.bitsRead >= 64 + return b.cursor == 0 && b.bitsRead >= 64 } // overread returns true if more bits have been requested than is on the stream. @@ -115,13 +113,14 @@ func (b *bitReader) overread() bool { // remain returns the number of bits remaining. func (b *bitReader) remain() uint { - return 8*uint(len(b.in)) + 64 - uint(b.bitsRead) + return 8*uint(b.cursor) + 64 - uint(b.bitsRead) } // close the bitstream and returns an error if out-of-buffer reads occurred. func (b *bitReader) close() error { // Release reference. b.in = nil + b.cursor = 0 if !b.finished() { return fmt.Errorf("%d extra bits on block, should be 0", b.remain()) } diff --git a/vendor/github.com/klauspost/compress/zstd/blockdec.go b/vendor/github.com/klauspost/compress/zstd/blockdec.go index 9c28840c3b..0dd742fd2a 100644 --- a/vendor/github.com/klauspost/compress/zstd/blockdec.go +++ b/vendor/github.com/klauspost/compress/zstd/blockdec.go @@ -5,14 +5,10 @@ package zstd import ( - "bytes" - "encoding/binary" "errors" "fmt" "hash/crc32" "io" - "os" - "path/filepath" "sync" "github.com/klauspost/compress/huff0" @@ -648,21 +644,6 @@ func (b *blockDec) prepareSequences(in []byte, hist *history) (err error) { println("initializing sequences:", err) return err } - // Extract blocks... - if false && hist.dict == nil { - fatalErr := func(err error) { - if err != nil { - panic(err) - } - } - fn := fmt.Sprintf("n-%d-lits-%d-prev-%d-%d-%d-win-%d.blk", hist.decoders.nSeqs, len(hist.decoders.literals), hist.recentOffsets[0], hist.recentOffsets[1], hist.recentOffsets[2], hist.windowSize) - var buf bytes.Buffer - fatalErr(binary.Write(&buf, binary.LittleEndian, hist.decoders.litLengths.fse)) - fatalErr(binary.Write(&buf, binary.LittleEndian, hist.decoders.matchLengths.fse)) - fatalErr(binary.Write(&buf, binary.LittleEndian, hist.decoders.offsets.fse)) - buf.Write(in) - os.WriteFile(filepath.Join("testdata", "seqs", fn), buf.Bytes(), os.ModePerm) - } return nil } diff --git a/vendor/github.com/klauspost/compress/zstd/blockenc.go b/vendor/github.com/klauspost/compress/zstd/blockenc.go index 32a7f401d5..fd35ea1480 100644 --- a/vendor/github.com/klauspost/compress/zstd/blockenc.go +++ b/vendor/github.com/klauspost/compress/zstd/blockenc.go @@ -9,6 +9,7 @@ import ( "fmt" "math" "math/bits" + "slices" "github.com/klauspost/compress/huff0" ) @@ -457,16 +458,7 @@ func fuzzFseEncoder(data []byte) int { // All 0 return 0 } - maxCount := func(a []uint32) int { - var max uint32 - for _, v := range a { - if v > max { - max = v - } - } - return int(max) - } - cnt := maxCount(hist[:maxSym]) + cnt := int(slices.Max(hist[:maxSym])) if cnt == len(data) { // RLE return 0 @@ -884,15 +876,6 @@ func (b *blockEnc) genCodes() { } } } - maxCount := func(a []uint32) int { - var max uint32 - for _, v := range a { - if v > max { - max = v - } - } - return int(max) - } if debugAsserts && mlMax > maxMatchLengthSymbol { panic(fmt.Errorf("mlMax > maxMatchLengthSymbol (%d)", mlMax)) } @@ -903,7 +886,7 @@ func (b *blockEnc) genCodes() { panic(fmt.Errorf("llMax > maxLiteralLengthSymbol (%d)", llMax)) } - b.coders.mlEnc.HistogramFinished(mlMax, maxCount(mlH[:mlMax+1])) - b.coders.ofEnc.HistogramFinished(ofMax, maxCount(ofH[:ofMax+1])) - b.coders.llEnc.HistogramFinished(llMax, maxCount(llH[:llMax+1])) + b.coders.mlEnc.HistogramFinished(mlMax, int(slices.Max(mlH[:mlMax+1]))) + b.coders.ofEnc.HistogramFinished(ofMax, int(slices.Max(ofH[:ofMax+1]))) + b.coders.llEnc.HistogramFinished(llMax, int(slices.Max(llH[:llMax+1]))) } diff --git a/vendor/github.com/klauspost/compress/zstd/decoder.go b/vendor/github.com/klauspost/compress/zstd/decoder.go index bbca17234a..ea2a19376c 100644 --- a/vendor/github.com/klauspost/compress/zstd/decoder.go +++ b/vendor/github.com/klauspost/compress/zstd/decoder.go @@ -123,7 +123,7 @@ func NewReader(r io.Reader, opts ...DOption) (*Decoder, error) { } // Read bytes from the decompressed stream into p. -// Returns the number of bytes written and any error that occurred. +// Returns the number of bytes read and any error that occurred. // When the stream is done, io.EOF will be returned. func (d *Decoder) Read(p []byte) (int, error) { var n int @@ -323,6 +323,7 @@ func (d *Decoder) DecodeAll(input, dst []byte) ([]byte, error) { frame.bBuf = nil if frame.history.decoders.br != nil { frame.history.decoders.br.in = nil + frame.history.decoders.br.cursor = 0 } d.decoders <- block }() diff --git a/vendor/github.com/klauspost/compress/zstd/enc_base.go b/vendor/github.com/klauspost/compress/zstd/enc_base.go index 5ca46038ad..7d250c67f5 100644 --- a/vendor/github.com/klauspost/compress/zstd/enc_base.go +++ b/vendor/github.com/klauspost/compress/zstd/enc_base.go @@ -116,7 +116,7 @@ func (e *fastBase) matchlen(s, t int32, src []byte) int32 { panic(err) } if t < 0 { - err := fmt.Sprintf("s (%d) < 0", s) + err := fmt.Sprintf("t (%d) < 0", t) panic(err) } if s-t > e.maxMatchOff { diff --git a/vendor/github.com/klauspost/compress/zstd/matchlen_generic.go b/vendor/github.com/klauspost/compress/zstd/matchlen_generic.go index 57b9c31c02..bea1779e97 100644 --- a/vendor/github.com/klauspost/compress/zstd/matchlen_generic.go +++ b/vendor/github.com/klauspost/compress/zstd/matchlen_generic.go @@ -7,20 +7,25 @@ package zstd import ( - "encoding/binary" "math/bits" + + "github.com/klauspost/compress/internal/le" ) // matchLen returns the maximum common prefix length of a and b. // a must be the shortest of the two. func matchLen(a, b []byte) (n int) { - for ; len(a) >= 8 && len(b) >= 8; a, b = a[8:], b[8:] { - diff := binary.LittleEndian.Uint64(a) ^ binary.LittleEndian.Uint64(b) + left := len(a) + for left >= 8 { + diff := le.Load64(a, n) ^ le.Load64(b, n) if diff != 0 { return n + bits.TrailingZeros64(diff)>>3 } n += 8 + left -= 8 } + a = a[n:] + b = b[n:] for i := range a { if a[i] != b[i] { diff --git a/vendor/github.com/klauspost/compress/zstd/seqdec.go b/vendor/github.com/klauspost/compress/zstd/seqdec.go index d7fe6d82d9..9a7de82f9e 100644 --- a/vendor/github.com/klauspost/compress/zstd/seqdec.go +++ b/vendor/github.com/klauspost/compress/zstd/seqdec.go @@ -245,7 +245,7 @@ func (s *sequenceDecs) decodeSync(hist []byte) error { return io.ErrUnexpectedEOF } var ll, mo, ml int - if len(br.in) > 4+((maxOffsetBits+16+16)>>3) { + if br.cursor > 4+((maxOffsetBits+16+16)>>3) { // inlined function: // ll, mo, ml = s.nextFast(br, llState, mlState, ofState) diff --git a/vendor/github.com/klauspost/compress/zstd/seqdec_amd64.s b/vendor/github.com/klauspost/compress/zstd/seqdec_amd64.s index f5591fa1e8..a708ca6d3d 100644 --- a/vendor/github.com/klauspost/compress/zstd/seqdec_amd64.s +++ b/vendor/github.com/klauspost/compress/zstd/seqdec_amd64.s @@ -7,9 +7,9 @@ TEXT ·sequenceDecs_decode_amd64(SB), $8-32 MOVQ br+8(FP), CX MOVQ 24(CX), DX - MOVBQZX 32(CX), BX + MOVBQZX 40(CX), BX MOVQ (CX), AX - MOVQ 8(CX), SI + MOVQ 32(CX), SI ADDQ SI, AX MOVQ AX, (SP) MOVQ ctx+16(FP), AX @@ -299,8 +299,8 @@ sequenceDecs_decode_amd64_match_len_ofs_ok: MOVQ R13, 160(AX) MOVQ br+8(FP), AX MOVQ DX, 24(AX) - MOVB BL, 32(AX) - MOVQ SI, 8(AX) + MOVB BL, 40(AX) + MOVQ SI, 32(AX) // Return success MOVQ $0x00000000, ret+24(FP) @@ -335,9 +335,9 @@ error_overread: TEXT ·sequenceDecs_decode_56_amd64(SB), $8-32 MOVQ br+8(FP), CX MOVQ 24(CX), DX - MOVBQZX 32(CX), BX + MOVBQZX 40(CX), BX MOVQ (CX), AX - MOVQ 8(CX), SI + MOVQ 32(CX), SI ADDQ SI, AX MOVQ AX, (SP) MOVQ ctx+16(FP), AX @@ -598,8 +598,8 @@ sequenceDecs_decode_56_amd64_match_len_ofs_ok: MOVQ R13, 160(AX) MOVQ br+8(FP), AX MOVQ DX, 24(AX) - MOVB BL, 32(AX) - MOVQ SI, 8(AX) + MOVB BL, 40(AX) + MOVQ SI, 32(AX) // Return success MOVQ $0x00000000, ret+24(FP) @@ -634,9 +634,9 @@ error_overread: TEXT ·sequenceDecs_decode_bmi2(SB), $8-32 MOVQ br+8(FP), BX MOVQ 24(BX), AX - MOVBQZX 32(BX), DX + MOVBQZX 40(BX), DX MOVQ (BX), CX - MOVQ 8(BX), BX + MOVQ 32(BX), BX ADDQ BX, CX MOVQ CX, (SP) MOVQ ctx+16(FP), CX @@ -884,8 +884,8 @@ sequenceDecs_decode_bmi2_match_len_ofs_ok: MOVQ R12, 160(CX) MOVQ br+8(FP), CX MOVQ AX, 24(CX) - MOVB DL, 32(CX) - MOVQ BX, 8(CX) + MOVB DL, 40(CX) + MOVQ BX, 32(CX) // Return success MOVQ $0x00000000, ret+24(FP) @@ -920,9 +920,9 @@ error_overread: TEXT ·sequenceDecs_decode_56_bmi2(SB), $8-32 MOVQ br+8(FP), BX MOVQ 24(BX), AX - MOVBQZX 32(BX), DX + MOVBQZX 40(BX), DX MOVQ (BX), CX - MOVQ 8(BX), BX + MOVQ 32(BX), BX ADDQ BX, CX MOVQ CX, (SP) MOVQ ctx+16(FP), CX @@ -1141,8 +1141,8 @@ sequenceDecs_decode_56_bmi2_match_len_ofs_ok: MOVQ R12, 160(CX) MOVQ br+8(FP), CX MOVQ AX, 24(CX) - MOVB DL, 32(CX) - MOVQ BX, 8(CX) + MOVB DL, 40(CX) + MOVQ BX, 32(CX) // Return success MOVQ $0x00000000, ret+24(FP) @@ -1787,9 +1787,9 @@ empty_seqs: TEXT ·sequenceDecs_decodeSync_amd64(SB), $64-32 MOVQ br+8(FP), CX MOVQ 24(CX), DX - MOVBQZX 32(CX), BX + MOVBQZX 40(CX), BX MOVQ (CX), AX - MOVQ 8(CX), SI + MOVQ 32(CX), SI ADDQ SI, AX MOVQ AX, (SP) MOVQ ctx+16(FP), AX @@ -2281,8 +2281,8 @@ handle_loop: loop_finished: MOVQ br+8(FP), AX MOVQ DX, 24(AX) - MOVB BL, 32(AX) - MOVQ SI, 8(AX) + MOVB BL, 40(AX) + MOVQ SI, 32(AX) // Update the context MOVQ ctx+16(FP), AX @@ -2349,9 +2349,9 @@ error_not_enough_space: TEXT ·sequenceDecs_decodeSync_bmi2(SB), $64-32 MOVQ br+8(FP), BX MOVQ 24(BX), AX - MOVBQZX 32(BX), DX + MOVBQZX 40(BX), DX MOVQ (BX), CX - MOVQ 8(BX), BX + MOVQ 32(BX), BX ADDQ BX, CX MOVQ CX, (SP) MOVQ ctx+16(FP), CX @@ -2801,8 +2801,8 @@ handle_loop: loop_finished: MOVQ br+8(FP), CX MOVQ AX, 24(CX) - MOVB DL, 32(CX) - MOVQ BX, 8(CX) + MOVB DL, 40(CX) + MOVQ BX, 32(CX) // Update the context MOVQ ctx+16(FP), AX @@ -2869,9 +2869,9 @@ error_not_enough_space: TEXT ·sequenceDecs_decodeSync_safe_amd64(SB), $64-32 MOVQ br+8(FP), CX MOVQ 24(CX), DX - MOVBQZX 32(CX), BX + MOVBQZX 40(CX), BX MOVQ (CX), AX - MOVQ 8(CX), SI + MOVQ 32(CX), SI ADDQ SI, AX MOVQ AX, (SP) MOVQ ctx+16(FP), AX @@ -3465,8 +3465,8 @@ handle_loop: loop_finished: MOVQ br+8(FP), AX MOVQ DX, 24(AX) - MOVB BL, 32(AX) - MOVQ SI, 8(AX) + MOVB BL, 40(AX) + MOVQ SI, 32(AX) // Update the context MOVQ ctx+16(FP), AX @@ -3533,9 +3533,9 @@ error_not_enough_space: TEXT ·sequenceDecs_decodeSync_safe_bmi2(SB), $64-32 MOVQ br+8(FP), BX MOVQ 24(BX), AX - MOVBQZX 32(BX), DX + MOVBQZX 40(BX), DX MOVQ (BX), CX - MOVQ 8(BX), BX + MOVQ 32(BX), BX ADDQ BX, CX MOVQ CX, (SP) MOVQ ctx+16(FP), CX @@ -4087,8 +4087,8 @@ handle_loop: loop_finished: MOVQ br+8(FP), CX MOVQ AX, 24(CX) - MOVB DL, 32(CX) - MOVQ BX, 8(CX) + MOVB DL, 40(CX) + MOVQ BX, 32(CX) // Update the context MOVQ ctx+16(FP), AX diff --git a/vendor/github.com/klauspost/compress/zstd/seqdec_generic.go b/vendor/github.com/klauspost/compress/zstd/seqdec_generic.go index 2fb35b788c..7cec2197cd 100644 --- a/vendor/github.com/klauspost/compress/zstd/seqdec_generic.go +++ b/vendor/github.com/klauspost/compress/zstd/seqdec_generic.go @@ -29,7 +29,7 @@ func (s *sequenceDecs) decode(seqs []seqVals) error { } for i := range seqs { var ll, mo, ml int - if len(br.in) > 4+((maxOffsetBits+16+16)>>3) { + if br.cursor > 4+((maxOffsetBits+16+16)>>3) { // inlined function: // ll, mo, ml = s.nextFast(br, llState, mlState, ofState) diff --git a/vendor/github.com/klauspost/compress/zstd/seqenc.go b/vendor/github.com/klauspost/compress/zstd/seqenc.go index 8014174a77..65045eabdd 100644 --- a/vendor/github.com/klauspost/compress/zstd/seqenc.go +++ b/vendor/github.com/klauspost/compress/zstd/seqenc.go @@ -69,7 +69,6 @@ var llBitsTable = [maxLLCode + 1]byte{ func llCode(litLength uint32) uint8 { const llDeltaCode = 19 if litLength <= 63 { - // Compiler insists on bounds check (Go 1.12) return llCodeTable[litLength&63] } return uint8(highBit(litLength)) + llDeltaCode @@ -102,7 +101,6 @@ var mlBitsTable = [maxMLCode + 1]byte{ func mlCode(mlBase uint32) uint8 { const mlDeltaCode = 36 if mlBase <= 127 { - // Compiler insists on bounds check (Go 1.12) return mlCodeTable[mlBase&127] } return uint8(highBit(mlBase)) + mlDeltaCode diff --git a/vendor/github.com/klauspost/compress/zstd/snappy.go b/vendor/github.com/klauspost/compress/zstd/snappy.go index ec13594e89..a17381b8f8 100644 --- a/vendor/github.com/klauspost/compress/zstd/snappy.go +++ b/vendor/github.com/klauspost/compress/zstd/snappy.go @@ -197,7 +197,7 @@ func (r *SnappyConverter) Convert(in io.Reader, w io.Writer) (int64, error) { n, r.err = w.Write(r.block.output) if r.err != nil { - return written, err + return written, r.err } written += int64(n) continue @@ -239,7 +239,7 @@ func (r *SnappyConverter) Convert(in io.Reader, w io.Writer) (int64, error) { } n, r.err = w.Write(r.block.output) if r.err != nil { - return written, err + return written, r.err } written += int64(n) continue diff --git a/vendor/github.com/klauspost/compress/zstd/zstd.go b/vendor/github.com/klauspost/compress/zstd/zstd.go index 066bef2a4f..6252b46ae6 100644 --- a/vendor/github.com/klauspost/compress/zstd/zstd.go +++ b/vendor/github.com/klauspost/compress/zstd/zstd.go @@ -5,10 +5,11 @@ package zstd import ( "bytes" - "encoding/binary" "errors" "log" "math" + + "github.com/klauspost/compress/internal/le" ) // enable debug printing @@ -110,11 +111,11 @@ func printf(format string, a ...interface{}) { } func load3232(b []byte, i int32) uint32 { - return binary.LittleEndian.Uint32(b[:len(b):len(b)][i:]) + return le.Load32(b, i) } func load6432(b []byte, i int32) uint64 { - return binary.LittleEndian.Uint64(b[:len(b):len(b)][i:]) + return le.Load64(b, i) } type byter interface { diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/doc.go deleted file mode 100644 index f3b8d19ef2..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:deepcopy-gen=package -// +groupName=groupsnapshot.storage.k8s.io - -package v1alpha1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/register.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/register.go deleted file mode 100644 index 42b82aaee7..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/register.go +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1alpha1 - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package. -const GroupName = "groupsnapshot.storage.k8s.io" - -var ( - // SchemeBuilder is the new scheme builder - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - // AddToScheme adds to scheme - AddToScheme = SchemeBuilder.AddToScheme - // SchemeGroupVersion is the group version used to register these objects. - SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} -) - -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - SchemeBuilder.Register(addKnownTypes) -} - -// addKnownTypes adds the set of types defined in this package to the supplied scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &VolumeGroupSnapshotClass{}, - &VolumeGroupSnapshotClassList{}, - &VolumeGroupSnapshot{}, - &VolumeGroupSnapshotList{}, - &VolumeGroupSnapshotContent{}, - &VolumeGroupSnapshotContentList{}, - ) - metav1.AddToGroupVersion(scheme, SchemeGroupVersion) - return nil -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/types.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/types.go deleted file mode 100644 index 5663b84d20..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/types.go +++ /dev/null @@ -1,363 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ -// +kubebuilder:object:generate=true -package v1alpha1 - -import ( - core_v1 "k8s.io/api/core/v1" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - - snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" -) - -// VolumeGroupSnapshotSpec defines the desired state of a volume group snapshot. -type VolumeGroupSnapshotSpec struct { - // Source specifies where a group snapshot will be created from. - // This field is immutable after creation. - // Required. - Source VolumeGroupSnapshotSource `json:"source" protobuf:"bytes,1,opt,name=source"` - - // VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass - // requested by the VolumeGroupSnapshot. - // VolumeGroupSnapshotClassName may be left nil to indicate that the default - // class will be used. - // Empty string is not allowed for this field. - // +optional - VolumeGroupSnapshotClassName *string `json:"volumeGroupSnapshotClassName,omitempty" protobuf:"bytes,2,opt,name=volumeGroupSnapshotClassName"` -} - -// VolumeGroupSnapshotSource specifies whether the underlying group snapshot should be -// dynamically taken upon creation or if a pre-existing VolumeGroupSnapshotContent -// object should be used. -// Exactly one of its members must be set. -// Members in VolumeGroupSnapshotSource are immutable. -type VolumeGroupSnapshotSource struct { - // Selector is a label query over persistent volume claims that are to be - // grouped together for snapshotting. - // This labelSelector will be used to match the label added to a PVC. - // If the label is added or removed to a volume after a group snapshot - // is created, the existing group snapshots won't be modified. - // Once a VolumeGroupSnapshotContent is created and the sidecar starts to process - // it, the volume list will not change with retries. - // Required. - Selector metav1.LabelSelector `json:"selector" protobuf:"bytes,1,opt,name=selector"` - - // VolumeGroupSnapshotContentName specifies the name of a pre-existing VolumeGroupSnapshotContent - // object representing an existing volume group snapshot. - // This field should be set if the volume group snapshot already exists and - // only needs a representation in Kubernetes. - // This field is immutable. - // +optional - VolumeGroupSnapshotContentName *string `json:"volumeGroupSnapshotContentName,omitempty" protobuf:"bytes,2,opt,name=volumeGroupSnapshotContentName"` -} - -// VolumeGroupSnapshotStatus defines the observed state of volume group snapshot. -type VolumeGroupSnapshotStatus struct { - // BoundVolumeGroupSnapshotContentName is the name of the VolumeGroupSnapshotContent - // object to which this VolumeGroupSnapshot object intends to bind to. - // If not specified, it indicates that the VolumeGroupSnapshot object has not - // been successfully bound to a VolumeGroupSnapshotContent object yet. - // NOTE: To avoid possible security issues, consumers must verify binding between - // VolumeGroupSnapshot and VolumeGroupSnapshotContent objects is successful - // (by validating that both VolumeGroupSnapshot and VolumeGroupSnapshotContent - // point at each other) before using this object. - // +optional - BoundVolumeGroupSnapshotContentName *string `json:"boundVolumeGroupSnapshotContentName,omitempty" protobuf:"bytes,1,opt,name=boundVolumeGroupSnapshotContentName"` - - // CreationTime is the timestamp when the point-in-time group snapshot is taken - // by the underlying storage system. - // If not specified, it may indicate that the creation time of the group snapshot - // is unknown. - // The format of this field is a Unix nanoseconds time encoded as an int64. - // On Unix, the command date +%s%N returns the current time in nanoseconds - // since 1970-01-01 00:00:00 UTC. - // +optional - CreationTime *metav1.Time `json:"creationTime,omitempty" protobuf:"bytes,2,opt,name=creationTime"` - - // ReadyToUse indicates if all the individual snapshots in the group are ready - // to be used to restore a group of volumes. - // ReadyToUse becomes true when ReadyToUse of all individual snapshots become true. - // If not specified, it means the readiness of a group snapshot is unknown. - // +optional - ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,3,opt,name=readyToUse"` - - // Error is the last observed error during group snapshot creation, if any. - // This field could be helpful to upper level controllers (i.e., application - // controller) to decide whether they should continue on waiting for the group - // snapshot to be created based on the type of error reported. - // The snapshot controller will keep retrying when an error occurs during the - // group snapshot creation. Upon success, this error field will be cleared. - // +optional - Error *snapshotv1.VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,4,opt,name=error,casttype=VolumeSnapshotError"` - - // VolumeSnapshotRefList is the list of volume snapshot references for this - // group snapshot. - // The maximum number of allowed snapshots in the group is 100. - // +optional - VolumeSnapshotRefList []core_v1.ObjectReference `json:"volumeSnapshotRefList,omitempty" protobuf:"bytes,5,opt,name=volumeSnapshotRefList"` -} - -//+genclient -//+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeGroupSnapshot is a user's request for creating either a point-in-time -// group snapshot or binding to a pre-existing group snapshot. -// +kubebuilder:object:root=true -// +kubebuilder:resource:scope=Namespaced,shortName=vgs -// +kubebuilder:subresource:status -// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if all the individual snapshots in the group are ready to be used to restore a group of volumes." -// +kubebuilder:printcolumn:name="VolumeGroupSnapshotClass",type=string,JSONPath=`.spec.volumeGroupSnapshotClassName`,description="The name of the VolumeGroupSnapshotClass requested by the VolumeGroupSnapshot." -// +kubebuilder:printcolumn:name="VolumeGroupSnapshotContent",type=string,JSONPath=`.status.boundVolumeGroupSnapshotContentName`,description="Name of the VolumeGroupSnapshotContent object to which the VolumeGroupSnapshot object intends to bind to. Please note that verification of binding actually requires checking both VolumeGroupSnapshot and VolumeGroupSnapshotContent to ensure both are pointing at each other. Binding MUST be verified prior to usage of this object." -// +kubebuilder:printcolumn:name="CreationTime",type=date,JSONPath=`.status.creationTime`,description="Timestamp when the point-in-time group snapshot was taken by the underlying storage system." -// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -type VolumeGroupSnapshot struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Spec defines the desired characteristics of a group snapshot requested by a user. - // Required. - Spec VolumeGroupSnapshotSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` - // Status represents the current information of a group snapshot. - // Consumers must verify binding between VolumeGroupSnapshot and - // VolumeGroupSnapshotContent objects is successful (by validating that both - // VolumeGroupSnapshot and VolumeGroupSnapshotContent point to each other) before - // using this object. - // +optional - Status *VolumeGroupSnapshotStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// VolumeGroupSnapshotList contains a list of VolumeGroupSnapshot objects. -type VolumeGroupSnapshotList struct { - metav1.TypeMeta `json:",inline"` - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - // Items is the list of VolumeGroupSnapshots. - Items []VolumeGroupSnapshot `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -//+genclient -//+genclient:nonNamespaced -//+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeGroupSnapshotClass specifies parameters that a underlying storage system -// uses when creating a volume group snapshot. A specific VolumeGroupSnapshotClass -// is used by specifying its name in a VolumeGroupSnapshot object. -// VolumeGroupSnapshotClasses are non-namespaced. -// +kubebuilder:object:root=true -// +kubebuilder:resource:scope=Cluster,shortName=vgsclass;vgsclasses -// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.driver` -// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.deletionPolicy`,description="Determines whether a VolumeGroupSnapshotContent created through the VolumeGroupSnapshotClass should be deleted when its bound VolumeGroupSnapshot is deleted." -// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -type VolumeGroupSnapshotClass struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Driver is the name of the storage driver expected to handle this VolumeGroupSnapshotClass. - // Required. - Driver string `json:"driver" protobuf:"bytes,2,opt,name=driver"` - - // Parameters is a key-value map with storage driver specific parameters for - // creating group snapshots. - // These values are opaque to Kubernetes and are passed directly to the driver. - // +optional - Parameters map[string]string `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"` - - // DeletionPolicy determines whether a VolumeGroupSnapshotContent created - // through the VolumeGroupSnapshotClass should be deleted when its bound - // VolumeGroupSnapshot is deleted. - // Supported values are "Retain" and "Delete". - // "Retain" means that the VolumeGroupSnapshotContent and its physical group - // snapshot on underlying storage system are kept. - // "Delete" means that the VolumeGroupSnapshotContent and its physical group - // snapshot on underlying storage system are deleted. - // Required. - DeletionPolicy snapshotv1.DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,4,opt,name=deletionPolicy"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeGroupSnapshotClassList is a collection of VolumeGroupSnapshotClasses. -// +kubebuilder:object:root=true -type VolumeGroupSnapshotClassList struct { - metav1.TypeMeta `json:",inline"` - // Standard list metadata - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Items is the list of VolumeGroupSnapshotClasses. - Items []VolumeGroupSnapshotClass `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -// +genclient -// +genclient:nonNamespaced -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeGroupSnapshotContent represents the actual "on-disk" group snapshot object -// in the underlying storage system -// +kubebuilder:object:root=true -// +kubebuilder:resource:scope=Cluster,shortName=vgsc;vgscs -// +kubebuilder:subresource:status -// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if all the individual snapshots in the group are ready to be used to restore a group of volumes." -// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.spec.deletionPolicy`,description="Determines whether this VolumeGroupSnapshotContent and its physical group snapshot on the underlying storage system should be deleted when its bound VolumeGroupSnapshot is deleted." -// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.spec.driver`,description="Name of the CSI driver used to create the physical group snapshot on the underlying storage system." -// +kubebuilder:printcolumn:name="VolumeGroupSnapshotClass",type=string,JSONPath=`.spec.volumeGroupSnapshotClassName`,description="Name of the VolumeGroupSnapshotClass from which this group snapshot was (or will be) created." -// +kubebuilder:printcolumn:name="VolumeGroupSnapshotNamespace",type=string,JSONPath=`.spec.volumeGroupSnapshotRef.namespace`,description="Namespace of the VolumeGroupSnapshot object to which this VolumeGroupSnapshotContent object is bound." -// +kubebuilder:printcolumn:name="VolumeGroupSnapshot",type=string,JSONPath=`.spec.volumeGroupSnapshotRef.name`,description="Name of the VolumeGroupSnapshot object to which this VolumeGroupSnapshotContent object is bound." -// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -type VolumeGroupSnapshotContent struct { - metav1.TypeMeta `json:",inline"` - // Standard list metadata - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Spec defines properties of a VolumeGroupSnapshotContent created by the underlying storage system. - // Required. - Spec VolumeGroupSnapshotContentSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` - // status represents the current information of a group snapshot. - // +optional - Status *VolumeGroupSnapshotContentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeGroupSnapshotContentList is a list of VolumeGroupSnapshotContent objects -// +kubebuilder:object:root=true -type VolumeGroupSnapshotContentList struct { - metav1.TypeMeta `json:",inline"` - // Standard list metadata - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // Items is the list of VolumeGroupSnapshotContents. - Items []VolumeGroupSnapshotContent `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -// VolumeGroupSnapshotContentSpec describes the common attributes of a group snapshot content -type VolumeGroupSnapshotContentSpec struct { - // VolumeGroupSnapshotRef specifies the VolumeGroupSnapshot object to which this - // VolumeGroupSnapshotContent object is bound. - // VolumeGroupSnapshot.Spec.VolumeGroupSnapshotContentName field must reference to - // this VolumeGroupSnapshotContent's name for the bidirectional binding to be valid. - // For a pre-existing VolumeGroupSnapshotContent object, name and namespace of the - // VolumeGroupSnapshot object MUST be provided for binding to happen. - // This field is immutable after creation. - // Required. - VolumeGroupSnapshotRef core_v1.ObjectReference `json:"volumeGroupSnapshotRef" protobuf:"bytes,1,opt,name=volumeGroupSnapshotRef"` - - // DeletionPolicy determines whether this VolumeGroupSnapshotContent and the - // physical group snapshot on the underlying storage system should be deleted - // when the bound VolumeGroupSnapshot is deleted. - // Supported values are "Retain" and "Delete". - // "Retain" means that the VolumeGroupSnapshotContent and its physical group - // snapshot on underlying storage system are kept. - // "Delete" means that the VolumeGroupSnapshotContent and its physical group - // snapshot on underlying storage system are deleted. - // For dynamically provisioned group snapshots, this field will automatically - // be filled in by the CSI snapshotter sidecar with the "DeletionPolicy" field - // defined in the corresponding VolumeGroupSnapshotClass. - // For pre-existing snapshots, users MUST specify this field when creating the - // VolumeGroupSnapshotContent object. - // Required. - DeletionPolicy snapshotv1.DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,2,opt,name=deletionPolicy"` - - // Driver is the name of the CSI driver used to create the physical group snapshot on - // the underlying storage system. - // This MUST be the same as the name returned by the CSI GetPluginName() call for - // that driver. - // Required. - Driver string `json:"driver" protobuf:"bytes,3,opt,name=driver"` - - // VolumeGroupSnapshotClassName is the name of the VolumeGroupSnapshotClass from - // which this group snapshot was (or will be) created. - // Note that after provisioning, the VolumeGroupSnapshotClass may be deleted or - // recreated with different set of values, and as such, should not be referenced - // post-snapshot creation. - // For dynamic provisioning, this field must be set. - // This field may be unset for pre-provisioned snapshots. - // +optional - VolumeGroupSnapshotClassName *string `json:"volumeGroupSnapshotClassName,omitempty" protobuf:"bytes,4,opt,name=volumeGroupSnapshotClassName"` - - // Source specifies whether the snapshot is (or should be) dynamically provisioned - // or already exists, and just requires a Kubernetes object representation. - // This field is immutable after creation. - // Required. - Source VolumeGroupSnapshotContentSource `json:"source" protobuf:"bytes,5,opt,name=source"` -} - -// VolumeGroupSnapshotContentStatus defines the observed state of VolumeGroupSnapshotContent. -type VolumeGroupSnapshotContentStatus struct { - // VolumeGroupSnapshotHandle is a unique id returned by the CSI driver - // to identify the VolumeGroupSnapshot on the storage system. - // If a storage system does not provide such an id, the - // CSI driver can choose to return the VolumeGroupSnapshot name. - // +optional - VolumeGroupSnapshotHandle *string `json:"volumeGroupSnapshotHandle,omitempty" protobuf:"bytes,1,opt,name=volumeGroupSnapshotHandle"` - - // CreationTime is the timestamp when the point-in-time group snapshot is taken - // by the underlying storage system. - // If not specified, it indicates the creation time is unknown. - // If not specified, it means the readiness of a group snapshot is unknown. - // The format of this field is a Unix nanoseconds time encoded as an int64. - // On Unix, the command date +%s%N returns the current time in nanoseconds - // since 1970-01-01 00:00:00 UTC. - // +optional - CreationTime *int64 `json:"creationTime,omitempty" protobuf:"varint,2,opt,name=creationTime"` - - // ReadyToUse indicates if all the individual snapshots in the group are ready to be - // used to restore a group of volumes. - // ReadyToUse becomes true when ReadyToUse of all individual snapshots become true. - // +optional - ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,3,opt,name=readyToUse"` - - // Error is the last observed error during group snapshot creation, if any. - // Upon success after retry, this error field will be cleared. - // +optional - Error *snapshotv1.VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,4,opt,name=error,casttype=VolumeSnapshotError"` - - // VolumeSnapshotContentRefList is the list of volume snapshot content references - // for this group snapshot. - // The maximum number of allowed snapshots in the group is 100. - // +optional - VolumeSnapshotContentRefList []core_v1.ObjectReference `json:"volumeSnapshotContentRefList,omitempty" protobuf:"bytes,5,opt,name=volumeSnapshotContentRefList"` -} - -// VolumeGroupSnapshotContentSource represents the CSI source of a group snapshot. -// Exactly one of its members must be set. -// Members in VolumeGroupSnapshotContentSource are immutable. -type VolumeGroupSnapshotContentSource struct { - // PersistentVolumeNames is a list of names of PersistentVolumes to be snapshotted - // together. It is specified for dynamic provisioning of the VolumeGroupSnapshot. - // This field is immutable. - // +optional - PersistentVolumeNames []string `json:"persistentVolumeNames,omitempty" protobuf:"bytes,1,opt,name=persistentVolumeNames"` - - // VolumeGroupSnapshotHandle specifies the CSI "group_snapshot_id" of a pre-existing - // group snapshot on the underlying storage system for which a Kubernetes object - // representation was (or should be) created. - // This field is immutable. - // +optional - VolumeGroupSnapshotHandle *string `json:"volumeGroupSnapshotHandle,omitempty" protobuf:"bytes,2,opt,name=volumeGroupSnapshotHandle"` -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/zz_generated.deepcopy.go deleted file mode 100644 index b15906febf..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1/zz_generated.deepcopy.go +++ /dev/null @@ -1,398 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by deepcopy-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - corev1 "k8s.io/api/core/v1" - runtime "k8s.io/apimachinery/pkg/runtime" -) - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshot) DeepCopyInto(out *VolumeGroupSnapshot) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(VolumeGroupSnapshotStatus) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshot. -func (in *VolumeGroupSnapshot) DeepCopy() *VolumeGroupSnapshot { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshot) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeGroupSnapshot) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotClass) DeepCopyInto(out *VolumeGroupSnapshotClass) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - if in.Parameters != nil { - in, out := &in.Parameters, &out.Parameters - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotClass. -func (in *VolumeGroupSnapshotClass) DeepCopy() *VolumeGroupSnapshotClass { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotClass) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeGroupSnapshotClass) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotClassList) DeepCopyInto(out *VolumeGroupSnapshotClassList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VolumeGroupSnapshotClass, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotClassList. -func (in *VolumeGroupSnapshotClassList) DeepCopy() *VolumeGroupSnapshotClassList { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotClassList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeGroupSnapshotClassList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotContent) DeepCopyInto(out *VolumeGroupSnapshotContent) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(VolumeGroupSnapshotContentStatus) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContent. -func (in *VolumeGroupSnapshotContent) DeepCopy() *VolumeGroupSnapshotContent { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotContent) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeGroupSnapshotContent) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotContentList) DeepCopyInto(out *VolumeGroupSnapshotContentList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VolumeGroupSnapshotContent, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentList. -func (in *VolumeGroupSnapshotContentList) DeepCopy() *VolumeGroupSnapshotContentList { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotContentList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeGroupSnapshotContentList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotContentSource) DeepCopyInto(out *VolumeGroupSnapshotContentSource) { - *out = *in - if in.PersistentVolumeNames != nil { - in, out := &in.PersistentVolumeNames, &out.PersistentVolumeNames - *out = make([]string, len(*in)) - copy(*out, *in) - } - if in.VolumeGroupSnapshotHandle != nil { - in, out := &in.VolumeGroupSnapshotHandle, &out.VolumeGroupSnapshotHandle - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentSource. -func (in *VolumeGroupSnapshotContentSource) DeepCopy() *VolumeGroupSnapshotContentSource { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotContentSource) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotContentSpec) DeepCopyInto(out *VolumeGroupSnapshotContentSpec) { - *out = *in - out.VolumeGroupSnapshotRef = in.VolumeGroupSnapshotRef - if in.VolumeGroupSnapshotClassName != nil { - in, out := &in.VolumeGroupSnapshotClassName, &out.VolumeGroupSnapshotClassName - *out = new(string) - **out = **in - } - in.Source.DeepCopyInto(&out.Source) - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentSpec. -func (in *VolumeGroupSnapshotContentSpec) DeepCopy() *VolumeGroupSnapshotContentSpec { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotContentSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotContentStatus) DeepCopyInto(out *VolumeGroupSnapshotContentStatus) { - *out = *in - if in.VolumeGroupSnapshotHandle != nil { - in, out := &in.VolumeGroupSnapshotHandle, &out.VolumeGroupSnapshotHandle - *out = new(string) - **out = **in - } - if in.CreationTime != nil { - in, out := &in.CreationTime, &out.CreationTime - *out = new(int64) - **out = **in - } - if in.ReadyToUse != nil { - in, out := &in.ReadyToUse, &out.ReadyToUse - *out = new(bool) - **out = **in - } - if in.Error != nil { - in, out := &in.Error, &out.Error - *out = new(v1.VolumeSnapshotError) - (*in).DeepCopyInto(*out) - } - if in.VolumeSnapshotContentRefList != nil { - in, out := &in.VolumeSnapshotContentRefList, &out.VolumeSnapshotContentRefList - *out = make([]corev1.ObjectReference, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotContentStatus. -func (in *VolumeGroupSnapshotContentStatus) DeepCopy() *VolumeGroupSnapshotContentStatus { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotContentStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotList) DeepCopyInto(out *VolumeGroupSnapshotList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VolumeGroupSnapshot, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotList. -func (in *VolumeGroupSnapshotList) DeepCopy() *VolumeGroupSnapshotList { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeGroupSnapshotList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotSource) DeepCopyInto(out *VolumeGroupSnapshotSource) { - *out = *in - in.Selector.DeepCopyInto(&out.Selector) - if in.VolumeGroupSnapshotContentName != nil { - in, out := &in.VolumeGroupSnapshotContentName, &out.VolumeGroupSnapshotContentName - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotSource. -func (in *VolumeGroupSnapshotSource) DeepCopy() *VolumeGroupSnapshotSource { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotSource) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotSpec) DeepCopyInto(out *VolumeGroupSnapshotSpec) { - *out = *in - in.Source.DeepCopyInto(&out.Source) - if in.VolumeGroupSnapshotClassName != nil { - in, out := &in.VolumeGroupSnapshotClassName, &out.VolumeGroupSnapshotClassName - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotSpec. -func (in *VolumeGroupSnapshotSpec) DeepCopy() *VolumeGroupSnapshotSpec { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeGroupSnapshotStatus) DeepCopyInto(out *VolumeGroupSnapshotStatus) { - *out = *in - if in.BoundVolumeGroupSnapshotContentName != nil { - in, out := &in.BoundVolumeGroupSnapshotContentName, &out.BoundVolumeGroupSnapshotContentName - *out = new(string) - **out = **in - } - if in.CreationTime != nil { - in, out := &in.CreationTime, &out.CreationTime - *out = (*in).DeepCopy() - } - if in.ReadyToUse != nil { - in, out := &in.ReadyToUse, &out.ReadyToUse - *out = new(bool) - **out = **in - } - if in.Error != nil { - in, out := &in.Error, &out.Error - *out = new(v1.VolumeSnapshotError) - (*in).DeepCopyInto(*out) - } - if in.VolumeSnapshotRefList != nil { - in, out := &in.VolumeSnapshotRefList, &out.VolumeSnapshotRefList - *out = make([]corev1.ObjectReference, len(*in)) - copy(*out, *in) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeGroupSnapshotStatus. -func (in *VolumeGroupSnapshotStatus) DeepCopy() *VolumeGroupSnapshotStatus { - if in == nil { - return nil - } - out := new(VolumeGroupSnapshotStatus) - in.DeepCopyInto(out) - return out -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/doc.go deleted file mode 100644 index 462e9d485f..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2018 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +k8s:deepcopy-gen=package -// +groupName=snapshot.storage.k8s.io - -package v1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/register.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/register.go deleted file mode 100644 index cca3da0b94..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/register.go +++ /dev/null @@ -1,58 +0,0 @@ -/* -Copyright 2018 The Kubernetes Authors. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package v1 - -import ( - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/schema" -) - -// GroupName is the group name use in this package. -const GroupName = "snapshot.storage.k8s.io" - -var ( - // SchemeBuilder is the new scheme builder - SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) - // AddToScheme adds to scheme - AddToScheme = SchemeBuilder.AddToScheme - // SchemeGroupVersion is the group version used to register these objects. - SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} -) - -// Resource takes an unqualified resource and returns a Group-qualified GroupResource. -func Resource(resource string) schema.GroupResource { - return SchemeGroupVersion.WithResource(resource).GroupResource() -} - -func init() { - // We only register manually written functions here. The registration of the - // generated functions takes place in the generated files. The separation - // makes the code compile even when the generated files are missing. - SchemeBuilder.Register(addKnownTypes) -} - -// addKnownTypes adds the set of types defined in this package to the supplied scheme. -func addKnownTypes(scheme *runtime.Scheme) error { - scheme.AddKnownTypes(SchemeGroupVersion, - &VolumeSnapshotClass{}, - &VolumeSnapshotClassList{}, - &VolumeSnapshot{}, - &VolumeSnapshotList{}, - &VolumeSnapshotContent{}, - &VolumeSnapshotContentList{}, - ) - metav1.AddToGroupVersion(scheme, SchemeGroupVersion) - return nil -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/types.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/types.go deleted file mode 100644 index 608094615e..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/types.go +++ /dev/null @@ -1,456 +0,0 @@ -/* -Copyright 2020 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// +kubebuilder:object:generate=true -package v1 - -import ( - core_v1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" -) - -// +genclient -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeSnapshot is a user's request for either creating a point-in-time -// snapshot of a persistent volume, or binding to a pre-existing snapshot. -// +kubebuilder:object:root=true -// +kubebuilder:resource:scope=Namespaced,shortName=vs -// +kubebuilder:subresource:status -// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if the snapshot is ready to be used to restore a volume." -// +kubebuilder:printcolumn:name="SourcePVC",type=string,JSONPath=`.spec.source.persistentVolumeClaimName`,description="If a new snapshot needs to be created, this contains the name of the source PVC from which this snapshot was (or will be) created." -// +kubebuilder:printcolumn:name="SourceSnapshotContent",type=string,JSONPath=`.spec.source.volumeSnapshotContentName`,description="If a snapshot already exists, this contains the name of the existing VolumeSnapshotContent object representing the existing snapshot." -// +kubebuilder:printcolumn:name="RestoreSize",type=string,JSONPath=`.status.restoreSize`,description="Represents the minimum size of volume required to rehydrate from this snapshot." -// +kubebuilder:printcolumn:name="SnapshotClass",type=string,JSONPath=`.spec.volumeSnapshotClassName`,description="The name of the VolumeSnapshotClass requested by the VolumeSnapshot." -// +kubebuilder:printcolumn:name="SnapshotContent",type=string,JSONPath=`.status.boundVolumeSnapshotContentName`,description="Name of the VolumeSnapshotContent object to which the VolumeSnapshot object intends to bind to. Please note that verification of binding actually requires checking both VolumeSnapshot and VolumeSnapshotContent to ensure both are pointing at each other. Binding MUST be verified prior to usage of this object." -// +kubebuilder:printcolumn:name="CreationTime",type=date,JSONPath=`.status.creationTime`,description="Timestamp when the point-in-time snapshot was taken by the underlying storage system." -// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -type VolumeSnapshot struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // spec defines the desired characteristics of a snapshot requested by a user. - // More info: https://kubernetes.io/docs/concepts/storage/volume-snapshots#volumesnapshots - // Required. - Spec VolumeSnapshotSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` - - // status represents the current information of a snapshot. - // Consumers must verify binding between VolumeSnapshot and - // VolumeSnapshotContent objects is successful (by validating that both - // VolumeSnapshot and VolumeSnapshotContent point at each other) before - // using this object. - // +optional - Status *VolumeSnapshotStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// VolumeSnapshotList is a list of VolumeSnapshot objects -type VolumeSnapshotList struct { - metav1.TypeMeta `json:",inline"` - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // List of VolumeSnapshots - Items []VolumeSnapshot `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -// VolumeSnapshotSpec describes the common attributes of a volume snapshot. -type VolumeSnapshotSpec struct { - // source specifies where a snapshot will be created from. - // This field is immutable after creation. - // Required. - Source VolumeSnapshotSource `json:"source" protobuf:"bytes,1,opt,name=source"` - - // VolumeSnapshotClassName is the name of the VolumeSnapshotClass - // requested by the VolumeSnapshot. - // VolumeSnapshotClassName may be left nil to indicate that the default - // SnapshotClass should be used. - // A given cluster may have multiple default Volume SnapshotClasses: one - // default per CSI Driver. If a VolumeSnapshot does not specify a SnapshotClass, - // VolumeSnapshotSource will be checked to figure out what the associated - // CSI Driver is, and the default VolumeSnapshotClass associated with that - // CSI Driver will be used. If more than one VolumeSnapshotClass exist for - // a given CSI Driver and more than one have been marked as default, - // CreateSnapshot will fail and generate an event. - // Empty string is not allowed for this field. - // +optional - VolumeSnapshotClassName *string `json:"volumeSnapshotClassName,omitempty" protobuf:"bytes,2,opt,name=volumeSnapshotClassName"` -} - -// VolumeSnapshotSource specifies whether the underlying snapshot should be -// dynamically taken upon creation or if a pre-existing VolumeSnapshotContent -// object should be used. -// Exactly one of its members must be set. -// Members in VolumeSnapshotSource are immutable. -type VolumeSnapshotSource struct { - // persistentVolumeClaimName specifies the name of the PersistentVolumeClaim - // object representing the volume from which a snapshot should be created. - // This PVC is assumed to be in the same namespace as the VolumeSnapshot - // object. - // This field should be set if the snapshot does not exists, and needs to be - // created. - // This field is immutable. - // +optional - PersistentVolumeClaimName *string `json:"persistentVolumeClaimName,omitempty" protobuf:"bytes,1,opt,name=persistentVolumeClaimName"` - - // volumeSnapshotContentName specifies the name of a pre-existing VolumeSnapshotContent - // object representing an existing volume snapshot. - // This field should be set if the snapshot already exists and only needs a representation in Kubernetes. - // This field is immutable. - // +optional - VolumeSnapshotContentName *string `json:"volumeSnapshotContentName,omitempty" protobuf:"bytes,2,opt,name=volumeSnapshotContentName"` -} - -// VolumeSnapshotStatus is the status of the VolumeSnapshot -// Note that CreationTime, RestoreSize, ReadyToUse, and Error are in both -// VolumeSnapshotStatus and VolumeSnapshotContentStatus. Fields in VolumeSnapshotStatus -// are updated based on fields in VolumeSnapshotContentStatus. They are eventual -// consistency. These fields are duplicate in both objects due to the following reasons: -// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a -// volumesnapshot. -// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent. -// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent -// object, not VolumeSnapshot object. -type VolumeSnapshotStatus struct { - // boundVolumeSnapshotContentName is the name of the VolumeSnapshotContent - // object to which this VolumeSnapshot object intends to bind to. - // If not specified, it indicates that the VolumeSnapshot object has not been - // successfully bound to a VolumeSnapshotContent object yet. - // NOTE: To avoid possible security issues, consumers must verify binding between - // VolumeSnapshot and VolumeSnapshotContent objects is successful (by validating that - // both VolumeSnapshot and VolumeSnapshotContent point at each other) before using - // this object. - // +optional - BoundVolumeSnapshotContentName *string `json:"boundVolumeSnapshotContentName,omitempty" protobuf:"bytes,1,opt,name=boundVolumeSnapshotContentName"` - - // creationTime is the timestamp when the point-in-time snapshot is taken - // by the underlying storage system. - // In dynamic snapshot creation case, this field will be filled in by the - // snapshot controller with the "creation_time" value returned from CSI - // "CreateSnapshot" gRPC call. - // For a pre-existing snapshot, this field will be filled with the "creation_time" - // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. - // If not specified, it may indicate that the creation time of the snapshot is unknown. - // +optional - CreationTime *metav1.Time `json:"creationTime,omitempty" protobuf:"bytes,2,opt,name=creationTime"` - - // readyToUse indicates if the snapshot is ready to be used to restore a volume. - // In dynamic snapshot creation case, this field will be filled in by the - // snapshot controller with the "ready_to_use" value returned from CSI - // "CreateSnapshot" gRPC call. - // For a pre-existing snapshot, this field will be filled with the "ready_to_use" - // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it, - // otherwise, this field will be set to "True". - // If not specified, it means the readiness of a snapshot is unknown. - // +optional - ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,3,opt,name=readyToUse"` - - // restoreSize represents the minimum size of volume required to create a volume - // from this snapshot. - // In dynamic snapshot creation case, this field will be filled in by the - // snapshot controller with the "size_bytes" value returned from CSI - // "CreateSnapshot" gRPC call. - // For a pre-existing snapshot, this field will be filled with the "size_bytes" - // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. - // When restoring a volume from this snapshot, the size of the volume MUST NOT - // be smaller than the restoreSize if it is specified, otherwise the restoration will fail. - // If not specified, it indicates that the size is unknown. - // +optional - RestoreSize *resource.Quantity `json:"restoreSize,omitempty" protobuf:"bytes,4,opt,name=restoreSize"` - - // error is the last observed error during snapshot creation, if any. - // This field could be helpful to upper level controllers(i.e., application controller) - // to decide whether they should continue on waiting for the snapshot to be created - // based on the type of error reported. - // The snapshot controller will keep retrying when an error occurs during the - // snapshot creation. Upon success, this error field will be cleared. - // +optional - Error *VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,5,opt,name=error,casttype=VolumeSnapshotError"` - - // VolumeGroupSnapshotName is the name of the VolumeGroupSnapshot of which this - // VolumeSnapshot is a part of. - // +optional - VolumeGroupSnapshotName *string `json:"volumeGroupSnapshotName,omitempty" protobuf:"bytes,6,opt,name=volumeGroupSnapshotName"` -} - -// +genclient -// +genclient:nonNamespaced -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeSnapshotClass specifies parameters that a underlying storage system uses when -// creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its -// name in a VolumeSnapshot object. -// VolumeSnapshotClasses are non-namespaced -// +kubebuilder:object:root=true -// +kubebuilder:resource:scope=Cluster,shortName=vsclass;vsclasses -// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.driver` -// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.deletionPolicy`,description="Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted." -// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -type VolumeSnapshotClass struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // driver is the name of the storage driver that handles this VolumeSnapshotClass. - // Required. - Driver string `json:"driver" protobuf:"bytes,2,opt,name=driver"` - - // parameters is a key-value map with storage driver specific parameters for creating snapshots. - // These values are opaque to Kubernetes. - // +optional - Parameters map[string]string `json:"parameters,omitempty" protobuf:"bytes,3,rep,name=parameters"` - - // deletionPolicy determines whether a VolumeSnapshotContent created through - // the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted. - // Supported values are "Retain" and "Delete". - // "Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept. - // "Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted. - // Required. - DeletionPolicy DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,4,opt,name=deletionPolicy"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeSnapshotClassList is a collection of VolumeSnapshotClasses. -// +kubebuilder:object:root=true -type VolumeSnapshotClassList struct { - metav1.TypeMeta `json:",inline"` - // Standard list metadata - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // items is the list of VolumeSnapshotClasses - Items []VolumeSnapshotClass `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -// +genclient -// +genclient:nonNamespaced -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeSnapshotContent represents the actual "on-disk" snapshot object in the -// underlying storage system -// +kubebuilder:object:root=true -// +kubebuilder:resource:scope=Cluster,shortName=vsc;vscs -// +kubebuilder:subresource:status -// +kubebuilder:printcolumn:name="ReadyToUse",type=boolean,JSONPath=`.status.readyToUse`,description="Indicates if the snapshot is ready to be used to restore a volume." -// +kubebuilder:printcolumn:name="RestoreSize",type=integer,JSONPath=`.status.restoreSize`,description="Represents the complete size of the snapshot in bytes" -// +kubebuilder:printcolumn:name="DeletionPolicy",type=string,JSONPath=`.spec.deletionPolicy`,description="Determines whether this VolumeSnapshotContent and its physical snapshot on the underlying storage system should be deleted when its bound VolumeSnapshot is deleted." -// +kubebuilder:printcolumn:name="Driver",type=string,JSONPath=`.spec.driver`,description="Name of the CSI driver used to create the physical snapshot on the underlying storage system." -// +kubebuilder:printcolumn:name="VolumeSnapshotClass",type=string,JSONPath=`.spec.volumeSnapshotClassName`,description="Name of the VolumeSnapshotClass to which this snapshot belongs." -// +kubebuilder:printcolumn:name="VolumeSnapshot",type=string,JSONPath=`.spec.volumeSnapshotRef.name`,description="Name of the VolumeSnapshot object to which this VolumeSnapshotContent object is bound." -// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` -type VolumeSnapshotContent struct { - metav1.TypeMeta `json:",inline"` - // Standard object's metadata. - // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata - // +optional - metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // spec defines properties of a VolumeSnapshotContent created by the underlying storage system. - // Required. - Spec VolumeSnapshotContentSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"` - - // status represents the current information of a snapshot. - // +optional - Status *VolumeSnapshotContentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// VolumeSnapshotContentList is a list of VolumeSnapshotContent objects -// +kubebuilder:object:root=true -type VolumeSnapshotContentList struct { - metav1.TypeMeta `json:",inline"` - // +optional - metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` - - // items is the list of VolumeSnapshotContents - Items []VolumeSnapshotContent `json:"items" protobuf:"bytes,2,rep,name=items"` -} - -// VolumeSnapshotContentSpec is the specification of a VolumeSnapshotContent -type VolumeSnapshotContentSpec struct { - // volumeSnapshotRef specifies the VolumeSnapshot object to which this - // VolumeSnapshotContent object is bound. - // VolumeSnapshot.Spec.VolumeSnapshotContentName field must reference to - // this VolumeSnapshotContent's name for the bidirectional binding to be valid. - // For a pre-existing VolumeSnapshotContent object, name and namespace of the - // VolumeSnapshot object MUST be provided for binding to happen. - // This field is immutable after creation. - // Required. - VolumeSnapshotRef core_v1.ObjectReference `json:"volumeSnapshotRef" protobuf:"bytes,1,opt,name=volumeSnapshotRef"` - - // deletionPolicy determines whether this VolumeSnapshotContent and its physical snapshot on - // the underlying storage system should be deleted when its bound VolumeSnapshot is deleted. - // Supported values are "Retain" and "Delete". - // "Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept. - // "Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted. - // For dynamically provisioned snapshots, this field will automatically be filled in by the - // CSI snapshotter sidecar with the "DeletionPolicy" field defined in the corresponding - // VolumeSnapshotClass. - // For pre-existing snapshots, users MUST specify this field when creating the - // VolumeSnapshotContent object. - // Required. - DeletionPolicy DeletionPolicy `json:"deletionPolicy" protobuf:"bytes,2,opt,name=deletionPolicy"` - - // driver is the name of the CSI driver used to create the physical snapshot on - // the underlying storage system. - // This MUST be the same as the name returned by the CSI GetPluginName() call for - // that driver. - // Required. - Driver string `json:"driver" protobuf:"bytes,3,opt,name=driver"` - - // name of the VolumeSnapshotClass from which this snapshot was (or will be) - // created. - // Note that after provisioning, the VolumeSnapshotClass may be deleted or - // recreated with different set of values, and as such, should not be referenced - // post-snapshot creation. - // +optional - VolumeSnapshotClassName *string `json:"volumeSnapshotClassName,omitempty" protobuf:"bytes,4,opt,name=volumeSnapshotClassName"` - - // source specifies whether the snapshot is (or should be) dynamically provisioned - // or already exists, and just requires a Kubernetes object representation. - // This field is immutable after creation. - // Required. - Source VolumeSnapshotContentSource `json:"source" protobuf:"bytes,5,opt,name=source"` - - // SourceVolumeMode is the mode of the volume whose snapshot is taken. - // Can be either “Filesystem” or “Block”. - // If not specified, it indicates the source volume's mode is unknown. - // This field is immutable. - // This field is an alpha field. - // +optional - SourceVolumeMode *core_v1.PersistentVolumeMode `json:"sourceVolumeMode" protobuf:"bytes,6,opt,name=sourceVolumeMode"` -} - -// VolumeSnapshotContentSource represents the CSI source of a snapshot. -// Exactly one of its members must be set. -// Members in VolumeSnapshotContentSource are immutable. -type VolumeSnapshotContentSource struct { - // volumeHandle specifies the CSI "volume_id" of the volume from which a snapshot - // should be dynamically taken from. - // This field is immutable. - // +optional - VolumeHandle *string `json:"volumeHandle,omitempty" protobuf:"bytes,1,opt,name=volumeHandle"` - - // snapshotHandle specifies the CSI "snapshot_id" of a pre-existing snapshot on - // the underlying storage system for which a Kubernetes object representation - // was (or should be) created. - // This field is immutable. - // +optional - SnapshotHandle *string `json:"snapshotHandle,omitempty" protobuf:"bytes,2,opt,name=snapshotHandle"` -} - -// VolumeSnapshotContentStatus is the status of a VolumeSnapshotContent object -// Note that CreationTime, RestoreSize, ReadyToUse, and Error are in both -// VolumeSnapshotStatus and VolumeSnapshotContentStatus. Fields in VolumeSnapshotStatus -// are updated based on fields in VolumeSnapshotContentStatus. They are eventual -// consistency. These fields are duplicate in both objects due to the following reasons: -// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a -// volumesnapshot. -// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent. -// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent -// object, not VolumeSnapshot object. -type VolumeSnapshotContentStatus struct { - // snapshotHandle is the CSI "snapshot_id" of a snapshot on the underlying storage system. - // If not specified, it indicates that dynamic snapshot creation has either failed - // or it is still in progress. - // +optional - SnapshotHandle *string `json:"snapshotHandle,omitempty" protobuf:"bytes,1,opt,name=snapshotHandle"` - - // creationTime is the timestamp when the point-in-time snapshot is taken - // by the underlying storage system. - // In dynamic snapshot creation case, this field will be filled in by the - // CSI snapshotter sidecar with the "creation_time" value returned from CSI - // "CreateSnapshot" gRPC call. - // For a pre-existing snapshot, this field will be filled with the "creation_time" - // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. - // If not specified, it indicates the creation time is unknown. - // The format of this field is a Unix nanoseconds time encoded as an int64. - // On Unix, the command `date +%s%N` returns the current time in nanoseconds - // since 1970-01-01 00:00:00 UTC. - // +optional - CreationTime *int64 `json:"creationTime,omitempty" protobuf:"varint,2,opt,name=creationTime"` - - // restoreSize represents the complete size of the snapshot in bytes. - // In dynamic snapshot creation case, this field will be filled in by the - // CSI snapshotter sidecar with the "size_bytes" value returned from CSI - // "CreateSnapshot" gRPC call. - // For a pre-existing snapshot, this field will be filled with the "size_bytes" - // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it. - // When restoring a volume from this snapshot, the size of the volume MUST NOT - // be smaller than the restoreSize if it is specified, otherwise the restoration will fail. - // If not specified, it indicates that the size is unknown. - // +kubebuilder:validation:Minimum=0 - // +optional - RestoreSize *int64 `json:"restoreSize,omitempty" protobuf:"bytes,3,opt,name=restoreSize"` - - // readyToUse indicates if a snapshot is ready to be used to restore a volume. - // In dynamic snapshot creation case, this field will be filled in by the - // CSI snapshotter sidecar with the "ready_to_use" value returned from CSI - // "CreateSnapshot" gRPC call. - // For a pre-existing snapshot, this field will be filled with the "ready_to_use" - // value returned from the CSI "ListSnapshots" gRPC call if the driver supports it, - // otherwise, this field will be set to "True". - // If not specified, it means the readiness of a snapshot is unknown. - // +optional. - ReadyToUse *bool `json:"readyToUse,omitempty" protobuf:"varint,4,opt,name=readyToUse"` - - // error is the last observed error during snapshot creation, if any. - // Upon success after retry, this error field will be cleared. - // +optional - Error *VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,5,opt,name=error,casttype=VolumeSnapshotError"` - - // VolumeGroupSnapshotContentName is the name of the VolumeGroupSnapshotContent of - // which this VolumeSnapshotContent is a part of. - // +optional - VolumeGroupSnapshotContentName *string `json:"volumeGroupSnapshotContentName,omitempty" protobuf:"bytes,6,opt,name=volumeGroupSnapshotContentName"` -} - -// DeletionPolicy describes a policy for end-of-life maintenance of volume snapshot contents -// +kubebuilder:validation:Enum=Delete;Retain -type DeletionPolicy string - -const ( - // volumeSnapshotContentDelete means the snapshot will be deleted from the - // underlying storage system on release from its volume snapshot. - VolumeSnapshotContentDelete DeletionPolicy = "Delete" - - // volumeSnapshotContentRetain means the snapshot will be left in its current - // state on release from its volume snapshot. - VolumeSnapshotContentRetain DeletionPolicy = "Retain" -) - -// VolumeSnapshotError describes an error encountered during snapshot creation. -type VolumeSnapshotError struct { - // time is the timestamp when the error was encountered. - // +optional - Time *metav1.Time `json:"time,omitempty" protobuf:"bytes,1,opt,name=time"` - - // message is a string detailing the encountered error during snapshot - // creation if specified. - // NOTE: message may be logged, and it should not contain sensitive - // information. - // +optional - Message *string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/zz_generated.deepcopy.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/zz_generated.deepcopy.go deleted file mode 100644 index 460309263f..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1/zz_generated.deepcopy.go +++ /dev/null @@ -1,441 +0,0 @@ -//go:build !ignore_autogenerated -// +build !ignore_autogenerated - -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by deepcopy-gen. DO NOT EDIT. - -package v1 - -import ( - corev1 "k8s.io/api/core/v1" - runtime "k8s.io/apimachinery/pkg/runtime" -) - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshot) DeepCopyInto(out *VolumeSnapshot) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(VolumeSnapshotStatus) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshot. -func (in *VolumeSnapshot) DeepCopy() *VolumeSnapshot { - if in == nil { - return nil - } - out := new(VolumeSnapshot) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeSnapshot) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotClass) DeepCopyInto(out *VolumeSnapshotClass) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - if in.Parameters != nil { - in, out := &in.Parameters, &out.Parameters - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotClass. -func (in *VolumeSnapshotClass) DeepCopy() *VolumeSnapshotClass { - if in == nil { - return nil - } - out := new(VolumeSnapshotClass) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeSnapshotClass) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotClassList) DeepCopyInto(out *VolumeSnapshotClassList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VolumeSnapshotClass, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotClassList. -func (in *VolumeSnapshotClassList) DeepCopy() *VolumeSnapshotClassList { - if in == nil { - return nil - } - out := new(VolumeSnapshotClassList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeSnapshotClassList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotContent) DeepCopyInto(out *VolumeSnapshotContent) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) - if in.Status != nil { - in, out := &in.Status, &out.Status - *out = new(VolumeSnapshotContentStatus) - (*in).DeepCopyInto(*out) - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContent. -func (in *VolumeSnapshotContent) DeepCopy() *VolumeSnapshotContent { - if in == nil { - return nil - } - out := new(VolumeSnapshotContent) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeSnapshotContent) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotContentList) DeepCopyInto(out *VolumeSnapshotContentList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VolumeSnapshotContent, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentList. -func (in *VolumeSnapshotContentList) DeepCopy() *VolumeSnapshotContentList { - if in == nil { - return nil - } - out := new(VolumeSnapshotContentList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeSnapshotContentList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotContentSource) DeepCopyInto(out *VolumeSnapshotContentSource) { - *out = *in - if in.VolumeHandle != nil { - in, out := &in.VolumeHandle, &out.VolumeHandle - *out = new(string) - **out = **in - } - if in.SnapshotHandle != nil { - in, out := &in.SnapshotHandle, &out.SnapshotHandle - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentSource. -func (in *VolumeSnapshotContentSource) DeepCopy() *VolumeSnapshotContentSource { - if in == nil { - return nil - } - out := new(VolumeSnapshotContentSource) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotContentSpec) DeepCopyInto(out *VolumeSnapshotContentSpec) { - *out = *in - out.VolumeSnapshotRef = in.VolumeSnapshotRef - if in.VolumeSnapshotClassName != nil { - in, out := &in.VolumeSnapshotClassName, &out.VolumeSnapshotClassName - *out = new(string) - **out = **in - } - in.Source.DeepCopyInto(&out.Source) - if in.SourceVolumeMode != nil { - in, out := &in.SourceVolumeMode, &out.SourceVolumeMode - *out = new(corev1.PersistentVolumeMode) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentSpec. -func (in *VolumeSnapshotContentSpec) DeepCopy() *VolumeSnapshotContentSpec { - if in == nil { - return nil - } - out := new(VolumeSnapshotContentSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotContentStatus) DeepCopyInto(out *VolumeSnapshotContentStatus) { - *out = *in - if in.SnapshotHandle != nil { - in, out := &in.SnapshotHandle, &out.SnapshotHandle - *out = new(string) - **out = **in - } - if in.CreationTime != nil { - in, out := &in.CreationTime, &out.CreationTime - *out = new(int64) - **out = **in - } - if in.RestoreSize != nil { - in, out := &in.RestoreSize, &out.RestoreSize - *out = new(int64) - **out = **in - } - if in.ReadyToUse != nil { - in, out := &in.ReadyToUse, &out.ReadyToUse - *out = new(bool) - **out = **in - } - if in.Error != nil { - in, out := &in.Error, &out.Error - *out = new(VolumeSnapshotError) - (*in).DeepCopyInto(*out) - } - if in.VolumeGroupSnapshotContentName != nil { - in, out := &in.VolumeGroupSnapshotContentName, &out.VolumeGroupSnapshotContentName - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotContentStatus. -func (in *VolumeSnapshotContentStatus) DeepCopy() *VolumeSnapshotContentStatus { - if in == nil { - return nil - } - out := new(VolumeSnapshotContentStatus) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotError) DeepCopyInto(out *VolumeSnapshotError) { - *out = *in - if in.Time != nil { - in, out := &in.Time, &out.Time - *out = (*in).DeepCopy() - } - if in.Message != nil { - in, out := &in.Message, &out.Message - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotError. -func (in *VolumeSnapshotError) DeepCopy() *VolumeSnapshotError { - if in == nil { - return nil - } - out := new(VolumeSnapshotError) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotList) DeepCopyInto(out *VolumeSnapshotList) { - *out = *in - out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]VolumeSnapshot, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotList. -func (in *VolumeSnapshotList) DeepCopy() *VolumeSnapshotList { - if in == nil { - return nil - } - out := new(VolumeSnapshotList) - in.DeepCopyInto(out) - return out -} - -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *VolumeSnapshotList) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotSource) DeepCopyInto(out *VolumeSnapshotSource) { - *out = *in - if in.PersistentVolumeClaimName != nil { - in, out := &in.PersistentVolumeClaimName, &out.PersistentVolumeClaimName - *out = new(string) - **out = **in - } - if in.VolumeSnapshotContentName != nil { - in, out := &in.VolumeSnapshotContentName, &out.VolumeSnapshotContentName - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotSource. -func (in *VolumeSnapshotSource) DeepCopy() *VolumeSnapshotSource { - if in == nil { - return nil - } - out := new(VolumeSnapshotSource) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotSpec) DeepCopyInto(out *VolumeSnapshotSpec) { - *out = *in - in.Source.DeepCopyInto(&out.Source) - if in.VolumeSnapshotClassName != nil { - in, out := &in.VolumeSnapshotClassName, &out.VolumeSnapshotClassName - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotSpec. -func (in *VolumeSnapshotSpec) DeepCopy() *VolumeSnapshotSpec { - if in == nil { - return nil - } - out := new(VolumeSnapshotSpec) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *VolumeSnapshotStatus) DeepCopyInto(out *VolumeSnapshotStatus) { - *out = *in - if in.BoundVolumeSnapshotContentName != nil { - in, out := &in.BoundVolumeSnapshotContentName, &out.BoundVolumeSnapshotContentName - *out = new(string) - **out = **in - } - if in.CreationTime != nil { - in, out := &in.CreationTime, &out.CreationTime - *out = (*in).DeepCopy() - } - if in.ReadyToUse != nil { - in, out := &in.ReadyToUse, &out.ReadyToUse - *out = new(bool) - **out = **in - } - if in.RestoreSize != nil { - in, out := &in.RestoreSize, &out.RestoreSize - x := (*in).DeepCopy() - *out = &x - } - if in.Error != nil { - in, out := &in.Error, &out.Error - *out = new(VolumeSnapshotError) - (*in).DeepCopyInto(*out) - } - if in.VolumeGroupSnapshotName != nil { - in, out := &in.VolumeGroupSnapshotName, &out.VolumeGroupSnapshotName - *out = new(string) - **out = **in - } - return -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSnapshotStatus. -func (in *VolumeSnapshotStatus) DeepCopy() *VolumeSnapshotStatus { - if in == nil { - return nil - } - out := new(VolumeSnapshotStatus) - in.DeepCopyInto(out) - return out -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/clientset.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/clientset.go deleted file mode 100644 index 03ca1e0c35..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/clientset.go +++ /dev/null @@ -1,133 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package versioned - -import ( - "fmt" - "net/http" - - groupsnapshotv1alpha1 "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1" - snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1" - discovery "k8s.io/client-go/discovery" - rest "k8s.io/client-go/rest" - flowcontrol "k8s.io/client-go/util/flowcontrol" -) - -type Interface interface { - Discovery() discovery.DiscoveryInterface - GroupsnapshotV1alpha1() groupsnapshotv1alpha1.GroupsnapshotV1alpha1Interface - SnapshotV1() snapshotv1.SnapshotV1Interface -} - -// Clientset contains the clients for groups. -type Clientset struct { - *discovery.DiscoveryClient - groupsnapshotV1alpha1 *groupsnapshotv1alpha1.GroupsnapshotV1alpha1Client - snapshotV1 *snapshotv1.SnapshotV1Client -} - -// GroupsnapshotV1alpha1 retrieves the GroupsnapshotV1alpha1Client -func (c *Clientset) GroupsnapshotV1alpha1() groupsnapshotv1alpha1.GroupsnapshotV1alpha1Interface { - return c.groupsnapshotV1alpha1 -} - -// SnapshotV1 retrieves the SnapshotV1Client -func (c *Clientset) SnapshotV1() snapshotv1.SnapshotV1Interface { - return c.snapshotV1 -} - -// Discovery retrieves the DiscoveryClient -func (c *Clientset) Discovery() discovery.DiscoveryInterface { - if c == nil { - return nil - } - return c.DiscoveryClient -} - -// NewForConfig creates a new Clientset for the given config. -// If config's RateLimiter is not set and QPS and Burst are acceptable, -// NewForConfig will generate a rate-limiter in configShallowCopy. -// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), -// where httpClient was generated with rest.HTTPClientFor(c). -func NewForConfig(c *rest.Config) (*Clientset, error) { - configShallowCopy := *c - - if configShallowCopy.UserAgent == "" { - configShallowCopy.UserAgent = rest.DefaultKubernetesUserAgent() - } - - // share the transport between all clients - httpClient, err := rest.HTTPClientFor(&configShallowCopy) - if err != nil { - return nil, err - } - - return NewForConfigAndClient(&configShallowCopy, httpClient) -} - -// NewForConfigAndClient creates a new Clientset for the given config and http client. -// Note the http client provided takes precedence over the configured transport values. -// If config's RateLimiter is not set and QPS and Burst are acceptable, -// NewForConfigAndClient will generate a rate-limiter in configShallowCopy. -func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset, error) { - configShallowCopy := *c - if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 { - if configShallowCopy.Burst <= 0 { - return nil, fmt.Errorf("burst is required to be greater than 0 when RateLimiter is not set and QPS is set to greater than 0") - } - configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst) - } - - var cs Clientset - var err error - cs.groupsnapshotV1alpha1, err = groupsnapshotv1alpha1.NewForConfigAndClient(&configShallowCopy, httpClient) - if err != nil { - return nil, err - } - cs.snapshotV1, err = snapshotv1.NewForConfigAndClient(&configShallowCopy, httpClient) - if err != nil { - return nil, err - } - - cs.DiscoveryClient, err = discovery.NewDiscoveryClientForConfigAndClient(&configShallowCopy, httpClient) - if err != nil { - return nil, err - } - return &cs, nil -} - -// NewForConfigOrDie creates a new Clientset for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *Clientset { - cs, err := NewForConfig(c) - if err != nil { - panic(err) - } - return cs -} - -// New creates a new Clientset for the given RESTClient. -func New(c rest.Interface) *Clientset { - var cs Clientset - cs.groupsnapshotV1alpha1 = groupsnapshotv1alpha1.New(c) - cs.snapshotV1 = snapshotv1.New(c) - - cs.DiscoveryClient = discovery.NewDiscoveryClient(c) - return &cs -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/doc.go deleted file mode 100644 index 6aa6c1e434..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -// This package contains the scheme of the automatically generated clientset. -package scheme diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/register.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/register.go deleted file mode 100644 index d30e61fbc1..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme/register.go +++ /dev/null @@ -1,58 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package scheme - -import ( - groupsnapshotv1alpha1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1" - snapshotv1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - runtime "k8s.io/apimachinery/pkg/runtime" - schema "k8s.io/apimachinery/pkg/runtime/schema" - serializer "k8s.io/apimachinery/pkg/runtime/serializer" - utilruntime "k8s.io/apimachinery/pkg/util/runtime" -) - -var Scheme = runtime.NewScheme() -var Codecs = serializer.NewCodecFactory(Scheme) -var ParameterCodec = runtime.NewParameterCodec(Scheme) -var localSchemeBuilder = runtime.SchemeBuilder{ - groupsnapshotv1alpha1.AddToScheme, - snapshotv1.AddToScheme, -} - -// AddToScheme adds all types of this clientset into the given scheme. This allows composition -// of clientsets, like in: -// -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) -// -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) -// -// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types -// correctly. -var AddToScheme = localSchemeBuilder.AddToScheme - -func init() { - v1.AddToGroupVersion(Scheme, schema.GroupVersion{Version: "v1"}) - utilruntime.Must(AddToScheme(Scheme)) -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/doc.go deleted file mode 100644 index a022e3e2c6..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -// This package has the automatically generated typed clients. -package v1alpha1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/generated_expansion.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/generated_expansion.go deleted file mode 100644 index 1c05db564c..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/generated_expansion.go +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha1 - -type VolumeGroupSnapshotExpansion interface{} - -type VolumeGroupSnapshotClassExpansion interface{} - -type VolumeGroupSnapshotContentExpansion interface{} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot.go deleted file mode 100644 index c9428f012e..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot.go +++ /dev/null @@ -1,195 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - "context" - "time" - - v1alpha1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1" - scheme "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// VolumeGroupSnapshotsGetter has a method to return a VolumeGroupSnapshotInterface. -// A group's client should implement this interface. -type VolumeGroupSnapshotsGetter interface { - VolumeGroupSnapshots(namespace string) VolumeGroupSnapshotInterface -} - -// VolumeGroupSnapshotInterface has methods to work with VolumeGroupSnapshot resources. -type VolumeGroupSnapshotInterface interface { - Create(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.CreateOptions) (*v1alpha1.VolumeGroupSnapshot, error) - Update(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshot, error) - UpdateStatus(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshot, error) - Delete(ctx context.Context, name string, opts v1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.VolumeGroupSnapshot, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VolumeGroupSnapshotList, error) - Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshot, err error) - VolumeGroupSnapshotExpansion -} - -// volumeGroupSnapshots implements VolumeGroupSnapshotInterface -type volumeGroupSnapshots struct { - client rest.Interface - ns string -} - -// newVolumeGroupSnapshots returns a VolumeGroupSnapshots -func newVolumeGroupSnapshots(c *GroupsnapshotV1alpha1Client, namespace string) *volumeGroupSnapshots { - return &volumeGroupSnapshots{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the volumeGroupSnapshot, and returns the corresponding volumeGroupSnapshot object, and an error if there is any. -func (c *volumeGroupSnapshots) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshot, err error) { - result = &v1alpha1.VolumeGroupSnapshot{} - err = c.client.Get(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of VolumeGroupSnapshots that match those selectors. -func (c *volumeGroupSnapshots) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha1.VolumeGroupSnapshotList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested volumeGroupSnapshots. -func (c *volumeGroupSnapshots) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a volumeGroupSnapshot and creates it. Returns the server's representation of the volumeGroupSnapshot, and an error, if there is any. -func (c *volumeGroupSnapshots) Create(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error) { - result = &v1alpha1.VolumeGroupSnapshot{} - err = c.client.Post(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshot). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a volumeGroupSnapshot and updates it. Returns the server's representation of the volumeGroupSnapshot, and an error, if there is any. -func (c *volumeGroupSnapshots) Update(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error) { - result = &v1alpha1.VolumeGroupSnapshot{} - err = c.client.Put(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - Name(volumeGroupSnapshot.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshot). - Do(ctx). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *volumeGroupSnapshots) UpdateStatus(ctx context.Context, volumeGroupSnapshot *v1alpha1.VolumeGroupSnapshot, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshot, err error) { - result = &v1alpha1.VolumeGroupSnapshot{} - err = c.client.Put(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - Name(volumeGroupSnapshot.Name). - SubResource("status"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshot). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the volumeGroupSnapshot and deletes it. Returns an error if one occurs. -func (c *volumeGroupSnapshots) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *volumeGroupSnapshots) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched volumeGroupSnapshot. -func (c *volumeGroupSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshot, err error) { - result = &v1alpha1.VolumeGroupSnapshot{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("volumegroupsnapshots"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot_client.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot_client.go deleted file mode 100644 index 310b02725d..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshot_client.go +++ /dev/null @@ -1,117 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - "net/http" - - v1alpha1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1" - "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - rest "k8s.io/client-go/rest" -) - -type GroupsnapshotV1alpha1Interface interface { - RESTClient() rest.Interface - VolumeGroupSnapshotsGetter - VolumeGroupSnapshotClassesGetter - VolumeGroupSnapshotContentsGetter -} - -// GroupsnapshotV1alpha1Client is used to interact with features provided by the groupsnapshot.storage.k8s.io group. -type GroupsnapshotV1alpha1Client struct { - restClient rest.Interface -} - -func (c *GroupsnapshotV1alpha1Client) VolumeGroupSnapshots(namespace string) VolumeGroupSnapshotInterface { - return newVolumeGroupSnapshots(c, namespace) -} - -func (c *GroupsnapshotV1alpha1Client) VolumeGroupSnapshotClasses() VolumeGroupSnapshotClassInterface { - return newVolumeGroupSnapshotClasses(c) -} - -func (c *GroupsnapshotV1alpha1Client) VolumeGroupSnapshotContents() VolumeGroupSnapshotContentInterface { - return newVolumeGroupSnapshotContents(c) -} - -// NewForConfig creates a new GroupsnapshotV1alpha1Client for the given config. -// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), -// where httpClient was generated with rest.HTTPClientFor(c). -func NewForConfig(c *rest.Config) (*GroupsnapshotV1alpha1Client, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - httpClient, err := rest.HTTPClientFor(&config) - if err != nil { - return nil, err - } - return NewForConfigAndClient(&config, httpClient) -} - -// NewForConfigAndClient creates a new GroupsnapshotV1alpha1Client for the given config and http client. -// Note the http client provided takes precedence over the configured transport values. -func NewForConfigAndClient(c *rest.Config, h *http.Client) (*GroupsnapshotV1alpha1Client, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - client, err := rest.RESTClientForConfigAndClient(&config, h) - if err != nil { - return nil, err - } - return &GroupsnapshotV1alpha1Client{client}, nil -} - -// NewForConfigOrDie creates a new GroupsnapshotV1alpha1Client for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *GroupsnapshotV1alpha1Client { - client, err := NewForConfig(c) - if err != nil { - panic(err) - } - return client -} - -// New creates a new GroupsnapshotV1alpha1Client for the given RESTClient. -func New(c rest.Interface) *GroupsnapshotV1alpha1Client { - return &GroupsnapshotV1alpha1Client{c} -} - -func setConfigDefaults(config *rest.Config) error { - gv := v1alpha1.SchemeGroupVersion - config.GroupVersion = &gv - config.APIPath = "/apis" - config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() - - if config.UserAgent == "" { - config.UserAgent = rest.DefaultKubernetesUserAgent() - } - - return nil -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *GroupsnapshotV1alpha1Client) RESTClient() rest.Interface { - if c == nil { - return nil - } - return c.restClient -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotclass.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotclass.go deleted file mode 100644 index d71be8cc1a..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotclass.go +++ /dev/null @@ -1,168 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - "context" - "time" - - v1alpha1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1" - scheme "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// VolumeGroupSnapshotClassesGetter has a method to return a VolumeGroupSnapshotClassInterface. -// A group's client should implement this interface. -type VolumeGroupSnapshotClassesGetter interface { - VolumeGroupSnapshotClasses() VolumeGroupSnapshotClassInterface -} - -// VolumeGroupSnapshotClassInterface has methods to work with VolumeGroupSnapshotClass resources. -type VolumeGroupSnapshotClassInterface interface { - Create(ctx context.Context, volumeGroupSnapshotClass *v1alpha1.VolumeGroupSnapshotClass, opts v1.CreateOptions) (*v1alpha1.VolumeGroupSnapshotClass, error) - Update(ctx context.Context, volumeGroupSnapshotClass *v1alpha1.VolumeGroupSnapshotClass, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshotClass, error) - Delete(ctx context.Context, name string, opts v1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.VolumeGroupSnapshotClass, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VolumeGroupSnapshotClassList, error) - Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshotClass, err error) - VolumeGroupSnapshotClassExpansion -} - -// volumeGroupSnapshotClasses implements VolumeGroupSnapshotClassInterface -type volumeGroupSnapshotClasses struct { - client rest.Interface -} - -// newVolumeGroupSnapshotClasses returns a VolumeGroupSnapshotClasses -func newVolumeGroupSnapshotClasses(c *GroupsnapshotV1alpha1Client) *volumeGroupSnapshotClasses { - return &volumeGroupSnapshotClasses{ - client: c.RESTClient(), - } -} - -// Get takes name of the volumeGroupSnapshotClass, and returns the corresponding volumeGroupSnapshotClass object, and an error if there is any. -func (c *volumeGroupSnapshotClasses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error) { - result = &v1alpha1.VolumeGroupSnapshotClass{} - err = c.client.Get(). - Resource("volumegroupsnapshotclasses"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of VolumeGroupSnapshotClasses that match those selectors. -func (c *volumeGroupSnapshotClasses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotClassList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha1.VolumeGroupSnapshotClassList{} - err = c.client.Get(). - Resource("volumegroupsnapshotclasses"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested volumeGroupSnapshotClasses. -func (c *volumeGroupSnapshotClasses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Resource("volumegroupsnapshotclasses"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a volumeGroupSnapshotClass and creates it. Returns the server's representation of the volumeGroupSnapshotClass, and an error, if there is any. -func (c *volumeGroupSnapshotClasses) Create(ctx context.Context, volumeGroupSnapshotClass *v1alpha1.VolumeGroupSnapshotClass, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error) { - result = &v1alpha1.VolumeGroupSnapshotClass{} - err = c.client.Post(). - Resource("volumegroupsnapshotclasses"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshotClass). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a volumeGroupSnapshotClass and updates it. Returns the server's representation of the volumeGroupSnapshotClass, and an error, if there is any. -func (c *volumeGroupSnapshotClasses) Update(ctx context.Context, volumeGroupSnapshotClass *v1alpha1.VolumeGroupSnapshotClass, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshotClass, err error) { - result = &v1alpha1.VolumeGroupSnapshotClass{} - err = c.client.Put(). - Resource("volumegroupsnapshotclasses"). - Name(volumeGroupSnapshotClass.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshotClass). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the volumeGroupSnapshotClass and deletes it. Returns an error if one occurs. -func (c *volumeGroupSnapshotClasses) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - return c.client.Delete(). - Resource("volumegroupsnapshotclasses"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *volumeGroupSnapshotClasses) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Resource("volumegroupsnapshotclasses"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched volumeGroupSnapshotClass. -func (c *volumeGroupSnapshotClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshotClass, err error) { - result = &v1alpha1.VolumeGroupSnapshotClass{} - err = c.client.Patch(pt). - Resource("volumegroupsnapshotclasses"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotcontent.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotcontent.go deleted file mode 100644 index b2c202544c..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumegroupsnapshot/v1alpha1/volumegroupsnapshotcontent.go +++ /dev/null @@ -1,184 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1alpha1 - -import ( - "context" - "time" - - v1alpha1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumegroupsnapshot/v1alpha1" - scheme "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// VolumeGroupSnapshotContentsGetter has a method to return a VolumeGroupSnapshotContentInterface. -// A group's client should implement this interface. -type VolumeGroupSnapshotContentsGetter interface { - VolumeGroupSnapshotContents() VolumeGroupSnapshotContentInterface -} - -// VolumeGroupSnapshotContentInterface has methods to work with VolumeGroupSnapshotContent resources. -type VolumeGroupSnapshotContentInterface interface { - Create(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.CreateOptions) (*v1alpha1.VolumeGroupSnapshotContent, error) - Update(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshotContent, error) - UpdateStatus(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (*v1alpha1.VolumeGroupSnapshotContent, error) - Delete(ctx context.Context, name string, opts v1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error - Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.VolumeGroupSnapshotContent, error) - List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.VolumeGroupSnapshotContentList, error) - Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshotContent, err error) - VolumeGroupSnapshotContentExpansion -} - -// volumeGroupSnapshotContents implements VolumeGroupSnapshotContentInterface -type volumeGroupSnapshotContents struct { - client rest.Interface -} - -// newVolumeGroupSnapshotContents returns a VolumeGroupSnapshotContents -func newVolumeGroupSnapshotContents(c *GroupsnapshotV1alpha1Client) *volumeGroupSnapshotContents { - return &volumeGroupSnapshotContents{ - client: c.RESTClient(), - } -} - -// Get takes name of the volumeGroupSnapshotContent, and returns the corresponding volumeGroupSnapshotContent object, and an error if there is any. -func (c *volumeGroupSnapshotContents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error) { - result = &v1alpha1.VolumeGroupSnapshotContent{} - err = c.client.Get(). - Resource("volumegroupsnapshotcontents"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of VolumeGroupSnapshotContents that match those selectors. -func (c *volumeGroupSnapshotContents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.VolumeGroupSnapshotContentList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1alpha1.VolumeGroupSnapshotContentList{} - err = c.client.Get(). - Resource("volumegroupsnapshotcontents"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested volumeGroupSnapshotContents. -func (c *volumeGroupSnapshotContents) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Resource("volumegroupsnapshotcontents"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a volumeGroupSnapshotContent and creates it. Returns the server's representation of the volumeGroupSnapshotContent, and an error, if there is any. -func (c *volumeGroupSnapshotContents) Create(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.CreateOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error) { - result = &v1alpha1.VolumeGroupSnapshotContent{} - err = c.client.Post(). - Resource("volumegroupsnapshotcontents"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshotContent). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a volumeGroupSnapshotContent and updates it. Returns the server's representation of the volumeGroupSnapshotContent, and an error, if there is any. -func (c *volumeGroupSnapshotContents) Update(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error) { - result = &v1alpha1.VolumeGroupSnapshotContent{} - err = c.client.Put(). - Resource("volumegroupsnapshotcontents"). - Name(volumeGroupSnapshotContent.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshotContent). - Do(ctx). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *volumeGroupSnapshotContents) UpdateStatus(ctx context.Context, volumeGroupSnapshotContent *v1alpha1.VolumeGroupSnapshotContent, opts v1.UpdateOptions) (result *v1alpha1.VolumeGroupSnapshotContent, err error) { - result = &v1alpha1.VolumeGroupSnapshotContent{} - err = c.client.Put(). - Resource("volumegroupsnapshotcontents"). - Name(volumeGroupSnapshotContent.Name). - SubResource("status"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeGroupSnapshotContent). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the volumeGroupSnapshotContent and deletes it. Returns an error if one occurs. -func (c *volumeGroupSnapshotContents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { - return c.client.Delete(). - Resource("volumegroupsnapshotcontents"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *volumeGroupSnapshotContents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Resource("volumegroupsnapshotcontents"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched volumeGroupSnapshotContent. -func (c *volumeGroupSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.VolumeGroupSnapshotContent, err error) { - result = &v1alpha1.VolumeGroupSnapshotContent{} - err = c.client.Patch(pt). - Resource("volumegroupsnapshotcontents"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/doc.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/doc.go deleted file mode 100644 index 3f195da749..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/doc.go +++ /dev/null @@ -1,20 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -// This package has the automatically generated typed clients. -package v1 diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go deleted file mode 100644 index 97bf47644f..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/generated_expansion.go +++ /dev/null @@ -1,25 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1 - -type VolumeSnapshotExpansion interface{} - -type VolumeSnapshotClassExpansion interface{} - -type VolumeSnapshotContentExpansion interface{} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go deleted file mode 100644 index 71750804c0..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot.go +++ /dev/null @@ -1,195 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1 - -import ( - "context" - "time" - - v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - scheme "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// VolumeSnapshotsGetter has a method to return a VolumeSnapshotInterface. -// A group's client should implement this interface. -type VolumeSnapshotsGetter interface { - VolumeSnapshots(namespace string) VolumeSnapshotInterface -} - -// VolumeSnapshotInterface has methods to work with VolumeSnapshot resources. -type VolumeSnapshotInterface interface { - Create(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.CreateOptions) (*v1.VolumeSnapshot, error) - Update(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (*v1.VolumeSnapshot, error) - UpdateStatus(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (*v1.VolumeSnapshot, error) - Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error - Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshot, error) - List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotList, error) - Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshot, err error) - VolumeSnapshotExpansion -} - -// volumeSnapshots implements VolumeSnapshotInterface -type volumeSnapshots struct { - client rest.Interface - ns string -} - -// newVolumeSnapshots returns a VolumeSnapshots -func newVolumeSnapshots(c *SnapshotV1Client, namespace string) *volumeSnapshots { - return &volumeSnapshots{ - client: c.RESTClient(), - ns: namespace, - } -} - -// Get takes name of the volumeSnapshot, and returns the corresponding volumeSnapshot object, and an error if there is any. -func (c *volumeSnapshots) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VolumeSnapshot, err error) { - result = &v1.VolumeSnapshot{} - err = c.client.Get(). - Namespace(c.ns). - Resource("volumesnapshots"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of VolumeSnapshots that match those selectors. -func (c *volumeSnapshots) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VolumeSnapshotList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1.VolumeSnapshotList{} - err = c.client.Get(). - Namespace(c.ns). - Resource("volumesnapshots"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested volumeSnapshots. -func (c *volumeSnapshots) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Namespace(c.ns). - Resource("volumesnapshots"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a volumeSnapshot and creates it. Returns the server's representation of the volumeSnapshot, and an error, if there is any. -func (c *volumeSnapshots) Create(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.CreateOptions) (result *v1.VolumeSnapshot, err error) { - result = &v1.VolumeSnapshot{} - err = c.client.Post(). - Namespace(c.ns). - Resource("volumesnapshots"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshot). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a volumeSnapshot and updates it. Returns the server's representation of the volumeSnapshot, and an error, if there is any. -func (c *volumeSnapshots) Update(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (result *v1.VolumeSnapshot, err error) { - result = &v1.VolumeSnapshot{} - err = c.client.Put(). - Namespace(c.ns). - Resource("volumesnapshots"). - Name(volumeSnapshot.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshot). - Do(ctx). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *volumeSnapshots) UpdateStatus(ctx context.Context, volumeSnapshot *v1.VolumeSnapshot, opts metav1.UpdateOptions) (result *v1.VolumeSnapshot, err error) { - result = &v1.VolumeSnapshot{} - err = c.client.Put(). - Namespace(c.ns). - Resource("volumesnapshots"). - Name(volumeSnapshot.Name). - SubResource("status"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshot). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the volumeSnapshot and deletes it. Returns an error if one occurs. -func (c *volumeSnapshots) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { - return c.client.Delete(). - Namespace(c.ns). - Resource("volumesnapshots"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *volumeSnapshots) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Namespace(c.ns). - Resource("volumesnapshots"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched volumeSnapshot. -func (c *volumeSnapshots) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshot, err error) { - result = &v1.VolumeSnapshot{} - err = c.client.Patch(pt). - Namespace(c.ns). - Resource("volumesnapshots"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go deleted file mode 100644 index 56a6795a11..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshot_client.go +++ /dev/null @@ -1,117 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1 - -import ( - "net/http" - - v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - rest "k8s.io/client-go/rest" -) - -type SnapshotV1Interface interface { - RESTClient() rest.Interface - VolumeSnapshotsGetter - VolumeSnapshotClassesGetter - VolumeSnapshotContentsGetter -} - -// SnapshotV1Client is used to interact with features provided by the snapshot.storage.k8s.io group. -type SnapshotV1Client struct { - restClient rest.Interface -} - -func (c *SnapshotV1Client) VolumeSnapshots(namespace string) VolumeSnapshotInterface { - return newVolumeSnapshots(c, namespace) -} - -func (c *SnapshotV1Client) VolumeSnapshotClasses() VolumeSnapshotClassInterface { - return newVolumeSnapshotClasses(c) -} - -func (c *SnapshotV1Client) VolumeSnapshotContents() VolumeSnapshotContentInterface { - return newVolumeSnapshotContents(c) -} - -// NewForConfig creates a new SnapshotV1Client for the given config. -// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), -// where httpClient was generated with rest.HTTPClientFor(c). -func NewForConfig(c *rest.Config) (*SnapshotV1Client, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - httpClient, err := rest.HTTPClientFor(&config) - if err != nil { - return nil, err - } - return NewForConfigAndClient(&config, httpClient) -} - -// NewForConfigAndClient creates a new SnapshotV1Client for the given config and http client. -// Note the http client provided takes precedence over the configured transport values. -func NewForConfigAndClient(c *rest.Config, h *http.Client) (*SnapshotV1Client, error) { - config := *c - if err := setConfigDefaults(&config); err != nil { - return nil, err - } - client, err := rest.RESTClientForConfigAndClient(&config, h) - if err != nil { - return nil, err - } - return &SnapshotV1Client{client}, nil -} - -// NewForConfigOrDie creates a new SnapshotV1Client for the given config and -// panics if there is an error in the config. -func NewForConfigOrDie(c *rest.Config) *SnapshotV1Client { - client, err := NewForConfig(c) - if err != nil { - panic(err) - } - return client -} - -// New creates a new SnapshotV1Client for the given RESTClient. -func New(c rest.Interface) *SnapshotV1Client { - return &SnapshotV1Client{c} -} - -func setConfigDefaults(config *rest.Config) error { - gv := v1.SchemeGroupVersion - config.GroupVersion = &gv - config.APIPath = "/apis" - config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() - - if config.UserAgent == "" { - config.UserAgent = rest.DefaultKubernetesUserAgent() - } - - return nil -} - -// RESTClient returns a RESTClient that is used to communicate -// with API server by this client implementation. -func (c *SnapshotV1Client) RESTClient() rest.Interface { - if c == nil { - return nil - } - return c.restClient -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go deleted file mode 100644 index 1fbd3a1747..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotclass.go +++ /dev/null @@ -1,168 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1 - -import ( - "context" - "time" - - v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - scheme "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// VolumeSnapshotClassesGetter has a method to return a VolumeSnapshotClassInterface. -// A group's client should implement this interface. -type VolumeSnapshotClassesGetter interface { - VolumeSnapshotClasses() VolumeSnapshotClassInterface -} - -// VolumeSnapshotClassInterface has methods to work with VolumeSnapshotClass resources. -type VolumeSnapshotClassInterface interface { - Create(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.CreateOptions) (*v1.VolumeSnapshotClass, error) - Update(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.UpdateOptions) (*v1.VolumeSnapshotClass, error) - Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error - Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotClass, error) - List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotClassList, error) - Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotClass, err error) - VolumeSnapshotClassExpansion -} - -// volumeSnapshotClasses implements VolumeSnapshotClassInterface -type volumeSnapshotClasses struct { - client rest.Interface -} - -// newVolumeSnapshotClasses returns a VolumeSnapshotClasses -func newVolumeSnapshotClasses(c *SnapshotV1Client) *volumeSnapshotClasses { - return &volumeSnapshotClasses{ - client: c.RESTClient(), - } -} - -// Get takes name of the volumeSnapshotClass, and returns the corresponding volumeSnapshotClass object, and an error if there is any. -func (c *volumeSnapshotClasses) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VolumeSnapshotClass, err error) { - result = &v1.VolumeSnapshotClass{} - err = c.client.Get(). - Resource("volumesnapshotclasses"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of VolumeSnapshotClasses that match those selectors. -func (c *volumeSnapshotClasses) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VolumeSnapshotClassList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1.VolumeSnapshotClassList{} - err = c.client.Get(). - Resource("volumesnapshotclasses"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested volumeSnapshotClasses. -func (c *volumeSnapshotClasses) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Resource("volumesnapshotclasses"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a volumeSnapshotClass and creates it. Returns the server's representation of the volumeSnapshotClass, and an error, if there is any. -func (c *volumeSnapshotClasses) Create(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.CreateOptions) (result *v1.VolumeSnapshotClass, err error) { - result = &v1.VolumeSnapshotClass{} - err = c.client.Post(). - Resource("volumesnapshotclasses"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshotClass). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a volumeSnapshotClass and updates it. Returns the server's representation of the volumeSnapshotClass, and an error, if there is any. -func (c *volumeSnapshotClasses) Update(ctx context.Context, volumeSnapshotClass *v1.VolumeSnapshotClass, opts metav1.UpdateOptions) (result *v1.VolumeSnapshotClass, err error) { - result = &v1.VolumeSnapshotClass{} - err = c.client.Put(). - Resource("volumesnapshotclasses"). - Name(volumeSnapshotClass.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshotClass). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the volumeSnapshotClass and deletes it. Returns an error if one occurs. -func (c *volumeSnapshotClasses) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { - return c.client.Delete(). - Resource("volumesnapshotclasses"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *volumeSnapshotClasses) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Resource("volumesnapshotclasses"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched volumeSnapshotClass. -func (c *volumeSnapshotClasses) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotClass, err error) { - result = &v1.VolumeSnapshotClass{} - err = c.client.Patch(pt). - Resource("volumesnapshotclasses"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go b/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go deleted file mode 100644 index 389411c255..0000000000 --- a/vendor/github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/typed/volumesnapshot/v1/volumesnapshotcontent.go +++ /dev/null @@ -1,184 +0,0 @@ -/* -Copyright 2023 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Code generated by client-gen. DO NOT EDIT. - -package v1 - -import ( - "context" - "time" - - v1 "github.com/kubernetes-csi/external-snapshotter/client/v6/apis/volumesnapshot/v1" - scheme "github.com/kubernetes-csi/external-snapshotter/client/v6/clientset/versioned/scheme" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - types "k8s.io/apimachinery/pkg/types" - watch "k8s.io/apimachinery/pkg/watch" - rest "k8s.io/client-go/rest" -) - -// VolumeSnapshotContentsGetter has a method to return a VolumeSnapshotContentInterface. -// A group's client should implement this interface. -type VolumeSnapshotContentsGetter interface { - VolumeSnapshotContents() VolumeSnapshotContentInterface -} - -// VolumeSnapshotContentInterface has methods to work with VolumeSnapshotContent resources. -type VolumeSnapshotContentInterface interface { - Create(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.CreateOptions) (*v1.VolumeSnapshotContent, error) - Update(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (*v1.VolumeSnapshotContent, error) - UpdateStatus(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (*v1.VolumeSnapshotContent, error) - Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error - DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error - Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.VolumeSnapshotContent, error) - List(ctx context.Context, opts metav1.ListOptions) (*v1.VolumeSnapshotContentList, error) - Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) - Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotContent, err error) - VolumeSnapshotContentExpansion -} - -// volumeSnapshotContents implements VolumeSnapshotContentInterface -type volumeSnapshotContents struct { - client rest.Interface -} - -// newVolumeSnapshotContents returns a VolumeSnapshotContents -func newVolumeSnapshotContents(c *SnapshotV1Client) *volumeSnapshotContents { - return &volumeSnapshotContents{ - client: c.RESTClient(), - } -} - -// Get takes name of the volumeSnapshotContent, and returns the corresponding volumeSnapshotContent object, and an error if there is any. -func (c *volumeSnapshotContents) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.VolumeSnapshotContent, err error) { - result = &v1.VolumeSnapshotContent{} - err = c.client.Get(). - Resource("volumesnapshotcontents"). - Name(name). - VersionedParams(&options, scheme.ParameterCodec). - Do(ctx). - Into(result) - return -} - -// List takes label and field selectors, and returns the list of VolumeSnapshotContents that match those selectors. -func (c *volumeSnapshotContents) List(ctx context.Context, opts metav1.ListOptions) (result *v1.VolumeSnapshotContentList, err error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - result = &v1.VolumeSnapshotContentList{} - err = c.client.Get(). - Resource("volumesnapshotcontents"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Do(ctx). - Into(result) - return -} - -// Watch returns a watch.Interface that watches the requested volumeSnapshotContents. -func (c *volumeSnapshotContents) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) { - var timeout time.Duration - if opts.TimeoutSeconds != nil { - timeout = time.Duration(*opts.TimeoutSeconds) * time.Second - } - opts.Watch = true - return c.client.Get(). - Resource("volumesnapshotcontents"). - VersionedParams(&opts, scheme.ParameterCodec). - Timeout(timeout). - Watch(ctx) -} - -// Create takes the representation of a volumeSnapshotContent and creates it. Returns the server's representation of the volumeSnapshotContent, and an error, if there is any. -func (c *volumeSnapshotContents) Create(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.CreateOptions) (result *v1.VolumeSnapshotContent, err error) { - result = &v1.VolumeSnapshotContent{} - err = c.client.Post(). - Resource("volumesnapshotcontents"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshotContent). - Do(ctx). - Into(result) - return -} - -// Update takes the representation of a volumeSnapshotContent and updates it. Returns the server's representation of the volumeSnapshotContent, and an error, if there is any. -func (c *volumeSnapshotContents) Update(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (result *v1.VolumeSnapshotContent, err error) { - result = &v1.VolumeSnapshotContent{} - err = c.client.Put(). - Resource("volumesnapshotcontents"). - Name(volumeSnapshotContent.Name). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshotContent). - Do(ctx). - Into(result) - return -} - -// UpdateStatus was generated because the type contains a Status member. -// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus(). -func (c *volumeSnapshotContents) UpdateStatus(ctx context.Context, volumeSnapshotContent *v1.VolumeSnapshotContent, opts metav1.UpdateOptions) (result *v1.VolumeSnapshotContent, err error) { - result = &v1.VolumeSnapshotContent{} - err = c.client.Put(). - Resource("volumesnapshotcontents"). - Name(volumeSnapshotContent.Name). - SubResource("status"). - VersionedParams(&opts, scheme.ParameterCodec). - Body(volumeSnapshotContent). - Do(ctx). - Into(result) - return -} - -// Delete takes name of the volumeSnapshotContent and deletes it. Returns an error if one occurs. -func (c *volumeSnapshotContents) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { - return c.client.Delete(). - Resource("volumesnapshotcontents"). - Name(name). - Body(&opts). - Do(ctx). - Error() -} - -// DeleteCollection deletes a collection of objects. -func (c *volumeSnapshotContents) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { - var timeout time.Duration - if listOpts.TimeoutSeconds != nil { - timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second - } - return c.client.Delete(). - Resource("volumesnapshotcontents"). - VersionedParams(&listOpts, scheme.ParameterCodec). - Timeout(timeout). - Body(&opts). - Do(ctx). - Error() -} - -// Patch applies the patch and returns the patched volumeSnapshotContent. -func (c *volumeSnapshotContents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.VolumeSnapshotContent, err error) { - result = &v1.VolumeSnapshotContent{} - err = c.client.Patch(pt). - Resource("volumesnapshotcontents"). - Name(name). - SubResource(subresources...). - VersionedParams(&opts, scheme.ParameterCodec). - Body(data). - Do(ctx). - Into(result) - return -} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/LICENSE.txt b/vendor/github.com/oracle/oci-go-sdk/v65/LICENSE.txt index a8c3183743..fcc68fc59a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/LICENSE.txt +++ b/vendor/github.com/oracle/oci-go-sdk/v65/LICENSE.txt @@ -1,8 +1,8 @@ -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.  ____________________________ -Copyright (c) 2016, 2023 Oracle and/or its affiliates. +Copyright (c) 2016, 2026 Oracle and/or its affiliates. The Universal Permissive License (UPL), Version 1.0 @@ -39,7 +39,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Apache Software License, Version 2.0 -Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2016, Oracle and/or its affiliates. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); You may not use this product except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. A copy of the license is also reproduced below. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/NOTICE.txt b/vendor/github.com/oracle/oci-go-sdk/v65/NOTICE.txt index 55a68d59ce..42d987bdd9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/NOTICE.txt +++ b/vendor/github.com/oracle/oci-go-sdk/v65/NOTICE.txt @@ -1 +1 @@ -Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. \ No newline at end of file +Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. \ No newline at end of file diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go index af3c772e16..128dddb827 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/certificate_retriever.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go index 8c3bc3f135..797411afbc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go index c570f20a74..e4e662f2b1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/dispatcher_modifier.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go index e3805e3931..05d182c6c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Package auth provides supporting functions and structs for authentication @@ -133,6 +133,188 @@ func newStaticFederationClient(sessionToken string, supplier sessionKeySupplier) }, nil } +// oAuth2FederationClient retrieves a security token from the scoped OAuth endpoint in Auth Service +type oAuth2FederationClient struct { + sessionKeySupplier sessionKeySupplier + authClientKeyProvider common.KeyProvider + authClient *common.BaseClient + securityToken securityToken + lastRefresh time.Time + scope string + targetCompartment string + mux sync.Mutex +} + +var OAuthTokenStaleWindow = 20 * time.Minute + +// newOAuth2FederationClient creates a new oAuth2FederationClient from the provided configProvider and Auth request parameters +func newOAuth2FederationClient(configProvider common.ConfigurationProvider, scope string, targetCompartment string, sessionKeySupplier sessionKeySupplier) (federationClient, error) { + client := &oAuth2FederationClient{} + client.sessionKeySupplier = sessionKeySupplier + region, err := configProvider.Region() + if err != nil { + return nil, fmt.Errorf("failed to build OAuth Federation Client: %s", err.Error()) + } + authClient := newAuthClient(common.StringToRegion(region), configProvider, "v1/oauth2/scoped") + client.authClient = authClient + client.authClientKeyProvider = configProvider + client.scope = scope + client.targetCompartment = targetCompartment + return client, nil +} + +// KeyID calls the KeyID method of the auth provider given to the federation client +func (c *oAuth2FederationClient) KeyID() (string, error) { + return c.authClientKeyProvider.KeyID() +} + +// PrivateRSAKey calls the PrivateRSAKey method of the auth provider given to the federation client +func (c *oAuth2FederationClient) PrivateRSAKey() (*rsa.PrivateKey, error) { + return c.authClientKeyProvider.PrivateRSAKey() +} + +func (c *oAuth2FederationClient) GetClaim(key string) (interface{}, error) { + c.mux.Lock() + defer c.mux.Unlock() + + if err := c.renewKeyAndSecurityTokenIfNotValid(); err != nil { + return nil, err + } + return c.securityToken.GetClaim(key) +} + +// isTokenStale returns true if the JWT token is older than OAuthTokenStaleWindow +func (c *oAuth2FederationClient) isTokenStale() bool { + return c.lastRefresh.IsZero() || time.Now().After(c.lastRefresh.Add(OAuthTokenStaleWindow)) +} + +func (c *oAuth2FederationClient) renewKeyAndSecurityTokenIfNotValid() (err error) { + return c.renewSecurityTokenIfNotValid() +} + +func (c *oAuth2FederationClient) renewSecurityTokenIfNotValid() (err error) { + + // Get a new token if this one is stale (or nil), even if it is still valid + if c.securityToken == nil || c.isTokenStale() { + if err = c.renewSecurityToken(); err != nil { + if c.securityToken != nil && c.securityToken.Valid() { + // Token is stale but still valid. We failed to get a new token + // but we can still use the old one + common.Debugln("failed to refresh OAuth token. Using valid cached token") + return nil + } + + return fmt.Errorf("failed to refresh token: %s", err.Error()) + } + } + + // Token exists and is not stale, + // or token was stale and a new one was retrieved + return nil +} + +func (c *oAuth2FederationClient) renewSecurityToken() (err error) { + if err = c.sessionKeySupplier.Refresh(); err != nil { + return fmt.Errorf("failed to refresh session key: %s", err.Error()) + } + + common.Logf("Renewing security token at: %v\n", time.Now().Format("15:04:05.000")) + if newToken, err := c.getSecurityToken(); err != nil { + return fmt.Errorf("failed to get security token: %s", err.Error()) + } else { + // only update token if a new one was retrieved. + c.lastRefresh = time.Now() + c.securityToken = newToken + } + + common.Logf("Security token renewed at: %v\n", time.Now().Format("15:04:05.000")) + + return nil + +} + +func (c *oAuth2FederationClient) getSecurityToken() (securityToken, error) { + var err error + var httpRequest http.Request + var httpResponse *http.Response + defer common.CloseBodyIfValid(httpResponse) + for retry := 0; retry < 3; retry++ { + request := c.makeOAuthFederationRequest() + + if httpRequest, err = common.MakeDefaultHTTPRequestWithTaggedStruct(http.MethodPost, "", request); err != nil { + return nil, fmt.Errorf("failed to make http request: %s", err.Error()) + } + + if httpResponse, err = c.authClient.Call(context.Background(), &httpRequest); err == nil { + break + } + // Don't retry on 4xx errors + if httpResponse != nil && httpResponse.StatusCode >= 400 && httpResponse.StatusCode <= 499 { + return nil, fmt.Errorf("error %s returned by auth service: %s", httpResponse.Status, err.Error()) + } + nextDuration := time.Duration(1000.0*(math.Pow(2.0, float64(retry)))) * time.Millisecond + time.Sleep(nextDuration) + } + if err != nil { + return nil, fmt.Errorf("failed to call: %s", err.Error()) + } + + response := oAuthFederationResponse{} + if err = common.UnmarshalResponse(httpResponse, &response); err != nil { + return nil, fmt.Errorf("failed to unmarshal the response: %s", err.Error()) + } + + return newPrincipalToken(response.Token.Token) + +} + +type oAuthFederationRequest struct { + OAuthFederationDetails `contributesTo:"body"` +} + +// OAuthFederationDetails Scoped Oauth federation details +// The scope type should correspond to the type of config provider used to create +// the OAuth Federation Client +type OAuthFederationDetails struct { + Scope string `mandatory:"true" json:"scope,omitempty"` + PublicKey string `mandatory:"true" json:"public_key,omitempty"` + TargetCompartment string `mandatory:"true" json:"target_compartment,omitempty"` +} + +type oAuthFederationResponse struct { + Token `presentIn:"body"` +} + +func (c *oAuth2FederationClient) makeOAuthFederationRequest() *oAuthFederationRequest { + publicKey := sanitizeCertificateString(string(c.sessionKeySupplier.PublicKeyPemRaw())) + details := OAuthFederationDetails{ + Scope: c.scope, + PublicKey: publicKey, + TargetCompartment: c.targetCompartment, + } + return &oAuthFederationRequest{details} +} + +func (c *oAuth2FederationClient) PrivateKey() (*rsa.PrivateKey, error) { + c.mux.Lock() + defer c.mux.Unlock() + + if err := c.renewSecurityTokenIfNotValid(); err != nil { + return nil, err + } + return c.sessionKeySupplier.PrivateKey(), nil +} + +func (c *oAuth2FederationClient) SecurityToken() (token string, err error) { + c.mux.Lock() + defer c.mux.Unlock() + + if err = c.renewSecurityTokenIfNotValid(); err != nil { + return "", err + } + return c.securityToken.String(), nil +} + // x509FederationClient retrieves a security token from Auth service. type x509FederationClient struct { tenancyID string @@ -151,7 +333,7 @@ func newX509FederationClient(region common.Region, tenancyID string, leafCertifi intermediateCertificateRetrievers: intermediateCertificateRetrievers, } client.sessionKeySupplier = newSessionKeySupplier() - authClient := newAuthClient(region, client) + authClient := newAuthClient(region, client, "v1/x509") var err error @@ -176,7 +358,7 @@ func newX509FederationClientWithCerts(region common.Region, tenancyID string, le intermediateCertificateRetrievers: intermediateRetrievers, } client.sessionKeySupplier = newSessionKeySupplier() - authClient := newAuthClient(region, client) + authClient := newAuthClient(region, client, "v1/x509") var err error @@ -194,15 +376,16 @@ var ( bodyHeaders = []string{"content-length", "content-type", "x-content-sha256"} ) -func newAuthClient(region common.Region, provider common.KeyProvider) *common.BaseClient { +func newAuthClient(region common.Region, provider common.KeyProvider, authBasePath string) *common.BaseClient { signer := common.RequestSigner(provider, genericHeaders, bodyHeaders) client := common.DefaultBaseClientWithSigner(signer) + if regionURL, ok := os.LookupEnv("OCI_SDK_AUTH_CLIENT_REGION_URL"); ok { client.Host = regionURL } else { client.Host = region.Endpoint("auth") } - client.BasePath = "v1/x509" + client.BasePath = authBasePath if common.GlobalAuthClientCircuitBreakerSetting != nil { client.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.GlobalAuthClientCircuitBreakerSetting) @@ -217,7 +400,7 @@ func newAuthClient(region common.Region, provider common.KeyProvider) *common.Ba func (c *x509FederationClient) KeyID() (string, error) { tenancy := c.tenancyID fingerprint := fingerprint(c.leafCertificateRetriever.Certificate()) - return fmt.Sprintf("%s/fed-x509/%s", tenancy, fingerprint), nil + return fmt.Sprintf("%s/fed-x509-sha256/%s", tenancy, fingerprint), nil } // For authClient to sign requests to X509 Federation Endpoint @@ -343,6 +526,7 @@ type X509FederationDetails struct { Certificate string `mandatory:"true" json:"certificate,omitempty"` PublicKey string `mandatory:"true" json:"publicKey,omitempty"` IntermediateCertificates []string `mandatory:"false" json:"intermediateCertificates,omitempty"` + FingerprintAlgorithm string `mandatory:"false" json:"fingerprintAlgorithm,omitempty"` } type x509FederationResponse struct { @@ -366,6 +550,7 @@ func (c *x509FederationClient) makeX509FederationRequest() *x509FederationReques Certificate: certificate, PublicKey: publicKey, IntermediateCertificates: intermediateCertificates, + FingerprintAlgorithm: "SHA256", } return &x509FederationRequest{details} } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go index 517fbce051..d2a459f5e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -125,33 +125,39 @@ func (c *x509FederationClientForOkeWorkloadIdentity) getSecurityToken() (securit statusCode := response.StatusCode if statusCode != http.StatusOK { - return nil, fmt.Errorf("failed to get a RPST token from Proxymux: URL: %s, Status: %s, Message: %s", - c.proxymuxEndpoint, response.Status, body.String()) + if statusCode == http.StatusForbidden { + return nil, fmt.Errorf("please ensure the cluster type is enhanced: Status: %s, Message: %s", + response.Status, body.String()) + } else { + return nil, fmt.Errorf("failed to get a Workload Identity token. Status: %s, Message: %s. Please contact OKE team", + response.Status, body.String()) + } + } if _, err = body.ReadFrom(response.Body); err != nil { - return nil, fmt.Errorf("error reading body from Proxymux response: %s", err) + return nil, fmt.Errorf("error reading Workload Identity token generation response: %s. Please contact OKE team", err) } rawBody := body.String() rawBody = rawBody[1 : len(rawBody)-1] decodedBodyStr, err := base64.StdEncoding.DecodeString(rawBody) if err != nil { - return nil, fmt.Errorf("error decoding Proxymux response using base64 scheme: %s", err) + return nil, fmt.Errorf("error decoding Workload Identity token: %s. Please contact OKE team", err) } var parsedBody token err = json.Unmarshal(decodedBodyStr, &parsedBody) if err != nil { - return nil, fmt.Errorf("error parsing Proxymux response body: %s", err) + return nil, fmt.Errorf("error parsing Workload Identity token: %s. Please contact OKE team", err) } token := parsedBody.Token if len(token) == 0 { - return nil, fmt.Errorf("invalid (empty) token received from Proxymux") + return nil, fmt.Errorf("invalid (empty) Workload Identity token received. Please contact OKE team") } if len(token) < 3 { - return nil, fmt.Errorf("invalid token received from Proxymux") + return nil, fmt.Errorf("invalid Workload Identity token received. Please contact OKE team") } return newPrincipalToken(token[3:]) diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go index 83130748bc..94adec771d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_delegation_token_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go index a307de341c..0f365ab4da 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth @@ -7,9 +7,9 @@ import ( "bytes" "crypto/rsa" "fmt" + "math/rand" "net/http" "os" - "strings" "time" "github.com/oracle/oci-go-sdk/v65/common" @@ -18,7 +18,6 @@ import ( const ( defaultMetadataBaseURL = `http://169.254.169.254/opc/v2` metadataBaseURLEnvVar = `OCI_METADATA_BASE_URL` - metadataFallbackURL = `http://169.254.169.254/opc/v1` regionPath = `/instance/region` leafCertificatePath = `/identity/cert.pem` leafCertificateKeyPath = `/identity/key.pem` @@ -106,19 +105,19 @@ func newInstancePrincipalKeyProvider(modifier func(common.HTTPRequestDispatcher) func getRegionForFederationClient(dispatcher common.HTTPRequestDispatcher, url string) (r common.Region, err error) { var body bytes.Buffer var statusCode int - MaxRetriesFederationClient := 3 + MaxRetriesFederationClient := 8 for currTry := 0; currTry < MaxRetriesFederationClient; currTry++ { body, statusCode, err = httpGet(dispatcher, url) if err == nil && statusCode == 200 { return common.StringToRegion(body.String()), nil } common.Logf("Error in getting region from url: %s, Status code: %v, Error: %s", url, statusCode, err.Error()) - if statusCode == 404 && strings.Compare(url, getMetadataBaseURL()+regionPath) == 0 { - common.Logf("Falling back to http://169.254.169.254/opc/v1 to try again...\n") - updateX509CertRetrieverURLParas(metadataFallbackURL) - url = regionURL + nextDuration := time.Duration(float64(int(1)< 30*time.Second { + nextDuration = 30*time.Second + time.Duration(rand.Float64())*time.Second } - time.Sleep(1 * time.Second) + common.Logf("Retrying for getRegionForFederationClinet function, current retry count is:%v, sleep after %v", currTry+1, nextDuration) + time.Sleep(nextDuration) } return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go index 36d0631d80..a87706a02f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/jwt.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/oauth2_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/oauth2_provider.go new file mode 100644 index 0000000000..52a4efd9cf --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/oauth2_provider.go @@ -0,0 +1,82 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + +package auth + +import ( + "crypto/rsa" + "fmt" + + "github.com/oracle/oci-go-sdk/v65/common" +) + +// OAuth2ConfigurationProvider provides Oauth2 type authentication +type OAuth2ConfigurationProvider struct { + federationClient federationClient + sessionKeySupplier sessionKeySupplier + region string +} + +// NewOAuth2ConfigurationProvider builds an OAuth2ConfigurationProvider from an existing config provider, and auth endpoint parameters +// The config provider can be for instance, resource, or service principals. +func NewOAuth2ConfigurationProvider(configProvider common.ConfigurationProvider, scope string, targetCompartment string) (common.ConfigurationProvider, error) { + sessionKeySupplier := newSessionKeySupplier() + region, err := configProvider.Region() + if err != nil { + return nil, fmt.Errorf("failed to get region from configProvider: %s", err.Error()) + } + federationClient, err := newOAuth2FederationClient(configProvider, scope, targetCompartment, sessionKeySupplier) + if err != nil { + err = fmt.Errorf("failed to create auth provider: %w", err) + return nil, err + } + return &OAuth2ConfigurationProvider{ + federationClient: federationClient, + sessionKeySupplier: sessionKeySupplier, + region: region, + }, nil +} + +// KeyID checks if the current security token is valid, and retrieves a new token from Auth Service if not +func (p OAuth2ConfigurationProvider) KeyID() (string, error) { + var securityToken string + var err error + if securityToken, err = p.federationClient.SecurityToken(); err != nil { + err = fmt.Errorf("failed to get security token: %s", err.Error()) + return "", err + } + return fmt.Sprintf("ST$%s", securityToken), nil +} + +// PrivateRSAKey returns the private key of the session key supplier created for the OAuth Provider +func (p OAuth2ConfigurationProvider) PrivateRSAKey() (privateKey *rsa.PrivateKey, err error) { + if privateKey, err = p.federationClient.PrivateKey(); err != nil { + err = fmt.Errorf("failed to get private key: %s", err.Error()) + return nil, err + } + return privateKey, nil +} + +func (p OAuth2ConfigurationProvider) SecurityToken() (string, error) { + return p.federationClient.SecurityToken() +} + +func (p OAuth2ConfigurationProvider) TenancyOCID() (string, error) { + return "", nil +} + +func (p OAuth2ConfigurationProvider) UserOCID() (string, error) { + return "", nil +} + +func (p OAuth2ConfigurationProvider) KeyFingerprint() (string, error) { + return "", nil +} + +func (p OAuth2ConfigurationProvider) Region() (string, error) { + return p.region, nil +} + +func (p OAuth2ConfigurationProvider) AuthType() (common.AuthConfig, error) { + return common.AuthConfig{AuthType: common.OAuthDelegationToken}, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_delegation_token_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_delegation_token_provider.go index d83918fe02..d00c48a215 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_delegation_token_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_delegation_token_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_key_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_key_provider.go index 6ae1348d1d..9f2971aa42 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_key_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_key_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go index 2c958880f9..8407e00966 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principal_token_path_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go index d56b80ab48..eb7ab54662 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v1.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v3.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v3.go index 61ac2dbf94..47a985f048 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v3.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resource_principals_v3.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go index 444f3783bb..a92e001c5e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/utils.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package auth import ( "bytes" - "crypto/sha1" + "crypto/sha256" "crypto/x509" "fmt" "net/http" @@ -61,11 +61,11 @@ func extractTenancyIDFromCertificate(cert *x509.Certificate) string { } func fingerprint(certificate *x509.Certificate) string { - fingerprint := sha1.Sum(certificate.Raw) + fingerprint := sha256.Sum256(certificate.Raw) return colonSeparatedString(fingerprint) } -func colonSeparatedString(fingerprint [sha1.Size]byte) string { +func colonSeparatedString(fingerprint [sha256.Size]byte) string { spaceSeparated := fmt.Sprintf("% x", fingerprint) return strings.Replace(spaceSeparated, " ", ":", -1) } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go index b6635f0d48..34a68e1907 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go index 2ee83ae518..cfc115301b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Package common provides supporting functions and structs used by service packages @@ -19,6 +19,7 @@ import ( "path" "path/filepath" "reflect" + "regexp" "runtime" "strconv" "strings" @@ -122,6 +123,21 @@ const ( //defaultRefreshIntervalForCustomCerts is the default refresh interval in minutes defaultRefreshIntervalForCustomCerts = 30 + + // CustomClientTimeoutEnvVar allows the user to set the timeout in seconds to be used by each service client. + CustomClientTimeoutEnvVar = "OCI_CUSTOM_CLIENT_TIMEOUT" + + // Environment variable to check whether dual stack endpoints should be enabled + ociDualStackEndpointEnabledEnvVar = "OCI_DUAL_STACK_ENDPOINT_ENABLED" + + // String representing a single "phrase" of an endpoint template option + endpointTemplateOptionPhrase = "((\\w|\\.|\\-)+)" + + // Checks for template for endpoint options + patternForEndpointTemplateOptions = "\\{" + endpointTemplateOptionPhrase + "\\?((" + endpointTemplateOptionPhrase + ":" + endpointTemplateOptionPhrase + ")" + + "|(" + endpointTemplateOptionPhrase + ":\\s*)|(\\s*:" + endpointTemplateOptionPhrase + "))}" + + dualStackOption = "{dualStack" ) // OciGlobalRefreshIntervalForCustomCerts is the global policy for overriding the refresh interval in minutes. @@ -140,11 +156,24 @@ type HTTPRequestDispatcher interface { Do(req *http.Request) (*http.Response, error) } -// CustomClientConfiguration contains configurations set at client level, currently it only includes RetryPolicy +// CustomClientConfiguration contains configurations set at client level type CustomClientConfiguration struct { - RetryPolicy *RetryPolicy - CircuitBreaker *OciCircuitBreaker + + // Retry policy used on calls made by the client + RetryPolicy *RetryPolicy + + // The Circuit Breaker used to regulate calls made by the client + CircuitBreaker *OciCircuitBreaker + + // Allows user to decide if they want to use realm specific endpoints RealmSpecificServiceEndpointTemplateEnabled *bool + + // Allows user to decide if they want to use dual stack endpoints + EnableDualStackEndpoints *bool + + // Set on creation of the client, based on the below flag from the service spec + // x-obmcs-endpoint-template-options: dualStack: true/false + ServiceUsesDualStackByDefault *bool } // BaseClient struct implements all basic operations to call oci web services. @@ -190,6 +219,56 @@ func (client *BaseClient) Endpoint() string { return host } +func UpdateEndpointTemplateForOptions(client *BaseClient) { + templateRegex := regexp.MustCompile(patternForEndpointTemplateOptions) + templates := templateRegex.FindAllString(client.Host, -1) + for _, option := range templates { + optionParam := "" + optionEnabledParam := option[strings.Index(option, "?")+1 : strings.Index(option, ":")] + optionDisabledParam := option[strings.Index(option, ":")+1 : strings.Index(option, "}")] + + // Option case: Dual Stack Endpoints + if strings.Contains(option, dualStackOption) { + dualStackEnvVarValue := os.Getenv(ociDualStackEndpointEnabledEnvVar) + if client.IsServiceDualStackEnabledByDefault() { + if !client.IsDualStackEndpointEnabled() || (dualStackEnvVarValue != "" && strings.ToLower(dualStackEnvVarValue) == "false") { + optionParam = optionDisabledParam + } else { + optionParam = optionEnabledParam + } + } else { + if client.IsDualStackEndpointEnabled() || (dualStackEnvVarValue != "" && strings.ToLower(dualStackEnvVarValue) == "true") { + optionParam = optionEnabledParam + } else { + optionParam = optionDisabledParam + } + } + } + client.Host = strings.Replace(client.Host, option, optionParam, -1) + } +} + +// UseDualStackEndpointsByDefault sets whether dual stack endpoints are used by default +func (client *BaseClient) UseDualStackEndpointsByDefault(useByDefault bool) { + client.Configuration.EnableDualStackEndpoints = &useByDefault + client.Configuration.ServiceUsesDualStackByDefault = &useByDefault +} + +// EnableDualStackEndpoints sets whether dual stack endpoints should be used for this client +func (client *BaseClient) EnableDualStackEndpoints(EnableDualStack bool) { + client.Configuration.EnableDualStackEndpoints = &EnableDualStack +} + +// IsDualStackEndpointEnabled is used to check if Dual Stack Endpoints are Enabled +func (client *BaseClient) IsDualStackEndpointEnabled() bool { + return client.Configuration.EnableDualStackEndpoints != nil && *client.Configuration.EnableDualStackEndpoints +} + +// IsServiceDualStackEnabledByDefault is used to check if Dual Stack Endpoints enabled by default for the service of the client +func (client *BaseClient) IsServiceDualStackEnabledByDefault() bool { + return client.Configuration.ServiceUsesDualStackByDefault != nil && *client.Configuration.ServiceUsesDualStackByDefault +} + func defaultUserAgent() string { userAgent := fmt.Sprintf(defaultUserAgentTemplate, defaultSDKMarker, Version(), runtime.GOOS, runtime.GOARCH, runtime.Version()) appendUA := os.Getenv(appendUserAgentEnv) @@ -229,6 +308,8 @@ func newBaseClient(signer HTTPRequestSigner, dispatcher HTTPRequestDispatcher) B baseClient.Configuration.RetryPolicy = GlobalRetry } + baseClient.UseDualStackEndpointsByDefault(false) + return baseClient } @@ -242,8 +323,21 @@ func defaultHTTPDispatcher() http.Client { RefreshRate: time.Duration(refreshInterval) * time.Minute, TLSConfigProvider: GetTLSConfigTemplateForTransport(), } + + // Set client timeout to default or value set in environment variable + clientTimeout := defaultTimeout + if customTimeout := os.Getenv(CustomClientTimeoutEnvVar); customTimeout != "" { + if timeInSeconds, err := strconv.Atoi(customTimeout); err != nil || timeInSeconds < 0 { + Logf("WARNING: %s set but could not be converted to a postive integer", CustomClientTimeoutEnvVar) + } else { + Debugf("Using custom client timeout of %s seconds", customTimeout) + clientTimeout = time.Duration(timeInSeconds) * time.Second + } + } + + // Create the underlying HTTP client httpClient = http.Client{ - Timeout: defaultTimeout, + Timeout: clientTimeout, Transport: tp, } return httpClient @@ -431,7 +525,7 @@ func (client *BaseClient) prepareRequest(request *http.Request) (err error) { request.URL.Host = clientURL.Host request.URL.Scheme = clientURL.Scheme currentPath := request.URL.Path - if !strings.Contains(currentPath, fmt.Sprintf("/%s", client.BasePath)) { + if !strings.HasPrefix(currentPath, fmt.Sprintf("/%s", client.BasePath)) { request.URL.Path = path.Clean(fmt.Sprintf("/%s/%s", client.BasePath, currentPath)) err := setRawPath(request.URL) if err != nil { diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go index 51deac4ea0..90d5494b21 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -12,6 +12,7 @@ import ( "path/filepath" "regexp" "strings" + "sync" "time" ) @@ -53,9 +54,18 @@ var getRegionInfoFromInstanceMetadataService = getRegionInfoFromInstanceMetadata // OciRealmSpecificServiceEndpointTemplateEnabled is the flag to enable the realm specific service endpoint template. This one has higher priority than the environment variable. var OciRealmSpecificServiceEndpointTemplateEnabled *bool = nil +// reNonWord precomiles the regex once at the package scope +var reNonWord = regexp.MustCompile(`[^\w]`) + // OciSdkEnabledServicesMap is a list of services that are enabled, default is an empty list which means all services are enabled var OciSdkEnabledServicesMap map[string]bool +// OciSdkEnabledServicesOnce is a sync.Once variable to ensure the OciSdkEnabledServicesMap is initialized only once +var OciSdkEnabledServicesOnce sync.Once + +// OciSdkEnabledServicesMu is a mutex to protect access to the OciSdkEnabledServicesMap +var OciSdkEnabledServicesMu sync.RWMutex + // OciDeveloperToolConfigurationFilePathEnvVar is the environment variable name for the OCI Developer Tool Config File Path const OciDeveloperToolConfigurationFilePathEnvVar = "OCI_DEVELOPER_TOOL_CONFIGURATION_FILE_PATH" @@ -79,7 +89,7 @@ func (region Region) Endpoint(service string) string { if strings.Contains(string(region), ".") { return fmt.Sprintf("%s.%s", service, region) } - return fmt.Sprintf("%s.%s.%s", service, region, region.secondLevelDomain()) + return fmt.Sprintf("%s.%s.%s", service, region, region.SecondLevelDomain()) } // EndpointForTemplate returns a endpoint for a service based on template, only unknown region name can fall back to "oc1", but not short code region name. @@ -105,7 +115,7 @@ func (region Region) EndpointForTemplate(service string, serviceEndpointTemplate endpoint = strings.Replace(endpoint, "{region}", string(region), 1) // replace second level domain - endpoint = strings.Replace(endpoint, "{secondLevelDomain}", region.secondLevelDomain(), 1) + endpoint = strings.Replace(endpoint, "{secondLevelDomain}", region.SecondLevelDomain(), 1) return endpoint } @@ -148,7 +158,7 @@ func (region Region) EndpointForTemplateDottedRegion(service string, serviceEndp return "", fmt.Errorf("EndpointForTemplateDottedRegion function requires endpointServiceName or serviceEndpointTemplate, no endpointServiceName or serviceEndpointTemplate provided") } -func (region Region) secondLevelDomain() string { +func (region Region) SecondLevelDomain() string { if realmID, ok := regionRealm[region]; ok { if secondLevelDomain, ok := realm[realmID]; ok { return secondLevelDomain @@ -585,13 +595,19 @@ func getOciSdkEnabledServicesMap() map[string]bool { // AddServiceToEnabledServicesMap adds the service to the enabledServiceMap // The service name will auto transit to lower case and remove all the non-word characters. +// Concurrency (goroutine-safe). The map is initialized with sync.Once, and writes are protected by a RWMutex. func AddServiceToEnabledServicesMap(serviceName string) { - if OciSdkEnabledServicesMap == nil { - OciSdkEnabledServicesMap = make(map[string]bool) - } - re, _ := regexp.Compile(`[^\w]`) + OciSdkEnabledServicesOnce.Do(func() { + OciSdkEnabledServicesMap = getOciSdkEnabledServicesMap() + if OciSdkEnabledServicesMap == nil { + OciSdkEnabledServicesMap = make(map[string]bool) + } + }) serviceName = strings.ToLower(serviceName) - serviceName = re.ReplaceAllString(serviceName, "") + serviceName = reNonWord.ReplaceAllString(serviceName, "") + + OciSdkEnabledServicesMu.Lock() + defer OciSdkEnabledServicesMu.Unlock() OciSdkEnabledServicesMap[serviceName] = true } @@ -599,18 +615,28 @@ func AddServiceToEnabledServicesMap(serviceName string) { // It will first check if the map is initialized, if not, it will initialize the map. // If the map is empty, it means all the services are enabled. // If the map is not empty, it means only the services in the map and value is true are enabled. +// Concurrency (goroutine-safe). Initialization uses sync.Once and reads are protected by a RWMutex. func CheckForEnabledServices(serviceName string) bool { - if OciSdkEnabledServicesMap == nil { + OciSdkEnabledServicesOnce.Do(func() { OciSdkEnabledServicesMap = getOciSdkEnabledServicesMap() - } + if OciSdkEnabledServicesMap == nil { + OciSdkEnabledServicesMap = make(map[string]bool) + } + }) serviceName = strings.ToLower(serviceName) + serviceName = reNonWord.ReplaceAllString(serviceName, "") + + OciSdkEnabledServicesMu.RLock() + defer OciSdkEnabledServicesMu.RUnlock() + if len(OciSdkEnabledServicesMap) == 0 { return true } - if _, ok := OciSdkEnabledServicesMap[serviceName]; !ok { + allowed, ok := OciSdkEnabledServicesMap[serviceName] + if !ok { return false } - return OciSdkEnabledServicesMap[serviceName] + return allowed } // CheckAllowOnlyDeveloperToolConfigurationRegions checks if only developer tool configuration regions are allowed diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go index d499523fb9..17b20de94c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -27,6 +27,8 @@ const ( InstancePrincipalDelegationToken AuthenticationType = "instance_principle_delegation_token" // ResourcePrincipalDelegationToken is used for resource principal delegation token auth type ResourcePrincipalDelegationToken AuthenticationType = "resource_principle_delegation_token" + // OAuth2DelegationToken is used for oauth delegation token auth type + OAuthDelegationToken AuthenticationType = "oauth_delegation_token" // UnknownAuthenticationType is used for none meaningful auth type UnknownAuthenticationType AuthenticationType = "unknown_auth_type" ) diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go index 26692c09b6..007d9ba92c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -25,7 +25,7 @@ type ServiceError interface { GetMessage() string // A short error code that defines the error, meant for programmatic parsing. - // See https://docs.cloud.oracle.com/Content/API/References/apierrors.htm + // See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm GetCode() string // Unique Oracle-assigned identifier for the request. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go index 39d25df034..282b5f65af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/eventual_consistency.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go index 0b0916938b..db6c1e9924 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. //lint:file-ignore SA1019 older versions of staticcheck (those compatible with Golang 1.17) falsely flag x509.IsEncryptedPEMBlock and x509.DecryptPEMBlock. @@ -10,6 +10,7 @@ import ( "crypto/rsa" "crypto/x509" "encoding/pem" + "errors" "fmt" "net/textproto" "os" @@ -17,6 +18,8 @@ import ( "strconv" "strings" "time" + + "github.com/youmark/pkcs8" ) // String returns a pointer to the provided string @@ -222,24 +225,30 @@ func PrivateKeyFromBytes(pemData []byte, password *string) (key *rsa.PrivateKey, // PrivateKeyFromBytesWithPassword is a helper function that will produce a RSA private // key from bytes and a password. func PrivateKeyFromBytesWithPassword(pemData, password []byte) (key *rsa.PrivateKey, e error) { - if pemBlock, _ := pem.Decode(pemData); pemBlock != nil { - decrypted := pemBlock.Bytes - if x509.IsEncryptedPEMBlock(pemBlock) { - if password == nil { - e = fmt.Errorf("private key password is required for encrypted private keys") - return - } - if decrypted, e = x509.DecryptPEMBlock(pemBlock, password); e != nil { - return - } - } - - key, e = parsePKCSPrivateKey(decrypted) - - } else { + pemBlock, _ := pem.Decode(pemData) + if pemBlock == nil { e = fmt.Errorf("PEM data was not found in buffer") return } + + decrypted := pemBlock.Bytes + // Support for encrypted PKCS8 format, this format can not be handled by x509.IsEncryptedPEMBlock func + if key, e = pkcs8.ParsePKCS8PrivateKeyRSA(pemBlock.Bytes, password); key != nil { + return + } + // if pemBlock.Type == "ENCRYPTED PRIVATE KEY" { + // return pkcs8.ParsePKCS8PrivateKeyRSA(pemData, password) + // } + if x509.IsEncryptedPEMBlock(pemBlock) { + if password == nil { + return nil, errors.New("private key password is required for encrypted private keys") + } + + if decrypted, e = x509.DecryptPEMBlock(pemBlock, password); e != nil { + return + } + } + key, e = parsePKCSPrivateKey(decrypted) return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go index 1f57b3a6fb..1718152446 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -22,6 +22,10 @@ import ( const ( //UsingExpectHeaderEnvVar is the key to determine whether expect 100-continue is enabled or not UsingExpectHeaderEnvVar = "OCI_GOSDK_USING_EXPECT_HEADER" + //EncodePathParamsEnvVar determines if special characters in path params such as / and & are URL encoded + EncodePathParamsEnvVar = "OCI_GOSDK_ENCODE_PATH_PARAMS" + // EscapeJSONToASCIIEnvVar determines if non-ASCII characters in JSON strings are escaped + EscapeJSONToASCIIEnvVar = "OCI_GOSDK_ESCAPE_JSON_ASCII" ) /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// @@ -255,6 +259,49 @@ func removeNilFieldsInJSONWithTaggedStruct(rawJSON []byte, value reflect.Value) return json.Marshal(fixedMap) } +// escapeJSONToASCII takes a JSON payload and returns an equivalent JSON where all string values are escaped to ASCII +func escapeJSONToASCII(rawJSON []byte) ([]byte, error) { + var rawInterface interface{} + decoder := json.NewDecoder(bytes.NewReader(rawJSON)) + decoder.UseNumber() + if err := decoder.Decode(&rawInterface); err != nil { + return nil, err + } + + // transform recursively visits the JSON value: + // - For objects (map[string[interface{}]]), recurse on each value + // - For arrays ([]interface{}), recurse on each element + // - For strings, produce a JSON-quoted ASCII-only representation + // - For other types, return as is + var transform func(interface{}) interface{} + transform = func(x interface{}) interface{} { + switch t := x.(type) { + case map[string]interface{}: + m := make(map[string]interface{}, len(t)) + for key, val := range t { + m[key] = transform(val) + } + return m + case []interface{}: + s := make([]interface{}, len(t)) + for i, val := range t { + s[i] = transform(val) + } + return s + case string: + // QuoteToASCII returns a 'quoted' JSON string containing only ASCII characters + // ex: input: "ハッピー" -> "\"\\u30cf\\u30c3\\u30d4\\u30fc\"" + // Returns as json.RawMessage so it gets embedded directly + q := strconv.AppendQuoteToASCII(nil, t) + return json.RawMessage(q) + default: + return x + } + } + + return json.Marshal(transform(rawInterface)) +} + func addToBody(request *http.Request, value reflect.Value, field reflect.StructField, binaryBodySpecified *bool) (e error) { Debugln("Marshaling to body from field:", field.Name) if request.Body != nil { @@ -277,6 +324,13 @@ func addToBody(request *http.Request, value reflect.Value, field reflect.StructF return } + if IsEnvVarTrue(EscapeJSONToASCIIEnvVar) { + marshaled, e = escapeJSONToASCII(marshaled) + if e != nil { + return + } + } + if defaultLogger.LogLevel() == verboseLogging { Debugf("Marshaled body is: %s\n", string(marshaled)) } @@ -461,6 +515,11 @@ func addToPath(request *http.Request, value reflect.Value, field reflect.StructF return fmt.Errorf("value cannot be empty for field %s in path", field.Name) } + // encode path param if EncodePathParamsEnvVar is set + if IsEnvVarTrue(EncodePathParamsEnvVar) { + additionalURLPathPart = url.PathEscape(additionalURLPathPart) + } + if request.URL == nil { request.URL = &url.URL{} request.URL.Path = "" @@ -526,8 +585,29 @@ func addToHeader(request *http.Request, value reflect.Value, field reflect.Struc } //Otherwise get value and set header - if headerValue, e = toStringValue(value, field); e != nil { - return + encoding := strings.ToLower(field.Tag.Get("collectionFormat")) + var collectionFormatStringValues []string + switch encoding { + case "csv", "multi": + if value.Kind() != reflect.Slice && value.Kind() != reflect.Array { + e = fmt.Errorf("header is tagged as csv or multi yet its type is neither an Array nor a Slice: %s", field.Name) + return + } + + numOfElements := value.Len() + collectionFormatStringValues = make([]string, numOfElements) + for i := 0; i < numOfElements; i++ { + collectionFormatStringValues[i], e = toStringValue(value.Index(i), field) + if e != nil { + Debugf("Header element could not be marshalled to a string: %w", e) + return + } + } + headerValue = strings.Join(collectionFormatStringValues, ",") + default: + if headerValue, e = toStringValue(value, field); e != nil { + return + } } if e = setWellKnownHeaders(request, headerName, headerValue, contentLenSpecified); e != nil { diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go index d27d4e42ec..43e0692e5b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/log.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/log.go index ea3c496c25..dfe628284e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/log.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/log.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/oci_http_transport_wrapper.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/oci_http_transport_wrapper.go index b589aca051..bbce7df2f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/oci_http_transport_wrapper.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/oci_http_transport_wrapper.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.go index 98075ae994..ea08988af4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common @@ -84,6 +84,18 @@ const ( RegionAPSingapore2 Region = "ap-singapore-2" //RegionMERiyadh1 region Riyadh RegionMERiyadh1 Region = "me-riyadh-1" + //RegionAPDelhi1 region Delhi + RegionAPDelhi1 Region = "ap-delhi-1" + //RegionAPBatam1 region Batam + RegionAPBatam1 Region = "ap-batam-1" + //RegionEUMadrid3 region Madrid + RegionEUMadrid3 Region = "eu-madrid-3" + //RegionEUTurin1 region Turin + RegionEUTurin1 Region = "eu-turin-1" + //RegionAPKulai2 region Kulai + RegionAPKulai2 Region = "ap-kulai-2" + //RegionAFCasablanca1 region Casablanca + RegionAFCasablanca1 Region = "af-casablanca-1" //RegionUSLangley1 region Langley RegionUSLangley1 Region = "us-langley-1" //RegionUSLuke1 region Luke @@ -104,6 +116,8 @@ const ( RegionAPIbaraki1 Region = "ap-ibaraki-1" //RegionMEDccMuscat1 region Muscat RegionMEDccMuscat1 Region = "me-dcc-muscat-1" + //RegionMEIbri1 region Ibri + RegionMEIbri1 Region = "me-ibri-1" //RegionAPDccCanberra1 region Canberra RegionAPDccCanberra1 Region = "ap-dcc-canberra-1" //RegionEUDccMilan1 region Milan @@ -150,6 +164,14 @@ const ( RegionAPSuwon1 Region = "ap-suwon-1" //RegionAPChuncheon2 region Chuncheon RegionAPChuncheon2 Region = "ap-chuncheon-2" + //RegionUSAshburn2 region Ashburn + RegionUSAshburn2 Region = "us-ashburn-2" + //RegionUSNewark1 region Newark + RegionUSNewark1 Region = "us-newark-1" + //RegionEUBudapest1 region Budapest + RegionEUBudapest1 Region = "eu-budapest-1" + //RegionSARiodejaneiro1 region Riodejaneiro + RegionSARiodejaneiro1 Region = "sa-riodejaneiro-1" ) var shortNameRegion = map[string]Region{ @@ -193,6 +215,12 @@ var shortNameRegion = map[string]Region{ "vap": RegionSAValparaiso1, "xsp": RegionAPSingapore2, "ruh": RegionMERiyadh1, + "onm": RegionAPDelhi1, + "hsg": RegionAPBatam1, + "orf": RegionEUMadrid3, + "nrq": RegionEUTurin1, + "jbp": RegionAPKulai2, + "lej": RegionAFCasablanca1, "lfi": RegionUSLangley1, "luf": RegionUSLuke1, "ric": RegionUSGovAshburn1, @@ -203,6 +231,7 @@ var shortNameRegion = map[string]Region{ "nja": RegionAPChiyoda1, "ukb": RegionAPIbaraki1, "mct": RegionMEDccMuscat1, + "ibr": RegionMEIbri1, "wga": RegionAPDccCanberra1, "bgy": RegionEUDccMilan1, "mxp": RegionEUDccMilan2, @@ -226,6 +255,10 @@ var shortNameRegion = map[string]Region{ "dtz": RegionAPSeoul2, "dln": RegionAPSuwon1, "bno": RegionAPChuncheon2, + "yxj": RegionUSAshburn2, + "pgc": RegionUSNewark1, + "jsk": RegionEUBudapest1, + "hnw": RegionSARiodejaneiro1, } var realm = map[string]string{ @@ -246,6 +279,9 @@ var realm = map[string]string{ "oc26": "oraclecloud26.com", "oc29": "oraclecloud29.com", "oc35": "oraclecloud35.com", + "oc42": "oraclecloud42.com", + "oc51": "oraclecloud51.com", + "oc52": "oraclecloud52.com", } var regionRealm = map[Region]string{ @@ -289,6 +325,12 @@ var regionRealm = map[Region]string{ RegionSAValparaiso1: "oc1", RegionAPSingapore2: "oc1", RegionMERiyadh1: "oc1", + RegionAPDelhi1: "oc1", + RegionAPBatam1: "oc1", + RegionEUMadrid3: "oc1", + RegionEUTurin1: "oc1", + RegionAPKulai2: "oc1", + RegionAFCasablanca1: "oc1", RegionUSLangley1: "oc2", RegionUSLuke1: "oc2", @@ -304,6 +346,7 @@ var regionRealm = map[Region]string{ RegionAPIbaraki1: "oc8", RegionMEDccMuscat1: "oc9", + RegionMEIbri1: "oc9", RegionAPDccCanberra1: "oc10", @@ -338,4 +381,11 @@ var regionRealm = map[Region]string{ RegionAPSeoul2: "oc35", RegionAPSuwon1: "oc35", RegionAPChuncheon2: "oc35", + + RegionUSAshburn2: "oc42", + RegionUSNewark1: "oc42", + + RegionEUBudapest1: "oc51", + + RegionSARiodejaneiro1: "oc52", } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.json b/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.json index 84ffa621cd..4c5c771817 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.json +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/regions.json @@ -436,5 +436,71 @@ "realmKey": "oc26", "regionIdentifier": "me-alain-1", "realmDomainComponent": "oraclecloud26.com" + }, + { + "regionKey": "yxj", + "realmKey": "oc42", + "regionIdentifier": "us-ashburn-2", + "realmDomainComponent": "oraclecloud42.com" + }, + { + "regionKey": "onm", + "realmKey": "oc1", + "regionIdentifier": "ap-delhi-1", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "hsg", + "realmKey": "oc1", + "regionIdentifier": "ap-batam-1", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "pgc", + "realmKey": "oc42", + "regionIdentifier": "us-newark-1", + "realmDomainComponent": "oraclecloud42.com" + }, + { + "regionKey": "jsk", + "realmKey": "oc51", + "regionIdentifier": "eu-budapest-1", + "realmDomainComponent": "oraclecloud51.com" + }, + { + "regionKey": "ibr", + "realmKey": "oc9", + "regionIdentifier": "me-ibri-1", + "realmDomainComponent": "oraclecloud9.com" + }, + { + "regionKey": "orf", + "realmKey": "oc1", + "regionIdentifier": "eu-madrid-3", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "nrq", + "realmKey": "oc1", + "regionIdentifier": "eu-turin-1", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "hnw", + "realmKey": "oc52", + "regionIdentifier": "sa-riodejaneiro-1", + "realmDomainComponent": "oraclecloud52.com" + }, + { + "regionKey": "jbp", + "realmKey": "oc1", + "regionIdentifier": "ap-kulai-2", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "lej", + "realmKey": "oc1", + "regionIdentifier": "af-casablanca-1", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go index b9ee0946dd..903324b00e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/sseReader.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/sseReader.go index 45e224b426..850cd35638 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/sseReader.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/sseReader.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/tls_config_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/tls_config_provider.go index 13dc76f111..d01ec07d7c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/tls_config_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/tls_config_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/transport_template_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/transport_template_provider.go index 260c1ef8cb..f37ab0f0dc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/transport_template_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/transport_template_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. package common diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go index d82f0bf5e7..db32933834 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go @@ -6,7 +6,7 @@ import ( "fmt" ) -// GenerateOpcRequestID - Reference: https://confluence.oci.oraclecorp.com/display/DEX/Request+IDs +// GenerateOpcRequestID - // Maximum segment length: 32 characters // Allowed segment contents: regular expression pattern /^[a-zA-Z0-9]{0,32}$/ func GenerateOpcRequestID() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/version.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/version.go index af27c28086..14e6940eb3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/common/version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/version.go @@ -12,7 +12,7 @@ import ( const ( major = "65" - minor = "79" + minor = "109" patch = "0" tag = "" ) diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go index d7944957ed..d7f764335f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/add_on_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m AddOnOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go index c6247ce6ad..0b57d55669 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -56,7 +56,7 @@ func (m Addon) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go index 4d79d670b8..d54478ff1a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m AddonConfiguration) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go index 2f10b7f933..aece8cbf89 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -20,7 +20,7 @@ import ( // AddonError The error info of the addon. type AddonError struct { - // A short error code that defines the upstream error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). + // A short error code that defines the upstream error, meant for programmatic parsing. See API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"false" json:"code"` // A human-readable error string of the upstream error. @@ -41,7 +41,7 @@ func (m AddonError) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go index e7339e90ce..edce21881b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go index 46210220f7..ed09ec5de4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_option_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -42,12 +42,12 @@ type AddonOptionSummary struct { Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -73,7 +73,7 @@ func (m AddonOptionSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go index aaf7c03f3f..f412a1f571 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -53,7 +53,7 @@ func (m AddonSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go index 8c8d9c3eef..70a3a27232 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_version_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m AddonVersionConfiguration) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go index 2296534d31..aa87f92e79 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/addon_versions.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -50,7 +50,7 @@ func (m AddonVersions) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetAddonVersionsStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go index d80d33ca8c..516c8ef2c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/admission_controller_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -35,7 +35,7 @@ func (m AdmissionControllerOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go index 65f3d4dd43..e3975e073c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -43,12 +43,12 @@ type Cluster struct { KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -62,7 +62,7 @@ type Cluster struct { // Metadata about the cluster. Metadata *ClusterMetadata `mandatory:"false" json:"metadata"` - // The state of the cluster masters. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // The state of the cluster masters. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Details about the state of the cluster masters. @@ -85,6 +85,9 @@ type Cluster struct { // The cluster-specific OpenID Connect Discovery endpoint OpenIdConnectDiscoveryEndpoint *string `mandatory:"false" json:"openIdConnectDiscoveryEndpoint"` + + // The cluster-specific OpenID Connect Discovery Key to derive the DiscoveryEndpoint + OpenIdConnectDiscoveryKey *string `mandatory:"false" json:"openIdConnectDiscoveryKey"` } func (m Cluster) String() string { @@ -104,7 +107,7 @@ func (m Cluster) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -132,6 +135,7 @@ func (m *Cluster) UnmarshalJSON(data []byte) (e error) { ClusterPodNetworkOptions []clusterpodnetworkoptiondetails `json:"clusterPodNetworkOptions"` Type ClusterTypeEnum `json:"type"` OpenIdConnectDiscoveryEndpoint *string `json:"openIdConnectDiscoveryEndpoint"` + OpenIdConnectDiscoveryKey *string `json:"openIdConnectDiscoveryKey"` }{} e = json.Unmarshal(data, &model) @@ -189,5 +193,7 @@ func (m *Cluster) UnmarshalJSON(data []byte) (e error) { m.OpenIdConnectDiscoveryEndpoint = model.OpenIdConnectDiscoveryEndpoint + m.OpenIdConnectDiscoveryKey = model.OpenIdConnectDiscoveryKey + return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go index e9c0a3dac1..e3cf51bb10 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_create_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -23,6 +23,9 @@ type ClusterCreateOptions struct { // The OCIDs of the subnets used for Kubernetes services load balancers. ServiceLbSubnetIds []string `mandatory:"false" json:"serviceLbSubnetIds"` + // IP family to use for single stack or define the order of IP families for dual-stack + IpFamilies []ClusterCreateOptionsIpFamiliesEnum `mandatory:"false" json:"ipFamilies,omitempty"` + // Network configuration for Kubernetes. KubernetesNetworkConfig *KubernetesNetworkConfig `mandatory:"false" json:"kubernetesNetworkConfig"` @@ -51,8 +54,56 @@ func (m ClusterCreateOptions) String() string { func (m ClusterCreateOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} + for _, val := range m.IpFamilies { + if _, ok := GetMappingClusterCreateOptionsIpFamiliesEnum(string(val)); !ok && val != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpFamilies: %s. Supported values are: %s.", val, strings.Join(GetClusterCreateOptionsIpFamiliesEnumStringValues(), ","))) + } + } + if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// ClusterCreateOptionsIpFamiliesEnum Enum with underlying type: string +type ClusterCreateOptionsIpFamiliesEnum string + +// Set of constants representing the allowable values for ClusterCreateOptionsIpFamiliesEnum +const ( + ClusterCreateOptionsIpFamiliesIpv4 ClusterCreateOptionsIpFamiliesEnum = "IPv4" + ClusterCreateOptionsIpFamiliesIpv6 ClusterCreateOptionsIpFamiliesEnum = "IPv6" +) + +var mappingClusterCreateOptionsIpFamiliesEnum = map[string]ClusterCreateOptionsIpFamiliesEnum{ + "IPv4": ClusterCreateOptionsIpFamiliesIpv4, + "IPv6": ClusterCreateOptionsIpFamiliesIpv6, +} + +var mappingClusterCreateOptionsIpFamiliesEnumLowerCase = map[string]ClusterCreateOptionsIpFamiliesEnum{ + "ipv4": ClusterCreateOptionsIpFamiliesIpv4, + "ipv6": ClusterCreateOptionsIpFamiliesIpv6, +} + +// GetClusterCreateOptionsIpFamiliesEnumValues Enumerates the set of values for ClusterCreateOptionsIpFamiliesEnum +func GetClusterCreateOptionsIpFamiliesEnumValues() []ClusterCreateOptionsIpFamiliesEnum { + values := make([]ClusterCreateOptionsIpFamiliesEnum, 0) + for _, v := range mappingClusterCreateOptionsIpFamiliesEnum { + values = append(values, v) + } + return values +} + +// GetClusterCreateOptionsIpFamiliesEnumStringValues Enumerates the set of values in String for ClusterCreateOptionsIpFamiliesEnum +func GetClusterCreateOptionsIpFamiliesEnumStringValues() []string { + return []string{ + "IPv4", + "IPv6", + } +} + +// GetMappingClusterCreateOptionsIpFamiliesEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingClusterCreateOptionsIpFamiliesEnum(val string) (ClusterCreateOptionsIpFamiliesEnum, bool) { + enum, ok := mappingClusterCreateOptionsIpFamiliesEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go index 4d2db14a0a..4dd6ebbf78 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoint_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m ClusterEndpointConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go index d0b7e5bc56..31138360db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_endpoints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -32,6 +32,9 @@ type ClusterEndpoints struct { // The FQDN assigned to the Kubernetes API private endpoint. // Example: 'https://yourVcnHostnameEndpoint' VcnHostnameEndpoint *string `mandatory:"false" json:"vcnHostnameEndpoint"` + + // The IPv6 networking Kubernetes API server endpoint. + Ipv6Endpoint *string `mandatory:"false" json:"ipv6Endpoint"` } func (m ClusterEndpoints) String() string { @@ -45,7 +48,7 @@ func (m ClusterEndpoints) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go index 67cb898583..684c8a54c7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go index 25a4ddce7f..5524f5f221 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_metadata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -62,7 +62,7 @@ func (m ClusterMetadata) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go index 829b4308aa..e4dfaf6811 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m ClusterMigrateToNativeVcnDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go index e85ff36a8c..98a35e0dae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcnRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcnRequest. type ClusterMigrateToNativeVcnRequest struct { // The OCID of the cluster. @@ -70,7 +70,7 @@ func (request ClusterMigrateToNativeVcnRequest) RetryPolicy() *common.RetryPolic func (request ClusterMigrateToNativeVcnRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go index e57770322b..13bab4f084 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_migrate_to_native_vcn_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m ClusterMigrateToNativeVcnStatus) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_node.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_node.go new file mode 100644 index 0000000000..f011e7b58f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_node.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ClusterNode The properties that define a cluster node. +type ClusterNode struct { + + // The OCID of the compute instance backing this node. + Id *string `mandatory:"false" json:"id"` + + // The OCID of the cluster to which this node belongs. + ClusterId *string `mandatory:"false" json:"clusterId"` +} + +func (m ClusterNode) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ClusterNode) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go index f1790141ba..cc195f8662 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -39,7 +39,7 @@ func (m ClusterOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go index dc854ded84..fe156f0624 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_pod_network_option_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -61,7 +61,7 @@ func (m *clusterpodnetworkoptiondetails) UnmarshalPolymorphicJSON(data []byte) ( err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for ClusterPodNetworkOptionDetails: %s.", m.CniType) + common.Logf("Received unsupported enum value for ClusterPodNetworkOptionDetails: %s.", m.CniType) return *m, nil } } @@ -77,7 +77,7 @@ func (m clusterpodnetworkoptiondetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go index d84864fb28..bcd391c9fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -40,12 +40,12 @@ type ClusterSummary struct { KubernetesVersion *string `mandatory:"false" json:"kubernetesVersion"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -59,7 +59,7 @@ type ClusterSummary struct { // Metadata about the cluster. Metadata *ClusterMetadata `mandatory:"false" json:"metadata"` - // The state of the cluster masters. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // The state of the cluster masters. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState ClusterLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Details about the state of the cluster masters. @@ -77,7 +77,7 @@ type ClusterSummary struct { // Available CNIs and network options for existing and new node pools of the cluster ClusterPodNetworkOptions []ClusterPodNetworkOptionDetails `mandatory:"false" json:"clusterPodNetworkOptions"` - // Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm) + // Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm) Type ClusterTypeEnum `mandatory:"false" json:"type,omitempty"` } @@ -98,7 +98,7 @@ func (m ClusterSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go index 52e7876580..79e6e996e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/complete_credential_rotation_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/complete_credential_rotation_request_response.go index 416ca633db..3c469f1a0f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/complete_credential_rotation_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/complete_credential_rotation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CompleteCredentialRotation.go.html to see an example of how to use CompleteCredentialRotationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CompleteCredentialRotation.go.html to see an example of how to use CompleteCredentialRotationRequest. type CompleteCredentialRotationRequest struct { // The OCID of the cluster. @@ -71,7 +71,7 @@ func (request CompleteCredentialRotationRequest) RetryPolicy() *common.RetryPoli func (request CompleteCredentialRotationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go index fc94e57af9..2b46131410 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -97,7 +97,7 @@ func (client *ContainerEngineClient) ConfigurationProvider() *common.Configurati // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcn API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcn API. // A default retry strategy applies to this operation ClusterMigrateToNativeVcn() func (client ContainerEngineClient) ClusterMigrateToNativeVcn(ctx context.Context, request ClusterMigrateToNativeVcnRequest) (response ClusterMigrateToNativeVcnResponse, err error) { var ociResponse common.OCIResponse @@ -155,7 +155,7 @@ func (client ContainerEngineClient) clusterMigrateToNativeVcn(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CompleteCredentialRotation.go.html to see an example of how to use CompleteCredentialRotation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CompleteCredentialRotation.go.html to see an example of how to use CompleteCredentialRotation API. // A default retry strategy applies to this operation CompleteCredentialRotation() func (client ContainerEngineClient) CompleteCredentialRotation(ctx context.Context, request CompleteCredentialRotationRequest) (response CompleteCredentialRotationResponse, err error) { var ociResponse common.OCIResponse @@ -218,7 +218,7 @@ func (client ContainerEngineClient) completeCredentialRotation(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateCluster API. // A default retry strategy applies to this operation CreateCluster() func (client ContainerEngineClient) CreateCluster(ctx context.Context, request CreateClusterRequest) (response CreateClusterResponse, err error) { var ociResponse common.OCIResponse @@ -281,7 +281,7 @@ func (client ContainerEngineClient) createCluster(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfig API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfig API. // A default retry strategy applies to this operation CreateKubeconfig() func (client ContainerEngineClient) CreateKubeconfig(ctx context.Context, request CreateKubeconfigRequest) (response CreateKubeconfigResponse, err error) { var ociResponse common.OCIResponse @@ -338,7 +338,7 @@ func (client ContainerEngineClient) createKubeconfig(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePool API. // A default retry strategy applies to this operation CreateNodePool() func (client ContainerEngineClient) CreateNodePool(ctx context.Context, request CreateNodePoolRequest) (response CreateNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -401,7 +401,7 @@ func (client ContainerEngineClient) createNodePool(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateVirtualNodePool.go.html to see an example of how to use CreateVirtualNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateVirtualNodePool.go.html to see an example of how to use CreateVirtualNodePool API. // A default retry strategy applies to this operation CreateVirtualNodePool() func (client ContainerEngineClient) CreateVirtualNodePool(ctx context.Context, request CreateVirtualNodePoolRequest) (response CreateVirtualNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -464,7 +464,7 @@ func (client ContainerEngineClient) createVirtualNodePool(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateWorkloadMapping.go.html to see an example of how to use CreateWorkloadMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateWorkloadMapping.go.html to see an example of how to use CreateWorkloadMapping API. // A default retry strategy applies to this operation CreateWorkloadMapping() func (client ContainerEngineClient) CreateWorkloadMapping(ctx context.Context, request CreateWorkloadMappingRequest) (response CreateWorkloadMappingResponse, err error) { var ociResponse common.OCIResponse @@ -527,7 +527,7 @@ func (client ContainerEngineClient) createWorkloadMapping(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteCluster API. // A default retry strategy applies to this operation DeleteCluster() func (client ContainerEngineClient) DeleteCluster(ctx context.Context, request DeleteClusterRequest) (response DeleteClusterResponse, err error) { var ociResponse common.OCIResponse @@ -585,7 +585,7 @@ func (client ContainerEngineClient) deleteCluster(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNode.go.html to see an example of how to use DeleteNode API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNode.go.html to see an example of how to use DeleteNode API. // A default retry strategy applies to this operation DeleteNode() func (client ContainerEngineClient) DeleteNode(ctx context.Context, request DeleteNodeRequest) (response DeleteNodeResponse, err error) { var ociResponse common.OCIResponse @@ -643,7 +643,7 @@ func (client ContainerEngineClient) deleteNode(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePool API. // A default retry strategy applies to this operation DeleteNodePool() func (client ContainerEngineClient) DeleteNodePool(ctx context.Context, request DeleteNodePoolRequest) (response DeleteNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -701,7 +701,7 @@ func (client ContainerEngineClient) deleteNodePool(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteVirtualNodePool.go.html to see an example of how to use DeleteVirtualNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteVirtualNodePool.go.html to see an example of how to use DeleteVirtualNodePool API. // A default retry strategy applies to this operation DeleteVirtualNodePool() func (client ContainerEngineClient) DeleteVirtualNodePool(ctx context.Context, request DeleteVirtualNodePoolRequest) (response DeleteVirtualNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -759,7 +759,7 @@ func (client ContainerEngineClient) deleteVirtualNodePool(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API. // A default retry strategy applies to this operation DeleteWorkRequest() func (client ContainerEngineClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -817,7 +817,7 @@ func (client ContainerEngineClient) deleteWorkRequest(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkloadMapping.go.html to see an example of how to use DeleteWorkloadMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkloadMapping.go.html to see an example of how to use DeleteWorkloadMapping API. // A default retry strategy applies to this operation DeleteWorkloadMapping() func (client ContainerEngineClient) DeleteWorkloadMapping(ctx context.Context, request DeleteWorkloadMappingRequest) (response DeleteWorkloadMappingResponse, err error) { var ociResponse common.OCIResponse @@ -875,7 +875,7 @@ func (client ContainerEngineClient) deleteWorkloadMapping(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DisableAddon.go.html to see an example of how to use DisableAddon API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DisableAddon.go.html to see an example of how to use DisableAddon API. // A default retry strategy applies to this operation DisableAddon() func (client ContainerEngineClient) DisableAddon(ctx context.Context, request DisableAddonRequest) (response DisableAddonResponse, err error) { var ociResponse common.OCIResponse @@ -929,11 +929,75 @@ func (client ContainerEngineClient) disableAddon(ctx context.Context, request co return response, err } +// ExtendEndpointDecommissionRollbackDeadline Extend the rollback deadline of public api endpoint decommission for a cluster. +// The operation can only be performed within decommission rollback deadline. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ExtendEndpointDecommissionRollbackDeadline.go.html to see an example of how to use ExtendEndpointDecommissionRollbackDeadline API. +// A default retry strategy applies to this operation ExtendEndpointDecommissionRollbackDeadline() +func (client ContainerEngineClient) ExtendEndpointDecommissionRollbackDeadline(ctx context.Context, request ExtendEndpointDecommissionRollbackDeadlineRequest) (response ExtendEndpointDecommissionRollbackDeadlineResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.extendEndpointDecommissionRollbackDeadline, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ExtendEndpointDecommissionRollbackDeadlineResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ExtendEndpointDecommissionRollbackDeadlineResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ExtendEndpointDecommissionRollbackDeadlineResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ExtendEndpointDecommissionRollbackDeadlineResponse") + } + return +} + +// extendEndpointDecommissionRollbackDeadline implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) extendEndpointDecommissionRollbackDeadline(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/extendEndpointDecommissionRollbackDeadline", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ExtendEndpointDecommissionRollbackDeadlineResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ExtendEndpointDecommissionRollbackDeadline" + err = common.PostProcessServiceError(err, "ContainerEngine", "ExtendEndpointDecommissionRollbackDeadline", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetAddon Get the specified addon for a cluster. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetAddon.go.html to see an example of how to use GetAddon API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetAddon.go.html to see an example of how to use GetAddon API. // A default retry strategy applies to this operation GetAddon() func (client ContainerEngineClient) GetAddon(ctx context.Context, request GetAddonRequest) (response GetAddonResponse, err error) { var ociResponse common.OCIResponse @@ -991,7 +1055,7 @@ func (client ContainerEngineClient) getAddon(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetCluster API. // A default retry strategy applies to this operation GetCluster() func (client ContainerEngineClient) GetCluster(ctx context.Context, request GetClusterRequest) (response GetClusterResponse, err error) { var ociResponse common.OCIResponse @@ -1049,7 +1113,7 @@ func (client ContainerEngineClient) getCluster(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatus API. // A default retry strategy applies to this operation GetClusterMigrateToNativeVcnStatus() func (client ContainerEngineClient) GetClusterMigrateToNativeVcnStatus(ctx context.Context, request GetClusterMigrateToNativeVcnStatusRequest) (response GetClusterMigrateToNativeVcnStatusResponse, err error) { var ociResponse common.OCIResponse @@ -1107,7 +1171,7 @@ func (client ContainerEngineClient) getClusterMigrateToNativeVcnStatus(ctx conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptions API. // A default retry strategy applies to this operation GetClusterOptions() func (client ContainerEngineClient) GetClusterOptions(ctx context.Context, request GetClusterOptionsRequest) (response GetClusterOptionsResponse, err error) { var ociResponse common.OCIResponse @@ -1165,7 +1229,7 @@ func (client ContainerEngineClient) getClusterOptions(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCredentialRotationStatus.go.html to see an example of how to use GetCredentialRotationStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCredentialRotationStatus.go.html to see an example of how to use GetCredentialRotationStatus API. // A default retry strategy applies to this operation GetCredentialRotationStatus() func (client ContainerEngineClient) GetCredentialRotationStatus(ctx context.Context, request GetCredentialRotationStatusRequest) (response GetCredentialRotationStatusResponse, err error) { var ociResponse common.OCIResponse @@ -1223,7 +1287,7 @@ func (client ContainerEngineClient) getCredentialRotationStatus(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePool API. // A default retry strategy applies to this operation GetNodePool() func (client ContainerEngineClient) GetNodePool(ctx context.Context, request GetNodePoolRequest) (response GetNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -1281,7 +1345,7 @@ func (client ContainerEngineClient) getNodePool(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptions API. // A default retry strategy applies to this operation GetNodePoolOptions() func (client ContainerEngineClient) GetNodePoolOptions(ctx context.Context, request GetNodePoolOptionsRequest) (response GetNodePoolOptionsResponse, err error) { var ociResponse common.OCIResponse @@ -1335,11 +1399,69 @@ func (client ContainerEngineClient) getNodePoolOptions(ctx context.Context, requ return response, err } +// GetPublicApiEndpointDecommissionStatus Get cluster public api endpoint decommission status. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetPublicApiEndpointDecommissionStatus.go.html to see an example of how to use GetPublicApiEndpointDecommissionStatus API. +// A default retry strategy applies to this operation GetPublicApiEndpointDecommissionStatus() +func (client ContainerEngineClient) GetPublicApiEndpointDecommissionStatus(ctx context.Context, request GetPublicApiEndpointDecommissionStatusRequest) (response GetPublicApiEndpointDecommissionStatusResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getPublicApiEndpointDecommissionStatus, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetPublicApiEndpointDecommissionStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetPublicApiEndpointDecommissionStatusResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetPublicApiEndpointDecommissionStatusResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetPublicApiEndpointDecommissionStatusResponse") + } + return +} + +// getPublicApiEndpointDecommissionStatus implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) getPublicApiEndpointDecommissionStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/clusters/{clusterId}/publicApiEndpointDecommissionStatus", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetPublicApiEndpointDecommissionStatusResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/GetPublicApiEndpointDecommissionStatus" + err = common.PostProcessServiceError(err, "ContainerEngine", "GetPublicApiEndpointDecommissionStatus", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetVirtualNode Get the details of a virtual node. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNode.go.html to see an example of how to use GetVirtualNode API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNode.go.html to see an example of how to use GetVirtualNode API. // A default retry strategy applies to this operation GetVirtualNode() func (client ContainerEngineClient) GetVirtualNode(ctx context.Context, request GetVirtualNodeRequest) (response GetVirtualNodeResponse, err error) { var ociResponse common.OCIResponse @@ -1397,7 +1519,7 @@ func (client ContainerEngineClient) getVirtualNode(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNodePool.go.html to see an example of how to use GetVirtualNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNodePool.go.html to see an example of how to use GetVirtualNodePool API. // A default retry strategy applies to this operation GetVirtualNodePool() func (client ContainerEngineClient) GetVirtualNodePool(ctx context.Context, request GetVirtualNodePoolRequest) (response GetVirtualNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -1455,7 +1577,7 @@ func (client ContainerEngineClient) getVirtualNodePool(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. // A default retry strategy applies to this operation GetWorkRequest() func (client ContainerEngineClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -1513,7 +1635,7 @@ func (client ContainerEngineClient) getWorkRequest(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkloadMapping.go.html to see an example of how to use GetWorkloadMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkloadMapping.go.html to see an example of how to use GetWorkloadMapping API. // A default retry strategy applies to this operation GetWorkloadMapping() func (client ContainerEngineClient) GetWorkloadMapping(ctx context.Context, request GetWorkloadMappingRequest) (response GetWorkloadMappingResponse, err error) { var ociResponse common.OCIResponse @@ -1571,7 +1693,7 @@ func (client ContainerEngineClient) getWorkloadMapping(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/InstallAddon.go.html to see an example of how to use InstallAddon API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/InstallAddon.go.html to see an example of how to use InstallAddon API. // A default retry strategy applies to this operation InstallAddon() func (client ContainerEngineClient) InstallAddon(ctx context.Context, request InstallAddonRequest) (response InstallAddonResponse, err error) { var ociResponse common.OCIResponse @@ -1634,7 +1756,7 @@ func (client ContainerEngineClient) installAddon(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddonOptions.go.html to see an example of how to use ListAddonOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddonOptions.go.html to see an example of how to use ListAddonOptions API. // A default retry strategy applies to this operation ListAddonOptions() func (client ContainerEngineClient) ListAddonOptions(ctx context.Context, request ListAddonOptionsRequest) (response ListAddonOptionsResponse, err error) { var ociResponse common.OCIResponse @@ -1692,7 +1814,7 @@ func (client ContainerEngineClient) listAddonOptions(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddons.go.html to see an example of how to use ListAddons API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddons.go.html to see an example of how to use ListAddons API. // A default retry strategy applies to this operation ListAddons() func (client ContainerEngineClient) ListAddons(ctx context.Context, request ListAddonsRequest) (response ListAddonsResponse, err error) { var ociResponse common.OCIResponse @@ -1750,7 +1872,7 @@ func (client ContainerEngineClient) listAddons(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClusters API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClusters API. // A default retry strategy applies to this operation ListClusters() func (client ContainerEngineClient) ListClusters(ctx context.Context, request ListClustersRequest) (response ListClustersResponse, err error) { var ociResponse common.OCIResponse @@ -1808,7 +1930,7 @@ func (client ContainerEngineClient) listClusters(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePools API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePools API. // A default retry strategy applies to this operation ListNodePools() func (client ContainerEngineClient) ListNodePools(ctx context.Context, request ListNodePoolsRequest) (response ListNodePoolsResponse, err error) { var ociResponse common.OCIResponse @@ -1866,7 +1988,7 @@ func (client ContainerEngineClient) listNodePools(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListPodShapes.go.html to see an example of how to use ListPodShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListPodShapes.go.html to see an example of how to use ListPodShapes API. // A default retry strategy applies to this operation ListPodShapes() func (client ContainerEngineClient) ListPodShapes(ctx context.Context, request ListPodShapesRequest) (response ListPodShapesResponse, err error) { var ociResponse common.OCIResponse @@ -1924,7 +2046,7 @@ func (client ContainerEngineClient) listPodShapes(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePools API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePools API. // A default retry strategy applies to this operation ListVirtualNodePools() func (client ContainerEngineClient) ListVirtualNodePools(ctx context.Context, request ListVirtualNodePoolsRequest) (response ListVirtualNodePoolsResponse, err error) { var ociResponse common.OCIResponse @@ -1982,7 +2104,7 @@ func (client ContainerEngineClient) listVirtualNodePools(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodes.go.html to see an example of how to use ListVirtualNodes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodes.go.html to see an example of how to use ListVirtualNodes API. // A default retry strategy applies to this operation ListVirtualNodes() func (client ContainerEngineClient) ListVirtualNodes(ctx context.Context, request ListVirtualNodesRequest) (response ListVirtualNodesResponse, err error) { var ociResponse common.OCIResponse @@ -2040,7 +2162,7 @@ func (client ContainerEngineClient) listVirtualNodes(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. // A default retry strategy applies to this operation ListWorkRequestErrors() func (client ContainerEngineClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse @@ -2098,7 +2220,7 @@ func (client ContainerEngineClient) listWorkRequestErrors(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. // A default retry strategy applies to this operation ListWorkRequestLogs() func (client ContainerEngineClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse @@ -2156,7 +2278,7 @@ func (client ContainerEngineClient) listWorkRequestLogs(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. // A default retry strategy applies to this operation ListWorkRequests() func (client ContainerEngineClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -2214,7 +2336,7 @@ func (client ContainerEngineClient) listWorkRequests(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkloadMappings.go.html to see an example of how to use ListWorkloadMappings API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkloadMappings.go.html to see an example of how to use ListWorkloadMappings API. // A default retry strategy applies to this operation ListWorkloadMappings() func (client ContainerEngineClient) ListWorkloadMappings(ctx context.Context, request ListWorkloadMappingsRequest) (response ListWorkloadMappingsResponse, err error) { var ociResponse common.OCIResponse @@ -2268,11 +2390,201 @@ func (client ContainerEngineClient) listWorkloadMappings(ctx context.Context, re return response, err } +// RebootClusterNode perform reboot action to node in cluster +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/RebootClusterNode.go.html to see an example of how to use RebootClusterNode API. +// A default retry strategy applies to this operation RebootClusterNode() +func (client ContainerEngineClient) RebootClusterNode(ctx context.Context, request RebootClusterNodeRequest) (response RebootClusterNodeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.rebootClusterNode, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = RebootClusterNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = RebootClusterNodeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(RebootClusterNodeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into RebootClusterNodeResponse") + } + return +} + +// rebootClusterNode implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) rebootClusterNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/nodes/{nodeId}/actions/reboot", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response RebootClusterNodeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/RebootClusterNode" + err = common.PostProcessServiceError(err, "ContainerEngine", "RebootClusterNode", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ReplaceBootVolumeClusterNode perform cycle action to node in cluster +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ReplaceBootVolumeClusterNode.go.html to see an example of how to use ReplaceBootVolumeClusterNode API. +// A default retry strategy applies to this operation ReplaceBootVolumeClusterNode() +func (client ContainerEngineClient) ReplaceBootVolumeClusterNode(ctx context.Context, request ReplaceBootVolumeClusterNodeRequest) (response ReplaceBootVolumeClusterNodeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.replaceBootVolumeClusterNode, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ReplaceBootVolumeClusterNodeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ReplaceBootVolumeClusterNodeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ReplaceBootVolumeClusterNodeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ReplaceBootVolumeClusterNodeResponse") + } + return +} + +// replaceBootVolumeClusterNode implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) replaceBootVolumeClusterNode(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/nodes/{nodeId}/actions/replaceBootVolume", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ReplaceBootVolumeClusterNodeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/ReplaceBootVolumeClusterNode" + err = common.PostProcessServiceError(err, "ContainerEngine", "ReplaceBootVolumeClusterNode", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// RollbackPublicApiEndpointDecommission Rollback public api endpoint decommission for a cluster, legacy kubernetes endpoint will be brought back once the operation is completed. +// The operation can only be performed within decommission rollback deadline. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/RollbackPublicApiEndpointDecommission.go.html to see an example of how to use RollbackPublicApiEndpointDecommission API. +// A default retry strategy applies to this operation RollbackPublicApiEndpointDecommission() +func (client ContainerEngineClient) RollbackPublicApiEndpointDecommission(ctx context.Context, request RollbackPublicApiEndpointDecommissionRequest) (response RollbackPublicApiEndpointDecommissionResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.rollbackPublicApiEndpointDecommission, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = RollbackPublicApiEndpointDecommissionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = RollbackPublicApiEndpointDecommissionResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(RollbackPublicApiEndpointDecommissionResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into RollbackPublicApiEndpointDecommissionResponse") + } + return +} + +// rollbackPublicApiEndpointDecommission implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) rollbackPublicApiEndpointDecommission(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/rollbackPublicApiEndpointDecommission", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response RollbackPublicApiEndpointDecommissionResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/RollbackPublicApiEndpointDecommission" + err = common.PostProcessServiceError(err, "ContainerEngine", "RollbackPublicApiEndpointDecommission", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // StartCredentialRotation Start cluster credential rotation by adding new credentials, old credentials will still work after this operation. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/StartCredentialRotation.go.html to see an example of how to use StartCredentialRotation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/StartCredentialRotation.go.html to see an example of how to use StartCredentialRotation API. // A default retry strategy applies to this operation StartCredentialRotation() func (client ContainerEngineClient) StartCredentialRotation(ctx context.Context, request StartCredentialRotationRequest) (response StartCredentialRotationResponse, err error) { var ociResponse common.OCIResponse @@ -2331,11 +2643,74 @@ func (client ContainerEngineClient) startCredentialRotation(ctx context.Context, return response, err } +// StartPublicApiEndpointDecommission Start public api endpoint decommission for a cluster, legacy kubernetes endpoint will no longer available after this operation. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/StartPublicApiEndpointDecommission.go.html to see an example of how to use StartPublicApiEndpointDecommission API. +// A default retry strategy applies to this operation StartPublicApiEndpointDecommission() +func (client ContainerEngineClient) StartPublicApiEndpointDecommission(ctx context.Context, request StartPublicApiEndpointDecommissionRequest) (response StartPublicApiEndpointDecommissionResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.startPublicApiEndpointDecommission, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = StartPublicApiEndpointDecommissionResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = StartPublicApiEndpointDecommissionResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(StartPublicApiEndpointDecommissionResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into StartPublicApiEndpointDecommissionResponse") + } + return +} + +// startPublicApiEndpointDecommission implements the OCIOperation interface (enables retrying operations) +func (client ContainerEngineClient) startPublicApiEndpointDecommission(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/clusters/{clusterId}/actions/startPublicApiEndpointDecommission", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response StartPublicApiEndpointDecommissionResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/containerengine/20180222/Cluster/StartPublicApiEndpointDecommission" + err = common.PostProcessServiceError(err, "ContainerEngine", "StartPublicApiEndpointDecommission", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateAddon Update addon details for a cluster. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateAddon.go.html to see an example of how to use UpdateAddon API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateAddon.go.html to see an example of how to use UpdateAddon API. // A default retry strategy applies to this operation UpdateAddon() func (client ContainerEngineClient) UpdateAddon(ctx context.Context, request UpdateAddonRequest) (response UpdateAddonResponse, err error) { var ociResponse common.OCIResponse @@ -2393,7 +2768,7 @@ func (client ContainerEngineClient) updateAddon(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateCluster API. // A default retry strategy applies to this operation UpdateCluster() func (client ContainerEngineClient) UpdateCluster(ctx context.Context, request UpdateClusterRequest) (response UpdateClusterResponse, err error) { var ociResponse common.OCIResponse @@ -2451,7 +2826,7 @@ func (client ContainerEngineClient) updateCluster(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfig API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfig API. // A default retry strategy applies to this operation UpdateClusterEndpointConfig() func (client ContainerEngineClient) UpdateClusterEndpointConfig(ctx context.Context, request UpdateClusterEndpointConfigRequest) (response UpdateClusterEndpointConfigResponse, err error) { var ociResponse common.OCIResponse @@ -2509,7 +2884,7 @@ func (client ContainerEngineClient) updateClusterEndpointConfig(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePool API. // A default retry strategy applies to this operation UpdateNodePool() func (client ContainerEngineClient) UpdateNodePool(ctx context.Context, request UpdateNodePoolRequest) (response UpdateNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -2567,7 +2942,7 @@ func (client ContainerEngineClient) updateNodePool(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateVirtualNodePool.go.html to see an example of how to use UpdateVirtualNodePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateVirtualNodePool.go.html to see an example of how to use UpdateVirtualNodePool API. // A default retry strategy applies to this operation UpdateVirtualNodePool() func (client ContainerEngineClient) UpdateVirtualNodePool(ctx context.Context, request UpdateVirtualNodePoolRequest) (response UpdateVirtualNodePoolResponse, err error) { var ociResponse common.OCIResponse @@ -2625,7 +3000,7 @@ func (client ContainerEngineClient) updateVirtualNodePool(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateWorkloadMapping.go.html to see an example of how to use UpdateWorkloadMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateWorkloadMapping.go.html to see an example of how to use UpdateWorkloadMapping API. // A default retry strategy applies to this operation UpdateWorkloadMapping() func (client ContainerEngineClient) UpdateWorkloadMapping(ctx context.Context, request UpdateWorkloadMappingRequest) (response UpdateWorkloadMappingResponse, err error) { var ociResponse common.OCIResponse diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go index 60c01becbc..b50ca4e2a3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,12 +41,12 @@ type CreateClusterDetails struct { KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -79,7 +79,7 @@ func (m CreateClusterDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go index f847686e7c..67634890fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_endpoint_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m CreateClusterEndpointConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go index e108dded1c..b04c25abaf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_kubeconfig_content_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -44,7 +44,7 @@ func (m CreateClusterKubeconfigContentDetails) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Endpoint: %s. Supported values are: %s.", m.Endpoint, strings.Join(GetCreateClusterKubeconfigContentDetailsEndpointEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go index 934710458c..3ec144fba4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateClusterRequest. type CreateClusterRequest struct { // The details of the cluster to create. @@ -66,7 +66,7 @@ func (request CreateClusterRequest) RetryPolicy() *common.RetryPolicy { func (request CreateClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go index b7abd79282..14414ef20e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_image_policy_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m CreateImagePolicyConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go index f31c8e45a2..7fbe43a944 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_kubeconfig_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfigRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfigRequest. type CreateKubeconfigRequest struct { // The OCID of the cluster. @@ -66,7 +66,7 @@ func (request CreateKubeconfigRequest) RetryPolicy() *common.RetryPolicy { func (request CreateKubeconfigRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go index 3dfdfdf2e3..020cb16a2c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -70,12 +70,12 @@ type CreateNodePoolDetails struct { NodeConfigDetails *CreateNodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -95,7 +95,7 @@ func (m CreateNodePoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go index 1b229cd542..e049624bb6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,12 +41,12 @@ type CreateNodePoolNodeConfigDetails struct { IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -65,7 +65,7 @@ func (m CreateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go index d63f06b886..8e254f7cc7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePoolRequest. type CreateNodePoolRequest struct { // The details of the node pool to create. @@ -66,7 +66,7 @@ func (request CreateNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request CreateNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go index 0e1efee1f8..86c6a2eaee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,7 +21,7 @@ import ( type CreateNodeShapeConfigDetails struct { // The total number of OCPUs available to each node in the node pool. - // See here (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. + // See here (https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. Ocpus *float32 `mandatory:"false" json:"ocpus"` // The total amount of memory available to each node, in gigabytes. @@ -39,7 +39,7 @@ func (m CreateNodeShapeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go index 212c656681..9fb24b604d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -29,31 +29,31 @@ type CreateVirtualNodePoolDetails struct { // Display name of the virtual node pool. This is a non-unique value. DisplayName *string `mandatory:"true" json:"displayName"` + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"true" json:"size"` + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"` + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"true" json:"podConfiguration"` + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. Taints []Taint `mandatory:"false" json:"taints"` - // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. - Size *int `mandatory:"false" json:"size"` - // List of network security group id's applied to the Virtual Node VNIC. NsgIds []string `mandatory:"false" json:"nsgIds"` - // The pod configuration for pods run on virtual nodes of this virtual node pool. - PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` - // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -71,7 +71,7 @@ func (m CreateVirtualNodePoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go index 359e45b76e..cfab035cf7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_virtual_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateVirtualNodePool.go.html to see an example of how to use CreateVirtualNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateVirtualNodePool.go.html to see an example of how to use CreateVirtualNodePoolRequest. type CreateVirtualNodePoolRequest struct { // The details of the virtual node pool to create. @@ -66,7 +66,7 @@ func (request CreateVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_details.go index 080a552bd3..8d41f69aa3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -27,12 +27,12 @@ type CreateWorkloadMappingDetails struct { MappedCompartmentId *string `mandatory:"true" json:"mappedCompartmentId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -48,7 +48,7 @@ func (m CreateWorkloadMappingDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_request_response.go index 7c4f31628b..d66ae10c2a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_workload_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateWorkloadMapping.go.html to see an example of how to use CreateWorkloadMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateWorkloadMapping.go.html to see an example of how to use CreateWorkloadMappingRequest. type CreateWorkloadMappingRequest struct { // The OCID of the cluster. @@ -69,7 +69,7 @@ func (request CreateWorkloadMappingRequest) RetryPolicy() *common.RetryPolicy { func (request CreateWorkloadMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/credential_rotation_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/credential_rotation_status.go index f3a3bce1e4..55eddf3cf3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/credential_rotation_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/credential_rotation_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -54,7 +54,7 @@ func (m CredentialRotationStatus) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cycle_mode.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cycle_mode.go new file mode 100644 index 0000000000..fc4c7caca4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cycle_mode.go @@ -0,0 +1,58 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "strings" +) + +// CycleModeEnum Enum with underlying type: string +type CycleModeEnum string + +// Set of constants representing the allowable values for CycleModeEnum +const ( + CycleModeBootVolumeReplace CycleModeEnum = "BOOT_VOLUME_REPLACE" + CycleModeInstanceReplace CycleModeEnum = "INSTANCE_REPLACE" +) + +var mappingCycleModeEnum = map[string]CycleModeEnum{ + "BOOT_VOLUME_REPLACE": CycleModeBootVolumeReplace, + "INSTANCE_REPLACE": CycleModeInstanceReplace, +} + +var mappingCycleModeEnumLowerCase = map[string]CycleModeEnum{ + "boot_volume_replace": CycleModeBootVolumeReplace, + "instance_replace": CycleModeInstanceReplace, +} + +// GetCycleModeEnumValues Enumerates the set of values for CycleModeEnum +func GetCycleModeEnumValues() []CycleModeEnum { + values := make([]CycleModeEnum, 0) + for _, v := range mappingCycleModeEnum { + values = append(values, v) + } + return values +} + +// GetCycleModeEnumStringValues Enumerates the set of values in String for CycleModeEnum +func GetCycleModeEnumStringValues() []string { + return []string{ + "BOOT_VOLUME_REPLACE", + "INSTANCE_REPLACE", + } +} + +// GetMappingCycleModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCycleModeEnum(val string) (CycleModeEnum, bool) { + enum, ok := mappingCycleModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go index 162fb193c4..cbaca37fb2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteClusterRequest. type DeleteClusterRequest struct { // The OCID of the cluster. @@ -67,7 +67,7 @@ func (request DeleteClusterRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go index b6415945c3..f2f51dd075 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePoolRequest. type DeleteNodePoolRequest struct { // The OCID of the node pool. @@ -74,7 +74,7 @@ func (request DeleteNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go index f99104b088..9b20c8bd4e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_node_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNode.go.html to see an example of how to use DeleteNodeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNode.go.html to see an example of how to use DeleteNodeRequest. type DeleteNodeRequest struct { // The OCID of the node pool. @@ -80,7 +80,7 @@ func (request DeleteNodeRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteNodeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go index 394309a191..4a854145be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_virtual_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteVirtualNodePool.go.html to see an example of how to use DeleteVirtualNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteVirtualNodePool.go.html to see an example of how to use DeleteVirtualNodePoolRequest. type DeleteVirtualNodePoolRequest struct { // The OCID of the virtual node pool. @@ -74,7 +74,7 @@ func (request DeleteVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go index b030cdcbfc..94abf43c33 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest. type DeleteWorkRequestRequest struct { // The OCID of the work request. @@ -67,7 +67,7 @@ func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_workload_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_workload_mapping_request_response.go index f2c8ff3b84..775349d0f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_workload_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/delete_workload_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkloadMapping.go.html to see an example of how to use DeleteWorkloadMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkloadMapping.go.html to see an example of how to use DeleteWorkloadMappingRequest. type DeleteWorkloadMappingRequest struct { // The OCID of the cluster. @@ -70,7 +70,7 @@ func (request DeleteWorkloadMappingRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteWorkloadMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go index 1f428d3e35..0665bcd72c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/disable_addon_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DisableAddon.go.html to see an example of how to use DisableAddonRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DisableAddon.go.html to see an example of how to use DisableAddonRequest. type DisableAddonRequest struct { // The OCID of the cluster. @@ -73,7 +73,7 @@ func (request DisableAddonRequest) RetryPolicy() *common.RetryPolicy { func (request DisableAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_details.go new file mode 100644 index 0000000000..26bc356400 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_details.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ExtendEndpointDecommissionRollbackDeadlineDetails The properties that define a request to extend the rollback deadline for a public api endpoint decommission. +type ExtendEndpointDecommissionRollbackDeadlineDetails struct { + + // The optional override delay of the rollback deadline once decommission is finished. + // maximum to 30 days could be added. Once Deadline is passed, rollback will not able to be launched. + RollbackDeadlineDelay *string `mandatory:"true" json:"rollbackDeadlineDelay"` +} + +func (m ExtendEndpointDecommissionRollbackDeadlineDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ExtendEndpointDecommissionRollbackDeadlineDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_request_response.go new file mode 100644 index 0000000000..f7dd6586fa --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/extend_endpoint_decommission_rollback_deadline_request_response.go @@ -0,0 +1,106 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ExtendEndpointDecommissionRollbackDeadlineRequest wrapper for the ExtendEndpointDecommissionRollbackDeadline operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ExtendEndpointDecommissionRollbackDeadline.go.html to see an example of how to use ExtendEndpointDecommissionRollbackDeadlineRequest. +type ExtendEndpointDecommissionRollbackDeadlineRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // The details for a kubernetes cluster to extend public api endpoint decommission rollback deadline. + ExtendEndpointDecommissionRollbackDeadlineDetails `contributesTo:"body"` + + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ExtendEndpointDecommissionRollbackDeadlineRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ExtendEndpointDecommissionRollbackDeadlineRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ExtendEndpointDecommissionRollbackDeadlineRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ExtendEndpointDecommissionRollbackDeadlineRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ExtendEndpointDecommissionRollbackDeadlineRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ExtendEndpointDecommissionRollbackDeadlineResponse wrapper for the ExtendEndpointDecommissionRollbackDeadline operation +type ExtendEndpointDecommissionRollbackDeadlineResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicApiEndpointDecommissionStatus instance + PublicApiEndpointDecommissionStatus `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + // particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ExtendEndpointDecommissionRollbackDeadlineResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ExtendEndpointDecommissionRollbackDeadlineResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go index 73031e9184..d7cce0eec2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_cluster_pod_network_option_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -33,7 +33,7 @@ func (m FlannelOverlayClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go index 54e054c010..bf197b9416 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/flannel_overlay_node_pool_pod_network_option_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -33,7 +33,7 @@ func (m FlannelOverlayNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go index 0e2f5e28bc..fd4422b71c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_addon_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetAddon.go.html to see an example of how to use GetAddonRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetAddon.go.html to see an example of how to use GetAddonRequest. type GetAddonRequest struct { // The OCID of the cluster. @@ -65,7 +65,7 @@ func (request GetAddonRequest) RetryPolicy() *common.RetryPolicy { func (request GetAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go index 90f618a028..ccd4a60cfa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatusRequest. type GetClusterMigrateToNativeVcnStatusRequest struct { // The OCID of the cluster. @@ -62,7 +62,7 @@ func (request GetClusterMigrateToNativeVcnStatusRequest) RetryPolicy() *common.R func (request GetClusterMigrateToNativeVcnStatusRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go index 5f43d622c7..7d185a4462 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptionsRequest. type GetClusterOptionsRequest struct { // The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. @@ -24,6 +24,9 @@ type GetClusterOptionsRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + // Option to show all kubernetes patch versions + ShouldListAllPatchVersions *bool `mandatory:"false" contributesTo:"query" name:"shouldListAllPatchVersions"` + // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -65,7 +68,7 @@ func (request GetClusterOptionsRequest) RetryPolicy() *common.RetryPolicy { func (request GetClusterOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go index cb8dee2977..52e6bf9c75 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetClusterRequest. type GetClusterRequest struct { // The OCID of the cluster. @@ -25,6 +25,9 @@ type GetClusterRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + // Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster. + ShouldIncludeOidcConfigFile *bool `mandatory:"false" contributesTo:"query" name:"shouldIncludeOidcConfigFile"` + // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata @@ -62,7 +65,7 @@ func (request GetClusterRequest) RetryPolicy() *common.RetryPolicy { func (request GetClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_credential_rotation_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_credential_rotation_status_request_response.go index 583fb2cd7f..0ac263617d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_credential_rotation_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_credential_rotation_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCredentialRotationStatus.go.html to see an example of how to use GetCredentialRotationStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCredentialRotationStatus.go.html to see an example of how to use GetCredentialRotationStatusRequest. type GetCredentialRotationStatusRequest struct { // The OCID of the cluster. @@ -62,7 +62,7 @@ func (request GetCredentialRotationStatusRequest) RetryPolicy() *common.RetryPol func (request GetCredentialRotationStatusRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go index 6979f9e0eb..84362daa60 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptionsRequest. type GetNodePoolOptionsRequest struct { // The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. @@ -24,6 +24,18 @@ type GetNodePoolOptionsRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + // Option to show all kubernetes patch versions + ShouldListAllPatchVersions *bool `mandatory:"false" contributesTo:"query" name:"shouldListAllPatchVersions"` + + // Filter node pool options by OS type. + NodePoolOsType GetNodePoolOptionsNodePoolOsTypeEnum `mandatory:"false" contributesTo:"query" name:"nodePoolOsType" omitEmpty:"true"` + + // Filter node pool options by OS architecture. + NodePoolOsArch GetNodePoolOptionsNodePoolOsArchEnum `mandatory:"false" contributesTo:"query" name:"nodePoolOsArch" omitEmpty:"true"` + + // Filter node pool options by Kubernetes version. + NodePoolK8sVersion *string `mandatory:"false" contributesTo:"query" name:"nodePoolK8sVersion"` + // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -64,8 +76,14 @@ func (request GetNodePoolOptionsRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request GetNodePoolOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingGetNodePoolOptionsNodePoolOsTypeEnum(string(request.NodePoolOsType)); !ok && request.NodePoolOsType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NodePoolOsType: %s. Supported values are: %s.", request.NodePoolOsType, strings.Join(GetGetNodePoolOptionsNodePoolOsTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingGetNodePoolOptionsNodePoolOsArchEnum(string(request.NodePoolOsArch)); !ok && request.NodePoolOsArch != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NodePoolOsArch: %s. Supported values are: %s.", request.NodePoolOsArch, strings.Join(GetGetNodePoolOptionsNodePoolOsArchEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,3 +110,91 @@ func (response GetNodePoolOptionsResponse) String() string { func (response GetNodePoolOptionsResponse) HTTPResponse() *http.Response { return response.RawResponse } + +// GetNodePoolOptionsNodePoolOsTypeEnum Enum with underlying type: string +type GetNodePoolOptionsNodePoolOsTypeEnum string + +// Set of constants representing the allowable values for GetNodePoolOptionsNodePoolOsTypeEnum +const ( + GetNodePoolOptionsNodePoolOsTypeOl7 GetNodePoolOptionsNodePoolOsTypeEnum = "OL7" + GetNodePoolOptionsNodePoolOsTypeOl8 GetNodePoolOptionsNodePoolOsTypeEnum = "OL8" + GetNodePoolOptionsNodePoolOsTypeUbuntu GetNodePoolOptionsNodePoolOsTypeEnum = "UBUNTU" +) + +var mappingGetNodePoolOptionsNodePoolOsTypeEnum = map[string]GetNodePoolOptionsNodePoolOsTypeEnum{ + "OL7": GetNodePoolOptionsNodePoolOsTypeOl7, + "OL8": GetNodePoolOptionsNodePoolOsTypeOl8, + "UBUNTU": GetNodePoolOptionsNodePoolOsTypeUbuntu, +} + +var mappingGetNodePoolOptionsNodePoolOsTypeEnumLowerCase = map[string]GetNodePoolOptionsNodePoolOsTypeEnum{ + "ol7": GetNodePoolOptionsNodePoolOsTypeOl7, + "ol8": GetNodePoolOptionsNodePoolOsTypeOl8, + "ubuntu": GetNodePoolOptionsNodePoolOsTypeUbuntu, +} + +// GetGetNodePoolOptionsNodePoolOsTypeEnumValues Enumerates the set of values for GetNodePoolOptionsNodePoolOsTypeEnum +func GetGetNodePoolOptionsNodePoolOsTypeEnumValues() []GetNodePoolOptionsNodePoolOsTypeEnum { + values := make([]GetNodePoolOptionsNodePoolOsTypeEnum, 0) + for _, v := range mappingGetNodePoolOptionsNodePoolOsTypeEnum { + values = append(values, v) + } + return values +} + +// GetGetNodePoolOptionsNodePoolOsTypeEnumStringValues Enumerates the set of values in String for GetNodePoolOptionsNodePoolOsTypeEnum +func GetGetNodePoolOptionsNodePoolOsTypeEnumStringValues() []string { + return []string{ + "OL7", + "OL8", + "UBUNTU", + } +} + +// GetMappingGetNodePoolOptionsNodePoolOsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingGetNodePoolOptionsNodePoolOsTypeEnum(val string) (GetNodePoolOptionsNodePoolOsTypeEnum, bool) { + enum, ok := mappingGetNodePoolOptionsNodePoolOsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// GetNodePoolOptionsNodePoolOsArchEnum Enum with underlying type: string +type GetNodePoolOptionsNodePoolOsArchEnum string + +// Set of constants representing the allowable values for GetNodePoolOptionsNodePoolOsArchEnum +const ( + GetNodePoolOptionsNodePoolOsArchX8664 GetNodePoolOptionsNodePoolOsArchEnum = "X86_64" + GetNodePoolOptionsNodePoolOsArchAarch64 GetNodePoolOptionsNodePoolOsArchEnum = "AARCH64" +) + +var mappingGetNodePoolOptionsNodePoolOsArchEnum = map[string]GetNodePoolOptionsNodePoolOsArchEnum{ + "X86_64": GetNodePoolOptionsNodePoolOsArchX8664, + "AARCH64": GetNodePoolOptionsNodePoolOsArchAarch64, +} + +var mappingGetNodePoolOptionsNodePoolOsArchEnumLowerCase = map[string]GetNodePoolOptionsNodePoolOsArchEnum{ + "x86_64": GetNodePoolOptionsNodePoolOsArchX8664, + "aarch64": GetNodePoolOptionsNodePoolOsArchAarch64, +} + +// GetGetNodePoolOptionsNodePoolOsArchEnumValues Enumerates the set of values for GetNodePoolOptionsNodePoolOsArchEnum +func GetGetNodePoolOptionsNodePoolOsArchEnumValues() []GetNodePoolOptionsNodePoolOsArchEnum { + values := make([]GetNodePoolOptionsNodePoolOsArchEnum, 0) + for _, v := range mappingGetNodePoolOptionsNodePoolOsArchEnum { + values = append(values, v) + } + return values +} + +// GetGetNodePoolOptionsNodePoolOsArchEnumStringValues Enumerates the set of values in String for GetNodePoolOptionsNodePoolOsArchEnum +func GetGetNodePoolOptionsNodePoolOsArchEnumStringValues() []string { + return []string{ + "X86_64", + "AARCH64", + } +} + +// GetMappingGetNodePoolOptionsNodePoolOsArchEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingGetNodePoolOptionsNodePoolOsArchEnum(val string) (GetNodePoolOptionsNodePoolOsArchEnum, bool) { + enum, ok := mappingGetNodePoolOptionsNodePoolOsArchEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go index fcbebde244..db39bc2e18 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePoolRequest. type GetNodePoolRequest struct { // The OCID of the node pool. @@ -62,7 +62,7 @@ func (request GetNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request GetNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_public_api_endpoint_decommission_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_public_api_endpoint_decommission_status_request_response.go new file mode 100644 index 0000000000..ba6a185b36 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_public_api_endpoint_decommission_status_request_response.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetPublicApiEndpointDecommissionStatusRequest wrapper for the GetPublicApiEndpointDecommissionStatus operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetPublicApiEndpointDecommissionStatus.go.html to see an example of how to use GetPublicApiEndpointDecommissionStatusRequest. +type GetPublicApiEndpointDecommissionStatusRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetPublicApiEndpointDecommissionStatusRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetPublicApiEndpointDecommissionStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetPublicApiEndpointDecommissionStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetPublicApiEndpointDecommissionStatusRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetPublicApiEndpointDecommissionStatusRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetPublicApiEndpointDecommissionStatusResponse wrapper for the GetPublicApiEndpointDecommissionStatus operation +type GetPublicApiEndpointDecommissionStatusResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PublicApiEndpointDecommissionStatus instance + PublicApiEndpointDecommissionStatus `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + // particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetPublicApiEndpointDecommissionStatusResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetPublicApiEndpointDecommissionStatusResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go index 487113db04..5f9334a309 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNodePool.go.html to see an example of how to use GetVirtualNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNodePool.go.html to see an example of how to use GetVirtualNodePoolRequest. type GetVirtualNodePoolRequest struct { // The OCID of the virtual node pool. @@ -62,7 +62,7 @@ func (request GetVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request GetVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go index 20d6c9225b..4e13544d88 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_virtual_node_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNode.go.html to see an example of how to use GetVirtualNodeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetVirtualNode.go.html to see an example of how to use GetVirtualNodeRequest. type GetVirtualNodeRequest struct { // The OCID of the virtual node pool. @@ -65,7 +65,7 @@ func (request GetVirtualNodeRequest) RetryPolicy() *common.RetryPolicy { func (request GetVirtualNodeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go index 7e928d24af..47a2df2cf0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The OCID of the work request. @@ -62,7 +62,7 @@ func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_workload_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_workload_mapping_request_response.go index 06b483960d..7c303939a3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_workload_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/get_workload_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkloadMapping.go.html to see an example of how to use GetWorkloadMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkloadMapping.go.html to see an example of how to use GetWorkloadMappingRequest. type GetWorkloadMappingRequest struct { // The OCID of the cluster. @@ -65,7 +65,7 @@ func (request GetWorkloadMappingRequest) RetryPolicy() *common.RetryPolicy { func (request GetWorkloadMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image.go new file mode 100644 index 0000000000..fd4ec40b01 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Image Describes image metadata. +type Image struct { + + // The Oracle Cloud ID (OCID) that uniquely identifies the image. + Id *string `mandatory:"false" json:"id"` + + // The OCID of the compartment that the image was created in. + CompartmentId *string `mandatory:"false" json:"compartmentId"` + + // A friendly user-specified name for the image. + DisplayName *string `mandatory:"false" json:"displayName"` +} + +func (m Image) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Image) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go index 30a0bbc59f..37cecf3611 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/image_policy_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m ImagePolicyConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go index e4165e880a..98539bc3e0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/initial_virtual_node_label.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m InitialVirtualNodeLabel) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go index 4fe7ad4787..12a78bf1f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -44,7 +44,7 @@ func (m InstallAddonDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go index f28396b419..ce1c1b9b36 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/install_addon_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/InstallAddon.go.html to see an example of how to use InstallAddonRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/InstallAddon.go.html to see an example of how to use InstallAddonRequest. type InstallAddonRequest struct { // The OCID of the cluster. @@ -74,7 +74,7 @@ func (request InstallAddonRequest) RetryPolicy() *common.RetryPolicy { func (request InstallAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go index 9d9e670cdb..8ef6ac7d43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -35,7 +35,7 @@ func (m KeyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go index 8857b46467..e9d2bedb9e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/key_value.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m KeyValue) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go index b19c03a3a2..ec1b0e84d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_network_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m KubernetesNetworkConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go index 3c39420337..d86196c7b1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/kubernetes_versions_filters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m KubernetesVersionsFilters) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go index dc572f11fe..a1e6786966 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addon_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddonOptions.go.html to see an example of how to use ListAddonOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddonOptions.go.html to see an example of how to use ListAddonOptionsRequest. type ListAddonOptionsRequest struct { // The kubernetes version to fetch the addons. @@ -30,11 +30,11 @@ type ListAddonOptionsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -43,6 +43,10 @@ type ListAddonOptionsRequest struct { // The optional field to sort the results by. SortBy ListAddonOptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + // Specifies whether all add-on versions should be displayed. The default value is false. If set to true, the API will return all available add-on versions, including deprecated versions and detailed build numbers. + // Please note that the use of deprecated versions, as well as the specification of a particular build of a supported version, is not recommended for standard operations. + ShouldShowAllVersions *bool `mandatory:"false" contributesTo:"query" name:"shouldShowAllVersions"` + // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata @@ -86,7 +90,7 @@ func (request ListAddonOptionsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAddonOptionsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -101,7 +105,7 @@ type ListAddonOptionsResponse struct { Items []AddonOptionSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go index a23f278492..e580cd8289 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_addons_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddons.go.html to see an example of how to use ListAddonsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListAddons.go.html to see an example of how to use ListAddonsRequest. type ListAddonsRequest struct { // The OCID of the cluster. @@ -27,11 +27,11 @@ type ListAddonsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -83,7 +83,7 @@ func (request ListAddonsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAddonsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -98,7 +98,7 @@ type ListAddonsResponse struct { Items []AddonSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go index 114fd486db..d074ed8657 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_clusters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClustersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClustersRequest. type ListClustersRequest struct { // The OCID of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // A cluster lifecycle state to filter on. Can have multiple parameters of this name. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // A cluster lifecycle state to filter on. Can have multiple parameters of this name. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState []ClusterLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` // The name to filter on. @@ -29,11 +29,11 @@ type ListClustersRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -95,7 +95,7 @@ func (request ListClustersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListClustersSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -110,7 +110,7 @@ type ListClustersResponse struct { Items []ClusterSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go index 9052e163d1..8de60158f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_node_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePoolsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePoolsRequest. type ListNodePoolsRequest struct { // The OCID of the compartment. @@ -29,11 +29,11 @@ type ListNodePoolsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -46,7 +46,7 @@ type ListNodePoolsRequest struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - // A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. ACTIVE, DELETING. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. ACTIVE, DELETING. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState []NodePoolLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"` // Metadata about the request. This information will not be transmitted to the service, but @@ -98,7 +98,7 @@ func (request ListNodePoolsRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -113,7 +113,7 @@ type ListNodePoolsResponse struct { Items []NodePoolSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go index 52f11e78d0..7e9a36af38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_pod_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListPodShapes.go.html to see an example of how to use ListPodShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListPodShapes.go.html to see an example of how to use ListPodShapesRequest. type ListPodShapesRequest struct { // The OCID of the compartment. @@ -33,11 +33,11 @@ type ListPodShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -89,7 +89,7 @@ func (request ListPodShapesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListPodShapesSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -104,7 +104,7 @@ type ListPodShapesResponse struct { Items []PodShapeSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go index c7d335cb52..a1f3696eeb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_node_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePoolsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodePools.go.html to see an example of how to use ListVirtualNodePoolsRequest. type ListVirtualNodePoolsRequest struct { // The OCID of the compartment. @@ -33,11 +33,11 @@ type ListVirtualNodePoolsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -98,7 +98,7 @@ func (request ListVirtualNodePoolsRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -113,7 +113,7 @@ type ListVirtualNodePoolsResponse struct { Items []VirtualNodePoolSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go index ce04ec8d31..575d299cd1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_virtual_nodes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodes.go.html to see an example of how to use ListVirtualNodesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListVirtualNodes.go.html to see an example of how to use ListVirtualNodesRequest. type ListVirtualNodesRequest struct { // The OCID of the virtual node pool. @@ -30,11 +30,11 @@ type ListVirtualNodesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -86,7 +86,7 @@ func (request ListVirtualNodesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListVirtualNodesSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -101,7 +101,7 @@ type ListVirtualNodesResponse struct { Items []VirtualNodeSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go index 078de0ad51..d3cd7623df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { // The OCID of the compartment. @@ -65,7 +65,7 @@ func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go index 6211a7b19e..ca494c92db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { // The OCID of the compartment. @@ -65,7 +65,7 @@ func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go index a232c50322..adeff0a782 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { // The OCID of the compartment. @@ -35,11 +35,11 @@ type ListWorkRequestsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -98,7 +98,7 @@ func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListWorkRequestsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -113,7 +113,7 @@ type ListWorkRequestsResponse struct { Items []WorkRequestSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_workload_mappings_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_workload_mappings_request_response.go index 2de1ead876..27c1071df6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_workload_mappings_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/list_workload_mappings_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkloadMappings.go.html to see an example of how to use ListWorkloadMappingsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkloadMappings.go.html to see an example of how to use ListWorkloadMappingsRequest. type ListWorkloadMappingsRequest struct { // The OCID of the cluster. @@ -27,11 +27,11 @@ type ListWorkloadMappingsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // 1 is the minimum, 1000 is the maximum. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The optional order in which to sort the results. @@ -83,7 +83,7 @@ func (request ListWorkloadMappingsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListWorkloadMappingsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -98,7 +98,7 @@ type ListWorkloadMappingsResponse struct { Items []WorkloadMappingSummary `presentIn:"body"` // For list pagination. When this header appears in the response, additional pages of results remain. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node.go index 643d95669f..8192ad1c97 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -51,12 +51,12 @@ type Node struct { NodeError *NodeError `mandatory:"false" json:"nodeError"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -64,7 +64,7 @@ type Node struct { // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` - // The state of the node. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // The state of the node. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState NodeLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Details about the state of the node. @@ -85,7 +85,7 @@ func (m Node) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNodeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go index f25519f5c0..f8b04e1949 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -20,7 +20,7 @@ import ( // NodeError The properties that define an upstream error while managing a node. type NodeError struct { - // A short error code that defines the upstream error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). + // A short error code that defines the upstream error, meant for programmatic parsing. See API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string of the upstream error. @@ -44,7 +44,7 @@ func (m NodeError) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go index cee7b51792..1ca73d06ef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_node_pool_settings.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -26,6 +26,9 @@ type NodeEvictionNodePoolSettings struct { // If the underlying compute instance should be deleted if you cannot evict all the pods in grace period IsForceDeleteAfterGraceDuration *bool `mandatory:"false" json:"isForceDeleteAfterGraceDuration"` + + // If the node action should be performed if not all the pods can be evicted in the grace period + IsForceActionAfterGraceDuration *bool `mandatory:"false" json:"isForceActionAfterGraceDuration"` } func (m NodeEvictionNodePoolSettings) String() string { @@ -39,7 +42,7 @@ func (m NodeEvictionNodePoolSettings) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_settings.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_settings.go new file mode 100644 index 0000000000..43a6e1a21b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_eviction_settings.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// NodeEvictionSettings Node Eviction Configuration +type NodeEvictionSettings struct { + + // Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to perform node action without cordon and drain. + // Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M + EvictionGraceDuration *string `mandatory:"false" json:"evictionGraceDuration"` + + // If the node action should be performed if not all the pods can be evicted in the grace period + IsForceActionAfterGraceDuration *bool `mandatory:"false" json:"isForceActionAfterGraceDuration"` +} + +func (m NodeEvictionSettings) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m NodeEvictionSettings) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go index 562cb9eabf..085bbdcb21 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -24,7 +24,7 @@ type NodePool struct { // The OCID of the node pool. Id *string `mandatory:"false" json:"id"` - // The state of the nodepool. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // The state of the nodepool. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState NodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Details about the state of the nodepool. @@ -82,12 +82,12 @@ type NodePool struct { NodeConfigDetails *NodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -114,7 +114,7 @@ func (m NodePool) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNodePoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_cycling_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_cycling_details.go index 63e7923b69..e0d4e929c1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_cycling_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_cycling_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -30,8 +30,11 @@ type NodePoolCyclingDetails struct { // Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100% MaximumSurge *string `mandatory:"false" json:"maximumSurge"` - // If nodes in the nodepool will be cycled to have new changes. + // If cycling operation should be performed on the nodes in the node pool. IsNodeCyclingEnabled *bool `mandatory:"false" json:"isNodeCyclingEnabled"` + + // An ordered list of cycle modes that should be performed on the OKE nodes. + CycleModes []CycleModeEnum `mandatory:"false" json:"cycleModes"` } func (m NodePoolCyclingDetails) String() string { @@ -45,7 +48,7 @@ func (m NodePoolCyclingDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go index 1f74dbd290..8abe9f58b3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go index ae8faf928b..c90686b9f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -34,12 +34,12 @@ type NodePoolNodeConfigDetails struct { IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -65,7 +65,7 @@ func (m NodePoolNodeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go index b9332dd200..466c1082f5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m NodePoolOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go index 1baeb94de9..d708a3abc3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_placement_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m NodePoolPlacementConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go index 96b1b7d6ad..8d085d4fe8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_pod_network_option_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -61,7 +61,7 @@ func (m *nodepoolpodnetworkoptiondetails) UnmarshalPolymorphicJSON(data []byte) err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for NodePoolPodNetworkOptionDetails: %s.", m.CniType) + common.Logf("Received unsupported enum value for NodePoolPodNetworkOptionDetails: %s.", m.CniType) return *m, nil } } @@ -77,7 +77,7 @@ func (m nodepoolpodnetworkoptiondetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go index 3d8f8e22c1..d61962c9ba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -24,7 +24,7 @@ type NodePoolSummary struct { // The OCID of the node pool. Id *string `mandatory:"false" json:"id"` - // The state of the nodepool. For more information, see Monitoring Clusters (https://docs.cloud.oracle.com/Content/ContEng/Tasks/contengmonitoringclusters.htm) + // The state of the nodepool. For more information, see Monitoring Clusters (https://docs.oracle.com/iaas/Content/ContEng/Tasks/contengmonitoringclusters.htm) LifecycleState NodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Details about the state of the nodepool. @@ -76,12 +76,12 @@ type NodePoolSummary struct { NodeConfigDetails *NodePoolNodeConfigDetails `mandatory:"false" json:"nodeConfigDetails"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -108,7 +108,7 @@ func (m NodePoolSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetNodePoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go index b5a24ef74d..065aa20ab2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_shape_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,7 +21,7 @@ import ( type NodeShapeConfig struct { // The total number of OCPUs available to each node in the node pool. - // See here (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. + // See here (https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. Ocpus *float32 `mandatory:"false" json:"ocpus"` // The total amount of memory available to each node, in gigabytes. @@ -39,7 +39,7 @@ func (m NodeShapeConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go index 8fdbe27c19..af18fd9acf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -57,7 +57,7 @@ func (m *nodesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for NodeSourceDetails: %s.", m.SourceType) + common.Logf("Received unsupported enum value for NodeSourceDetails: %s.", m.SourceType) return *m, nil } } @@ -73,7 +73,7 @@ func (m nodesourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go index a56ad2fafc..4971faaff1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -62,7 +62,7 @@ func (m *nodesourceoption) UnmarshalPolymorphicJSON(data []byte) (interface{}, e err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for NodeSourceOption: %s.", m.SourceType) + common.Logf("Received unsupported enum value for NodeSourceOption: %s.", m.SourceType) return *m, nil } } @@ -83,7 +83,7 @@ func (m nodesourceoption) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go index 6aa63cec48..683acd229e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go index d8f9bb2060..de625e553a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -24,7 +24,7 @@ type NodeSourceViaImageDetails struct { // The OCID of the image used to boot the node. ImageId *string `mandatory:"true" json:"imageId"` - // The size of the boot volume in GBs. Minimum value is 50 GB. See here (https://docs.cloud.oracle.com/en-us/iaas/Content/Block/Concepts/bootvolumes.htm) for max custom boot volume sizing and OS-specific requirements. + // The size of the boot volume in GBs. Minimum value is 50 GB. See here (https://docs.oracle.com/iaas/en-us/iaas/Content/Block/Concepts/bootvolumes.htm) for max custom boot volume sizing and OS-specific requirements. BootVolumeSizeInGBs *int64 `mandatory:"false" json:"bootVolumeSizeInGBs"` } @@ -39,7 +39,7 @@ func (m NodeSourceViaImageDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go index 3dea684936..4a2164e49c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_via_image_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -44,7 +44,7 @@ func (m NodeSourceViaImageOption) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go index 2cc1f3d7ad..83d5c05bae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_cluster_pod_network_option_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -33,7 +33,7 @@ func (m OciVcnIpNativeClusterPodNetworkOptionDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go index a3e715a560..1a77c6893e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/oci_vcn_ip_native_node_pool_pod_network_option_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,14 +21,14 @@ import ( // OciVcnIpNativeNodePoolPodNetworkOptionDetails Network options specific to using the OCI VCN Native CNI type OciVcnIpNativeNodePoolPodNetworkOptionDetails struct { - // The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs - PodSubnetIds []string `mandatory:"true" json:"podSubnetIds"` - // The max number of pods per node in the node pool. This value will be limited by the number of VNICs attachable to the node pool shape MaxPodsPerNode *int `mandatory:"false" json:"maxPodsPerNode"` // The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see NetworkSecurityGroup. PodNsgIds []string `mandatory:"false" json:"podNsgIds"` + + // The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs + PodSubnetIds []string `mandatory:"false" json:"podSubnetIds"` } func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) String() string { @@ -42,7 +42,7 @@ func (m OciVcnIpNativeNodePoolPodNetworkOptionDetails) ValidateEnumValue() (bool errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_discovery.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_discovery.go index b4a842ea0e..cc0b37cc33 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_discovery.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_discovery.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -35,7 +35,7 @@ func (m OpenIdConnectDiscovery) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_token_authentication_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_token_authentication_config.go index f8b2c9157b..50f20adbfe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_token_authentication_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/open_id_connect_token_authentication_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -58,6 +58,9 @@ type OpenIdConnectTokenAuthenticationConfig struct { // The signing algorithms accepted. Default is ["RS256"]. SigningAlgorithms []string `mandatory:"false" json:"signingAlgorithms"` + + // A Base64 encoded string of a Kubernetes OIDC Auth Config file. More info here (https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration) + ConfigurationFile *string `mandatory:"false" json:"configurationFile"` } func (m OpenIdConnectTokenAuthenticationConfig) String() string { @@ -71,7 +74,7 @@ func (m OpenIdConnectTokenAuthenticationConfig) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go index 7a98797c96..6bcb18a90a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/persistent_volume_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,12 +21,12 @@ import ( type PersistentVolumeConfigDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -42,7 +42,7 @@ func (m PersistentVolumeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go index edd17776ad..6130978e47 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/placement_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -42,7 +42,7 @@ func (m PlacementConfiguration) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go index 9d847384e2..530f91daa4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m PodConfiguration) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go index 4db17edcd6..03146841bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m PodShape) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go index e20bcd4524..6e72a9b4bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/pod_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m PodShapeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go index 18310c9039..b67588596b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemptible_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -34,7 +34,7 @@ func (m PreemptibleNodeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go index 55530ca8ef..4e13c2dd38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/preemption_action.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -57,7 +57,7 @@ func (m *preemptionaction) UnmarshalPolymorphicJSON(data []byte) (interface{}, e err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for PreemptionAction: %s.", m.Type) + common.Logf("Received unsupported enum value for PreemptionAction: %s.", m.Type) return *m, nil } } @@ -73,7 +73,7 @@ func (m preemptionaction) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/public_api_endpoint_decommission_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/public_api_endpoint_decommission_status.go new file mode 100644 index 0000000000..dc06bfb969 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/public_api_endpoint_decommission_status.go @@ -0,0 +1,110 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PublicApiEndpointDecommissionStatus Information regarding a cluster's public api endpoint decommission. +type PublicApiEndpointDecommissionStatus struct { + + // The date and time of rollback deadline for public api endpoint decommission. + // Once the date is passed, rollback is not able to be launched. + TimeDecommissionRollbackDeadline *common.SDKTime `mandatory:"true" json:"timeDecommissionRollbackDeadline"` + + // The current public api endpoint decommission status of the cluster. + Status PublicApiEndpointDecommissionStatusStatusEnum `mandatory:"true" json:"status"` +} + +func (m PublicApiEndpointDecommissionStatus) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PublicApiEndpointDecommissionStatus) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingPublicApiEndpointDecommissionStatusStatusEnum(string(m.Status)); !ok && m.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetPublicApiEndpointDecommissionStatusStatusEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// PublicApiEndpointDecommissionStatusStatusEnum Enum with underlying type: string +type PublicApiEndpointDecommissionStatusStatusEnum string + +// Set of constants representing the allowable values for PublicApiEndpointDecommissionStatusStatusEnum +const ( + PublicApiEndpointDecommissionStatusStatusPending PublicApiEndpointDecommissionStatusStatusEnum = "PENDING" + PublicApiEndpointDecommissionStatusStatusInProgress PublicApiEndpointDecommissionStatusStatusEnum = "IN_PROGRESS" + PublicApiEndpointDecommissionStatusStatusRollingBack PublicApiEndpointDecommissionStatusStatusEnum = "ROLLING_BACK" + PublicApiEndpointDecommissionStatusStatusDecommissioned PublicApiEndpointDecommissionStatusStatusEnum = "DECOMMISSIONED" + PublicApiEndpointDecommissionStatusStatusFinalized PublicApiEndpointDecommissionStatusStatusEnum = "FINALIZED" + PublicApiEndpointDecommissionStatusStatusDecommissionFailed PublicApiEndpointDecommissionStatusStatusEnum = "DECOMMISSION_FAILED" + PublicApiEndpointDecommissionStatusStatusRollbackFailed PublicApiEndpointDecommissionStatusStatusEnum = "ROLLBACK_FAILED" +) + +var mappingPublicApiEndpointDecommissionStatusStatusEnum = map[string]PublicApiEndpointDecommissionStatusStatusEnum{ + "PENDING": PublicApiEndpointDecommissionStatusStatusPending, + "IN_PROGRESS": PublicApiEndpointDecommissionStatusStatusInProgress, + "ROLLING_BACK": PublicApiEndpointDecommissionStatusStatusRollingBack, + "DECOMMISSIONED": PublicApiEndpointDecommissionStatusStatusDecommissioned, + "FINALIZED": PublicApiEndpointDecommissionStatusStatusFinalized, + "DECOMMISSION_FAILED": PublicApiEndpointDecommissionStatusStatusDecommissionFailed, + "ROLLBACK_FAILED": PublicApiEndpointDecommissionStatusStatusRollbackFailed, +} + +var mappingPublicApiEndpointDecommissionStatusStatusEnumLowerCase = map[string]PublicApiEndpointDecommissionStatusStatusEnum{ + "pending": PublicApiEndpointDecommissionStatusStatusPending, + "in_progress": PublicApiEndpointDecommissionStatusStatusInProgress, + "rolling_back": PublicApiEndpointDecommissionStatusStatusRollingBack, + "decommissioned": PublicApiEndpointDecommissionStatusStatusDecommissioned, + "finalized": PublicApiEndpointDecommissionStatusStatusFinalized, + "decommission_failed": PublicApiEndpointDecommissionStatusStatusDecommissionFailed, + "rollback_failed": PublicApiEndpointDecommissionStatusStatusRollbackFailed, +} + +// GetPublicApiEndpointDecommissionStatusStatusEnumValues Enumerates the set of values for PublicApiEndpointDecommissionStatusStatusEnum +func GetPublicApiEndpointDecommissionStatusStatusEnumValues() []PublicApiEndpointDecommissionStatusStatusEnum { + values := make([]PublicApiEndpointDecommissionStatusStatusEnum, 0) + for _, v := range mappingPublicApiEndpointDecommissionStatusStatusEnum { + values = append(values, v) + } + return values +} + +// GetPublicApiEndpointDecommissionStatusStatusEnumStringValues Enumerates the set of values in String for PublicApiEndpointDecommissionStatusStatusEnum +func GetPublicApiEndpointDecommissionStatusStatusEnumStringValues() []string { + return []string{ + "PENDING", + "IN_PROGRESS", + "ROLLING_BACK", + "DECOMMISSIONED", + "FINALIZED", + "DECOMMISSION_FAILED", + "ROLLBACK_FAILED", + } +} + +// GetMappingPublicApiEndpointDecommissionStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPublicApiEndpointDecommissionStatusStatusEnum(val string) (PublicApiEndpointDecommissionStatusStatusEnum, bool) { + enum, ok := mappingPublicApiEndpointDecommissionStatusStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_details.go new file mode 100644 index 0000000000..68b51a154f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// RebootClusterNodeDetails The properties that define a node reboot action. +type RebootClusterNodeDetails struct { + NodeEvictionSettings *NodeEvictionSettings `mandatory:"false" json:"nodeEvictionSettings"` +} + +func (m RebootClusterNodeDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m RebootClusterNodeDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_request_response.go new file mode 100644 index 0000000000..7a8ec9fa06 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/reboot_cluster_node_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// RebootClusterNodeRequest wrapper for the RebootClusterNode operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/RebootClusterNode.go.html to see an example of how to use RebootClusterNodeRequest. +type RebootClusterNodeRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // The OCID of the compute instance. + NodeId *string `mandatory:"true" contributesTo:"path" name:"nodeId"` + + // The fields to reboot a node. + RebootClusterNodeDetails `contributesTo:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request RebootClusterNodeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request RebootClusterNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request RebootClusterNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request RebootClusterNodeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request RebootClusterNodeRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// RebootClusterNodeResponse wrapper for the RebootClusterNode operation +type RebootClusterNodeResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response RebootClusterNodeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response RebootClusterNodeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_details.go new file mode 100644 index 0000000000..529270a870 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_details.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Kubernetes Engine API +// +// API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, +// and manage cloud-native applications. For more information, see +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ReplaceBootVolumeClusterNodeDetails The properties that define a node boot volume replacement action. +type ReplaceBootVolumeClusterNodeDetails struct { + NodeEvictionSettings *NodeEvictionSettings `mandatory:"false" json:"nodeEvictionSettings"` +} + +func (m ReplaceBootVolumeClusterNodeDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ReplaceBootVolumeClusterNodeDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_request_response.go new file mode 100644 index 0000000000..47e437e9aa --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/replace_boot_volume_cluster_node_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ReplaceBootVolumeClusterNodeRequest wrapper for the ReplaceBootVolumeClusterNode operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ReplaceBootVolumeClusterNode.go.html to see an example of how to use ReplaceBootVolumeClusterNodeRequest. +type ReplaceBootVolumeClusterNodeRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // The OCID of the compute instance. + NodeId *string `mandatory:"true" contributesTo:"path" name:"nodeId"` + + // The fields to replace boot volume of a node. + ReplaceBootVolumeClusterNodeDetails `contributesTo:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ReplaceBootVolumeClusterNodeRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ReplaceBootVolumeClusterNodeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ReplaceBootVolumeClusterNodeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ReplaceBootVolumeClusterNodeRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ReplaceBootVolumeClusterNodeRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ReplaceBootVolumeClusterNodeResponse wrapper for the ReplaceBootVolumeClusterNode operation +type ReplaceBootVolumeClusterNodeResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ReplaceBootVolumeClusterNodeResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ReplaceBootVolumeClusterNodeResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/rollback_public_api_endpoint_decommission_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/rollback_public_api_endpoint_decommission_request_response.go new file mode 100644 index 0000000000..bb3d8f76ff --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/rollback_public_api_endpoint_decommission_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// RollbackPublicApiEndpointDecommissionRequest wrapper for the RollbackPublicApiEndpointDecommission operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/RollbackPublicApiEndpointDecommission.go.html to see an example of how to use RollbackPublicApiEndpointDecommissionRequest. +type RollbackPublicApiEndpointDecommissionRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request RollbackPublicApiEndpointDecommissionRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request RollbackPublicApiEndpointDecommissionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request RollbackPublicApiEndpointDecommissionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request RollbackPublicApiEndpointDecommissionRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request RollbackPublicApiEndpointDecommissionRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// RollbackPublicApiEndpointDecommissionResponse wrapper for the RollbackPublicApiEndpointDecommission operation +type RollbackPublicApiEndpointDecommissionResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response RollbackPublicApiEndpointDecommissionResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response RollbackPublicApiEndpointDecommissionResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go index 49521e94e4..c5f1e2cdf5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/service_lb_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,14 +21,17 @@ import ( type ServiceLbConfigDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A list of the OCIDs of the network security groups (NSGs) associated to backends to LBs (pods/nodes/virtual pods, etc.). Rules necessary for LB to backend communication would be added when rule management mode is set to NSG via annotations. see NetworkSecurityGroup. + BackendNsgIds []string `mandatory:"false" json:"backendNsgIds"` } func (m ServiceLbConfigDetails) String() string { @@ -42,7 +45,7 @@ func (m ServiceLbConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go index f56fb9e325..00afa67c91 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_memory_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m ShapeMemoryOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go index 9ea7342d04..b419bda2b3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_network_bandwidth_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m ShapeNetworkBandwidthOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go index 8ea6491e51..301c8cac50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/shape_ocpu_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m ShapeOcpuOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go index ebe40a0fa7..3b6d1ddc0d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/sort_order.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_details.go index cf45729c63..ad07f5e46b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -35,7 +35,7 @@ func (m StartCredentialRotationDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_request_response.go index 3576c06267..b5f191267f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_credential_rotation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/StartCredentialRotation.go.html to see an example of how to use StartCredentialRotationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/StartCredentialRotation.go.html to see an example of how to use StartCredentialRotationRequest. type StartCredentialRotationRequest struct { // The OCID of the cluster. @@ -74,7 +74,7 @@ func (request StartCredentialRotationRequest) RetryPolicy() *common.RetryPolicy func (request StartCredentialRotationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_public_api_endpoint_decommission_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_public_api_endpoint_decommission_request_response.go new file mode 100644 index 0000000000..9f12ce0fc9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/start_public_api_endpoint_decommission_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package containerengine + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// StartPublicApiEndpointDecommissionRequest wrapper for the StartPublicApiEndpointDecommission operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/StartPublicApiEndpointDecommission.go.html to see an example of how to use StartPublicApiEndpointDecommissionRequest. +type StartPublicApiEndpointDecommissionRequest struct { + + // The OCID of the cluster. + ClusterId *string `mandatory:"true" contributesTo:"path" name:"clusterId"` + + // A token you supply to uniquely identify the request and provide idempotency if + // the request is retried. Idempotency tokens expire after 24 hours. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request StartPublicApiEndpointDecommissionRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request StartPublicApiEndpointDecommissionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request StartPublicApiEndpointDecommissionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request StartPublicApiEndpointDecommissionRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request StartPublicApiEndpointDecommissionRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// StartPublicApiEndpointDecommissionResponse wrapper for the StartPublicApiEndpointDecommission operation +type StartPublicApiEndpointDecommissionResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID of the work request handling the operation. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response StartPublicApiEndpointDecommissionResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response StartPublicApiEndpointDecommissionResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go index 15bcec0b74..73fa81d73b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/taint.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -41,7 +41,7 @@ func (m Taint) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go index 6113f332c3..cf9e39d130 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/terminate_preemption_action.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -36,7 +36,7 @@ func (m TerminatePreemptionAction) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go index 27d01bcc1b..6ccd608b7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m UpdateAddonDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go index e998a60874..52bf20e029 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_addon_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateAddon.go.html to see an example of how to use UpdateAddonRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateAddon.go.html to see an example of how to use UpdateAddonRequest. type UpdateAddonRequest struct { // The OCID of the cluster. @@ -73,7 +73,7 @@ func (request UpdateAddonRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateAddonRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go index e10c3039ef..1ecf35029e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -29,12 +29,12 @@ type UpdateClusterDetails struct { Options *UpdateClusterOptionsDetails `mandatory:"false" json:"options"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -61,7 +61,7 @@ func (m UpdateClusterDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetClusterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go index e86d8047f7..b1fc0efaa1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m UpdateClusterEndpointConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go index 541a5876ef..1fef825998 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_endpoint_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfigRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfigRequest. type UpdateClusterEndpointConfigRequest struct { // The OCID of the cluster. @@ -70,7 +70,7 @@ func (request UpdateClusterEndpointConfigRequest) RetryPolicy() *common.RetryPol func (request UpdateClusterEndpointConfigRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go index ec8d7ae17f..a0e5c4ae60 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_options_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -43,7 +43,7 @@ func (m UpdateClusterOptionsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go index 1e7716d63e..e1156d552b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateClusterRequest. type UpdateClusterRequest struct { // The OCID of the cluster. @@ -70,7 +70,7 @@ func (request UpdateClusterRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go index bf1266a56f..16cba70b50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_image_policy_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m UpdateImagePolicyConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go index 1643a11dc4..4bb6807146 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -64,12 +64,12 @@ type UpdateNodePoolDetails struct { NodeShapeConfig *UpdateNodeShapeConfigDetails `mandatory:"false" json:"nodeShapeConfig"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -89,7 +89,7 @@ func (m UpdateNodePoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go index cbeef7c02e..4891ef5535 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -34,12 +34,12 @@ type UpdateNodePoolNodeConfigDetails struct { IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -65,7 +65,7 @@ func (m UpdateNodePoolNodeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go index b80c317dac..c3d9b979ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePoolRequest. type UpdateNodePoolRequest struct { // The OCID of the node pool. @@ -77,7 +77,7 @@ func (request UpdateNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go index 1dbd9a1be7..ff1d44ec0e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,7 +21,7 @@ import ( type UpdateNodeShapeConfigDetails struct { // The total number of OCPUs available to each node in the node pool. - // See here (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. + // See here (https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. Ocpus *float32 `mandatory:"false" json:"ocpus"` // The total amount of memory available to each node, in gigabytes. @@ -39,7 +39,7 @@ func (m UpdateNodeShapeConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go index da7cff3517..763b8f14fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -42,12 +42,12 @@ type UpdateVirtualNodePoolDetails struct { PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -65,7 +65,7 @@ func (m UpdateVirtualNodePoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go index 9707b90b66..699997c4a8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_virtual_node_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateVirtualNodePool.go.html to see an example of how to use UpdateVirtualNodePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateVirtualNodePool.go.html to see an example of how to use UpdateVirtualNodePoolRequest. type UpdateVirtualNodePoolRequest struct { // The OCID of the virtual node pool. @@ -70,7 +70,7 @@ func (request UpdateVirtualNodePoolRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVirtualNodePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_details.go index a7ff13899c..07d3655a33 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -24,12 +24,12 @@ type UpdateWorkloadMappingDetails struct { MappedCompartmentId *string `mandatory:"false" json:"mappedCompartmentId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -45,7 +45,7 @@ func (m UpdateWorkloadMappingDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_request_response.go index 29d5dfb881..c32002308f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_workload_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateWorkloadMapping.go.html to see an example of how to use UpdateWorkloadMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateWorkloadMapping.go.html to see an example of how to use UpdateWorkloadMappingRequest. type UpdateWorkloadMappingRequest struct { // The OCID of the cluster. @@ -73,7 +73,7 @@ func (request UpdateWorkloadMappingRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateWorkloadMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go index 29a6231cd1..2204bfff0e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -60,12 +60,12 @@ type VirtualNode struct { TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -88,7 +88,7 @@ func (m VirtualNode) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go index a29b0ff389..20208a267c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go index 188355de89..dc96d6a775 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -35,24 +35,24 @@ type VirtualNodePool struct { // The version of Kubernetes running on the nodes in the node pool. KubernetesVersion *string `mandatory:"true" json:"kubernetesVersion"` + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"true" json:"size"` + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"` + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"true" json:"podConfiguration"` + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources. InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. Taints []Taint `mandatory:"false" json:"taints"` - // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. - Size *int `mandatory:"false" json:"size"` - // List of network security group id's applied to the Virtual Node VNIC. NsgIds []string `mandatory:"false" json:"nsgIds"` - // The pod configuration for pods run on virtual nodes of this virtual node pool. - PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` - // The state of the Virtual Node Pool. LifecycleState VirtualNodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` @@ -66,12 +66,12 @@ type VirtualNodePool struct { TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -96,7 +96,7 @@ func (m VirtualNodePool) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodePoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go index f129e44da6..d893c07d77 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go index 6ec4675ed6..5d147665c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -35,24 +35,24 @@ type VirtualNodePoolSummary struct { // The version of Kubernetes running on the nodes in the node pool. KubernetesVersion *string `mandatory:"true" json:"kubernetesVersion"` + // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. + Size *int `mandatory:"true" json:"size"` + // The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations PlacementConfigurations []PlacementConfiguration `mandatory:"true" json:"placementConfigurations"` + // The pod configuration for pods run on virtual nodes of this virtual node pool. + PodConfiguration *PodConfiguration `mandatory:"true" json:"podConfiguration"` + // Initial labels that will be added to the Kubernetes Virtual Node object when it registers. This is the same as virtualNodePool resources. InitialVirtualNodeLabels []InitialVirtualNodeLabel `mandatory:"false" json:"initialVirtualNodeLabels"` // A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. Taints []Taint `mandatory:"false" json:"taints"` - // The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed. - Size *int `mandatory:"false" json:"size"` - // List of network security group id's applied to the Virtual Node VNIC. NsgIds []string `mandatory:"false" json:"nsgIds"` - // The pod configuration for pods run on virtual nodes of this virtual node pool. - PodConfiguration *PodConfiguration `mandatory:"false" json:"podConfiguration"` - // The state of the Virtual Node Pool. LifecycleState VirtualNodePoolLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` @@ -66,12 +66,12 @@ type VirtualNodePoolSummary struct { TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -96,7 +96,7 @@ func (m VirtualNodePoolSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodePoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go index e387e53652..df9a4b16e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -60,12 +60,12 @@ type VirtualNodeSummary struct { TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -88,7 +88,7 @@ func (m VirtualNodeSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetVirtualNodeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go index a9db750c1e..4ec32fb85d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/virtual_node_tags.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -21,12 +21,12 @@ import ( type VirtualNodeTags struct { // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -42,7 +42,7 @@ func (m VirtualNodeTags) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go index 4ea63058bc..435073bbd3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -62,7 +62,7 @@ func (m WorkRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetWorkRequestStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go index ef6f6f5a21..030533a7cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -20,7 +20,7 @@ import ( // WorkRequestError Errors related to a specific work request. type WorkRequestError struct { - // A short error code that defines the error, meant for programmatic parsing. See API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm). + // A short error code that defines the error, meant for programmatic parsing. See API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error string. @@ -41,7 +41,7 @@ func (m WorkRequestError) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go index 8a8d7f9975..60909aeeac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_log_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -38,7 +38,7 @@ func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go index cf959fdb54..c722796c64 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_operation_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -20,66 +20,78 @@ type WorkRequestOperationTypeEnum string // Set of constants representing the allowable values for WorkRequestOperationTypeEnum const ( - WorkRequestOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" - WorkRequestOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" - WorkRequestOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" - WorkRequestOperationTypeCreateNamespace WorkRequestOperationTypeEnum = "CREATE_NAMESPACE" - WorkRequestOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" - WorkRequestOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" - WorkRequestOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" - WorkRequestOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" - WorkRequestOperationTypeNodepoolCycling WorkRequestOperationTypeEnum = "NODEPOOL_CYCLING" - WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" - WorkRequestOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE" - WorkRequestOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE" - WorkRequestOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE" - WorkRequestOperationTypeVirtualnodeDelete WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE" - WorkRequestOperationTypeEnableAddon WorkRequestOperationTypeEnum = "ENABLE_ADDON" - WorkRequestOperationTypeUpdateAddon WorkRequestOperationTypeEnum = "UPDATE_ADDON" - WorkRequestOperationTypeDisableAddon WorkRequestOperationTypeEnum = "DISABLE_ADDON" - WorkRequestOperationTypeReconcileAddon WorkRequestOperationTypeEnum = "RECONCILE_ADDON" + WorkRequestOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" + WorkRequestOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" + WorkRequestOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" + WorkRequestOperationTypeCreateNamespace WorkRequestOperationTypeEnum = "CREATE_NAMESPACE" + WorkRequestOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" + WorkRequestOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" + WorkRequestOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" + WorkRequestOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" + WorkRequestOperationTypeNodepoolCycling WorkRequestOperationTypeEnum = "NODEPOOL_CYCLING" + WorkRequestOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" + WorkRequestOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE" + WorkRequestOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE" + WorkRequestOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE" + WorkRequestOperationTypeVirtualnodeDelete WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE" + WorkRequestOperationTypeEnableAddon WorkRequestOperationTypeEnum = "ENABLE_ADDON" + WorkRequestOperationTypeUpdateAddon WorkRequestOperationTypeEnum = "UPDATE_ADDON" + WorkRequestOperationTypeDisableAddon WorkRequestOperationTypeEnum = "DISABLE_ADDON" + WorkRequestOperationTypeReconcileAddon WorkRequestOperationTypeEnum = "RECONCILE_ADDON" + WorkRequestOperationTypeClusterNodeReboot WorkRequestOperationTypeEnum = "CLUSTER_NODE_REBOOT" + WorkRequestOperationTypeClusterNodeReplaceBootVolume WorkRequestOperationTypeEnum = "CLUSTER_NODE_REPLACE_BOOT_VOLUME" + WorkRequestOperationTypeStartPublicApiEndpointDecommission WorkRequestOperationTypeEnum = "START_PUBLIC_API_ENDPOINT_DECOMMISSION" + WorkRequestOperationTypeRollbackPublicApiEndpointDecommission WorkRequestOperationTypeEnum = "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION" ) var mappingWorkRequestOperationTypeEnum = map[string]WorkRequestOperationTypeEnum{ - "CLUSTER_CREATE": WorkRequestOperationTypeClusterCreate, - "CLUSTER_UPDATE": WorkRequestOperationTypeClusterUpdate, - "CLUSTER_DELETE": WorkRequestOperationTypeClusterDelete, - "CREATE_NAMESPACE": WorkRequestOperationTypeCreateNamespace, - "NODEPOOL_CREATE": WorkRequestOperationTypeNodepoolCreate, - "NODEPOOL_UPDATE": WorkRequestOperationTypeNodepoolUpdate, - "NODEPOOL_DELETE": WorkRequestOperationTypeNodepoolDelete, - "NODEPOOL_RECONCILE": WorkRequestOperationTypeNodepoolReconcile, - "NODEPOOL_CYCLING": WorkRequestOperationTypeNodepoolCycling, - "WORKREQUEST_CANCEL": WorkRequestOperationTypeWorkrequestCancel, - "VIRTUALNODEPOOL_CREATE": WorkRequestOperationTypeVirtualnodepoolCreate, - "VIRTUALNODEPOOL_UPDATE": WorkRequestOperationTypeVirtualnodepoolUpdate, - "VIRTUALNODEPOOL_DELETE": WorkRequestOperationTypeVirtualnodepoolDelete, - "VIRTUALNODE_DELETE": WorkRequestOperationTypeVirtualnodeDelete, - "ENABLE_ADDON": WorkRequestOperationTypeEnableAddon, - "UPDATE_ADDON": WorkRequestOperationTypeUpdateAddon, - "DISABLE_ADDON": WorkRequestOperationTypeDisableAddon, - "RECONCILE_ADDON": WorkRequestOperationTypeReconcileAddon, + "CLUSTER_CREATE": WorkRequestOperationTypeClusterCreate, + "CLUSTER_UPDATE": WorkRequestOperationTypeClusterUpdate, + "CLUSTER_DELETE": WorkRequestOperationTypeClusterDelete, + "CREATE_NAMESPACE": WorkRequestOperationTypeCreateNamespace, + "NODEPOOL_CREATE": WorkRequestOperationTypeNodepoolCreate, + "NODEPOOL_UPDATE": WorkRequestOperationTypeNodepoolUpdate, + "NODEPOOL_DELETE": WorkRequestOperationTypeNodepoolDelete, + "NODEPOOL_RECONCILE": WorkRequestOperationTypeNodepoolReconcile, + "NODEPOOL_CYCLING": WorkRequestOperationTypeNodepoolCycling, + "WORKREQUEST_CANCEL": WorkRequestOperationTypeWorkrequestCancel, + "VIRTUALNODEPOOL_CREATE": WorkRequestOperationTypeVirtualnodepoolCreate, + "VIRTUALNODEPOOL_UPDATE": WorkRequestOperationTypeVirtualnodepoolUpdate, + "VIRTUALNODEPOOL_DELETE": WorkRequestOperationTypeVirtualnodepoolDelete, + "VIRTUALNODE_DELETE": WorkRequestOperationTypeVirtualnodeDelete, + "ENABLE_ADDON": WorkRequestOperationTypeEnableAddon, + "UPDATE_ADDON": WorkRequestOperationTypeUpdateAddon, + "DISABLE_ADDON": WorkRequestOperationTypeDisableAddon, + "RECONCILE_ADDON": WorkRequestOperationTypeReconcileAddon, + "CLUSTER_NODE_REBOOT": WorkRequestOperationTypeClusterNodeReboot, + "CLUSTER_NODE_REPLACE_BOOT_VOLUME": WorkRequestOperationTypeClusterNodeReplaceBootVolume, + "START_PUBLIC_API_ENDPOINT_DECOMMISSION": WorkRequestOperationTypeStartPublicApiEndpointDecommission, + "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION": WorkRequestOperationTypeRollbackPublicApiEndpointDecommission, } var mappingWorkRequestOperationTypeEnumLowerCase = map[string]WorkRequestOperationTypeEnum{ - "cluster_create": WorkRequestOperationTypeClusterCreate, - "cluster_update": WorkRequestOperationTypeClusterUpdate, - "cluster_delete": WorkRequestOperationTypeClusterDelete, - "create_namespace": WorkRequestOperationTypeCreateNamespace, - "nodepool_create": WorkRequestOperationTypeNodepoolCreate, - "nodepool_update": WorkRequestOperationTypeNodepoolUpdate, - "nodepool_delete": WorkRequestOperationTypeNodepoolDelete, - "nodepool_reconcile": WorkRequestOperationTypeNodepoolReconcile, - "nodepool_cycling": WorkRequestOperationTypeNodepoolCycling, - "workrequest_cancel": WorkRequestOperationTypeWorkrequestCancel, - "virtualnodepool_create": WorkRequestOperationTypeVirtualnodepoolCreate, - "virtualnodepool_update": WorkRequestOperationTypeVirtualnodepoolUpdate, - "virtualnodepool_delete": WorkRequestOperationTypeVirtualnodepoolDelete, - "virtualnode_delete": WorkRequestOperationTypeVirtualnodeDelete, - "enable_addon": WorkRequestOperationTypeEnableAddon, - "update_addon": WorkRequestOperationTypeUpdateAddon, - "disable_addon": WorkRequestOperationTypeDisableAddon, - "reconcile_addon": WorkRequestOperationTypeReconcileAddon, + "cluster_create": WorkRequestOperationTypeClusterCreate, + "cluster_update": WorkRequestOperationTypeClusterUpdate, + "cluster_delete": WorkRequestOperationTypeClusterDelete, + "create_namespace": WorkRequestOperationTypeCreateNamespace, + "nodepool_create": WorkRequestOperationTypeNodepoolCreate, + "nodepool_update": WorkRequestOperationTypeNodepoolUpdate, + "nodepool_delete": WorkRequestOperationTypeNodepoolDelete, + "nodepool_reconcile": WorkRequestOperationTypeNodepoolReconcile, + "nodepool_cycling": WorkRequestOperationTypeNodepoolCycling, + "workrequest_cancel": WorkRequestOperationTypeWorkrequestCancel, + "virtualnodepool_create": WorkRequestOperationTypeVirtualnodepoolCreate, + "virtualnodepool_update": WorkRequestOperationTypeVirtualnodepoolUpdate, + "virtualnodepool_delete": WorkRequestOperationTypeVirtualnodepoolDelete, + "virtualnode_delete": WorkRequestOperationTypeVirtualnodeDelete, + "enable_addon": WorkRequestOperationTypeEnableAddon, + "update_addon": WorkRequestOperationTypeUpdateAddon, + "disable_addon": WorkRequestOperationTypeDisableAddon, + "reconcile_addon": WorkRequestOperationTypeReconcileAddon, + "cluster_node_reboot": WorkRequestOperationTypeClusterNodeReboot, + "cluster_node_replace_boot_volume": WorkRequestOperationTypeClusterNodeReplaceBootVolume, + "start_public_api_endpoint_decommission": WorkRequestOperationTypeStartPublicApiEndpointDecommission, + "rollback_public_api_endpoint_decommission": WorkRequestOperationTypeRollbackPublicApiEndpointDecommission, } // GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum @@ -112,6 +124,10 @@ func GetWorkRequestOperationTypeEnumStringValues() []string { "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", + "CLUSTER_NODE_REBOOT", + "CLUSTER_NODE_REPLACE_BOOT_VOLUME", + "START_PUBLIC_API_ENDPOINT_DECOMMISSION", + "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go index c79a7234d6..787108a6db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_resource.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -47,7 +47,7 @@ func (m WorkRequestResource) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ActionType: %s. Supported values are: %s.", m.ActionType, strings.Join(GetWorkRequestResourceActionTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go index 4c71155a61..a8874498c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go index 9f22598124..a1c3aff7a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/work_request_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -62,7 +62,7 @@ func (m WorkRequestSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetWorkRequestStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -75,24 +75,28 @@ type WorkRequestSummaryOperationTypeEnum = WorkRequestOperationTypeEnum // Set of constants representing the allowable values for WorkRequestOperationTypeEnum // Deprecated const ( - WorkRequestSummaryOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" - WorkRequestSummaryOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" - WorkRequestSummaryOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" - WorkRequestSummaryOperationTypeCreateNamespace WorkRequestOperationTypeEnum = "CREATE_NAMESPACE" - WorkRequestSummaryOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" - WorkRequestSummaryOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" - WorkRequestSummaryOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" - WorkRequestSummaryOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" - WorkRequestSummaryOperationTypeNodepoolCycling WorkRequestOperationTypeEnum = "NODEPOOL_CYCLING" - WorkRequestSummaryOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" - WorkRequestSummaryOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE" - WorkRequestSummaryOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE" - WorkRequestSummaryOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE" - WorkRequestSummaryOperationTypeVirtualnodeDelete WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE" - WorkRequestSummaryOperationTypeEnableAddon WorkRequestOperationTypeEnum = "ENABLE_ADDON" - WorkRequestSummaryOperationTypeUpdateAddon WorkRequestOperationTypeEnum = "UPDATE_ADDON" - WorkRequestSummaryOperationTypeDisableAddon WorkRequestOperationTypeEnum = "DISABLE_ADDON" - WorkRequestSummaryOperationTypeReconcileAddon WorkRequestOperationTypeEnum = "RECONCILE_ADDON" + WorkRequestSummaryOperationTypeClusterCreate WorkRequestOperationTypeEnum = "CLUSTER_CREATE" + WorkRequestSummaryOperationTypeClusterUpdate WorkRequestOperationTypeEnum = "CLUSTER_UPDATE" + WorkRequestSummaryOperationTypeClusterDelete WorkRequestOperationTypeEnum = "CLUSTER_DELETE" + WorkRequestSummaryOperationTypeCreateNamespace WorkRequestOperationTypeEnum = "CREATE_NAMESPACE" + WorkRequestSummaryOperationTypeNodepoolCreate WorkRequestOperationTypeEnum = "NODEPOOL_CREATE" + WorkRequestSummaryOperationTypeNodepoolUpdate WorkRequestOperationTypeEnum = "NODEPOOL_UPDATE" + WorkRequestSummaryOperationTypeNodepoolDelete WorkRequestOperationTypeEnum = "NODEPOOL_DELETE" + WorkRequestSummaryOperationTypeNodepoolReconcile WorkRequestOperationTypeEnum = "NODEPOOL_RECONCILE" + WorkRequestSummaryOperationTypeNodepoolCycling WorkRequestOperationTypeEnum = "NODEPOOL_CYCLING" + WorkRequestSummaryOperationTypeWorkrequestCancel WorkRequestOperationTypeEnum = "WORKREQUEST_CANCEL" + WorkRequestSummaryOperationTypeVirtualnodepoolCreate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_CREATE" + WorkRequestSummaryOperationTypeVirtualnodepoolUpdate WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_UPDATE" + WorkRequestSummaryOperationTypeVirtualnodepoolDelete WorkRequestOperationTypeEnum = "VIRTUALNODEPOOL_DELETE" + WorkRequestSummaryOperationTypeVirtualnodeDelete WorkRequestOperationTypeEnum = "VIRTUALNODE_DELETE" + WorkRequestSummaryOperationTypeEnableAddon WorkRequestOperationTypeEnum = "ENABLE_ADDON" + WorkRequestSummaryOperationTypeUpdateAddon WorkRequestOperationTypeEnum = "UPDATE_ADDON" + WorkRequestSummaryOperationTypeDisableAddon WorkRequestOperationTypeEnum = "DISABLE_ADDON" + WorkRequestSummaryOperationTypeReconcileAddon WorkRequestOperationTypeEnum = "RECONCILE_ADDON" + WorkRequestSummaryOperationTypeClusterNodeReboot WorkRequestOperationTypeEnum = "CLUSTER_NODE_REBOOT" + WorkRequestSummaryOperationTypeClusterNodeReplaceBootVolume WorkRequestOperationTypeEnum = "CLUSTER_NODE_REPLACE_BOOT_VOLUME" + WorkRequestSummaryOperationTypeStartPublicApiEndpointDecommission WorkRequestOperationTypeEnum = "START_PUBLIC_API_ENDPOINT_DECOMMISSION" + WorkRequestSummaryOperationTypeRollbackPublicApiEndpointDecommission WorkRequestOperationTypeEnum = "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION" ) // GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping.go index 2c05a5e941..2cab9bee02 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -42,12 +42,12 @@ type WorkloadMapping struct { LifecycleState WorkloadMappingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -70,7 +70,7 @@ func (m WorkloadMapping) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_lifecycle_state.go index e86f9bf04e..b7ed6765fb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_summary.go index a284b3600e..c4021b3ef7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/workload_mapping_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,7 +6,7 @@ // // API for the Kubernetes Engine service (also known as the Container Engine for Kubernetes service). Use this API to build, deploy, // and manage cloud-native applications. For more information, see -// Overview of Kubernetes Engine (https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). +// Overview of Kubernetes Engine (https://docs.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm). // package containerengine @@ -42,12 +42,12 @@ type WorkloadMappingSummary struct { LifecycleState WorkloadMappingLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -70,7 +70,7 @@ func (m WorkloadMappingSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go index 96f5093aa1..c3f93b3966 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/accept_shielded_integrity_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.go.html to see an example of how to use AcceptShieldedIntegrityPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.go.html to see an example of how to use AcceptShieldedIntegrityPolicyRequest. type AcceptShieldedIntegrityPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Unique identifier for the request. @@ -74,7 +74,7 @@ func (request AcceptShieldedIntegrityPolicyRequest) RetryPolicy() *common.RetryP func (request AcceptShieldedIntegrityPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go index 1e67f9a067..95b1b2d33d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m AddDrgRouteDistributionStatementDetails) ValidateEnumValue() (bool, erro } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go index 4868bb30ad..f159d2d295 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m AddDrgRouteDistributionStatementsDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go index 387906918b..674354ccbd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatementsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatementsRequest. type AddDrgRouteDistributionStatementsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // Request with one or more route distribution statements to be inserted into the route distribution. @@ -65,7 +65,7 @@ func (request AddDrgRouteDistributionStatementsRequest) RetryPolicy() *common.Re func (request AddDrgRouteDistributionStatementsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go index e5c9a7c5cd..7ea1f2c461 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,7 +36,7 @@ type AddDrgRouteRuleDetails struct { // or `2001:0db8:0123:45::/56`. Destination *string `mandatory:"true" json:"destination"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment. The next hop DRG attachment is responsible + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment. The next hop DRG attachment is responsible // for reaching the network destination. NextHopDrgAttachmentId *string `mandatory:"true" json:"nextHopDrgAttachmentId"` } @@ -55,7 +55,7 @@ func (m AddDrgRouteRuleDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go index 13e38b9260..4574fe40c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m AddDrgRouteRulesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go index 6fcbbb8f63..622195bf00 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRulesRequest. type AddDrgRouteRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // Request for one or more route rules to be inserted into the DRG route table. @@ -72,7 +72,7 @@ func (request AddDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy { func (request AddDrgRouteRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go index 53e8b3c520..34843cf175 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m AddImageShapeCompatibilityEntryDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go index 8af166d6a4..f8e079c3b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_image_shape_compatibility_entry_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntryRequest. type AddImageShapeCompatibilityEntryRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Shape name. @@ -68,7 +68,7 @@ func (request AddImageShapeCompatibilityEntryRequest) RetryPolicy() *common.Retr func (request AddImageShapeCompatibilityEntryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_details.go new file mode 100644 index 0000000000..10b45de1e6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_details.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AddIpv4SubnetCidrDetails Details used when adding an IPv4 prefix to a subnet. +type AddIpv4SubnetCidrDetails struct { + + // The CIDR IP address range of the subnet. The CIDR must maintain the following rules - + // a. The CIDR block is valid and correctly formatted. + // b. The new range is within one of the parent VCN ranges. + // Example: `10.0.1.0/24` + Ipv4CidrBlock *string `mandatory:"true" json:"ipv4CidrBlock"` +} + +func (m AddIpv4SubnetCidrDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AddIpv4SubnetCidrDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_request_response.go new file mode 100644 index 0000000000..8725fbc29b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv4_subnet_cidr_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// AddIpv4SubnetCidrRequest wrapper for the AddIpv4SubnetCidr operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv4SubnetCidr.go.html to see an example of how to use AddIpv4SubnetCidrRequest. +type AddIpv4SubnetCidrRequest struct { + + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` + + // Details object for adding an IPv4 prefix to a subnet. + AddIpv4SubnetCidrDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request AddIpv4SubnetCidrRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request AddIpv4SubnetCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request AddIpv4SubnetCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request AddIpv4SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request AddIpv4SubnetCidrRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// AddIpv4SubnetCidrResponse wrapper for the AddIpv4SubnetCidr operation +type AddIpv4SubnetCidrResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response AddIpv4SubnetCidrResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response AddIpv4SubnetCidrResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go index 2b35f36f7e..89ff829698 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_subnet_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidrRequest. type AddIpv6SubnetCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Details object for adding an IPv6 prefix to a subnet. @@ -77,7 +77,7 @@ func (request AddIpv6SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { func (request AddIpv6SubnetCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type AddIpv6SubnetCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go index 13142d7b89..3e79648b22 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_ipv6_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidrRequest. type AddIpv6VcnCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Unique identifier for the request. @@ -77,7 +77,7 @@ func (request AddIpv6VcnCidrRequest) RetryPolicy() *common.RetryPolicy { func (request AddIpv6VcnCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type AddIpv6VcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go index b834932624..bf1312f5f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m AddNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go index 4f0e5e8982..bee05cc5d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRulesRequest. type AddNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request with one or more security rules to be associated with the network security group. @@ -65,7 +65,7 @@ func (request AddNetworkSecurityGroupSecurityRulesRequest) RetryPolicy() *common func (request AddNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go index 6bd44e1e93..6e0e1b4217 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // AddPublicIpPoolCapacityDetails The information used to add capacity to an IP pool. type AddPublicIpPoolCapacityDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. ByoipRangeId *string `mandatory:"true" json:"byoipRangeId"` // The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in `byoipRangeId`, or a subrange. @@ -43,7 +43,7 @@ func (m AddPublicIpPoolCapacityDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go index 7535686395..aba98c5b01 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_public_ip_pool_capacity_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacityRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacityRequest. type AddPublicIpPoolCapacityRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` // Byoip Range prefix and a cidr from it @@ -72,7 +72,7 @@ func (request AddPublicIpPoolCapacityRequest) RetryPolicy() *common.RetryPolicy func (request AddPublicIpPoolCapacityRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go index d149719f53..e444ea3b3c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_security_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,11 +42,11 @@ type AddSecurityRuleDetails struct { // Allowed values: // * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // IPv6 addressing is supported for all commercial and government regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security rule for traffic destined for a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. - // * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same + // * The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same // VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control // traffic between VNICs in the same NSG. Destination *string `mandatory:"false" json:"destination"` @@ -57,7 +57,7 @@ type AddSecurityRuleDetails struct { // * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a // Service (the rule is for traffic destined for a // particular `Service` through a service gateway). - // * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + // * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a // NetworkSecurityGroup. DestinationType AddSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` @@ -75,11 +75,11 @@ type AddSecurityRuleDetails struct { // Allowed values: // * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // IPv6 addressing is supported for all commercial and government regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security rule for traffic coming from a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. - // * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same + // * The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same // VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control // traffic between VNICs in the same NSG. Source *string `mandatory:"false" json:"source"` @@ -89,7 +89,7 @@ type AddSecurityRuleDetails struct { // * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a // Service (the rule is for traffic coming from a // particular `Service` through a service gateway). - // * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + // * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a // NetworkSecurityGroup. SourceType AddSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` @@ -118,7 +118,7 @@ func (m AddSecurityRuleDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetAddSecurityRuleDetailsSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go index cd2280f3b1..baca911109 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_subnet_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ type AddSubnetIpv6CidrDetails struct { // This field is not required and should only be specified when adding an IPv6 prefix // to a subnet's IPv6 address space. - // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // SeeIPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123::/64` Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"` } @@ -42,7 +42,7 @@ func (m AddSubnetIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go index 78a7f200f8..94c701512b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m AddVcnCidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go index cbca6b6046..c69425f9d6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidrRequest. type AddVcnCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Details object for deleting a VCN CIDR. @@ -77,7 +77,7 @@ func (request AddVcnCidrRequest) RetryPolicy() *common.RetryPolicy { func (request AddVcnCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type AddVcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go index 3c729daff1..cc99f4541f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_vcn_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type AddVcnIpv6CidrDetails struct { // This field is not required and should only be specified if a ULA or private IPv6 prefix is desired for VCN's private IP address space. - // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // SeeIPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123::/48` or `fd00:1000:0:1::/64` Ipv6PrivateCidrBlock *string `mandatory:"false" json:"ipv6PrivateCidrBlock"` @@ -46,7 +46,7 @@ func (m AddVcnIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go index de9ab28483..0d95591e09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/added_network_security_group_security_rules.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m AddedNetworkSecurityGroupSecurityRules) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/address_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/address_type.go index e45a3730be..d2831844df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/address_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/address_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go index a1c7010aa3..352fbd72ca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/advertise_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRangeRequest. type AdvertiseByoipRangeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request AdvertiseByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request AdvertiseByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go index d38c59c39e..a1bcbfa1f1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_ike_ip_sec_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,7 +43,7 @@ func (m AllowedIkeIpSecParameters) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go index 722f0af772..7a17dd6549 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_one_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m AllowedPhaseOneParameters) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go index 9daa8dee21..a674b90159 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/allowed_phase_two_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m AllowedPhaseTwoParameters) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go index 2db37eb889..34c1e893b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m AmdMilanBmGpuLaunchInstancePlatformConfig) ValidateEnumValue() (bool, er } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -126,6 +126,7 @@ const ( AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6 AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -133,6 +134,7 @@ var mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map "NPS1": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +142,7 @@ var mappingAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerC "nps1": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -158,6 +161,7 @@ func GetAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringVal "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go index d2eaff73f6..a3173fab73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m AmdMilanBmGpuPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -126,6 +126,7 @@ const ( AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps6 AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum{ @@ -133,6 +134,7 @@ var mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum = map[string]AmdMil "NPS1": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps6, } var mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +142,7 @@ var mappingAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase = map[stri "nps1": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps1, "nps2": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps2, "nps4": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdMilanBmGpuPlatformConfigNumaNodesPerSocketNps6, } // GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum @@ -158,6 +161,7 @@ func GetAmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues() []string "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go index 7f22f983fe..0ca52ec092 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -106,7 +106,7 @@ func (m AmdMilanBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -134,6 +134,7 @@ const ( AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6 AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -141,6 +142,7 @@ var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[st "NPS1": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -148,6 +150,7 @@ var mappingAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase "nps1": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -166,6 +169,7 @@ func GetAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go index 52975a8ebe..4c8d1d8310 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -106,7 +106,7 @@ func (m AmdMilanBmPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -134,6 +134,7 @@ const ( AmdMilanBmPlatformConfigNumaNodesPerSocketNps1 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdMilanBmPlatformConfigNumaNodesPerSocketNps2 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdMilanBmPlatformConfigNumaNodesPerSocketNps4 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdMilanBmPlatformConfigNumaNodesPerSocketNps6 AmdMilanBmPlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanBmPlatformConfigNumaNodesPerSocketEnum{ @@ -141,6 +142,7 @@ var mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnum = map[string]AmdMilanB "NPS1": AmdMilanBmPlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdMilanBmPlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdMilanBmPlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdMilanBmPlatformConfigNumaNodesPerSocketNps6, } var mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdMilanBmPlatformConfigNumaNodesPerSocketEnum{ @@ -148,6 +150,7 @@ var mappingAmdMilanBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string] "nps1": AmdMilanBmPlatformConfigNumaNodesPerSocketNps1, "nps2": AmdMilanBmPlatformConfigNumaNodesPerSocketNps2, "nps4": AmdMilanBmPlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdMilanBmPlatformConfigNumaNodesPerSocketNps6, } // GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdMilanBmPlatformConfigNumaNodesPerSocketEnum @@ -166,6 +169,7 @@ func GetAmdMilanBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string { "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go index f43c239a9f..63acf73a06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m AmdRomeBmGpuLaunchInstancePlatformConfig) ValidateEnumValue() (bool, err } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -126,6 +126,7 @@ const ( AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6 AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -133,6 +134,7 @@ var mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[ "NPS1": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +142,7 @@ var mappingAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCa "nps1": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -158,6 +161,7 @@ func GetAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValu "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go index 2978d4dc16..b1f1b33cbe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m AmdRomeBmGpuPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -126,6 +126,7 @@ const ( AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps6 AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum{ @@ -133,6 +134,7 @@ var mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum = map[string]AmdRome "NPS1": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps6, } var mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +142,7 @@ var mappingAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumLowerCase = map[strin "nps1": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps1, "nps2": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps2, "nps4": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdRomeBmGpuPlatformConfigNumaNodesPerSocketNps6, } // GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum @@ -158,6 +161,7 @@ func GetAmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnumStringValues() []string "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go index fcd22c070d..5151856b6f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -106,7 +106,7 @@ func (m AmdRomeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -134,6 +134,7 @@ const ( AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6 AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -141,6 +142,7 @@ var mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[str "NPS1": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -148,6 +150,7 @@ var mappingAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase "nps1": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -166,6 +169,7 @@ func GetAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues( "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go index ae746b4d03..1d2e596f78 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -105,7 +105,7 @@ func (m AmdRomeBmPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -133,6 +133,7 @@ const ( AmdRomeBmPlatformConfigNumaNodesPerSocketNps1 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1" AmdRomeBmPlatformConfigNumaNodesPerSocketNps2 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2" AmdRomeBmPlatformConfigNumaNodesPerSocketNps4 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS4" + AmdRomeBmPlatformConfigNumaNodesPerSocketNps6 AmdRomeBmPlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmPlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +141,7 @@ var mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnum = map[string]AmdRomeBmP "NPS1": AmdRomeBmPlatformConfigNumaNodesPerSocketNps1, "NPS2": AmdRomeBmPlatformConfigNumaNodesPerSocketNps2, "NPS4": AmdRomeBmPlatformConfigNumaNodesPerSocketNps4, + "NPS6": AmdRomeBmPlatformConfigNumaNodesPerSocketNps6, } var mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]AmdRomeBmPlatformConfigNumaNodesPerSocketEnum{ @@ -147,6 +149,7 @@ var mappingAmdRomeBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]A "nps1": AmdRomeBmPlatformConfigNumaNodesPerSocketNps1, "nps2": AmdRomeBmPlatformConfigNumaNodesPerSocketNps2, "nps4": AmdRomeBmPlatformConfigNumaNodesPerSocketNps4, + "nps6": AmdRomeBmPlatformConfigNumaNodesPerSocketNps6, } // GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for AmdRomeBmPlatformConfigNumaNodesPerSocketEnum @@ -165,6 +168,7 @@ func GetAmdRomeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string { "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go index c9dbdc8ced..9b175e9d96 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -77,7 +77,7 @@ func (m AmdVmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go index 7d3605624f..7bd2a2b120 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -77,7 +77,7 @@ func (m AmdVmPlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_update_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_update_instance_platform_config.go index 03c45206fe..33271b3bea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_update_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_vm_update_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m AmdVmUpdateInstancePlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go index 06ff7c97eb..caf152ac14 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -62,7 +62,7 @@ func (m AppCatalogListing) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go index 89f69ec176..addff673e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ type AppCatalogListingResourceVersion struct { // List of regions that this listing resource version is available. // For information about regions, see - // Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). + // Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // Example: `["us-ashburn-1", "us-phoenix-1"]` AvailableRegions []string `mandatory:"false" json:"availableRegions"` @@ -72,7 +72,7 @@ func (m AppCatalogListingResourceVersion) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go index 28e9724017..e837557a11 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_agreements.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -55,7 +55,7 @@ func (m AppCatalogListingResourceVersionAgreements) ValidateEnumValue() (bool, e errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go index b3c51778e5..b6b3b5118c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_resource_version_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -49,7 +49,7 @@ func (m AppCatalogListingResourceVersionSummary) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go index b5ac85a93b..a34baaaa58 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_listing_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -49,7 +49,7 @@ func (m AppCatalogListingSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go index 86ff215453..819d0d4d30 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -62,7 +62,7 @@ func (m AppCatalogSubscription) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go index 95468617ff..34458c159e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/app_catalog_subscription_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -62,7 +62,7 @@ func (m AppCatalogSubscriptionSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/apply_host_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/apply_host_configuration_request_response.go new file mode 100644 index 0000000000..25568a7171 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/apply_host_configuration_request_response.go @@ -0,0 +1,114 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ApplyHostConfigurationRequest wrapper for the ApplyHostConfiguration operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ApplyHostConfiguration.go.html to see an example of how to use ApplyHostConfigurationRequest. +type ApplyHostConfigurationRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ApplyHostConfigurationRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ApplyHostConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ApplyHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ApplyHostConfigurationRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ApplyHostConfigurationRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ApplyHostConfigurationResponse wrapper for the ApplyHostConfiguration operation +type ApplyHostConfigurationResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHost instance + ComputeHost `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Location of the resource. + Location *string `presentIn:"header" name:"location"` +} + +func (response ApplyHostConfigurationResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ApplyHostConfigurationResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go index b0335eddfd..86c9865f6d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m AttachBootVolumeDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go index 98048d6f49..e64a36e3ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolumeRequest. type AttachBootVolumeRequest struct { // Attach boot volume request @@ -69,7 +69,7 @@ func (request AttachBootVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request AttachBootVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_details.go new file mode 100644 index 0000000000..7701c458a8 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AttachComputeHostGroupHostDetails Specifies the host group id +type AttachComputeHostGroupHostDetails struct { + + // 'The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group.' + ComputeHostGroupId *string `mandatory:"true" json:"computeHostGroupId"` +} + +func (m AttachComputeHostGroupHostDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AttachComputeHostGroupHostDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_request_response.go new file mode 100644 index 0000000000..c86d5d2b08 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_compute_host_group_host_request_response.go @@ -0,0 +1,117 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// AttachComputeHostGroupHostRequest wrapper for the AttachComputeHostGroupHost operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachComputeHostGroupHost.go.html to see an example of how to use AttachComputeHostGroupHostRequest. +type AttachComputeHostGroupHostRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + AttachComputeHostGroupHostDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request AttachComputeHostGroupHostRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request AttachComputeHostGroupHostRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request AttachComputeHostGroupHostRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request AttachComputeHostGroupHostRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request AttachComputeHostGroupHostRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// AttachComputeHostGroupHostResponse wrapper for the AttachComputeHostGroupHost operation +type AttachComputeHostGroupHostResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHost instance + ComputeHost `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Location of the resource. + Location *string `presentIn:"header" name:"location"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response AttachComputeHostGroupHostResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response AttachComputeHostGroupHostResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go index 691bcf0b26..83c0a1dd3e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_emulated_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -90,7 +90,7 @@ func (m AttachEmulatedVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go index a532e36f51..d7f1d6408e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_i_scsi_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -103,7 +103,7 @@ func (m AttachIScsiVolumeDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go index 0d59abe219..91b00146a4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // AttachInstancePoolInstanceDetails An instance that is to be attached to an instance pool. type AttachInstancePoolInstanceDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" json:"instanceId"` } @@ -39,7 +39,7 @@ func (m AttachInstancePoolInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go index 2fcb3905aa..afdb1e9494 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_instance_pool_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstanceRequest. type AttachInstancePoolInstanceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Attach an instance to a pool @@ -72,7 +72,7 @@ func (request AttachInstancePoolInstanceRequest) RetryPolicy() *common.RetryPoli func (request AttachInstancePoolInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -93,8 +93,8 @@ type AttachInstancePoolInstanceResponse struct { // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go index 1525ea6603..9865e5b18c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // AttachLoadBalancerDetails Represents a load balancer that is to be attached to an instance pool. type AttachLoadBalancerDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to attach to the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to attach to the instance pool. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` // The name of the backend set on the load balancer to add instances to. @@ -50,7 +50,7 @@ func (m AttachLoadBalancerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go index 400adc9ef9..bbe6303c5f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancerRequest. type AttachLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Load balancer being attached @@ -77,7 +77,7 @@ func (request AttachLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request AttachLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go index 72080ae20b..aad09d7c7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_paravirtualized_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -93,7 +93,7 @@ func (m AttachParavirtualizedVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go index 00f3ebdb29..d50a32af7c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_determined_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -90,7 +90,7 @@ func (m AttachServiceDeterminedVolumeDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go index 2b19842697..95ef07db69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_service_id_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceIdRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceIdRequest. type AttachServiceIdRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // ServiceId of Service to be attached to a service gateway. @@ -70,7 +70,7 @@ func (request AttachServiceIdRequest) RetryPolicy() *common.RetryPolicy { func (request AttachServiceIdRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go index 1118f8ffdb..8c7b993c46 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,7 +36,7 @@ type AttachVnicDetails struct { // Certain bare metal instance shapes have two active physical NICs (0 and 1). If // you add a secondary VNIC to one of these instances, you can specify which NIC // the VNIC will use. For more information, see - // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). + // Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). NicIndex *int `mandatory:"false" json:"nicIndex"` } @@ -51,7 +51,7 @@ func (m AttachVnicDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go index 1699f35fad..2258651476 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnicRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnicRequest. type AttachVnicRequest struct { // Attach VNIC details. @@ -69,7 +69,7 @@ func (request AttachVnicRequest) RetryPolicy() *common.RetryPolicy { func (request AttachVnicRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go index 434334a903..68e7351d1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -108,7 +108,7 @@ func (m *attachvolumedetails) UnmarshalPolymorphicJSON(data []byte) (interface{} err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for AttachVolumeDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for AttachVolumeDetails: %s.", m.Type) return *m, nil } } @@ -154,7 +154,7 @@ func (m attachvolumedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go index 658e2a9188..c4209fe0d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolumeRequest. type AttachVolumeRequest struct { // Attach volume request @@ -69,7 +69,7 @@ func (request AttachVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request AttachVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go index 134bea7170..a85b62cd27 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *autotunepolicy) UnmarshalPolymorphicJSON(data []byte) (interface{}, err err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for AutotunePolicy: %s.", m.AutotuneType) + common.Logf("Received unsupported enum value for AutotunePolicy: %s.", m.AutotuneType) return *m, nil } } @@ -81,7 +81,7 @@ func (m autotunepolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go index 3c42eac08c..ffd2af9e5a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bgp_session_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -99,7 +99,7 @@ func (m BgpSessionInfo) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BgpIpv6State: %s. Supported values are: %s.", m.BgpIpv6State, strings.Join(GetBgpSessionInfoBgpIpv6StateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go index 9f1c4932ff..5fcd6e59b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,11 +23,11 @@ import ( // BlockVolumeReplica An asynchronous replica of a block volume that can then be used to create // a new block volume or recover a block volume. For more information, see Overview -// of Cross-Region Volume Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumereplication.htm) +// of Cross-Region Volume Replication (https://docs.oracle.com/iaas/Content/Block/Concepts/volumereplication.htm) // To use any of the API operations, you must be authorized in an IAM policy. // If you're not authorized, talk to an administrator. If you're an administrator // who needs to write policies to give users access, see Getting Started with -// Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type BlockVolumeReplica struct { @@ -64,12 +64,12 @@ type BlockVolumeReplica struct { BlockVolumeId *string `mandatory:"true" json:"blockVolumeId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -80,8 +80,8 @@ type BlockVolumeReplica struct { VolumeGroupReplicaId *string `mandatory:"false" json:"volumeGroupReplicaId"` // The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -99,7 +99,7 @@ func (m BlockVolumeReplica) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go index 331dd5c8c2..1732397fc6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -34,8 +34,8 @@ type BlockVolumeReplicaDetails struct { // The OCID of the Vault service key which is the master encryption key for the cross region block volume replicas, which will be used in the destination region to encrypt the block volume replica's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrrKmsKeyId *string `mandatory:"false" json:"xrrKmsKeyId"` } @@ -50,7 +50,7 @@ func (m BlockVolumeReplicaDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go index 7741877e1d..36fa7baaab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/block_volume_replica_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,8 +36,8 @@ type BlockVolumeReplicaInfo struct { AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` // The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -52,7 +52,7 @@ func (m BlockVolumeReplicaInfo) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go index c56e0e7acc..84882a8f0f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boolean_image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -50,7 +50,7 @@ func (m BooleanImageCapabilitySchemaDescriptor) ValidateEnumValue() (bool, error errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go index 5445e66b38..9d3316c7e3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,10 +23,10 @@ import ( ) // BootVolume A detachable boot volume device that contains the image used to boot a Compute instance. For more information, see -// Overview of Boot Volumes (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm). +// Overview of Boot Volumes (https://docs.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type BootVolume struct { @@ -53,7 +53,7 @@ type BootVolume struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -66,7 +66,7 @@ type BootVolume struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -82,7 +82,7 @@ type BootVolume struct { // The number of volume performance units (VPUs) that will be applied to this boot volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. @@ -129,7 +129,7 @@ func (m BootVolume) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go index f13cea15c0..fd33f36896 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -82,7 +82,7 @@ func (m BootVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go index 485d3bed89..accd4d0aab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,11 +23,11 @@ import ( // BootVolumeBackup A point-in-time copy of a boot volume that can then be used to create // a new boot volume or recover a boot volume. For more information, see Overview -// of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) +// of Boot Volume Backups (https://docs.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) // To use any of the API operations, you must be authorized in an IAM policy. // If you're not authorized, talk to an administrator. If you're an administrator // who needs to write policies to give users access, see Getting Started with -// Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type BootVolumeBackup struct { @@ -53,7 +53,7 @@ type BootVolumeBackup struct { BootVolumeId *string `mandatory:"false" json:"bootVolumeId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -69,7 +69,7 @@ type BootVolumeBackup struct { ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -78,8 +78,8 @@ type BootVolumeBackup struct { // The OCID of the Vault service master encryption assigned to the boot volume backup. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // The size of the boot volume, in GBs. @@ -122,7 +122,7 @@ func (m BootVolumeBackup) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetBootVolumeBackupTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go index 4e1459e13d..d1ababab94 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_kms_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m BootVolumeKmsKey) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go index d8ab97e17f..80b76567f6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,11 +23,11 @@ import ( // BootVolumeReplica An asynchronous replica of a boot volume that can then be used to create // a new boot volume or recover a boot volume. For more information, see Overview -// of Cross-Region Volume Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumereplication.htm) +// of Cross-Region Volume Replication (https://docs.oracle.com/iaas/Content/Block/Concepts/volumereplication.htm) // To use any of the API operations, you must be authorized in an IAM policy. // If you're not authorized, talk to an administrator. If you're an administrator // who needs to write policies to give users access, see Getting Started with -// Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type BootVolumeReplica struct { @@ -64,12 +64,12 @@ type BootVolumeReplica struct { BootVolumeId *string `mandatory:"true" json:"bootVolumeId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -83,8 +83,8 @@ type BootVolumeReplica struct { VolumeGroupReplicaId *string `mandatory:"false" json:"volumeGroupReplicaId"` // The OCID of the Vault service key to assign as the master encryption key for the boot volume replica, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -102,7 +102,7 @@ func (m BootVolumeReplica) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go index ab139d2d48..5267bf7fe1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -34,8 +34,8 @@ type BootVolumeReplicaDetails struct { // The OCID of the Vault service key which is the master encryption key for the cross region boot volume replicas, which will be used in the destination region to encrypt the boot volume replica's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrrKmsKeyId *string `mandatory:"false" json:"xrrKmsKeyId"` } @@ -50,7 +50,7 @@ func (m BootVolumeReplicaDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go index 62874afc2e..b854ec2a9a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_replica_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,8 +36,8 @@ type BootVolumeReplicaInfo struct { AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` // The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -52,7 +52,7 @@ func (m BootVolumeReplicaInfo) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go index d4ac8635e9..f262f661c0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -73,7 +73,7 @@ func (m *bootvolumesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interfa err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for BootVolumeSourceDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for BootVolumeSourceDetails: %s.", m.Type) return *m, nil } } @@ -89,7 +89,7 @@ func (m bootvolumesourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_delta_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_delta_details.go index a8b9fc2b1a..20d7236caa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_delta_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_delta_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m BootVolumeSourceFromBootVolumeBackupDeltaDetails) ValidateEnumValue() (b errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go index 1a19444d5c..ef5a6ab5b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m BootVolumeSourceFromBootVolumeBackupDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go index cdaa8a184a..ec4ccd3c2d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m BootVolumeSourceFromBootVolumeDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go index 4c021ea283..d687a6da01 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume_source_from_boot_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m BootVolumeSourceFromBootVolumeReplicaDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go index 25ddfd70ff..a0c98ff1ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m BulkAddVirtualCircuitPublicPrefixesDetails) ValidateEnumValue() (bool, e errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go index 48b172e7b9..8a81041e53 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_add_virtual_circuit_public_prefixes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixesRequest. type BulkAddVirtualCircuitPublicPrefixesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Request with publix prefixes to be added to the virtual circuit @@ -65,7 +65,7 @@ func (request BulkAddVirtualCircuitPublicPrefixesRequest) RetryPolicy() *common. func (request BulkAddVirtualCircuitPublicPrefixesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_details.go new file mode 100644 index 0000000000..412d9c876c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_details.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkCreateIpv6sDetails Bulk Secondary IPv6 addresses creation object. +type BulkCreateIpv6sDetails struct { + + // Secondary IPv6 addresses to assign. + BulkCreateIpv6sItem []BulkCreateIpv6sItem `mandatory:"true" json:"bulkCreateIpv6sItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the IPv6s to. The + // IPv6 will be in the VNIC's subnet. + VnicId *string `mandatory:"false" json:"vnicId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the IPv6s are to be drawn. The IP addresses, + // *if supplied*, must be valid for the given subnet, only valid for reserved IPs currently. + SubnetId *string `mandatory:"false" json:"subnetId"` +} + +func (m BulkCreateIpv6sDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkCreateIpv6sDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_item.go new file mode 100644 index 0000000000..1543e81060 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_item.go @@ -0,0 +1,124 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkCreateIpv6sItem Secondary IPv6 object to creation as part of bulk creation . +type BulkCreateIpv6sItem struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // An IPv6 address of your choice. Must be an available IP address within + // the subnet's CIDR. If you don't specify a value, Oracle automatically + // assigns an IPv6 address from the subnet. The subnet is the one that + // contains the VNIC you specify in `vnicId`. + // Example: `2001:DB8::` + IpAddress *string `mandatory:"false" json:"ipAddress"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime BulkCreateIpv6sItemLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` + + // The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet. + Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"` + + // Length of cidr range. Optional field to specify flexible cidr. + CidrPrefixLength *int `mandatory:"false" json:"cidrPrefixLength"` +} + +func (m BulkCreateIpv6sItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkCreateIpv6sItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingBulkCreateIpv6sItemLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetBulkCreateIpv6sItemLifetimeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkCreateIpv6sItemLifetimeEnum Enum with underlying type: string +type BulkCreateIpv6sItemLifetimeEnum string + +// Set of constants representing the allowable values for BulkCreateIpv6sItemLifetimeEnum +const ( + BulkCreateIpv6sItemLifetimeEphemeral BulkCreateIpv6sItemLifetimeEnum = "EPHEMERAL" + BulkCreateIpv6sItemLifetimeReserved BulkCreateIpv6sItemLifetimeEnum = "RESERVED" +) + +var mappingBulkCreateIpv6sItemLifetimeEnum = map[string]BulkCreateIpv6sItemLifetimeEnum{ + "EPHEMERAL": BulkCreateIpv6sItemLifetimeEphemeral, + "RESERVED": BulkCreateIpv6sItemLifetimeReserved, +} + +var mappingBulkCreateIpv6sItemLifetimeEnumLowerCase = map[string]BulkCreateIpv6sItemLifetimeEnum{ + "ephemeral": BulkCreateIpv6sItemLifetimeEphemeral, + "reserved": BulkCreateIpv6sItemLifetimeReserved, +} + +// GetBulkCreateIpv6sItemLifetimeEnumValues Enumerates the set of values for BulkCreateIpv6sItemLifetimeEnum +func GetBulkCreateIpv6sItemLifetimeEnumValues() []BulkCreateIpv6sItemLifetimeEnum { + values := make([]BulkCreateIpv6sItemLifetimeEnum, 0) + for _, v := range mappingBulkCreateIpv6sItemLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetBulkCreateIpv6sItemLifetimeEnumStringValues Enumerates the set of values in String for BulkCreateIpv6sItemLifetimeEnum +func GetBulkCreateIpv6sItemLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingBulkCreateIpv6sItemLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBulkCreateIpv6sItemLifetimeEnum(val string) (BulkCreateIpv6sItemLifetimeEnum, bool) { + enum, ok := mappingBulkCreateIpv6sItemLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_request_response.go new file mode 100644 index 0000000000..e8ac950dcd --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_ipv6s_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkCreateIpv6sRequest wrapper for the BulkCreateIpv6s operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkCreateIpv6s.go.html to see an example of how to use BulkCreateIpv6sRequest. +type BulkCreateIpv6sRequest struct { + + // Bulk Create Ipv6s. + BulkCreateIpv6sDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkCreateIpv6sRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkCreateIpv6sRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkCreateIpv6sRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkCreateIpv6sRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkCreateIpv6sRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkCreateIpv6sResponse wrapper for the BulkCreateIpv6s operation +type BulkCreateIpv6sResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkCreateIpv6sResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkCreateIpv6sResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ip_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ip_item.go new file mode 100644 index 0000000000..cfe6bfe4d7 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ip_item.go @@ -0,0 +1,139 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkCreatePrivateIpItem Secondary private IPv4 address object to create as part of bulk creation. +type BulkCreatePrivateIpItem struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The hostname for the private IP. Used for DNS. The value + // is the hostname portion of the private IP's fully qualified domain name (FQDN) + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). + // Must be unique across all VNICs in the subnet and comply with + // RFC 952 (https://tools.ietf.org/html/rfc952) and + // RFC 1123 (https://tools.ietf.org/html/rfc1123). + // For more information, see + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // Example: `bminstance1` + HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` + + // A private IP address of your choice. Must be an available IP address within + // the subnet's CIDR. If you don't specify a value, Oracle automatically + // assigns a private IP address from the subnet. + // Example: `10.0.3.3` + IpAddress *string `mandatory:"false" json:"ipAddress"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime BulkCreatePrivateIpItemLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` + + // An optional field that when combined with the ipAddress field, will be used to allocate secondary IPv4 CIDRs. + // The CIDR range created by this combination must be within the subnet's CIDR + // and the CIDR range should not collide with any existing IPv4 address allocation. + // The VNIC ID specified in the request object should not already been assigned more than the max IPv4 addresses. + // If you don't specify a value, this option will be ignored. + // Example: 18 + CidrPrefixLength *int `mandatory:"false" json:"cidrPrefixLength"` + + // Any one of the IPv4 CIDRs allocated to the subnet. + Ipv4SubnetCidrAtCreation *string `mandatory:"false" json:"ipv4SubnetCidrAtCreation"` +} + +func (m BulkCreatePrivateIpItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkCreatePrivateIpItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingBulkCreatePrivateIpItemLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetBulkCreatePrivateIpItemLifetimeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkCreatePrivateIpItemLifetimeEnum Enum with underlying type: string +type BulkCreatePrivateIpItemLifetimeEnum string + +// Set of constants representing the allowable values for BulkCreatePrivateIpItemLifetimeEnum +const ( + BulkCreatePrivateIpItemLifetimeEphemeral BulkCreatePrivateIpItemLifetimeEnum = "EPHEMERAL" + BulkCreatePrivateIpItemLifetimeReserved BulkCreatePrivateIpItemLifetimeEnum = "RESERVED" +) + +var mappingBulkCreatePrivateIpItemLifetimeEnum = map[string]BulkCreatePrivateIpItemLifetimeEnum{ + "EPHEMERAL": BulkCreatePrivateIpItemLifetimeEphemeral, + "RESERVED": BulkCreatePrivateIpItemLifetimeReserved, +} + +var mappingBulkCreatePrivateIpItemLifetimeEnumLowerCase = map[string]BulkCreatePrivateIpItemLifetimeEnum{ + "ephemeral": BulkCreatePrivateIpItemLifetimeEphemeral, + "reserved": BulkCreatePrivateIpItemLifetimeReserved, +} + +// GetBulkCreatePrivateIpItemLifetimeEnumValues Enumerates the set of values for BulkCreatePrivateIpItemLifetimeEnum +func GetBulkCreatePrivateIpItemLifetimeEnumValues() []BulkCreatePrivateIpItemLifetimeEnum { + values := make([]BulkCreatePrivateIpItemLifetimeEnum, 0) + for _, v := range mappingBulkCreatePrivateIpItemLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetBulkCreatePrivateIpItemLifetimeEnumStringValues Enumerates the set of values in String for BulkCreatePrivateIpItemLifetimeEnum +func GetBulkCreatePrivateIpItemLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingBulkCreatePrivateIpItemLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBulkCreatePrivateIpItemLifetimeEnum(val string) (BulkCreatePrivateIpItemLifetimeEnum, bool) { + enum, ok := mappingBulkCreatePrivateIpItemLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_details.go new file mode 100644 index 0000000000..ec7259ed6d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_details.go @@ -0,0 +1,55 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkCreatePrivateIpsDetails Bulk Secondary IPv4 addresses creation object. +type BulkCreatePrivateIpsDetails struct { + + // Secondary IPv4 addresses to assign. + BulkCreatePrivateIpItem []BulkCreatePrivateIpItem `mandatory:"true" json:"bulkCreatePrivateIpItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the private IPs to. The VNIC and private IPs must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` + + // Use this attribute only with the Oracle Cloud VMware Solution. The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IPs is to be drawn. The IP addresses, *if supplied*, must be valid for the given VLAN. See Vlan. + VlanId *string `mandatory:"false" json:"vlanId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IPs is to be drawn. The IP addresses, + // *if supplied*, must be valid for the given subnet. + SubnetId *string `mandatory:"false" json:"subnetId"` +} + +func (m BulkCreatePrivateIpsDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkCreatePrivateIpsDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_request_response.go new file mode 100644 index 0000000000..3088f69a18 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_create_private_ips_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkCreatePrivateIpsRequest wrapper for the BulkCreatePrivateIps operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkCreatePrivateIps.go.html to see an example of how to use BulkCreatePrivateIpsRequest. +type BulkCreatePrivateIpsRequest struct { + + // Create private IPs details. + BulkCreatePrivateIpsDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkCreatePrivateIpsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkCreatePrivateIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkCreatePrivateIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkCreatePrivateIpsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkCreatePrivateIpsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkCreatePrivateIpsResponse wrapper for the BulkCreatePrivateIps operation +type BulkCreatePrivateIpsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkCreatePrivateIpsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkCreatePrivateIpsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_details.go new file mode 100644 index 0000000000..7e87bd588e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_details.go @@ -0,0 +1,52 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDeleteIpv6sDetails Bulk Secondary IPv6 addresses deletion object. +type BulkDeleteIpv6sDetails struct { + + // IPv6 addresses to deleted. + BulkDeleteIpv6sItem []BulkDeleteIpv6sItem `mandatory:"true" json:"bulkDeleteIpv6sItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the IPv6s to. The + // IPv6 will be in the VNIC's subnet. + VnicId *string `mandatory:"false" json:"vnicId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the IPv6s addresses are to be deleted. + SubnetId *string `mandatory:"false" json:"subnetId"` +} + +func (m BulkDeleteIpv6sDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDeleteIpv6sDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_item.go new file mode 100644 index 0000000000..b75bed257e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_item.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDeleteIpv6sItem secondary ip object to delete as part of bulk deletion . +type BulkDeleteIpv6sItem struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6 to be deleted. + Ipv6Id *string `mandatory:"true" json:"ipv6Id"` +} + +func (m BulkDeleteIpv6sItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDeleteIpv6sItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_request_response.go new file mode 100644 index 0000000000..ea89694f6c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_ipv6s_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkDeleteIpv6sRequest wrapper for the BulkDeleteIpv6s operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteIpv6s.go.html to see an example of how to use BulkDeleteIpv6sRequest. +type BulkDeleteIpv6sRequest struct { + + // Delete IPv6s details. + BulkDeleteIpv6sDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkDeleteIpv6sRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkDeleteIpv6sRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkDeleteIpv6sRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkDeleteIpv6sRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkDeleteIpv6sRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkDeleteIpv6sResponse wrapper for the BulkDeleteIpv6s operation +type BulkDeleteIpv6sResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkDeleteIpv6sResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkDeleteIpv6sResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ip_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ip_item.go new file mode 100644 index 0000000000..c1e40fbaed --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ip_item.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDeletePrivateIpItem Secondary private IPv4 address object to delete as part of bulk deletion. +type BulkDeletePrivateIpItem struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secondary Private IP. + PrivateIpId *string `mandatory:"true" json:"privateIpId"` +} + +func (m BulkDeletePrivateIpItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDeletePrivateIpItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_details.go new file mode 100644 index 0000000000..6f626eae76 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_details.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDeletePrivateIpsDetails Bulk Secondary IPv4 deletion object. +type BulkDeletePrivateIpsDetails struct { + + // Secondary IPv4 addresses to deleted + BulkDeletePrivateIpItem []BulkDeletePrivateIpItem `mandatory:"true" json:"bulkDeletePrivateIpItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC of which + // private IPs should be deleted. The VNIC and private IPs must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` + + // Use this attribute only with the Oracle Cloud VMware Solution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be deleted. + VlanId *string `mandatory:"false" json:"vlanId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IPs is to be deleted. + SubnetId *string `mandatory:"false" json:"subnetId"` +} + +func (m BulkDeletePrivateIpsDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDeletePrivateIpsDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_request_response.go new file mode 100644 index 0000000000..0c82e18679 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_private_ips_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkDeletePrivateIpsRequest wrapper for the BulkDeletePrivateIps operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeletePrivateIps.go.html to see an example of how to use BulkDeletePrivateIpsRequest. +type BulkDeletePrivateIpsRequest struct { + + // Details of secondary IPv4 addresses to deleted. + BulkDeletePrivateIpsDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkDeletePrivateIpsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkDeletePrivateIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkDeletePrivateIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkDeletePrivateIpsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkDeletePrivateIpsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkDeletePrivateIpsResponse wrapper for the BulkDeletePrivateIps operation +type BulkDeletePrivateIpsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkDeletePrivateIpsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkDeletePrivateIpsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go index 29e2e89f52..5c44ae67fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m BulkDeleteVirtualCircuitPublicPrefixesDetails) ValidateEnumValue() (bool errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go index f390678a98..92c7951c3b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixesRequest. type BulkDeleteVirtualCircuitPublicPrefixesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Request with public prefixes to be deleted from the virtual circuit. @@ -65,7 +65,7 @@ func (request BulkDeleteVirtualCircuitPublicPrefixesRequest) RetryPolicy() *comm func (request BulkDeleteVirtualCircuitPublicPrefixesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_details.go new file mode 100644 index 0000000000..45defdeab9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_details.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDetachIpv6sDetails Bulk Secondary IPv6 addresses detach object. +type BulkDetachIpv6sDetails struct { + + // Secondary IPv6 addresses to detached. + BulkDetachIpv6sItem []BulkDetachIpv6sItem `mandatory:"true" json:"bulkDetachIpv6sItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC of which IPv6s should be detached. The VNIC and IPv6s must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` +} + +func (m BulkDetachIpv6sDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDetachIpv6sDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_item.go new file mode 100644 index 0000000000..799dfd7a3c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_item.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDetachIpv6sItem Secondary IPv6 object to detach as part of bulk detach operation. +type BulkDetachIpv6sItem struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secondary IPv6. + Ipv6Id *string `mandatory:"true" json:"ipv6Id"` +} + +func (m BulkDetachIpv6sItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDetachIpv6sItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_request_response.go new file mode 100644 index 0000000000..0a4c7f8267 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_ipv6s_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkDetachIpv6sRequest wrapper for the BulkDetachIpv6s operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDetachIpv6s.go.html to see an example of how to use BulkDetachIpv6sRequest. +type BulkDetachIpv6sRequest struct { + + // detach IPv6s details. + BulkDetachIpv6sDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkDetachIpv6sRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkDetachIpv6sRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkDetachIpv6sRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkDetachIpv6sRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkDetachIpv6sRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkDetachIpv6sResponse wrapper for the BulkDetachIpv6s operation +type BulkDetachIpv6sResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkDetachIpv6sResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkDetachIpv6sResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ip_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ip_item.go new file mode 100644 index 0000000000..d284cd2e17 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ip_item.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDetachPrivateIpItem Secondary private IPv4 address object to detach as part of bulk detach operation. +type BulkDetachPrivateIpItem struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secondary Private IP. + PrivateIpId *string `mandatory:"true" json:"privateIpId"` +} + +func (m BulkDetachPrivateIpItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDetachPrivateIpItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_details.go new file mode 100644 index 0000000000..9512454f72 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_details.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkDetachPrivateIpsDetails Bulk Secondary IPv4 addresses detach object. +type BulkDetachPrivateIpsDetails struct { + + // Secondary IPv4 addresses to detached. + BulkDetachPrivateIpItem []BulkDetachPrivateIpItem `mandatory:"true" json:"bulkDetachPrivateIpItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC of which private IPs should be detached. The VNIC and private IPs must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` +} + +func (m BulkDetachPrivateIpsDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkDetachPrivateIpsDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_request_response.go new file mode 100644 index 0000000000..8aee6d8b44 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_detach_private_ips_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkDetachPrivateIpsRequest wrapper for the BulkDetachPrivateIps operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDetachPrivateIps.go.html to see an example of how to use BulkDetachPrivateIpsRequest. +type BulkDetachPrivateIpsRequest struct { + + // Secondary IPv4 addresses to detach. + BulkDetachPrivateIpsDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkDetachPrivateIpsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkDetachPrivateIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkDetachPrivateIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkDetachPrivateIpsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkDetachPrivateIpsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkDetachPrivateIpsResponse wrapper for the BulkDetachPrivateIps operation +type BulkDetachPrivateIpsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkDetachPrivateIpsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkDetachPrivateIpsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_details.go new file mode 100644 index 0000000000..8994a26fd3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_details.go @@ -0,0 +1,49 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkUpdateIpv6sDetails Bulk Secondary IPv6 addresses update object. +type BulkUpdateIpv6sDetails struct { + + // Secondary IPv6 addresses to updated. + BulkUpdateIpv6sItem []BulkUpdateIpv6sItem `mandatory:"true" json:"bulkUpdateIpv6sItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to move the IPv6s to. + // The VNIC and IPv6s must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` +} + +func (m BulkUpdateIpv6sDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkUpdateIpv6sDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_item.go new file mode 100644 index 0000000000..9e16f8c51d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_item.go @@ -0,0 +1,114 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkUpdateIpv6sItem Secondary IPv6 object to update as part of bulk update. +type BulkUpdateIpv6sItem struct { + + // The OCID of the IPv6. + Ipv6Id *string `mandatory:"true" json:"ipv6Id"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime BulkUpdateIpv6sItemLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` +} + +func (m BulkUpdateIpv6sItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkUpdateIpv6sItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingBulkUpdateIpv6sItemLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetBulkUpdateIpv6sItemLifetimeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkUpdateIpv6sItemLifetimeEnum Enum with underlying type: string +type BulkUpdateIpv6sItemLifetimeEnum string + +// Set of constants representing the allowable values for BulkUpdateIpv6sItemLifetimeEnum +const ( + BulkUpdateIpv6sItemLifetimeEphemeral BulkUpdateIpv6sItemLifetimeEnum = "EPHEMERAL" + BulkUpdateIpv6sItemLifetimeReserved BulkUpdateIpv6sItemLifetimeEnum = "RESERVED" +) + +var mappingBulkUpdateIpv6sItemLifetimeEnum = map[string]BulkUpdateIpv6sItemLifetimeEnum{ + "EPHEMERAL": BulkUpdateIpv6sItemLifetimeEphemeral, + "RESERVED": BulkUpdateIpv6sItemLifetimeReserved, +} + +var mappingBulkUpdateIpv6sItemLifetimeEnumLowerCase = map[string]BulkUpdateIpv6sItemLifetimeEnum{ + "ephemeral": BulkUpdateIpv6sItemLifetimeEphemeral, + "reserved": BulkUpdateIpv6sItemLifetimeReserved, +} + +// GetBulkUpdateIpv6sItemLifetimeEnumValues Enumerates the set of values for BulkUpdateIpv6sItemLifetimeEnum +func GetBulkUpdateIpv6sItemLifetimeEnumValues() []BulkUpdateIpv6sItemLifetimeEnum { + values := make([]BulkUpdateIpv6sItemLifetimeEnum, 0) + for _, v := range mappingBulkUpdateIpv6sItemLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetBulkUpdateIpv6sItemLifetimeEnumStringValues Enumerates the set of values in String for BulkUpdateIpv6sItemLifetimeEnum +func GetBulkUpdateIpv6sItemLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingBulkUpdateIpv6sItemLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBulkUpdateIpv6sItemLifetimeEnum(val string) (BulkUpdateIpv6sItemLifetimeEnum, bool) { + enum, ok := mappingBulkUpdateIpv6sItemLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_request_response.go new file mode 100644 index 0000000000..b89fd481e6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_ipv6s_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkUpdateIpv6sRequest wrapper for the BulkUpdateIpv6s operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkUpdateIpv6s.go.html to see an example of how to use BulkUpdateIpv6sRequest. +type BulkUpdateIpv6sRequest struct { + + // Update IPv6s details. + BulkUpdateIpv6sDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkUpdateIpv6sRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkUpdateIpv6sRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkUpdateIpv6sRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkUpdateIpv6sRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkUpdateIpv6sRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkUpdateIpv6sResponse wrapper for the BulkUpdateIpv6s operation +type BulkUpdateIpv6sResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkUpdateIpv6sResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkUpdateIpv6sResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ip_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ip_item.go new file mode 100644 index 0000000000..7c6b8744db --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ip_item.go @@ -0,0 +1,125 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkUpdatePrivateIpItem secondary private IPv4 address object to update as part of bulk update. +type BulkUpdatePrivateIpItem struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secondary Private IP. + PrivateIpId *string `mandatory:"true" json:"privateIpId"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The hostname for the private IP. Used for DNS. The value + // is the hostname portion of the private IP's fully qualified domain name (FQDN) + // (for example, `bminstance1` in FQDN `bminstance1.subnet123.vcn1.oraclevcn.com`). + // Must be unique across all VNICs in the subnet and comply with + // RFC 952 (https://tools.ietf.org/html/rfc952) and + // RFC 1123 (https://tools.ietf.org/html/rfc1123). + // For more information, see + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // Example: `bminstance1` + HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime BulkUpdatePrivateIpItemLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` +} + +func (m BulkUpdatePrivateIpItem) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkUpdatePrivateIpItem) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingBulkUpdatePrivateIpItemLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetBulkUpdatePrivateIpItemLifetimeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkUpdatePrivateIpItemLifetimeEnum Enum with underlying type: string +type BulkUpdatePrivateIpItemLifetimeEnum string + +// Set of constants representing the allowable values for BulkUpdatePrivateIpItemLifetimeEnum +const ( + BulkUpdatePrivateIpItemLifetimeEphemeral BulkUpdatePrivateIpItemLifetimeEnum = "EPHEMERAL" + BulkUpdatePrivateIpItemLifetimeReserved BulkUpdatePrivateIpItemLifetimeEnum = "RESERVED" +) + +var mappingBulkUpdatePrivateIpItemLifetimeEnum = map[string]BulkUpdatePrivateIpItemLifetimeEnum{ + "EPHEMERAL": BulkUpdatePrivateIpItemLifetimeEphemeral, + "RESERVED": BulkUpdatePrivateIpItemLifetimeReserved, +} + +var mappingBulkUpdatePrivateIpItemLifetimeEnumLowerCase = map[string]BulkUpdatePrivateIpItemLifetimeEnum{ + "ephemeral": BulkUpdatePrivateIpItemLifetimeEphemeral, + "reserved": BulkUpdatePrivateIpItemLifetimeReserved, +} + +// GetBulkUpdatePrivateIpItemLifetimeEnumValues Enumerates the set of values for BulkUpdatePrivateIpItemLifetimeEnum +func GetBulkUpdatePrivateIpItemLifetimeEnumValues() []BulkUpdatePrivateIpItemLifetimeEnum { + values := make([]BulkUpdatePrivateIpItemLifetimeEnum, 0) + for _, v := range mappingBulkUpdatePrivateIpItemLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetBulkUpdatePrivateIpItemLifetimeEnumStringValues Enumerates the set of values in String for BulkUpdatePrivateIpItemLifetimeEnum +func GetBulkUpdatePrivateIpItemLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingBulkUpdatePrivateIpItemLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBulkUpdatePrivateIpItemLifetimeEnum(val string) (BulkUpdatePrivateIpItemLifetimeEnum, bool) { + enum, ok := mappingBulkUpdatePrivateIpItemLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_details.go new file mode 100644 index 0000000000..af6be6b27d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_details.go @@ -0,0 +1,49 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BulkUpdatePrivateIpsDetails Bulk Secondary IPv4 addresses update object. +type BulkUpdatePrivateIpsDetails struct { + + // Secondary IPv4 addresses to updated. + BulkUpdatePrivateIpItem []BulkUpdatePrivateIpItem `mandatory:"true" json:"bulkUpdatePrivateIpItem"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign + // the private IPs to. The VNIC and private IPs must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` +} + +func (m BulkUpdatePrivateIpsDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BulkUpdatePrivateIpsDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_request_response.go new file mode 100644 index 0000000000..2da95ae8cf --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/bulk_update_private_ips_request_response.go @@ -0,0 +1,100 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// BulkUpdatePrivateIpsRequest wrapper for the BulkUpdatePrivateIps operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkUpdatePrivateIps.go.html to see an example of how to use BulkUpdatePrivateIpsRequest. +type BulkUpdatePrivateIpsRequest struct { + + // Details of secondary IPv4 addresses to be updated. + BulkUpdatePrivateIpsDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request BulkUpdatePrivateIpsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request BulkUpdatePrivateIpsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request BulkUpdatePrivateIpsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request BulkUpdatePrivateIpsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request BulkUpdatePrivateIpsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BulkUpdatePrivateIpsResponse wrapper for the BulkUpdatePrivateIps operation +type BulkUpdatePrivateIpsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response BulkUpdatePrivateIpsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response BulkUpdatePrivateIpsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn.go new file mode 100644 index 0000000000..6aa8a58973 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn.go @@ -0,0 +1,143 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Byoasn Oracle offers the ability to Bring Your Own Autonomous System Number (BYOASN), importing AS Numbers you currently own to Oracle Cloud Infrastructure. A `Byoasn` resource is a record of the imported AS Number and also some associated metadata. The process used to Bring Your Own ASN (https://docs.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm) is explained in the documentation. +type Byoasn struct { + + // The `Byoasn` resource's current state. + LifecycleState ByoasnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + Id *string `mandatory:"true" json:"id"` + + // The Autonomous System Number (ASN) you are importing to the Oracle cloud. + Asn *int64 `mandatory:"true" json:"asn"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn (https://docs.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm) for details. + ValidationToken *string `mandatory:"true" json:"validationToken"` + + // The date and time the `Byoasn` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // The date and time the `Byoasn` resource was validated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeValidated *common.SDKTime `mandatory:"false" json:"timeValidated"` + + // The date and time the `Byoasn` resource was last updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` + + // The BYOIP Ranges that has the `Byoasn` as origin. + ByoipRanges []ByoasnByoipRange `mandatory:"false" json:"byoipRanges"` +} + +func (m Byoasn) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Byoasn) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingByoasnLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetByoasnLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ByoasnLifecycleStateEnum Enum with underlying type: string +type ByoasnLifecycleStateEnum string + +// Set of constants representing the allowable values for ByoasnLifecycleStateEnum +const ( + ByoasnLifecycleStateUpdating ByoasnLifecycleStateEnum = "UPDATING" + ByoasnLifecycleStateActive ByoasnLifecycleStateEnum = "ACTIVE" + ByoasnLifecycleStateDeleted ByoasnLifecycleStateEnum = "DELETED" + ByoasnLifecycleStateFailed ByoasnLifecycleStateEnum = "FAILED" + ByoasnLifecycleStateCreating ByoasnLifecycleStateEnum = "CREATING" +) + +var mappingByoasnLifecycleStateEnum = map[string]ByoasnLifecycleStateEnum{ + "UPDATING": ByoasnLifecycleStateUpdating, + "ACTIVE": ByoasnLifecycleStateActive, + "DELETED": ByoasnLifecycleStateDeleted, + "FAILED": ByoasnLifecycleStateFailed, + "CREATING": ByoasnLifecycleStateCreating, +} + +var mappingByoasnLifecycleStateEnumLowerCase = map[string]ByoasnLifecycleStateEnum{ + "updating": ByoasnLifecycleStateUpdating, + "active": ByoasnLifecycleStateActive, + "deleted": ByoasnLifecycleStateDeleted, + "failed": ByoasnLifecycleStateFailed, + "creating": ByoasnLifecycleStateCreating, +} + +// GetByoasnLifecycleStateEnumValues Enumerates the set of values for ByoasnLifecycleStateEnum +func GetByoasnLifecycleStateEnumValues() []ByoasnLifecycleStateEnum { + values := make([]ByoasnLifecycleStateEnum, 0) + for _, v := range mappingByoasnLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetByoasnLifecycleStateEnumStringValues Enumerates the set of values in String for ByoasnLifecycleStateEnum +func GetByoasnLifecycleStateEnumStringValues() []string { + return []string{ + "UPDATING", + "ACTIVE", + "DELETED", + "FAILED", + "CREATING", + } +} + +// GetMappingByoasnLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingByoasnLifecycleStateEnum(val string) (ByoasnLifecycleStateEnum, bool) { + enum, ok := mappingByoasnLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_byoip_range.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_byoip_range.go new file mode 100644 index 0000000000..5f38d63f33 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_byoip_range.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ByoasnByoipRange Information about 'ByoipRange' that has `byoasn` as origin. +type ByoasnByoipRange struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. + ByoipRangeId *string `mandatory:"true" json:"byoipRangeId"` + + // The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block. + CidrBlock *string `mandatory:"false" json:"cidrBlock"` + + // The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used + // across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify + // a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. + Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` + + // The as path prepend length. + AsPathPrependLength *int `mandatory:"false" json:"asPathPrependLength"` +} + +func (m ByoasnByoipRange) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ByoasnByoipRange) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_collection.go new file mode 100644 index 0000000000..177bd51771 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ByoasnCollection The results returned by a `ListByoasn` operation. +type ByoasnCollection struct { + + // A list of `Byoasn` resource summaries. + Items []ByoasnSummary `mandatory:"true" json:"items"` +} + +func (m ByoasnCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ByoasnCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_summary.go new file mode 100644 index 0000000000..503ae8e2b6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoasn_summary.go @@ -0,0 +1,79 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ByoasnSummary Information about a `Byoasn` resource. +type ByoasnSummary struct { + + // The Autonomous System Number (ASN) you are importing to the Oracle cloud. + Asn *int64 `mandatory:"true" json:"asn"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + Id *string `mandatory:"true" json:"id"` + + // The `Byoasn` resource's current state. + LifecycleState ByoasnLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"foo-namespace": {"bar-key": "value"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The date and time the `Byoasn` resource was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` +} + +func (m ByoasnSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ByoasnSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingByoasnLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetByoasnLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go index c367b2e42a..fd189d68ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ByoipAllocatedRangeCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go index 9f68cf7955..a9de21e0f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_allocated_range_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,7 +27,7 @@ type ByoipAllocatedRangeSummary struct { // The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block. CidrBlock *string `mandatory:"false" json:"cidrBlock"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP pool containing the CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP pool containing the CIDR block. PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` } @@ -42,7 +42,7 @@ func (m ByoipAllocatedRangeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go index 9b50b2fce8..f3712d01b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,13 +22,13 @@ import ( ) // ByoipRange Oracle offers the ability to Bring Your Own IP (BYOIP), importing public IP addresses or IPv6 addresses that you currently own to Oracle Cloud Infrastructure. A `ByoipRange` resource is a record of the imported address block (a BYOIP CIDR block) and also some associated metadata. -// The process used to Bring Your Own IP (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm) is explained in the documentation. +// The process used to Bring Your Own IP (https://docs.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm) is explained in the documentation. type ByoipRange struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. Id *string `mandatory:"true" json:"id"` // The `ByoipRange` resource's current state. @@ -38,7 +38,7 @@ type ByoipRange struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. + // The validation token is an internally-generated ASCII string used in the validation process. See Importing a CIDR block (https://docs.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. ValidationToken *string `mandatory:"true" json:"validationToken"` // A list of `ByoipRangeVcnIpv6AllocationSummary` objects. @@ -48,7 +48,7 @@ type ByoipRange struct { CidrBlock *string `mandatory:"false" json:"cidrBlock"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -57,10 +57,12 @@ type ByoipRange struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + OriginAsn *ByoipRangeOriginAsn `mandatory:"false" json:"originAsn"` + // The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used // across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify // a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. @@ -99,7 +101,7 @@ func (m ByoipRange) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetByoipRangeLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go index 40845b0f5a..14b19450d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ByoipRangeCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_origin_asn.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_origin_asn.go new file mode 100644 index 0000000000..f31fd6def3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_origin_asn.go @@ -0,0 +1,51 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ByoipRangeOriginAsn Information about the origin asn. +type ByoipRangeOriginAsn struct { + + // The Autonomous System Number (ASN) you are importing to the Oracle cloud. + Asn *int64 `mandatory:"true" json:"asn"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + ByoasnId *string `mandatory:"false" json:"byoasnId"` + + // The as path prepend length. + AsPathPrependLength *int `mandatory:"false" json:"asPathPrependLength"` +} + +func (m ByoipRangeOriginAsn) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ByoipRangeOriginAsn) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go index bcd6ca04fd..cee4b30cc2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -30,11 +30,11 @@ type ByoipRangeSummary struct { // The public IPv4 address range you are importing to the Oracle cloud. CidrBlock *string `mandatory:"false" json:"cidrBlock"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange` resource. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -43,11 +43,11 @@ type ByoipRangeSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource. Id *string `mandatory:"false" json:"id"` // The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used @@ -83,7 +83,7 @@ func (m ByoipRangeSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetByoipRangeLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go index 2cb23e9a82..e174fe81c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoip_range_vcn_ipv6_allocation_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,17 +24,17 @@ import ( // ByoipRangeVcnIpv6AllocationSummary A summary of IPv6 prefix subranges currently allocated to a VCN. type ByoipRangeVcnIpv6AllocationSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. ByoipRangeId *string `mandatory:"false" json:"byoipRangeId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange`. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `ByoipRange`. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The BYOIPv6 prefix range or subrange allocated to a VCN. This could be all or part of a BYOIPv6 prefix. // Each VCN allocation must be /64 or larger. Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Vcn` resource to which the ByoipRange belongs. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Vcn` resource to which the ByoipRange belongs. VcnId *string `mandatory:"false" json:"vcnId"` } @@ -49,7 +49,7 @@ func (m ByoipRangeVcnIpv6AllocationSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go index 938d95b52d..3b3f410fc4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/byoipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ import ( // - The number of prefixes must not exceed the limit of IPv6 prefixes allowed to a VCN. type Byoipv6CidrDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. Byoipv6RangeId *string `mandatory:"true" json:"byoipv6RangeId"` // An IPv6 prefix required to create a VCN with a BYOIP prefix. It could be the whole prefix identified in `byoipv6RangeId`, or a subrange. @@ -47,7 +47,7 @@ func (m Byoipv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin.go new file mode 100644 index 0000000000..5d256df087 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityBin Total and remaining CPU and memory capacity for each capacity bucket. +type CapacityBin struct { + + // Zero-based index for the corresponding capacity bucket. + CapacityIndex *int `mandatory:"true" json:"capacityIndex"` + + // The total OCPUs of the capacity bucket. + TotalOcpus *float32 `mandatory:"true" json:"totalOcpus"` + + // The available OCPUs of the capacity bucket. + RemainingOcpus *float32 `mandatory:"true" json:"remainingOcpus"` + + // The total memory of the capacity bucket, in GBs. + TotalMemoryInGBs *float32 `mandatory:"true" json:"totalMemoryInGBs"` + + // The remaining memory of the capacity bucket, in GBs. + RemainingMemoryInGBs *float32 `mandatory:"true" json:"remainingMemoryInGBs"` + + // List of VMI shapes supported on each capacity bucket. + SupportedShapes []string `mandatory:"true" json:"supportedShapes"` +} + +func (m CapacityBin) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityBin) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin_preview.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin_preview.go new file mode 100644 index 0000000000..640ca163b5 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_bin_preview.go @@ -0,0 +1,54 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityBinPreview Total CPU and memory capacity for each capacity bucket. +type CapacityBinPreview struct { + + // Zero-based index for the corresponding capacity bucket. + CapacityIndex *int `mandatory:"true" json:"capacityIndex"` + + // The total OCPUs of the capacity bucket. + TotalOcpus *float32 `mandatory:"true" json:"totalOcpus"` + + // The total memory of the capacity bucket, in GBs. + TotalMemoryInGBs *float32 `mandatory:"true" json:"totalMemoryInGBs"` + + // List of VMI shapes supported on each capacity bucket. + SupportedShapes []string `mandatory:"true" json:"supportedShapes"` +} + +func (m CapacityBinPreview) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityBinPreview) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_config.go new file mode 100644 index 0000000000..8f7bf18740 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_config.go @@ -0,0 +1,53 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CapacityConfig Specifies the capacity configs that the Dedicated Virtual Machine Host (DVMH) Shape could support. +type CapacityConfig struct { + + // The name of each capacity config. + CapacityConfigName *string `mandatory:"false" json:"capacityConfigName"` + + SupportedCapabilities *SupportedCapabilities `mandatory:"false" json:"supportedCapabilities"` + + // Whether this capacity config is the default config. + IsDefault *bool `mandatory:"false" json:"isDefault"` + + // A list of total CPU and memory per capacity bucket. + CapacityBins []CapacityBinPreview `mandatory:"false" json:"capacityBins"` +} + +func (m CapacityConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CapacityConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_instance_shape_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_instance_shape_config.go index 96a9a75c24..c851d66548 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_instance_shape_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_instance_shape_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -32,6 +32,14 @@ type CapacityReportInstanceShapeConfig struct { // The number of NVMe drives to be used for storage. Nvmes *int `mandatory:"false" json:"nvmes"` + + // The baseline OCPU utilization for a subcore burstable VM instance. Leave this attribute blank for a + // non-burstable instance, or explicitly specify non-burstable with `BASELINE_1_1`. + // The following values are supported: + // - `BASELINE_1_8` - baseline usage is 1/8 of an OCPU. + // - `BASELINE_1_2` - baseline usage is 1/2 of an OCPU. + // - `BASELINE_1_1` - baseline usage is an entire OCPU. This represents a non-burstable instance. + BaselineOcpuUtilization CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum `mandatory:"false" json:"baselineOcpuUtilization,omitempty"` } func (m CapacityReportInstanceShapeConfig) String() string { @@ -44,8 +52,57 @@ func (m CapacityReportInstanceShapeConfig) String() string { func (m CapacityReportInstanceShapeConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum Enum with underlying type: string +type CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum string + +// Set of constants representing the allowable values for CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum +const ( + CapacityReportInstanceShapeConfigBaselineOcpuUtilization8 CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum = "BASELINE_1_8" + CapacityReportInstanceShapeConfigBaselineOcpuUtilization2 CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum = "BASELINE_1_2" + CapacityReportInstanceShapeConfigBaselineOcpuUtilization1 CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum = "BASELINE_1_1" +) + +var mappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum = map[string]CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum{ + "BASELINE_1_8": CapacityReportInstanceShapeConfigBaselineOcpuUtilization8, + "BASELINE_1_2": CapacityReportInstanceShapeConfigBaselineOcpuUtilization2, + "BASELINE_1_1": CapacityReportInstanceShapeConfigBaselineOcpuUtilization1, +} + +var mappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumLowerCase = map[string]CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum{ + "baseline_1_8": CapacityReportInstanceShapeConfigBaselineOcpuUtilization8, + "baseline_1_2": CapacityReportInstanceShapeConfigBaselineOcpuUtilization2, + "baseline_1_1": CapacityReportInstanceShapeConfigBaselineOcpuUtilization1, +} + +// GetCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumValues Enumerates the set of values for CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum +func GetCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumValues() []CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum { + values := make([]CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum, 0) + for _, v := range mappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum { + values = append(values, v) + } + return values +} + +// GetCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues Enumerates the set of values in String for CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum +func GetCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues() []string { + return []string{ + "BASELINE_1_8", + "BASELINE_1_2", + "BASELINE_1_1", + } +} + +// GetMappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum(val string) (CapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnum, bool) { + enum, ok := mappingCapacityReportInstanceShapeConfigBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_shape_availability.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_shape_availability.go index cc69b03b46..8f08ccf560 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_shape_availability.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_report_shape_availability.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ func (m CapacityReportShapeAvailability) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AvailabilityStatus: %s. Supported values are: %s.", m.AvailabilityStatus, strings.Join(GetCapacityReportShapeAvailabilityAvailabilityStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go index 6a052b46dd..27e89cdbe3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_reservation_instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -58,7 +58,7 @@ func (m CapacityReservationInstanceSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_source.go index 600d883c8b..7911e74033 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_source.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capacity_source.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -61,7 +61,7 @@ func (m *capacitysource) UnmarshalPolymorphicJSON(data []byte) (interface{}, err err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for CapacitySource: %s.", m.CapacityType) + common.Logf("Received unsupported enum value for CapacitySource: %s.", m.CapacityType) return *m, nil } } @@ -77,7 +77,7 @@ func (m capacitysource) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go index 67f0201296..aa31956c4f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ type CaptureConsoleHistoryDetails struct { InstanceId *string `mandatory:"true" json:"instanceId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type CaptureConsoleHistoryDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -53,7 +53,7 @@ func (m CaptureConsoleHistoryDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go index a41c17c0e4..872108e1be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistoryRequest. type CaptureConsoleHistoryRequest struct { // Console history details @@ -69,7 +69,7 @@ func (request CaptureConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy { func (request CaptureConsoleHistoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go index 13dfc0fa57..906dc381dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,21 +22,21 @@ import ( ) // CaptureFilter A capture filter contains a set of *CaptureFilterRuleDetails* governing what traffic is -// mirrored for a *Vtap* or captured for a *VCN Flow Log (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/vcn-flow-logs.htm)*. +// mirrored for a *Vtap* or captured for a *VCN Flow Log (https://docs.oracle.com/iaas/Content/Network/Concepts/vcn-flow-logs.htm)*. // The capture filter is created with no rules defined, and it must have at least one rule to mirror traffic for the VTAP or collect VCN flow logs. type CaptureFilter struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The capture filter's current administrative state. LifecycleState CaptureFilterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -45,7 +45,7 @@ type CaptureFilter struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -80,7 +80,7 @@ func (m CaptureFilter) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FilterType: %s. Supported values are: %s.", m.FilterType, strings.Join(GetCaptureFilterFilterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go index 2f244c7447..6faac9d3cb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeBootVolumeBackupCompartmentDetails Contains the details for the compartment to move the boot volume backup to. type ChangeBootVolumeBackupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume backup to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume backup to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeBootVolumeBackupCompartmentDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go index 725b2dd106..bbda4c93f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_backup_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartmentRequest. type ChangeBootVolumeBackupCompartmentRequest struct { // The OCID of the boot volume backup. @@ -65,7 +65,7 @@ func (request ChangeBootVolumeBackupCompartmentRequest) RetryPolicy() *common.Re func (request ChangeBootVolumeBackupCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go index abe7ea6084..50352f0535 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeBootVolumeCompartmentDetails Contains the details for the compartment to move the boot volume to. type ChangeBootVolumeCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the boot volume to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeBootVolumeCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go index 321256e9dc..caab156590 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_boot_volume_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartmentRequest. type ChangeBootVolumeCompartmentRequest struct { // The OCID of the boot volume. @@ -65,7 +65,7 @@ func (request ChangeBootVolumeCompartmentRequest) RetryPolicy() *common.RetryPol func (request ChangeBootVolumeCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_details.go new file mode 100644 index 0000000000..4f8068d1b9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeByoasnCompartmentDetails The configuration details for the move operation. +type ChangeByoasnCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the BYOASN resource move. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeByoasnCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeByoasnCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_request_response.go new file mode 100644 index 0000000000..4760991433 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoasn_compartment_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeByoasnCompartmentRequest wrapper for the ChangeByoasnCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoasnCompartment.go.html to see an example of how to use ChangeByoasnCompartmentRequest. +type ChangeByoasnCompartmentRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + ByoasnId *string `mandatory:"true" contributesTo:"path" name:"byoasnId"` + + // Request to change the compartment of a BYOIP CIDR block. + ChangeByoasnCompartmentDetails `contributesTo:"body"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeByoasnCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeByoasnCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeByoasnCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeByoasnCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeByoasnCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeByoasnCompartmentResponse wrapper for the ChangeByoasnCompartment operation +type ChangeByoasnCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ChangeByoasnCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeByoasnCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go index 071149492a..24fe115fbd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeByoipRangeCompartmentDetails The configuration details for the move operation. type ChangeByoipRangeCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the BYOIP CIDR block move. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the BYOIP CIDR block move. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeByoipRangeCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go index 7070791d7a..1e62f7e0cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_byoip_range_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartmentRequest. type ChangeByoipRangeCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Request to change the compartment of a BYOIP CIDR block. @@ -72,7 +72,7 @@ func (request ChangeByoipRangeCompartmentRequest) RetryPolicy() *common.RetryPol func (request ChangeByoipRangeCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go index 075a2b8866..c06165763d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeCaptureFilterCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a capture filter. type ChangeCaptureFilterCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP // capture filter move. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeCaptureFilterCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go index 4b02d96647..681214c2f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartmentRequest. type ChangeCaptureFilterCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // Request to change the compartment of a VTAP. @@ -77,7 +77,7 @@ func (request ChangeCaptureFilterCompartmentRequest) RetryPolicy() *common.Retry func (request ChangeCaptureFilterCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type ChangeCaptureFilterCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go index df926e4e48..85e5b4fd82 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeClusterNetworkCompartmentDetails The configuration details for the move operation. type ChangeClusterNetworkCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // into which the resource should be moved. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeClusterNetworkCompartmentDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go index 2315d8c55a..3d619f4a19 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cluster_network_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartmentRequest. type ChangeClusterNetworkCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"` // Request to change the compartment of given cluster network. @@ -77,7 +77,7 @@ func (request ChangeClusterNetworkCompartmentRequest) RetryPolicy() *common.Retr func (request ChangeClusterNetworkCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go index dbbb015928..21640925ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeComputeCapacityReservationCompartmentDetails Specifies the compartment to move the compute capacity reservation to. type ChangeComputeCapacityReservationCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // to move the compute capacity reservation to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeComputeCapacityReservationCompartmentDetails) ValidateEnumValue() errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go index edca32aa41..62413c96db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_reservation_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartmentRequest. type ChangeComputeCapacityReservationCompartmentRequest struct { // The OCID of the compute capacity reservation. @@ -77,7 +77,7 @@ func (request ChangeComputeCapacityReservationCompartmentRequest) RetryPolicy() func (request ChangeComputeCapacityReservationCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type ChangeComputeCapacityReservationCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_details.go index eef7a2d7b2..fdaac43c12 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeComputeCapacityTopologyCompartmentDetails Specifies the compartment to move the compute capacity topology to. type ChangeComputeCapacityTopologyCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // to move the compute capacity topology to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeComputeCapacityTopologyCompartmentDetails) ValidateEnumValue() (bo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_request_response.go index 10579b0b07..786a718178 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_capacity_topology_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityTopologyCompartment.go.html to see an example of how to use ChangeComputeCapacityTopologyCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityTopologyCompartment.go.html to see an example of how to use ChangeComputeCapacityTopologyCompartmentRequest. type ChangeComputeCapacityTopologyCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // The configuration details for the move operation. @@ -77,7 +77,7 @@ func (request ChangeComputeCapacityTopologyCompartmentRequest) RetryPolicy() *co func (request ChangeComputeCapacityTopologyCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type ChangeComputeCapacityTopologyCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go index 426b9bc9c7..8887d94f9b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeComputeClusterCompartmentDetails The configuration details for the move operation. type ChangeComputeClusterCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute cluster to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute cluster to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeComputeClusterCompartmentDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go index 4cf3438c54..089223da07 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_cluster_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,11 +15,11 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeClusterCompartment.go.html to see an example of how to use ChangeComputeClusterCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeClusterCompartment.go.html to see an example of how to use ChangeComputeClusterCompartmentRequest. type ChangeComputeClusterCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. - // A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory // access (RDMA) network group. ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"` @@ -79,7 +79,7 @@ func (request ChangeComputeClusterCompartmentRequest) RetryPolicy() *common.Retr func (request ChangeComputeClusterCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_details.go new file mode 100644 index 0000000000..5156c39ba9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_details.go @@ -0,0 +1,46 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeComputeGpuMemoryClusterCompartmentDetails Specifies the compartment to move the compute GPU memory cluster to. +type ChangeComputeGpuMemoryClusterCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute GPU + // memory cluster to. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeComputeGpuMemoryClusterCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeComputeGpuMemoryClusterCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_request_response.go new file mode 100644 index 0000000000..e53df2ae21 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_cluster_compartment_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeComputeGpuMemoryClusterCompartmentRequest wrapper for the ChangeComputeGpuMemoryClusterCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeGpuMemoryClusterCompartment.go.html to see an example of how to use ChangeComputeGpuMemoryClusterCompartmentRequest. +type ChangeComputeGpuMemoryClusterCompartmentRequest struct { + + // The OCID of the compute GPU memory cluster. + ComputeGpuMemoryClusterId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryClusterId"` + + // The configuration details for the move operation. + ChangeComputeGpuMemoryClusterCompartmentDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeComputeGpuMemoryClusterCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeComputeGpuMemoryClusterCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeComputeGpuMemoryClusterCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeComputeGpuMemoryClusterCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeComputeGpuMemoryClusterCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeComputeGpuMemoryClusterCompartmentResponse wrapper for the ChangeComputeGpuMemoryClusterCompartment operation +type ChangeComputeGpuMemoryClusterCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ChangeComputeGpuMemoryClusterCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeComputeGpuMemoryClusterCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_details.go new file mode 100644 index 0000000000..afa9b41c1d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_details.go @@ -0,0 +1,46 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeComputeGpuMemoryFabricCompartmentDetails Specifies the compartment to move the compute GPU memory fabric to. +type ChangeComputeGpuMemoryFabricCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the compute GPU + // memory fabric to. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeComputeGpuMemoryFabricCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeComputeGpuMemoryFabricCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_request_response.go new file mode 100644 index 0000000000..d53e61c55b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_gpu_memory_fabric_compartment_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeComputeGpuMemoryFabricCompartmentRequest wrapper for the ChangeComputeGpuMemoryFabricCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeGpuMemoryFabricCompartment.go.html to see an example of how to use ChangeComputeGpuMemoryFabricCompartmentRequest. +type ChangeComputeGpuMemoryFabricCompartmentRequest struct { + + // The OCID of the compute GPU memory fabric. + ComputeGpuMemoryFabricId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryFabricId"` + + // The configuration details for the move operation. + ChangeComputeGpuMemoryFabricCompartmentDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeComputeGpuMemoryFabricCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeComputeGpuMemoryFabricCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeComputeGpuMemoryFabricCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeComputeGpuMemoryFabricCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeComputeGpuMemoryFabricCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeComputeGpuMemoryFabricCompartmentResponse wrapper for the ChangeComputeGpuMemoryFabricCompartment operation +type ChangeComputeGpuMemoryFabricCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ChangeComputeGpuMemoryFabricCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeComputeGpuMemoryFabricCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_details.go new file mode 100644 index 0000000000..0eb750c75f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_details.go @@ -0,0 +1,46 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeComputeHostCompartmentDetails Specifies the compartment to move the compute host to. +type ChangeComputeHostCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // to move the compute host to. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeComputeHostCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeComputeHostCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_request_response.go new file mode 100644 index 0000000000..5ff7bcce26 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_compartment_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeComputeHostCompartmentRequest wrapper for the ChangeComputeHostCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeHostCompartment.go.html to see an example of how to use ChangeComputeHostCompartmentRequest. +type ChangeComputeHostCompartmentRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // The configuration details for the move operation. + ChangeComputeHostCompartmentDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeComputeHostCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeComputeHostCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeComputeHostCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeComputeHostCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeComputeHostCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeComputeHostCompartmentResponse wrapper for the ChangeComputeHostCompartment operation +type ChangeComputeHostCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response ChangeComputeHostCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeComputeHostCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_details.go new file mode 100644 index 0000000000..d69551f397 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_details.go @@ -0,0 +1,46 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ChangeComputeHostGroupCompartmentDetails Specifies the compartment to move the compute host group to. +type ChangeComputeHostGroupCompartmentDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // to move the compute host group to. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m ChangeComputeHostGroupCompartmentDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ChangeComputeHostGroupCompartmentDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_request_response.go new file mode 100644 index 0000000000..b735f53ea3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_host_group_compartment_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ChangeComputeHostGroupCompartmentRequest wrapper for the ChangeComputeHostGroupCompartment operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeHostGroupCompartment.go.html to see an example of how to use ChangeComputeHostGroupCompartmentRequest. +type ChangeComputeHostGroupCompartmentRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + ComputeHostGroupId *string `mandatory:"true" contributesTo:"path" name:"computeHostGroupId"` + + // The configuration details for the move operation. + ChangeComputeHostGroupCompartmentDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ChangeComputeHostGroupCompartmentRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ChangeComputeHostGroupCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ChangeComputeHostGroupCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ChangeComputeHostGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ChangeComputeHostGroupCompartmentRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ChangeComputeHostGroupCompartmentResponse wrapper for the ChangeComputeHostGroupCompartment operation +type ChangeComputeHostGroupCompartmentResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response ChangeComputeHostGroupCompartmentResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ChangeComputeHostGroupCompartmentResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go index b5cd089107..351ed800b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeComputeImageCapabilitySchemaCompartmentDetails The configuration details for the move operation. type ChangeComputeImageCapabilitySchemaCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to // move the instance configuration to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeComputeImageCapabilitySchemaCompartmentDetails) ValidateEnumValue( errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go index 722826f167..808420c403 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_compute_image_capability_schema_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartmentRequest. type ChangeComputeImageCapabilitySchemaCompartmentRequest struct { // The id of the compute image capability schema or the image ocid @@ -77,7 +77,7 @@ func (request ChangeComputeImageCapabilitySchemaCompartmentRequest) RetryPolicy( func (request ChangeComputeImageCapabilitySchemaCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go index bc9a27d985..f2e6846a82 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeCpeCompartmentDetails The configuration details for the move operation. type ChangeCpeCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // CPE object to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeCpeCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go index ea33502392..a3bdf1a27a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cpe_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartmentRequest. type ChangeCpeCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Request to change the compartment of a CPE. @@ -72,7 +72,7 @@ func (request ChangeCpeCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeCpeCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go index 3192724543..18c243abb0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeCrossConnectCompartmentDetails The configuration details for the move operation. type ChangeCrossConnectCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // cross-connect to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeCrossConnectCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go index 1fc7ce3065..bff5247f6c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartmentRequest. type ChangeCrossConnectCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Request to change the compartment of a Cross Connect. @@ -72,7 +72,7 @@ func (request ChangeCrossConnectCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangeCrossConnectCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go index c26962f48c..5d8e450404 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeCrossConnectGroupCompartmentDetails The configuration details for the move operation. type ChangeCrossConnectGroupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // cross-connect group to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeCrossConnectGroupCompartmentDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go index e884b48bee..869e13d9c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_cross_connect_group_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartmentRequest. type ChangeCrossConnectGroupCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // Request to change the compartment of a Cross Connect Group. @@ -72,7 +72,7 @@ func (request ChangeCrossConnectGroupCompartmentRequest) RetryPolicy() *common.R func (request ChangeCrossConnectGroupCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go index 4ddbe77aae..c7a0cc85eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeDedicatedVmHostCompartmentDetails Specifies the compartment to move the dedicated virtual machine host to. type ChangeDedicatedVmHostCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // to move the dedicated virtual machine host to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeDedicatedVmHostCompartmentDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go index 0bb77b9b9e..c2609a309b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dedicated_vm_host_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartmentRequest. type ChangeDedicatedVmHostCompartmentRequest struct { // The OCID of the dedicated VM host. @@ -77,7 +77,7 @@ func (request ChangeDedicatedVmHostCompartmentRequest) RetryPolicy() *common.Ret func (request ChangeDedicatedVmHostCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type ChangeDedicatedVmHostCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go index 5b35a8ede3..abe91a4940 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeDhcpOptionsCompartmentDetails The configuration details for the move operation. type ChangeDhcpOptionsCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // set of DHCP options to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeDhcpOptionsCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go index 06dcb325b9..0c601cf179 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_dhcp_options_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartmentRequest. type ChangeDhcpOptionsCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // Request to change the compartment of a set of DHCP Options. @@ -72,7 +72,7 @@ func (request ChangeDhcpOptionsCompartmentRequest) RetryPolicy() *common.RetryPo func (request ChangeDhcpOptionsCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go index bf22fb967a..e9ed5d7a56 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeDrgCompartmentDetails The configuration details for the move operation. type ChangeDrgCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // DRG to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeDrgCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go index 2e9e977ac3..ffcfc01084 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_drg_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartmentRequest. type ChangeDrgCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Request to change the compartment of a DRG. @@ -72,7 +72,7 @@ func (request ChangeDrgCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeDrgCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type ChangeDrgCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go index e2119938eb..22419435be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_i_p_sec_connection_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartmentRequest. type ChangeIPSecConnectionCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Request to change the compartment of a IPSec connection. @@ -72,7 +72,7 @@ func (request ChangeIPSecConnectionCompartmentRequest) RetryPolicy() *common.Ret func (request ChangeIPSecConnectionCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go index 7d4476b005..1cef5b696b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeImageCompartmentDetails The configuration details for the move operation. type ChangeImageCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the image to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the image to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeImageCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go index 18207d02d2..a647dc88e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_image_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartmentRequest. type ChangeImageCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Request to change the compartment of a given image. @@ -77,7 +77,7 @@ func (request ChangeImageCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeImageCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go index b74724496b..fc98ffb475 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeInstanceCompartmentDetails The configuration details for the move operation. type ChangeInstanceCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the instance to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the instance to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeInstanceCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go index 8ac374ce61..83986d376b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartmentRequest. type ChangeInstanceCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Request to change the compartment of a given instance. @@ -77,7 +77,7 @@ func (request ChangeInstanceCompartmentRequest) RetryPolicy() *common.RetryPolic func (request ChangeInstanceCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type ChangeInstanceCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go index 4c23bc588d..e812967fd0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeInstanceConfigurationCompartmentDetails The configuration details for the move operation. type ChangeInstanceConfigurationCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to // move the instance configuration to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeInstanceConfigurationCompartmentDetails) ValidateEnumValue() (bool errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go index b8d88cc446..58f90d7cef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_configuration_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartmentRequest. type ChangeInstanceConfigurationCompartmentRequest struct { // The OCID of the instance configuration. @@ -77,7 +77,7 @@ func (request ChangeInstanceConfigurationCompartmentRequest) RetryPolicy() *comm func (request ChangeInstanceConfigurationCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go index fe77bc50f2..6ba5f7e066 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeInstancePoolCompartmentDetails The configuration details for the move operation. type ChangeInstancePoolCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to // move the instance pool to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeInstancePoolCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go index ddfcb855cc..1c50e6d43f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_instance_pool_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartmentRequest. type ChangeInstancePoolCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Request to change the compartment of given instance pool. @@ -77,7 +77,7 @@ func (request ChangeInstancePoolCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangeInstancePoolCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go index 7f8ee09c1e..2c36d6c35d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeInternetGatewayCompartmentDetails The configuration details for the move operation. type ChangeInternetGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // internet gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeInternetGatewayCompartmentDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go index c3e29860d8..e8ad1d026f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_internet_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartmentRequest. type ChangeInternetGatewayCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // Request to change the compartment of an internet gateway. @@ -72,7 +72,7 @@ func (request ChangeInternetGatewayCompartmentRequest) RetryPolicy() *common.Ret func (request ChangeInternetGatewayCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go index caa4091f90..ad50c65407 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_ip_sec_connection_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeIpSecConnectionCompartmentDetails The configuration details for the move operation. type ChangeIpSecConnectionCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // IPSec connection to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeIpSecConnectionCompartmentDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go index f17b79d93e..36d2785578 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeLocalPeeringGatewayCompartmentDetails The configuration details for the move operation. type ChangeLocalPeeringGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // local peering gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeLocalPeeringGatewayCompartmentDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go index d4bd68fc18..dd99248e50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_local_peering_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartmentRequest. type ChangeLocalPeeringGatewayCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Request to change the compartment of a given local peering gateway. @@ -72,7 +72,7 @@ func (request ChangeLocalPeeringGatewayCompartmentRequest) RetryPolicy() *common func (request ChangeLocalPeeringGatewayCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go index 47751019c1..858d16dc54 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeNatGatewayCompartmentDetails The configuration details for the move operation. type ChangeNatGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the NAT gateway to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the NAT gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeNatGatewayCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go index 4d747eea16..a4aba7f735 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_nat_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartmentRequest. type ChangeNatGatewayCompartmentRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // Request to change the compartment of a given NAT Gateway. @@ -72,7 +72,7 @@ func (request ChangeNatGatewayCompartmentRequest) RetryPolicy() *common.RetryPol func (request ChangeNatGatewayCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go index bc326bf04f..b9040c9e26 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeNetworkSecurityGroupCompartmentDetails The representation of ChangeNetworkSecurityGroupCompartmentDetails type ChangeNetworkSecurityGroupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the network + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the network // security group to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeNetworkSecurityGroupCompartmentDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go index 715958afa4..1a74bf785c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_network_security_group_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartmentRequest. type ChangeNetworkSecurityGroupCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request to change the compartment of a network security group. @@ -72,7 +72,7 @@ func (request ChangeNetworkSecurityGroupCompartmentRequest) RetryPolicy() *commo func (request ChangeNetworkSecurityGroupCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go index cb8b743352..0e4b5099c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangePublicIpCompartmentDetails The configuration details for the move operation. type ChangePublicIpCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // public IP to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangePublicIpCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go index cd076cd1fa..edda00ecf8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartmentRequest. type ChangePublicIpCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // Request to change the compartment of a Public IP. @@ -72,7 +72,7 @@ func (request ChangePublicIpCompartmentRequest) RetryPolicy() *common.RetryPolic func (request ChangePublicIpCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go index dc142cb6bc..37ec702cfa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangePublicIpPoolCompartmentDetails The configuration details for the move operation. type ChangePublicIpPoolCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the public IP pool move. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the public IP pool move. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangePublicIpPoolCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go index e7ac34c8fb..9c8c9ba94c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_public_ip_pool_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartmentRequest. type ChangePublicIpPoolCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` // Request to change the compartment of a public IP pool. @@ -72,7 +72,7 @@ func (request ChangePublicIpPoolCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangePublicIpPoolCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go index d3458bf1c4..95d3e4102e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeRemotePeeringConnectionCompartmentDetails The configuration details for the move operation. type ChangeRemotePeeringConnectionCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // remote peering connection to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeRemotePeeringConnectionCompartmentDetails) ValidateEnumValue() (bo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go index c6d9e57108..33f737d52c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_remote_peering_connection_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartmentRequest. type ChangeRemotePeeringConnectionCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Request to change the compartment of a remote peering connection. @@ -72,7 +72,7 @@ func (request ChangeRemotePeeringConnectionCompartmentRequest) RetryPolicy() *co func (request ChangeRemotePeeringConnectionCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go index 0e8ebaa93a..3b18146522 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeRouteTableCompartmentDetails The configuration details for the move operation. type ChangeRouteTableCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // route table to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeRouteTableCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go index 5c07fc5282..9f9352971c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_route_table_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartmentRequest. type ChangeRouteTableCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // Request to change the compartment of a given route table. @@ -72,7 +72,7 @@ func (request ChangeRouteTableCompartmentRequest) RetryPolicy() *common.RetryPol func (request ChangeRouteTableCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go index 847ef43d75..60de6ae66d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeSecurityListCompartmentDetails The configuration details for the move operation. type ChangeSecurityListCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // security list to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeSecurityListCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go index 45334c37c5..ae9fb1a4df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_security_list_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartmentRequest. type ChangeSecurityListCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // Request to change the compartment of a given security list. @@ -72,7 +72,7 @@ func (request ChangeSecurityListCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangeSecurityListCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go index f9f5231354..aa8d1e6dc7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeServiceGatewayCompartmentDetails The configuration details for the move operation. type ChangeServiceGatewayCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // service gateway to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeServiceGatewayCompartmentDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go index 491a6715fc..bc665b7f70 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_service_gateway_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartmentRequest. type ChangeServiceGatewayCompartmentRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // Request to change the compartment of a given Service Gateway. @@ -72,7 +72,7 @@ func (request ChangeServiceGatewayCompartmentRequest) RetryPolicy() *common.Retr func (request ChangeServiceGatewayCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go index d72e40bb9a..a046c79c71 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeSubnetCompartmentDetails The configuration details for the move operation. type ChangeSubnetCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // subnet to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeSubnetCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go index 3a5fc53d33..61c7502a82 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_subnet_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartmentRequest. type ChangeSubnetCompartmentRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Request to change the compartment of a given subnet. @@ -72,7 +72,7 @@ func (request ChangeSubnetCompartmentRequest) RetryPolicy() *common.RetryPolicy func (request ChangeSubnetCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type ChangeSubnetCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go index 176b5a7561..3b8ff14cd1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVcnCompartmentDetails The configuration details for the move operation. type ChangeVcnCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // VCN to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeVcnCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go index ad574f704f..63952c3627 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vcn_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartmentRequest. type ChangeVcnCompartmentRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Request to change the compartment of a given VCN. @@ -72,7 +72,7 @@ func (request ChangeVcnCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeVcnCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type ChangeVcnCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go index 6ff7ce8771..71d105fa06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVirtualCircuitCompartmentDetails The configuration details for the move operation. type ChangeVirtualCircuitCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the // virtual circuit to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m ChangeVirtualCircuitCompartmentDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go index baa9bc75d3..12cc738873 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_virtual_circuit_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartmentRequest. type ChangeVirtualCircuitCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Request to change the compartment of a virtual circuit. @@ -72,7 +72,7 @@ func (request ChangeVirtualCircuitCompartmentRequest) RetryPolicy() *common.Retr func (request ChangeVirtualCircuitCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go index 4a7cba42b3..3a611c4ab5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVlanCompartmentDetails The configuration details for the move operation. type ChangeVlanCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the VLAN to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the VLAN to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeVlanCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go index fd27cddda0..ec44e3f7b9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vlan_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartmentRequest. type ChangeVlanCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // Request to change the compartment of a given VLAN. @@ -77,7 +77,7 @@ func (request ChangeVlanCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeVlanCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type ChangeVlanCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go index c79a2e3216..66feeaa4ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVolumeBackupCompartmentDetails Contains the details for the compartment to move the volume backup to. type ChangeVolumeBackupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume backup to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume backup to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeVolumeBackupCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go index b32a2035ee..3523227f2d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_backup_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartmentRequest. type ChangeVolumeBackupCompartmentRequest struct { // The OCID of the volume backup. @@ -65,7 +65,7 @@ func (request ChangeVolumeBackupCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangeVolumeBackupCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go index 05e833d55f..f2f812273b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVolumeCompartmentDetails Contains the details for the compartment to move the volume to. type ChangeVolumeCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeVolumeCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go index 4e7c6d60a6..ec79a072d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartmentRequest. type ChangeVolumeCompartmentRequest struct { // The OCID of the volume. @@ -65,7 +65,7 @@ func (request ChangeVolumeCompartmentRequest) RetryPolicy() *common.RetryPolicy func (request ChangeVolumeCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go index 8047c40154..bae202fe40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVolumeGroupBackupCompartmentDetails Contains the details for the compartment to move the volume group backup to. type ChangeVolumeGroupBackupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume group backup to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume group backup to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeVolumeGroupBackupCompartmentDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go index 5a017f3f39..1dd0411d17 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_backup_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartmentRequest. type ChangeVolumeGroupBackupCompartmentRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. @@ -65,7 +65,7 @@ func (request ChangeVolumeGroupBackupCompartmentRequest) RetryPolicy() *common.R func (request ChangeVolumeGroupBackupCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go index 2dd712c5a7..f37cc313f2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVolumeGroupCompartmentDetails Contains the details for the compartment to move the volume group to. type ChangeVolumeGroupCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume group to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the volume group to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeVolumeGroupCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go index a0ce06669f..a025e42197 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_volume_group_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartmentRequest. type ChangeVolumeGroupCompartmentRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. @@ -65,7 +65,7 @@ func (request ChangeVolumeGroupCompartmentRequest) RetryPolicy() *common.RetryPo func (request ChangeVolumeGroupCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go index 886670e086..36f6e5957b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ChangeVtapCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP). type ChangeVtapCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP move. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP move. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -39,7 +39,7 @@ func (m ChangeVtapCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go index 7b805a6938..ff4b9170f2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_vtap_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartmentRequest. type ChangeVtapCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // Request to change the compartment that contains a VTAP. @@ -77,7 +77,7 @@ func (request ChangeVtapCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeVtapCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type ChangeVtapCompartmentResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/check_host_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/check_host_configuration_request_response.go new file mode 100644 index 0000000000..3d2ffcf8cf --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/check_host_configuration_request_response.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CheckHostConfigurationRequest wrapper for the CheckHostConfiguration operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CheckHostConfiguration.go.html to see an example of how to use CheckHostConfigurationRequest. +type CheckHostConfigurationRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CheckHostConfigurationRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CheckHostConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CheckHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CheckHostConfigurationRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CheckHostConfigurationRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CheckHostConfigurationResponse wrapper for the CheckHostConfiguration operation +type CheckHostConfigurationResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHost instance + ComputeHost `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Location of the resource. + Location *string `presentIn:"header" name:"location"` +} + +func (response CheckHostConfigurationResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CheckHostConfigurationResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go index 040adeb357..f72bcc0389 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ import ( // is returned. type ClusterConfigDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. HpcIslandId *string `mandatory:"true" json:"hpcIslandId"` // The list of OCIDs of the network blocks. @@ -46,7 +46,7 @@ func (m ClusterConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_configuration_details.go index 3b7925ac17..b1878bddae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ import ( // not valid, an error is returned. type ClusterConfigurationDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. HpcIslandId *string `mandatory:"true" json:"hpcIslandId"` // The list of network block OCIDs. @@ -46,7 +46,7 @@ func (m ClusterConfigurationDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go index 8505ab4a69..f52867e28b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // ClusterNetwork A cluster network is a group of high performance computing (HPC), GPU, or optimized bare metal // instances that are connected with an ultra low-latency remote direct memory access (RDMA) -// network. Cluster networks with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) +// network. Cluster networks with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) // use instance pools to manage groups of identical instances. // Use cluster networks with instance pools when you want predictable capacity for a specific number of identical // instances that are managed as a group. @@ -31,10 +31,10 @@ import ( // in the network group, use compute clusters instead. For details, see ComputeCluster. type ClusterNetwork struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cluster network. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The current state of the cluster network. @@ -48,14 +48,14 @@ type ClusterNetwork struct { // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island used by the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island used by the cluster network. HpcIslandId *string `mandatory:"false" json:"hpcIslandId"` // The list of network block OCIDs of the HPC island. NetworkBlockIds []string `mandatory:"false" json:"networkBlockIds"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -64,7 +64,7 @@ type ClusterNetwork struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -89,7 +89,7 @@ func (m ClusterNetwork) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go index f8b0aeee1d..f24ea0b890 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,7 +31,7 @@ type ClusterNetworkPlacementConfigurationDetails struct { // The placement constraint when reserving hosts. PlacementConstraint ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum `mandatory:"false" json:"placementConstraint,omitempty"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place instances. This field is deprecated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place instances. This field is deprecated. // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool. PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"` @@ -55,7 +55,7 @@ func (m ClusterNetworkPlacementConfigurationDetails) ValidateEnumValue() (bool, errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlacementConstraint: %s. Supported values are: %s.", m.PlacementConstraint, strings.Join(GetClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go index e6aab9a8e7..dbc98322e3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,13 +21,13 @@ import ( "strings" ) -// ClusterNetworkSummary Summary information for a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// ClusterNetworkSummary Summary information for a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). type ClusterNetworkSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the // cluster netowrk. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -43,7 +43,7 @@ type ClusterNetworkSummary struct { TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -52,7 +52,7 @@ type ClusterNetworkSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -74,7 +74,7 @@ func (m ClusterNetworkSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go index 95c4b75bef..f2b9a6727f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compartment_internal.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CompartmentInternal Helper definition required to perform authZ using SPLAT expressions on a Compartment type CompartmentInternal struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. Id *string `mandatory:"false" json:"id"` } @@ -39,7 +39,7 @@ func (m CompartmentInternal) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/component_version.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/component_version.go new file mode 100644 index 0000000000..467fc7f7e9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/component_version.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComponentVersion Represents a specific component type and its associated firmware versions. +type ComponentVersion struct { + + // The type of component. + ComponentType *string `mandatory:"true" json:"componentType"` + + // A list of firmware versions associated with this component type. + Version []string `mandatory:"true" json:"version"` +} + +func (m ComponentVersion) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComponentVersion) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host.go index 391ab334fe..fa831b706e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // ComputeBareMetalHost A compute bare metal host. type ComputeBareMetalHost struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute bare metal host. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute bare metal host. Id *string `mandatory:"true" json:"id"` // The shape of the compute instance that runs on the compute bare metal host. @@ -44,16 +44,16 @@ type ComputeBareMetalHost struct { // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. ComputeHpcIslandId *string `mandatory:"false" json:"computeHpcIslandId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block. ComputeLocalBlockId *string `mandatory:"false" json:"computeLocalBlockId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. ComputeNetworkBlockId *string `mandatory:"false" json:"computeNetworkBlockId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute instance that runs on the compute bare metal host. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute instance that runs on the compute bare metal host. InstanceId *string `mandatory:"false" json:"instanceId"` // The lifecycle state details of the compute bare metal host. @@ -77,7 +77,7 @@ func (m ComputeBareMetalHost) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetComputeBareMetalHostLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_collection.go index 089634e5ec..67bad770d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ComputeBareMetalHostCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_placement_constraint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_placement_constraint_details.go new file mode 100644 index 0000000000..d8de71a538 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_placement_constraint_details.go @@ -0,0 +1,61 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeBareMetalHostPlacementConstraintDetails The details for providing placement constraints using the compute bare metal host OCID. +// This placement constraint is only applicable during the launch operation. +type ComputeBareMetalHostPlacementConstraintDetails struct { + + // The OCID of the compute bare metal host. This is only available for dedicated capacity customers. + ComputeBareMetalHostId *string `mandatory:"true" json:"computeBareMetalHostId"` +} + +func (m ComputeBareMetalHostPlacementConstraintDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeBareMetalHostPlacementConstraintDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m ComputeBareMetalHostPlacementConstraintDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeComputeBareMetalHostPlacementConstraintDetails ComputeBareMetalHostPlacementConstraintDetails + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeComputeBareMetalHostPlacementConstraintDetails + }{ + "COMPUTE_BARE_METAL_HOST", + (MarshalTypeComputeBareMetalHostPlacementConstraintDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_summary.go index bb089f0dd0..224d260f4c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_bare_metal_host_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // ComputeBareMetalHostSummary Summary information for a compute bare metal host. type ComputeBareMetalHostSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute bare metal host. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute bare metal host. Id *string `mandatory:"true" json:"id"` // The shape of the compute instance that runs on the compute bare metal host. @@ -44,16 +44,16 @@ type ComputeBareMetalHostSummary struct { // Example: `2016-08-25T21:10:29.600Z` TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. ComputeHpcIslandId *string `mandatory:"false" json:"computeHpcIslandId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. ComputeLocalBlockId *string `mandatory:"false" json:"computeLocalBlockId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block. ComputeNetworkBlockId *string `mandatory:"false" json:"computeNetworkBlockId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute instance that runs on the compute bare metal host. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute instance that runs on the compute bare metal host. InstanceId *string `mandatory:"false" json:"instanceId"` // The lifecycle state details of the compute bare metal host. @@ -77,7 +77,7 @@ func (m ComputeBareMetalHostSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetComputeBareMetalHostLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_report.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_report.go index a6b29e8394..76aaf3ae11 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_report.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_report.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ import ( // you create an instance or change the shape of an instance. type ComputeCapacityReport struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root // compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -56,7 +56,7 @@ func (m ComputeCapacityReport) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go index d2283cba17..581076d380 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,11 +28,11 @@ type ComputeCapacityReservation struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // containing the compute capacity reservation. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity reservation. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity reservation. Id *string `mandatory:"true" json:"id"` // The current state of the compute capacity reservation. @@ -43,7 +43,7 @@ type ComputeCapacityReservation struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -52,12 +52,12 @@ type ComputeCapacityReservation struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Whether this capacity reservation is the default. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"` // The capacity configurations for the capacity reservation. @@ -96,7 +96,7 @@ func (m ComputeCapacityReservation) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go index 5929719f6c..29aac554a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_instance_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ComputeCapacityReservationInstanceShapeSummary) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go index d032b8a320..b6725f8c03 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_reservation_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,12 +42,12 @@ type ComputeCapacityReservationSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -67,7 +67,7 @@ type ComputeCapacityReservationSummary struct { UsedInstanceCount *int64 `mandatory:"false" json:"usedInstanceCount"` // Whether this capacity reservation is the default. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"` } @@ -85,7 +85,7 @@ func (m ComputeCapacityReservationSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeCapacityReservationLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology.go index 9c8fb1a684..1ea72fa7f9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,10 +31,10 @@ type ComputeCapacityTopology struct { CapacitySource CapacitySource `mandatory:"true" json:"capacitySource"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute capacity topology. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. Id *string `mandatory:"true" json:"id"` // The current state of the compute capacity topology. @@ -49,7 +49,7 @@ type ComputeCapacityTopology struct { TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -58,7 +58,7 @@ type ComputeCapacityTopology struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -77,7 +77,7 @@ func (m ComputeCapacityTopology) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_collection.go index 6e9b43e490..261029255a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ComputeCapacityTopologyCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_summary.go index a9dcb388da..620dfc6781 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_capacity_topology_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,10 +28,10 @@ type ComputeCapacityTopologySummary struct { // Example: `Uocm:US-CHICAGO-1-AD-2` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute capacity topology. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. Id *string `mandatory:"true" json:"id"` // The current state of the compute capacity topology. @@ -46,7 +46,7 @@ type ComputeCapacityTopologySummary struct { TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -55,7 +55,7 @@ type ComputeCapacityTopologySummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -74,7 +74,7 @@ func (m ComputeCapacityTopologySummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go index 237f55c718..3aca5649de 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,7 +22,7 @@ import ( ) // ComputeCluster A remote direct memory access (RDMA) network group. -// A cluster network on a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a group of +// A cluster network on a compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a group of // high performance computing (HPC), GPU, or optimized instances that are connected with an ultra low-latency network. // Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group. // For details about cluster networks that use instance pools to manage groups of identical instances, @@ -33,10 +33,10 @@ type ComputeCluster struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute cluster. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute cluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. Id *string `mandatory:"true" json:"id"` // The current state of the compute cluster. @@ -52,12 +52,12 @@ type ComputeCluster struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -76,7 +76,7 @@ func (m ComputeCluster) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go index 65a167d952..25a482488c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,7 +21,7 @@ import ( "strings" ) -// ComputeClusterCollection A list of compute clusters that match filter criteria, if any. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) +// ComputeClusterCollection A list of compute clusters that match filter criteria, if any. A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) // is a remote direct memory access (RDMA) network group. type ComputeClusterCollection struct { @@ -40,7 +40,7 @@ func (m ComputeClusterCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go index e78a393e19..b73b192139 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_cluster_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,7 +21,7 @@ import ( "strings" ) -// ComputeClusterSummary Summary information for a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) +// ComputeClusterSummary Summary information for a compute cluster. A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) // is a remote direct memory access (RDMA) network group. type ComputeClusterSummary struct { @@ -29,10 +29,10 @@ type ComputeClusterSummary struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute cluster. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute cluster. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. Id *string `mandatory:"true" json:"id"` // The current state of the compute cluster. @@ -48,12 +48,12 @@ type ComputeClusterSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -72,7 +72,7 @@ func (m ComputeClusterSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go index d45328ce21..83bbac2fd2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ComputeGlobalImageCapabilitySchema Compute Global Image Capability Schema is a container for a set of compute global image capability schema versions type ComputeGlobalImageCapabilitySchema struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. @@ -43,12 +43,12 @@ type ComputeGlobalImageCapabilitySchema struct { CurrentVersionName *string `mandatory:"false" json:"currentVersionName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -64,7 +64,7 @@ func (m ComputeGlobalImageCapabilitySchema) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go index 1b0a0cb5ce..dc9dc85f70 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ComputeGlobalImageCapabilitySchemaSummary Summary information for a compute global image capability schema type ComputeGlobalImageCapabilitySchemaSummary struct { - // The compute global image capability schema OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The compute global image capability schema OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // A user-friendly name. Does not have to be unique, and it's changeable. @@ -43,12 +43,12 @@ type ComputeGlobalImageCapabilitySchemaSummary struct { CurrentVersionName *string `mandatory:"false" json:"currentVersionName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -64,7 +64,7 @@ func (m ComputeGlobalImageCapabilitySchemaSummary) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go index e9b92c9414..1d105523a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -55,7 +55,7 @@ func (m ComputeGlobalImageCapabilitySchemaVersion) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go index 599866a225..9c590ba63d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_global_image_capability_schema_version_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -50,7 +50,7 @@ func (m ComputeGlobalImageCapabilitySchemaVersionSummary) ValidateEnumValue() (b errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster.go new file mode 100644 index 0000000000..8b7111eb45 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster.go @@ -0,0 +1,148 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryCluster The customer facing object includes GPU memory cluster details. +type ComputeGpuMemoryCluster struct { + + // The availability domain of the GPU memory cluster. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique GPU memory cluster + Id *string `mandatory:"true" json:"id"` + + // The OCID of the Instance Configuration used to source launch details for this instance. + InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU + // memory cluster. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The lifecycle state of the GPU memory cluster + LifecycleState ComputeGpuMemoryClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + ComputeClusterId *string `mandatory:"true" json:"computeClusterId"` + + // The number of instances currently running in the GpuMemoryCluster + Size *int64 `mandatory:"true" json:"size"` + + // The date and time the GPU memory cluster was created. + // Example: `2016-09-15T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the GPU memory fabric. + GpuMemoryFabricId *string `mandatory:"false" json:"gpuMemoryFabricId"` + + GpuMemoryClusterScaleConfig *ComputeGpuMemoryClusterScaleConfig `mandatory:"false" json:"gpuMemoryClusterScaleConfig"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` +} + +func (m ComputeGpuMemoryCluster) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryCluster) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeGpuMemoryClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeGpuMemoryClusterLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeGpuMemoryClusterLifecycleStateEnum Enum with underlying type: string +type ComputeGpuMemoryClusterLifecycleStateEnum string + +// Set of constants representing the allowable values for ComputeGpuMemoryClusterLifecycleStateEnum +const ( + ComputeGpuMemoryClusterLifecycleStateCreating ComputeGpuMemoryClusterLifecycleStateEnum = "CREATING" + ComputeGpuMemoryClusterLifecycleStateActive ComputeGpuMemoryClusterLifecycleStateEnum = "ACTIVE" + ComputeGpuMemoryClusterLifecycleStateUpdating ComputeGpuMemoryClusterLifecycleStateEnum = "UPDATING" + ComputeGpuMemoryClusterLifecycleStateDeleting ComputeGpuMemoryClusterLifecycleStateEnum = "DELETING" + ComputeGpuMemoryClusterLifecycleStateDeleted ComputeGpuMemoryClusterLifecycleStateEnum = "DELETED" +) + +var mappingComputeGpuMemoryClusterLifecycleStateEnum = map[string]ComputeGpuMemoryClusterLifecycleStateEnum{ + "CREATING": ComputeGpuMemoryClusterLifecycleStateCreating, + "ACTIVE": ComputeGpuMemoryClusterLifecycleStateActive, + "UPDATING": ComputeGpuMemoryClusterLifecycleStateUpdating, + "DELETING": ComputeGpuMemoryClusterLifecycleStateDeleting, + "DELETED": ComputeGpuMemoryClusterLifecycleStateDeleted, +} + +var mappingComputeGpuMemoryClusterLifecycleStateEnumLowerCase = map[string]ComputeGpuMemoryClusterLifecycleStateEnum{ + "creating": ComputeGpuMemoryClusterLifecycleStateCreating, + "active": ComputeGpuMemoryClusterLifecycleStateActive, + "updating": ComputeGpuMemoryClusterLifecycleStateUpdating, + "deleting": ComputeGpuMemoryClusterLifecycleStateDeleting, + "deleted": ComputeGpuMemoryClusterLifecycleStateDeleted, +} + +// GetComputeGpuMemoryClusterLifecycleStateEnumValues Enumerates the set of values for ComputeGpuMemoryClusterLifecycleStateEnum +func GetComputeGpuMemoryClusterLifecycleStateEnumValues() []ComputeGpuMemoryClusterLifecycleStateEnum { + values := make([]ComputeGpuMemoryClusterLifecycleStateEnum, 0) + for _, v := range mappingComputeGpuMemoryClusterLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeGpuMemoryClusterLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeGpuMemoryClusterLifecycleStateEnum +func GetComputeGpuMemoryClusterLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "UPDATING", + "DELETING", + "DELETED", + } +} + +// GetMappingComputeGpuMemoryClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeGpuMemoryClusterLifecycleStateEnum(val string) (ComputeGpuMemoryClusterLifecycleStateEnum, bool) { + enum, ok := mappingComputeGpuMemoryClusterLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_collection.go new file mode 100644 index 0000000000..abac52b46b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryClusterCollection A list of compute GPU memory clusters. +type ComputeGpuMemoryClusterCollection struct { + + // The list of compute GPU memory clusters. + Items []ComputeGpuMemoryClusterSummary `mandatory:"true" json:"items"` +} + +func (m ComputeGpuMemoryClusterCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryClusterCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_collection.go new file mode 100644 index 0000000000..0464bd5149 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryClusterInstanceCollection A list of compute GPU memory cluster instances. +type ComputeGpuMemoryClusterInstanceCollection struct { + + // The list of compute GPU memory cluster instances. + Items []ComputeGpuMemoryClusterInstanceSummary `mandatory:"true" json:"items"` +} + +func (m ComputeGpuMemoryClusterInstanceCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryClusterInstanceCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_summary.go new file mode 100644 index 0000000000..a7d85ebe50 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_instance_summary.go @@ -0,0 +1,159 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryClusterInstanceSummary The customer facing GPU memory cluster instance object details. +type ComputeGpuMemoryClusterInstanceSummary struct { + + // The availability domain of the GPU memory cluster instance. + AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique GPU memory cluster instance + Id *string `mandatory:"false" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment + // compartment. + CompartmentId *string `mandatory:"false" json:"compartmentId"` + + // The fault domain the GPU memory cluster instance is running in. + FaultDomain *string `mandatory:"false" json:"faultDomain"` + + // Configuration to be used for this GPU Memory Cluster instance. + InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"` + + // The region that contains the availability domain the instance is running in. + Region *string `mandatory:"false" json:"region"` + + // The shape of an instance. The shape determines the number of CPUs, amount of memory, + // and other resources allocated to the instance. The shape determines the number of CPUs, + // the amount of memory, and other resources allocated to the instance. + // You can list all available shapes by calling ListShapes. + InstanceShape *string `mandatory:"false" json:"instanceShape"` + + // The lifecycle state of the GPU memory cluster instance + LifecycleState ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // The date and time the GPU memory cluster instance was created. + // Example: `2016-09-15T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` +} + +func (m ComputeGpuMemoryClusterInstanceSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryClusterInstanceSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum Enum with underlying type: string +type ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum string + +// Set of constants representing the allowable values for ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum +const ( + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateMoving ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "MOVING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateProvisioning ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "PROVISIONING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateRunning ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "RUNNING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStarting ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "STARTING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStopping ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "STOPPING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStopped ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "STOPPED" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateSuspending ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "SUSPENDING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateSuspended ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "SUSPENDED" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateCreatingImage ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "CREATING_IMAGE" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateTerminating ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "TERMINATING" + ComputeGpuMemoryClusterInstanceSummaryLifecycleStateTerminated ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = "TERMINATED" +) + +var mappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum = map[string]ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum{ + "MOVING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateMoving, + "PROVISIONING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateProvisioning, + "RUNNING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateRunning, + "STARTING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStarting, + "STOPPING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStopping, + "STOPPED": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStopped, + "SUSPENDING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateSuspending, + "SUSPENDED": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateSuspended, + "CREATING_IMAGE": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateCreatingImage, + "TERMINATING": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateTerminating, + "TERMINATED": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateTerminated, +} + +var mappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumLowerCase = map[string]ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum{ + "moving": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateMoving, + "provisioning": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateProvisioning, + "running": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateRunning, + "starting": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStarting, + "stopping": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStopping, + "stopped": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateStopped, + "suspending": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateSuspending, + "suspended": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateSuspended, + "creating_image": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateCreatingImage, + "terminating": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateTerminating, + "terminated": ComputeGpuMemoryClusterInstanceSummaryLifecycleStateTerminated, +} + +// GetComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumValues Enumerates the set of values for ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum +func GetComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumValues() []ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum { + values := make([]ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum, 0) + for _, v := range mappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum +func GetComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumStringValues() []string { + return []string{ + "MOVING", + "PROVISIONING", + "RUNNING", + "STARTING", + "STOPPING", + "STOPPED", + "SUSPENDING", + "SUSPENDED", + "CREATING_IMAGE", + "TERMINATING", + "TERMINATED", + } +} + +// GetMappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum(val string) (ComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnum, bool) { + enum, ok := mappingComputeGpuMemoryClusterInstanceSummaryLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_scale_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_scale_config.go new file mode 100644 index 0000000000..9a8d76eb74 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_scale_config.go @@ -0,0 +1,51 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryClusterScaleConfig Configuration settings for GPU Memory Cluster scaling. +type ComputeGpuMemoryClusterScaleConfig struct { + + // Whether upsizing is enabled. + IsUpsizeEnabled *bool `mandatory:"false" json:"isUpsizeEnabled"` + + // Whether downsizing is enabled. + IsDownsizeEnabled *bool `mandatory:"false" json:"isDownsizeEnabled"` + + // The configured target size for the GPU Memory cluster. + TargetSize *int64 `mandatory:"false" json:"targetSize"` +} + +func (m ComputeGpuMemoryClusterScaleConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryClusterScaleConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_summary.go new file mode 100644 index 0000000000..19da9aec80 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_cluster_summary.go @@ -0,0 +1,81 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryClusterSummary Summary model for listing Compute GPU Memory Clusters. +type ComputeGpuMemoryClusterSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique GPU memory cluster + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU memory cluster. + // compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The availability domain of GPU memory cluster. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The current state of the compute GPU memory cluster. + LifecycleState ComputeGpuMemoryClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The date and time the boot volume was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` +} + +func (m ComputeGpuMemoryClusterSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryClusterSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeGpuMemoryClusterLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeGpuMemoryClusterLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric.go new file mode 100644 index 0000000000..f894ba650d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric.go @@ -0,0 +1,270 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryFabric The customer facing object includes GPU memory fabric details. +type ComputeGpuMemoryFabric struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique GPU memory fabric + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root + // compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique HPC Island + ComputeHpcIslandId *string `mandatory:"true" json:"computeHpcIslandId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Network Block + ComputeNetworkBlockId *string `mandatory:"true" json:"computeNetworkBlockId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Local Block + ComputeLocalBlockId *string `mandatory:"true" json:"computeLocalBlockId"` + + // The lifecycle state of the GPU memory fabric + LifecycleState ComputeGpuMemoryFabricLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The health state of the GPU memory fabric + FabricHealth ComputeGpuMemoryFabricFabricHealthEnum `mandatory:"true" json:"fabricHealth"` + + // The total number of healthy bare metal hosts located in this compute GPU memory fabric. + HealthyHostCount *int64 `mandatory:"true" json:"healthyHostCount"` + + // The total number of bare metal hosts located in this compute GPU memory fabric. + TotalHostCount *int64 `mandatory:"true" json:"totalHostCount"` + + // The date and time that the compute GPU memory fabric record was created, in the format defined by RFC3339 + // (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // Additional data that can be exposed to the customer. Right now it will include the switch tray ids. + AdditionalData map[string]interface{} `mandatory:"false" json:"additionalData"` + + // The total number of available bare metal hosts located in this compute GPU memory fabric. + AvailableHostCount *int64 `mandatory:"false" json:"availableHostCount"` + + // The host platform identifier used for bundle queries + HostPlatformName *string `mandatory:"false" json:"hostPlatformName"` + + // The switch platform identifier used for bundle queries + SwitchPlatformName *string `mandatory:"false" json:"switchPlatformName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for current firmware bundle + CurrentFirmwareBundleId *string `mandatory:"false" json:"currentFirmwareBundleId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for targeted firmware bundle + TargetFirmwareBundleId *string `mandatory:"false" json:"targetFirmwareBundleId"` + + // The state of Memory Fabric Firmware update + FirmwareUpdateState ComputeGpuMemoryFabricFirmwareUpdateStateEnum `mandatory:"false" json:"firmwareUpdateState,omitempty"` + + // The reason for updating firmware bundle version of the GPU memory fabric. + FirmwareUpdateReason *string `mandatory:"false" json:"firmwareUpdateReason"` + + MemoryFabricPreferences *MemoryFabricPreferencesDescriptor `mandatory:"false" json:"memoryFabricPreferences"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` +} + +func (m ComputeGpuMemoryFabric) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryFabric) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeGpuMemoryFabricLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeGpuMemoryFabricLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingComputeGpuMemoryFabricFabricHealthEnum(string(m.FabricHealth)); !ok && m.FabricHealth != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FabricHealth: %s. Supported values are: %s.", m.FabricHealth, strings.Join(GetComputeGpuMemoryFabricFabricHealthEnumStringValues(), ","))) + } + + if _, ok := GetMappingComputeGpuMemoryFabricFirmwareUpdateStateEnum(string(m.FirmwareUpdateState)); !ok && m.FirmwareUpdateState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FirmwareUpdateState: %s. Supported values are: %s.", m.FirmwareUpdateState, strings.Join(GetComputeGpuMemoryFabricFirmwareUpdateStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeGpuMemoryFabricLifecycleStateEnum Enum with underlying type: string +type ComputeGpuMemoryFabricLifecycleStateEnum string + +// Set of constants representing the allowable values for ComputeGpuMemoryFabricLifecycleStateEnum +const ( + ComputeGpuMemoryFabricLifecycleStateAvailable ComputeGpuMemoryFabricLifecycleStateEnum = "AVAILABLE" + ComputeGpuMemoryFabricLifecycleStateOccupied ComputeGpuMemoryFabricLifecycleStateEnum = "OCCUPIED" + ComputeGpuMemoryFabricLifecycleStateProvisioning ComputeGpuMemoryFabricLifecycleStateEnum = "PROVISIONING" + ComputeGpuMemoryFabricLifecycleStateDegraded ComputeGpuMemoryFabricLifecycleStateEnum = "DEGRADED" + ComputeGpuMemoryFabricLifecycleStateUnavailable ComputeGpuMemoryFabricLifecycleStateEnum = "UNAVAILABLE" +) + +var mappingComputeGpuMemoryFabricLifecycleStateEnum = map[string]ComputeGpuMemoryFabricLifecycleStateEnum{ + "AVAILABLE": ComputeGpuMemoryFabricLifecycleStateAvailable, + "OCCUPIED": ComputeGpuMemoryFabricLifecycleStateOccupied, + "PROVISIONING": ComputeGpuMemoryFabricLifecycleStateProvisioning, + "DEGRADED": ComputeGpuMemoryFabricLifecycleStateDegraded, + "UNAVAILABLE": ComputeGpuMemoryFabricLifecycleStateUnavailable, +} + +var mappingComputeGpuMemoryFabricLifecycleStateEnumLowerCase = map[string]ComputeGpuMemoryFabricLifecycleStateEnum{ + "available": ComputeGpuMemoryFabricLifecycleStateAvailable, + "occupied": ComputeGpuMemoryFabricLifecycleStateOccupied, + "provisioning": ComputeGpuMemoryFabricLifecycleStateProvisioning, + "degraded": ComputeGpuMemoryFabricLifecycleStateDegraded, + "unavailable": ComputeGpuMemoryFabricLifecycleStateUnavailable, +} + +// GetComputeGpuMemoryFabricLifecycleStateEnumValues Enumerates the set of values for ComputeGpuMemoryFabricLifecycleStateEnum +func GetComputeGpuMemoryFabricLifecycleStateEnumValues() []ComputeGpuMemoryFabricLifecycleStateEnum { + values := make([]ComputeGpuMemoryFabricLifecycleStateEnum, 0) + for _, v := range mappingComputeGpuMemoryFabricLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeGpuMemoryFabricLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeGpuMemoryFabricLifecycleStateEnum +func GetComputeGpuMemoryFabricLifecycleStateEnumStringValues() []string { + return []string{ + "AVAILABLE", + "OCCUPIED", + "PROVISIONING", + "DEGRADED", + "UNAVAILABLE", + } +} + +// GetMappingComputeGpuMemoryFabricLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeGpuMemoryFabricLifecycleStateEnum(val string) (ComputeGpuMemoryFabricLifecycleStateEnum, bool) { + enum, ok := mappingComputeGpuMemoryFabricLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ComputeGpuMemoryFabricFabricHealthEnum Enum with underlying type: string +type ComputeGpuMemoryFabricFabricHealthEnum string + +// Set of constants representing the allowable values for ComputeGpuMemoryFabricFabricHealthEnum +const ( + ComputeGpuMemoryFabricFabricHealthHealthy ComputeGpuMemoryFabricFabricHealthEnum = "HEALTHY" + ComputeGpuMemoryFabricFabricHealthUnhealthy ComputeGpuMemoryFabricFabricHealthEnum = "UNHEALTHY" +) + +var mappingComputeGpuMemoryFabricFabricHealthEnum = map[string]ComputeGpuMemoryFabricFabricHealthEnum{ + "HEALTHY": ComputeGpuMemoryFabricFabricHealthHealthy, + "UNHEALTHY": ComputeGpuMemoryFabricFabricHealthUnhealthy, +} + +var mappingComputeGpuMemoryFabricFabricHealthEnumLowerCase = map[string]ComputeGpuMemoryFabricFabricHealthEnum{ + "healthy": ComputeGpuMemoryFabricFabricHealthHealthy, + "unhealthy": ComputeGpuMemoryFabricFabricHealthUnhealthy, +} + +// GetComputeGpuMemoryFabricFabricHealthEnumValues Enumerates the set of values for ComputeGpuMemoryFabricFabricHealthEnum +func GetComputeGpuMemoryFabricFabricHealthEnumValues() []ComputeGpuMemoryFabricFabricHealthEnum { + values := make([]ComputeGpuMemoryFabricFabricHealthEnum, 0) + for _, v := range mappingComputeGpuMemoryFabricFabricHealthEnum { + values = append(values, v) + } + return values +} + +// GetComputeGpuMemoryFabricFabricHealthEnumStringValues Enumerates the set of values in String for ComputeGpuMemoryFabricFabricHealthEnum +func GetComputeGpuMemoryFabricFabricHealthEnumStringValues() []string { + return []string{ + "HEALTHY", + "UNHEALTHY", + } +} + +// GetMappingComputeGpuMemoryFabricFabricHealthEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeGpuMemoryFabricFabricHealthEnum(val string) (ComputeGpuMemoryFabricFabricHealthEnum, bool) { + enum, ok := mappingComputeGpuMemoryFabricFabricHealthEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ComputeGpuMemoryFabricFirmwareUpdateStateEnum Enum with underlying type: string +type ComputeGpuMemoryFabricFirmwareUpdateStateEnum string + +// Set of constants representing the allowable values for ComputeGpuMemoryFabricFirmwareUpdateStateEnum +const ( + ComputeGpuMemoryFabricFirmwareUpdateStateWillUpdate ComputeGpuMemoryFabricFirmwareUpdateStateEnum = "WILL_UPDATE" + ComputeGpuMemoryFabricFirmwareUpdateStateNoUpdate ComputeGpuMemoryFabricFirmwareUpdateStateEnum = "NO_UPDATE" + ComputeGpuMemoryFabricFirmwareUpdateStateSkipRecycleEnabled ComputeGpuMemoryFabricFirmwareUpdateStateEnum = "SKIP_RECYCLE_ENABLED" +) + +var mappingComputeGpuMemoryFabricFirmwareUpdateStateEnum = map[string]ComputeGpuMemoryFabricFirmwareUpdateStateEnum{ + "WILL_UPDATE": ComputeGpuMemoryFabricFirmwareUpdateStateWillUpdate, + "NO_UPDATE": ComputeGpuMemoryFabricFirmwareUpdateStateNoUpdate, + "SKIP_RECYCLE_ENABLED": ComputeGpuMemoryFabricFirmwareUpdateStateSkipRecycleEnabled, +} + +var mappingComputeGpuMemoryFabricFirmwareUpdateStateEnumLowerCase = map[string]ComputeGpuMemoryFabricFirmwareUpdateStateEnum{ + "will_update": ComputeGpuMemoryFabricFirmwareUpdateStateWillUpdate, + "no_update": ComputeGpuMemoryFabricFirmwareUpdateStateNoUpdate, + "skip_recycle_enabled": ComputeGpuMemoryFabricFirmwareUpdateStateSkipRecycleEnabled, +} + +// GetComputeGpuMemoryFabricFirmwareUpdateStateEnumValues Enumerates the set of values for ComputeGpuMemoryFabricFirmwareUpdateStateEnum +func GetComputeGpuMemoryFabricFirmwareUpdateStateEnumValues() []ComputeGpuMemoryFabricFirmwareUpdateStateEnum { + values := make([]ComputeGpuMemoryFabricFirmwareUpdateStateEnum, 0) + for _, v := range mappingComputeGpuMemoryFabricFirmwareUpdateStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeGpuMemoryFabricFirmwareUpdateStateEnumStringValues Enumerates the set of values in String for ComputeGpuMemoryFabricFirmwareUpdateStateEnum +func GetComputeGpuMemoryFabricFirmwareUpdateStateEnumStringValues() []string { + return []string{ + "WILL_UPDATE", + "NO_UPDATE", + "SKIP_RECYCLE_ENABLED", + } +} + +// GetMappingComputeGpuMemoryFabricFirmwareUpdateStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeGpuMemoryFabricFirmwareUpdateStateEnum(val string) (ComputeGpuMemoryFabricFirmwareUpdateStateEnum, bool) { + enum, ok := mappingComputeGpuMemoryFabricFirmwareUpdateStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_collection.go new file mode 100644 index 0000000000..1b961cb009 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryFabricCollection A list of compute GPU memory fabrics. +type ComputeGpuMemoryFabricCollection struct { + + // The list of compute GPU memory fabrics. + Items []ComputeGpuMemoryFabricSummary `mandatory:"true" json:"items"` +} + +func (m ComputeGpuMemoryFabricCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryFabricCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_summary.go new file mode 100644 index 0000000000..15444a4137 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_gpu_memory_fabric_summary.go @@ -0,0 +1,168 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeGpuMemoryFabricSummary Summary information for a compute GPU memory fabric. +type ComputeGpuMemoryFabricSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique GPU memory fabric + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the + // root compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique HPC Island + ComputeHpcIslandId *string `mandatory:"true" json:"computeHpcIslandId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Network Block + ComputeNetworkBlockId *string `mandatory:"true" json:"computeNetworkBlockId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Local Block + ComputeLocalBlockId *string `mandatory:"true" json:"computeLocalBlockId"` + + // The lifecycle state of the GPU memory fabric + LifecycleState ComputeGpuMemoryFabricLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The health state of the GPU memory fabric + FabricHealth ComputeGpuMemoryFabricFabricHealthEnum `mandatory:"true" json:"fabricHealth"` + + // The total number of bare metal hosts located in this compute GPU memory fabric. + TotalHostCount *int64 `mandatory:"true" json:"totalHostCount"` + + // The date and time that the compute GPU memory fabric record was created, in the format defined by RFC3339 + // (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The total number of available bare metal hosts located in this compute GPU memory fabric. + AvailableHostCount *int64 `mandatory:"false" json:"availableHostCount"` + + // The total number of healthy bare metal hosts located in this compute GPU memory fabric. + HealthyHostCount *int64 `mandatory:"false" json:"healthyHostCount"` + + // The host platform identifier used for bundle queries + HostPlatformName *string `mandatory:"false" json:"hostPlatformName"` + + // The switch platform identifier used for bundle queries + SwitchPlatformName *string `mandatory:"false" json:"switchPlatformName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for current firmware bundle + CurrentFirmwareBundleId *string `mandatory:"false" json:"currentFirmwareBundleId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for targeted firmware bundle + TargetFirmwareBundleId *string `mandatory:"false" json:"targetFirmwareBundleId"` + + // The state of Memory Fabric Firmware update + FirmwareUpdateState ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum `mandatory:"false" json:"firmwareUpdateState,omitempty"` + + MemoryFabricPreferences *MemoryFabricPreferencesDescriptor `mandatory:"false" json:"memoryFabricPreferences"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` +} + +func (m ComputeGpuMemoryFabricSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeGpuMemoryFabricSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeGpuMemoryFabricLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeGpuMemoryFabricLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingComputeGpuMemoryFabricFabricHealthEnum(string(m.FabricHealth)); !ok && m.FabricHealth != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FabricHealth: %s. Supported values are: %s.", m.FabricHealth, strings.Join(GetComputeGpuMemoryFabricFabricHealthEnumStringValues(), ","))) + } + + if _, ok := GetMappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum(string(m.FirmwareUpdateState)); !ok && m.FirmwareUpdateState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FirmwareUpdateState: %s. Supported values are: %s.", m.FirmwareUpdateState, strings.Join(GetComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum Enum with underlying type: string +type ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum string + +// Set of constants representing the allowable values for ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum +const ( + ComputeGpuMemoryFabricSummaryFirmwareUpdateStateWillUpdate ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum = "WILL_UPDATE" + ComputeGpuMemoryFabricSummaryFirmwareUpdateStateNoUpdate ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum = "NO_UPDATE" + ComputeGpuMemoryFabricSummaryFirmwareUpdateStateSkipRecycleEnabled ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum = "SKIP_RECYCLE_ENABLED" +) + +var mappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum = map[string]ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum{ + "WILL_UPDATE": ComputeGpuMemoryFabricSummaryFirmwareUpdateStateWillUpdate, + "NO_UPDATE": ComputeGpuMemoryFabricSummaryFirmwareUpdateStateNoUpdate, + "SKIP_RECYCLE_ENABLED": ComputeGpuMemoryFabricSummaryFirmwareUpdateStateSkipRecycleEnabled, +} + +var mappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumLowerCase = map[string]ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum{ + "will_update": ComputeGpuMemoryFabricSummaryFirmwareUpdateStateWillUpdate, + "no_update": ComputeGpuMemoryFabricSummaryFirmwareUpdateStateNoUpdate, + "skip_recycle_enabled": ComputeGpuMemoryFabricSummaryFirmwareUpdateStateSkipRecycleEnabled, +} + +// GetComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumValues Enumerates the set of values for ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum +func GetComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumValues() []ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum { + values := make([]ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum, 0) + for _, v := range mappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumStringValues Enumerates the set of values in String for ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum +func GetComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumStringValues() []string { + return []string{ + "WILL_UPDATE", + "NO_UPDATE", + "SKIP_RECYCLE_ENABLED", + } +} + +// GetMappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum(val string) (ComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnum, bool) { + enum, ok := mappingComputeGpuMemoryFabricSummaryFirmwareUpdateStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host.go new file mode 100644 index 0000000000..e38a3475bd --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host.go @@ -0,0 +1,249 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHost The customer facing object includes host details. +type ComputeHost struct { + + // The availability domain of the compute host. + // Example: `Uocm:US-CHICAGO-1-AD-2` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root + // compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique host + Id *string `mandatory:"true" json:"id"` + + // A fault domain is a grouping of hardware and infrastructure within an availability domain. + // Each availability domain contains three fault domains. Fault domains let you distribute your + // instances so that they are not on the same physical hardware within a single availability domain. + // A hardware failure or Compute hardware maintenance that affects one fault domain does not affect + // instances in other fault domains. + // This field is the Fault domain of the host + FaultDomain *string `mandatory:"true" json:"faultDomain"` + + // The shape of host + Shape *string `mandatory:"true" json:"shape"` + + // The heathy state of the host + Health ComputeHostHealthEnum `mandatory:"true" json:"health"` + + // The lifecycle state of the host + LifecycleState ComputeHostLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The date and time that the compute host record was created, in the format defined by RFC3339 (https://tools + // .ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time that the compute host record was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique HPC Island + HpcIslandId *string `mandatory:"false" json:"hpcIslandId"` + + // The ID that remains consistent when a host moves between capacity pools within the same tenancy. + HostCorrelationId *string `mandatory:"false" json:"hostCorrelationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique host group associated with the Compute Bare Metal Host. + ComputeHostGroupId *string `mandatory:"false" json:"computeHostGroupId"` + + // Configuration state of the Compute Bare Metal Host. + ConfigurationState ConfigurationStateEnum `mandatory:"false" json:"configurationState,omitempty"` + + // The date and time that the compute bare metal host configuration check was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeConfigurationCheck *common.SDKTime `mandatory:"false" json:"timeConfigurationCheck"` + + ConfigurationData *ComputeHostConfigurationData `mandatory:"false" json:"configurationData"` + + RecycleDetails *RecycleDetails `mandatory:"false" json:"recycleDetails"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique firmware bundle associated with the Host. + FirmwareBundleId *string `mandatory:"false" json:"firmwareBundleId"` + + // The platform of the host + Platform *string `mandatory:"false" json:"platform"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Network Block + NetworkBlockId *string `mandatory:"false" json:"networkBlockId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Local Block + LocalBlockId *string `mandatory:"false" json:"localBlockId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique GPU Memory Fabric + GpuMemoryFabricId *string `mandatory:"false" json:"gpuMemoryFabricId"` + + // The public OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Virtual Machine or Bare Metal instance + InstanceId *string `mandatory:"false" json:"instanceId"` + + // Additional data that can be exposed to the customer. Will include raw fault codes for strategic customers + AdditionalData map[string]interface{} `mandatory:"false" json:"additionalData"` + + // A free-form description detailing why the host is in its current state. + LifecycleDetails map[string]interface{} `mandatory:"false" json:"lifecycleDetails"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Capacity Reserver that is currently on host + CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` + + // A list that contains impacted components related to an unhealthy host. An impacted component will be a + // free-form structure of key values pairs that will provide more or less details based on data tiering + ImpactedComponentDetails map[string]interface{} `mandatory:"false" json:"impactedComponentDetails"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m ComputeHost) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHost) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeHostHealthEnum(string(m.Health)); !ok && m.Health != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Health: %s. Supported values are: %s.", m.Health, strings.Join(GetComputeHostHealthEnumStringValues(), ","))) + } + if _, ok := GetMappingComputeHostLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeHostLifecycleStateEnumStringValues(), ","))) + } + + if _, ok := GetMappingConfigurationStateEnum(string(m.ConfigurationState)); !ok && m.ConfigurationState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigurationState: %s. Supported values are: %s.", m.ConfigurationState, strings.Join(GetConfigurationStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeHostHealthEnum Enum with underlying type: string +type ComputeHostHealthEnum string + +// Set of constants representing the allowable values for ComputeHostHealthEnum +const ( + ComputeHostHealthHealthy ComputeHostHealthEnum = "HEALTHY" + ComputeHostHealthUnhealthy ComputeHostHealthEnum = "UNHEALTHY" +) + +var mappingComputeHostHealthEnum = map[string]ComputeHostHealthEnum{ + "HEALTHY": ComputeHostHealthHealthy, + "UNHEALTHY": ComputeHostHealthUnhealthy, +} + +var mappingComputeHostHealthEnumLowerCase = map[string]ComputeHostHealthEnum{ + "healthy": ComputeHostHealthHealthy, + "unhealthy": ComputeHostHealthUnhealthy, +} + +// GetComputeHostHealthEnumValues Enumerates the set of values for ComputeHostHealthEnum +func GetComputeHostHealthEnumValues() []ComputeHostHealthEnum { + values := make([]ComputeHostHealthEnum, 0) + for _, v := range mappingComputeHostHealthEnum { + values = append(values, v) + } + return values +} + +// GetComputeHostHealthEnumStringValues Enumerates the set of values in String for ComputeHostHealthEnum +func GetComputeHostHealthEnumStringValues() []string { + return []string{ + "HEALTHY", + "UNHEALTHY", + } +} + +// GetMappingComputeHostHealthEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeHostHealthEnum(val string) (ComputeHostHealthEnum, bool) { + enum, ok := mappingComputeHostHealthEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ComputeHostLifecycleStateEnum Enum with underlying type: string +type ComputeHostLifecycleStateEnum string + +// Set of constants representing the allowable values for ComputeHostLifecycleStateEnum +const ( + ComputeHostLifecycleStateAvailable ComputeHostLifecycleStateEnum = "AVAILABLE" + ComputeHostLifecycleStateOccupied ComputeHostLifecycleStateEnum = "OCCUPIED" + ComputeHostLifecycleStateProvisioning ComputeHostLifecycleStateEnum = "PROVISIONING" + ComputeHostLifecycleStateRepair ComputeHostLifecycleStateEnum = "REPAIR" + ComputeHostLifecycleStateUnavailable ComputeHostLifecycleStateEnum = "UNAVAILABLE" +) + +var mappingComputeHostLifecycleStateEnum = map[string]ComputeHostLifecycleStateEnum{ + "AVAILABLE": ComputeHostLifecycleStateAvailable, + "OCCUPIED": ComputeHostLifecycleStateOccupied, + "PROVISIONING": ComputeHostLifecycleStateProvisioning, + "REPAIR": ComputeHostLifecycleStateRepair, + "UNAVAILABLE": ComputeHostLifecycleStateUnavailable, +} + +var mappingComputeHostLifecycleStateEnumLowerCase = map[string]ComputeHostLifecycleStateEnum{ + "available": ComputeHostLifecycleStateAvailable, + "occupied": ComputeHostLifecycleStateOccupied, + "provisioning": ComputeHostLifecycleStateProvisioning, + "repair": ComputeHostLifecycleStateRepair, + "unavailable": ComputeHostLifecycleStateUnavailable, +} + +// GetComputeHostLifecycleStateEnumValues Enumerates the set of values for ComputeHostLifecycleStateEnum +func GetComputeHostLifecycleStateEnumValues() []ComputeHostLifecycleStateEnum { + values := make([]ComputeHostLifecycleStateEnum, 0) + for _, v := range mappingComputeHostLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeHostLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeHostLifecycleStateEnum +func GetComputeHostLifecycleStateEnumStringValues() []string { + return []string{ + "AVAILABLE", + "OCCUPIED", + "PROVISIONING", + "REPAIR", + "UNAVAILABLE", + } +} + +// GetMappingComputeHostLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeHostLifecycleStateEnum(val string) (ComputeHostLifecycleStateEnum, bool) { + enum, ok := mappingComputeHostLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_collection.go new file mode 100644 index 0000000000..42d1e70c41 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostCollection A list of compute hosts. +type ComputeHostCollection struct { + + // The list of compute hosts. + Items []ComputeHostSummary `mandatory:"true" json:"items"` +} + +func (m ComputeHostCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_check_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_check_details.go new file mode 100644 index 0000000000..6a6d1d1553 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_check_details.go @@ -0,0 +1,153 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostConfigurationCheckDetails Compute Host Group Configuration Details Check +type ComputeHostConfigurationCheckDetails struct { + + // The type of configuration + Type ComputeHostConfigurationCheckDetailsTypeEnum `mandatory:"false" json:"type,omitempty"` + + // The current state of the host configuration. The Host is either | + // CONFORMANT - current state matches the desired configuration + // NON_CONFORMANT - current state does not match the desired configuration + // PRE_APPLYING, APPLYING, CHECKING- transitional states + // UNKNOWN - current state is unknown + ConfigurationState ConfigurationStateEnum `mandatory:"false" json:"configurationState,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique firmware bundle associated with the Host Configuration. + FirmwareBundleId *string `mandatory:"false" json:"firmwareBundleId"` + + // Preferred recycle level for hosts associated with the reservation config. + // * `SKIP_RECYCLE` - Skips host wipe. + // * `FULL_RECYCLE` - Does not skip host wipe. This is the default behavior. + RecycleLevel ComputeHostConfigurationCheckDetailsRecycleLevelEnum `mandatory:"false" json:"recycleLevel,omitempty"` +} + +func (m ComputeHostConfigurationCheckDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostConfigurationCheckDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingComputeHostConfigurationCheckDetailsTypeEnum(string(m.Type)); !ok && m.Type != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetComputeHostConfigurationCheckDetailsTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingConfigurationStateEnum(string(m.ConfigurationState)); !ok && m.ConfigurationState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigurationState: %s. Supported values are: %s.", m.ConfigurationState, strings.Join(GetConfigurationStateEnumStringValues(), ","))) + } + if _, ok := GetMappingComputeHostConfigurationCheckDetailsRecycleLevelEnum(string(m.RecycleLevel)); !ok && m.RecycleLevel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecycleLevel: %s. Supported values are: %s.", m.RecycleLevel, strings.Join(GetComputeHostConfigurationCheckDetailsRecycleLevelEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeHostConfigurationCheckDetailsTypeEnum Enum with underlying type: string +type ComputeHostConfigurationCheckDetailsTypeEnum string + +// Set of constants representing the allowable values for ComputeHostConfigurationCheckDetailsTypeEnum +const ( + ComputeHostConfigurationCheckDetailsTypeFirmware ComputeHostConfigurationCheckDetailsTypeEnum = "FIRMWARE" + ComputeHostConfigurationCheckDetailsTypeRecycle ComputeHostConfigurationCheckDetailsTypeEnum = "RECYCLE" +) + +var mappingComputeHostConfigurationCheckDetailsTypeEnum = map[string]ComputeHostConfigurationCheckDetailsTypeEnum{ + "FIRMWARE": ComputeHostConfigurationCheckDetailsTypeFirmware, + "RECYCLE": ComputeHostConfigurationCheckDetailsTypeRecycle, +} + +var mappingComputeHostConfigurationCheckDetailsTypeEnumLowerCase = map[string]ComputeHostConfigurationCheckDetailsTypeEnum{ + "firmware": ComputeHostConfigurationCheckDetailsTypeFirmware, + "recycle": ComputeHostConfigurationCheckDetailsTypeRecycle, +} + +// GetComputeHostConfigurationCheckDetailsTypeEnumValues Enumerates the set of values for ComputeHostConfigurationCheckDetailsTypeEnum +func GetComputeHostConfigurationCheckDetailsTypeEnumValues() []ComputeHostConfigurationCheckDetailsTypeEnum { + values := make([]ComputeHostConfigurationCheckDetailsTypeEnum, 0) + for _, v := range mappingComputeHostConfigurationCheckDetailsTypeEnum { + values = append(values, v) + } + return values +} + +// GetComputeHostConfigurationCheckDetailsTypeEnumStringValues Enumerates the set of values in String for ComputeHostConfigurationCheckDetailsTypeEnum +func GetComputeHostConfigurationCheckDetailsTypeEnumStringValues() []string { + return []string{ + "FIRMWARE", + "RECYCLE", + } +} + +// GetMappingComputeHostConfigurationCheckDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeHostConfigurationCheckDetailsTypeEnum(val string) (ComputeHostConfigurationCheckDetailsTypeEnum, bool) { + enum, ok := mappingComputeHostConfigurationCheckDetailsTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ComputeHostConfigurationCheckDetailsRecycleLevelEnum Enum with underlying type: string +type ComputeHostConfigurationCheckDetailsRecycleLevelEnum string + +// Set of constants representing the allowable values for ComputeHostConfigurationCheckDetailsRecycleLevelEnum +const ( + ComputeHostConfigurationCheckDetailsRecycleLevelSkipRecycle ComputeHostConfigurationCheckDetailsRecycleLevelEnum = "SKIP_RECYCLE" + ComputeHostConfigurationCheckDetailsRecycleLevelFullRecycle ComputeHostConfigurationCheckDetailsRecycleLevelEnum = "FULL_RECYCLE" +) + +var mappingComputeHostConfigurationCheckDetailsRecycleLevelEnum = map[string]ComputeHostConfigurationCheckDetailsRecycleLevelEnum{ + "SKIP_RECYCLE": ComputeHostConfigurationCheckDetailsRecycleLevelSkipRecycle, + "FULL_RECYCLE": ComputeHostConfigurationCheckDetailsRecycleLevelFullRecycle, +} + +var mappingComputeHostConfigurationCheckDetailsRecycleLevelEnumLowerCase = map[string]ComputeHostConfigurationCheckDetailsRecycleLevelEnum{ + "skip_recycle": ComputeHostConfigurationCheckDetailsRecycleLevelSkipRecycle, + "full_recycle": ComputeHostConfigurationCheckDetailsRecycleLevelFullRecycle, +} + +// GetComputeHostConfigurationCheckDetailsRecycleLevelEnumValues Enumerates the set of values for ComputeHostConfigurationCheckDetailsRecycleLevelEnum +func GetComputeHostConfigurationCheckDetailsRecycleLevelEnumValues() []ComputeHostConfigurationCheckDetailsRecycleLevelEnum { + values := make([]ComputeHostConfigurationCheckDetailsRecycleLevelEnum, 0) + for _, v := range mappingComputeHostConfigurationCheckDetailsRecycleLevelEnum { + values = append(values, v) + } + return values +} + +// GetComputeHostConfigurationCheckDetailsRecycleLevelEnumStringValues Enumerates the set of values in String for ComputeHostConfigurationCheckDetailsRecycleLevelEnum +func GetComputeHostConfigurationCheckDetailsRecycleLevelEnumStringValues() []string { + return []string{ + "SKIP_RECYCLE", + "FULL_RECYCLE", + } +} + +// GetMappingComputeHostConfigurationCheckDetailsRecycleLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeHostConfigurationCheckDetailsRecycleLevelEnum(val string) (ComputeHostConfigurationCheckDetailsRecycleLevelEnum, bool) { + enum, ok := mappingComputeHostConfigurationCheckDetailsRecycleLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_data.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_data.go new file mode 100644 index 0000000000..2703d15616 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_configuration_data.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostConfigurationData Compute Host Configuration Data +type ComputeHostConfigurationData struct { + + // The time that was last applied. + TimeLastApply *common.SDKTime `mandatory:"false" json:"timeLastApply"` + + CheckDetails *ComputeHostConfigurationCheckDetails `mandatory:"false" json:"checkDetails"` +} + +func (m ComputeHostConfigurationData) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostConfigurationData) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group.go new file mode 100644 index 0000000000..58c9a625e1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group.go @@ -0,0 +1,133 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostGroup Detail information for a compute host group. +type ComputeHostGroup struct { + + // The availability domain of a host group. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The OCID of the compartment that contains host group. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The date and time the host group was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The lifecycle state of the host group + LifecycleState ComputeHostGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique host group + Id *string `mandatory:"false" json:"id"` + + // A list of HostGroupConfiguration objects + Configurations []HostGroupConfiguration `mandatory:"false" json:"configurations"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The date and time the host group was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` + + // A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group. + IsTargetedPlacementRequired *bool `mandatory:"false" json:"isTargetedPlacementRequired"` +} + +func (m ComputeHostGroup) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostGroup) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeHostGroupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeHostGroupLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ComputeHostGroupLifecycleStateEnum Enum with underlying type: string +type ComputeHostGroupLifecycleStateEnum string + +// Set of constants representing the allowable values for ComputeHostGroupLifecycleStateEnum +const ( + ComputeHostGroupLifecycleStateActive ComputeHostGroupLifecycleStateEnum = "ACTIVE" + ComputeHostGroupLifecycleStateDeleted ComputeHostGroupLifecycleStateEnum = "DELETED" +) + +var mappingComputeHostGroupLifecycleStateEnum = map[string]ComputeHostGroupLifecycleStateEnum{ + "ACTIVE": ComputeHostGroupLifecycleStateActive, + "DELETED": ComputeHostGroupLifecycleStateDeleted, +} + +var mappingComputeHostGroupLifecycleStateEnumLowerCase = map[string]ComputeHostGroupLifecycleStateEnum{ + "active": ComputeHostGroupLifecycleStateActive, + "deleted": ComputeHostGroupLifecycleStateDeleted, +} + +// GetComputeHostGroupLifecycleStateEnumValues Enumerates the set of values for ComputeHostGroupLifecycleStateEnum +func GetComputeHostGroupLifecycleStateEnumValues() []ComputeHostGroupLifecycleStateEnum { + values := make([]ComputeHostGroupLifecycleStateEnum, 0) + for _, v := range mappingComputeHostGroupLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeHostGroupLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeHostGroupLifecycleStateEnum +func GetComputeHostGroupLifecycleStateEnumStringValues() []string { + return []string{ + "ACTIVE", + "DELETED", + } +} + +// GetMappingComputeHostGroupLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeHostGroupLifecycleStateEnum(val string) (ComputeHostGroupLifecycleStateEnum, bool) { + enum, ok := mappingComputeHostGroupLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_collection.go new file mode 100644 index 0000000000..78cb1962f9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostGroupCollection A list of compute host groups. +type ComputeHostGroupCollection struct { + + // The list of compute host groups. + Items []ComputeHostGroupSummary `mandatory:"true" json:"items"` +} + +func (m ComputeHostGroupCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostGroupCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_summary.go new file mode 100644 index 0000000000..bd1cbc34ac --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_group_summary.go @@ -0,0 +1,87 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostGroupSummary Summary information for a compute host group. +type ComputeHostGroupSummary struct { + + // The availability domain of a host group. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique host group + Id *string `mandatory:"true" json:"id"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The OCID of the compartment that contains host group. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The date and time the host group was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The current state of the compute host group + LifecycleState ComputeHostGroupLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group. + IsTargetedPlacementRequired *bool `mandatory:"true" json:"isTargetedPlacementRequired"` + + // The date and time the host group was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // System tags for this resource. Each key is predefined and scoped to a namespace. + // Example: `{"foo-namespace": {"bar-key": "value"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` +} + +func (m ComputeHostGroupSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostGroupSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeHostGroupLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeHostGroupLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_summary.go new file mode 100644 index 0000000000..cd444d905d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_host_summary.go @@ -0,0 +1,133 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ComputeHostSummary Summary information for a compute host. +type ComputeHostSummary struct { + + // The availability domain of the compute host. + // Example: `Uocm:US-CHICAGO-1-AD-2` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root + // compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique host + Id *string `mandatory:"true" json:"id"` + + // A fault domain is a grouping of hardware and infrastructure within an availability domain. + // Each availability domain contains three fault domains. Fault domains let you distribute your + // instances so that they are not on the same physical hardware within a single availability domain. + // A hardware failure or Compute hardware maintenance that affects one fault domain does not affect + // instances in other fault domains. + // This field is the Fault domain of the host + FaultDomain *string `mandatory:"true" json:"faultDomain"` + + // The shape of host + Shape *string `mandatory:"true" json:"shape"` + + // The heathy state of the host + Health ComputeHostHealthEnum `mandatory:"true" json:"health"` + + // The lifecycle state of the host + LifecycleState ComputeHostLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // While listing a host the user will know if they have an impacted component or not. + // The user will have to issue a get host to see details. + HasImpactedComponents *bool `mandatory:"true" json:"hasImpactedComponents"` + + // The date and time that the compute host record was created, in the format defined by RFC3339 (https://tools + // .ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time that the compute host record was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique HPC Island + HpcIslandId *string `mandatory:"false" json:"hpcIslandId"` + + // The ID that remains consistent when a host moves between capacity pools within the same tenancy. + HostCorrelationId *string `mandatory:"false" json:"hostCorrelationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Customer-unique host group + ComputeHostGroupId *string `mandatory:"false" json:"computeHostGroupId"` + + RecycleDetails *RecycleDetails `mandatory:"false" json:"recycleDetails"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Network Block + NetworkBlockId *string `mandatory:"false" json:"networkBlockId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique Local Block + LocalBlockId *string `mandatory:"false" json:"localBlockId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for Customer-unique GPU Memory Fabric + GpuMemoryFabricId *string `mandatory:"false" json:"gpuMemoryFabricId"` + + // The public OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Virtual Machine or Bare Metal instance + InstanceId *string `mandatory:"false" json:"instanceId"` + + // The platform of the host + Platform *string `mandatory:"false" json:"platform"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Capacity Reserver that is currently on host + CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m ComputeHostSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ComputeHostSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeHostHealthEnum(string(m.Health)); !ok && m.Health != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Health: %s. Supported values are: %s.", m.Health, strings.Join(GetComputeHostHealthEnumStringValues(), ","))) + } + if _, ok := GetMappingComputeHostLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeHostLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island.go index 87406d447a..aecf25cb0d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // ComputeHpcIsland A compute HPC island. type ComputeHpcIsland struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. Id *string `mandatory:"true" json:"id"` // The current state of the compute HPC island. @@ -59,7 +59,7 @@ func (m ComputeHpcIsland) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_collection.go index 1f95f3d511..74a7957a4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ComputeHpcIslandCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_summary.go index 1c4af15ed7..5c4c78e9e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_hpc_island_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // ComputeHpcIslandSummary Summary information for a compute HPC island. type ComputeHpcIslandSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. Id *string `mandatory:"true" json:"id"` // The current state of the compute HPC island. @@ -59,7 +59,7 @@ func (m ComputeHpcIslandSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go index c48dbd3fb8..042db37fed 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,13 +53,16 @@ type ComputeImageCapabilitySchema struct { // The OCID of the compartment that contains the resource. CompartmentId *string `mandatory:"false" json:"compartmentId"` + // The ComputeImageCapabilitySchema current lifecycle state. + LifecycleState ComputeImageCapabilitySchemaLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` + // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -74,8 +77,11 @@ func (m ComputeImageCapabilitySchema) String() string { func (m ComputeImageCapabilitySchema) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingComputeImageCapabilitySchemaLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetComputeImageCapabilitySchemaLifecycleStateEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -83,16 +89,17 @@ func (m ComputeImageCapabilitySchema) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *ComputeImageCapabilitySchema) UnmarshalJSON(data []byte) (e error) { model := struct { - CompartmentId *string `json:"compartmentId"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - FreeformTags map[string]string `json:"freeformTags"` - Id *string `json:"id"` - ComputeGlobalImageCapabilitySchemaId *string `json:"computeGlobalImageCapabilitySchemaId"` - ComputeGlobalImageCapabilitySchemaVersionName *string `json:"computeGlobalImageCapabilitySchemaVersionName"` - ImageId *string `json:"imageId"` - DisplayName *string `json:"displayName"` - SchemaData map[string]imagecapabilityschemadescriptor `json:"schemaData"` - TimeCreated *common.SDKTime `json:"timeCreated"` + CompartmentId *string `json:"compartmentId"` + LifecycleState ComputeImageCapabilitySchemaLifecycleStateEnum `json:"lifecycleState"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + FreeformTags map[string]string `json:"freeformTags"` + Id *string `json:"id"` + ComputeGlobalImageCapabilitySchemaId *string `json:"computeGlobalImageCapabilitySchemaId"` + ComputeGlobalImageCapabilitySchemaVersionName *string `json:"computeGlobalImageCapabilitySchemaVersionName"` + ImageId *string `json:"imageId"` + DisplayName *string `json:"displayName"` + SchemaData map[string]imagecapabilityschemadescriptor `json:"schemaData"` + TimeCreated *common.SDKTime `json:"timeCreated"` }{} e = json.Unmarshal(data, &model) @@ -102,6 +109,8 @@ func (m *ComputeImageCapabilitySchema) UnmarshalJSON(data []byte) (e error) { var nn interface{} m.CompartmentId = model.CompartmentId + m.LifecycleState = model.LifecycleState + m.DefinedTags = model.DefinedTags m.FreeformTags = model.FreeformTags @@ -133,3 +142,49 @@ func (m *ComputeImageCapabilitySchema) UnmarshalJSON(data []byte) (e error) { return } + +// ComputeImageCapabilitySchemaLifecycleStateEnum Enum with underlying type: string +type ComputeImageCapabilitySchemaLifecycleStateEnum string + +// Set of constants representing the allowable values for ComputeImageCapabilitySchemaLifecycleStateEnum +const ( + ComputeImageCapabilitySchemaLifecycleStateCreating ComputeImageCapabilitySchemaLifecycleStateEnum = "CREATING" + ComputeImageCapabilitySchemaLifecycleStateActive ComputeImageCapabilitySchemaLifecycleStateEnum = "ACTIVE" + ComputeImageCapabilitySchemaLifecycleStateDeleted ComputeImageCapabilitySchemaLifecycleStateEnum = "DELETED" +) + +var mappingComputeImageCapabilitySchemaLifecycleStateEnum = map[string]ComputeImageCapabilitySchemaLifecycleStateEnum{ + "CREATING": ComputeImageCapabilitySchemaLifecycleStateCreating, + "ACTIVE": ComputeImageCapabilitySchemaLifecycleStateActive, + "DELETED": ComputeImageCapabilitySchemaLifecycleStateDeleted, +} + +var mappingComputeImageCapabilitySchemaLifecycleStateEnumLowerCase = map[string]ComputeImageCapabilitySchemaLifecycleStateEnum{ + "creating": ComputeImageCapabilitySchemaLifecycleStateCreating, + "active": ComputeImageCapabilitySchemaLifecycleStateActive, + "deleted": ComputeImageCapabilitySchemaLifecycleStateDeleted, +} + +// GetComputeImageCapabilitySchemaLifecycleStateEnumValues Enumerates the set of values for ComputeImageCapabilitySchemaLifecycleStateEnum +func GetComputeImageCapabilitySchemaLifecycleStateEnumValues() []ComputeImageCapabilitySchemaLifecycleStateEnum { + values := make([]ComputeImageCapabilitySchemaLifecycleStateEnum, 0) + for _, v := range mappingComputeImageCapabilitySchemaLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetComputeImageCapabilitySchemaLifecycleStateEnumStringValues Enumerates the set of values in String for ComputeImageCapabilitySchemaLifecycleStateEnum +func GetComputeImageCapabilitySchemaLifecycleStateEnumStringValues() []string { + return []string{ + "CREATING", + "ACTIVE", + "DELETED", + } +} + +// GetMappingComputeImageCapabilitySchemaLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingComputeImageCapabilitySchemaLifecycleStateEnum(val string) (ComputeImageCapabilitySchemaLifecycleStateEnum, bool) { + enum, ok := mappingComputeImageCapabilitySchemaLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go index e59776f166..94e3409335 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_image_capability_schema_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // ComputeImageCapabilitySchemaSummary Summary information for a compute image capability schema type ComputeImageCapabilitySchemaSummary struct { - // The compute image capability schema OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The compute image capability schema OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // The name of the compute global image capability schema version @@ -49,12 +49,12 @@ type ComputeImageCapabilitySchemaSummary struct { SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"false" json:"schemaData"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -70,7 +70,7 @@ func (m ComputeImageCapabilitySchemaSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go index 235ab19632..1577b01ce1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m ComputeInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_options.go index e85d0e7e74..c2997992f1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_instance_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m ComputeInstanceOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block.go index a4e140f1fe..1500f9f75b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,13 +24,13 @@ import ( // ComputeNetworkBlock A compute network block. type ComputeNetworkBlock struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. ComputeHpcIslandId *string `mandatory:"true" json:"computeHpcIslandId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. Id *string `mandatory:"true" json:"id"` // The current state of the compute network block. @@ -62,7 +62,7 @@ func (m ComputeNetworkBlock) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_collection.go index 66759df613..8d681c5018 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ComputeNetworkBlockCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_summary.go index 1f0c666062..7ae506c144 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/compute_network_block_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,13 +24,13 @@ import ( // ComputeNetworkBlockSummary Summary information for a compute network block. type ComputeNetworkBlockSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" json:"computeCapacityTopologyId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. ComputeHpcIslandId *string `mandatory:"true" json:"computeHpcIslandId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. Id *string `mandatory:"true" json:"id"` // The current state of the compute network block. @@ -62,7 +62,7 @@ func (m ComputeNetworkBlockSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/configuration_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/configuration_state.go new file mode 100644 index 0000000000..a502feba62 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/configuration_state.go @@ -0,0 +1,78 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "strings" +) + +// ConfigurationStateEnum Enum with underlying type: string +type ConfigurationStateEnum string + +// Set of constants representing the allowable values for ConfigurationStateEnum +const ( + ConfigurationStateConformant ConfigurationStateEnum = "CONFORMANT" + ConfigurationStateNonConformant ConfigurationStateEnum = "NON_CONFORMANT" + ConfigurationStateChecking ConfigurationStateEnum = "CHECKING" + ConfigurationStatePreApplying ConfigurationStateEnum = "PRE_APPLYING" + ConfigurationStateApplying ConfigurationStateEnum = "APPLYING" + ConfigurationStateUnknown ConfigurationStateEnum = "UNKNOWN" +) + +var mappingConfigurationStateEnum = map[string]ConfigurationStateEnum{ + "CONFORMANT": ConfigurationStateConformant, + "NON_CONFORMANT": ConfigurationStateNonConformant, + "CHECKING": ConfigurationStateChecking, + "PRE_APPLYING": ConfigurationStatePreApplying, + "APPLYING": ConfigurationStateApplying, + "UNKNOWN": ConfigurationStateUnknown, +} + +var mappingConfigurationStateEnumLowerCase = map[string]ConfigurationStateEnum{ + "conformant": ConfigurationStateConformant, + "non_conformant": ConfigurationStateNonConformant, + "checking": ConfigurationStateChecking, + "pre_applying": ConfigurationStatePreApplying, + "applying": ConfigurationStateApplying, + "unknown": ConfigurationStateUnknown, +} + +// GetConfigurationStateEnumValues Enumerates the set of values for ConfigurationStateEnum +func GetConfigurationStateEnumValues() []ConfigurationStateEnum { + values := make([]ConfigurationStateEnum, 0) + for _, v := range mappingConfigurationStateEnum { + values = append(values, v) + } + return values +} + +// GetConfigurationStateEnumStringValues Enumerates the set of values in String for ConfigurationStateEnum +func GetConfigurationStateEnumStringValues() []string { + return []string{ + "CONFORMANT", + "NON_CONFORMANT", + "CHECKING", + "PRE_APPLYING", + "APPLYING", + "UNKNOWN", + } +} + +// GetMappingConfigurationStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingConfigurationStateEnum(val string) (ConfigurationStateEnum, bool) { + enum, ok := mappingConfigurationStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go index 31488551e3..659f21229a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ConnectLocalPeeringGatewaysDetails Information about the other local peering gateway (LPG). type ConnectLocalPeeringGatewaysDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LPG you want to peer with. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the LPG you want to peer with. PeerId *string `mandatory:"true" json:"peerId"` } @@ -39,7 +39,7 @@ func (m ConnectLocalPeeringGatewaysDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go index be2be7f813..50b8666635 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_local_peering_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGatewaysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGatewaysRequest. type ConnectLocalPeeringGatewaysRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Details regarding the local peering gateway to connect. @@ -65,7 +65,7 @@ func (request ConnectLocalPeeringGatewaysRequest) RetryPolicy() *common.RetryPol func (request ConnectLocalPeeringGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go index 8af284cb06..e6a1a24551 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ConnectRemotePeeringConnectionsDetails Information about the other remote peering connection (RPC). type ConnectRemotePeeringConnectionsDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC you want to peer with. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC you want to peer with. PeerId *string `mandatory:"true" json:"peerId"` // The name of the region that contains the RPC you want to peer with. @@ -43,7 +43,7 @@ func (m ConnectRemotePeeringConnectionsDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go index 469b910ff7..f5738be582 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/connect_remote_peering_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnectionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnectionsRequest. type ConnectRemotePeeringConnectionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Details to connect peering connection with peering connection from remote region @@ -65,7 +65,7 @@ func (request ConnectRemotePeeringConnectionsRequest) RetryPolicy() *common.Retr func (request ConnectRemotePeeringConnectionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/console_history.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/console_history.go index ae57ee8d14..8481f7e286 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/console_history.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/console_history.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -49,7 +49,7 @@ type ConsoleHistory struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -58,7 +58,7 @@ type ConsoleHistory struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -77,7 +77,7 @@ func (m ConsoleHistory) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go index c4784a4d1c..eaca1db62d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,8 +37,8 @@ type CopyBootVolumeBackupDetails struct { // will be encrypted with the Oracle-provided encryption key when it is copied to the destination region. // // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -53,7 +53,7 @@ func (m CopyBootVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go index 918c25545c..84010e9e36 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackupRequest. type CopyBootVolumeBackupRequest struct { // The OCID of the boot volume backup. @@ -72,7 +72,7 @@ func (request CopyBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request CopyBootVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -93,8 +93,8 @@ type CopyBootVolumeBackupResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go index b63be406f2..928baf1088 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,8 +38,8 @@ type CopyVolumeBackupDetails struct { // key when it is copied to the destination region. // // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -54,7 +54,7 @@ func (m CopyVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go index 7a44d4dfb9..2c0f174811 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackupRequest. type CopyVolumeBackupRequest struct { // The OCID of the volume backup. @@ -72,7 +72,7 @@ func (request CopyVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request CopyVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -93,8 +93,8 @@ type CopyVolumeBackupResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go index faa9c4963f..fa6388235a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,8 +38,8 @@ type CopyVolumeGroupBackupDetails struct { // key when it is copied to the destination region. // // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -54,7 +54,7 @@ func (m CopyVolumeGroupBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go index 6348cf2842..ea4a23134a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/copy_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeGroupBackup.go.html to see an example of how to use CopyVolumeGroupBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeGroupBackup.go.html to see an example of how to use CopyVolumeGroupBackupRequest. type CopyVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. @@ -72,7 +72,7 @@ func (request CopyVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy { func (request CopyVolumeGroupBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go index 9f09b95021..95d3470da1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -99,11 +99,11 @@ func (client *BlockstorageClient) ConfigurationProvider() *common.ConfigurationP // ChangeBootVolumeBackupCompartment Moves a boot volume backup into a different compartment within the same tenancy. // For information about moving resources between compartments, -// see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartment API. func (client BlockstorageClient) ChangeBootVolumeBackupCompartment(ctx context.Context, request ChangeBootVolumeBackupCompartmentRequest) (response ChangeBootVolumeBackupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -158,11 +158,11 @@ func (client BlockstorageClient) changeBootVolumeBackupCompartment(ctx context.C // ChangeBootVolumeCompartment Moves a boot volume into a different compartment within the same tenancy. // For information about moving resources between compartments, -// see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartment API. func (client BlockstorageClient) ChangeBootVolumeCompartment(ctx context.Context, request ChangeBootVolumeCompartmentRequest) (response ChangeBootVolumeCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -217,11 +217,11 @@ func (client BlockstorageClient) changeBootVolumeCompartment(ctx context.Context // ChangeVolumeBackupCompartment Moves a volume backup into a different compartment within the same tenancy. // For information about moving resources between compartments, -// see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartment API. func (client BlockstorageClient) ChangeVolumeBackupCompartment(ctx context.Context, request ChangeVolumeBackupCompartmentRequest) (response ChangeVolumeBackupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -276,11 +276,11 @@ func (client BlockstorageClient) changeVolumeBackupCompartment(ctx context.Conte // ChangeVolumeCompartment Moves a volume into a different compartment within the same tenancy. // For information about moving resources between compartments, -// see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartment API. func (client BlockstorageClient) ChangeVolumeCompartment(ctx context.Context, request ChangeVolumeCompartmentRequest) (response ChangeVolumeCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -335,11 +335,11 @@ func (client BlockstorageClient) changeVolumeCompartment(ctx context.Context, re // ChangeVolumeGroupBackupCompartment Moves a volume group backup into a different compartment within the same tenancy. // For information about moving resources between compartments, -// see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartment API. func (client BlockstorageClient) ChangeVolumeGroupBackupCompartment(ctx context.Context, request ChangeVolumeGroupBackupCompartmentRequest) (response ChangeVolumeGroupBackupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -394,11 +394,11 @@ func (client BlockstorageClient) changeVolumeGroupBackupCompartment(ctx context. // ChangeVolumeGroupCompartment Moves a volume group into a different compartment within the same tenancy. // For information about moving resources between compartments, -// see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartment API. func (client BlockstorageClient) ChangeVolumeGroupCompartment(ctx context.Context, request ChangeVolumeGroupCompartmentRequest) (response ChangeVolumeGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -452,11 +452,11 @@ func (client BlockstorageClient) changeVolumeGroupCompartment(ctx context.Contex } // CopyBootVolumeBackup Creates a boot volume backup copy in specified region. For general information about volume backups, -// see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) +// see Overview of Boot Volume Backups (https://docs.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackup API. func (client BlockstorageClient) CopyBootVolumeBackup(ctx context.Context, request CopyBootVolumeBackupRequest) (response CopyBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -515,11 +515,11 @@ func (client BlockstorageClient) copyBootVolumeBackup(ctx context.Context, reque } // CopyVolumeBackup Creates a volume backup copy in specified region. For general information about volume backups, -// see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm) +// see Overview of Block Volume Service Backups (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm) // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackup API. func (client BlockstorageClient) CopyVolumeBackup(ctx context.Context, request CopyVolumeBackupRequest) (response CopyVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -578,11 +578,11 @@ func (client BlockstorageClient) copyVolumeBackup(ctx context.Context, request c } // CopyVolumeGroupBackup Creates a volume group backup copy in specified region. For general information about volume group backups, -// see Overview of Block Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm). +// see Overview of Block Volume Backups (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeGroupBackup.go.html to see an example of how to use CopyVolumeGroupBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeGroupBackup.go.html to see an example of how to use CopyVolumeGroupBackup API. func (client BlockstorageClient) CopyVolumeGroupBackup(ctx context.Context, request CopyVolumeGroupBackupRequest) (response CopyVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -641,13 +641,13 @@ func (client BlockstorageClient) copyVolumeGroupBackup(ctx context.Context, requ } // CreateBootVolume Creates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. -// For general information about boot volumes, see Boot Volumes (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm). +// For general information about boot volumes, see Boot Volumes (https://docs.oracle.com/iaas/Content/Block/Concepts/bootvolumes.htm). // You may optionally specify a *display name* for the volume, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolume API. func (client BlockstorageClient) CreateBootVolume(ctx context.Context, request CreateBootVolumeRequest) (response CreateBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -706,14 +706,14 @@ func (client BlockstorageClient) createBootVolume(ctx context.Context, request c } // CreateBootVolumeBackup Creates a new boot volume backup of the specified boot volume. For general information about boot volume backups, -// see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) +// see Overview of Boot Volume Backups (https://docs.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) // When the request is received, the backup object is in a REQUEST_RECEIVED state. // When the data is imaged, it goes into a CREATING state. // After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackup API. func (client BlockstorageClient) CreateBootVolumeBackup(ctx context.Context, request CreateBootVolumeBackupRequest) (response CreateBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -774,11 +774,11 @@ func (client BlockstorageClient) createBootVolumeBackup(ctx context.Context, req // CreateVolume Creates a new volume in the specified compartment. Volumes can be created in sizes ranging from // 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB). // For general information about block volumes, see -// Overview of Block Volume Service (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). +// Overview of Block Volume Service (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm). // A volume and instance can be in separate compartments but must be in the same availability domain. // For information about access control and compartments, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about -// availability domains, see Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about +// availability domains, see Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of availability domains, use the `ListAvailabilityDomains` operation // in the Identity and Access Management Service API. // You may optionally specify a *display name* for the volume, which is simply a friendly name or @@ -786,7 +786,7 @@ func (client BlockstorageClient) createBootVolumeBackup(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolume API. func (client BlockstorageClient) CreateVolume(ctx context.Context, request CreateVolumeRequest) (response CreateVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -845,14 +845,14 @@ func (client BlockstorageClient) createVolume(ctx context.Context, request commo } // CreateVolumeBackup Creates a new backup of the specified volume. For general information about volume backups, -// see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm) +// see Overview of Block Volume Service Backups (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm) // When the request is received, the backup object is in a REQUEST_RECEIVED state. // When the data is imaged, it goes into a CREATING state. // After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackup API. func (client BlockstorageClient) CreateVolumeBackup(ctx context.Context, request CreateVolumeBackupRequest) (response CreateVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -912,11 +912,11 @@ func (client BlockstorageClient) createVolumeBackup(ctx context.Context, request // CreateVolumeBackupPolicy Creates a new user defined backup policy. // For more information about Oracle defined backup policies and user defined backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// see Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicy API. func (client BlockstorageClient) CreateVolumeBackupPolicy(ctx context.Context, request CreateVolumeBackupPolicyRequest) (response CreateVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -980,7 +980,7 @@ func (client BlockstorageClient) createVolumeBackupPolicy(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignment API. func (client BlockstorageClient) CreateVolumeBackupPolicyAssignment(ctx context.Context, request CreateVolumeBackupPolicyAssignmentRequest) (response CreateVolumeBackupPolicyAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1038,11 +1038,11 @@ func (client BlockstorageClient) createVolumeBackupPolicyAssignment(ctx context. // volume group, or by restoring a volume group backup. // You may optionally specify a *display name* for the volume group, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. -// For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroup API. func (client BlockstorageClient) CreateVolumeGroup(ctx context.Context, request CreateVolumeGroupRequest) (response CreateVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1101,11 +1101,11 @@ func (client BlockstorageClient) createVolumeGroup(ctx context.Context, request } // CreateVolumeGroupBackup Creates a new backup volume group of the specified volume group. -// For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackup API. func (client BlockstorageClient) CreateVolumeGroupBackup(ctx context.Context, request CreateVolumeGroupBackupRequest) (response CreateVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1165,12 +1165,12 @@ func (client BlockstorageClient) createVolumeGroupBackup(ctx context.Context, re // DeleteBootVolume Deletes the specified boot volume. The volume cannot have an active connection to an instance. // To disconnect the boot volume from a connected instance, see -// Disconnecting From a Boot Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/deletingbootvolume.htm). +// Disconnecting From a Boot Volume (https://docs.oracle.com/iaas/Content/Block/Tasks/deletingbootvolume.htm). // **Warning:** All data on the boot volume will be permanently lost when the boot volume is deleted. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolume API. func (client BlockstorageClient) DeleteBootVolume(ctx context.Context, request DeleteBootVolumeRequest) (response DeleteBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1227,7 +1227,7 @@ func (client BlockstorageClient) deleteBootVolume(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackup API. func (client BlockstorageClient) DeleteBootVolumeBackup(ctx context.Context, request DeleteBootVolumeBackupRequest) (response DeleteBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1284,7 +1284,7 @@ func (client BlockstorageClient) deleteBootVolumeBackup(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKey API. func (client BlockstorageClient) DeleteBootVolumeKmsKey(ctx context.Context, request DeleteBootVolumeKmsKeyRequest) (response DeleteBootVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1339,12 +1339,12 @@ func (client BlockstorageClient) deleteBootVolumeKmsKey(ctx context.Context, req // DeleteVolume Deletes the specified volume. The volume cannot have an active connection to an instance. // To disconnect the volume from a connected instance, see -// Disconnecting From a Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/disconnectingfromavolume.htm). +// Disconnecting From a Volume (https://docs.oracle.com/iaas/Content/Block/Tasks/disconnectingfromavolume.htm). // **Warning:** All data on the volume will be permanently lost when the volume is deleted. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolume API. func (client BlockstorageClient) DeleteVolume(ctx context.Context, request DeleteVolumeRequest) (response DeleteVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1401,7 +1401,7 @@ func (client BlockstorageClient) deleteVolume(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackup API. func (client BlockstorageClient) DeleteVolumeBackup(ctx context.Context, request DeleteVolumeBackupRequest) (response DeleteVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1457,12 +1457,12 @@ func (client BlockstorageClient) deleteVolumeBackup(ctx context.Context, request // DeleteVolumeBackupPolicy Deletes a user defined backup policy. // // For more information about user defined backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). +// see Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). // Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicy API. func (client BlockstorageClient) DeleteVolumeBackupPolicy(ctx context.Context, request DeleteVolumeBackupPolicyRequest) (response DeleteVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1519,7 +1519,7 @@ func (client BlockstorageClient) deleteVolumeBackupPolicy(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignment API. func (client BlockstorageClient) DeleteVolumeBackupPolicyAssignment(ctx context.Context, request DeleteVolumeBackupPolicyAssignmentRequest) (response DeleteVolumeBackupPolicyAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1573,11 +1573,11 @@ func (client BlockstorageClient) deleteVolumeBackupPolicyAssignment(ctx context. } // DeleteVolumeGroup Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. -// For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroup API. func (client BlockstorageClient) DeleteVolumeGroup(ctx context.Context, request DeleteVolumeGroupRequest) (response DeleteVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1631,11 +1631,11 @@ func (client BlockstorageClient) deleteVolumeGroup(ctx context.Context, request } // DeleteVolumeGroupBackup Deletes a volume group backup. This operation deletes all the backups in -// the volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// the volume group. For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackup API. func (client BlockstorageClient) DeleteVolumeGroupBackup(ctx context.Context, request DeleteVolumeGroupBackupRequest) (response DeleteVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1692,7 +1692,7 @@ func (client BlockstorageClient) deleteVolumeGroupBackup(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKey API. func (client BlockstorageClient) DeleteVolumeKmsKey(ctx context.Context, request DeleteVolumeKmsKeyRequest) (response DeleteVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1749,7 +1749,7 @@ func (client BlockstorageClient) deleteVolumeKmsKey(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplica API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplica API. func (client BlockstorageClient) GetBlockVolumeReplica(ctx context.Context, request GetBlockVolumeReplicaRequest) (response GetBlockVolumeReplicaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1806,7 +1806,7 @@ func (client BlockstorageClient) getBlockVolumeReplica(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolume API. func (client BlockstorageClient) GetBootVolume(ctx context.Context, request GetBootVolumeRequest) (response GetBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1863,7 +1863,7 @@ func (client BlockstorageClient) getBootVolume(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackup API. func (client BlockstorageClient) GetBootVolumeBackup(ctx context.Context, request GetBootVolumeBackupRequest) (response GetBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1920,7 +1920,7 @@ func (client BlockstorageClient) getBootVolumeBackup(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKey API. func (client BlockstorageClient) GetBootVolumeKmsKey(ctx context.Context, request GetBootVolumeKmsKeyRequest) (response GetBootVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1977,7 +1977,7 @@ func (client BlockstorageClient) getBootVolumeKmsKey(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplica API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplica API. func (client BlockstorageClient) GetBootVolumeReplica(ctx context.Context, request GetBootVolumeReplicaRequest) (response GetBootVolumeReplicaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2034,7 +2034,7 @@ func (client BlockstorageClient) getBootVolumeReplica(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolume API. func (client BlockstorageClient) GetVolume(ctx context.Context, request GetVolumeRequest) (response GetVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2091,7 +2091,7 @@ func (client BlockstorageClient) getVolume(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackup API. func (client BlockstorageClient) GetVolumeBackup(ctx context.Context, request GetVolumeBackupRequest) (response GetVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2148,7 +2148,7 @@ func (client BlockstorageClient) getVolumeBackup(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicy API. func (client BlockstorageClient) GetVolumeBackupPolicy(ctx context.Context, request GetVolumeBackupPolicyRequest) (response GetVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2207,7 +2207,7 @@ func (client BlockstorageClient) getVolumeBackupPolicy(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignment API. func (client BlockstorageClient) GetVolumeBackupPolicyAssetAssignment(ctx context.Context, request GetVolumeBackupPolicyAssetAssignmentRequest) (response GetVolumeBackupPolicyAssetAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2264,7 +2264,7 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssetAssignment(ctx contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignment API. func (client BlockstorageClient) GetVolumeBackupPolicyAssignment(ctx context.Context, request GetVolumeBackupPolicyAssignmentRequest) (response GetVolumeBackupPolicyAssignmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2317,11 +2317,11 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssignment(ctx context.Con return response, err } -// GetVolumeGroup Gets information for the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// GetVolumeGroup Gets information for the specified volume group. For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroup API. func (client BlockstorageClient) GetVolumeGroup(ctx context.Context, request GetVolumeGroupRequest) (response GetVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2374,11 +2374,11 @@ func (client BlockstorageClient) getVolumeGroup(ctx context.Context, request com return response, err } -// GetVolumeGroupBackup Gets information for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// GetVolumeGroupBackup Gets information for the specified volume group backup. For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackup API. func (client BlockstorageClient) GetVolumeGroupBackup(ctx context.Context, request GetVolumeGroupBackupRequest) (response GetVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2435,7 +2435,7 @@ func (client BlockstorageClient) getVolumeGroupBackup(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplica API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplica API. func (client BlockstorageClient) GetVolumeGroupReplica(ctx context.Context, request GetVolumeGroupReplicaRequest) (response GetVolumeGroupReplicaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2492,7 +2492,7 @@ func (client BlockstorageClient) getVolumeGroupReplica(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKey API. func (client BlockstorageClient) GetVolumeKmsKey(ctx context.Context, request GetVolumeKmsKeyRequest) (response GetVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2549,7 +2549,7 @@ func (client BlockstorageClient) getVolumeKmsKey(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicas API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicas API. func (client BlockstorageClient) ListBlockVolumeReplicas(ctx context.Context, request ListBlockVolumeReplicasRequest) (response ListBlockVolumeReplicasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2606,7 +2606,7 @@ func (client BlockstorageClient) listBlockVolumeReplicas(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackups API. func (client BlockstorageClient) ListBootVolumeBackups(ctx context.Context, request ListBootVolumeBackupsRequest) (response ListBootVolumeBackupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2663,7 +2663,7 @@ func (client BlockstorageClient) listBootVolumeBackups(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicas API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicas API. func (client BlockstorageClient) ListBootVolumeReplicas(ctx context.Context, request ListBootVolumeReplicasRequest) (response ListBootVolumeReplicasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2720,7 +2720,7 @@ func (client BlockstorageClient) listBootVolumeReplicas(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumes API. func (client BlockstorageClient) ListBootVolumes(ctx context.Context, request ListBootVolumesRequest) (response ListBootVolumesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2775,11 +2775,11 @@ func (client BlockstorageClient) listBootVolumes(ctx context.Context, request co // ListVolumeBackupPolicies Lists all the volume backup policies available in the specified compartment. // For more information about Oracle defined backup policies and user defined backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// see Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPolicies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPolicies API. func (client BlockstorageClient) ListVolumeBackupPolicies(ctx context.Context, request ListVolumeBackupPoliciesRequest) (response ListVolumeBackupPoliciesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2836,7 +2836,7 @@ func (client BlockstorageClient) listVolumeBackupPolicies(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackups API. func (client BlockstorageClient) ListVolumeBackups(ctx context.Context, request ListVolumeBackupsRequest) (response ListVolumeBackupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2890,11 +2890,11 @@ func (client BlockstorageClient) listVolumeBackups(ctx context.Context, request } // ListVolumeGroupBackups Lists the volume group backups in the specified compartment. You can filter the results by volume group. -// For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackups API. func (client BlockstorageClient) ListVolumeGroupBackups(ctx context.Context, request ListVolumeGroupBackupsRequest) (response ListVolumeGroupBackupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2948,11 +2948,11 @@ func (client BlockstorageClient) listVolumeGroupBackups(ctx context.Context, req } // ListVolumeGroupReplicas Lists the volume group replicas in the specified compartment. You can filter the results by volume group. -// For more information, see Volume Group Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). +// For more information, see Volume Group Replication (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicas API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicas API. func (client BlockstorageClient) ListVolumeGroupReplicas(ctx context.Context, request ListVolumeGroupReplicasRequest) (response ListVolumeGroupReplicasResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3006,11 +3006,11 @@ func (client BlockstorageClient) listVolumeGroupReplicas(ctx context.Context, re } // ListVolumeGroups Lists the volume groups in the specified compartment and availability domain. -// For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroups API. func (client BlockstorageClient) ListVolumeGroups(ctx context.Context, request ListVolumeGroupsRequest) (response ListVolumeGroupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3067,7 +3067,7 @@ func (client BlockstorageClient) listVolumeGroups(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumes API. func (client BlockstorageClient) ListVolumes(ctx context.Context, request ListVolumesRequest) (response ListVolumesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3124,7 +3124,7 @@ func (client BlockstorageClient) listVolumes(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolume API. func (client BlockstorageClient) UpdateBootVolume(ctx context.Context, request UpdateBootVolumeRequest) (response UpdateBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3182,7 +3182,7 @@ func (client BlockstorageClient) updateBootVolume(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackup API. func (client BlockstorageClient) UpdateBootVolumeBackup(ctx context.Context, request UpdateBootVolumeBackupRequest) (response UpdateBootVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3234,7 +3234,7 @@ func (client BlockstorageClient) updateBootVolumeBackup(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKey API. func (client BlockstorageClient) UpdateBootVolumeKmsKey(ctx context.Context, request UpdateBootVolumeKmsKeyRequest) (response UpdateBootVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3292,7 +3292,7 @@ func (client BlockstorageClient) updateBootVolumeKmsKey(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolume API. func (client BlockstorageClient) UpdateVolume(ctx context.Context, request UpdateVolumeRequest) (response UpdateVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3350,7 +3350,7 @@ func (client BlockstorageClient) updateVolume(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackup API. func (client BlockstorageClient) UpdateVolumeBackup(ctx context.Context, request UpdateVolumeBackupRequest) (response UpdateVolumeBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3401,12 +3401,12 @@ func (client BlockstorageClient) updateVolumeBackup(ctx context.Context, request // UpdateVolumeBackupPolicy Updates a user defined backup policy. // // For more information about user defined backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). +// see Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). // Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicy API. func (client BlockstorageClient) UpdateVolumeBackupPolicy(ctx context.Context, request UpdateVolumeBackupPolicyRequest) (response UpdateVolumeBackupPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3468,11 +3468,11 @@ func (client BlockstorageClient) updateVolumeBackupPolicy(ctx context.Context, r // to add or remove volumes in a volume group. Specify the full list of volume IDs to include in the // volume group. If the volume ID is not specified in the call, it will be removed from the volume group. // Avoid entering confidential information. -// For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroup API. func (client BlockstorageClient) UpdateVolumeGroup(ctx context.Context, request UpdateVolumeGroupRequest) (response UpdateVolumeGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3525,11 +3525,11 @@ func (client BlockstorageClient) updateVolumeGroup(ctx context.Context, request return response, err } -// UpdateVolumeGroupBackup Updates the display name for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// UpdateVolumeGroupBackup Updates the display name for the specified volume group backup. For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackup API. func (client BlockstorageClient) UpdateVolumeGroupBackup(ctx context.Context, request UpdateVolumeGroupBackupRequest) (response UpdateVolumeGroupBackupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3581,7 +3581,7 @@ func (client BlockstorageClient) updateVolumeGroupBackup(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKey API. func (client BlockstorageClient) UpdateVolumeKmsKey(ctx context.Context, request UpdateVolumeKmsKeyRequest) (response UpdateVolumeKmsKeyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go index f8f5eddec2..6a3ef1fb63 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -99,7 +99,7 @@ func (client *ComputeClient) ConfigurationProvider() *common.ConfigurationProvid // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.go.html to see an example of how to use AcceptShieldedIntegrityPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AcceptShieldedIntegrityPolicy.go.html to see an example of how to use AcceptShieldedIntegrityPolicy API. func (client ComputeClient) AcceptShieldedIntegrityPolicy(ctx context.Context, request AcceptShieldedIntegrityPolicyRequest) (response AcceptShieldedIntegrityPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -161,7 +161,7 @@ func (client ComputeClient) acceptShieldedIntegrityPolicy(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntry API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntry API. func (client ComputeClient) AddImageShapeCompatibilityEntry(ctx context.Context, request AddImageShapeCompatibilityEntryRequest) (response AddImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -214,11 +214,74 @@ func (client ComputeClient) addImageShapeCompatibilityEntry(ctx context.Context, return response, err } +// ApplyHostConfiguration Triggers the asynchronous process that applies the host's target configuration +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ApplyHostConfiguration.go.html to see an example of how to use ApplyHostConfiguration API. +// A default retry strategy applies to this operation ApplyHostConfiguration() +func (client ComputeClient) ApplyHostConfiguration(ctx context.Context, request ApplyHostConfigurationRequest) (response ApplyHostConfigurationResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.applyHostConfiguration, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ApplyHostConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ApplyHostConfigurationResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ApplyHostConfigurationResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ApplyHostConfigurationResponse") + } + return +} + +// applyHostConfiguration implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) applyHostConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHosts/{computeHostId}/actions/applyConfiguration", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ApplyHostConfigurationResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ApplyHostConfiguration" + err = common.PostProcessServiceError(err, "Compute", "ApplyHostConfiguration", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // AttachBootVolume Attaches the specified boot volume to the specified instance. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolume API. func (client ComputeClient) AttachBootVolume(ctx context.Context, request AttachBootVolumeRequest) (response AttachBootVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -276,13 +339,76 @@ func (client ComputeClient) attachBootVolume(ctx context.Context, request common return response, err } +// AttachComputeHostGroupHost Attaches the Compute BM Host to a Host group +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachComputeHostGroupHost.go.html to see an example of how to use AttachComputeHostGroupHost API. +// A default retry strategy applies to this operation AttachComputeHostGroupHost() +func (client ComputeClient) AttachComputeHostGroupHost(ctx context.Context, request AttachComputeHostGroupHostRequest) (response AttachComputeHostGroupHostResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.attachComputeHostGroupHost, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AttachComputeHostGroupHostResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AttachComputeHostGroupHostResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AttachComputeHostGroupHostResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AttachComputeHostGroupHostResponse") + } + return +} + +// attachComputeHostGroupHost implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) attachComputeHostGroupHost(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHosts/{computeHostId}/actions/attachToHostGroup", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response AttachComputeHostGroupHostResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/AttachComputeHostGroupHost" + err = common.PostProcessServiceError(err, "Compute", "AttachComputeHostGroupHost", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // AttachVnic Creates a secondary VNIC and attaches it to the specified instance. // For more information about secondary VNICs, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). +// Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnic API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnic API. func (client ComputeClient) AttachVnic(ctx context.Context, request AttachVnicRequest) (response AttachVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -344,7 +470,7 @@ func (client ComputeClient) attachVnic(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolume API. func (client ComputeClient) AttachVolume(ctx context.Context, request AttachVolumeRequest) (response AttachVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -420,7 +546,7 @@ func (client ComputeClient) attachVolume(ctx context.Context, request common.OCI // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistory API. func (client ComputeClient) CaptureConsoleHistory(ctx context.Context, request CaptureConsoleHistoryRequest) (response CaptureConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -480,11 +606,11 @@ func (client ComputeClient) captureConsoleHistory(ctx context.Context, request c // ChangeComputeCapacityReservationCompartment Moves a compute capacity reservation into a different compartment. For information about // moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartment API. func (client ComputeClient) ChangeComputeCapacityReservationCompartment(ctx context.Context, request ChangeComputeCapacityReservationCompartmentRequest) (response ChangeComputeCapacityReservationCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -543,11 +669,11 @@ func (client ComputeClient) changeComputeCapacityReservationCompartment(ctx cont } // ChangeComputeCapacityTopologyCompartment Moves a compute capacity topology into a different compartment. For information about moving resources between -// compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityTopologyCompartment.go.html to see an example of how to use ChangeComputeCapacityTopologyCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityTopologyCompartment.go.html to see an example of how to use ChangeComputeCapacityTopologyCompartment API. // A default retry strategy applies to this operation ChangeComputeCapacityTopologyCompartment() func (client ComputeClient) ChangeComputeCapacityTopologyCompartment(ctx context.Context, request ChangeComputeCapacityTopologyCompartmentRequest) (response ChangeComputeCapacityTopologyCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -607,13 +733,13 @@ func (client ComputeClient) changeComputeCapacityTopologyCompartment(ctx context } // ChangeComputeClusterCompartment Moves a compute cluster into a different compartment within the same tenancy. -// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. +// A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. // For information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeClusterCompartment.go.html to see an example of how to use ChangeComputeClusterCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeClusterCompartment.go.html to see an example of how to use ChangeComputeClusterCompartment API. func (client ComputeClient) ChangeComputeClusterCompartment(ctx context.Context, request ChangeComputeClusterCompartmentRequest) (response ChangeComputeClusterCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -671,14 +797,270 @@ func (client ComputeClient) changeComputeClusterCompartment(ctx context.Context, return response, err } +// ChangeComputeGpuMemoryClusterCompartment Moves a compute GPU memory cluster into a different compartment. For information about moving resources between +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeGpuMemoryClusterCompartment.go.html to see an example of how to use ChangeComputeGpuMemoryClusterCompartment API. +// A default retry strategy applies to this operation ChangeComputeGpuMemoryClusterCompartment() +func (client ComputeClient) ChangeComputeGpuMemoryClusterCompartment(ctx context.Context, request ChangeComputeGpuMemoryClusterCompartmentRequest) (response ChangeComputeGpuMemoryClusterCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeComputeGpuMemoryClusterCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeComputeGpuMemoryClusterCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeComputeGpuMemoryClusterCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeComputeGpuMemoryClusterCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeComputeGpuMemoryClusterCompartmentResponse") + } + return +} + +// changeComputeGpuMemoryClusterCompartment implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) changeComputeGpuMemoryClusterCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeComputeGpuMemoryClusterCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/ChangeComputeGpuMemoryClusterCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeGpuMemoryClusterCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ChangeComputeGpuMemoryFabricCompartment Moves a compute GPU memory fabric into a different compartment. For information about moving resources between +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeGpuMemoryFabricCompartment.go.html to see an example of how to use ChangeComputeGpuMemoryFabricCompartment API. +// A default retry strategy applies to this operation ChangeComputeGpuMemoryFabricCompartment() +func (client ComputeClient) ChangeComputeGpuMemoryFabricCompartment(ctx context.Context, request ChangeComputeGpuMemoryFabricCompartmentRequest) (response ChangeComputeGpuMemoryFabricCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeComputeGpuMemoryFabricCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeComputeGpuMemoryFabricCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeComputeGpuMemoryFabricCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeComputeGpuMemoryFabricCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeComputeGpuMemoryFabricCompartmentResponse") + } + return +} + +// changeComputeGpuMemoryFabricCompartment implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) changeComputeGpuMemoryFabricCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeComputeGpuMemoryFabricCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ChangeComputeGpuMemoryFabricCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeGpuMemoryFabricCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ChangeComputeHostCompartment Moves a compute host into a different compartment. For information about moving resources between +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeHostCompartment.go.html to see an example of how to use ChangeComputeHostCompartment API. +// A default retry strategy applies to this operation ChangeComputeHostCompartment() +func (client ComputeClient) ChangeComputeHostCompartment(ctx context.Context, request ChangeComputeHostCompartmentRequest) (response ChangeComputeHostCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeComputeHostCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeComputeHostCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeComputeHostCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeComputeHostCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeComputeHostCompartmentResponse") + } + return +} + +// changeComputeHostCompartment implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) changeComputeHostCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHosts/{computeHostId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeComputeHostCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ChangeComputeHostCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeHostCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ChangeComputeHostGroupCompartment Moves a compute host group into a different compartment. For information about moving resources between +// compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeHostGroupCompartment.go.html to see an example of how to use ChangeComputeHostGroupCompartment API. +// A default retry strategy applies to this operation ChangeComputeHostGroupCompartment() +func (client ComputeClient) ChangeComputeHostGroupCompartment(ctx context.Context, request ChangeComputeHostGroupCompartmentRequest) (response ChangeComputeHostGroupCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeComputeHostGroupCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeComputeHostGroupCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeComputeHostGroupCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeComputeHostGroupCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeComputeHostGroupCompartmentResponse") + } + return +} + +// changeComputeHostGroupCompartment implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) changeComputeHostGroupCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHostGroups/{computeHostGroupId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeComputeHostGroupCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/ChangeComputeHostGroupCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeComputeHostGroupCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ChangeComputeImageCapabilitySchemaCompartment Moves a compute image capability schema into a different compartment within the same tenancy. // For information about moving resources between compartments, see // -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartment API. // A default retry strategy applies to this operation ChangeComputeImageCapabilitySchemaCompartment() func (client ComputeClient) ChangeComputeImageCapabilitySchemaCompartment(ctx context.Context, request ChangeComputeImageCapabilitySchemaCompartmentRequest) (response ChangeComputeImageCapabilitySchemaCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -741,7 +1123,7 @@ func (client ComputeClient) changeComputeImageCapabilitySchemaCompartment(ctx co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartment API. func (client ComputeClient) ChangeDedicatedVmHostCompartment(ctx context.Context, request ChangeDedicatedVmHostCompartmentRequest) (response ChangeDedicatedVmHostCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -801,11 +1183,11 @@ func (client ComputeClient) changeDedicatedVmHostCompartment(ctx context.Context // ChangeImageCompartment Moves an image into a different compartment within the same tenancy. For information about moving // resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartment API. // A default retry strategy applies to this operation ChangeImageCompartment() func (client ComputeClient) ChangeImageCompartment(ctx context.Context, request ChangeImageCompartmentRequest) (response ChangeImageCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -866,16 +1248,79 @@ func (client ComputeClient) changeImageCompartment(ctx context.Context, request // ChangeInstanceCompartment Moves an instance into a different compartment within the same tenancy. For information about // moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move an instance to a different compartment, associated resources such as boot volumes and VNICs // are not moved. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartment API. -func (client ComputeClient) ChangeInstanceCompartment(ctx context.Context, request ChangeInstanceCompartmentRequest) (response ChangeInstanceCompartmentResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartment API. +func (client ComputeClient) ChangeInstanceCompartment(ctx context.Context, request ChangeInstanceCompartmentRequest) (response ChangeInstanceCompartmentResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeInstanceCompartment, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeInstanceCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeInstanceCompartmentResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ChangeInstanceCompartmentResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ChangeInstanceCompartmentResponse") + } + return +} + +// changeInstanceCompartment implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) changeInstanceCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/instances/{instanceId}/actions/changeCompartment", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ChangeInstanceCompartmentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ChangeInstanceCompartment" + err = common.PostProcessServiceError(err, "Compute", "ChangeInstanceCompartment", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CheckHostConfiguration Marks the host to be checked for conformance to its target configuration +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CheckHostConfiguration.go.html to see an example of how to use CheckHostConfiguration API. +// A default retry strategy applies to this operation CheckHostConfiguration() +func (client ComputeClient) CheckHostConfiguration(ctx context.Context, request CheckHostConfigurationRequest) (response CheckHostConfigurationResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -887,42 +1332,42 @@ func (client ComputeClient) ChangeInstanceCompartment(ctx context.Context, reque request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.changeInstanceCompartment, policy) + ociResponse, err = common.Retry(ctx, request, client.checkHostConfiguration, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ChangeInstanceCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = CheckHostConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ChangeInstanceCompartmentResponse{} + response = CheckHostConfigurationResponse{} } } return } - if convertedResponse, ok := ociResponse.(ChangeInstanceCompartmentResponse); ok { + if convertedResponse, ok := ociResponse.(CheckHostConfigurationResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ChangeInstanceCompartmentResponse") + err = fmt.Errorf("failed to convert OCIResponse into CheckHostConfigurationResponse") } return } -// changeInstanceCompartment implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) changeInstanceCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// checkHostConfiguration implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) checkHostConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/instances/{instanceId}/actions/changeCompartment", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHosts/{computeHostId}/actions/checkConfiguration", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ChangeInstanceCompartmentResponse + var response CheckHostConfigurationResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Instance/ChangeInstanceCompartment" - err = common.PostProcessServiceError(err, "Compute", "ChangeInstanceCompartment", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/CheckHostConfiguration" + err = common.PostProcessServiceError(err, "Compute", "CheckHostConfiguration", apiReferenceLink) return response, err } @@ -934,7 +1379,7 @@ func (client ComputeClient) changeInstanceCompartment(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscription API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscription API. // A default retry strategy applies to this operation CreateAppCatalogSubscription() func (client ComputeClient) CreateAppCatalogSubscription(ctx context.Context, request CreateAppCatalogSubscriptionRequest) (response CreateAppCatalogSubscriptionResponse, err error) { var ociResponse common.OCIResponse @@ -1001,7 +1446,7 @@ func (client ComputeClient) createAppCatalogSubscription(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReport.go.html to see an example of how to use CreateComputeCapacityReport API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReport.go.html to see an example of how to use CreateComputeCapacityReport API. // A default retry strategy applies to this operation CreateComputeCapacityReport() func (client ComputeClient) CreateComputeCapacityReport(ctx context.Context, request CreateComputeCapacityReportRequest) (response CreateComputeCapacityReportResponse, err error) { var ociResponse common.OCIResponse @@ -1064,11 +1509,11 @@ func (client ComputeClient) createComputeCapacityReport(ctx context.Context, req // Compute capacity reservations let you reserve instances in a compartment. // When you launch an instance using this reservation, you are assured that you have enough space for your instance, // and you won't get out of capacity errors. -// For more information, see Reserved Capacity (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). +// For more information, see Reserved Capacity (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservation API. func (client ComputeClient) CreateComputeCapacityReservation(ctx context.Context, request CreateComputeCapacityReservationRequest) (response CreateComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1133,7 +1578,7 @@ func (client ComputeClient) createComputeCapacityReservation(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityTopology.go.html to see an example of how to use CreateComputeCapacityTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityTopology.go.html to see an example of how to use CreateComputeCapacityTopology API. // A default retry strategy applies to this operation CreateComputeCapacityTopology() func (client ComputeClient) CreateComputeCapacityTopology(ctx context.Context, request CreateComputeCapacityTopologyRequest) (response CreateComputeCapacityTopologyResponse, err error) { var ociResponse common.OCIResponse @@ -1192,7 +1637,7 @@ func (client ComputeClient) createComputeCapacityTopology(ctx context.Context, r return response, err } -// CreateComputeCluster Creates an empty compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster +// CreateComputeCluster Creates an empty compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster // is a remote direct memory access (RDMA) network group. // After the compute cluster is created, you can use the compute cluster's OCID with the // LaunchInstance operation to create instances in the compute cluster. @@ -1204,7 +1649,7 @@ func (client ComputeClient) createComputeCapacityTopology(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCluster.go.html to see an example of how to use CreateComputeCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCluster.go.html to see an example of how to use CreateComputeCluster API. func (client ComputeClient) CreateComputeCluster(ctx context.Context, request CreateComputeClusterRequest) (response CreateComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1262,11 +1707,137 @@ func (client ComputeClient) createComputeCluster(ctx context.Context, request co return response, err } +// CreateComputeGpuMemoryCluster Create a compute GPU memory cluster instance on a specific compute GPU memory fabric +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeGpuMemoryCluster.go.html to see an example of how to use CreateComputeGpuMemoryCluster API. +// A default retry strategy applies to this operation CreateComputeGpuMemoryCluster() +func (client ComputeClient) CreateComputeGpuMemoryCluster(ctx context.Context, request CreateComputeGpuMemoryClusterRequest) (response CreateComputeGpuMemoryClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createComputeGpuMemoryCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateComputeGpuMemoryClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateComputeGpuMemoryClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateComputeGpuMemoryClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateComputeGpuMemoryClusterResponse") + } + return +} + +// createComputeGpuMemoryCluster implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) createComputeGpuMemoryCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeGpuMemoryClusters", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateComputeGpuMemoryClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/CreateComputeGpuMemoryCluster" + err = common.PostProcessServiceError(err, "Compute", "CreateComputeGpuMemoryCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// CreateComputeHostGroup Creates a new compute host group in the specified compartment and availability domain. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeHostGroup.go.html to see an example of how to use CreateComputeHostGroup API. +// A default retry strategy applies to this operation CreateComputeHostGroup() +func (client ComputeClient) CreateComputeHostGroup(ctx context.Context, request CreateComputeHostGroupRequest) (response CreateComputeHostGroupResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createComputeHostGroup, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateComputeHostGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateComputeHostGroupResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateComputeHostGroupResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateComputeHostGroupResponse") + } + return +} + +// createComputeHostGroup implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) createComputeHostGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHostGroups", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateComputeHostGroupResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/CreateComputeHostGroup" + err = common.PostProcessServiceError(err, "Compute", "CreateComputeHostGroup", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // CreateComputeImageCapabilitySchema Creates compute image capability schema. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchema API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchema API. // A default retry strategy applies to this operation CreateComputeImageCapabilitySchema() func (client ComputeClient) CreateComputeImageCapabilitySchema(ctx context.Context, request CreateComputeImageCapabilitySchemaRequest) (response CreateComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse @@ -1328,11 +1899,11 @@ func (client ComputeClient) createComputeImageCapabilitySchema(ctx context.Conte // CreateDedicatedVmHost Creates a new dedicated virtual machine host in the specified compartment and the specified availability domain. // Dedicated virtual machine hosts enable you to run your Compute virtual machine (VM) instances on dedicated servers // that are a single tenant and not shared with other customers. -// For more information, see Dedicated Virtual Machine Hosts (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm). +// For more information, see Dedicated Virtual Machine Hosts (https://docs.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHost API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHost API. func (client ComputeClient) CreateDedicatedVmHost(ctx context.Context, request CreateDedicatedVmHostRequest) (response CreateDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1393,24 +1964,24 @@ func (client ComputeClient) createDedicatedVmHost(ctx context.Context, request c // CreateImage Creates a boot disk image for the specified instance or imports an exported image from the Oracle Cloud Infrastructure Object Storage service. // When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and // the OCID of the compartment containing that instance. For more information about images, -// see Managing Custom Images (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). +// see Managing Custom Images (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). // When importing an exported image from Object Storage, you specify the source information // in ImageSourceDetails. // When importing an image based on the namespace, bucket name, and object name, // use ImageSourceViaObjectStorageTupleDetails. // When importing an image based on the Object Storage URL, use // ImageSourceViaObjectStorageUriDetails. -// See Object Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) +// See Object Storage URLs (https://docs.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) // for constructing URLs for image import/export. // For more information about importing exported images, see -// Image Import/Export (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm). +// Image Import/Export (https://docs.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm). // You may optionally specify a *display name* for the image, which is simply a friendly name or description. // It does not have to be unique, and you can change it. See UpdateImage. // Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImage API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImage API. // A default retry strategy applies to this operation CreateImage() func (client ComputeClient) CreateImage(ctx context.Context, request CreateImageRequest) (response CreateImageResponse, err error) { var ociResponse common.OCIResponse @@ -1472,11 +2043,11 @@ func (client ComputeClient) createImage(ctx context.Context, request common.OCIR // CreateInstanceConsoleConnection Creates a new console connection to the specified instance. // After the console connection has been created and is available, // you connect to the console using SSH. -// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm). +// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.oracle.com/iaas/Content/Compute/References/serialconsole.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnection API. func (client ComputeClient) CreateInstanceConsoleConnection(ctx context.Context, request CreateInstanceConsoleConnectionRequest) (response CreateInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1538,7 +2109,7 @@ func (client ComputeClient) createInstanceConsoleConnection(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscription API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscription API. func (client ComputeClient) DeleteAppCatalogSubscription(ctx context.Context, request DeleteAppCatalogSubscriptionRequest) (response DeleteAppCatalogSubscriptionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1595,7 +2166,7 @@ func (client ComputeClient) deleteAppCatalogSubscription(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservation API. func (client ComputeClient) DeleteComputeCapacityReservation(ctx context.Context, request DeleteComputeCapacityReservationRequest) (response DeleteComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1652,7 +2223,7 @@ func (client ComputeClient) deleteComputeCapacityReservation(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityTopology.go.html to see an example of how to use DeleteComputeCapacityTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityTopology.go.html to see an example of how to use DeleteComputeCapacityTopology API. // A default retry strategy applies to this operation DeleteComputeCapacityTopology() func (client ComputeClient) DeleteComputeCapacityTopology(ctx context.Context, request DeleteComputeCapacityTopologyRequest) (response DeleteComputeCapacityTopologyResponse, err error) { var ociResponse common.OCIResponse @@ -1706,14 +2277,14 @@ func (client ComputeClient) deleteComputeCapacityTopology(ctx context.Context, r return response, err } -// DeleteComputeCluster Deletes a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a +// DeleteComputeCluster Deletes a compute cluster. A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a // remote direct memory access (RDMA) network group. // Before you delete a compute cluster, first delete all instances in the cluster by using // the TerminateInstance operation. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeCluster API. func (client ComputeClient) DeleteComputeCluster(ctx context.Context, request DeleteComputeClusterRequest) (response DeleteComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1766,11 +2337,126 @@ func (client ComputeClient) deleteComputeCluster(ctx context.Context, request co return response, err } +// DeleteComputeGpuMemoryCluster Terminates and deletes the specified compute GPU memory cluster and underlying instances. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeGpuMemoryCluster.go.html to see an example of how to use DeleteComputeGpuMemoryCluster API. +// A default retry strategy applies to this operation DeleteComputeGpuMemoryCluster() +func (client ComputeClient) DeleteComputeGpuMemoryCluster(ctx context.Context, request DeleteComputeGpuMemoryClusterRequest) (response DeleteComputeGpuMemoryClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteComputeGpuMemoryCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteComputeGpuMemoryClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteComputeGpuMemoryClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteComputeGpuMemoryClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteComputeGpuMemoryClusterResponse") + } + return +} + +// deleteComputeGpuMemoryCluster implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) deleteComputeGpuMemoryCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteComputeGpuMemoryClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/DeleteComputeGpuMemoryCluster" + err = common.PostProcessServiceError(err, "Compute", "DeleteComputeGpuMemoryCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteComputeHostGroup Deletes the specified compute host group +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeHostGroup.go.html to see an example of how to use DeleteComputeHostGroup API. +func (client ComputeClient) DeleteComputeHostGroup(ctx context.Context, request DeleteComputeHostGroupRequest) (response DeleteComputeHostGroupResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteComputeHostGroup, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteComputeHostGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteComputeHostGroupResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteComputeHostGroupResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteComputeHostGroupResponse") + } + return +} + +// deleteComputeHostGroup implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) deleteComputeHostGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/computeHostGroups/{computeHostGroupId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteComputeHostGroupResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/DeleteComputeHostGroup" + err = common.PostProcessServiceError(err, "Compute", "DeleteComputeHostGroup", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // DeleteComputeImageCapabilitySchema Deletes the specified Compute Image Capability Schema // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchema API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchema API. func (client ComputeClient) DeleteComputeImageCapabilitySchema(ctx context.Context, request DeleteComputeImageCapabilitySchemaRequest) (response DeleteComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1827,7 +2513,7 @@ func (client ComputeClient) deleteComputeImageCapabilitySchema(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistory API. func (client ComputeClient) DeleteConsoleHistory(ctx context.Context, request DeleteConsoleHistoryRequest) (response DeleteConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1886,7 +2572,7 @@ func (client ComputeClient) deleteConsoleHistory(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHost API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHost API. func (client ComputeClient) DeleteDedicatedVmHost(ctx context.Context, request DeleteDedicatedVmHostRequest) (response DeleteDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1943,7 +2629,7 @@ func (client ComputeClient) deleteDedicatedVmHost(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImage API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImage API. func (client ComputeClient) DeleteImage(ctx context.Context, request DeleteImageRequest) (response DeleteImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2000,7 +2686,7 @@ func (client ComputeClient) deleteImage(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnection API. func (client ComputeClient) DeleteInstanceConsoleConnection(ctx context.Context, request DeleteInstanceConsoleConnectionRequest) (response DeleteInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2038,14 +2724,73 @@ func (client ComputeClient) deleteInstanceConsoleConnection(ctx context.Context, return nil, err } - var response DeleteInstanceConsoleConnectionResponse + var response DeleteInstanceConsoleConnectionResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/DeleteInstanceConsoleConnection" + err = common.PostProcessServiceError(err, "Compute", "DeleteInstanceConsoleConnection", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DetachBootVolume Detaches a boot volume from an instance. You must specify the OCID of the boot volume attachment. +// This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily +// until the attachment is completely removed. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolume API. +func (client ComputeClient) DetachBootVolume(ctx context.Context, request DetachBootVolumeRequest) (response DetachBootVolumeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.detachBootVolume, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DetachBootVolumeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DetachBootVolumeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DetachBootVolumeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DetachBootVolumeResponse") + } + return +} + +// detachBootVolume implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) detachBootVolume(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/bootVolumeAttachments/{bootVolumeAttachmentId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DetachBootVolumeResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConsoleConnection/DeleteInstanceConsoleConnection" - err = common.PostProcessServiceError(err, "Compute", "DeleteInstanceConsoleConnection", apiReferenceLink) + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "Compute", "DetachBootVolume", apiReferenceLink) return response, err } @@ -2053,58 +2798,62 @@ func (client ComputeClient) deleteInstanceConsoleConnection(ctx context.Context, return response, err } -// DetachBootVolume Detaches a boot volume from an instance. You must specify the OCID of the boot volume attachment. -// This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily -// until the attachment is completely removed. +// DetachComputeHostGroupHost Detaches the specified bare metal host from the compute host group // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolume API. -func (client ComputeClient) DetachBootVolume(ctx context.Context, request DetachBootVolumeRequest) (response DetachBootVolumeResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachComputeHostGroupHost.go.html to see an example of how to use DetachComputeHostGroupHost API. +// A default retry strategy applies to this operation DetachComputeHostGroupHost() +func (client ComputeClient) DetachComputeHostGroupHost(ctx context.Context, request DetachComputeHostGroupHostRequest) (response DetachComputeHostGroupHostResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.detachBootVolume, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.detachComputeHostGroupHost, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = DetachBootVolumeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = DetachComputeHostGroupHostResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = DetachBootVolumeResponse{} + response = DetachComputeHostGroupHostResponse{} } } return } - if convertedResponse, ok := ociResponse.(DetachBootVolumeResponse); ok { + if convertedResponse, ok := ociResponse.(DetachComputeHostGroupHostResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into DetachBootVolumeResponse") + err = fmt.Errorf("failed to convert OCIResponse into DetachComputeHostGroupHostResponse") } return } -// detachBootVolume implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) detachBootVolume(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// detachComputeHostGroupHost implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) detachComputeHostGroupHost(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodDelete, "/bootVolumeAttachments/{bootVolumeAttachmentId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/computeHosts/{computeHostId}/actions/detachFromHostGroup", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response DetachBootVolumeResponse + var response DetachComputeHostGroupHostResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "" - err = common.PostProcessServiceError(err, "Compute", "DetachBootVolume", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/DetachComputeHostGroupHost" + err = common.PostProcessServiceError(err, "Compute", "DetachComputeHostGroupHost", apiReferenceLink) return response, err } @@ -2118,13 +2867,13 @@ func (client ComputeClient) detachBootVolume(ctx context.Context, request common // and secondary) are automatically detached and deleted. // **Important:** If the VNIC has a // PrivateIp that is the -// target of a route rule (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), +// target of a route rule (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), // deleting the VNIC causes that route rule to blackhole and the traffic // will be dropped. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnic API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnic API. func (client ComputeClient) DetachVnic(ctx context.Context, request DetachVnicRequest) (response DetachVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2183,7 +2932,7 @@ func (client ComputeClient) detachVnic(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolume API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolume API. func (client ComputeClient) DetachVolume(ctx context.Context, request DetachVolumeRequest) (response DetachVolumeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2238,15 +2987,15 @@ func (client ComputeClient) detachVolume(ctx context.Context, request common.OCI // ExportImage Exports the specified image to the Oracle Cloud Infrastructure Object Storage service. You can use the Object Storage URL, // or the namespace, bucket name, and object name when specifying the location to export to. -// For more information about exporting images, see Image Import/Export (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm). +// For more information about exporting images, see Image Import/Export (https://docs.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm). // To perform an image export, you need write access to the Object Storage bucket for the image, -// see Let Users Write Objects to Object Storage Buckets (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/commonpolicies.htm#Let4). -// See Object Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) +// see Let Users Write Objects to Object Storage Buckets (https://docs.oracle.com/iaas/Content/Identity/Concepts/commonpolicies.htm#Let4). +// See Object Storage URLs (https://docs.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) // for constructing URLs for image import/export. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImage API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImage API. // A default retry strategy applies to this operation ExportImage() func (client ComputeClient) ExportImage(ctx context.Context, request ExportImageRequest) (response ExportImageResponse, err error) { var ociResponse common.OCIResponse @@ -2309,7 +3058,7 @@ func (client ComputeClient) exportImage(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListing API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListing API. // A default retry strategy applies to this operation GetAppCatalogListing() func (client ComputeClient) GetAppCatalogListing(ctx context.Context, request GetAppCatalogListingRequest) (response GetAppCatalogListingResponse, err error) { var ociResponse common.OCIResponse @@ -2367,7 +3116,7 @@ func (client ComputeClient) getAppCatalogListing(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreements API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreements API. // A default retry strategy applies to this operation GetAppCatalogListingAgreements() func (client ComputeClient) GetAppCatalogListingAgreements(ctx context.Context, request GetAppCatalogListingAgreementsRequest) (response GetAppCatalogListingAgreementsResponse, err error) { var ociResponse common.OCIResponse @@ -2425,7 +3174,7 @@ func (client ComputeClient) getAppCatalogListingAgreements(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersion API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersion API. // A default retry strategy applies to this operation GetAppCatalogListingResourceVersion() func (client ComputeClient) GetAppCatalogListingResourceVersion(ctx context.Context, request GetAppCatalogListingResourceVersionRequest) (response GetAppCatalogListingResourceVersionResponse, err error) { var ociResponse common.OCIResponse @@ -2483,7 +3232,7 @@ func (client ComputeClient) getAppCatalogListingResourceVersion(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachment API. func (client ComputeClient) GetBootVolumeAttachment(ctx context.Context, request GetBootVolumeAttachmentRequest) (response GetBootVolumeAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2540,7 +3289,7 @@ func (client ComputeClient) getBootVolumeAttachment(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservation API. func (client ComputeClient) GetComputeCapacityReservation(ctx context.Context, request GetComputeCapacityReservationRequest) (response GetComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2597,7 +3346,7 @@ func (client ComputeClient) getComputeCapacityReservation(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityTopology.go.html to see an example of how to use GetComputeCapacityTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityTopology.go.html to see an example of how to use GetComputeCapacityTopology API. // A default retry strategy applies to this operation GetComputeCapacityTopology() func (client ComputeClient) GetComputeCapacityTopology(ctx context.Context, request GetComputeCapacityTopologyRequest) (response GetComputeCapacityTopologyResponse, err error) { var ociResponse common.OCIResponse @@ -2651,12 +3400,12 @@ func (client ComputeClient) getComputeCapacityTopology(ctx context.Context, requ return response, err } -// GetComputeCluster Gets information about a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) +// GetComputeCluster Gets information about a compute cluster. A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) // is a remote direct memory access (RDMA) network group. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeCluster API. func (client ComputeClient) GetComputeCluster(ctx context.Context, request GetComputeClusterRequest) (response GetComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2713,7 +3462,7 @@ func (client ComputeClient) getComputeCluster(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchema API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchema API. // A default retry strategy applies to this operation GetComputeGlobalImageCapabilitySchema() func (client ComputeClient) GetComputeGlobalImageCapabilitySchema(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaRequest) (response GetComputeGlobalImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse @@ -2771,7 +3520,7 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchema(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersion API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersion API. // A default retry strategy applies to this operation GetComputeGlobalImageCapabilitySchemaVersion() func (client ComputeClient) GetComputeGlobalImageCapabilitySchemaVersion(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaVersionRequest) (response GetComputeGlobalImageCapabilitySchemaVersionResponse, err error) { var ociResponse common.OCIResponse @@ -2825,11 +3574,242 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchemaVersion(ctx con return response, err } +// GetComputeGpuMemoryCluster Gets information about the specified compute GPU memory cluster +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGpuMemoryCluster.go.html to see an example of how to use GetComputeGpuMemoryCluster API. +func (client ComputeClient) GetComputeGpuMemoryCluster(ctx context.Context, request GetComputeGpuMemoryClusterRequest) (response GetComputeGpuMemoryClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getComputeGpuMemoryCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetComputeGpuMemoryClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetComputeGpuMemoryClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetComputeGpuMemoryClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetComputeGpuMemoryClusterResponse") + } + return +} + +// getComputeGpuMemoryCluster implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getComputeGpuMemoryCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetComputeGpuMemoryClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/GetComputeGpuMemoryCluster" + err = common.PostProcessServiceError(err, "Compute", "GetComputeGpuMemoryCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetComputeGpuMemoryFabric Gets information about the specified compute GPU memory fabric +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGpuMemoryFabric.go.html to see an example of how to use GetComputeGpuMemoryFabric API. +// A default retry strategy applies to this operation GetComputeGpuMemoryFabric() +func (client ComputeClient) GetComputeGpuMemoryFabric(ctx context.Context, request GetComputeGpuMemoryFabricRequest) (response GetComputeGpuMemoryFabricResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getComputeGpuMemoryFabric, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetComputeGpuMemoryFabricResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetComputeGpuMemoryFabricResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetComputeGpuMemoryFabricResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetComputeGpuMemoryFabricResponse") + } + return +} + +// getComputeGpuMemoryFabric implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getComputeGpuMemoryFabric(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetComputeGpuMemoryFabricResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/GetComputeGpuMemoryFabric" + err = common.PostProcessServiceError(err, "Compute", "GetComputeGpuMemoryFabric", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetComputeHostGroup Gets information about the specified compute host group +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeHostGroup.go.html to see an example of how to use GetComputeHostGroup API. +// A default retry strategy applies to this operation GetComputeHostGroup() +func (client ComputeClient) GetComputeHostGroup(ctx context.Context, request GetComputeHostGroupRequest) (response GetComputeHostGroupResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getComputeHostGroup, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetComputeHostGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetComputeHostGroupResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetComputeHostGroupResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetComputeHostGroupResponse") + } + return +} + +// getComputeHostGroup implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getComputeHostGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeHostGroups/{computeHostGroupId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetComputeHostGroupResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/GetComputeHostGroup" + err = common.PostProcessServiceError(err, "Compute", "GetComputeHostGroup", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetComputeHosts Gets information about the specified compute host +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeHosts.go.html to see an example of how to use GetComputeHosts API. +// A default retry strategy applies to this operation GetComputeHosts() +func (client ComputeClient) GetComputeHosts(ctx context.Context, request GetComputeHostsRequest) (response GetComputeHostsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getComputeHosts, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetComputeHostsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetComputeHostsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetComputeHostsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetComputeHostsResponse") + } + return +} + +// getComputeHosts implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getComputeHosts(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeHosts/{computeHostId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetComputeHostsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/GetComputeHosts" + err = common.PostProcessServiceError(err, "Compute", "GetComputeHosts", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetComputeImageCapabilitySchema Gets the specified Compute Image Capability Schema // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchema API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchema API. // A default retry strategy applies to this operation GetComputeImageCapabilitySchema() func (client ComputeClient) GetComputeImageCapabilitySchema(ctx context.Context, request GetComputeImageCapabilitySchemaRequest) (response GetComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse @@ -2889,7 +3869,7 @@ func (client ComputeClient) getComputeImageCapabilitySchema(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistory API. func (client ComputeClient) GetConsoleHistory(ctx context.Context, request GetConsoleHistoryRequest) (response GetConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2948,7 +3928,7 @@ func (client ComputeClient) getConsoleHistory(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContent API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContent API. func (client ComputeClient) GetConsoleHistoryContent(ctx context.Context, request GetConsoleHistoryContentRequest) (response GetConsoleHistoryContentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2986,14 +3966,71 @@ func (client ComputeClient) getConsoleHistoryContent(ctx context.Context, reques return nil, err } - var response GetConsoleHistoryContentResponse + var response GetConsoleHistoryContentResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryContent" + err = common.PostProcessServiceError(err, "Compute", "GetConsoleHistoryContent", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetDedicatedVmHost Gets information about the specified dedicated virtual machine host. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHost API. +func (client ComputeClient) GetDedicatedVmHost(ctx context.Context, request GetDedicatedVmHostRequest) (response GetDedicatedVmHostResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getDedicatedVmHost, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetDedicatedVmHostResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetDedicatedVmHostResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetDedicatedVmHostResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetDedicatedVmHostResponse") + } + return +} + +// getDedicatedVmHost implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getDedicatedVmHost(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/dedicatedVmHosts/{dedicatedVmHostId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetDedicatedVmHostResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ConsoleHistory/GetConsoleHistoryContent" - err = common.PostProcessServiceError(err, "Compute", "GetConsoleHistoryContent", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/GetDedicatedVmHost" + err = common.PostProcessServiceError(err, "Compute", "GetDedicatedVmHost", apiReferenceLink) return response, err } @@ -3001,12 +4038,12 @@ func (client ComputeClient) getConsoleHistoryContent(ctx context.Context, reques return response, err } -// GetDedicatedVmHost Gets information about the specified dedicated virtual machine host. +// GetFirmwareBundle Returns the Firmware Bundle matching the provided firmwareBundleId. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHost API. -func (client ComputeClient) GetDedicatedVmHost(ctx context.Context, request GetDedicatedVmHostRequest) (response GetDedicatedVmHostResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFirmwareBundle.go.html to see an example of how to use GetFirmwareBundle API. +func (client ComputeClient) GetFirmwareBundle(ctx context.Context, request GetFirmwareBundleRequest) (response GetFirmwareBundleResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -3015,42 +4052,42 @@ func (client ComputeClient) GetDedicatedVmHost(ctx context.Context, request GetD if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.getDedicatedVmHost, policy) + ociResponse, err = common.Retry(ctx, request, client.getFirmwareBundle, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = GetDedicatedVmHostResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = GetFirmwareBundleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = GetDedicatedVmHostResponse{} + response = GetFirmwareBundleResponse{} } } return } - if convertedResponse, ok := ociResponse.(GetDedicatedVmHostResponse); ok { + if convertedResponse, ok := ociResponse.(GetFirmwareBundleResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into GetDedicatedVmHostResponse") + err = fmt.Errorf("failed to convert OCIResponse into GetFirmwareBundleResponse") } return } -// getDedicatedVmHost implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) getDedicatedVmHost(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// getFirmwareBundle implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) getFirmwareBundle(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/dedicatedVmHosts/{dedicatedVmHostId}", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/firmwareBundles/{firmwareBundleId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response GetDedicatedVmHostResponse + var response GetFirmwareBundleResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/DedicatedVmHost/GetDedicatedVmHost" - err = common.PostProcessServiceError(err, "Compute", "GetDedicatedVmHost", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FirmwareBundle/GetFirmwareBundle" + err = common.PostProcessServiceError(err, "Compute", "GetFirmwareBundle", apiReferenceLink) return response, err } @@ -3062,7 +4099,7 @@ func (client ComputeClient) getDedicatedVmHost(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImage API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImage API. // A default retry strategy applies to this operation GetImage() func (client ComputeClient) GetImage(ctx context.Context, request GetImageRequest) (response GetImageResponse, err error) { var ociResponse common.OCIResponse @@ -3120,7 +4157,7 @@ func (client ComputeClient) getImage(ctx context.Context, request common.OCIRequ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntry API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntry API. // A default retry strategy applies to this operation GetImageShapeCompatibilityEntry() func (client ComputeClient) GetImageShapeCompatibilityEntry(ctx context.Context, request GetImageShapeCompatibilityEntryRequest) (response GetImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse @@ -3180,7 +4217,7 @@ func (client ComputeClient) getImageShapeCompatibilityEntry(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstance API. func (client ComputeClient) GetInstance(ctx context.Context, request GetInstanceRequest) (response GetInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3237,7 +4274,7 @@ func (client ComputeClient) getInstance(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnection API. func (client ComputeClient) GetInstanceConsoleConnection(ctx context.Context, request GetInstanceConsoleConnectionRequest) (response GetInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3294,7 +4331,7 @@ func (client ComputeClient) getInstanceConsoleConnection(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceEvent.go.html to see an example of how to use GetInstanceMaintenanceEvent API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceEvent.go.html to see an example of how to use GetInstanceMaintenanceEvent API. func (client ComputeClient) GetInstanceMaintenanceEvent(ctx context.Context, request GetInstanceMaintenanceEventRequest) (response GetInstanceMaintenanceEventResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3348,11 +4385,11 @@ func (client ComputeClient) getInstanceMaintenanceEvent(ctx context.Context, req } // GetInstanceMaintenanceReboot Gets the maximum possible date that a maintenance reboot can be extended. For more information, see -// Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). +// Infrastructure Maintenance (https://docs.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceReboot API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceReboot API. func (client ComputeClient) GetInstanceMaintenanceReboot(ctx context.Context, request GetInstanceMaintenanceRebootRequest) (response GetInstanceMaintenanceRebootResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3409,7 +4446,7 @@ func (client ComputeClient) getInstanceMaintenanceReboot(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReport API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReport API. func (client ComputeClient) GetMeasuredBootReport(ctx context.Context, request GetMeasuredBootReportRequest) (response GetMeasuredBootReportResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3466,7 +4503,7 @@ func (client ComputeClient) getMeasuredBootReport(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachment API. func (client ComputeClient) GetVnicAttachment(ctx context.Context, request GetVnicAttachmentRequest) (response GetVnicAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3523,7 +4560,7 @@ func (client ComputeClient) getVnicAttachment(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachment API. func (client ComputeClient) GetVolumeAttachment(ctx context.Context, request GetVolumeAttachmentRequest) (response GetVolumeAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3581,7 +4618,7 @@ func (client ComputeClient) getVolumeAttachment(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentials API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentials API. func (client ComputeClient) GetWindowsInstanceInitialCredentials(ctx context.Context, request GetWindowsInstanceInitialCredentialsRequest) (response GetWindowsInstanceInitialCredentialsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3652,23 +4689,23 @@ func (client ComputeClient) getWindowsInstanceInitialCredentials(ctx context.Con // OS to crash and then reboot. Before you send a diagnostic interrupt, you must configure the instance to generate a // crash dump file when it crashes. The crash dump captures information about the state of the OS at the time of // the crash. After the OS restarts, you can analyze the crash dump to diagnose the issue. For more information, see -// Sending a Diagnostic Interrupt (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/sendingdiagnosticinterrupt.htm). +// Sending a Diagnostic Interrupt (https://docs.oracle.com/iaas/Content/Compute/Tasks/sendingdiagnosticinterrupt.htm). // // - **DIAGNOSTICREBOOT** - Powers off the instance, rebuilds it, and then powers it back on. // Before you send a diagnostic reboot, restart the instance's OS, confirm that the instance and networking settings are configured -// correctly, and try other troubleshooting steps (https://docs.cloud.oracle.com/iaas/Content/Compute/References/troubleshooting-compute-instances.htm). +// correctly, and try other troubleshooting steps (https://docs.oracle.com/iaas/Content/Compute/References/troubleshooting-compute-instances.htm). // Use diagnostic reboot as a final attempt to troubleshoot an unreachable instance. For virtual machine (VM) instances only. -// For more information, see Performing a Diagnostic Reboot (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/diagnostic-reboot.htm). +// For more information, see Performing a Diagnostic Reboot (https://docs.oracle.com/iaas/Content/Compute/Tasks/diagnostic-reboot.htm). // // - **REBOOTMIGRATE** - Powers off the instance, moves it to new hardware, and then powers it back on. For more information, see -// Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). +// Infrastructure Maintenance (https://docs.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). // // For more information about managing instance lifecycle states, see -// Stopping and Starting an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/restartinginstance.htm). +// Stopping and Starting an Instance (https://docs.oracle.com/iaas/Content/Compute/Tasks/restartinginstance.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceAction API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceAction API. func (client ComputeClient) InstanceAction(ctx context.Context, request InstanceActionRequest) (response InstanceActionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3728,11 +4765,11 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O // LaunchInstance Creates a new instance in the specified compartment and the specified availability domain. // For general information about instances, see -// Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). +// Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). // For information about access control and compartments, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about availability domains, see -// Regions and Availability Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm). +// Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of availability domains, use the `ListAvailabilityDomains` operation // in the Identity and Access Management Service API. // All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned, @@ -3750,7 +4787,7 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O // operation to get the VNIC ID for the instance, and then call // GetVnic with the VNIC ID. // You can later add secondary VNICs to an instance. For more information, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). +// Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). // To launch an instance from a Marketplace image listing, you must provide the image ID of the // listing resource version that you want, but you also must subscribe to the listing before you try // to launch the instance. To subscribe to the listing, use the GetAppCatalogListingAgreements @@ -3769,7 +4806,7 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstance API. func (client ComputeClient) LaunchInstance(ctx context.Context, request LaunchInstanceRequest) (response LaunchInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3831,7 +4868,7 @@ func (client ComputeClient) launchInstance(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersions API. // A default retry strategy applies to this operation ListAppCatalogListingResourceVersions() func (client ComputeClient) ListAppCatalogListingResourceVersions(ctx context.Context, request ListAppCatalogListingResourceVersionsRequest) (response ListAppCatalogListingResourceVersionsResponse, err error) { var ociResponse common.OCIResponse @@ -3889,7 +4926,7 @@ func (client ComputeClient) listAppCatalogListingResourceVersions(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListings API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListings API. // A default retry strategy applies to this operation ListAppCatalogListings() func (client ComputeClient) ListAppCatalogListings(ctx context.Context, request ListAppCatalogListingsRequest) (response ListAppCatalogListingsResponse, err error) { var ociResponse common.OCIResponse @@ -3947,7 +4984,7 @@ func (client ComputeClient) listAppCatalogListings(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptions API. // A default retry strategy applies to this operation ListAppCatalogSubscriptions() func (client ComputeClient) ListAppCatalogSubscriptions(ctx context.Context, request ListAppCatalogSubscriptionsRequest) (response ListAppCatalogSubscriptionsResponse, err error) { var ociResponse common.OCIResponse @@ -4006,7 +5043,7 @@ func (client ComputeClient) listAppCatalogSubscriptions(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachments API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachments API. func (client ComputeClient) ListBootVolumeAttachments(ctx context.Context, request ListBootVolumeAttachmentsRequest) (response ListBootVolumeAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4063,7 +5100,7 @@ func (client ComputeClient) listBootVolumeAttachments(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapes API. func (client ComputeClient) ListComputeCapacityReservationInstanceShapes(ctx context.Context, request ListComputeCapacityReservationInstanceShapesRequest) (response ListComputeCapacityReservationInstanceShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4120,7 +5157,7 @@ func (client ComputeClient) listComputeCapacityReservationInstanceShapes(ctx con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstances API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstances API. func (client ComputeClient) ListComputeCapacityReservationInstances(ctx context.Context, request ListComputeCapacityReservationInstancesRequest) (response ListComputeCapacityReservationInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4179,7 +5216,7 @@ func (client ComputeClient) listComputeCapacityReservationInstances(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservations API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservations API. func (client ComputeClient) ListComputeCapacityReservations(ctx context.Context, request ListComputeCapacityReservationsRequest) (response ListComputeCapacityReservationsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4237,7 +5274,7 @@ func (client ComputeClient) listComputeCapacityReservations(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologies.go.html to see an example of how to use ListComputeCapacityTopologies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologies.go.html to see an example of how to use ListComputeCapacityTopologies API. // A default retry strategy applies to this operation ListComputeCapacityTopologies() func (client ComputeClient) ListComputeCapacityTopologies(ctx context.Context, request ListComputeCapacityTopologiesRequest) (response ListComputeCapacityTopologiesResponse, err error) { var ociResponse common.OCIResponse @@ -4295,7 +5332,7 @@ func (client ComputeClient) listComputeCapacityTopologies(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeBareMetalHosts.go.html to see an example of how to use ListComputeCapacityTopologyComputeBareMetalHosts API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeBareMetalHosts.go.html to see an example of how to use ListComputeCapacityTopologyComputeBareMetalHosts API. // A default retry strategy applies to this operation ListComputeCapacityTopologyComputeBareMetalHosts() func (client ComputeClient) ListComputeCapacityTopologyComputeBareMetalHosts(ctx context.Context, request ListComputeCapacityTopologyComputeBareMetalHostsRequest) (response ListComputeCapacityTopologyComputeBareMetalHostsResponse, err error) { var ociResponse common.OCIResponse @@ -4353,7 +5390,7 @@ func (client ComputeClient) listComputeCapacityTopologyComputeBareMetalHosts(ctx // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeHpcIslands.go.html to see an example of how to use ListComputeCapacityTopologyComputeHpcIslands API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeHpcIslands.go.html to see an example of how to use ListComputeCapacityTopologyComputeHpcIslands API. // A default retry strategy applies to this operation ListComputeCapacityTopologyComputeHpcIslands() func (client ComputeClient) ListComputeCapacityTopologyComputeHpcIslands(ctx context.Context, request ListComputeCapacityTopologyComputeHpcIslandsRequest) (response ListComputeCapacityTopologyComputeHpcIslandsResponse, err error) { var ociResponse common.OCIResponse @@ -4411,7 +5448,7 @@ func (client ComputeClient) listComputeCapacityTopologyComputeHpcIslands(ctx con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeNetworkBlocks.go.html to see an example of how to use ListComputeCapacityTopologyComputeNetworkBlocks API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeNetworkBlocks.go.html to see an example of how to use ListComputeCapacityTopologyComputeNetworkBlocks API. // A default retry strategy applies to this operation ListComputeCapacityTopologyComputeNetworkBlocks() func (client ComputeClient) ListComputeCapacityTopologyComputeNetworkBlocks(ctx context.Context, request ListComputeCapacityTopologyComputeNetworkBlocksRequest) (response ListComputeCapacityTopologyComputeNetworkBlocksResponse, err error) { var ociResponse common.OCIResponse @@ -4466,11 +5503,11 @@ func (client ComputeClient) listComputeCapacityTopologyComputeNetworkBlocks(ctx } // ListComputeClusters Lists the compute clusters in the specified compartment. -// A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. +// A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory access (RDMA) network group. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClusters API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClusters API. func (client ComputeClient) ListComputeClusters(ctx context.Context, request ListComputeClustersRequest) (response ListComputeClustersResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4527,7 +5564,7 @@ func (client ComputeClient) listComputeClusters(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersions API. // A default retry strategy applies to this operation ListComputeGlobalImageCapabilitySchemaVersions() func (client ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request ListComputeGlobalImageCapabilitySchemaVersionsRequest) (response ListComputeGlobalImageCapabilitySchemaVersionsResponse, err error) { var ociResponse common.OCIResponse @@ -4553,27 +5590,317 @@ func (client ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions(ctx c if convertedResponse, ok := ociResponse.(ListComputeGlobalImageCapabilitySchemaVersionsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListComputeGlobalImageCapabilitySchemaVersionsResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListComputeGlobalImageCapabilitySchemaVersionsResponse") + } + return +} + +// listComputeGlobalImageCapabilitySchemaVersions implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}/versions", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListComputeGlobalImageCapabilitySchemaVersionsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaVersionSummary/ListComputeGlobalImageCapabilitySchemaVersions" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGlobalImageCapabilitySchemaVersions", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListComputeGlobalImageCapabilitySchemas Lists Compute Global Image Capability Schema in the specified compartment. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemas API. +// A default retry strategy applies to this operation ListComputeGlobalImageCapabilitySchemas() +func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context.Context, request ListComputeGlobalImageCapabilitySchemasRequest) (response ListComputeGlobalImageCapabilitySchemasResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listComputeGlobalImageCapabilitySchemas, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListComputeGlobalImageCapabilitySchemasResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListComputeGlobalImageCapabilitySchemasResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListComputeGlobalImageCapabilitySchemasResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListComputeGlobalImageCapabilitySchemasResponse") + } + return +} + +// listComputeGlobalImageCapabilitySchemas implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeGlobalImageCapabilitySchemas(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGlobalImageCapabilitySchemas", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListComputeGlobalImageCapabilitySchemasResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaSummary/ListComputeGlobalImageCapabilitySchemas" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGlobalImageCapabilitySchemas", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListComputeGpuMemoryClusterInstances List all of the GPU memory cluster instances. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGpuMemoryClusterInstances.go.html to see an example of how to use ListComputeGpuMemoryClusterInstances API. +// A default retry strategy applies to this operation ListComputeGpuMemoryClusterInstances() +func (client ComputeClient) ListComputeGpuMemoryClusterInstances(ctx context.Context, request ListComputeGpuMemoryClusterInstancesRequest) (response ListComputeGpuMemoryClusterInstancesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listComputeGpuMemoryClusterInstances, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListComputeGpuMemoryClusterInstancesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListComputeGpuMemoryClusterInstancesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListComputeGpuMemoryClusterInstancesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListComputeGpuMemoryClusterInstancesResponse") + } + return +} + +// listComputeGpuMemoryClusterInstances implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeGpuMemoryClusterInstances(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}/instances", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListComputeGpuMemoryClusterInstancesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryClusterInstanceSummary/ListComputeGpuMemoryClusterInstances" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGpuMemoryClusterInstances", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListComputeGpuMemoryClusters List all of the compute GPU memory clusters. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGpuMemoryClusters.go.html to see an example of how to use ListComputeGpuMemoryClusters API. +// A default retry strategy applies to this operation ListComputeGpuMemoryClusters() +func (client ComputeClient) ListComputeGpuMemoryClusters(ctx context.Context, request ListComputeGpuMemoryClustersRequest) (response ListComputeGpuMemoryClustersResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listComputeGpuMemoryClusters, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListComputeGpuMemoryClustersResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListComputeGpuMemoryClustersResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListComputeGpuMemoryClustersResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListComputeGpuMemoryClustersResponse") + } + return +} + +// listComputeGpuMemoryClusters implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeGpuMemoryClusters(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGpuMemoryClusters", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListComputeGpuMemoryClustersResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/ListComputeGpuMemoryClusters" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGpuMemoryClusters", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListComputeGpuMemoryFabrics Lists the compute GPU memory fabrics that match the specified criteria and compartmentId. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGpuMemoryFabrics.go.html to see an example of how to use ListComputeGpuMemoryFabrics API. +// A default retry strategy applies to this operation ListComputeGpuMemoryFabrics() +func (client ComputeClient) ListComputeGpuMemoryFabrics(ctx context.Context, request ListComputeGpuMemoryFabricsRequest) (response ListComputeGpuMemoryFabricsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listComputeGpuMemoryFabrics, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListComputeGpuMemoryFabricsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListComputeGpuMemoryFabricsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListComputeGpuMemoryFabricsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListComputeGpuMemoryFabricsResponse") + } + return +} + +// listComputeGpuMemoryFabrics implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeGpuMemoryFabrics(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGpuMemoryFabrics", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListComputeGpuMemoryFabricsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/ListComputeGpuMemoryFabrics" + err = common.PostProcessServiceError(err, "Compute", "ListComputeGpuMemoryFabrics", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListComputeHostGroups Lists the compute host groups that match the specified criteria and compartment. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeHostGroups.go.html to see an example of how to use ListComputeHostGroups API. +// A default retry strategy applies to this operation ListComputeHostGroups() +func (client ComputeClient) ListComputeHostGroups(ctx context.Context, request ListComputeHostGroupsRequest) (response ListComputeHostGroupsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listComputeHostGroups, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListComputeHostGroupsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListComputeHostGroupsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListComputeHostGroupsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListComputeHostGroupsResponse") } return } -// listComputeGlobalImageCapabilitySchemaVersions implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) listComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listComputeHostGroups implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeHostGroups(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}/versions", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeHostGroups", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListComputeGlobalImageCapabilitySchemaVersionsResponse + var response ListComputeHostGroupsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaVersionSummary/ListComputeGlobalImageCapabilitySchemaVersions" - err = common.PostProcessServiceError(err, "Compute", "ListComputeGlobalImageCapabilitySchemaVersions", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/ListComputeHostGroups" + err = common.PostProcessServiceError(err, "Compute", "ListComputeHostGroups", apiReferenceLink) return response, err } @@ -4581,13 +5908,13 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemaVersions(ctx c return response, err } -// ListComputeGlobalImageCapabilitySchemas Lists Compute Global Image Capability Schema in the specified compartment. +// ListComputeHosts Generates a list of summary host details // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemas API. -// A default retry strategy applies to this operation ListComputeGlobalImageCapabilitySchemas() -func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context.Context, request ListComputeGlobalImageCapabilitySchemasRequest) (response ListComputeGlobalImageCapabilitySchemasResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeHosts.go.html to see an example of how to use ListComputeHosts API. +// A default retry strategy applies to this operation ListComputeHosts() +func (client ComputeClient) ListComputeHosts(ctx context.Context, request ListComputeHostsRequest) (response ListComputeHostsResponse, err error) { var ociResponse common.OCIResponse policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { @@ -4596,42 +5923,42 @@ func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context. if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.listComputeGlobalImageCapabilitySchemas, policy) + ociResponse, err = common.Retry(ctx, request, client.listComputeHosts, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ListComputeGlobalImageCapabilitySchemasResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = ListComputeHostsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ListComputeGlobalImageCapabilitySchemasResponse{} + response = ListComputeHostsResponse{} } } return } - if convertedResponse, ok := ociResponse.(ListComputeGlobalImageCapabilitySchemasResponse); ok { + if convertedResponse, ok := ociResponse.(ListComputeHostsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ListComputeGlobalImageCapabilitySchemasResponse") + err = fmt.Errorf("failed to convert OCIResponse into ListComputeHostsResponse") } return } -// listComputeGlobalImageCapabilitySchemas implements the OCIOperation interface (enables retrying operations) -func (client ComputeClient) listComputeGlobalImageCapabilitySchemas(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// listComputeHosts implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listComputeHosts(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeGlobalImageCapabilitySchemas", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodGet, "/computeHosts", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ListComputeGlobalImageCapabilitySchemasResponse + var response ListComputeHostsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGlobalImageCapabilitySchemaSummary/ListComputeGlobalImageCapabilitySchemas" - err = common.PostProcessServiceError(err, "Compute", "ListComputeGlobalImageCapabilitySchemas", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ListComputeHosts" + err = common.PostProcessServiceError(err, "Compute", "ListComputeHosts", apiReferenceLink) return response, err } @@ -4643,7 +5970,7 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemas(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemas API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemas API. // A default retry strategy applies to this operation ListComputeImageCapabilitySchemas() func (client ComputeClient) ListComputeImageCapabilitySchemas(ctx context.Context, request ListComputeImageCapabilitySchemasRequest) (response ListComputeImageCapabilitySchemasResponse, err error) { var ociResponse common.OCIResponse @@ -4701,7 +6028,7 @@ func (client ComputeClient) listComputeImageCapabilitySchemas(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistories API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistories API. func (client ComputeClient) ListConsoleHistories(ctx context.Context, request ListConsoleHistoriesRequest) (response ListConsoleHistoriesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4759,7 +6086,7 @@ func (client ComputeClient) listConsoleHistories(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapes API. func (client ComputeClient) ListDedicatedVmHostInstanceShapes(ctx context.Context, request ListDedicatedVmHostInstanceShapesRequest) (response ListDedicatedVmHostInstanceShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4816,7 +6143,7 @@ func (client ComputeClient) listDedicatedVmHostInstanceShapes(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstances API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstances API. func (client ComputeClient) ListDedicatedVmHostInstances(ctx context.Context, request ListDedicatedVmHostInstancesRequest) (response ListDedicatedVmHostInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4873,7 +6200,7 @@ func (client ComputeClient) listDedicatedVmHostInstances(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapes API. func (client ComputeClient) ListDedicatedVmHostShapes(ctx context.Context, request ListDedicatedVmHostShapesRequest) (response ListDedicatedVmHostShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4932,7 +6259,7 @@ func (client ComputeClient) listDedicatedVmHostShapes(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHosts API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHosts API. func (client ComputeClient) ListDedicatedVmHosts(ctx context.Context, request ListDedicatedVmHostsRequest) (response ListDedicatedVmHostsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4985,11 +6312,69 @@ func (client ComputeClient) listDedicatedVmHosts(ctx context.Context, request co return response, err } +// ListFirmwareBundles Gets a list of all Firmware Bundles in a compartment for specified platform. Can filter results to include +// only the default (recommended) Firmware Bundle for the given platform. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFirmwareBundles.go.html to see an example of how to use ListFirmwareBundles API. +func (client ComputeClient) ListFirmwareBundles(ctx context.Context, request ListFirmwareBundlesRequest) (response ListFirmwareBundlesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listFirmwareBundles, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListFirmwareBundlesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListFirmwareBundlesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListFirmwareBundlesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListFirmwareBundlesResponse") + } + return +} + +// listFirmwareBundles implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) listFirmwareBundles(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/firmwareBundles", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListFirmwareBundlesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FirmwareBundlesCollection/ListFirmwareBundles" + err = common.PostProcessServiceError(err, "Compute", "ListFirmwareBundles", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListImageShapeCompatibilityEntries Lists the compatible shapes for the specified image. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntries API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntries API. // A default retry strategy applies to this operation ListImageShapeCompatibilityEntries() func (client ComputeClient) ListImageShapeCompatibilityEntries(ctx context.Context, request ListImageShapeCompatibilityEntriesRequest) (response ListImageShapeCompatibilityEntriesResponse, err error) { var ociResponse common.OCIResponse @@ -5044,8 +6429,8 @@ func (client ComputeClient) listImageShapeCompatibilityEntries(ctx context.Conte } // ListImages Lists a subset of images available in the specified compartment, including -// platform images (https://docs.cloud.oracle.com/iaas/Content/Compute/References/images.htm) and -// custom images (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). +// platform images (https://docs.oracle.com/iaas/Content/Compute/References/images.htm) and +// custom images (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm). // The list of platform images includes the three most recently published versions // of each major distribution. The list does not support filtering based on image tags. // The list of images returned is ordered to first show the recent platform images, @@ -5055,7 +6440,7 @@ func (client ComputeClient) listImageShapeCompatibilityEntries(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImages API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImages API. // A default retry strategy applies to this operation ListImages() func (client ComputeClient) ListImages(ctx context.Context, request ListImagesRequest) (response ListImagesResponse, err error) { var ociResponse common.OCIResponse @@ -5110,11 +6495,11 @@ func (client ComputeClient) listImages(ctx context.Context, request common.OCIRe } // ListInstanceConsoleConnections Lists the console connections for the specified compartment or instance. -// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm). +// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.oracle.com/iaas/Content/Compute/References/serialconsole.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnections API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnections API. func (client ComputeClient) ListInstanceConsoleConnections(ctx context.Context, request ListInstanceConsoleConnectionsRequest) (response ListInstanceConsoleConnectionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5171,7 +6556,7 @@ func (client ComputeClient) listInstanceConsoleConnections(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevices API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevices API. func (client ComputeClient) ListInstanceDevices(ctx context.Context, request ListInstanceDevicesRequest) (response ListInstanceDevicesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5224,11 +6609,11 @@ func (client ComputeClient) listInstanceDevices(ctx context.Context, request com return response, err } -// ListInstanceMaintenanceEvents Gets a list of all the maintenance events for the given instance. +// ListInstanceMaintenanceEvents Gets a list of all the maintenance events for the given compartment. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceMaintenanceEvents.go.html to see an example of how to use ListInstanceMaintenanceEvents API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceMaintenanceEvents.go.html to see an example of how to use ListInstanceMaintenanceEvents API. func (client ComputeClient) ListInstanceMaintenanceEvents(ctx context.Context, request ListInstanceMaintenanceEventsRequest) (response ListInstanceMaintenanceEventsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5289,7 +6674,7 @@ func (client ComputeClient) listInstanceMaintenanceEvents(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstances API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstances API. func (client ComputeClient) ListInstances(ctx context.Context, request ListInstancesRequest) (response ListInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5347,7 +6732,7 @@ func (client ComputeClient) listInstances(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapes API. func (client ComputeClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5406,7 +6791,7 @@ func (client ComputeClient) listShapes(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachments API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachments API. func (client ComputeClient) ListVnicAttachments(ctx context.Context, request ListVnicAttachmentsRequest) (response ListVnicAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5482,7 +6867,7 @@ func (m *listvolumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachments API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachments API. func (client ComputeClient) ListVolumeAttachments(ctx context.Context, request ListVolumeAttachmentsRequest) (response ListVolumeAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5539,7 +6924,7 @@ func (client ComputeClient) listVolumeAttachments(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntry API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntry API. func (client ComputeClient) RemoveImageShapeCompatibilityEntry(ctx context.Context, request RemoveImageShapeCompatibilityEntryRequest) (response RemoveImageShapeCompatibilityEntryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5604,7 +6989,7 @@ func (client ComputeClient) removeImageShapeCompatibilityEntry(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstance API. func (client ComputeClient) TerminateInstance(ctx context.Context, request TerminateInstanceRequest) (response TerminateInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5663,7 +7048,7 @@ func (client ComputeClient) terminateInstance(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservation API. func (client ComputeClient) UpdateComputeCapacityReservation(ctx context.Context, request UpdateComputeCapacityReservationRequest) (response UpdateComputeCapacityReservationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5720,7 +7105,7 @@ func (client ComputeClient) updateComputeCapacityReservation(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityTopology.go.html to see an example of how to use UpdateComputeCapacityTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityTopology.go.html to see an example of how to use UpdateComputeCapacityTopology API. // A default retry strategy applies to this operation UpdateComputeCapacityTopology() func (client ComputeClient) UpdateComputeCapacityTopology(ctx context.Context, request UpdateComputeCapacityTopologyRequest) (response UpdateComputeCapacityTopologyResponse, err error) { var ociResponse common.OCIResponse @@ -5774,7 +7159,7 @@ func (client ComputeClient) updateComputeCapacityTopology(ctx context.Context, r return response, err } -// UpdateComputeCluster Updates a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a +// UpdateComputeCluster Updates a compute cluster. A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a // remote direct memory access (RDMA) network group. // To create instances within a compute cluster, use the LaunchInstance // operation. @@ -5783,7 +7168,7 @@ func (client ComputeClient) updateComputeCapacityTopology(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeCluster API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeCluster API. func (client ComputeClient) UpdateComputeCluster(ctx context.Context, request UpdateComputeClusterRequest) (response UpdateComputeClusterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5841,11 +7226,264 @@ func (client ComputeClient) updateComputeCluster(ctx context.Context, request co return response, err } +// UpdateComputeGpuMemoryCluster Updates a compute gpu memory cluster resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeGpuMemoryCluster.go.html to see an example of how to use UpdateComputeGpuMemoryCluster API. +// A default retry strategy applies to this operation UpdateComputeGpuMemoryCluster() +func (client ComputeClient) UpdateComputeGpuMemoryCluster(ctx context.Context, request UpdateComputeGpuMemoryClusterRequest) (response UpdateComputeGpuMemoryClusterResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.updateComputeGpuMemoryCluster, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateComputeGpuMemoryClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateComputeGpuMemoryClusterResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateComputeGpuMemoryClusterResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateComputeGpuMemoryClusterResponse") + } + return +} + +// updateComputeGpuMemoryCluster implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) updateComputeGpuMemoryCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/computeGpuMemoryClusters/{computeGpuMemoryClusterId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateComputeGpuMemoryClusterResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryCluster/UpdateComputeGpuMemoryCluster" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeGpuMemoryCluster", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateComputeGpuMemoryFabric Customer can update displayName, tags and desired firmware bundle, recycle level for +// compute GPU memory fabric record +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeGpuMemoryFabric.go.html to see an example of how to use UpdateComputeGpuMemoryFabric API. +// A default retry strategy applies to this operation UpdateComputeGpuMemoryFabric() +func (client ComputeClient) UpdateComputeGpuMemoryFabric(ctx context.Context, request UpdateComputeGpuMemoryFabricRequest) (response UpdateComputeGpuMemoryFabricResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.updateComputeGpuMemoryFabric, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateComputeGpuMemoryFabricResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateComputeGpuMemoryFabricResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateComputeGpuMemoryFabricResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateComputeGpuMemoryFabricResponse") + } + return +} + +// updateComputeGpuMemoryFabric implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) updateComputeGpuMemoryFabric(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/computeGpuMemoryFabrics/{computeGpuMemoryFabricId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateComputeGpuMemoryFabricResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeGpuMemoryFabric/UpdateComputeGpuMemoryFabric" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeGpuMemoryFabric", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateComputeHostGroup Updates the specified compute host group details. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeHostGroup.go.html to see an example of how to use UpdateComputeHostGroup API. +// A default retry strategy applies to this operation UpdateComputeHostGroup() +func (client ComputeClient) UpdateComputeHostGroup(ctx context.Context, request UpdateComputeHostGroupRequest) (response UpdateComputeHostGroupResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.updateComputeHostGroup, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateComputeHostGroupResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateComputeHostGroupResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateComputeHostGroupResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateComputeHostGroupResponse") + } + return +} + +// updateComputeHostGroup implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) updateComputeHostGroup(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/computeHostGroups/{computeHostGroupId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateComputeHostGroupResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHostGroup/UpdateComputeHostGroup" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeHostGroup", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateComputeHosts Customer can update the some fields for ComputeHost record +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeHosts.go.html to see an example of how to use UpdateComputeHosts API. +// A default retry strategy applies to this operation UpdateComputeHosts() +func (client ComputeClient) UpdateComputeHosts(ctx context.Context, request UpdateComputeHostsRequest) (response UpdateComputeHostsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.updateComputeHosts, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateComputeHostsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateComputeHostsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateComputeHostsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateComputeHostsResponse") + } + return +} + +// updateComputeHosts implements the OCIOperation interface (enables retrying operations) +func (client ComputeClient) updateComputeHosts(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/computeHosts/{computeHostId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateComputeHostsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/UpdateComputeHosts" + err = common.PostProcessServiceError(err, "Compute", "UpdateComputeHosts", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateComputeImageCapabilitySchema Updates the specified Compute Image Capability Schema // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchema API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchema API. func (client ComputeClient) UpdateComputeImageCapabilitySchema(ctx context.Context, request UpdateComputeImageCapabilitySchemaRequest) (response UpdateComputeImageCapabilitySchemaResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5902,7 +7540,7 @@ func (client ComputeClient) updateComputeImageCapabilitySchema(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistory API. func (client ComputeClient) UpdateConsoleHistory(ctx context.Context, request UpdateConsoleHistoryRequest) (response UpdateConsoleHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5960,7 +7598,7 @@ func (client ComputeClient) updateConsoleHistory(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHost API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHost API. func (client ComputeClient) UpdateDedicatedVmHost(ctx context.Context, request UpdateDedicatedVmHostRequest) (response UpdateDedicatedVmHostResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6022,7 +7660,7 @@ func (client ComputeClient) updateDedicatedVmHost(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImage API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImage API. func (client ComputeClient) UpdateImage(ctx context.Context, request UpdateImageRequest) (response UpdateImageResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6088,7 +7726,7 @@ func (client ComputeClient) updateImage(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstance API. func (client ComputeClient) UpdateInstance(ctx context.Context, request UpdateInstanceRequest) (response UpdateInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6150,7 +7788,7 @@ func (client ComputeClient) updateInstance(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnection API. func (client ComputeClient) UpdateInstanceConsoleConnection(ctx context.Context, request UpdateInstanceConsoleConnectionRequest) (response UpdateInstanceConsoleConnectionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6207,7 +7845,7 @@ func (client ComputeClient) updateInstanceConsoleConnection(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceMaintenanceEvent.go.html to see an example of how to use UpdateInstanceMaintenanceEvent API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceMaintenanceEvent.go.html to see an example of how to use UpdateInstanceMaintenanceEvent API. // A default retry strategy applies to this operation UpdateInstanceMaintenanceEvent() func (client ComputeClient) UpdateInstanceMaintenanceEvent(ctx context.Context, request UpdateInstanceMaintenanceEventRequest) (response UpdateInstanceMaintenanceEventResponse, err error) { var ociResponse common.OCIResponse @@ -6270,7 +7908,7 @@ func (client ComputeClient) updateInstanceMaintenanceEvent(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachment API. func (client ComputeClient) UpdateVolumeAttachment(ctx context.Context, request UpdateVolumeAttachmentRequest) (response UpdateVolumeAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go index d7a1108418..dc6f495db6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -99,11 +99,11 @@ func (client *ComputeManagementClient) ConfigurationProvider() *common.Configura // AttachInstancePoolInstance Attaches an instance to an instance pool. For information about the prerequisites // that an instance must meet before you can attach it to a pool, see -// Attaching an Instance to an Instance Pool (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/updatinginstancepool.htm#attach-instance). +// Attaching an Instance to an Instance Pool (https://docs.oracle.com/iaas/Content/Compute/Tasks/updatinginstancepool.htm#attach-instance). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstance API. func (client ComputeManagementClient) AttachInstancePoolInstance(ctx context.Context, request AttachInstancePoolInstanceRequest) (response AttachInstancePoolInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -165,7 +165,7 @@ func (client ComputeManagementClient) attachInstancePoolInstance(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancer API. func (client ComputeManagementClient) AttachLoadBalancer(ctx context.Context, request AttachLoadBalancerRequest) (response AttachLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -223,16 +223,16 @@ func (client ComputeManagementClient) attachLoadBalancer(ctx context.Context, re return response, err } -// ChangeClusterNetworkCompartment Moves a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) +// ChangeClusterNetworkCompartment Moves a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) // into a different compartment within the same tenancy. For // information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move a cluster network to a different compartment, associated resources such as the instances // in the cluster network, boot volumes, and VNICs are not moved. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartment API. func (client ComputeManagementClient) ChangeClusterNetworkCompartment(ctx context.Context, request ChangeClusterNetworkCompartmentRequest) (response ChangeClusterNetworkCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -292,7 +292,7 @@ func (client ComputeManagementClient) changeClusterNetworkCompartment(ctx contex // ChangeInstanceConfigurationCompartment Moves an instance configuration into a different compartment within the same tenancy. // For information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move an instance configuration to a different compartment, associated resources such as // instance pools are not moved. // **Important:** Most of the properties for an existing instance configuration, including the compartment, @@ -300,11 +300,11 @@ func (client ComputeManagementClient) changeClusterNetworkCompartment(ctx contex // to a different compartment, you will not be able to use the instance configuration to manage instance pools // in the new compartment. If you want to update an instance configuration to point to a different compartment, // you should instead create a new instance configuration in the target compartment using -// CreateInstanceConfiguration (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration). +// CreateInstanceConfiguration (https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartment API. func (client ComputeManagementClient) ChangeInstanceConfigurationCompartment(ctx context.Context, request ChangeInstanceConfigurationCompartmentRequest) (response ChangeInstanceConfigurationCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -364,13 +364,13 @@ func (client ComputeManagementClient) changeInstanceConfigurationCompartment(ctx // ChangeInstancePoolCompartment Moves an instance pool into a different compartment within the same tenancy. For // information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // When you move an instance pool to a different compartment, associated resources such as the instances in // the pool, boot volumes, VNICs, and autoscaling configurations are not moved. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartment API. func (client ComputeManagementClient) ChangeInstancePoolCompartment(ctx context.Context, request ChangeInstancePoolCompartmentRequest) (response ChangeInstancePoolCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -428,7 +428,7 @@ func (client ComputeManagementClient) changeInstancePoolCompartment(ctx context. return response, err } -// CreateClusterNetwork Creates a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// CreateClusterNetwork Creates a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // A cluster network is a group of high performance computing (HPC), GPU, or optimized bare metal // instances that are connected with an ultra low-latency remote direct memory access (RDMA) network. // Cluster networks with instance pools use instance pools to manage groups of identical instances. @@ -443,7 +443,7 @@ func (client ComputeManagementClient) changeInstancePoolCompartment(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetwork API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetwork API. func (client ComputeManagementClient) CreateClusterNetwork(ctx context.Context, request CreateClusterNetworkRequest) (response CreateClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -506,7 +506,7 @@ func (client ComputeManagementClient) createClusterNetwork(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfiguration API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfiguration API. func (client ComputeManagementClient) CreateInstanceConfiguration(ctx context.Context, request CreateInstanceConfigurationRequest) (response CreateInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -571,7 +571,7 @@ func (client ComputeManagementClient) createInstanceConfiguration(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePool API. func (client ComputeManagementClient) CreateInstancePool(ctx context.Context, request CreateInstancePoolRequest) (response CreateInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -633,7 +633,7 @@ func (client ComputeManagementClient) createInstancePool(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfiguration API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfiguration API. func (client ComputeManagementClient) DeleteInstanceConfiguration(ctx context.Context, request DeleteInstanceConfigurationRequest) (response DeleteInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -690,7 +690,7 @@ func (client ComputeManagementClient) deleteInstanceConfiguration(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstance API. func (client ComputeManagementClient) DetachInstancePoolInstance(ctx context.Context, request DetachInstancePoolInstanceRequest) (response DetachInstancePoolInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -752,7 +752,7 @@ func (client ComputeManagementClient) detachInstancePoolInstance(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancer API. func (client ComputeManagementClient) DetachLoadBalancer(ctx context.Context, request DetachLoadBalancerRequest) (response DetachLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -810,11 +810,11 @@ func (client ComputeManagementClient) detachLoadBalancer(ctx context.Context, re return response, err } -// GetClusterNetwork Gets information about a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// GetClusterNetwork Gets information about a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetwork API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetwork API. func (client ComputeManagementClient) GetClusterNetwork(ctx context.Context, request GetClusterNetworkRequest) (response GetClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -871,7 +871,7 @@ func (client ComputeManagementClient) getClusterNetwork(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfiguration API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfiguration API. func (client ComputeManagementClient) GetInstanceConfiguration(ctx context.Context, request GetInstanceConfigurationRequest) (response GetInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -928,7 +928,7 @@ func (client ComputeManagementClient) getInstanceConfiguration(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePool API. func (client ComputeManagementClient) GetInstancePool(ctx context.Context, request GetInstancePoolRequest) (response GetInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -985,7 +985,7 @@ func (client ComputeManagementClient) getInstancePool(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstance API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstance API. func (client ComputeManagementClient) GetInstancePoolInstance(ctx context.Context, request GetInstancePoolInstanceRequest) (response GetInstancePoolInstanceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1042,7 +1042,7 @@ func (client ComputeManagementClient) getInstancePoolInstance(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachment API. func (client ComputeManagementClient) GetInstancePoolLoadBalancerAttachment(ctx context.Context, request GetInstancePoolLoadBalancerAttachmentRequest) (response GetInstancePoolLoadBalancerAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1107,7 +1107,7 @@ func (client ComputeManagementClient) getInstancePoolLoadBalancerAttachment(ctx // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfiguration API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfiguration API. func (client ComputeManagementClient) LaunchInstanceConfiguration(ctx context.Context, request LaunchInstanceConfigurationRequest) (response LaunchInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1165,11 +1165,11 @@ func (client ComputeManagementClient) launchInstanceConfiguration(ctx context.Co return response, err } -// ListClusterNetworkInstances Lists the instances in a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// ListClusterNetworkInstances Lists the instances in a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstances API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstances API. func (client ComputeManagementClient) ListClusterNetworkInstances(ctx context.Context, request ListClusterNetworkInstancesRequest) (response ListClusterNetworkInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1222,12 +1222,12 @@ func (client ComputeManagementClient) listClusterNetworkInstances(ctx context.Co return response, err } -// ListClusterNetworks Lists the cluster networks with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) +// ListClusterNetworks Lists the cluster networks with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm) // in the specified compartment. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworks API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworks API. func (client ComputeManagementClient) ListClusterNetworks(ctx context.Context, request ListClusterNetworksRequest) (response ListClusterNetworksResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1284,7 +1284,7 @@ func (client ComputeManagementClient) listClusterNetworks(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurations API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurations API. func (client ComputeManagementClient) ListInstanceConfigurations(ctx context.Context, request ListInstanceConfigurationsRequest) (response ListInstanceConfigurationsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1341,7 +1341,7 @@ func (client ComputeManagementClient) listInstanceConfigurations(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstances API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstances API. func (client ComputeManagementClient) ListInstancePoolInstances(ctx context.Context, request ListInstancePoolInstancesRequest) (response ListInstancePoolInstancesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1398,7 +1398,7 @@ func (client ComputeManagementClient) listInstancePoolInstances(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePools API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePools API. func (client ComputeManagementClient) ListInstancePools(ctx context.Context, request ListInstancePoolsRequest) (response ListInstancePoolsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1456,7 +1456,7 @@ func (client ComputeManagementClient) listInstancePools(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePool API. func (client ComputeManagementClient) ResetInstancePool(ctx context.Context, request ResetInstancePoolRequest) (response ResetInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1521,7 +1521,7 @@ func (client ComputeManagementClient) resetInstancePool(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePool API. func (client ComputeManagementClient) SoftresetInstancePool(ctx context.Context, request SoftresetInstancePoolRequest) (response SoftresetInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1586,7 +1586,7 @@ func (client ComputeManagementClient) softresetInstancePool(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftstopInstancePool.go.html to see an example of how to use SoftstopInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftstopInstancePool.go.html to see an example of how to use SoftstopInstancePool API. func (client ComputeManagementClient) SoftstopInstancePool(ctx context.Context, request SoftstopInstancePoolRequest) (response SoftstopInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1649,7 +1649,7 @@ func (client ComputeManagementClient) softstopInstancePool(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePool API. func (client ComputeManagementClient) StartInstancePool(ctx context.Context, request StartInstancePoolRequest) (response StartInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1712,7 +1712,7 @@ func (client ComputeManagementClient) startInstancePool(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePool API. func (client ComputeManagementClient) StopInstancePool(ctx context.Context, request StopInstancePoolRequest) (response StopInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1770,13 +1770,13 @@ func (client ComputeManagementClient) stopInstancePool(ctx context.Context, requ return response, err } -// TerminateClusterNetwork Deletes (terminates) a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// TerminateClusterNetwork Deletes (terminates) a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // When you delete a cluster network, all of its resources are permanently deleted, // including associated instances and instance pools. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetwork API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetwork API. func (client ComputeManagementClient) TerminateClusterNetwork(ctx context.Context, request TerminateClusterNetworkRequest) (response TerminateClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1838,7 +1838,7 @@ func (client ComputeManagementClient) terminateClusterNetwork(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePool API. func (client ComputeManagementClient) TerminateInstancePool(ctx context.Context, request TerminateInstancePoolRequest) (response TerminateInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1891,12 +1891,74 @@ func (client ComputeManagementClient) terminateInstancePool(ctx context.Context, return response, err } -// UpdateClusterNetwork Updates a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// TerminationProceedInstancePoolInstance Marks an instance in an instance pool to be ready for termination. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminationProceedInstancePoolInstance.go.html to see an example of how to use TerminationProceedInstancePoolInstance API. +func (client ComputeManagementClient) TerminationProceedInstancePoolInstance(ctx context.Context, request TerminationProceedInstancePoolInstanceRequest) (response TerminationProceedInstancePoolInstanceResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.terminationProceedInstancePoolInstance, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = TerminationProceedInstancePoolInstanceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = TerminationProceedInstancePoolInstanceResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(TerminationProceedInstancePoolInstanceResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into TerminationProceedInstancePoolInstanceResponse") + } + return +} + +// terminationProceedInstancePoolInstance implements the OCIOperation interface (enables retrying operations) +func (client ComputeManagementClient) terminationProceedInstancePoolInstance(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/instancePools/{instancePoolId}/actions/terminationProceed", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response TerminationProceedInstancePoolInstanceResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolInstance/TerminationProceedInstancePoolInstance" + err = common.PostProcessServiceError(err, "ComputeManagement", "TerminationProceedInstancePoolInstance", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateClusterNetwork Updates a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // The OCID of the cluster network remains the same. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetwork API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetwork API. func (client ComputeManagementClient) UpdateClusterNetwork(ctx context.Context, request UpdateClusterNetworkRequest) (response UpdateClusterNetworkResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1958,7 +2020,7 @@ func (client ComputeManagementClient) updateClusterNetwork(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfiguration API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfiguration API. func (client ComputeManagementClient) UpdateInstanceConfiguration(ctx context.Context, request UpdateInstanceConfigurationRequest) (response UpdateInstanceConfigurationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2021,7 +2083,7 @@ func (client ComputeManagementClient) updateInstanceConfiguration(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePool API. func (client ComputeManagementClient) UpdateInstancePool(ctx context.Context, request UpdateInstancePoolRequest) (response UpdateInstancePoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go index c8a277c014..f68468c45e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -101,7 +101,7 @@ func (client *VirtualNetworkClient) ConfigurationProvider() *common.Configuratio // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatements API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatements API. func (client VirtualNetworkClient) AddDrgRouteDistributionStatements(ctx context.Context, request AddDrgRouteDistributionStatementsRequest) (response AddDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -158,7 +158,7 @@ func (client VirtualNetworkClient) addDrgRouteDistributionStatements(ctx context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRules API. func (client VirtualNetworkClient) AddDrgRouteRules(ctx context.Context, request AddDrgRouteRulesRequest) (response AddDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -216,11 +216,74 @@ func (client VirtualNetworkClient) addDrgRouteRules(ctx context.Context, request return response, err } +// AddIpv4SubnetCidr Add an IPv4 prefix to a subnet. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv4SubnetCidr.go.html to see an example of how to use AddIpv4SubnetCidr API. +// A default retry strategy applies to this operation AddIpv4SubnetCidr() +func (client VirtualNetworkClient) AddIpv4SubnetCidr(ctx context.Context, request AddIpv4SubnetCidrRequest) (response AddIpv4SubnetCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.addIpv4SubnetCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AddIpv4SubnetCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AddIpv4SubnetCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AddIpv4SubnetCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AddIpv4SubnetCidrResponse") + } + return +} + +// addIpv4SubnetCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addIpv4SubnetCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/addIpv4Cidr", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response AddIpv4SubnetCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/AddIpv4SubnetCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddIpv4SubnetCidr", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // AddIpv6SubnetCidr Add an IPv6 prefix to a subnet. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidr API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6SubnetCidr.go.html to see an example of how to use AddIpv6SubnetCidr API. func (client VirtualNetworkClient) AddIpv6SubnetCidr(ctx context.Context, request AddIpv6SubnetCidrRequest) (response AddIpv6SubnetCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -283,7 +346,7 @@ func (client VirtualNetworkClient) addIpv6SubnetCidr(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidr API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidr API. func (client VirtualNetworkClient) AddIpv6VcnCidr(ctx context.Context, request AddIpv6VcnCidrRequest) (response AddIpv6VcnCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -345,7 +408,7 @@ func (client VirtualNetworkClient) addIpv6VcnCidr(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) AddNetworkSecurityGroupSecurityRules(ctx context.Context, request AddNetworkSecurityGroupSecurityRulesRequest) (response AddNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -398,62 +461,615 @@ func (client VirtualNetworkClient) addNetworkSecurityGroupSecurityRules(ctx cont return response, err } -// AddPublicIpPoolCapacity Adds some or all of a CIDR block to a public IP pool. -// The CIDR block (or subrange) must not overlap with any other CIDR block already added to this or any other public IP pool. +// AddPublicIpPoolCapacity Adds some or all of a CIDR block to a public IP pool. +// The CIDR block (or subrange) must not overlap with any other CIDR block already added to this or any other public IP pool. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacity API. +func (client VirtualNetworkClient) AddPublicIpPoolCapacity(ctx context.Context, request AddPublicIpPoolCapacityRequest) (response AddPublicIpPoolCapacityResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.addPublicIpPoolCapacity, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AddPublicIpPoolCapacityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AddPublicIpPoolCapacityResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AddPublicIpPoolCapacityResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AddPublicIpPoolCapacityResponse") + } + return +} + +// addPublicIpPoolCapacity implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/addCapacity", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response AddPublicIpPoolCapacityResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/AddPublicIpPoolCapacity" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddPublicIpPoolCapacity", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// AddVcnCidr Adds a CIDR block to a VCN. The CIDR block you add: +// - Must be valid. +// - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. +// - Must not exceed the limit of CIDR blocks allowed per VCN. +// **Note:** Adding a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidr API. +func (client VirtualNetworkClient) AddVcnCidr(ctx context.Context, request AddVcnCidrRequest) (response AddVcnCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.addVcnCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AddVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AddVcnCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AddVcnCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AddVcnCidrResponse") + } + return +} + +// addVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/addCidr", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response AddVcnCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/AddVcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AddVcnCidr", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// AdvertiseByoipRange Begins BGP route advertisements for the BYOIP CIDR block you imported to the Oracle Cloud. +// The `ByoipRange` resource must be in the PROVISIONED state before the BYOIP CIDR block routes can be advertised with BGP. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRange API. +func (client VirtualNetworkClient) AdvertiseByoipRange(ctx context.Context, request AdvertiseByoipRangeRequest) (response AdvertiseByoipRangeResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.advertiseByoipRange, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AdvertiseByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AdvertiseByoipRangeResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AdvertiseByoipRangeResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AdvertiseByoipRangeResponse") + } + return +} + +// advertiseByoipRange implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/advertise", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response AdvertiseByoipRangeResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/AdvertiseByoipRange" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AdvertiseByoipRange", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// AttachServiceId Adds the specified Service to the list of enabled +// `Service` objects for the specified gateway. You must also set up a route rule with the +// `cidrBlock` of the `Service` as the rule's destination and the service gateway as the rule's +// target. See RouteTable. +// **Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to +// the service gateway. Compare it with +// UpdateServiceGateway, which replaces +// the entire existing list of enabled `Service` objects with the list that you provide in the +// `Update` call. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceId API. +func (client VirtualNetworkClient) AttachServiceId(ctx context.Context, request AttachServiceIdRequest) (response AttachServiceIdResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.attachServiceId, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = AttachServiceIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = AttachServiceIdResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(AttachServiceIdResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into AttachServiceIdResponse") + } + return +} + +// attachServiceId implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/attachService", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response AttachServiceIdResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/AttachServiceId" + err = common.PostProcessServiceError(err, "VirtualNetwork", "AttachServiceId", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// BulkAddVirtualCircuitPublicPrefixes Adds one or more customer public IP prefixes to the specified public virtual circuit. +// Use this operation (and not UpdateVirtualCircuit) +// to add prefixes to the virtual circuit. Oracle must verify the customer's ownership +// of each prefix before traffic for that prefix will flow across the virtual circuit. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixes API. +// A default retry strategy applies to this operation BulkAddVirtualCircuitPublicPrefixes() +func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.bulkAddVirtualCircuitPublicPrefixes, policy) + if err != nil { + if ociResponse != nil { + response = BulkAddVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} + } + return + } + if convertedResponse, ok := ociResponse.(BulkAddVirtualCircuitPublicPrefixesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into BulkAddVirtualCircuitPublicPrefixesResponse") + } + return +} + +// bulkAddVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkAddPublicPrefixes", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response BulkAddVirtualCircuitPublicPrefixesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/BulkAddVirtualCircuitPublicPrefixes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkAddVirtualCircuitPublicPrefixes", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// BulkCreateIpv6s Create new IPv6s for a VNIC or Subnet. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkCreateIpv6s.go.html to see an example of how to use BulkCreateIpv6s API. +// A default retry strategy applies to this operation BulkCreateIpv6s() +func (client VirtualNetworkClient) BulkCreateIpv6s(ctx context.Context, request BulkCreateIpv6sRequest) (response BulkCreateIpv6sResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkCreateIpv6s, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = BulkCreateIpv6sResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = BulkCreateIpv6sResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(BulkCreateIpv6sResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into BulkCreateIpv6sResponse") + } + return +} + +// bulkCreateIpv6s implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkCreateIpv6s(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6/actions/bulkCreateIpv6s", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response BulkCreateIpv6sResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkCreateIpv6s" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkCreateIpv6s", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// BulkCreatePrivateIps Create secondary private IPv4 addresses. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkCreatePrivateIps.go.html to see an example of how to use BulkCreatePrivateIps API. +// A default retry strategy applies to this operation BulkCreatePrivateIps() +func (client VirtualNetworkClient) BulkCreatePrivateIps(ctx context.Context, request BulkCreatePrivateIpsRequest) (response BulkCreatePrivateIpsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkCreatePrivateIps, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = BulkCreatePrivateIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = BulkCreatePrivateIpsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(BulkCreatePrivateIpsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into BulkCreatePrivateIpsResponse") + } + return +} + +// bulkCreatePrivateIps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkCreatePrivateIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps/actions/bulkCreatePrivateIps", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response BulkCreatePrivateIpsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkCreatePrivateIps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkCreatePrivateIps", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// BulkDeleteIpv6s Unassigns and deletes IPv6s for a VNIC. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteIpv6s.go.html to see an example of how to use BulkDeleteIpv6s API. +// A default retry strategy applies to this operation BulkDeleteIpv6s() +func (client VirtualNetworkClient) BulkDeleteIpv6s(ctx context.Context, request BulkDeleteIpv6sRequest) (response BulkDeleteIpv6sResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkDeleteIpv6s, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = BulkDeleteIpv6sResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = BulkDeleteIpv6sResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(BulkDeleteIpv6sResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into BulkDeleteIpv6sResponse") + } + return +} + +// bulkDeleteIpv6s implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkDeleteIpv6s(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6/actions/bulkDeleteIpv6s", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response BulkDeleteIpv6sResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkDeleteIpv6s" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDeleteIpv6s", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// BulkDeletePrivateIps Unassigns and deletes secondary private IPv4s for a VNIC. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeletePrivateIps.go.html to see an example of how to use BulkDeletePrivateIps API. +// A default retry strategy applies to this operation BulkDeletePrivateIps() +func (client VirtualNetworkClient) BulkDeletePrivateIps(ctx context.Context, request BulkDeletePrivateIpsRequest) (response BulkDeletePrivateIpsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkDeletePrivateIps, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = BulkDeletePrivateIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = BulkDeletePrivateIpsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(BulkDeletePrivateIpsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into BulkDeletePrivateIpsResponse") + } + return +} + +// bulkDeletePrivateIps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkDeletePrivateIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps/actions/bulkDeletePrivateIps", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response BulkDeletePrivateIpsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkDeletePrivateIps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDeletePrivateIps", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// BulkDeleteVirtualCircuitPublicPrefixes Removes one or more customer public IP prefixes from the specified public virtual circuit. +// Use this operation (and not UpdateVirtualCircuit) +// to remove prefixes from the virtual circuit. When the virtual circuit's state switches +// back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacity API. -func (client VirtualNetworkClient) AddPublicIpPoolCapacity(ctx context.Context, request AddPublicIpPoolCapacityRequest) (response AddPublicIpPoolCapacityResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixes API. +// A default retry strategy applies to this operation BulkDeleteVirtualCircuitPublicPrefixes() +func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - - if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { - request.OpcRetryToken = common.String(common.RetryToken()) - } - - ociResponse, err = common.Retry(ctx, request, client.addPublicIpPoolCapacity, policy) + ociResponse, err = common.Retry(ctx, request, client.bulkDeleteVirtualCircuitPublicPrefixes, policy) if err != nil { if ociResponse != nil { - if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { - opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AddPublicIpPoolCapacityResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} - } else { - response = AddPublicIpPoolCapacityResponse{} - } + response = BulkDeleteVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} } return } - if convertedResponse, ok := ociResponse.(AddPublicIpPoolCapacityResponse); ok { + if convertedResponse, ok := ociResponse.(BulkDeleteVirtualCircuitPublicPrefixesResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AddPublicIpPoolCapacityResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkDeleteVirtualCircuitPublicPrefixesResponse") } return } -// addPublicIpPoolCapacity implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkDeleteVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/publicIpPools/{publicIpPoolId}/actions/addCapacity", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkDeletePublicPrefixes", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AddPublicIpPoolCapacityResponse + var response BulkDeleteVirtualCircuitPublicPrefixesResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PublicIpPool/AddPublicIpPoolCapacity" - err = common.PostProcessServiceError(err, "VirtualNetwork", "AddPublicIpPoolCapacity", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/BulkDeleteVirtualCircuitPublicPrefixes" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDeleteVirtualCircuitPublicPrefixes", apiReferenceLink) return response, err } @@ -461,18 +1077,15 @@ func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, return response, err } -// AddVcnCidr Adds a CIDR block to a VCN. The CIDR block you add: -// - Must be valid. -// - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. -// - Must not exceed the limit of CIDR blocks allowed per VCN. -// **Note:** Adding a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update. +// BulkDetachIpv6s detach the specified IPv6s. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidr API. -func (client VirtualNetworkClient) AddVcnCidr(ctx context.Context, request AddVcnCidrRequest) (response AddVcnCidrResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDetachIpv6s.go.html to see an example of how to use BulkDetachIpv6s API. +// A default retry strategy applies to this operation BulkDetachIpv6s() +func (client VirtualNetworkClient) BulkDetachIpv6s(ctx context.Context, request BulkDetachIpv6sRequest) (response BulkDetachIpv6sResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } @@ -484,42 +1097,42 @@ func (client VirtualNetworkClient) AddVcnCidr(ctx context.Context, request AddVc request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.addVcnCidr, policy) + ociResponse, err = common.Retry(ctx, request, client.bulkDetachIpv6s, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AddVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = BulkDetachIpv6sResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AddVcnCidrResponse{} + response = BulkDetachIpv6sResponse{} } } return } - if convertedResponse, ok := ociResponse.(AddVcnCidrResponse); ok { + if convertedResponse, ok := ociResponse.(BulkDetachIpv6sResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AddVcnCidrResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkDetachIpv6sResponse") } return } -// addVcnCidr implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkDetachIpv6s implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkDetachIpv6s(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/addCidr", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6/actions/bulkDetachIpv6s", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AddVcnCidrResponse + var response BulkDetachIpv6sResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/AddVcnCidr" - err = common.PostProcessServiceError(err, "VirtualNetwork", "AddVcnCidr", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkDetachIpv6s" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDetachIpv6s", apiReferenceLink) return response, err } @@ -527,57 +1140,62 @@ func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request commo return response, err } -// AdvertiseByoipRange Begins BGP route advertisements for the BYOIP CIDR block you imported to the Oracle Cloud. -// The `ByoipRange` resource must be in the PROVISIONED state before the BYOIP CIDR block routes can be advertised with BGP. +// BulkDetachPrivateIps Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must specify the PrivateIP OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRange API. -func (client VirtualNetworkClient) AdvertiseByoipRange(ctx context.Context, request AdvertiseByoipRangeRequest) (response AdvertiseByoipRangeResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDetachPrivateIps.go.html to see an example of how to use BulkDetachPrivateIps API. +// A default retry strategy applies to this operation BulkDetachPrivateIps() +func (client VirtualNetworkClient) BulkDetachPrivateIps(ctx context.Context, request BulkDetachPrivateIpsRequest) (response BulkDetachPrivateIpsResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.advertiseByoipRange, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkDetachPrivateIps, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AdvertiseByoipRangeResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = BulkDetachPrivateIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AdvertiseByoipRangeResponse{} + response = BulkDetachPrivateIpsResponse{} } } return } - if convertedResponse, ok := ociResponse.(AdvertiseByoipRangeResponse); ok { + if convertedResponse, ok := ociResponse.(BulkDetachPrivateIpsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AdvertiseByoipRangeResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkDetachPrivateIpsResponse") } return } -// advertiseByoipRange implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkDetachPrivateIps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkDetachPrivateIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/advertise", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps/actions/bulkDetachPrivateIps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AdvertiseByoipRangeResponse + var response BulkDetachPrivateIpsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/AdvertiseByoipRange" - err = common.PostProcessServiceError(err, "VirtualNetwork", "AdvertiseByoipRange", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkDetachPrivateIps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDetachPrivateIps", apiReferenceLink) return response, err } @@ -585,64 +1203,62 @@ func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, requ return response, err } -// AttachServiceId Adds the specified Service to the list of enabled -// `Service` objects for the specified gateway. You must also set up a route rule with the -// `cidrBlock` of the `Service` as the rule's destination and the service gateway as the rule's -// target. See RouteTable. -// **Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to -// the service gateway. Compare it with -// UpdateServiceGateway, which replaces -// the entire existing list of enabled `Service` objects with the list that you provide in the -// `Update` call. +// BulkUpdateIpv6s Updates the specified IPv6s. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceId API. -func (client VirtualNetworkClient) AttachServiceId(ctx context.Context, request AttachServiceIdRequest) (response AttachServiceIdResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkUpdateIpv6s.go.html to see an example of how to use BulkUpdateIpv6s API. +// A default retry strategy applies to this operation BulkUpdateIpv6s() +func (client VirtualNetworkClient) BulkUpdateIpv6s(ctx context.Context, request BulkUpdateIpv6sRequest) (response BulkUpdateIpv6sResponse, err error) { var ociResponse common.OCIResponse - policy := common.NoRetryPolicy() + policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { policy = *client.RetryPolicy() } if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.attachServiceId, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkUpdateIpv6s, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = AttachServiceIdResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = BulkUpdateIpv6sResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = AttachServiceIdResponse{} + response = BulkUpdateIpv6sResponse{} } } return } - if convertedResponse, ok := ociResponse.(AttachServiceIdResponse); ok { + if convertedResponse, ok := ociResponse.(BulkUpdateIpv6sResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into AttachServiceIdResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkUpdateIpv6sResponse") } return } -// attachServiceId implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkUpdateIpv6s implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkUpdateIpv6s(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/serviceGateways/{serviceGatewayId}/actions/attachService", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6/actions/bulkUpdateIpv6s", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response AttachServiceIdResponse + var response BulkUpdateIpv6sResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ServiceGateway/AttachServiceId" - err = common.PostProcessServiceError(err, "VirtualNetwork", "AttachServiceId", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/BulkUpdateIpv6s" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkUpdateIpv6s", apiReferenceLink) return response, err } @@ -650,16 +1266,13 @@ func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request return response, err } -// BulkAddVirtualCircuitPublicPrefixes Adds one or more customer public IP prefixes to the specified public virtual circuit. -// Use this operation (and not UpdateVirtualCircuit) -// to add prefixes to the virtual circuit. Oracle must verify the customer's ownership -// of each prefix before traffic for that prefix will flow across the virtual circuit. +// BulkUpdatePrivateIps Updates existing secondary Private IPv4s for a VNIC. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixes API. -// A default retry strategy applies to this operation BulkAddVirtualCircuitPublicPrefixes() -func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkUpdatePrivateIps.go.html to see an example of how to use BulkUpdatePrivateIps API. +// A default retry strategy applies to this operation BulkUpdatePrivateIps() +func (client VirtualNetworkClient) BulkUpdatePrivateIps(ctx context.Context, request BulkUpdatePrivateIpsRequest) (response BulkUpdatePrivateIpsResponse, err error) { var ociResponse common.OCIResponse policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { @@ -668,37 +1281,47 @@ func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx conte if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.bulkAddVirtualCircuitPublicPrefixes, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.bulkUpdatePrivateIps, policy) if err != nil { if ociResponse != nil { - response = BulkAddVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = BulkUpdatePrivateIpsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = BulkUpdatePrivateIpsResponse{} + } } return } - if convertedResponse, ok := ociResponse.(BulkAddVirtualCircuitPublicPrefixesResponse); ok { + if convertedResponse, ok := ociResponse.(BulkUpdatePrivateIpsResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into BulkAddVirtualCircuitPublicPrefixesResponse") + err = fmt.Errorf("failed to convert OCIResponse into BulkUpdatePrivateIpsResponse") } return } -// bulkAddVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// bulkUpdatePrivateIps implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) bulkUpdatePrivateIps(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkAddPublicPrefixes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps/actions/bulkUpdatePrivateIps", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response BulkAddVirtualCircuitPublicPrefixesResponse + var response BulkUpdatePrivateIpsResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/BulkAddVirtualCircuitPublicPrefixes" - err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkAddVirtualCircuitPublicPrefixes", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/BulkUpdatePrivateIps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkUpdatePrivateIps", apiReferenceLink) return response, err } @@ -706,16 +1329,15 @@ func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx conte return response, err } -// BulkDeleteVirtualCircuitPublicPrefixes Removes one or more customer public IP prefixes from the specified public virtual circuit. -// Use this operation (and not UpdateVirtualCircuit) -// to remove prefixes from the virtual circuit. When the virtual circuit's state switches -// back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection. +// ChangeByoasnCompartment Moves a BYOASN Resource to a different compartment. For information +// about moving resources between compartments, see +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixes API. -// A default retry strategy applies to this operation BulkDeleteVirtualCircuitPublicPrefixes() -func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoasnCompartment.go.html to see an example of how to use ChangeByoasnCompartment API. +// A default retry strategy applies to this operation ChangeByoasnCompartment() +func (client VirtualNetworkClient) ChangeByoasnCompartment(ctx context.Context, request ChangeByoasnCompartmentRequest) (response ChangeByoasnCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.DefaultRetryPolicy() if client.RetryPolicy() != nil { @@ -724,37 +1346,47 @@ func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx co if request.RetryPolicy() != nil { policy = *request.RetryPolicy() } - ociResponse, err = common.Retry(ctx, request, client.bulkDeleteVirtualCircuitPublicPrefixes, policy) + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.changeByoasnCompartment, policy) if err != nil { if ociResponse != nil { - response = BulkDeleteVirtualCircuitPublicPrefixesResponse{RawResponse: ociResponse.HTTPResponse()} + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ChangeByoasnCompartmentResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ChangeByoasnCompartmentResponse{} + } } return } - if convertedResponse, ok := ociResponse.(BulkDeleteVirtualCircuitPublicPrefixesResponse); ok { + if convertedResponse, ok := ociResponse.(ChangeByoasnCompartmentResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into BulkDeleteVirtualCircuitPublicPrefixesResponse") + err = fmt.Errorf("failed to convert OCIResponse into ChangeByoasnCompartmentResponse") } return } -// bulkDeleteVirtualCircuitPublicPrefixes implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// changeByoasnCompartment implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) changeByoasnCompartment(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/virtualCircuits/{virtualCircuitId}/actions/bulkDeletePublicPrefixes", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoasns/{byoasnId}/actions/changeCompartment", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response BulkDeleteVirtualCircuitPublicPrefixesResponse + var response ChangeByoasnCompartmentResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/VirtualCircuitPublicPrefix/BulkDeleteVirtualCircuitPublicPrefixes" - err = common.PostProcessServiceError(err, "VirtualNetwork", "BulkDeleteVirtualCircuitPublicPrefixes", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/ChangeByoasnCompartment" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ChangeByoasnCompartment", apiReferenceLink) return response, err } @@ -764,11 +1396,11 @@ func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx co // ChangeByoipRangeCompartment Moves a BYOIP CIDR block to a different compartment. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartment API. func (client VirtualNetworkClient) ChangeByoipRangeCompartment(ctx context.Context, request ChangeByoipRangeCompartmentRequest) (response ChangeByoipRangeCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -828,11 +1460,11 @@ func (client VirtualNetworkClient) changeByoipRangeCompartment(ctx context.Conte // ChangeCaptureFilterCompartment Moves a capture filter to a new compartment in the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCaptureFilterCompartment.go.html to see an example of how to use ChangeCaptureFilterCompartment API. func (client VirtualNetworkClient) ChangeCaptureFilterCompartment(ctx context.Context, request ChangeCaptureFilterCompartmentRequest) (response ChangeCaptureFilterCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -892,11 +1524,11 @@ func (client VirtualNetworkClient) changeCaptureFilterCompartment(ctx context.Co // ChangeCpeCompartment Moves a CPE object into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartment API. // A default retry strategy applies to this operation ChangeCpeCompartment() func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, request ChangeCpeCompartmentRequest) (response ChangeCpeCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -957,11 +1589,11 @@ func (client VirtualNetworkClient) changeCpeCompartment(ctx context.Context, req // ChangeCrossConnectCompartment Moves a cross-connect into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartment API. // A default retry strategy applies to this operation ChangeCrossConnectCompartment() func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Context, request ChangeCrossConnectCompartmentRequest) (response ChangeCrossConnectCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -1022,11 +1654,11 @@ func (client VirtualNetworkClient) changeCrossConnectCompartment(ctx context.Con // ChangeCrossConnectGroupCompartment Moves a cross-connect group into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartment API. // A default retry strategy applies to this operation ChangeCrossConnectGroupCompartment() func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx context.Context, request ChangeCrossConnectGroupCompartmentRequest) (response ChangeCrossConnectGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -1087,11 +1719,11 @@ func (client VirtualNetworkClient) changeCrossConnectGroupCompartment(ctx contex // ChangeDhcpOptionsCompartment Moves a set of DHCP options into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartment API. func (client VirtualNetworkClient) ChangeDhcpOptionsCompartment(ctx context.Context, request ChangeDhcpOptionsCompartmentRequest) (response ChangeDhcpOptionsCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1151,11 +1783,11 @@ func (client VirtualNetworkClient) changeDhcpOptionsCompartment(ctx context.Cont // ChangeDrgCompartment Moves a DRG into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartment API. func (client VirtualNetworkClient) ChangeDrgCompartment(ctx context.Context, request ChangeDrgCompartmentRequest) (response ChangeDrgCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1215,11 +1847,11 @@ func (client VirtualNetworkClient) changeDrgCompartment(ctx context.Context, req // ChangeIPSecConnectionCompartment Moves an IPSec connection into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartment API. // A default retry strategy applies to this operation ChangeIPSecConnectionCompartment() func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context.Context, request ChangeIPSecConnectionCompartmentRequest) (response ChangeIPSecConnectionCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -1280,11 +1912,11 @@ func (client VirtualNetworkClient) changeIPSecConnectionCompartment(ctx context. // ChangeInternetGatewayCompartment Moves an internet gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartment API. func (client VirtualNetworkClient) ChangeInternetGatewayCompartment(ctx context.Context, request ChangeInternetGatewayCompartmentRequest) (response ChangeInternetGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1344,11 +1976,11 @@ func (client VirtualNetworkClient) changeInternetGatewayCompartment(ctx context. // ChangeLocalPeeringGatewayCompartment Moves a local peering gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartment API. func (client VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment(ctx context.Context, request ChangeLocalPeeringGatewayCompartmentRequest) (response ChangeLocalPeeringGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1408,11 +2040,11 @@ func (client VirtualNetworkClient) changeLocalPeeringGatewayCompartment(ctx cont // ChangeNatGatewayCompartment Moves a NAT gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartment API. func (client VirtualNetworkClient) ChangeNatGatewayCompartment(ctx context.Context, request ChangeNatGatewayCompartmentRequest) (response ChangeNatGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1471,11 +2103,11 @@ func (client VirtualNetworkClient) changeNatGatewayCompartment(ctx context.Conte } // ChangeNetworkSecurityGroupCompartment Moves a network security group into a different compartment within the same tenancy. For -// information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartment API. func (client VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment(ctx context.Context, request ChangeNetworkSecurityGroupCompartmentRequest) (response ChangeNetworkSecurityGroupCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1535,13 +2167,13 @@ func (client VirtualNetworkClient) changeNetworkSecurityGroupCompartment(ctx con // ChangePublicIpCompartment Moves a public IP into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the // same compartment as their VNIC and move accordingly. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartment API. func (client VirtualNetworkClient) ChangePublicIpCompartment(ctx context.Context, request ChangePublicIpCompartmentRequest) (response ChangePublicIpCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1601,11 +2233,11 @@ func (client VirtualNetworkClient) changePublicIpCompartment(ctx context.Context // ChangePublicIpPoolCompartment Moves a public IP pool to a different compartment. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartment API. func (client VirtualNetworkClient) ChangePublicIpPoolCompartment(ctx context.Context, request ChangePublicIpPoolCompartmentRequest) (response ChangePublicIpPoolCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1665,11 +2297,11 @@ func (client VirtualNetworkClient) changePublicIpPoolCompartment(ctx context.Con // ChangeRemotePeeringConnectionCompartment Moves a remote peering connection (RPC) into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartment API. // A default retry strategy applies to this operation ChangeRemotePeeringConnectionCompartment() func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx context.Context, request ChangeRemotePeeringConnectionCompartmentRequest) (response ChangeRemotePeeringConnectionCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -1730,11 +2362,11 @@ func (client VirtualNetworkClient) changeRemotePeeringConnectionCompartment(ctx // ChangeRouteTableCompartment Moves a route table into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartment API. func (client VirtualNetworkClient) ChangeRouteTableCompartment(ctx context.Context, request ChangeRouteTableCompartmentRequest) (response ChangeRouteTableCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1794,11 +2426,11 @@ func (client VirtualNetworkClient) changeRouteTableCompartment(ctx context.Conte // ChangeSecurityListCompartment Moves a security list into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartment API. func (client VirtualNetworkClient) ChangeSecurityListCompartment(ctx context.Context, request ChangeSecurityListCompartmentRequest) (response ChangeSecurityListCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1858,11 +2490,11 @@ func (client VirtualNetworkClient) changeSecurityListCompartment(ctx context.Con // ChangeServiceGatewayCompartment Moves a service gateway into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartment API. func (client VirtualNetworkClient) ChangeServiceGatewayCompartment(ctx context.Context, request ChangeServiceGatewayCompartmentRequest) (response ChangeServiceGatewayCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1922,11 +2554,11 @@ func (client VirtualNetworkClient) changeServiceGatewayCompartment(ctx context.C // ChangeSubnetCompartment Moves a subnet into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartment API. func (client VirtualNetworkClient) ChangeSubnetCompartment(ctx context.Context, request ChangeSubnetCompartmentRequest) (response ChangeSubnetCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1986,11 +2618,11 @@ func (client VirtualNetworkClient) changeSubnetCompartment(ctx context.Context, // ChangeVcnCompartment Moves a VCN into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartment API. func (client VirtualNetworkClient) ChangeVcnCompartment(ctx context.Context, request ChangeVcnCompartmentRequest) (response ChangeVcnCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2050,11 +2682,11 @@ func (client VirtualNetworkClient) changeVcnCompartment(ctx context.Context, req // ChangeVirtualCircuitCompartment Moves a virtual circuit into a different compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartment API. // A default retry strategy applies to this operation ChangeVirtualCircuitCompartment() func (client VirtualNetworkClient) ChangeVirtualCircuitCompartment(ctx context.Context, request ChangeVirtualCircuitCompartmentRequest) (response ChangeVirtualCircuitCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -2115,11 +2747,11 @@ func (client VirtualNetworkClient) changeVirtualCircuitCompartment(ctx context.C // ChangeVlanCompartment Moves a VLAN into a different compartment within the same tenancy. // For information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartment API. func (client VirtualNetworkClient) ChangeVlanCompartment(ctx context.Context, request ChangeVlanCompartmentRequest) (response ChangeVlanCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2179,11 +2811,11 @@ func (client VirtualNetworkClient) changeVlanCompartment(ctx context.Context, re // ChangeVtapCompartment Moves a VTAP to a new compartment within the same tenancy. For information // about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVtapCompartment.go.html to see an example of how to use ChangeVtapCompartment API. func (client VirtualNetworkClient) ChangeVtapCompartment(ctx context.Context, request ChangeVtapCompartmentRequest) (response ChangeVtapCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2247,11 +2879,11 @@ func (client VirtualNetworkClient) changeVtapCompartment(ctx context.Context, re // an Identity and Access Management (IAM) policy that gives the requestor permission // to connect to LPGs in the acceptor's compartment. Without that permission, this // operation will fail. For more information, see -// VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// VCN Peering (https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGateways API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGateways API. func (client VirtualNetworkClient) ConnectLocalPeeringGateways(ctx context.Context, request ConnectLocalPeeringGatewaysRequest) (response ConnectLocalPeeringGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2310,11 +2942,11 @@ func (client VirtualNetworkClient) connectLocalPeeringGateways(ctx context.Conte // an Identity and Access Management (IAM) policy that gives the requestor permission // to connect to RPCs in the acceptor's compartment. Without that permission, this // operation will fail. For more information, see -// VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// VCN Peering (https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnections API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnections API. // A default retry strategy applies to this operation ConnectRemotePeeringConnections() func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.Context, request ConnectRemotePeeringConnectionsRequest) (response ConnectRemotePeeringConnectionsResponse, err error) { var ociResponse common.OCIResponse @@ -2368,11 +3000,74 @@ func (client VirtualNetworkClient) connectRemotePeeringConnections(ctx context.C return response, err } +// CreateByoasn Creates a BYOASN Resource +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoasn.go.html to see an example of how to use CreateByoasn API. +// A default retry strategy applies to this operation CreateByoasn() +func (client VirtualNetworkClient) CreateByoasn(ctx context.Context, request CreateByoasnRequest) (response CreateByoasnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createByoasn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateByoasnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateByoasnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateByoasnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateByoasnResponse") + } + return +} + +// createByoasn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) createByoasn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoasns", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateByoasnResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/CreateByoasn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateByoasn", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // CreateByoipRange Creates a subrange of the BYOIP CIDR block. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRange API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRange API. func (client VirtualNetworkClient) CreateByoipRange(ctx context.Context, request CreateByoipRangeRequest) (response CreateByoipRangeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2431,16 +3126,16 @@ func (client VirtualNetworkClient) createByoipRange(ctx context.Context, request } // CreateCaptureFilter Creates a virtual test access point (VTAP) capture filter in the specified compartment. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains // the VTAP. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the VTAP, otherwise a default is provided. // It does not have to be unique, and you can change it. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilter API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilter API. func (client VirtualNetworkClient) CreateCaptureFilter(ctx context.Context, request CreateCaptureFilterRequest) (response CreateCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2499,21 +3194,21 @@ func (client VirtualNetworkClient) createCaptureFilter(ctx context.Context, requ } // CreateCpe Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For -// more information, see Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want +// more information, see Site-to-Site VPN Overview (https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want // the CPE to reside. Notice that the CPE doesn't have to be in the same compartment as the IPSec // connection or other Networking Service components. If you're not sure which compartment to // use, put the CPE in the same compartment as the DRG. For more information about -// compartments and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// compartments and access control, see Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must provide the public IP address of your on-premises router. See -// CPE Configuration (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). +// CPE Configuration (https://docs.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). // You may optionally specify a *display name* for the CPE, otherwise a default is provided. It does not have to // be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpe API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpe API. // A default retry strategy applies to this operation CreateCpe() func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request CreateCpeRequest) (response CreateCpeResponse, err error) { var ociResponse common.OCIResponse @@ -2577,21 +3272,21 @@ func (client VirtualNetworkClient) createCpe(ctx context.Context, request common // with the connection. // After creating the `CrossConnect` object, you need to go the FastConnect location // and request to have the physical cable installed. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the +// FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the // compartment where you want the cross-connect to reside. If you're // not sure which compartment to use, put the cross-connect in the // same compartment with your VCN. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the cross-connect. // It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnect API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnect API. // A default retry strategy applies to this operation CreateCrossConnect() func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, request CreateCrossConnectRequest) (response CreateCrossConnectResponse, err error) { var ociResponse common.OCIResponse @@ -2652,21 +3347,21 @@ func (client VirtualNetworkClient) createCrossConnect(ctx context.Context, reque // CreateCrossConnectGroup Creates a new cross-connect group to use with Oracle Cloud Infrastructure // FastConnect. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the +// FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the // compartment where you want the cross-connect group to reside. If you're // not sure which compartment to use, put the cross-connect group in the // same compartment with your VCN. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the cross-connect group. // It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroup API. // A default retry strategy applies to this operation CreateCrossConnectGroup() func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request CreateCrossConnectGroupRequest) (response CreateCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse @@ -2727,18 +3422,18 @@ func (client VirtualNetworkClient) createCrossConnectGroup(ctx context.Context, // CreateDhcpOptions Creates a new set of DHCP options for the specified VCN. For more information, see // DhcpOptions. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of // DHCP options to reside. Notice that the set of options doesn't have to be in the same compartment as the VCN, // subnets, or other Networking Service components. If you're not sure which compartment to use, put the set // of DHCP options in the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptions API. func (client VirtualNetworkClient) CreateDhcpOptions(ctx context.Context, request CreateDhcpOptionsRequest) (response CreateDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2797,19 +3492,19 @@ func (client VirtualNetworkClient) createDhcpOptions(ctx context.Context, reques } // CreateDrg Creates a new dynamic routing gateway (DRG) in the specified compartment. For more information, -// see Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want +// see Dynamic Routing Gateways (DRGs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want // the DRG to reside. Notice that the DRG doesn't have to be in the same compartment as the VCN, // the DRG attachment, or other Networking Service components. If you're not sure which compartment // to use, put the DRG in the same compartment as the VCN. For more information about compartments -// and access control, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// and access control, see Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the DRG, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrg API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrg API. func (client VirtualNetworkClient) CreateDrg(ctx context.Context, request CreateDrgRequest) (response CreateDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2869,17 +3564,17 @@ func (client VirtualNetworkClient) createDrg(ctx context.Context, request common // CreateDrgAttachment Attaches the specified DRG to the specified network resource. A VCN can be attached to only one DRG // at a time, but a DRG can be attached to more than one VCN. The response includes a `DrgAttachment` -// object with its own OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For more information about DRGs, see -// Dynamic Routing Gateways (DRGs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). +// object with its own OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For more information about DRGs, see +// Dynamic Routing Gateways (DRGs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingDRGs.htm). // You may optionally specify a *display name* for the attachment, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // For the purposes of access control, the DRG attachment is automatically placed into the currently selected compartment. // For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachment API. func (client VirtualNetworkClient) CreateDrgAttachment(ctx context.Context, request CreateDrgAttachmentRequest) (response CreateDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2944,7 +3639,7 @@ func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistribution API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistribution API. func (client VirtualNetworkClient) CreateDrgRouteDistribution(ctx context.Context, request CreateDrgRouteDistributionRequest) (response CreateDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3007,7 +3702,7 @@ func (client VirtualNetworkClient) createDrgRouteDistribution(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTable API. func (client VirtualNetworkClient) CreateDrgRouteTable(ctx context.Context, request CreateDrgRouteTableRequest) (response CreateDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3066,18 +3761,18 @@ func (client VirtualNetworkClient) createDrgRouteTable(ctx context.Context, requ } // CreateIPSecConnection Creates a new IPSec connection between the specified DRG and CPE. For more information, see -// Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). +// Site-to-Site VPN Overview (https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). // If you configure at least one tunnel to use static routing, then in the request you must provide // at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16. // If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for // the static routes. For more information, see the important note in // IPSecConnection. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the // IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment // as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to // use, put the IPSec connection in the same compartment as the DRG. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // After creating the IPSec connection, you need to configure your on-premises router @@ -3087,11 +3782,11 @@ func (client VirtualNetworkClient) createDrgRouteTable(ctx context.Context, requ // // For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret // (that is, the pre-shared key). For more information, see -// CPE Configuration (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). +// CPE Configuration (https://docs.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnection API. // A default retry strategy applies to this operation CreateIPSecConnection() func (client VirtualNetworkClient) CreateIPSecConnection(ctx context.Context, request CreateIPSecConnectionRequest) (response CreateIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -3151,12 +3846,12 @@ func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, re } // CreateInternetGateway Creates a new internet gateway for the specified VCN. For more information, see -// Access to the Internet (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIGs.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the Internet +// Access to the Internet (https://docs.oracle.com/iaas/Content/Network/Tasks/managingIGs.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the Internet // Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or // other Networking Service components. If you're not sure which compartment to use, put the Internet // Gateway in the same compartment with the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It // does not have to be unique, and you can change it. Avoid entering confidential information. // For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in @@ -3169,7 +3864,7 @@ func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGateway API. func (client VirtualNetworkClient) CreateInternetGateway(ctx context.Context, request CreateInternetGatewayRequest) (response CreateInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3231,7 +3926,7 @@ func (client VirtualNetworkClient) createInternetGateway(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6 API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6 API. func (client VirtualNetworkClient) CreateIpv6(ctx context.Context, request CreateIpv6Request) (response CreateIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3293,7 +3988,7 @@ func (client VirtualNetworkClient) createIpv6(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGateway API. func (client VirtualNetworkClient) CreateLocalPeeringGateway(ctx context.Context, request CreateLocalPeeringGatewayRequest) (response CreateLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3356,7 +4051,7 @@ func (client VirtualNetworkClient) createLocalPeeringGateway(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGateway API. func (client VirtualNetworkClient) CreateNatGateway(ctx context.Context, request CreateNatGatewayRequest) (response CreateNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3418,7 +4113,7 @@ func (client VirtualNetworkClient) createNatGateway(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroup API. func (client VirtualNetworkClient) CreateNetworkSecurityGroup(ctx context.Context, request CreateNetworkSecurityGroupRequest) (response CreateNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3476,13 +4171,13 @@ func (client VirtualNetworkClient) createNetworkSecurityGroup(ctx context.Contex return response, err } -// CreatePrivateIp Creates a secondary private IP for the specified VNIC. -// For more information about secondary private IPs, see -// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). +// CreatePrivateIp Creates a private IP. +// For more information about private IPs, see +// IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIp API. func (client VirtualNetworkClient) CreatePrivateIp(ctx context.Context, request CreatePrivateIpRequest) (response CreatePrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3542,9 +4237,9 @@ func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request // CreatePublicIp Creates a public IP. Use the `lifetime` property to specify whether it's an ephemeral or // reserved public IP. For information about limits on how many you can create, see -// Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). +// Public IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). // * **For an ephemeral public IP assigned to a private IP:** You must also specify a `privateIpId` -// with the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary private IP you want to assign the public IP to. The public IP is +// with the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary private IP you want to assign the public IP to. The public IP is // created in the same availability domain as the private IP. An ephemeral public IP must always be // assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary // private IP. Exception: If you create a NatGateway, Oracle @@ -3560,7 +4255,7 @@ func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIp API. func (client VirtualNetworkClient) CreatePublicIp(ctx context.Context, request CreatePublicIpRequest) (response CreatePublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3622,7 +4317,7 @@ func (client VirtualNetworkClient) createPublicIp(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPool API. func (client VirtualNetworkClient) CreatePublicIpPool(ctx context.Context, request CreatePublicIpPoolRequest) (response CreatePublicIpPoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3684,7 +4379,7 @@ func (client VirtualNetworkClient) createPublicIpPool(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnection API. // A default retry strategy applies to this operation CreateRemotePeeringConnection() func (client VirtualNetworkClient) CreateRemotePeeringConnection(ctx context.Context, request CreateRemotePeeringConnectionRequest) (response CreateRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -3745,21 +4440,21 @@ func (client VirtualNetworkClient) createRemotePeeringConnection(ctx context.Con // CreateRouteTable Creates a new route table for the specified VCN. In the request you must also include at least one route // rule for the new route table. For information on the number of rules you can have in a route table, see -// Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For general information about route +// Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For general information about route // tables in your VCN and the types of targets you can use in route rules, -// see Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the route +// see Route Tables (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the route // table to reside. Notice that the route table doesn't have to be in the same compartment as the VCN, subnets, // or other Networking Service components. If you're not sure which compartment to use, put the route // table in the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the route table, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTable API. func (client VirtualNetworkClient) CreateRouteTable(ctx context.Context, request CreateRouteTableRequest) (response CreateRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3818,21 +4513,21 @@ func (client VirtualNetworkClient) createRouteTable(ctx context.Context, request } // CreateSecurityList Creates a new security list for the specified VCN. For more information -// about security lists, see Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). +// about security lists, see Security Lists (https://docs.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). // For information on the number of rules you can have in a security list, see -// Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the security +// Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the security // list to reside. Notice that the security list doesn't have to be in the same compartment as the VCN, subnets, // or other Networking Service components. If you're not sure which compartment to use, put the security // list in the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the security list, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityList API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityList API. func (client VirtualNetworkClient) CreateSecurityList(ctx context.Context, request CreateSecurityListRequest) (response CreateSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3891,10 +4586,10 @@ func (client VirtualNetworkClient) createSecurityList(ctx context.Context, reque } // CreateServiceGateway Creates a new service gateway in the specified compartment. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want // the service gateway to reside. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the service gateway, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // Use the ListServices operation to find service CIDR labels @@ -3902,7 +4597,7 @@ func (client VirtualNetworkClient) createSecurityList(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGateway API. func (client VirtualNetworkClient) CreateServiceGateway(ctx context.Context, request CreateServiceGatewayRequest) (response CreateServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3962,33 +4657,33 @@ func (client VirtualNetworkClient) createServiceGateway(ctx context.Context, req // CreateSubnet Creates a new subnet in the specified VCN. You can't change the size of the subnet after creation, // so it's important to think about the size of subnets you need before creating them. -// For more information, see VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). +// For more information, see VCNs and Subnets (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). // For information on the number of subnets you can have in a VCN, see -// Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the subnet +// Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the subnet // to reside. Notice that the subnet doesn't have to be in the same compartment as the VCN, route tables, or // other Networking Service components. If you're not sure which compartment to use, put the subnet in // the same compartment as the VCN. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, -// see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, +// see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally associate a route table with the subnet. If you don't, the subnet will use the // VCN's default route table. For more information about route tables, see -// Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). +// Route Tables (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). // You may optionally associate a security list with the subnet. If you don't, the subnet will use the // VCN's default security list. For more information about security lists, see -// Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). +// Security Lists (https://docs.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). // You may optionally associate a set of DHCP options with the subnet. If you don't, the subnet will use the // VCN's default set. For more information about DHCP options, see -// DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). +// DHCP Options (https://docs.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). // You may optionally specify a *display name* for the subnet, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // You can also add a DNS label for the subnet, which is required if you want the Internet and // VCN Resolver to resolve hostnames for instances in the subnet. For more information, see -// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnet API. func (client VirtualNetworkClient) CreateSubnet(ctx context.Context, request CreateSubnetRequest) (response CreateSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4047,34 +4742,34 @@ func (client VirtualNetworkClient) createSubnet(ctx context.Context, request com } // CreateVcn Creates a new virtual cloud network (VCN). For more information, see -// VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). +// VCNs and Subnets (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). // For the VCN, you specify a list of one or more IPv4 CIDR blocks that meet the following criteria: // - The CIDR blocks must be valid. // - They must not overlap with each other or with the on-premises network CIDR block. // - The number of CIDR blocks does not exceed the limit of CIDR blocks allowed per VCN. // For a CIDR block, Oracle recommends that you use one of the private IP address ranges specified in RFC 1918 (https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, 172.16/12, and 192.168/16). Example: // 172.16.0.0/16. The CIDR blocks can range from /16 to /30. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the VCN to +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the VCN to // reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which // compartment to use. Notice that the VCN doesn't have to be in the same compartment as the subnets or other // Networking Service components. For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the VCN, otherwise a default is provided. It does not have to // be unique, and you can change it. Avoid entering confidential information. // You can also add a DNS label for the VCN, which is required if you want the instances to use the // Interent and VCN Resolver option for DNS in the VCN. For more information, see -// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // The VCN automatically comes with a default route table, default security list, and default set of DHCP options. -// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for each is returned in the response. You can't delete these default objects, but you can change their +// The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for each is returned in the response. You can't delete these default objects, but you can change their // contents (that is, change the route rules, security list rules, and so on). // The VCN and subnets you create are not accessible until you attach an internet gateway or set up a Site-to-Site VPN // or FastConnect. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// Overview of the Networking Service (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcn API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcn API. func (client VirtualNetworkClient) CreateVcn(ctx context.Context, request CreateVcnRequest) (response CreateVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4134,26 +4829,26 @@ func (client VirtualNetworkClient) createVcn(ctx context.Context, request common // CreateVirtualCircuit Creates a new virtual circuit to use with Oracle Cloud // Infrastructure FastConnect. For more information, see -// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the +// FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the // compartment where you want the virtual circuit to reside. If you're // not sure which compartment to use, put the virtual circuit in the // same compartment with the DRG it's using. For more information about // compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the virtual circuit. // It does not have to be unique, and you can change it. Avoid entering confidential information. // **Important:** When creating a virtual circuit, you specify a DRG for // the traffic to flow through. Make sure you attach the DRG to your // VCN and confirm the VCN's routing sends traffic to the DRG. Otherwise // traffic will not flow. For more information, see -// Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). +// Route Tables (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuit API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuit API. // A default retry strategy applies to this operation CreateVirtualCircuit() func (client VirtualNetworkClient) CreateVirtualCircuit(ctx context.Context, request CreateVirtualCircuitRequest) (response CreateVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse @@ -4216,7 +4911,7 @@ func (client VirtualNetworkClient) createVirtualCircuit(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlan API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlan API. func (client VirtualNetworkClient) CreateVlan(ctx context.Context, request CreateVlanRequest) (response CreateVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4275,16 +4970,16 @@ func (client VirtualNetworkClient) createVlan(ctx context.Context, request commo } // CreateVtap Creates a virtual test access point (VTAP) in the specified compartment. -// For the purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. +// For the purposes of access control, you must provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. // For more information about compartments and access control, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). -// For information about OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). +// For information about OCIDs, see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You may optionally specify a *display name* for the VTAP, otherwise a default is provided. // It does not have to be unique, and you can change it. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtap API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtap API. func (client VirtualNetworkClient) CreateVtap(ctx context.Context, request CreateVtapRequest) (response CreateVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4322,19 +5017,79 @@ func (client VirtualNetworkClient) CreateVtap(ctx context.Context, request Creat // createVtap implements the OCIOperation interface (enables retrying operations) func (client VirtualNetworkClient) createVtap(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vtaps", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vtaps", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateVtapResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/CreateVtap" + err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateVtap", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// DeleteByoasn Deletes the specified `Byoasn` resource. +// The resource must be in one of the following states: CREATING, ACTIVE or FAILED. +// It must not be in use by any of the byoipRanges or deletion will fail. +// You must specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoasn.go.html to see an example of how to use DeleteByoasn API. +func (client VirtualNetworkClient) DeleteByoasn(ctx context.Context, request DeleteByoasnRequest) (response DeleteByoasnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteByoasn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteByoasnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteByoasnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteByoasnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteByoasnResponse") + } + return +} + +// deleteByoasn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) deleteByoasn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/byoasns/{byoasnId}", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response CreateVtapResponse + var response DeleteByoasnResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/CreateVtap" - err = common.PostProcessServiceError(err, "VirtualNetwork", "CreateVtap", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/DeleteByoasn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "DeleteByoasn", apiReferenceLink) return response, err } @@ -4345,12 +5100,12 @@ func (client VirtualNetworkClient) createVtap(ctx context.Context, request commo // DeleteByoipRange Deletes the specified `ByoipRange` resource. // The resource must be in one of the following states: CREATING, PROVISIONED, ACTIVE, or FAILED. // It must not have any subranges currently allocated to a PublicIpPool object or the deletion will fail. -// You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// You must specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // If the `ByoipRange` resource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRange API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRange API. func (client VirtualNetworkClient) DeleteByoipRange(ctx context.Context, request DeleteByoipRangeRequest) (response DeleteByoipRangeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4408,7 +5163,7 @@ func (client VirtualNetworkClient) deleteByoipRange(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilter API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilter API. func (client VirtualNetworkClient) DeleteCaptureFilter(ctx context.Context, request DeleteCaptureFilterRequest) (response DeleteCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4467,7 +5222,7 @@ func (client VirtualNetworkClient) deleteCaptureFilter(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpe API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpe API. // A default retry strategy applies to this operation DeleteCpe() func (client VirtualNetworkClient) DeleteCpe(ctx context.Context, request DeleteCpeRequest) (response DeleteCpeResponse, err error) { var ociResponse common.OCIResponse @@ -4526,7 +5281,7 @@ func (client VirtualNetworkClient) deleteCpe(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnect API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnect API. // A default retry strategy applies to this operation DeleteCrossConnect() func (client VirtualNetworkClient) DeleteCrossConnect(ctx context.Context, request DeleteCrossConnectRequest) (response DeleteCrossConnectResponse, err error) { var ociResponse common.OCIResponse @@ -4586,7 +5341,7 @@ func (client VirtualNetworkClient) deleteCrossConnect(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroup API. // A default retry strategy applies to this operation DeleteCrossConnectGroup() func (client VirtualNetworkClient) DeleteCrossConnectGroup(ctx context.Context, request DeleteCrossConnectGroupRequest) (response DeleteCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse @@ -4647,7 +5402,7 @@ func (client VirtualNetworkClient) deleteCrossConnectGroup(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptions API. func (client VirtualNetworkClient) DeleteDhcpOptions(ctx context.Context, request DeleteDhcpOptionsRequest) (response DeleteDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4707,7 +5462,7 @@ func (client VirtualNetworkClient) deleteDhcpOptions(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrg API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrg API. func (client VirtualNetworkClient) DeleteDrg(ctx context.Context, request DeleteDrgRequest) (response DeleteDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4766,7 +5521,7 @@ func (client VirtualNetworkClient) deleteDrg(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachment API. func (client VirtualNetworkClient) DeleteDrgAttachment(ctx context.Context, request DeleteDrgAttachmentRequest) (response DeleteDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4824,7 +5579,7 @@ func (client VirtualNetworkClient) deleteDrgAttachment(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistribution API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistribution API. func (client VirtualNetworkClient) DeleteDrgRouteDistribution(ctx context.Context, request DeleteDrgRouteDistributionRequest) (response DeleteDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4881,7 +5636,7 @@ func (client VirtualNetworkClient) deleteDrgRouteDistribution(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTable API. func (client VirtualNetworkClient) DeleteDrgRouteTable(ctx context.Context, request DeleteDrgRouteTableRequest) (response DeleteDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4944,7 +5699,7 @@ func (client VirtualNetworkClient) deleteDrgRouteTable(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnection API. // A default retry strategy applies to this operation DeleteIPSecConnection() func (client VirtualNetworkClient) DeleteIPSecConnection(ctx context.Context, request DeleteIPSecConnectionRequest) (response DeleteIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -5005,7 +5760,7 @@ func (client VirtualNetworkClient) deleteIPSecConnection(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGateway API. func (client VirtualNetworkClient) DeleteInternetGateway(ctx context.Context, request DeleteInternetGatewayRequest) (response DeleteInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5058,12 +5813,12 @@ func (client VirtualNetworkClient) deleteInternetGateway(ctx context.Context, re return response, err } -// DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // The IPv6 address is returned to the subnet's pool of available addresses. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6 API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6 API. func (client VirtualNetworkClient) DeleteIpv6(ctx context.Context, request DeleteIpv6Request) (response DeleteIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5122,7 +5877,7 @@ func (client VirtualNetworkClient) deleteIpv6(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGateway API. func (client VirtualNetworkClient) DeleteLocalPeeringGateway(ctx context.Context, request DeleteLocalPeeringGatewayRequest) (response DeleteLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5182,7 +5937,7 @@ func (client VirtualNetworkClient) deleteLocalPeeringGateway(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGateway API. func (client VirtualNetworkClient) DeleteNatGateway(ctx context.Context, request DeleteNatGatewayRequest) (response DeleteNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5239,12 +5994,12 @@ func (client VirtualNetworkClient) deleteNatGateway(ctx context.Context, request // To get a list of the VNICs in a network security group, use // ListNetworkSecurityGroupVnics. // Each returned NetworkSecurityGroupVnic object -// contains both the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC's parent resource (for example, +// contains both the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC's parent resource (for example, // the Compute instance that the VNIC is attached to). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroup API. func (client VirtualNetworkClient) DeleteNetworkSecurityGroup(ctx context.Context, request DeleteNetworkSecurityGroupRequest) (response DeleteNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5298,18 +6053,18 @@ func (client VirtualNetworkClient) deleteNetworkSecurityGroup(ctx context.Contex } // DeletePrivateIp Unassigns and deletes the specified private IP. You must -// specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The private IP address is returned to +// specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The private IP address is returned to // the subnet's pool of available addresses. // This operation cannot be used with primary private IPs, which are // automatically unassigned and deleted when the VNIC is terminated. // **Important:** If a secondary private IP is the -// target of a route rule (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), +// target of a route rule (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), // unassigning it from the VNIC causes that route rule to blackhole and the traffic // will be dropped. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIp API. func (client VirtualNetworkClient) DeletePrivateIp(ctx context.Context, request DeletePrivateIpRequest) (response DeletePrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5363,7 +6118,7 @@ func (client VirtualNetworkClient) deletePrivateIp(ctx context.Context, request } // DeletePublicIp Unassigns and deletes the specified public IP (either ephemeral or reserved). -// You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the +// You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the // Oracle Cloud Infrastructure public IP pool. // **Note:** You cannot update, unassign, or delete the public IP that Oracle automatically // assigned to an entity for you (such as a load balancer or NAT gateway). The public IP is @@ -5377,7 +6132,7 @@ func (client VirtualNetworkClient) deletePrivateIp(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIp API. func (client VirtualNetworkClient) DeletePublicIp(ctx context.Context, request DeletePublicIpRequest) (response DeletePublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5432,11 +6187,11 @@ func (client VirtualNetworkClient) deletePublicIp(ctx context.Context, request c // DeletePublicIpPool Deletes the specified public IP pool. // To delete a public IP pool it must not have any active IP address allocations. -// You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) when deleting an IP pool. +// You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) when deleting an IP pool. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPool API. func (client VirtualNetworkClient) DeletePublicIpPool(ctx context.Context, request DeletePublicIpPoolRequest) (response DeletePublicIpPoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5495,7 +6250,7 @@ func (client VirtualNetworkClient) deletePublicIpPool(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnection API. // A default retry strategy applies to this operation DeleteRemotePeeringConnection() func (client VirtualNetworkClient) DeleteRemotePeeringConnection(ctx context.Context, request DeleteRemotePeeringConnectionRequest) (response DeleteRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -5556,7 +6311,7 @@ func (client VirtualNetworkClient) deleteRemotePeeringConnection(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTable API. func (client VirtualNetworkClient) DeleteRouteTable(ctx context.Context, request DeleteRouteTableRequest) (response DeleteRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5616,7 +6371,7 @@ func (client VirtualNetworkClient) deleteRouteTable(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityList API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityList API. func (client VirtualNetworkClient) DeleteSecurityList(ctx context.Context, request DeleteSecurityListRequest) (response DeleteSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5674,7 +6429,7 @@ func (client VirtualNetworkClient) deleteSecurityList(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGateway API. func (client VirtualNetworkClient) DeleteServiceGateway(ctx context.Context, request DeleteServiceGatewayRequest) (response DeleteServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5733,7 +6488,7 @@ func (client VirtualNetworkClient) deleteServiceGateway(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnet API. func (client VirtualNetworkClient) DeleteSubnet(ctx context.Context, request DeleteSubnetRequest) (response DeleteSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5794,7 +6549,7 @@ func (client VirtualNetworkClient) deleteSubnet(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcn API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcn API. func (client VirtualNetworkClient) DeleteVcn(ctx context.Context, request DeleteVcnRequest) (response DeleteVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5854,7 +6609,7 @@ func (client VirtualNetworkClient) deleteVcn(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuit API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuit API. // A default retry strategy applies to this operation DeleteVirtualCircuit() func (client VirtualNetworkClient) DeleteVirtualCircuit(ctx context.Context, request DeleteVirtualCircuitRequest) (response DeleteVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse @@ -5912,7 +6667,7 @@ func (client VirtualNetworkClient) deleteVirtualCircuit(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlan API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlan API. func (client VirtualNetworkClient) DeleteVlan(ctx context.Context, request DeleteVlanRequest) (response DeleteVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -5970,7 +6725,7 @@ func (client VirtualNetworkClient) deleteVlan(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtap API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtap API. func (client VirtualNetworkClient) DeleteVtap(ctx context.Context, request DeleteVtapRequest) (response DeleteVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6037,7 +6792,7 @@ func (client VirtualNetworkClient) deleteVtap(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceId API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceId API. func (client VirtualNetworkClient) DetachServiceId(ctx context.Context, request DetachServiceIdRequest) (response DetachServiceIdResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6094,7 +6849,7 @@ func (client VirtualNetworkClient) detachServiceId(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachments API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachments API. func (client VirtualNetworkClient) GetAllDrgAttachments(ctx context.Context, request GetAllDrgAttachmentsRequest) (response GetAllDrgAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6151,7 +6906,7 @@ func (client VirtualNetworkClient) getAllDrgAttachments(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParameters API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParameters API. // A default retry strategy applies to this operation GetAllowedIkeIPSecParameters() func (client VirtualNetworkClient) GetAllowedIkeIPSecParameters(ctx context.Context, request GetAllowedIkeIPSecParametersRequest) (response GetAllowedIkeIPSecParametersResponse, err error) { var ociResponse common.OCIResponse @@ -6205,11 +6960,69 @@ func (client VirtualNetworkClient) getAllowedIkeIPSecParameters(ctx context.Cont return response, err } -// GetByoipRange Gets the `ByoipRange` resource. You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetByoasn Gets the `Byoasn` resource. You must specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoasn.go.html to see an example of how to use GetByoasn API. +// A default retry strategy applies to this operation GetByoasn() +func (client VirtualNetworkClient) GetByoasn(ctx context.Context, request GetByoasnRequest) (response GetByoasnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getByoasn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetByoasnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetByoasnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetByoasnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetByoasnResponse") + } + return +} + +// getByoasn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) getByoasn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoasns/{byoasnId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetByoasnResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/GetByoasn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "GetByoasn", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// GetByoipRange Gets the `ByoipRange` resource. You must specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRange API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRange API. func (client VirtualNetworkClient) GetByoipRange(ctx context.Context, request GetByoipRangeRequest) (response GetByoipRangeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6266,7 +7079,7 @@ func (client VirtualNetworkClient) getByoipRange(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilter API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilter API. func (client VirtualNetworkClient) GetCaptureFilter(ctx context.Context, request GetCaptureFilterRequest) (response GetCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6323,7 +7136,7 @@ func (client VirtualNetworkClient) getCaptureFilter(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpe API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpe API. // A default retry strategy applies to this operation GetCpe() func (client VirtualNetworkClient) GetCpe(ctx context.Context, request GetCpeRequest) (response GetCpeResponse, err error) { var ociResponse common.OCIResponse @@ -6395,7 +7208,7 @@ func (client VirtualNetworkClient) getCpe(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContent API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContent API. // A default retry strategy applies to this operation GetCpeDeviceConfigContent() func (client VirtualNetworkClient) GetCpeDeviceConfigContent(ctx context.Context, request GetCpeDeviceConfigContentRequest) (response GetCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse @@ -6459,7 +7272,7 @@ func (client VirtualNetworkClient) getCpeDeviceConfigContent(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShape API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShape API. // A default retry strategy applies to this operation GetCpeDeviceShape() func (client VirtualNetworkClient) GetCpeDeviceShape(ctx context.Context, request GetCpeDeviceShapeRequest) (response GetCpeDeviceShapeResponse, err error) { var ociResponse common.OCIResponse @@ -6517,7 +7330,7 @@ func (client VirtualNetworkClient) getCpeDeviceShape(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnect API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnect API. // A default retry strategy applies to this operation GetCrossConnect() func (client VirtualNetworkClient) GetCrossConnect(ctx context.Context, request GetCrossConnectRequest) (response GetCrossConnectResponse, err error) { var ociResponse common.OCIResponse @@ -6575,7 +7388,7 @@ func (client VirtualNetworkClient) getCrossConnect(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroup API. // A default retry strategy applies to this operation GetCrossConnectGroup() func (client VirtualNetworkClient) GetCrossConnectGroup(ctx context.Context, request GetCrossConnectGroupRequest) (response GetCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse @@ -6633,7 +7446,7 @@ func (client VirtualNetworkClient) getCrossConnectGroup(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthority API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthority API. // A default retry strategy applies to this operation GetCrossConnectLetterOfAuthority() func (client VirtualNetworkClient) GetCrossConnectLetterOfAuthority(ctx context.Context, request GetCrossConnectLetterOfAuthorityRequest) (response GetCrossConnectLetterOfAuthorityResponse, err error) { var ociResponse common.OCIResponse @@ -6691,7 +7504,7 @@ func (client VirtualNetworkClient) getCrossConnectLetterOfAuthority(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatus API. // A default retry strategy applies to this operation GetCrossConnectStatus() func (client VirtualNetworkClient) GetCrossConnectStatus(ctx context.Context, request GetCrossConnectStatusRequest) (response GetCrossConnectStatusResponse, err error) { var ociResponse common.OCIResponse @@ -6749,7 +7562,7 @@ func (client VirtualNetworkClient) getCrossConnectStatus(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptions API. func (client VirtualNetworkClient) GetDhcpOptions(ctx context.Context, request GetDhcpOptionsRequest) (response GetDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6806,7 +7619,7 @@ func (client VirtualNetworkClient) getDhcpOptions(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrg API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrg API. func (client VirtualNetworkClient) GetDrg(ctx context.Context, request GetDrgRequest) (response GetDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6863,7 +7676,7 @@ func (client VirtualNetworkClient) getDrg(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachment API. func (client VirtualNetworkClient) GetDrgAttachment(ctx context.Context, request GetDrgAttachmentRequest) (response GetDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -6917,11 +7730,11 @@ func (client VirtualNetworkClient) getDrgAttachment(ctx context.Context, request } // GetDrgRedundancyStatus Gets the redundancy status for the specified DRG. For more information, see -// Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). +// Redundancy Remedies (https://docs.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatus API. // A default retry strategy applies to this operation GetDrgRedundancyStatus() func (client VirtualNetworkClient) GetDrgRedundancyStatus(ctx context.Context, request GetDrgRedundancyStatusRequest) (response GetDrgRedundancyStatusResponse, err error) { var ociResponse common.OCIResponse @@ -6979,7 +7792,7 @@ func (client VirtualNetworkClient) getDrgRedundancyStatus(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistribution API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistribution API. func (client VirtualNetworkClient) GetDrgRouteDistribution(ctx context.Context, request GetDrgRouteDistributionRequest) (response GetDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7036,7 +7849,7 @@ func (client VirtualNetworkClient) getDrgRouteDistribution(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTable API. func (client VirtualNetworkClient) GetDrgRouteTable(ctx context.Context, request GetDrgRouteTableRequest) (response GetDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7090,11 +7903,11 @@ func (client VirtualNetworkClient) getDrgRouteTable(ctx context.Context, request } // GetFastConnectProviderService Gets the specified provider service. -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For more information, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderService API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderService API. // A default retry strategy applies to this operation GetFastConnectProviderService() func (client VirtualNetworkClient) GetFastConnectProviderService(ctx context.Context, request GetFastConnectProviderServiceRequest) (response GetFastConnectProviderServiceResponse, err error) { var ociResponse common.OCIResponse @@ -7153,7 +7966,7 @@ func (client VirtualNetworkClient) getFastConnectProviderService(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKey API. // A default retry strategy applies to this operation GetFastConnectProviderServiceKey() func (client VirtualNetworkClient) GetFastConnectProviderServiceKey(ctx context.Context, request GetFastConnectProviderServiceKeyRequest) (response GetFastConnectProviderServiceKeyResponse, err error) { var ociResponse common.OCIResponse @@ -7213,7 +8026,7 @@ func (client VirtualNetworkClient) getFastConnectProviderServiceKey(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnection API. // A default retry strategy applies to this operation GetIPSecConnection() func (client VirtualNetworkClient) GetIPSecConnection(ctx context.Context, request GetIPSecConnectionRequest) (response GetIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -7273,7 +8086,7 @@ func (client VirtualNetworkClient) getIPSecConnection(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfig API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfig API. // A default retry strategy applies to this operation GetIPSecConnectionDeviceConfig() func (client VirtualNetworkClient) GetIPSecConnectionDeviceConfig(ctx context.Context, request GetIPSecConnectionDeviceConfigRequest) (response GetIPSecConnectionDeviceConfigResponse, err error) { var ociResponse common.OCIResponse @@ -7332,7 +8145,7 @@ func (client VirtualNetworkClient) getIPSecConnectionDeviceConfig(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatus API. // A default retry strategy applies to this operation GetIPSecConnectionDeviceStatus() func (client VirtualNetworkClient) GetIPSecConnectionDeviceStatus(ctx context.Context, request GetIPSecConnectionDeviceStatusRequest) (response GetIPSecConnectionDeviceStatusResponse, err error) { var ociResponse common.OCIResponse @@ -7392,7 +8205,7 @@ func (client VirtualNetworkClient) getIPSecConnectionDeviceStatus(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnel API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnel API. // A default retry strategy applies to this operation GetIPSecConnectionTunnel() func (client VirtualNetworkClient) GetIPSecConnectionTunnel(ctx context.Context, request GetIPSecConnectionTunnelRequest) (response GetIPSecConnectionTunnelResponse, err error) { var ociResponse common.OCIResponse @@ -7450,7 +8263,7 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnel(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelError API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelError API. // A default retry strategy applies to this operation GetIPSecConnectionTunnelError() func (client VirtualNetworkClient) GetIPSecConnectionTunnelError(ctx context.Context, request GetIPSecConnectionTunnelErrorRequest) (response GetIPSecConnectionTunnelErrorResponse, err error) { var ociResponse common.OCIResponse @@ -7509,7 +8322,7 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnelError(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecret API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecret API. // A default retry strategy applies to this operation GetIPSecConnectionTunnelSharedSecret() func (client VirtualNetworkClient) GetIPSecConnectionTunnelSharedSecret(ctx context.Context, request GetIPSecConnectionTunnelSharedSecretRequest) (response GetIPSecConnectionTunnelSharedSecretResponse, err error) { var ociResponse common.OCIResponse @@ -7567,7 +8380,7 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnelSharedSecret(ctx cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGateway API. func (client VirtualNetworkClient) GetInternetGateway(ctx context.Context, request GetInternetGatewayRequest) (response GetInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7639,7 +8452,7 @@ func (client VirtualNetworkClient) getInternetGateway(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContent API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContent API. // A default retry strategy applies to this operation GetIpsecCpeDeviceConfigContent() func (client VirtualNetworkClient) GetIpsecCpeDeviceConfigContent(ctx context.Context, request GetIpsecCpeDeviceConfigContentRequest) (response GetIpsecCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse @@ -7692,14 +8505,14 @@ func (client VirtualNetworkClient) getIpsecCpeDeviceConfigContent(ctx context.Co return response, err } -// GetIpv6 Gets the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetIpv6 Gets the specified IPv6. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // Alternatively, you can get the object by using // ListIpv6s -// with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6 API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6 API. func (client VirtualNetworkClient) GetIpv6(ctx context.Context, request GetIpv6Request) (response GetIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7756,7 +8569,7 @@ func (client VirtualNetworkClient) getIpv6(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGateway API. func (client VirtualNetworkClient) GetLocalPeeringGateway(ctx context.Context, request GetLocalPeeringGatewayRequest) (response GetLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7813,7 +8626,7 @@ func (client VirtualNetworkClient) getLocalPeeringGateway(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGateway API. func (client VirtualNetworkClient) GetNatGateway(ctx context.Context, request GetNatGatewayRequest) (response GetNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7874,7 +8687,7 @@ func (client VirtualNetworkClient) getNatGateway(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroup API. func (client VirtualNetworkClient) GetNetworkSecurityGroup(ctx context.Context, request GetNetworkSecurityGroupRequest) (response GetNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7931,7 +8744,7 @@ func (client VirtualNetworkClient) getNetworkSecurityGroup(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopology API. func (client VirtualNetworkClient) GetNetworkingTopology(ctx context.Context, request GetNetworkingTopologyRequest) (response GetNetworkingTopologyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -7984,14 +8797,14 @@ func (client VirtualNetworkClient) getNetworkingTopology(ctx context.Context, re return response, err } -// GetPrivateIp Gets the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetPrivateIp Gets the specified private IP. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // Alternatively, you can get the object by using // ListPrivateIps -// with the private IP address (for example, 10.0.3.3) and subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// with the private IP address (for example, 10.0.3.3) and subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIp API. func (client VirtualNetworkClient) GetPrivateIp(ctx context.Context, request GetPrivateIpRequest) (response GetPrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8044,18 +8857,18 @@ func (client VirtualNetworkClient) getPrivateIp(ctx context.Context, request com return response, err } -// GetPublicIp Gets the specified public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetPublicIp Gets the specified public IP. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // Alternatively, you can get the object by using GetPublicIpByIpAddress // with the public IP address (for example, 203.0.113.2). // Or you can use GetPublicIpByPrivateIpId -// with the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to. +// with the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to. // **Note:** If you're fetching a reserved public IP that is in the process of being // moved to a different private IP, the service returns the public IP object with -// `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. +// `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIp API. func (client VirtualNetworkClient) GetPublicIp(ctx context.Context, request GetPublicIpRequest) (response GetPublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8111,11 +8924,11 @@ func (client VirtualNetworkClient) getPublicIp(ctx context.Context, request comm // GetPublicIpByIpAddress Gets the public IP based on the public IP address (for example, 203.0.113.2). // **Note:** If you're fetching a reserved public IP that is in the process of being // moved to a different private IP, the service returns the public IP object with -// `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. +// `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddress API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddress API. func (client VirtualNetworkClient) GetPublicIpByIpAddress(ctx context.Context, request GetPublicIpByIpAddressRequest) (response GetPublicIpByIpAddressResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8171,17 +8984,17 @@ func (client VirtualNetworkClient) getPublicIpByIpAddress(ctx context.Context, r // GetPublicIpByPrivateIpId Gets the public IP assigned to the specified private IP. You must specify the OCID // of the private IP. If no public IP is assigned, a 404 is returned. // **Note:** If you're fetching a reserved public IP that is in the process of being -// moved to a different private IP, and you provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private -// IP, this operation returns a 404. If you instead provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target +// moved to a different private IP, and you provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private +// IP, this operation returns a 404. If you instead provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target // private IP, or if you instead call // GetPublicIp or // GetPublicIpByIpAddress, the // service returns the public IP object with `lifecycleState` = ASSIGNING and -// `assignedEntityId` = OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. +// `assignedEntityId` = OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpId API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpId API. func (client VirtualNetworkClient) GetPublicIpByPrivateIpId(ctx context.Context, request GetPublicIpByPrivateIpIdRequest) (response GetPublicIpByPrivateIpIdResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8234,11 +9047,11 @@ func (client VirtualNetworkClient) getPublicIpByPrivateIpId(ctx context.Context, return response, err } -// GetPublicIpPool Gets the specified `PublicIpPool` object. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetPublicIpPool Gets the specified `PublicIpPool` object. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPool API. func (client VirtualNetworkClient) GetPublicIpPool(ctx context.Context, request GetPublicIpPoolRequest) (response GetPublicIpPoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8295,7 +9108,7 @@ func (client VirtualNetworkClient) getPublicIpPool(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnection API. // A default retry strategy applies to this operation GetRemotePeeringConnection() func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Context, request GetRemotePeeringConnectionRequest) (response GetRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -8353,7 +9166,7 @@ func (client VirtualNetworkClient) getRemotePeeringConnection(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetResourceIpInventory.go.html to see an example of how to use GetResourceIpInventory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetResourceIpInventory.go.html to see an example of how to use GetResourceIpInventory API. func (client VirtualNetworkClient) GetResourceIpInventory(ctx context.Context, request GetResourceIpInventoryRequest) (response GetResourceIpInventoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8410,7 +9223,7 @@ func (client VirtualNetworkClient) getResourceIpInventory(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTable API. func (client VirtualNetworkClient) GetRouteTable(ctx context.Context, request GetRouteTableRequest) (response GetRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8467,7 +9280,7 @@ func (client VirtualNetworkClient) getRouteTable(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityList API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityList API. func (client VirtualNetworkClient) GetSecurityList(ctx context.Context, request GetSecurityListRequest) (response GetSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8524,7 +9337,7 @@ func (client VirtualNetworkClient) getSecurityList(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetService API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetService API. func (client VirtualNetworkClient) GetService(ctx context.Context, request GetServiceRequest) (response GetServiceResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8581,7 +9394,7 @@ func (client VirtualNetworkClient) getService(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGateway API. func (client VirtualNetworkClient) GetServiceGateway(ctx context.Context, request GetServiceGatewayRequest) (response GetServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8638,7 +9451,7 @@ func (client VirtualNetworkClient) getServiceGateway(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnet API. func (client VirtualNetworkClient) GetSubnet(ctx context.Context, request GetSubnetRequest) (response GetSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8691,11 +9504,11 @@ func (client VirtualNetworkClient) getSubnet(ctx context.Context, request common return response, err } -// GetSubnetCidrUtilization Gets the CIDR utilization data of the specified subnet. Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetSubnetCidrUtilization Gets the CIDR utilization data of the specified subnet. Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetCidrUtilization.go.html to see an example of how to use GetSubnetCidrUtilization API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetCidrUtilization.go.html to see an example of how to use GetSubnetCidrUtilization API. func (client VirtualNetworkClient) GetSubnetCidrUtilization(ctx context.Context, request GetSubnetCidrUtilizationRequest) (response GetSubnetCidrUtilizationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8748,11 +9561,11 @@ func (client VirtualNetworkClient) getSubnetCidrUtilization(ctx context.Context, return response, err } -// GetSubnetIpInventory Gets the IP Inventory data of the specified subnet. Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetSubnetIpInventory Gets the IP Inventory data of the specified subnet. Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetIpInventory.go.html to see an example of how to use GetSubnetIpInventory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetIpInventory.go.html to see an example of how to use GetSubnetIpInventory API. func (client VirtualNetworkClient) GetSubnetIpInventory(ctx context.Context, request GetSubnetIpInventoryRequest) (response GetSubnetIpInventoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8809,7 +9622,7 @@ func (client VirtualNetworkClient) getSubnetIpInventory(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopology API. func (client VirtualNetworkClient) GetSubnetTopology(ctx context.Context, request GetSubnetTopologyRequest) (response GetSubnetTopologyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -8870,7 +9683,7 @@ func (client VirtualNetworkClient) getSubnetTopology(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfig API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfig API. // A default retry strategy applies to this operation GetTunnelCpeDeviceConfig() func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, request GetTunnelCpeDeviceConfigRequest) (response GetTunnelCpeDeviceConfigResponse, err error) { var ociResponse common.OCIResponse @@ -8942,7 +9755,7 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfig(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContent API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContent API. // A default retry strategy applies to this operation GetTunnelCpeDeviceConfigContent() func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.Context, request GetTunnelCpeDeviceConfigContentRequest) (response GetTunnelCpeDeviceConfigContentResponse, err error) { var ociResponse common.OCIResponse @@ -8999,7 +9812,7 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfigContent(ctx context.C // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatus API. func (client VirtualNetworkClient) GetUpgradeStatus(ctx context.Context, request GetUpgradeStatusRequest) (response GetUpgradeStatusResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9056,7 +9869,7 @@ func (client VirtualNetworkClient) getUpgradeStatus(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcn API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcn API. func (client VirtualNetworkClient) GetVcn(ctx context.Context, request GetVcnRequest) (response GetVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9113,7 +9926,7 @@ func (client VirtualNetworkClient) getVcn(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociation API. func (client VirtualNetworkClient) GetVcnDnsResolverAssociation(ctx context.Context, request GetVcnDnsResolverAssociationRequest) (response GetVcnDnsResolverAssociationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9166,11 +9979,11 @@ func (client VirtualNetworkClient) getVcnDnsResolverAssociation(ctx context.Cont return response, err } -// GetVcnOverlap Gets the CIDR overlap information of the specified VCN in selected compartments. Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// GetVcnOverlap Gets the CIDR overlap information of the specified VCN in selected compartments. Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnOverlap.go.html to see an example of how to use GetVcnOverlap API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnOverlap.go.html to see an example of how to use GetVcnOverlap API. func (client VirtualNetworkClient) GetVcnOverlap(ctx context.Context, request GetVcnOverlapRequest) (response GetVcnOverlapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9232,7 +10045,7 @@ func (client VirtualNetworkClient) getVcnOverlap(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopology API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopology API. func (client VirtualNetworkClient) GetVcnTopology(ctx context.Context, request GetVcnTopologyRequest) (response GetVcnTopologyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9289,7 +10102,7 @@ func (client VirtualNetworkClient) getVcnTopology(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuit API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuit API. // A default retry strategy applies to this operation GetVirtualCircuit() func (client VirtualNetworkClient) GetVirtualCircuit(ctx context.Context, request GetVirtualCircuitRequest) (response GetVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse @@ -9347,7 +10160,7 @@ func (client VirtualNetworkClient) getVirtualCircuit(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlan API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlan API. func (client VirtualNetworkClient) GetVlan(ctx context.Context, request GetVlanRequest) (response GetVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9401,13 +10214,13 @@ func (client VirtualNetworkClient) getVlan(ctx context.Context, request common.O } // GetVnic Gets the information for the specified virtual network interface card (VNIC). -// You can get the VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) from the +// You can get the VNIC OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) from the // ListVnicAttachments // operation. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnic API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnic API. func (client VirtualNetworkClient) GetVnic(ctx context.Context, request GetVnicRequest) (response GetVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9464,7 +10277,7 @@ func (client VirtualNetworkClient) getVnic(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtap API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtap API. func (client VirtualNetworkClient) GetVtap(ctx context.Context, request GetVtapRequest) (response GetVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9517,12 +10330,74 @@ func (client VirtualNetworkClient) getVtap(ctx context.Context, request common.O return response, err } +// Ipv6VnicDetach Unassign the specified IPv6 address from Virtual Network Interface Card (VNIC). You must specify the IPv6 OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/Ipv6VnicDetach.go.html to see an example of how to use Ipv6VnicDetach API. +func (client VirtualNetworkClient) Ipv6VnicDetach(ctx context.Context, request Ipv6VnicDetachRequest) (response Ipv6VnicDetachResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.ipv6VnicDetach, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = Ipv6VnicDetachResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = Ipv6VnicDetachResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(Ipv6VnicDetachResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into Ipv6VnicDetachResponse") + } + return +} + +// ipv6VnicDetach implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) ipv6VnicDetach(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/ipv6/{ipv6Id}/actions/detach", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response Ipv6VnicDetachResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/Ipv6VnicDetach" + err = common.PostProcessServiceError(err, "VirtualNetwork", "Ipv6VnicDetach", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListAllowedPeerRegionsForRemotePeering Lists the regions that support remote VCN peering (which is peering across regions). -// For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// For more information, see VCN Peering (https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeering API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeering API. // A default retry strategy applies to this operation ListAllowedPeerRegionsForRemotePeering() func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx context.Context, request ListAllowedPeerRegionsForRemotePeeringRequest) (response ListAllowedPeerRegionsForRemotePeeringResponse, err error) { var ociResponse common.OCIResponse @@ -9576,12 +10451,71 @@ func (client VirtualNetworkClient) listAllowedPeerRegionsForRemotePeering(ctx co return response, err } +// ListByoasns Lists the `Byoasn` resources in the specified compartment. +// You can filter the list using query parameters. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoasns.go.html to see an example of how to use ListByoasns API. +// A default retry strategy applies to this operation ListByoasns() +func (client VirtualNetworkClient) ListByoasns(ctx context.Context, request ListByoasnsRequest) (response ListByoasnsResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listByoasns, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListByoasnsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListByoasnsResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListByoasnsResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListByoasnsResponse") + } + return +} + +// listByoasns implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) listByoasns(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/byoasns", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListByoasnsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/ListByoasns" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListByoasns", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListByoipAllocatedRanges Lists the subranges of a BYOIP CIDR block currently allocated to an IP pool. // Each `ByoipAllocatedRange` object also lists the IP pool where it is allocated. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRanges API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRanges API. func (client VirtualNetworkClient) ListByoipAllocatedRanges(ctx context.Context, request ListByoipAllocatedRangesRequest) (response ListByoipAllocatedRangesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9639,7 +10573,7 @@ func (client VirtualNetworkClient) listByoipAllocatedRanges(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRanges API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRanges API. func (client VirtualNetworkClient) ListByoipRanges(ctx context.Context, request ListByoipRangesRequest) (response ListByoipRangesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9696,7 +10630,7 @@ func (client VirtualNetworkClient) listByoipRanges(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFilters API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFilters API. func (client VirtualNetworkClient) ListCaptureFilters(ctx context.Context, request ListCaptureFiltersRequest) (response ListCaptureFiltersResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -9754,7 +10688,7 @@ func (client VirtualNetworkClient) listCaptureFilters(ctx context.Context, reque // the actual CPE device represented by a Cpe object. // If you want to generate CPE configuration content for one of the returned CPE device types, // ensure that the Cpe object's `cpeDeviceShapeId` attribute is set -// to the CPE device type's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (returned by this operation). +// to the CPE device type's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (returned by this operation). // For information about generating CPE configuration content, see these operations: // - GetCpeDeviceConfigContent // - GetIpsecCpeDeviceConfigContent @@ -9762,7 +10696,7 @@ func (client VirtualNetworkClient) listCaptureFilters(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapes API. // A default retry strategy applies to this operation ListCpeDeviceShapes() func (client VirtualNetworkClient) ListCpeDeviceShapes(ctx context.Context, request ListCpeDeviceShapesRequest) (response ListCpeDeviceShapesResponse, err error) { var ociResponse common.OCIResponse @@ -9820,7 +10754,7 @@ func (client VirtualNetworkClient) listCpeDeviceShapes(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpes API. // A default retry strategy applies to this operation ListCpes() func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpesRequest) (response ListCpesResponse, err error) { var ociResponse common.OCIResponse @@ -9878,7 +10812,7 @@ func (client VirtualNetworkClient) listCpes(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroups API. // A default retry strategy applies to this operation ListCrossConnectGroups() func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, request ListCrossConnectGroupsRequest) (response ListCrossConnectGroupsResponse, err error) { var ociResponse common.OCIResponse @@ -9937,7 +10871,7 @@ func (client VirtualNetworkClient) listCrossConnectGroups(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocations API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocations API. // A default retry strategy applies to this operation ListCrossConnectLocations() func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context, request ListCrossConnectLocationsRequest) (response ListCrossConnectLocationsResponse, err error) { var ociResponse common.OCIResponse @@ -9996,7 +10930,7 @@ func (client VirtualNetworkClient) listCrossConnectLocations(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappings API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappings API. // A default retry strategy applies to this operation ListCrossConnectMappings() func (client VirtualNetworkClient) ListCrossConnectMappings(ctx context.Context, request ListCrossConnectMappingsRequest) (response ListCrossConnectMappingsResponse, err error) { var ociResponse common.OCIResponse @@ -10051,11 +10985,11 @@ func (client VirtualNetworkClient) listCrossConnectMappings(ctx context.Context, } // ListCrossConnects Lists the cross-connects in the specified compartment. You can filter the list -// by specifying the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a cross-connect group. +// by specifying the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a cross-connect group. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnects API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnects API. // A default retry strategy applies to this operation ListCrossConnects() func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, request ListCrossConnectsRequest) (response ListCrossConnectsResponse, err error) { var ociResponse common.OCIResponse @@ -10115,7 +11049,7 @@ func (client VirtualNetworkClient) listCrossConnects(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapes API. // A default retry strategy applies to this operation ListCrossconnectPortSpeedShapes() func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.Context, request ListCrossconnectPortSpeedShapesRequest) (response ListCrossconnectPortSpeedShapesResponse, err error) { var ociResponse common.OCIResponse @@ -10176,7 +11110,7 @@ func (client VirtualNetworkClient) listCrossconnectPortSpeedShapes(ctx context.C // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptions API. func (client VirtualNetworkClient) ListDhcpOptions(ctx context.Context, request ListDhcpOptionsRequest) (response ListDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10237,7 +11171,7 @@ func (client VirtualNetworkClient) listDhcpOptions(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachments API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachments API. func (client VirtualNetworkClient) ListDrgAttachments(ctx context.Context, request ListDrgAttachmentsRequest) (response ListDrgAttachmentsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10294,7 +11228,7 @@ func (client VirtualNetworkClient) listDrgAttachments(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatements API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatements API. func (client VirtualNetworkClient) ListDrgRouteDistributionStatements(ctx context.Context, request ListDrgRouteDistributionStatementsRequest) (response ListDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10353,7 +11287,7 @@ func (client VirtualNetworkClient) listDrgRouteDistributionStatements(ctx contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributions API. func (client VirtualNetworkClient) ListDrgRouteDistributions(ctx context.Context, request ListDrgRouteDistributionsRequest) (response ListDrgRouteDistributionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10410,7 +11344,7 @@ func (client VirtualNetworkClient) listDrgRouteDistributions(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRules API. func (client VirtualNetworkClient) ListDrgRouteRules(ctx context.Context, request ListDrgRouteRulesRequest) (response ListDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10468,7 +11402,7 @@ func (client VirtualNetworkClient) listDrgRouteRules(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTables API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTables API. func (client VirtualNetworkClient) ListDrgRouteTables(ctx context.Context, request ListDrgRouteTablesRequest) (response ListDrgRouteTablesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10525,7 +11459,7 @@ func (client VirtualNetworkClient) listDrgRouteTables(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgs API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgs API. func (client VirtualNetworkClient) ListDrgs(ctx context.Context, request ListDrgsRequest) (response ListDrgsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10581,12 +11515,12 @@ func (client VirtualNetworkClient) listDrgs(ctx context.Context, request common. // ListFastConnectProviderServices Lists the service offerings from supported providers. You need this // information so you can specify your desired provider and service // offering when you create a virtual circuit. -// For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For the compartment ID, provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). +// For more information, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServices API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServices API. // A default retry strategy applies to this operation ListFastConnectProviderServices() func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.Context, request ListFastConnectProviderServicesRequest) (response ListFastConnectProviderServicesResponse, err error) { var ociResponse common.OCIResponse @@ -10642,11 +11576,11 @@ func (client VirtualNetworkClient) listFastConnectProviderServices(ctx context.C // ListFastConnectProviderVirtualCircuitBandwidthShapes Gets the list of available virtual circuit bandwidth levels for a provider. // You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit. -// For more information about virtual circuits, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For more information about virtual circuits, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapes API. // A default retry strategy applies to this operation ListFastConnectProviderVirtualCircuitBandwidthShapes() func (client VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) (response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse, err error) { var ociResponse common.OCIResponse @@ -10704,7 +11638,7 @@ func (client VirtualNetworkClient) listFastConnectProviderVirtualCircuitBandwidt // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutes API. // A default retry strategy applies to this operation ListIPSecConnectionTunnelRoutes() func (client VirtualNetworkClient) ListIPSecConnectionTunnelRoutes(ctx context.Context, request ListIPSecConnectionTunnelRoutesRequest) (response ListIPSecConnectionTunnelRoutesResponse, err error) { var ociResponse common.OCIResponse @@ -10762,7 +11696,7 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnelRoutes(ctx context.C // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociations API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociations API. // A default retry strategy applies to this operation ListIPSecConnectionTunnelSecurityAssociations() func (client VirtualNetworkClient) ListIPSecConnectionTunnelSecurityAssociations(ctx context.Context, request ListIPSecConnectionTunnelSecurityAssociationsRequest) (response ListIPSecConnectionTunnelSecurityAssociationsResponse, err error) { var ociResponse common.OCIResponse @@ -10820,7 +11754,7 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnelSecurityAssociations // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnels API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnels API. // A default retry strategy applies to this operation ListIPSecConnectionTunnels() func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Context, request ListIPSecConnectionTunnelsRequest) (response ListIPSecConnectionTunnelsResponse, err error) { var ociResponse common.OCIResponse @@ -10879,7 +11813,7 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnels(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnections API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnections API. // A default retry strategy applies to this operation ListIPSecConnections() func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, request ListIPSecConnectionsRequest) (response ListIPSecConnectionsResponse, err error) { var ociResponse common.OCIResponse @@ -10938,7 +11872,7 @@ func (client VirtualNetworkClient) listIPSecConnections(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGateways API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGateways API. func (client VirtualNetworkClient) ListInternetGateways(ctx context.Context, request ListInternetGatewaysRequest) (response ListInternetGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -10995,7 +11929,7 @@ func (client VirtualNetworkClient) listInternetGateways(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpInventory.go.html to see an example of how to use ListIpInventory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpInventory.go.html to see an example of how to use ListIpInventory API. func (client VirtualNetworkClient) ListIpInventory(ctx context.Context, request ListIpInventoryRequest) (response ListIpInventoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11050,15 +11984,15 @@ func (client VirtualNetworkClient) listIpInventory(ctx context.Context, request // ListIpv6s Lists the Ipv6 objects based // on one of these filters: -// - Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - Subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - VNIC OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // - Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private -// IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, -// GetIpv6 requires the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, +// GetIpv6 requires the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6s API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6s API. func (client VirtualNetworkClient) ListIpv6s(ctx context.Context, request ListIpv6sRequest) (response ListIpv6sResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11116,7 +12050,7 @@ func (client VirtualNetworkClient) listIpv6s(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGateways API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGateways API. func (client VirtualNetworkClient) ListLocalPeeringGateways(ctx context.Context, request ListLocalPeeringGatewaysRequest) (response ListLocalPeeringGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11174,7 +12108,7 @@ func (client VirtualNetworkClient) listLocalPeeringGateways(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGateways API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGateways API. func (client VirtualNetworkClient) ListNatGateways(ctx context.Context, request ListNatGatewaysRequest) (response ListNatGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11231,7 +12165,7 @@ func (client VirtualNetworkClient) listNatGateways(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules(ctx context.Context, request ListNetworkSecurityGroupSecurityRulesRequest) (response ListNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11288,7 +12222,7 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupSecurityRules(ctx con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnics API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnics API. func (client VirtualNetworkClient) ListNetworkSecurityGroupVnics(ctx context.Context, request ListNetworkSecurityGroupVnicsRequest) (response ListNetworkSecurityGroupVnicsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11346,7 +12280,7 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupVnics(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroups API. func (client VirtualNetworkClient) ListNetworkSecurityGroups(ctx context.Context, request ListNetworkSecurityGroupsRequest) (response ListNetworkSecurityGroupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11401,22 +12335,22 @@ func (client VirtualNetworkClient) listNetworkSecurityGroups(ctx context.Context // ListPrivateIps Lists the PrivateIp objects based // on one of these filters: -// - Subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -// - VNIC OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - Subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// - VNIC OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // - Both private IP address and subnet OCID: This lets // you get a `privateIP` object based on its private IP -// address (for example, 10.0.3.3) and not its OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, +// address (for example, 10.0.3.3) and not its OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison, // GetPrivateIp -// requires the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// requires the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // If you're listing all the private IPs associated with a given subnet // or VNIC, the response includes both primary and secondary private IPs. // If you are an Oracle Cloud VMware Solution customer and have VLANs -// in your VCN, you can filter the list by VLAN OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). See Vlan. +// in your VCN, you can filter the list by VLAN OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). See Vlan. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIps API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIps API. func (client VirtualNetworkClient) ListPrivateIps(ctx context.Context, request ListPrivateIpsRequest) (response ListPrivateIpsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11474,7 +12408,7 @@ func (client VirtualNetworkClient) listPrivateIps(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPools API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPools API. func (client VirtualNetworkClient) ListPublicIpPools(ctx context.Context, request ListPublicIpPoolsRequest) (response ListPublicIpPoolsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11549,7 +12483,7 @@ func (client VirtualNetworkClient) listPublicIpPools(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIps API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIps API. func (client VirtualNetworkClient) ListPublicIps(ctx context.Context, request ListPublicIpsRequest) (response ListPublicIpsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11607,7 +12541,7 @@ func (client VirtualNetworkClient) listPublicIps(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnections API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnections API. // A default retry strategy applies to this operation ListRemotePeeringConnections() func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Context, request ListRemotePeeringConnectionsRequest) (response ListRemotePeeringConnectionsResponse, err error) { var ociResponse common.OCIResponse @@ -11668,7 +12602,7 @@ func (client VirtualNetworkClient) listRemotePeeringConnections(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTables API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTables API. func (client VirtualNetworkClient) ListRouteTables(ctx context.Context, request ListRouteTablesRequest) (response ListRouteTablesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11726,7 +12660,7 @@ func (client VirtualNetworkClient) listRouteTables(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityLists API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityLists API. func (client VirtualNetworkClient) ListSecurityLists(ctx context.Context, request ListSecurityListsRequest) (response ListSecurityListsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11784,7 +12718,7 @@ func (client VirtualNetworkClient) listSecurityLists(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGateways API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGateways API. func (client VirtualNetworkClient) ListServiceGateways(ctx context.Context, request ListServiceGatewaysRequest) (response ListServiceGatewaysResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11842,7 +12776,7 @@ func (client VirtualNetworkClient) listServiceGateways(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServices API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServices API. func (client VirtualNetworkClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11900,7 +12834,7 @@ func (client VirtualNetworkClient) listServices(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnets API. func (client VirtualNetworkClient) ListSubnets(ctx context.Context, request ListSubnetsRequest) (response ListSubnetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -11957,7 +12891,7 @@ func (client VirtualNetworkClient) listSubnets(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcns API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcns API. func (client VirtualNetworkClient) ListVcns(ctx context.Context, request ListVcnsRequest) (response ListVcnsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12014,7 +12948,7 @@ func (client VirtualNetworkClient) listVcns(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnels API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnels API. // A default retry strategy applies to this operation ListVirtualCircuitAssociatedTunnels() func (client VirtualNetworkClient) ListVirtualCircuitAssociatedTunnels(ctx context.Context, request ListVirtualCircuitAssociatedTunnelsRequest) (response ListVirtualCircuitAssociatedTunnelsResponse, err error) { var ociResponse common.OCIResponse @@ -12068,11 +13002,11 @@ func (client VirtualNetworkClient) listVirtualCircuitAssociatedTunnels(ctx conte return response, err } -// ListVirtualCircuitBandwidthShapes The operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). +// ListVirtualCircuitBandwidthShapes The operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapes API. // A default retry strategy applies to this operation ListVirtualCircuitBandwidthShapes() func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context.Context, request ListVirtualCircuitBandwidthShapesRequest) (response ListVirtualCircuitBandwidthShapesResponse, err error) { var ociResponse common.OCIResponse @@ -12131,7 +13065,7 @@ func (client VirtualNetworkClient) listVirtualCircuitBandwidthShapes(ctx context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixes API. // A default retry strategy applies to this operation ListVirtualCircuitPublicPrefixes() func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context.Context, request ListVirtualCircuitPublicPrefixesRequest) (response ListVirtualCircuitPublicPrefixesResponse, err error) { var ociResponse common.OCIResponse @@ -12189,7 +13123,7 @@ func (client VirtualNetworkClient) listVirtualCircuitPublicPrefixes(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuits API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuits API. // A default retry strategy applies to this operation ListVirtualCircuits() func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, request ListVirtualCircuitsRequest) (response ListVirtualCircuitsResponse, err error) { var ociResponse common.OCIResponse @@ -12247,7 +13181,7 @@ func (client VirtualNetworkClient) listVirtualCircuits(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlans API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlans API. func (client VirtualNetworkClient) ListVlans(ctx context.Context, request ListVlansRequest) (response ListVlansResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12304,7 +13238,7 @@ func (client VirtualNetworkClient) listVlans(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtaps API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtaps API. func (client VirtualNetworkClient) ListVtaps(ctx context.Context, request ListVtapsRequest) (response ListVtapsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12342,14 +13276,150 @@ func (client VirtualNetworkClient) listVtaps(ctx context.Context, request common return nil, err } - var response ListVtapsResponse + var response ListVtapsResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/ListVtaps" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVtaps", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ModifyIpv4SubnetCidr Updates the specified Ipv4 CIDR block of a Subnet. The new Ipv4 CIDR IP range must meet the following criteria: +// - Must be valid. +// - Must not overlap with another Ipv4 CIDR block in the Subnet or the on-premises network CIDR block. +// - Must not exceed the limit of Ipv4 CIDR blocks allowed per Subnet. +// - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. +// - No IP address in an existing subnet should be outside of the new CIDR block range. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyIpv4SubnetCidr.go.html to see an example of how to use ModifyIpv4SubnetCidr API. +// A default retry strategy applies to this operation ModifyIpv4SubnetCidr() +func (client VirtualNetworkClient) ModifyIpv4SubnetCidr(ctx context.Context, request ModifyIpv4SubnetCidrRequest) (response ModifyIpv4SubnetCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.modifyIpv4SubnetCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ModifyIpv4SubnetCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ModifyIpv4SubnetCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ModifyIpv4SubnetCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ModifyIpv4SubnetCidrResponse") + } + return +} + +// modifyIpv4SubnetCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) modifyIpv4SubnetCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/modifyIpv4Cidr", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ModifyIpv4SubnetCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/ModifyIpv4SubnetCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ModifyIpv4SubnetCidr", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ModifyVcnCidr Updates the specified CIDR block of a VCN. The new CIDR IP range must meet the following criteria: +// - Must be valid. +// - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. +// - Must not exceed the limit of CIDR blocks allowed per VCN. +// - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. +// - No IP address in an existing subnet should be outside of the new CIDR block range. +// **Note:** Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the `GetWorkRequest` operation to check the status of the update. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidr API. +func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request ModifyVcnCidrRequest) (response ModifyVcnCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.modifyVcnCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ModifyVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ModifyVcnCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ModifyVcnCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ModifyVcnCidrResponse") + } + return +} + +// modifyVcnCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/modifyCidr", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ModifyVcnCidrResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vtap/ListVtaps" - err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVtaps", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/ModifyVcnCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ModifyVcnCidr", apiReferenceLink) return response, err } @@ -12357,18 +13427,12 @@ func (client VirtualNetworkClient) listVtaps(ctx context.Context, request common return response, err } -// ModifyVcnCidr Updates the specified CIDR block of a VCN. The new CIDR IP range must meet the following criteria: -// - Must be valid. -// - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. -// - Must not exceed the limit of CIDR blocks allowed per VCN. -// - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. -// - No IP address in an existing subnet should be outside of the new CIDR block range. -// **Note:** Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the `GetWorkRequest` operation to check the status of the update. +// PrivateIpVnicDetach Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must specify the PrivateIP OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidr API. -func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request ModifyVcnCidrRequest) (response ModifyVcnCidrResponse, err error) { +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/PrivateIpVnicDetach.go.html to see an example of how to use PrivateIpVnicDetach API. +func (client VirtualNetworkClient) PrivateIpVnicDetach(ctx context.Context, request PrivateIpVnicDetachRequest) (response PrivateIpVnicDetachResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() if client.RetryPolicy() != nil { @@ -12382,42 +13446,42 @@ func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request Mo request.OpcRetryToken = common.String(common.RetryToken()) } - ociResponse, err = common.Retry(ctx, request, client.modifyVcnCidr, policy) + ociResponse, err = common.Retry(ctx, request, client.privateIpVnicDetach, policy) if err != nil { if ociResponse != nil { if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { opcRequestId := httpResponse.Header.Get("opc-request-id") - response = ModifyVcnCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + response = PrivateIpVnicDetachResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} } else { - response = ModifyVcnCidrResponse{} + response = PrivateIpVnicDetachResponse{} } } return } - if convertedResponse, ok := ociResponse.(ModifyVcnCidrResponse); ok { + if convertedResponse, ok := ociResponse.(PrivateIpVnicDetachResponse); ok { response = convertedResponse } else { - err = fmt.Errorf("failed to convert OCIResponse into ModifyVcnCidrResponse") + err = fmt.Errorf("failed to convert OCIResponse into PrivateIpVnicDetachResponse") } return } -// modifyVcnCidr implements the OCIOperation interface (enables retrying operations) -func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { +// privateIpVnicDetach implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) privateIpVnicDetach(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { - httpRequest, err := request.HTTPRequest(http.MethodPost, "/vcns/{vcnId}/actions/modifyCidr", binaryReqBody, extraHeaders) + httpRequest, err := request.HTTPRequest(http.MethodPost, "/privateIps/{privateIpId}/actions/detach", binaryReqBody, extraHeaders) if err != nil { return nil, err } - var response ModifyVcnCidrResponse + var response PrivateIpVnicDetachResponse var httpResponse *http.Response httpResponse, err = client.Call(ctx, &httpRequest) defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Vcn/ModifyVcnCidr" - err = common.PostProcessServiceError(err, "VirtualNetwork", "ModifyVcnCidr", apiReferenceLink) + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/PrivateIpVnicDetach" + err = common.PostProcessServiceError(err, "VirtualNetwork", "PrivateIpVnicDetach", apiReferenceLink) return response, err } @@ -12429,7 +13493,7 @@ func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatements API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatements API. func (client VirtualNetworkClient) RemoveDrgRouteDistributionStatements(ctx context.Context, request RemoveDrgRouteDistributionStatementsRequest) (response RemoveDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12486,7 +13550,7 @@ func (client VirtualNetworkClient) removeDrgRouteDistributionStatements(ctx cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRules API. func (client VirtualNetworkClient) RemoveDrgRouteRules(ctx context.Context, request RemoveDrgRouteRulesRequest) (response RemoveDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12543,7 +13607,7 @@ func (client VirtualNetworkClient) removeDrgRouteRules(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistribution API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistribution API. func (client VirtualNetworkClient) RemoveExportDrgRouteDistribution(ctx context.Context, request RemoveExportDrgRouteDistributionRequest) (response RemoveExportDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12601,7 +13665,7 @@ func (client VirtualNetworkClient) removeExportDrgRouteDistribution(ctx context. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistribution API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistribution API. func (client VirtualNetworkClient) RemoveImportDrgRouteDistribution(ctx context.Context, request RemoveImportDrgRouteDistributionRequest) (response RemoveImportDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12654,11 +13718,74 @@ func (client VirtualNetworkClient) removeImportDrgRouteDistribution(ctx context. return response, err } +// RemoveIpv4SubnetCidr Remove an IPv4 prefix from a subnet +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv4SubnetCidr.go.html to see an example of how to use RemoveIpv4SubnetCidr API. +// A default retry strategy applies to this operation RemoveIpv4SubnetCidr() +func (client VirtualNetworkClient) RemoveIpv4SubnetCidr(ctx context.Context, request RemoveIpv4SubnetCidrRequest) (response RemoveIpv4SubnetCidrResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.removeIpv4SubnetCidr, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = RemoveIpv4SubnetCidrResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = RemoveIpv4SubnetCidrResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(RemoveIpv4SubnetCidrResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into RemoveIpv4SubnetCidrResponse") + } + return +} + +// removeIpv4SubnetCidr implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) removeIpv4SubnetCidr(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/subnets/{subnetId}/actions/removeIpv4Cidr", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response RemoveIpv4SubnetCidrResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Subnet/RemoveIpv4SubnetCidr" + err = common.PostProcessServiceError(err, "VirtualNetwork", "RemoveIpv4SubnetCidr", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // RemoveIpv6SubnetCidr Remove an IPv6 prefix from a subnet. At least one IPv6 CIDR should remain. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidr API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidr API. func (client VirtualNetworkClient) RemoveIpv6SubnetCidr(ctx context.Context, request RemoveIpv6SubnetCidrRequest) (response RemoveIpv6SubnetCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12720,7 +13847,7 @@ func (client VirtualNetworkClient) removeIpv6SubnetCidr(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidr API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidr API. func (client VirtualNetworkClient) RemoveIpv6VcnCidr(ctx context.Context, request RemoveIpv6VcnCidrRequest) (response RemoveIpv6VcnCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12782,7 +13909,7 @@ func (client VirtualNetworkClient) removeIpv6VcnCidr(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules(ctx context.Context, request RemoveNetworkSecurityGroupSecurityRulesRequest) (response RemoveNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12839,7 +13966,7 @@ func (client VirtualNetworkClient) removeNetworkSecurityGroupSecurityRules(ctx c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacity API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacity API. func (client VirtualNetworkClient) RemovePublicIpPoolCapacity(ctx context.Context, request RemovePublicIpPoolCapacityRequest) (response RemovePublicIpPoolCapacityResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12904,7 +14031,7 @@ func (client VirtualNetworkClient) removePublicIpPoolCapacity(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidr API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidr API. func (client VirtualNetworkClient) RemoveVcnCidr(ctx context.Context, request RemoveVcnCidrRequest) (response RemoveVcnCidrResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -12962,11 +14089,188 @@ func (client VirtualNetworkClient) removeVcnCidr(ctx context.Context, request co return response, err } +// SetOriginAsn Update BYOIP's origin ASN to byoasn. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SetOriginAsn.go.html to see an example of how to use SetOriginAsn API. +// A default retry strategy applies to this operation SetOriginAsn() +func (client VirtualNetworkClient) SetOriginAsn(ctx context.Context, request SetOriginAsnRequest) (response SetOriginAsnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.setOriginAsn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = SetOriginAsnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = SetOriginAsnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(SetOriginAsnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into SetOriginAsnResponse") + } + return +} + +// setOriginAsn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) setOriginAsn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/setOrigin/byoasn", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response SetOriginAsnResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/SetOriginAsn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "SetOriginAsn", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// SetOriginAsnToOracle Update prefix's origin ASN to OCI +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SetOriginAsnToOracle.go.html to see an example of how to use SetOriginAsnToOracle API. +func (client VirtualNetworkClient) SetOriginAsnToOracle(ctx context.Context, request SetOriginAsnToOracleRequest) (response SetOriginAsnToOracleResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.setOriginAsnToOracle, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = SetOriginAsnToOracleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = SetOriginAsnToOracleResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(SetOriginAsnToOracleResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into SetOriginAsnToOracleResponse") + } + return +} + +// setOriginAsnToOracle implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) setOriginAsnToOracle(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoipRanges/{byoipRangeId}/actions/setOrigin/oracleAsn", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response SetOriginAsnToOracleResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ByoipRange/SetOriginAsnToOracle" + err = common.PostProcessServiceError(err, "VirtualNetwork", "SetOriginAsnToOracle", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// UpdateByoasn Updates the tags or display name associated with the specified BYOASN Resource. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoasn.go.html to see an example of how to use UpdateByoasn API. +func (client VirtualNetworkClient) UpdateByoasn(ctx context.Context, request UpdateByoasnRequest) (response UpdateByoasnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateByoasn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateByoasnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateByoasnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateByoasnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateByoasnResponse") + } + return +} + +// updateByoasn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) updateByoasn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/byoasns/{byoasnId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateByoasnResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/UpdateByoasn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "UpdateByoasn", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateByoipRange Updates the tags or display name associated to the specified BYOIP CIDR block. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRange API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRange API. func (client VirtualNetworkClient) UpdateByoipRange(ctx context.Context, request UpdateByoipRangeRequest) (response UpdateByoipRangeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13023,7 +14327,7 @@ func (client VirtualNetworkClient) updateByoipRange(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilter API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilter API. func (client VirtualNetworkClient) UpdateCaptureFilter(ctx context.Context, request UpdateCaptureFilterRequest) (response UpdateCaptureFilterResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13081,7 +14385,7 @@ func (client VirtualNetworkClient) updateCaptureFilter(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpe API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpe API. // A default retry strategy applies to this operation UpdateCpe() func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request UpdateCpeRequest) (response UpdateCpeResponse, err error) { var ociResponse common.OCIResponse @@ -13139,7 +14443,7 @@ func (client VirtualNetworkClient) updateCpe(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnect API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnect API. // A default retry strategy applies to this operation UpdateCrossConnect() func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, request UpdateCrossConnectRequest) (response UpdateCrossConnectResponse, err error) { var ociResponse common.OCIResponse @@ -13198,7 +14502,7 @@ func (client VirtualNetworkClient) updateCrossConnect(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroup API. // A default retry strategy applies to this operation UpdateCrossConnectGroup() func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, request UpdateCrossConnectGroupRequest) (response UpdateCrossConnectGroupResponse, err error) { var ociResponse common.OCIResponse @@ -13258,7 +14562,7 @@ func (client VirtualNetworkClient) updateCrossConnectGroup(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptions API. func (client VirtualNetworkClient) UpdateDhcpOptions(ctx context.Context, request UpdateDhcpOptionsRequest) (response UpdateDhcpOptionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13315,7 +14619,7 @@ func (client VirtualNetworkClient) updateDhcpOptions(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrg API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrg API. func (client VirtualNetworkClient) UpdateDrg(ctx context.Context, request UpdateDrgRequest) (response UpdateDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13373,7 +14677,7 @@ func (client VirtualNetworkClient) updateDrg(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachment API. func (client VirtualNetworkClient) UpdateDrgAttachment(ctx context.Context, request UpdateDrgAttachmentRequest) (response UpdateDrgAttachmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13430,7 +14734,7 @@ func (client VirtualNetworkClient) updateDrgAttachment(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistribution API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistribution API. func (client VirtualNetworkClient) UpdateDrgRouteDistribution(ctx context.Context, request UpdateDrgRouteDistributionRequest) (response UpdateDrgRouteDistributionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13487,7 +14791,7 @@ func (client VirtualNetworkClient) updateDrgRouteDistribution(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatements API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatements API. func (client VirtualNetworkClient) UpdateDrgRouteDistributionStatements(ctx context.Context, request UpdateDrgRouteDistributionStatementsRequest) (response UpdateDrgRouteDistributionStatementsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13544,7 +14848,7 @@ func (client VirtualNetworkClient) updateDrgRouteDistributionStatements(ctx cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRules API. func (client VirtualNetworkClient) UpdateDrgRouteRules(ctx context.Context, request UpdateDrgRouteRulesRequest) (response UpdateDrgRouteRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13601,7 +14905,7 @@ func (client VirtualNetworkClient) updateDrgRouteRules(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTable API. func (client VirtualNetworkClient) UpdateDrgRouteTable(ctx context.Context, request UpdateDrgRouteTableRequest) (response UpdateDrgRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13660,7 +14964,7 @@ func (client VirtualNetworkClient) updateDrgRouteTable(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnection API. // A default retry strategy applies to this operation UpdateIPSecConnection() func (client VirtualNetworkClient) UpdateIPSecConnection(ctx context.Context, request UpdateIPSecConnectionRequest) (response UpdateIPSecConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -13726,7 +15030,7 @@ func (client VirtualNetworkClient) updateIPSecConnection(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnel API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnel API. // A default retry strategy applies to this operation UpdateIPSecConnectionTunnel() func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Context, request UpdateIPSecConnectionTunnelRequest) (response UpdateIPSecConnectionTunnelResponse, err error) { var ociResponse common.OCIResponse @@ -13785,7 +15089,7 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnel(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecret API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecret API. // A default retry strategy applies to this operation UpdateIPSecConnectionTunnelSharedSecret() func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx context.Context, request UpdateIPSecConnectionTunnelSharedSecretRequest) (response UpdateIPSecConnectionTunnelSharedSecretResponse, err error) { var ociResponse common.OCIResponse @@ -13846,7 +15150,7 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnelSharedSecret(ctx c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGateway API. func (client VirtualNetworkClient) UpdateInternetGateway(ctx context.Context, request UpdateInternetGatewayRequest) (response UpdateInternetGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13899,7 +15203,7 @@ func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, re return response, err } -// UpdateIpv6 Updates the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// UpdateIpv6 Updates the specified IPv6. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // Use this operation if you want to: // - Move an IPv6 to a different VNIC in the same subnet. // - Enable/disable internet access for an IPv6. @@ -13908,7 +15212,7 @@ func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6 API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6 API. func (client VirtualNetworkClient) UpdateIpv6(ctx context.Context, request UpdateIpv6Request) (response UpdateIpv6Response, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -13965,7 +15269,7 @@ func (client VirtualNetworkClient) updateIpv6(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGateway API. func (client VirtualNetworkClient) UpdateLocalPeeringGateway(ctx context.Context, request UpdateLocalPeeringGatewayRequest) (response UpdateLocalPeeringGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14022,7 +15326,7 @@ func (client VirtualNetworkClient) updateLocalPeeringGateway(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGateway API. func (client VirtualNetworkClient) UpdateNatGateway(ctx context.Context, request UpdateNatGatewayRequest) (response UpdateNatGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14078,7 +15382,7 @@ func (client VirtualNetworkClient) updateNatGateway(ctx context.Context, request // UpdateNetworkSecurityGroup Updates the specified network security group. // To add or remove an existing VNIC from the group, use // UpdateVnic. -// To add a VNIC to the group *when you create the VNIC*, specify the NSG's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) during creation. +// To add a VNIC to the group *when you create the VNIC*, specify the NSG's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) during creation. // For example, see the `nsgIds` attribute in CreateVnicDetails. // To add or remove security rules from the group, use // AddNetworkSecurityGroupSecurityRules @@ -14089,7 +15393,7 @@ func (client VirtualNetworkClient) updateNatGateway(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroup API. func (client VirtualNetworkClient) UpdateNetworkSecurityGroup(ctx context.Context, request UpdateNetworkSecurityGroupRequest) (response UpdateNetworkSecurityGroupResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14146,7 +15450,7 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroup(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) UpdateNetworkSecurityGroupSecurityRules(ctx context.Context, request UpdateNetworkSecurityGroupSecurityRulesRequest) (response UpdateNetworkSecurityGroupSecurityRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14199,7 +15503,7 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroupSecurityRules(ctx c return response, err } -// UpdatePrivateIp Updates the specified private IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// UpdatePrivateIp Updates the specified private IP. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // Use this operation if you want to: // - Move a secondary private IP to a different VNIC in the same subnet. // - Change the display name for a secondary private IP. @@ -14211,7 +15515,7 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroupSecurityRules(ctx c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIp API. func (client VirtualNetworkClient) UpdatePrivateIp(ctx context.Context, request UpdatePrivateIpRequest) (response UpdatePrivateIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14264,7 +15568,7 @@ func (client VirtualNetworkClient) updatePrivateIp(ctx context.Context, request return response, err } -// UpdatePublicIp Updates the specified public IP. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to: +// UpdatePublicIp Updates the specified public IP. You must specify the object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to: // * Assign a reserved public IP in your pool to a private IP. // * Move a reserved public IP to a different private IP. // * Unassign a reserved public IP from a private IP (which returns it to your pool @@ -14295,11 +15599,11 @@ func (client VirtualNetworkClient) updatePrivateIp(ctx context.Context, request // a VNIC or instance can have. If you try to move a reserved public IP // to a VNIC or instance that has already reached its public IP limit, an error is // returned. For information about the public IP limits, see -// Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). +// Public IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIp API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIp API. func (client VirtualNetworkClient) UpdatePublicIp(ctx context.Context, request UpdatePublicIpRequest) (response UpdatePublicIpResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14356,7 +15660,7 @@ func (client VirtualNetworkClient) updatePublicIp(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPool API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPool API. func (client VirtualNetworkClient) UpdatePublicIpPool(ctx context.Context, request UpdatePublicIpPoolRequest) (response UpdatePublicIpPoolResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14413,7 +15717,7 @@ func (client VirtualNetworkClient) updatePublicIpPool(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnection API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnection API. // A default retry strategy applies to this operation UpdateRemotePeeringConnection() func (client VirtualNetworkClient) UpdateRemotePeeringConnection(ctx context.Context, request UpdateRemotePeeringConnectionRequest) (response UpdateRemotePeeringConnectionResponse, err error) { var ociResponse common.OCIResponse @@ -14473,7 +15777,7 @@ func (client VirtualNetworkClient) updateRemotePeeringConnection(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTable API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTable API. func (client VirtualNetworkClient) UpdateRouteTable(ctx context.Context, request UpdateRouteTableRequest) (response UpdateRouteTableResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14533,7 +15837,7 @@ func (client VirtualNetworkClient) updateRouteTable(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityList API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityList API. func (client VirtualNetworkClient) UpdateSecurityList(ctx context.Context, request UpdateSecurityListRequest) (response UpdateSecurityListResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14591,7 +15895,7 @@ func (client VirtualNetworkClient) updateSecurityList(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGateway API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGateway API. func (client VirtualNetworkClient) UpdateServiceGateway(ctx context.Context, request UpdateServiceGatewayRequest) (response UpdateServiceGatewayResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14648,7 +15952,7 @@ func (client VirtualNetworkClient) updateServiceGateway(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnet API. func (client VirtualNetworkClient) UpdateSubnet(ctx context.Context, request UpdateSubnetRequest) (response UpdateSubnetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14707,7 +16011,7 @@ func (client VirtualNetworkClient) updateSubnet(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfig API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfig API. // A default retry strategy applies to this operation UpdateTunnelCpeDeviceConfig() func (client VirtualNetworkClient) UpdateTunnelCpeDeviceConfig(ctx context.Context, request UpdateTunnelCpeDeviceConfigRequest) (response UpdateTunnelCpeDeviceConfigResponse, err error) { var ociResponse common.OCIResponse @@ -14770,7 +16074,7 @@ func (client VirtualNetworkClient) updateTunnelCpeDeviceConfig(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcn API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcn API. func (client VirtualNetworkClient) UpdateVcn(ctx context.Context, request UpdateVcnRequest) (response UpdateVcnResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14837,7 +16141,7 @@ func (client VirtualNetworkClient) updateVcn(ctx context.Context, request common // its state will return to PROVISIONED. Make sure you confirm that // the associated BGP session is back up. For more information // about the various states and how to test connectivity, see -// FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // To change the list of public IP prefixes for a public virtual circuit, // use BulkAddVirtualCircuitPublicPrefixes // and @@ -14848,7 +16152,7 @@ func (client VirtualNetworkClient) updateVcn(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuit API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuit API. // A default retry strategy applies to this operation UpdateVirtualCircuit() func (client VirtualNetworkClient) UpdateVirtualCircuit(ctx context.Context, request UpdateVirtualCircuitRequest) (response UpdateVirtualCircuitResponse, err error) { var ociResponse common.OCIResponse @@ -14907,7 +16211,7 @@ func (client VirtualNetworkClient) updateVirtualCircuit(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlan API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlan API. func (client VirtualNetworkClient) UpdateVlan(ctx context.Context, request UpdateVlanRequest) (response UpdateVlanResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -14964,7 +16268,7 @@ func (client VirtualNetworkClient) updateVlan(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnic API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnic API. func (client VirtualNetworkClient) UpdateVnic(ctx context.Context, request UpdateVnicRequest) (response UpdateVnicResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -15021,7 +16325,7 @@ func (client VirtualNetworkClient) updateVnic(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtap API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtap API. func (client VirtualNetworkClient) UpdateVtap(ctx context.Context, request UpdateVtapRequest) (response UpdateVtapResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -15079,7 +16383,7 @@ func (client VirtualNetworkClient) updateVtap(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrg API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrg API. func (client VirtualNetworkClient) UpgradeDrg(ctx context.Context, request UpgradeDrgRequest) (response UpgradeDrgResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -15137,12 +16441,76 @@ func (client VirtualNetworkClient) upgradeDrg(ctx context.Context, request commo return response, err } +// ValidateByoasn Submits the BYOASN for validation. Please do not submit to Oracle for validation if the information for the BYOASN is not already modified in the Regional Internet Registry. +// See To import a BYOASN (https://docs.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm) for details. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoasn.go.html to see an example of how to use ValidateByoasn API. +// A default retry strategy applies to this operation ValidateByoasn() +func (client VirtualNetworkClient) ValidateByoasn(ctx context.Context, request ValidateByoasnRequest) (response ValidateByoasnResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.validateByoasn, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ValidateByoasnResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ValidateByoasnResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ValidateByoasnResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ValidateByoasnResponse") + } + return +} + +// validateByoasn implements the OCIOperation interface (enables retrying operations) +func (client VirtualNetworkClient) validateByoasn(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/byoasns/{byoasnId}/actions/validate", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ValidateByoasnResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Byoasn/ValidateByoasn" + err = common.PostProcessServiceError(err, "VirtualNetwork", "ValidateByoasn", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ValidateByoipRange Submits the BYOIP CIDR block you are importing for validation. Do not submit to Oracle for validation if you have not already -// modified the information for the BYOIP CIDR block with your Regional Internet Registry. See To import a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. +// modified the information for the BYOIP CIDR block with your Regional Internet Registry. See To import a CIDR block (https://docs.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRange API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRange API. func (client VirtualNetworkClient) ValidateByoipRange(ctx context.Context, request ValidateByoipRangeRequest) (response ValidateByoipRangeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -15199,7 +16567,7 @@ func (client VirtualNetworkClient) validateByoipRange(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRange API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRange API. func (client VirtualNetworkClient) WithdrawByoipRange(ctx context.Context, request WithdrawByoipRangeRequest) (response WithdrawByoipRangeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go index f8556fe01e..5c6e63648c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,13 +25,13 @@ import ( // and VCN. The `Cpe` is a virtual representation of your customer-premises equipment, // which is the actual router on-premises at your site at your end of the Site-to-Site VPN IPSec connection. // For more information, -// see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// see Overview of the Networking Service (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Cpe struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the CPE. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The CPE's Oracle ID (OCID). @@ -41,7 +41,7 @@ type Cpe struct { IpAddress *string `mandatory:"true" json:"ipAddress"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -50,14 +50,14 @@ type Cpe struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE's device type. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE's device type. // The Networking service maintains a general list of CPE device types (for example, // Cisco ASA). For each type, Oracle provides CPE configuration content that can help - // a network engineer configure the CPE. The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) uniquely identifies the type of + // a network engineer configure the CPE. The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) uniquely identifies the type of // device. To get the OCIDs for the device types on the list, see // ListCpeDeviceShapes. // For information about how to generate CPE configuration content for a @@ -87,7 +87,7 @@ func (m Cpe) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go index bb6afd5603..bd17384e59 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_answer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m CpeDeviceConfigAnswer) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go index d6727409ab..2dcb0be103 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_config_question.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -48,7 +48,7 @@ func (m CpeDeviceConfigQuestion) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go index 60b3f51f26..f58b2468a8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m CpeDeviceInfo) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go index e16c30faaf..7af7bdfd15 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_detail.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // CpeDeviceShapeSummary. type CpeDeviceShapeDetail struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. // This value uniquely identifies the type of CPE device. CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"` @@ -58,7 +58,7 @@ func (m CpeDeviceShapeDetail) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go index 42592e8c67..9b9d215342 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe_device_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // CpeDeviceShapeDetail. type CpeDeviceShapeSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. // This value uniquely identifies the type of CPE device. Id *string `mandatory:"false" json:"id"` @@ -43,7 +43,7 @@ func (m CpeDeviceShapeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go index c3efa59d07..db0698b6dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -58,7 +58,7 @@ func (m CreateAppCatalogSubscriptionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go index 24beed6f86..540d3f9ab2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_app_catalog_subscription_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscriptionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscriptionRequest. type CreateAppCatalogSubscriptionRequest struct { // Request for the creation of a subscription for listing resource version for a compartment. @@ -69,7 +69,7 @@ func (request CreateAppCatalogSubscriptionRequest) RetryPolicy() *common.RetryPo func (request CreateAppCatalogSubscriptionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go index 6429e5ed7f..2f11983a9b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ type CreateBootVolumeBackupDetails struct { BootVolumeId *string `mandatory:"true" json:"bootVolumeId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type CreateBootVolumeBackupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -46,8 +46,8 @@ type CreateBootVolumeBackupDetails struct { // The OCID of the Vault service key which is the master encryption key for the volume backup. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -65,7 +65,7 @@ func (m CreateBootVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateBootVolumeBackupDetailsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go index 0b0686f837..4e0a3368e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackupRequest. type CreateBootVolumeBackupRequest struct { // Request to create a new backup of given boot volume. @@ -69,7 +69,7 @@ func (request CreateBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request CreateBootVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go index e29f505e14..e0857eeee1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ type CreateBootVolumeDetails struct { BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -48,7 +48,7 @@ type CreateBootVolumeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -64,7 +64,7 @@ type CreateBootVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents the Balanced option. // * `20`: Represents the Higher Performance option. @@ -85,8 +85,8 @@ type CreateBootVolumeDetails struct { // The OCID of the Vault service key which is the master encryption key for the boot volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrcKmsKeyId *string `mandatory:"false" json:"xrcKmsKeyId"` } @@ -101,7 +101,7 @@ func (m CreateBootVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go index c3cea6378c..6ef4d0bb13 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolumeRequest. type CreateBootVolumeRequest struct { // Request to create a new boot volume. @@ -69,7 +69,7 @@ func (request CreateBootVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request CreateBootVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_details.go new file mode 100644 index 0000000000..af62dbb49b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_details.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateByoasnDetails The information used to create a `Byoasn` resource. +type CreateByoasnDetails struct { + + // The Autonomous System Number (ASN) you are importing to the Oracle cloud. + Asn *int64 `mandatory:"true" json:"asn"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"true" json:"displayName"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m CreateByoasnDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateByoasnDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_request_response.go new file mode 100644 index 0000000000..6949b9e99e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoasn_request_response.go @@ -0,0 +1,101 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateByoasnRequest wrapper for the CreateByoasn operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoasn.go.html to see an example of how to use CreateByoasnRequest. +type CreateByoasnRequest struct { + + // Details needed to create a BYOASN Resource. + CreateByoasnDetails `contributesTo:"body"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateByoasnRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateByoasnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateByoasnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateByoasnRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateByoasnRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateByoasnResponse wrapper for the CreateByoasn operation +type CreateByoasnResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Byoasn instance + Byoasn `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateByoasnResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateByoasnResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go index 3169ebaedb..92a0a59198 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateByoipRangeDetails The information used to create a `ByoipRange` resource. type CreateByoipRangeDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is validated. @@ -35,7 +35,7 @@ type CreateByoipRangeDetails struct { Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -44,7 +44,7 @@ type CreateByoipRangeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -60,7 +60,7 @@ func (m CreateByoipRangeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go index b28466d4cf..5830de8780 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRangeRequest. type CreateByoipRangeRequest struct { // Details needed to create a BYOIP CIDR block subrange. @@ -69,7 +69,7 @@ func (request CreateByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request CreateByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_report_shape_availability_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_report_shape_availability_details.go index c9c719baa9..9211e117f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_report_shape_availability_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_report_shape_availability_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m CreateCapacityReportShapeAvailabilityDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_source_details.go index bd79c75d25..d17cce23a9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capacity_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -61,7 +61,7 @@ func (m *createcapacitysourcedetails) UnmarshalPolymorphicJSON(data []byte) (int err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for CreateCapacitySourceDetails: %s.", m.CapacityType) + common.Logf("Received unsupported enum value for CreateCapacitySourceDetails: %s.", m.CapacityType) return *m, nil } } @@ -77,7 +77,7 @@ func (m createcapacitysourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go index c74e91c5ff..e0edb4a704 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,14 +24,14 @@ import ( // CreateCaptureFilterDetails A capture filter contains a set of rules governing what traffic a VTAP mirrors or a VCN flow log collects. type CreateCaptureFilterDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Indicates which service will use this capture filter FilterType CreateCaptureFilterDetailsFilterTypeEnum `mandatory:"true" json:"filterType"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -40,7 +40,7 @@ type CreateCaptureFilterDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -65,7 +65,7 @@ func (m CreateCaptureFilterDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go index ee390ede25..b449e80198 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCaptureFilter.go.html to see an example of how to use CreateCaptureFilterRequest. type CreateCaptureFilterRequest struct { // Details for creating a capture filter. @@ -69,7 +69,7 @@ func (request CreateCaptureFilterRequest) RetryPolicy() *common.RetryPolicy { func (request CreateCaptureFilterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go index ba91bc8f8a..2a2ae51207 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,7 +21,7 @@ import ( "strings" ) -// CreateClusterNetworkDetails The data to create a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// CreateClusterNetworkDetails The data to create a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // Use cluster networks with instance pools when you want predictable capacity for a specific number of identical // instances that are managed as a group. // For details about creating compute clusters, which let you manage instances in the RDMA network independently @@ -29,7 +29,7 @@ import ( // see CreateComputeClusterDetails. type CreateClusterNetworkDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // containing the cluster network. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -40,7 +40,7 @@ type CreateClusterNetworkDetails struct { PlacementConfiguration *ClusterNetworkPlacementConfigurationDetails `mandatory:"true" json:"placementConfiguration"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -49,7 +49,7 @@ type CreateClusterNetworkDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -67,7 +67,7 @@ func (m CreateClusterNetworkDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go index d0d2490806..a699acd92c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateClusterNetworkInstancePoolDetails The data to create an instance pool in a cluster network. type CreateClusterNetworkInstancePoolDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration // associated with the instance pool. InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` @@ -32,7 +32,7 @@ type CreateClusterNetworkInstancePoolDetails struct { Size *int `mandatory:"true" json:"size"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,7 +41,7 @@ type CreateClusterNetworkInstancePoolDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -57,7 +57,7 @@ func (m CreateClusterNetworkInstancePoolDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go index 0213116508..eaca472477 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetworkRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetworkRequest. type CreateClusterNetworkRequest struct { // Cluster network creation details @@ -69,7 +69,7 @@ func (request CreateClusterNetworkRequest) RetryPolicy() *common.RetryPolicy { func (request CreateClusterNetworkRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type CreateClusterNetworkResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_details.go index dd3cbdb0b2..c6295f5b93 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateComputeCapacityReportDetails The data to create a report of available Compute capacity. type CreateComputeCapacityReportDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root // compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -47,7 +47,7 @@ func (m CreateComputeCapacityReportDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_request_response.go index b13566ec73..f6621ee0ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_report_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReport.go.html to see an example of how to use CreateComputeCapacityReportRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReport.go.html to see an example of how to use CreateComputeCapacityReportRequest. type CreateComputeCapacityReportRequest struct { // Details for creating a new compute capacity report. @@ -69,7 +69,7 @@ func (request CreateComputeCapacityReportRequest) RetryPolicy() *common.RetryPol func (request CreateComputeCapacityReportRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go index 7209d2adf6..b39d0e626a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateComputeCapacityReservationDetails The details for creating a new compute capacity reservation. type CreateComputeCapacityReservationDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capacity reservation. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capacity reservation. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The availability domain of this compute capacity reservation. @@ -32,7 +32,7 @@ type CreateComputeCapacityReservationDetails struct { AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,12 +41,12 @@ type CreateComputeCapacityReservationDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Whether this capacity reservation is the default. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"` // The capacity configurations for the capacity reservation. @@ -66,7 +66,7 @@ func (m CreateComputeCapacityReservationDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go index f237806536..95e8a0792b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservationRequest. type CreateComputeCapacityReservationRequest struct { // Details for creating a new compute capacity reservation. @@ -70,7 +70,7 @@ func (request CreateComputeCapacityReservationRequest) RetryPolicy() *common.Ret func (request CreateComputeCapacityReservationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -91,8 +91,8 @@ type CreateComputeCapacityReservationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_details.go index 1106c39d14..185e3140e2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,11 +31,11 @@ type CreateComputeCapacityTopologyDetails struct { CapacitySource CreateCapacitySourceDetails `mandatory:"true" json:"capacitySource"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains this compute capacity topology. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -44,7 +44,7 @@ type CreateComputeCapacityTopologyDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -60,7 +60,7 @@ func (m CreateComputeCapacityTopologyDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_request_response.go index a4ac9aa070..63c6b85132 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_capacity_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityTopology.go.html to see an example of how to use CreateComputeCapacityTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityTopology.go.html to see an example of how to use CreateComputeCapacityTopologyRequest. type CreateComputeCapacityTopologyRequest struct { // Details for creating a new compute capacity topology. @@ -69,7 +69,7 @@ func (request CreateComputeCapacityTopologyRequest) RetryPolicy() *common.RetryP func (request CreateComputeCapacityTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -93,8 +93,8 @@ type CreateComputeCapacityTopologyResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go index b7b6024f4c..c0c533bc5b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,7 +21,7 @@ import ( "strings" ) -// CreateComputeClusterDetails The data for creating a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster +// CreateComputeClusterDetails The data for creating a compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster // is an empty remote direct memory access (RDMA) network group // After the compute cluster is created, you can use the compute cluster's OCID with the // LaunchInstance operation to create instances in the compute cluster. @@ -35,7 +35,7 @@ type CreateComputeClusterDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. @@ -43,12 +43,12 @@ type CreateComputeClusterDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -64,7 +64,7 @@ func (m CreateComputeClusterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go index 29eeaba50e..153596ba81 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCluster.go.html to see an example of how to use CreateComputeClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCluster.go.html to see an example of how to use CreateComputeClusterRequest. type CreateComputeClusterRequest struct { - // The data for creating a compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster + // The data for creating a compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm). A compute cluster // is an empty remote direct memory access (RDMA) network group. // After the compute cluster is created, you can use the compute cluster's OCID with the // LaunchInstance operation to create instances in the compute cluster. @@ -76,7 +76,7 @@ func (request CreateComputeClusterRequest) RetryPolicy() *common.RetryPolicy { func (request CreateComputeClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_details.go new file mode 100644 index 0000000000..01556fe587 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_details.go @@ -0,0 +1,77 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateComputeGpuMemoryClusterDetails The customer facing object includes GPU memory cluster details. +type CreateComputeGpuMemoryClusterDetails struct { + + // The availability domain of the GPU memory cluster. + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU memory cluster. + // compartment. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + ComputeClusterId *string `mandatory:"true" json:"computeClusterId"` + + // Instance Configuration to be used for this GPU Memory Cluster + InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the GPU memory fabric. + GpuMemoryFabricId *string `mandatory:"false" json:"gpuMemoryFabricId"` + + // The number of instances currently running in the GpuMemoryCluster + Size *int64 `mandatory:"false" json:"size"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + GpuMemoryClusterScaleConfig *CreateComputeGpuMemoryClusterScaleConfig `mandatory:"false" json:"gpuMemoryClusterScaleConfig"` +} + +func (m CreateComputeGpuMemoryClusterDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateComputeGpuMemoryClusterDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_request_response.go new file mode 100644 index 0000000000..72be3f84dc --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_request_response.go @@ -0,0 +1,106 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateComputeGpuMemoryClusterRequest wrapper for the CreateComputeGpuMemoryCluster operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeGpuMemoryCluster.go.html to see an example of how to use CreateComputeGpuMemoryClusterRequest. +type CreateComputeGpuMemoryClusterRequest struct { + + // The configuration details of a GPU memory cluster + CreateComputeGpuMemoryClusterDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateComputeGpuMemoryClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateComputeGpuMemoryClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateComputeGpuMemoryClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateComputeGpuMemoryClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateComputeGpuMemoryClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateComputeGpuMemoryClusterResponse wrapper for the CreateComputeGpuMemoryCluster operation +type CreateComputeGpuMemoryClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeGpuMemoryCluster instance + ComputeGpuMemoryCluster `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response CreateComputeGpuMemoryClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateComputeGpuMemoryClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_scale_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_scale_config.go new file mode 100644 index 0000000000..1a421905cc --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_gpu_memory_cluster_scale_config.go @@ -0,0 +1,51 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateComputeGpuMemoryClusterScaleConfig Configuration settings for GPU Memory Cluster scaling. +type CreateComputeGpuMemoryClusterScaleConfig struct { + + // Enables upsizing towards the target size. + IsUpsizeEnabled *bool `mandatory:"true" json:"isUpsizeEnabled"` + + // Enables downsizing towards the target size. + IsDownsizeEnabled *bool `mandatory:"false" json:"isDownsizeEnabled"` + + // The configured target size for the GPU Memory cluster. + TargetSize *int64 `mandatory:"false" json:"targetSize"` +} + +func (m CreateComputeGpuMemoryClusterScaleConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateComputeGpuMemoryClusterScaleConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_details.go new file mode 100644 index 0000000000..0c6c7a2f9e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_details.go @@ -0,0 +1,69 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateComputeHostGroupDetails Detail information for a compute host group. +type CreateComputeHostGroupDetails struct { + + // The availability domain of a host group. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"true" json:"displayName"` + + // The OCID of the compartment that contains host group. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group. + IsTargetedPlacementRequired *bool `mandatory:"true" json:"isTargetedPlacementRequired"` + + // A list of HostGroupConfiguration objects + Configurations []HostGroupConfiguration `mandatory:"false" json:"configurations"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m CreateComputeHostGroupDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateComputeHostGroupDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_request_response.go new file mode 100644 index 0000000000..520bc7da50 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_host_group_request_response.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateComputeHostGroupRequest wrapper for the CreateComputeHostGroup operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeHostGroup.go.html to see an example of how to use CreateComputeHostGroupRequest. +type CreateComputeHostGroupRequest struct { + + // Details for creating a new host group. + CreateComputeHostGroupDetails `contributesTo:"body"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateComputeHostGroupRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateComputeHostGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateComputeHostGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateComputeHostGroupRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateComputeHostGroupRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateComputeHostGroupResponse wrapper for the CreateComputeHostGroup operation +type CreateComputeHostGroupResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHostGroup instance + ComputeHostGroup `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Location of the resource. + Location *string `presentIn:"header" name:"location"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response CreateComputeHostGroupResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateComputeHostGroupResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go index 77a1735cda..86c8b43a27 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,7 +38,7 @@ type CreateComputeImageCapabilitySchemaDetails struct { SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"true" json:"schemaData"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -47,7 +47,7 @@ type CreateComputeImageCapabilitySchemaDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -63,7 +63,7 @@ func (m CreateComputeImageCapabilitySchemaDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go index b7237064cc..03908a003e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchemaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchemaRequest. type CreateComputeImageCapabilitySchemaRequest struct { // Compute Image Capability Schema creation details @@ -69,7 +69,7 @@ func (request CreateComputeImageCapabilitySchemaRequest) RetryPolicy() *common.R func (request CreateComputeImageCapabilitySchemaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go index 473f0904ab..9fe137f894 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateCpeDetails The representation of CreateCpeDetails type CreateCpeDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the CPE. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The public IP address of the on-premises router. @@ -32,7 +32,7 @@ type CreateCpeDetails struct { IpAddress *string `mandatory:"true" json:"ipAddress"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,11 +41,11 @@ type CreateCpeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide // a value if you want to later generate CPE device configuration content for IPSec connections // that use this CPE. You can also call UpdateCpe later to // provide a value. For a list of possible values, see @@ -72,7 +72,7 @@ func (m CreateCpeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go index 76410fde64..dd73cbd7a0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpeRequest. type CreateCpeRequest struct { // Details for creating a CPE. @@ -69,7 +69,7 @@ func (request CreateCpeRequest) RetryPolicy() *common.RetryPolicy { func (request CreateCpeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go index 3da87deba5..fd599605d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateCrossConnectDetails The representation of CreateCrossConnectDetails type CreateCrossConnectDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the FastConnect location where this cross-connect will be installed. @@ -38,11 +38,11 @@ type CreateCrossConnectDetails struct { // Example: `10 Gbps` PortSpeedShapeName *string `mandatory:"true" json:"portSpeedShapeName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group to put this cross-connect in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group to put this cross-connect in. CrossConnectGroupId *string `mandatory:"false" json:"crossConnectGroupId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -52,18 +52,18 @@ type CreateCrossConnectDetails struct { // If you already have an existing cross-connect or cross-connect group at this FastConnect // location, and you want this new cross-connect to be on a different router (for the - // purposes of redundancy), provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or + // purposes of redundancy), provide the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or // cross-connect group. FarCrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"farCrossConnectOrCrossConnectGroupId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // If you already have an existing cross-connect or cross-connect group at this FastConnect // location, and you want this new cross-connect to be on the same router, provide the - // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or cross-connect group. + // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or cross-connect group. NearCrossConnectOrCrossConnectGroupId *string `mandatory:"false" json:"nearCrossConnectOrCrossConnectGroupId"` // A reference name or identifier for the physical fiber connection that this cross-connect @@ -71,6 +71,12 @@ type CreateCrossConnectDetails struct { CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"` MacsecProperties *CreateMacsecProperties `mandatory:"false" json:"macsecProperties"` + + // The name of the FastConnect device where this cross-connect is installed. + OciPhysicalDeviceName *string `mandatory:"false" json:"ociPhysicalDeviceName"` + + // The name of the FastConnect interface where this cross-connect is installed. + InterfaceName *string `mandatory:"false" json:"interfaceName"` } func (m CreateCrossConnectDetails) String() string { @@ -84,7 +90,7 @@ func (m CreateCrossConnectDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go index 6716da2a8e..dd9e47237b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,11 +24,11 @@ import ( // CreateCrossConnectGroupDetails The representation of CreateCrossConnectGroupDetails type CreateCrossConnectGroupDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect group. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,7 +41,7 @@ type CreateCrossConnectGroupDetails struct { CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -59,7 +59,7 @@ func (m CreateCrossConnectGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go index f1c64e0dbc..21b3b5c940 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroupRequest. type CreateCrossConnectGroupRequest struct { // Details to create a CrossConnectGroup @@ -69,7 +69,7 @@ func (request CreateCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy func (request CreateCrossConnectGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go index 8fd215d52b..0f65f0cfef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnectRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnectRequest. type CreateCrossConnectRequest struct { // Details to create a CrossConnect @@ -69,7 +69,7 @@ func (request CreateCrossConnectRequest) RetryPolicy() *common.RetryPolicy { func (request CreateCrossConnectRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_capacity_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_capacity_source_details.go index 00debc0e91..503dfa67cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_capacity_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_capacity_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // CreateDedicatedCapacitySourceDetails A capacity source of bare metal hosts that is dedicated to a customer. type CreateDedicatedCapacitySourceDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this capacity source. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this capacity source. CompartmentId *string `mandatory:"false" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m CreateDedicatedCapacitySourceDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go index c84a403c59..b2564a52d4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,16 +6,17 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( + "encoding/json" "fmt" "github.com/oracle/oci-go-sdk/v65/common" "strings" @@ -36,7 +37,7 @@ type CreateDedicatedVmHostDetails struct { DedicatedVmHostShape *string `mandatory:"true" json:"dedicatedVmHostShape"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -45,18 +46,27 @@ type CreateDedicatedVmHostDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // The fault domain for the dedicated virtual machine host's assigned instances. - // For more information, see Fault Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). + // For more information, see Fault Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). // If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, // delete it and create a new dedicated virtual machine host in the preferred fault domain. // To get a list of fault domains, use the `ListFaultDomains` operation in - // the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/). + // the Identity and Access Management Service API (https://docs.oracle.com/iaas/api/#/en/identity/20160918/). // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + PlacementConstraintDetails PlacementConstraintDetails `mandatory:"false" json:"placementConstraintDetails"` + + // The capacity configuration selected to be configured for the Dedicated Virtual Machine host. + // Run ListDedicatedVmHostShapes API first to see the capacity configuration options. + CapacityConfig *string `mandatory:"false" json:"capacityConfig"` + + // Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If `true`, only Confidential VMs can be launched. If `false`, Confidential VMs cannot be launched. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` } func (m CreateDedicatedVmHostDetails) String() string { @@ -70,7 +80,58 @@ func (m CreateDedicatedVmHostDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// UnmarshalJSON unmarshals from json +func (m *CreateDedicatedVmHostDetails) UnmarshalJSON(data []byte) (e error) { + model := struct { + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + DisplayName *string `json:"displayName"` + FaultDomain *string `json:"faultDomain"` + FreeformTags map[string]string `json:"freeformTags"` + PlacementConstraintDetails placementconstraintdetails `json:"placementConstraintDetails"` + CapacityConfig *string `json:"capacityConfig"` + IsMemoryEncryptionEnabled *bool `json:"isMemoryEncryptionEnabled"` + AvailabilityDomain *string `json:"availabilityDomain"` + CompartmentId *string `json:"compartmentId"` + DedicatedVmHostShape *string `json:"dedicatedVmHostShape"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.DefinedTags = model.DefinedTags + + m.DisplayName = model.DisplayName + + m.FaultDomain = model.FaultDomain + + m.FreeformTags = model.FreeformTags + + nn, e = model.PlacementConstraintDetails.UnmarshalPolymorphicJSON(model.PlacementConstraintDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlacementConstraintDetails = nn.(PlacementConstraintDetails) + } else { + m.PlacementConstraintDetails = nil + } + + m.CapacityConfig = model.CapacityConfig + + m.IsMemoryEncryptionEnabled = model.IsMemoryEncryptionEnabled + + m.AvailabilityDomain = model.AvailabilityDomain + + m.CompartmentId = model.CompartmentId + + m.DedicatedVmHostShape = model.DedicatedVmHostShape + + return +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go index 5fcb8c005d..9bf749f7a5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHostRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHostRequest. type CreateDedicatedVmHostRequest struct { // The details for creating a new dedicated virtual machine host. @@ -69,7 +69,7 @@ func (request CreateDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDedicatedVmHostRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type CreateDedicatedVmHostResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go index bcc92fb4f1..0a5fd39e56 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,17 +25,17 @@ import ( // CreateDhcpDetails The representation of CreateDhcpDetails type CreateDhcpDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the set of DHCP options. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A set of DHCP options. Options []DhcpOption `mandatory:"true" json:"options"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -44,7 +44,7 @@ type CreateDhcpDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -66,7 +66,7 @@ func (m CreateDhcpDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DomainNameType: %s. Supported values are: %s.", m.DomainNameType, strings.Join(GetCreateDhcpDetailsDomainNameTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go index ad50c102c9..567e264841 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptionsRequest. type CreateDhcpOptionsRequest struct { // Request object for creating a new set of DHCP options. @@ -69,7 +69,7 @@ func (request CreateDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDhcpOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go index 7040e15c61..3d5847e5a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,41 +25,41 @@ import ( // CreateDrgAttachmentDetails The representation of CreateDrgAttachmentDetails type CreateDrgAttachmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. // The DRG route table manages traffic inside the DRG. DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"` NetworkDetails DrgAttachmentNetworkCreateDetails `mandatory:"false" json:"networkDetails"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the DRG attachment. // If you don't specify a route table here, the DRG attachment is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the DRG attachment. // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) + // * Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) // This field is deprecated. Instead, use the networkDetails field to specify the VCN route table for this attachment. RouteTableId *string `mandatory:"false" json:"routeTableId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. - // This field is deprecated. Instead, use the `networkDetails` field to specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // This field is deprecated. Instead, use the `networkDetails` field to specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. VcnId *string `mandatory:"false" json:"vcnId"` } @@ -74,7 +74,7 @@ func (m CreateDrgAttachmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go index 6261fe37a0..8b75999c7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachmentRequest. type CreateDrgAttachmentRequest struct { // Details for creating a `DrgAttachment`. @@ -69,7 +69,7 @@ func (request CreateDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDrgAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go index 3d6072e81c..c65d46b195 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,11 +24,11 @@ import ( // CreateDrgDetails The representation of CreateDrgDetails type CreateDrgDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the DRG. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type CreateDrgDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -53,7 +53,7 @@ func (m CreateDrgDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go index 2aee942a01..fb3ba34062 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrgRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrgRequest. type CreateDrgRequest struct { // Details for creating a DRG. @@ -69,7 +69,7 @@ func (request CreateDrgRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDrgRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go index 1b3ea57bc6..6ad3da576b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,17 +21,17 @@ import ( "strings" ) -// CreateDrgRouteDistributionDetails Details used to create a route distribution. +// CreateDrgRouteDistributionDetails Details used to create an import route distribution. You can't create a new export route distribution. type CreateDrgRouteDistributionDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to. DrgId *string `mandatory:"true" json:"drgId"` - // Whether this distribution defines how routes get imported into route tables or exported through DRG attachments. + // States that this distribution defines how routes get imported into route tables. DistributionType CreateDrgRouteDistributionDetailsDistributionTypeEnum `mandatory:"true" json:"distributionType"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -40,7 +40,7 @@ type CreateDrgRouteDistributionDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -59,7 +59,7 @@ func (m CreateDrgRouteDistributionDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go index 6963f2fd49..70abe10b39 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistributionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistributionRequest. type CreateDrgRouteDistributionRequest struct { // Details for creating a route distribution. @@ -69,7 +69,7 @@ func (request CreateDrgRouteDistributionRequest) RetryPolicy() *common.RetryPoli func (request CreateDrgRouteDistributionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go index c0d8956775..2abfed9261 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,11 +24,11 @@ import ( // CreateDrgRouteTableDetails Details used in a request to create a DRG route table. type CreateDrgRouteTableDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG route table belongs to. DrgId *string `mandatory:"true" json:"drgId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,11 +37,11 @@ type CreateDrgRouteTableDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through // referenced attachments are inserted into the DRG route table. ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"` @@ -61,7 +61,7 @@ func (m CreateDrgRouteTableDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go index 61be18319d..59cfa8738e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTableRequest. type CreateDrgRouteTableRequest struct { // Details for creating a DRG route table. @@ -69,7 +69,7 @@ func (request CreateDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDrgRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go index 6065fc74c1..3fb696e929 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnectionRequest. type CreateIPSecConnectionRequest struct { // Details for creating an `IPSecConnection`. @@ -69,7 +69,7 @@ func (request CreateIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy { func (request CreateIPSecConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go index 050ac558c4..890eafe5f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -29,7 +29,7 @@ type CreateImageDetails struct { CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -40,7 +40,7 @@ type CreateImageDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -71,7 +71,7 @@ func (m CreateImageDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchMode: %s. Supported values are: %s.", m.LaunchMode, strings.Join(GetCreateImageDetailsLaunchModeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go index c8f9895001..ce89a92d86 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImageRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImageRequest. type CreateImageRequest struct { // Image creation details @@ -69,7 +69,7 @@ func (request CreateImageRequest) RetryPolicy() *common.RetryPolicy { func (request CreateImageRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type CreateImageResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go index 0f651e13e5..f9666678d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,12 +25,12 @@ import ( // CreateInstanceConfigurationBase Creation details for an instance configuration. type CreateInstanceConfigurationBase interface { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // containing the instance configuration. GetCompartmentId() *string // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} @@ -39,7 +39,7 @@ type CreateInstanceConfigurationBase interface { GetDisplayName() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string } @@ -91,7 +91,7 @@ func (m *createinstanceconfigurationbase) UnmarshalPolymorphicJSON(data []byte) err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for CreateInstanceConfigurationBase: %s.", m.Source) + common.Logf("Received unsupported enum value for CreateInstanceConfigurationBase: %s.", m.Source) return *m, nil } } @@ -127,7 +127,7 @@ func (m createinstanceconfigurationbase) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go index 1442bcb69f..4607e11d84 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,14 +25,14 @@ import ( // CreateInstanceConfigurationDetails Details for creating an instance configuration by providing a list of configuration settings. type CreateInstanceConfigurationDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // containing the instance configuration. CompartmentId *string `mandatory:"true" json:"compartmentId"` InstanceDetails InstanceConfigurationInstanceDetails `mandatory:"true" json:"instanceDetails"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,7 +41,7 @@ type CreateInstanceConfigurationDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -77,7 +77,7 @@ func (m CreateInstanceConfigurationDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go index 627bd631ff..a897b60c9a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_from_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,16 +25,16 @@ import ( // CreateInstanceConfigurationFromInstanceDetails Details for creating an instance configuration using an existing instance as a template. type CreateInstanceConfigurationFromInstanceDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // containing the instance configuration. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance to use to create the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance to use to create the // instance configuration. InstanceId *string `mandatory:"true" json:"instanceId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -43,7 +43,7 @@ type CreateInstanceConfigurationFromInstanceDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -79,7 +79,7 @@ func (m CreateInstanceConfigurationFromInstanceDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go index 8c372be317..30d25c27a4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfigurationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfigurationRequest. type CreateInstanceConfigurationRequest struct { // Instance configuration creation details @@ -69,7 +69,7 @@ func (request CreateInstanceConfigurationRequest) RetryPolicy() *common.RetryPol func (request CreateInstanceConfigurationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go index d8f1478501..8cc4416133 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -32,12 +32,12 @@ type CreateInstanceConsoleConnectionDetails struct { PublicKey *string `mandatory:"true" json:"publicKey"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -53,7 +53,7 @@ func (m CreateInstanceConsoleConnectionDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go index d77e4c0d62..537f8263a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnectionRequest. type CreateInstanceConsoleConnectionRequest struct { // Request object for creating an InstanceConsoleConnection @@ -69,7 +69,7 @@ func (request CreateInstanceConsoleConnectionRequest) RetryPolicy() *common.Retr func (request CreateInstanceConsoleConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go index 7fe17a5cb4..f6284e7583 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // CreateInstancePoolDetails The data to create an instance pool. type CreateInstancePoolDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance pool. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated // with the instance pool. InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` @@ -36,13 +36,14 @@ type CreateInstancePoolDetails struct { // To use the instance pool with a regional subnet, provide a placement configuration for // each availability domain, and include the regional subnet in each placement // configuration. + // To use compute cluster with instance pool, provide a single placement configuration. PlacementConfigurations []CreateInstancePoolPlacementConfigurationDetails `mandatory:"true" json:"placementConfigurations"` // The number of instances that should be in the instance pool. Size *int `mandatory:"true" json:"size"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -51,7 +52,7 @@ type CreateInstancePoolDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -65,6 +66,8 @@ type CreateInstancePoolDetails struct { // A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. // The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"` + + LifecycleManagement *InstancePoolLifecycleManagementDetails `mandatory:"false" json:"lifecycleManagement"` } func (m CreateInstancePoolDetails) String() string { @@ -78,7 +81,7 @@ func (m CreateInstancePoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go index 995c44444e..a1940f5d8b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,6 +28,12 @@ type CreateInstancePoolPlacementConfigurationDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in. + // Make sure the compute cluster belongs to the same availability domain as specified in placement configuration otherwise the request will be rejected with 400. + // Once this field is set, it cannot be updated. Also any update to the availability domain in placement configuration will be blocked. + ComputeClusterId *string `mandatory:"false" json:"computeClusterId"` + // The fault domains to place instances. // If you don't provide any values, the system makes a best effort to distribute // instances across all fault domains based on capacity. @@ -40,7 +46,7 @@ type CreateInstancePoolPlacementConfigurationDetails struct { // Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]` FaultDomains []string `mandatory:"false" json:"faultDomains"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated. // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool. PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"` @@ -61,7 +67,7 @@ func (m CreateInstancePoolPlacementConfigurationDetails) ValidateEnumValue() (bo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go index 34712b5f3c..b9afacc060 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePoolRequest. type CreateInstancePoolRequest struct { // Instance pool creation details @@ -69,7 +69,7 @@ func (request CreateInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request CreateInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go index 730110c73d..ce9fa592d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,17 +24,17 @@ import ( // CreateInternetGatewayDetails The representation of CreateInternetGatewayDetails type CreateInternetGatewayDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the internet gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the internet gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Whether the gateway is enabled upon creation. IsEnabled *bool `mandatory:"true" json:"isEnabled"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway is attached to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway is attached to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -43,11 +43,11 @@ type CreateInternetGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -62,7 +62,7 @@ func (m CreateInternetGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go index b4e6773e25..f4e56d88ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGatewayRequest. type CreateInternetGatewayRequest struct { // Details for creating a new internet gateway. @@ -69,7 +69,7 @@ func (request CreateInternetGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request CreateInternetGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go index ef1de0dd66..6e1155fbe5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,30 +24,17 @@ import ( // CreateIpSecConnectionDetails The representation of CreateIpSecConnectionDetails type CreateIpSecConnectionDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the IPSec connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object. CpeId *string `mandatory:"true" json:"cpeId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` - // Static routes to the CPE. A static route's CIDR must not be a - // multicast address or class E address. - // Used for routing a given IPSec tunnel's traffic only if the tunnel - // is using static routing. If you configure at least one tunnel to use static routing, then - // you must provide at least one valid static route. If you configure both - // tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. - // For more information, see the important note in IPSecConnection. - // The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - // Example: `10.0.1.0/24` - // Example: `2001:db8::/32` - StaticRoutes []string `mandatory:"true" json:"staticRoutes"` - // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -56,7 +43,7 @@ type CreateIpSecConnectionDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -66,7 +53,7 @@ type CreateIpSecConnectionDetails struct { // If you don't provide a value, the `ipAddress` attribute for the Cpe // object specified by `cpeId` is used as the `cpeLocalIdentifier`. // For information about why you'd provide this value, see - // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + // If Your CPE Is Behind a NAT Device (https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). // Example IP address: `10.0.3.3` // Example hostname: `cpe.example.com` CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"` @@ -75,6 +62,19 @@ type CreateIpSecConnectionDetails struct { // for `cpeLocalIdentifier`. CpeLocalIdentifierType CreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnum `mandatory:"false" json:"cpeLocalIdentifierType,omitempty"` + // Static routes to the CPE. A static route's CIDR must not be a + // multicast address or class E address. + // Used for routing a given IPSec tunnel's traffic only if the tunnel + // is using static routing. If you configure at least one tunnel to use static routing, then + // you must provide at least one valid static route. If you configure both + // tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. + // For more information, see the important note in IPSecConnection. + // The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // Example: `10.0.1.0/24` + // Example: `2001:db8::/32` + StaticRoutes []string `mandatory:"false" json:"staticRoutes"` + // Information for creating the individual tunnels in the IPSec connection. You can provide a // maximum of 2 `tunnelConfiguration` objects in the array (one for each of the // two tunnels). @@ -95,7 +95,7 @@ func (m CreateIpSecConnectionDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetCreateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go index e46d25ab33..fd5c3b768e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -62,10 +62,10 @@ type CreateIpSecConnectionTunnelDetails struct { // The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel. OracleTunnelIp *string `mandatory:"false" json:"oracleTunnelIp"` - // The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel. + // The list of virtual circuit OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel. AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to this attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to this attachment. // The DRG route table manages traffic inside the DRG. DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"` @@ -95,7 +95,7 @@ func (m CreateIpSecConnectionTunnelDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NatTranslationEnabled: %s. Supported values are: %s.", m.NatTranslationEnabled, strings.Join(GetCreateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go index 0f2f2c3ea2..46917b0b43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_bgp_session_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -84,7 +84,7 @@ func (m CreateIpSecTunnelBgpSessionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go index c30a9c96c9..2159e9c28f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_tunnel_encryption_domain_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // CreateIpSecTunnelEncryptionDomainDetails Request to enable a multi-encryption domain policy on the IPSec tunnel. // There can't be more than 50 security associations in use at one time. See Encryption domain for policy-based -// tunnels (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more. +// tunnels (https://docs.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more. type CreateIpSecTunnelEncryptionDomainDetails struct { // Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. @@ -44,7 +44,7 @@ func (m CreateIpSecTunnelEncryptionDomainDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go index 0317026cb2..57407297db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,12 +24,8 @@ import ( // CreateIpv6Details The representation of CreateIpv6Details type CreateIpv6Details struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the IPv6 to. The - // IPv6 will be in the VNIC's subnet. - VnicId *string `mandatory:"true" json:"vnicId"` - // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -38,7 +34,7 @@ type CreateIpv6Details struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -49,6 +45,27 @@ type CreateIpv6Details struct { // Example: `2001:DB8::` IpAddress *string `mandatory:"false" json:"ipAddress"` + // Length of cidr range. Optional field to specify flexible cidr. + CidrPrefixLength *int `mandatory:"false" json:"cidrPrefixLength"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the IPv6 to. The + // IPv6 will be in the VNIC's subnet. + VnicId *string `mandatory:"false" json:"vnicId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the IPv6 is to be drawn. The IP address, + // *if supplied*, must be valid for the given subnet, only valid for reserved IPs currently. + SubnetId *string `mandatory:"false" json:"subnetId"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime CreateIpv6DetailsLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` + // The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet. Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"` } @@ -63,8 +80,53 @@ func (m CreateIpv6Details) String() string { func (m CreateIpv6Details) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingCreateIpv6DetailsLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetCreateIpv6DetailsLifetimeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// CreateIpv6DetailsLifetimeEnum Enum with underlying type: string +type CreateIpv6DetailsLifetimeEnum string + +// Set of constants representing the allowable values for CreateIpv6DetailsLifetimeEnum +const ( + CreateIpv6DetailsLifetimeEphemeral CreateIpv6DetailsLifetimeEnum = "EPHEMERAL" + CreateIpv6DetailsLifetimeReserved CreateIpv6DetailsLifetimeEnum = "RESERVED" +) + +var mappingCreateIpv6DetailsLifetimeEnum = map[string]CreateIpv6DetailsLifetimeEnum{ + "EPHEMERAL": CreateIpv6DetailsLifetimeEphemeral, + "RESERVED": CreateIpv6DetailsLifetimeReserved, +} + +var mappingCreateIpv6DetailsLifetimeEnumLowerCase = map[string]CreateIpv6DetailsLifetimeEnum{ + "ephemeral": CreateIpv6DetailsLifetimeEphemeral, + "reserved": CreateIpv6DetailsLifetimeReserved, +} + +// GetCreateIpv6DetailsLifetimeEnumValues Enumerates the set of values for CreateIpv6DetailsLifetimeEnum +func GetCreateIpv6DetailsLifetimeEnumValues() []CreateIpv6DetailsLifetimeEnum { + values := make([]CreateIpv6DetailsLifetimeEnum, 0) + for _, v := range mappingCreateIpv6DetailsLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetCreateIpv6DetailsLifetimeEnumStringValues Enumerates the set of values in String for CreateIpv6DetailsLifetimeEnum +func GetCreateIpv6DetailsLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingCreateIpv6DetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateIpv6DetailsLifetimeEnum(val string) (CreateIpv6DetailsLifetimeEnum, bool) { + enum, ok := mappingCreateIpv6DetailsLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go index 38391ac82b..1b9ee66c84 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6Request. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6Request. type CreateIpv6Request struct { // Create IPv6 details. @@ -69,7 +69,7 @@ func (request CreateIpv6Request) RetryPolicy() *common.RetryPolicy { func (request CreateIpv6Request) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go index 5f98f4c0f1..a5987ee9fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,14 +24,14 @@ import ( // CreateLocalPeeringGatewayDetails The representation of CreateLocalPeeringGatewayDetails type CreateLocalPeeringGatewayDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the local peering gateway (LPG). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the local peering gateway (LPG). CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the LPG belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the LPG belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -40,16 +40,22 @@ type CreateLocalPeeringGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use. // If you don't specify a route table here, the LPG is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the LPG. // For information about why you would associate a route table with an LPG, see - // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -64,7 +70,7 @@ func (m CreateLocalPeeringGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go index 9e7684338a..fb20346334 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGatewayRequest. type CreateLocalPeeringGatewayRequest struct { // Details for creating a new local peering gateway. @@ -69,7 +69,7 @@ func (request CreateLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolic func (request CreateLocalPeeringGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go index ffa18580f2..f09e446da5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,14 +21,14 @@ import ( "strings" ) -// CreateMacsecKey Defines the secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. +// CreateMacsecKey Defines the secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. type CreateMacsecKey struct { - // Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. + // Secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. // NOTE: Only the latest secret version will be used. ConnectivityAssociationNameSecretId *string `mandatory:"true" json:"connectivityAssociationNameSecretId"` - // Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. + // Secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. // NOTE: Only the latest secret version will be used. ConnectivityAssociationKeySecretId *string `mandatory:"true" json:"connectivityAssociationKeySecretId"` } @@ -44,7 +44,7 @@ func (m CreateMacsecKey) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go index 7d06140a71..6356987158 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m CreateMacsecProperties) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionCipher: %s. Supported values are: %s.", m.EncryptionCipher, strings.Join(GetMacsecEncryptionCipherEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go index b5afe4e0e8..91fe8f81e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,15 +24,15 @@ import ( // CreateNatGatewayDetails The representation of CreateNatGatewayDetails type CreateNatGatewayDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the // NAT gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the gateway belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the gateway belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,7 +41,7 @@ type CreateNatGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -49,10 +49,10 @@ type CreateNatGatewayDetails struct { // Example: `true` BlockTraffic *bool `mandatory:"false" json:"blockTraffic"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. PublicIpId *string `mandatory:"false" json:"publicIpId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. // If you don't specify a route table here, the NAT gateway is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the NAT gateway. @@ -70,7 +70,7 @@ func (m CreateNatGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go index e02450b6dc..a7cd07f7e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGatewayRequest. type CreateNatGatewayRequest struct { // Details for creating a NAT gateway. @@ -69,7 +69,7 @@ func (request CreateNatGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request CreateNatGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go index ca83d37d0c..62295de7bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,16 +24,16 @@ import ( // CreateNetworkSecurityGroupDetails The representation of CreateNetworkSecurityGroupDetails type CreateNetworkSecurityGroupDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the // network security group. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to create the network + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to create the network // security group in. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -42,7 +42,7 @@ type CreateNetworkSecurityGroupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -58,7 +58,7 @@ func (m CreateNetworkSecurityGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go index 9da4bcf890..68294add52 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroupRequest. type CreateNetworkSecurityGroupRequest struct { // Details for creating a network security group. @@ -69,7 +69,7 @@ func (request CreateNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPoli func (request CreateNetworkSecurityGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go index 554cbf3da9..edb0125493 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type CreatePrivateIpDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type CreatePrivateIpDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -45,7 +45,7 @@ type CreatePrivateIpDetails struct { // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` @@ -55,14 +55,39 @@ type CreatePrivateIpDetails struct { // Example: `10.0.3.3` IpAddress *string `mandatory:"false" json:"ipAddress"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the private IP to. The VNIC and private IP + // An optional field that when combined with the ipAddress field, will be used to allocate secondary IPv4 CIDRs. + // The CIDR range created by this combination must be within the subnet's CIDR + // and the CIDR range should not collide with any existing IPv4 address allocation. + // The VNIC ID specified in the request object should not already been assigned more than the max IPv4 addresses. + // If you don't specify a value, this option will be ignored. + // Example: 18 + CidrPrefixLength *int `mandatory:"false" json:"cidrPrefixLength"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the private IP to. The VNIC and private IP // must be in the same subnet. VnicId *string `mandatory:"false" json:"vnicId"` // Use this attribute only with the Oracle Cloud VMware Solution. - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be drawn. The IP address, + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be drawn. The IP address, // *if supplied*, must be valid for the given VLAN. See Vlan. VlanId *string `mandatory:"false" json:"vlanId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet from which the private IP is to be drawn. The IP address, + // *if supplied*, must be valid for the given subnet. + SubnetId *string `mandatory:"false" json:"subnetId"` + + // Any one of the IPv4 CIDRs allocated to the subnet. + Ipv4SubnetCidrAtCreation *string `mandatory:"false" json:"ipv4SubnetCidrAtCreation"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime CreatePrivateIpDetailsLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m CreatePrivateIpDetails) String() string { @@ -75,8 +100,53 @@ func (m CreatePrivateIpDetails) String() string { func (m CreatePrivateIpDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingCreatePrivateIpDetailsLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetCreatePrivateIpDetailsLifetimeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// CreatePrivateIpDetailsLifetimeEnum Enum with underlying type: string +type CreatePrivateIpDetailsLifetimeEnum string + +// Set of constants representing the allowable values for CreatePrivateIpDetailsLifetimeEnum +const ( + CreatePrivateIpDetailsLifetimeEphemeral CreatePrivateIpDetailsLifetimeEnum = "EPHEMERAL" + CreatePrivateIpDetailsLifetimeReserved CreatePrivateIpDetailsLifetimeEnum = "RESERVED" +) + +var mappingCreatePrivateIpDetailsLifetimeEnum = map[string]CreatePrivateIpDetailsLifetimeEnum{ + "EPHEMERAL": CreatePrivateIpDetailsLifetimeEphemeral, + "RESERVED": CreatePrivateIpDetailsLifetimeReserved, +} + +var mappingCreatePrivateIpDetailsLifetimeEnumLowerCase = map[string]CreatePrivateIpDetailsLifetimeEnum{ + "ephemeral": CreatePrivateIpDetailsLifetimeEphemeral, + "reserved": CreatePrivateIpDetailsLifetimeReserved, +} + +// GetCreatePrivateIpDetailsLifetimeEnumValues Enumerates the set of values for CreatePrivateIpDetailsLifetimeEnum +func GetCreatePrivateIpDetailsLifetimeEnumValues() []CreatePrivateIpDetailsLifetimeEnum { + values := make([]CreatePrivateIpDetailsLifetimeEnum, 0) + for _, v := range mappingCreatePrivateIpDetailsLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetCreatePrivateIpDetailsLifetimeEnumStringValues Enumerates the set of values in String for CreatePrivateIpDetailsLifetimeEnum +func GetCreatePrivateIpDetailsLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingCreatePrivateIpDetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreatePrivateIpDetailsLifetimeEnum(val string) (CreatePrivateIpDetailsLifetimeEnum, bool) { + enum, ok := mappingCreatePrivateIpDetailsLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go index 31afa988d0..82cc28e351 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIpRequest. type CreatePrivateIpRequest struct { // Create private IP details. @@ -69,7 +69,7 @@ func (request CreatePrivateIpRequest) RetryPolicy() *common.RetryPolicy { func (request CreatePrivateIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go index 8c3fbdee31..880c5a529d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,17 +24,17 @@ import ( // CreatePublicIpDetails The representation of CreatePublicIpDetails type CreatePublicIpDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the public IP. For ephemeral public IPs, - // you must set this to the private IP's compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the public IP. For ephemeral public IPs, + // you must set this to the private IP's compartment OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defines when the public IP is deleted and released back to the Oracle Cloud // Infrastructure public IP pool. For more information, see - // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). + // Public IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). Lifetime CreatePublicIpDetailsLifetimeEnum `mandatory:"true" json:"lifetime"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -43,11 +43,11 @@ type CreatePublicIpDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to. // Required for an ephemeral public IP because it must always be assigned to a private IP // (specifically a *primary* private IP). // Optional for a reserved public IP. If you don't provide it, the public IP is created but not @@ -55,7 +55,7 @@ type CreatePublicIpDetails struct { // UpdatePublicIp. PrivateIpId *string `mandatory:"false" json:"privateIpId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` } @@ -73,7 +73,7 @@ func (m CreatePublicIpDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go index 2941979bfd..7dbfff86ab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,11 +24,11 @@ import ( // CreatePublicIpPoolDetails The information used to create a public IP pool. type CreatePublicIpPoolDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type CreatePublicIpPoolDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -53,7 +53,7 @@ func (m CreatePublicIpPoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go index 7da7811825..6c035dbf68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPoolRequest. type CreatePublicIpPoolRequest struct { // Create Public Ip Pool details @@ -69,7 +69,7 @@ func (request CreatePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { func (request CreatePublicIpPoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go index fd78610375..87a4c3aafe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIpRequest. type CreatePublicIpRequest struct { // Create public IP details. @@ -69,7 +69,7 @@ func (request CreatePublicIpRequest) RetryPolicy() *common.RetryPolicy { func (request CreatePublicIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go index 8eea48dca7..cb70b80de5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,14 +24,14 @@ import ( // CreateRemotePeeringConnectionDetails The representation of CreateRemotePeeringConnectionDetails type CreateRemotePeeringConnectionDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the RPC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the RPC. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the RPC belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the RPC belongs to. DrgId *string `mandatory:"true" json:"drgId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -40,7 +40,7 @@ type CreateRemotePeeringConnectionDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -56,7 +56,7 @@ func (m CreateRemotePeeringConnectionDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go index 4662ff30b3..af9e2d8acb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnectionRequest. type CreateRemotePeeringConnectionRequest struct { // Request to create peering connection to remote region @@ -69,7 +69,7 @@ func (request CreateRemotePeeringConnectionRequest) RetryPolicy() *common.RetryP func (request CreateRemotePeeringConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go index 8d0ea8e310..c584304a63 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,17 +24,17 @@ import ( // CreateRouteTableDetails The representation of CreateRouteTableDetails type CreateRouteTableDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the route table. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The collection of rules used for routing destination IPs to network devices. RouteRules []RouteRule `mandatory:"true" json:"routeRules"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -43,7 +43,7 @@ type CreateRouteTableDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -59,7 +59,7 @@ func (m CreateRouteTableDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go index 8eeee45857..49c92e2820 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTableRequest. type CreateRouteTableRequest struct { // Details for creating a new route table. @@ -69,7 +69,7 @@ func (request CreateRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request CreateRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go index 9f18e59135..35f93e541c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateSecurityListDetails The representation of CreateSecurityListDetails type CreateSecurityListDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the security list. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Rules for allowing egress IP packets. @@ -33,11 +33,11 @@ type CreateSecurityListDetails struct { // Rules for allowing ingress IP packets. IngressSecurityRules []IngressSecurityRule `mandatory:"true" json:"ingressSecurityRules"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -46,7 +46,7 @@ type CreateSecurityListDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -62,7 +62,7 @@ func (m CreateSecurityListDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go index 9b75e63ee7..2a0f7b9946 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityListRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityListRequest. type CreateSecurityListRequest struct { // Details regarding the security list to create. @@ -69,7 +69,7 @@ func (request CreateSecurityListRequest) RetryPolicy() *common.RetryPolicy { func (request CreateSecurityListRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go index cf468a88b5..38b6ce09fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateServiceGatewayDetails The representation of CreateServiceGatewayDetails type CreateServiceGatewayDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` // List of the OCIDs of the Service objects to @@ -37,11 +37,11 @@ type CreateServiceGatewayDetails struct { // RouteTable. Services []ServiceIdRequestDetails `mandatory:"true" json:"services"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -50,16 +50,16 @@ type CreateServiceGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use. // If you don't specify a route table here, the service gateway is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the service gateway. // For information about why you would associate a route table with a service gateway, see - // Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + // Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -74,7 +74,7 @@ func (m CreateServiceGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go index 7dfcf01e65..a3f48f4a6b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGatewayRequest. type CreateServiceGatewayRequest struct { // Details for creating a service gateway. @@ -69,7 +69,7 @@ func (request CreateServiceGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request CreateServiceGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go index adad12c024..eb4d1cb0ea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,16 +24,10 @@ import ( // CreateSubnetDetails The representation of CreateSubnetDetails type CreateSubnetDetails struct { - // The CIDR IP address range of the subnet. The CIDR must maintain the following rules - - // a. The CIDR block is valid and correctly formatted. - // b. The new range is within one of the parent VCN ranges. - // Example: `10.0.1.0/24` - CidrBlock *string `mandatory:"true" json:"cidrBlock"` - - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the subnet. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the subnet. VcnId *string `mandatory:"true" json:"vcnId"` // Controls whether the subnet is regional or specific to an availability domain. Oracle @@ -48,12 +42,24 @@ type CreateSubnetDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + // The CIDR IP address range of the subnet. The CIDR must maintain the following rules - + // a. The CIDR block is valid and correctly formatted. + // b. The new range is within one of the parent VCN ranges. + // Example: `10.0.1.0/24` + CidrBlock *string `mandatory:"false" json:"cidrBlock"` + + // The list of all IPv4 CIDR blocks for the subnet that meets the following criteria: + // - Ipv4 CIDR blocks must be valid. + // - Multiple Ipv4 CIDR blocks must not overlap each other or the on-premises network CIDR block. + // - The number of prefixes must not exceed the limit of IPv4 prefixes allowed to a subnet. + Ipv4CidrBlocks []string `mandatory:"false" json:"ipv4CidrBlocks"` + // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use. If you don't + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use. If you don't // provide a value, the subnet uses the VCN's default set of DHCP options. DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"` @@ -70,19 +76,19 @@ type CreateSubnetDetails struct { // hostnames of instances in the subnet. It can only be set if the VCN itself // was created with a DNS label. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `subnet123` DnsLabel *string `mandatory:"false" json:"dnsLabel"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Use this to enable IPv6 addressing for this subnet. The VCN must be enabled for IPv6. // You can't change this subnet characteristic later. All subnets are /64 in size. The subnet // portion of the IPv6 address is the fourth hextet from the left (1111 in the following example). - // For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123:1111::/64` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` @@ -113,7 +119,7 @@ type CreateSubnetDetails struct { // Example: `true` ProhibitPublicIpOnVnic *bool `mandatory:"false" json:"prohibitPublicIpOnVnic"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. If you don't provide a value, + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. If you don't provide a value, // the subnet uses the VCN's default route table. RouteTableId *string `mandatory:"false" json:"routeTableId"` @@ -135,7 +141,7 @@ func (m CreateSubnetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go index 8333b1d019..d160e36777 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnetRequest. type CreateSubnetRequest struct { // Details for creating a subnet. @@ -69,7 +69,7 @@ func (request CreateSubnetRequest) RetryPolicy() *common.RetryPolicy { func (request CreateSubnetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go index ca592b1b42..e8d53fe0af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateVcnDetails The representation of CreateVcnDetails type CreateVcnDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VCN. CompartmentId *string `mandatory:"true" json:"compartmentId"` // **Deprecated.** Do *not* set this value. Use `cidrBlocks` instead. @@ -53,7 +53,7 @@ type CreateVcnDetails struct { Byoipv6CidrDetails []Byoipv6CidrDetails `mandatory:"false" json:"byoipv6CidrDetails"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -71,25 +71,30 @@ type CreateVcnDetails struct { // resolve other instances in the VCN. Otherwise the Internet and VCN Resolver // will not work. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `vcn1` DnsLabel *string `mandatory:"false" json:"dnsLabel"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` // Whether IPv6 is enabled for the VCN. Default is `false`. // If enabled, Oracle will assign the VCN a IPv6 /56 CIDR block. // You may skip having Oracle allocate the VCN a IPv6 /56 CIDR block by setting isOracleGuaAllocationEnabled to `false`. - // For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // For important details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `true` IsIpv6Enabled *bool `mandatory:"false" json:"isIpv6Enabled"` + + // Indicates whether ZPR Only mode is enforced. + IsZprOnly *bool `mandatory:"false" json:"isZprOnly"` } func (m CreateVcnDetails) String() string { @@ -103,7 +108,7 @@ func (m CreateVcnDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go index 729c90b7fd..f9f06db675 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcnRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcnRequest. type CreateVcnRequest struct { // Details for creating a new VCN. @@ -69,7 +69,7 @@ func (request CreateVcnRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVcnRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go index 0a483df6ed..3ff8125b9b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateVirtualCircuitDetails The representation of CreateVirtualCircuitDetails type CreateVirtualCircuitDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the virtual circuit. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The type of IP addresses used in this virtual circuit. PRIVATE @@ -44,7 +44,7 @@ type CreateVirtualCircuitDetails struct { // The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. // Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`. - // See Route Filtering (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. + // See Route Filtering (https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. // By default, routing information is shared for all routes in the same market. RoutingPolicy []CreateVirtualCircuitDetailsRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"` @@ -69,7 +69,7 @@ type CreateVirtualCircuitDetails struct { CustomerAsn *int64 `mandatory:"false" json:"customerAsn"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -78,11 +78,11 @@ type CreateVirtualCircuitDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // For private virtual circuits only. The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Drg + // For private virtual circuits only. The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Drg // that this virtual circuit uses. GatewayId *string `mandatory:"false" json:"gatewayId"` @@ -91,7 +91,7 @@ type CreateVirtualCircuitDetails struct { // ListFastConnectProviderServices. ProviderName *string `mandatory:"false" json:"providerName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if you're connecting + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if you're connecting // via a provider). To get a list of the available service offerings, see // ListFastConnectProviderServices. ProviderServiceId *string `mandatory:"false" json:"providerServiceId"` @@ -143,7 +143,7 @@ func (m CreateVirtualCircuitDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMtu: %s. Supported values are: %s.", m.IpMtu, strings.Join(GetVirtualCircuitIpMtuEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go index f03e7500b5..f286213b27 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_public_prefix_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m CreateVirtualCircuitPublicPrefixDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go index 5cd54e332f..ed3609f5dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuitRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuitRequest. type CreateVirtualCircuitRequest struct { // Details to create a VirtualCircuit. @@ -69,7 +69,7 @@ func (request CreateVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVirtualCircuitRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go index 4284c05023..abe1158f11 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,10 +31,10 @@ type CreateVlanDetails struct { // Example: `192.0.2.0/24` CidrBlock *string `mandatory:"true" json:"cidrBlock"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VLAN. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the VLAN. VcnId *string `mandatory:"true" json:"vcnId"` // Controls whether the VLAN is regional or specific to an availability domain. @@ -48,7 +48,7 @@ type CreateVlanDetails struct { AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -57,7 +57,7 @@ type CreateVlanDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -66,7 +66,7 @@ type CreateVlanDetails struct { // NetworkSecurityGroup. NsgIds []string `mandatory:"false" json:"nsgIds"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. If you don't provide a value, + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. If you don't provide a value, // the VLAN uses the VCN's default route table. RouteTableId *string `mandatory:"false" json:"routeTableId"` @@ -87,7 +87,7 @@ func (m CreateVlanDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go index b4ecf6341e..2870ad24e2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlanRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlanRequest. type CreateVlanRequest struct { // Details for creating a VLAN @@ -69,7 +69,7 @@ func (request CreateVlanRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVlanRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go index b74834cb79..8202e16700 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CreateVnicDetails Contains properties for a VNIC. You use this object when creating the // primary VNIC during instance launch or when creating a secondary VNIC. // For more information about VNICs, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). +// Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). type CreateVnicDetails struct { // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled @@ -43,13 +43,13 @@ type CreateVnicDetails struct { // `prohibitPublicIpOnVnic` = true, an error is returned. // **Note:** This public IP address is associated with the primary private IP // on the VNIC. For more information, see - // IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). + // IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // **Note:** There's a limit to the number of PublicIp // a VNIC or instance can have. If you try to create a secondary VNIC // with an assigned public IP for an instance that has already // reached its public IP limit, an error is returned. For information // about the public IP limits, see - // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). + // Public IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). // Example: `false` // If you specify a `vlanId`, then `assignPublicIp` must be set to false. See // Vlan. @@ -62,7 +62,7 @@ type CreateVnicDetails struct { AssignPrivateDnsRecord *bool `mandatory:"false" json:"assignPrivateDnsRecord"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -71,11 +71,13 @@ type CreateVnicDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -85,15 +87,15 @@ type CreateVnicDetails struct { // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). - // The value appears in the `Vnic` object and also the - // `PrivateIp` object returned by - // `ListPrivateIps` and - // `GetPrivateIp`. + // The value appears in the Vnic object and also the + // PrivateIp object returned by + // ListPrivateIps and + // GetPrivateIp. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // When launching an instance, use this `hostnameLabel` instead // of the deprecated `hostnameLabel` in - // `LaunchInstanceDetails`. + // LaunchInstanceDetails. // If you provide both, the values must match. // Example: `bminstance1` // If you specify a `vlanId`, the `hostnameLabel` cannot be specified. VNICs on a VLAN @@ -106,6 +108,14 @@ type CreateVnicDetails struct { // and instead provide the specific IPv6 address within that range to use. Ipv6AddressIpv6SubnetCidrPairDetails []Ipv6AddressIpv6SubnetCidrPairDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"` + // One of the IPv4 CIDR blocks allocated to the subnet. Represents the IP range + // from which the VNIC's private IP address will be assigned if `privateIp` or + // `privateIpId` is not specified. + // Either this field or the `privateIp` (or `privateIpId`, if applicable) field + // must be provided, but not both simultaneously. + // Example: `192.168.1.0/28` + SubnetCidr *string `mandatory:"false" json:"subnetCidr"` + // A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more // information about NSGs, see // NetworkSecurityGroup. @@ -119,10 +129,10 @@ type CreateVnicDetails struct { // available IP address within the subnet's CIDR. If you don't specify a // value, Oracle automatically assigns a private IP address from the subnet. // This is the VNIC's *primary* private IP address. The value appears in - // the `Vnic` object and also the - // `PrivateIp` object returned by - // `ListPrivateIps` and - // `GetPrivateIp`. + // the Vnic object and also the + // PrivateIp object returned by + // ListPrivateIps and + // GetPrivateIp. // // If you specify a `vlanId`, the `privateIp` cannot be specified. // See Vlan. @@ -132,7 +142,7 @@ type CreateVnicDetails struct { // Whether the source/destination check is disabled on the VNIC. // Defaults to `false`, which means the check is performed. For information // about why you would skip the source/destination check, see - // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). + // Using a Private IP as a Route Target (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). // // If you specify a `vlanId`, the `skipSourceDestCheck` cannot be specified because the // source/destination check is always disabled for VNICs in a VLAN. See @@ -140,7 +150,7 @@ type CreateVnicDetails struct { // Example: `true` SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC in. When launching an instance, + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC in. When launching an instance, // use this `subnetId` instead of the deprecated `subnetId` in // LaunchInstanceDetails. // At least one of them is required; if you provide both, the values must match. @@ -150,7 +160,7 @@ type CreateVnicDetails struct { SubnetId *string `mandatory:"false" json:"subnetId"` // Provide this attribute only if you are an Oracle Cloud VMware Solution - // customer and creating a secondary VNIC in a VLAN. The value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // customer and creating a secondary VNIC in a VLAN. The value is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. // See Vlan. // Provide a `vlanId` instead of a `subnetId`. If you provide both a // `vlanId` and `subnetId`, the request fails. @@ -168,7 +178,7 @@ func (m CreateVnicDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go index 7e04e33836..acc06f0eff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -29,12 +29,12 @@ type CreateVolumeBackupDetails struct { // The OCID of the Vault service key which is the master encryption key for the volume backup. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -43,7 +43,7 @@ type CreateVolumeBackupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -65,7 +65,7 @@ func (m CreateVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateVolumeBackupDetailsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go index c3fc3f6950..f823df8529 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -32,8 +32,8 @@ type CreateVolumeBackupPolicyAssignmentDetails struct { // The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrcKmsKeyId *string `mandatory:"false" json:"xrcKmsKeyId"` } @@ -48,7 +48,7 @@ func (m CreateVolumeBackupPolicyAssignmentDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go index 2344b7bf98..91b57e818e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignmentRequest. type CreateVolumeBackupPolicyAssignmentRequest struct { // Request to assign a specified policy to a particular volume. @@ -62,7 +62,7 @@ func (request CreateVolumeBackupPolicyAssignmentRequest) RetryPolicy() *common.R func (request CreateVolumeBackupPolicyAssignmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go index 62d16f94a1..4c05dfa0f8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,8 +23,8 @@ import ( // CreateVolumeBackupPolicyDetails Specifies the properties for creating user defined backup policy. // For more information about user defined backup policies, -// see User Defined Policies (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in -// Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// see User Defined Policies (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in +// Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). type CreateVolumeBackupPolicyDetails struct { // The OCID of the compartment. @@ -35,21 +35,21 @@ type CreateVolumeBackupPolicyDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // The paired destination region for copying scheduled backups to. Example: `us-ashburn-1`. - // See Region Pairs (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions. + // See Region Pairs (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions. DestinationRegion *string `mandatory:"false" json:"destinationRegion"` // The collection of schedules for the volume backup policy. See - // see Schedules (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in - // Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information. + // see Schedules (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in + // Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information. Schedules []VolumeBackupSchedule `mandatory:"false" json:"schedules"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -65,7 +65,7 @@ func (m CreateVolumeBackupPolicyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go index d274fa1832..ab48a3fad9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicyRequest. type CreateVolumeBackupPolicyRequest struct { // Request to create a new scheduled backup policy. @@ -69,7 +69,7 @@ func (request CreateVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy func (request CreateVolumeBackupPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go index 8597d681a1..c20adb5ecd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackupRequest. type CreateVolumeBackupRequest struct { // Request to create a new backup of given volume. @@ -69,7 +69,7 @@ func (request CreateVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go index 977ac058d2..28774e394c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,7 +38,7 @@ type CreateVolumeDetails struct { BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -47,7 +47,7 @@ type CreateVolumeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -57,7 +57,7 @@ type CreateVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. @@ -96,9 +96,13 @@ type CreateVolumeDetails struct { // The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrcKmsKeyId *string `mandatory:"false" json:"xrcKmsKeyId"` + + // When set to true, enables SCSI Persistent Reservation (SCSI PR) for the volume. For more information, see + // Persistent Reservations (https://docs.oracle.com/iaas/Content/Block/Concepts/persistent-reservations.htm). + IsReservationsEnabled *bool `mandatory:"false" json:"isReservationsEnabled"` } func (m CreateVolumeDetails) String() string { @@ -112,7 +116,7 @@ func (m CreateVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -136,6 +140,7 @@ func (m *CreateVolumeDetails) UnmarshalJSON(data []byte) (e error) { BlockVolumeReplicas []BlockVolumeReplicaDetails `json:"blockVolumeReplicas"` AutotunePolicies []autotunepolicy `json:"autotunePolicies"` XrcKmsKeyId *string `json:"xrcKmsKeyId"` + IsReservationsEnabled *bool `json:"isReservationsEnabled"` CompartmentId *string `json:"compartmentId"` }{} @@ -194,6 +199,8 @@ func (m *CreateVolumeDetails) UnmarshalJSON(data []byte) (e error) { } m.XrcKmsKeyId = model.XrcKmsKeyId + m.IsReservationsEnabled = model.IsReservationsEnabled + m.CompartmentId = model.CompartmentId return diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go index 15618c3307..ba4887f5ec 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -33,7 +33,7 @@ type CreateVolumeGroupBackupDetails struct { CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -42,7 +42,7 @@ type CreateVolumeGroupBackupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -64,7 +64,7 @@ func (m CreateVolumeGroupBackupDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetCreateVolumeGroupBackupDetailsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go index 78cf3d5e7d..ffb095a3ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackupRequest. type CreateVolumeGroupBackupRequest struct { // Request to create a new backup group of given volume group. @@ -69,7 +69,7 @@ func (request CreateVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy func (request CreateVolumeGroupBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go index 9f2af6b3ce..3e42e23a5e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,7 +38,7 @@ type CreateVolumeGroupDetails struct { BackupPolicyId *string `mandatory:"false" json:"backupPolicyId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -47,7 +47,7 @@ type CreateVolumeGroupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -60,8 +60,8 @@ type CreateVolumeGroupDetails struct { // The OCID of the Vault service key which is the master encryption key for the volume's cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrcKmsKeyId *string `mandatory:"false" json:"xrcKmsKeyId"` } @@ -76,7 +76,7 @@ func (m CreateVolumeGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go index 3de88a3001..6086ba0ebb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroupRequest. type CreateVolumeGroupRequest struct { // Request to create a new volume group. @@ -69,7 +69,7 @@ func (request CreateVolumeGroupRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVolumeGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go index 9f3cbcd2eb..07d7f6d9c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolumeRequest. type CreateVolumeRequest struct { // Request to create a new volume. @@ -69,7 +69,7 @@ func (request CreateVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go index 0be4a28216..d19681f9e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,20 +24,20 @@ import ( // CreateVtapDetails These details are included in a request to create a virtual test access point (VTAP). type CreateVtapDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. VcnId *string `mandatory:"true" json:"vcnId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. SourceId *string `mandatory:"true" json:"sourceId"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). CaptureFilterId *string `mandatory:"true" json:"captureFilterId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -46,11 +46,11 @@ type CreateVtapDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. TargetId *string `mandatory:"false" json:"targetId"` // The IP address of the destination resource where mirrored packets are sent. @@ -82,7 +82,7 @@ type CreateVtapDetails struct { // The IP Address of the source private endpoint. SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` } @@ -109,7 +109,7 @@ func (m CreateVtapDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetType: %s. Supported values are: %s.", m.TargetType, strings.Join(GetCreateVtapDetailsTargetTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go index e6705c8f1f..a9a756f42f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtapRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVtap.go.html to see an example of how to use CreateVtapRequest. type CreateVtapRequest struct { // Details used to create a VTAP. @@ -69,7 +69,7 @@ func (request CreateVtapRequest) RetryPolicy() *common.RetryPolicy { func (request CreateVtapRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go index ec5d89535b..d7f9000048 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CrossConnect For use with Oracle Cloud Infrastructure FastConnect. A cross-connect represents a // physical connection between an existing network and Oracle. Customers who are colocated // with Oracle in a FastConnect location create and use cross-connects. For more -// information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// information, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // Oracle recommends you create each cross-connect in a // CrossConnectGroup so you can use link aggregation // with the connection. @@ -33,17 +33,17 @@ import ( // same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type CrossConnect struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group. CompartmentId *string `mandatory:"false" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group this cross-connect belongs to (if any). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group this cross-connect belongs to (if any). CrossConnectGroupId *string `mandatory:"false" json:"crossConnectGroupId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -52,7 +52,7 @@ type CrossConnect struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -88,6 +88,9 @@ type CrossConnect struct { // The FastConnect device that terminates the logical connection. // This device might be different than the device that terminates the physical connection. OciLogicalDeviceName *string `mandatory:"false" json:"ociLogicalDeviceName"` + + // The name of the FastConnect interface where this cross-connect is installed. + InterfaceName *string `mandatory:"false" json:"interfaceName"` } func (m CrossConnect) String() string { @@ -104,7 +107,7 @@ func (m CrossConnect) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCrossConnectLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go index 90841a5691..e8a2c5990b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,20 +25,20 @@ import ( // is a link aggregation group (LAG), which can contain one or more // CrossConnect. Customers who are colocated with // Oracle in a FastConnect location create and use cross-connect groups. For more -// information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// information, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // **Note:** If you're a provider who is setting up a physical connection to Oracle so customers // can use FastConnect over the connection, be aware that your connection is modeled the // same way as a colocated customer's (with `CrossConnect` and `CrossConnectGroup` objects, and so on). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type CrossConnectGroup struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -47,13 +47,17 @@ type CrossConnectGroup struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The cross-connect group's Oracle ID (OCID). Id *string `mandatory:"false" json:"id"` + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{ "orcl-cloud": { "free-tier-retained": "true" } }` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + // The cross-connect group's current state. LifecycleState CrossConnectGroupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` @@ -89,7 +93,7 @@ func (m CrossConnectGroup) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCrossConnectGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go index 592246c6bc..7abe74c02b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_location.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,7 +43,7 @@ func (m CrossConnectLocation) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go index c675864c12..9ecafa08c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -52,7 +52,7 @@ type CrossConnectMapping struct { // means you don't use BGP MD5 authentication. BgpMd5AuthKey *string `mandatory:"false" json:"bgpMd5AuthKey"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping. // Specified by the owner of the cross-connect or cross-connect group (the // customer if the customer is colocated with Oracle, or the provider if the // customer is connecting via provider). @@ -82,7 +82,7 @@ type CrossConnectMapping struct { // provider's edge router. Only subnet masks from /64 up to /127 are allowed. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. // IPv6 addressing is supported for all commercial and government regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:db8::1/64` CustomerBgpPeeringIpv6 *string `mandatory:"false" json:"customerBgpPeeringIpv6"` @@ -92,7 +92,7 @@ type CrossConnectMapping struct { // a provider's edge router, the provider specifies this. // There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. // Note that IPv6 addressing is currently supported only in certain regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:db8::2/64` OracleBgpPeeringIpv6 *string `mandatory:"false" json:"oracleBgpPeeringIpv6"` @@ -115,7 +115,7 @@ func (m CrossConnectMapping) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go index 543b33492c..91a13bf791 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -35,7 +35,7 @@ type CrossConnectMappingDetails struct { // means you don't use BGP MD5 authentication. BgpMd5AuthKey *string `mandatory:"false" json:"bgpMd5AuthKey"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping. // Specified by the owner of the cross-connect or cross-connect group (the // customer if the customer is colocated with Oracle, or the provider if the // customer is connecting via provider). @@ -109,7 +109,7 @@ func (m CrossConnectMappingDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Ipv6BgpStatus: %s. Supported values are: %s.", m.Ipv6BgpStatus, strings.Join(GetCrossConnectMappingDetailsIpv6BgpStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go index 4f05145133..2043b22442 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_mapping_details_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m CrossConnectMappingDetailsCollection) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go index 3618bfdf78..7a6e929307 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_port_speed_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -44,7 +44,7 @@ func (m CrossConnectPortSpeedShape) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go index 24a4c15a38..515454780c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cross_connect_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // CrossConnectStatus The status of the cross-connect. type CrossConnectStatus struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" json:"crossConnectId"` // Indicates whether Oracle's side of the interface is up or down. @@ -76,7 +76,7 @@ func (m CrossConnectStatus) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionStatus: %s. Supported values are: %s.", m.EncryptionStatus, strings.Join(GetCrossConnectStatusEncryptionStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_capacity_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_capacity_source.go index ba3e25850e..f8be77b9be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_capacity_source.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_capacity_source.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // DedicatedCapacitySource A capacity source of bare metal hosts that is dedicated to a user. type DedicatedCapacitySource struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this capacity source. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this capacity source. CompartmentId *string `mandatory:"false" json:"compartmentId"` } @@ -40,7 +40,7 @@ func (m DedicatedCapacitySource) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go index 02e85afb87..bfe4e46f87 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,16 +6,17 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core import ( + "encoding/json" "fmt" "github.com/oracle/oci-go-sdk/v65/common" "strings" @@ -40,7 +41,7 @@ type DedicatedVmHost struct { // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host. Id *string `mandatory:"true" json:"id"` // The current state of the dedicated VM host. @@ -57,28 +58,43 @@ type DedicatedVmHost struct { RemainingOcpus *float32 `mandatory:"true" json:"remainingOcpus"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The fault domain for the dedicated virtual machine host's assigned instances. - // For more information, see Fault Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). + // For more information, see Fault Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). // If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated virtual machine host, // delete it, and then create a new dedicated virtual machine host in the preferred fault domain. - // To get a list of fault domains, use the `ListFaultDomains` operation in the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/). + // To get a list of fault domains, use the `ListFaultDomains` operation in the Identity and Access Management Service API (https://docs.oracle.com/iaas/api/#/en/identity/20160918/). // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + PlacementConstraintDetails PlacementConstraintDetails `mandatory:"false" json:"placementConstraintDetails"` + + // The capacity configuration selected to be configured for the Dedicated Virtual Machine host. + // Run ListDedicatedVmHostShapes API to see details of this capacity configuration. + CapacityConfig *string `mandatory:"false" json:"capacityConfig"` + + // Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If `true`, only Confidential VMs can be launched. If `false`, Confidential VMs cannot be launched. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + // The total memory of the dedicated VM host, in GBs. TotalMemoryInGBs *float32 `mandatory:"false" json:"totalMemoryInGBs"` // The remaining memory of the dedicated VM host, in GBs. RemainingMemoryInGBs *float32 `mandatory:"false" json:"remainingMemoryInGBs"` + + // A list of total and remaining CPU and memory per capacity bucket. + CapacityBins []CapacityBin `mandatory:"false" json:"capacityBins"` + + // The compute bare metal host OCID of the dedicated virtual machine host. + ComputeBareMetalHostId *string `mandatory:"false" json:"computeBareMetalHostId"` } func (m DedicatedVmHost) String() string { @@ -95,11 +111,89 @@ func (m DedicatedVmHost) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } +// UnmarshalJSON unmarshals from json +func (m *DedicatedVmHost) UnmarshalJSON(data []byte) (e error) { + model := struct { + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + FaultDomain *string `json:"faultDomain"` + FreeformTags map[string]string `json:"freeformTags"` + PlacementConstraintDetails placementconstraintdetails `json:"placementConstraintDetails"` + CapacityConfig *string `json:"capacityConfig"` + IsMemoryEncryptionEnabled *bool `json:"isMemoryEncryptionEnabled"` + TotalMemoryInGBs *float32 `json:"totalMemoryInGBs"` + RemainingMemoryInGBs *float32 `json:"remainingMemoryInGBs"` + CapacityBins []CapacityBin `json:"capacityBins"` + ComputeBareMetalHostId *string `json:"computeBareMetalHostId"` + AvailabilityDomain *string `json:"availabilityDomain"` + CompartmentId *string `json:"compartmentId"` + DedicatedVmHostShape *string `json:"dedicatedVmHostShape"` + DisplayName *string `json:"displayName"` + Id *string `json:"id"` + LifecycleState DedicatedVmHostLifecycleStateEnum `json:"lifecycleState"` + TimeCreated *common.SDKTime `json:"timeCreated"` + TotalOcpus *float32 `json:"totalOcpus"` + RemainingOcpus *float32 `json:"remainingOcpus"` + }{} + + e = json.Unmarshal(data, &model) + if e != nil { + return + } + var nn interface{} + m.DefinedTags = model.DefinedTags + + m.FaultDomain = model.FaultDomain + + m.FreeformTags = model.FreeformTags + + nn, e = model.PlacementConstraintDetails.UnmarshalPolymorphicJSON(model.PlacementConstraintDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlacementConstraintDetails = nn.(PlacementConstraintDetails) + } else { + m.PlacementConstraintDetails = nil + } + + m.CapacityConfig = model.CapacityConfig + + m.IsMemoryEncryptionEnabled = model.IsMemoryEncryptionEnabled + + m.TotalMemoryInGBs = model.TotalMemoryInGBs + + m.RemainingMemoryInGBs = model.RemainingMemoryInGBs + + m.CapacityBins = make([]CapacityBin, len(model.CapacityBins)) + copy(m.CapacityBins, model.CapacityBins) + m.ComputeBareMetalHostId = model.ComputeBareMetalHostId + + m.AvailabilityDomain = model.AvailabilityDomain + + m.CompartmentId = model.CompartmentId + + m.DedicatedVmHostShape = model.DedicatedVmHostShape + + m.DisplayName = model.DisplayName + + m.Id = model.Id + + m.LifecycleState = model.LifecycleState + + m.TimeCreated = model.TimeCreated + + m.TotalOcpus = model.TotalOcpus + + m.RemainingOcpus = model.RemainingOcpus + + return +} + // DedicatedVmHostLifecycleStateEnum Enum with underlying type: string type DedicatedVmHostLifecycleStateEnum string diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go index 0496204ccc..f254072dbd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -29,6 +29,8 @@ type DedicatedVmHostInstanceShapeSummary struct { // The shape's availability domain. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + + SupportedCapabilities *SupportedCapabilities `mandatory:"false" json:"supportedCapabilities"` } func (m DedicatedVmHostInstanceShapeSummary) String() string { @@ -42,7 +44,7 @@ func (m DedicatedVmHostInstanceShapeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go index 83ab4e2a92..c3ff16c56f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,6 +40,9 @@ type DedicatedVmHostInstanceSummary struct { // The date and time the virtual machine instance was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // Specifies whether the VM instance is confidential. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` } func (m DedicatedVmHostInstanceSummary) String() string { @@ -53,7 +56,7 @@ func (m DedicatedVmHostInstanceSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go index 7acddd71ed..b651eaf0f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_shape_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,11 +25,14 @@ import ( type DedicatedVmHostShapeSummary struct { // The name of the dedicated VM host shape. You can enumerate all available shapes by calling - // dedicatedVmHostShapes. + // ListDedicatedVmHostShapes. DedicatedVmHostShape *string `mandatory:"true" json:"dedicatedVmHostShape"` // The shape's availability domain. AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + + // A list of capacity configs that are supported by this dedicated VM host shape. + CapacityConfigs []CapacityConfig `mandatory:"false" json:"capacityConfigs"` } func (m DedicatedVmHostShapeSummary) String() string { @@ -43,7 +46,7 @@ func (m DedicatedVmHostShapeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go index 93b2945486..8505f5d6c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dedicated_vm_host_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ type DedicatedVmHostSummary struct { // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host. Id *string `mandatory:"true" json:"id"` // The current state of the dedicated VM host. @@ -62,6 +62,9 @@ type DedicatedVmHostSummary struct { // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` + // Specifies if the Dedicated Virtual Machine Host is restricted to running only Confidential VMs. If `true`, only Confidential VMs can be launched. If `false`, Confidential VMs cannot be launched. + IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"` + // The current total memory of the dedicated VM host, in GBs. TotalMemoryInGBs *float32 `mandatory:"false" json:"totalMemoryInGBs"` @@ -83,7 +86,7 @@ func (m DedicatedVmHostSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go index 6bb7108c0a..d1aace2a21 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/default_drg_route_tables.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,19 +28,19 @@ import ( // a default DRG route table. type DefaultDrgRouteTables struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments // of type VCN on creation. Vcn *string `mandatory:"false" json:"vcn"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table assigned to DRG attachments + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table assigned to DRG attachments // of type IPSEC_TUNNEL on creation. IpsecTunnel *string `mandatory:"false" json:"ipsecTunnel"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments // of type VIRTUAL_CIRCUIT on creation. VirtualCircuit *string `mandatory:"false" json:"virtualCircuit"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments // of type REMOTE_PEERING_CONNECTION on creation. RemotePeeringConnection *string `mandatory:"false" json:"remotePeeringConnection"` } @@ -56,7 +56,7 @@ func (m DefaultDrgRouteTables) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go index 5fdeaff05c..f1a0564633 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_one_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m DefaultPhaseOneParameters) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go index eeac3defbe..e9097e1995 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/default_phase_two_parameters.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m DefaultPhaseTwoParameters) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go index 8285c43402..87908a1512 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_app_catalog_subscription_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscriptionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscriptionRequest. type DeleteAppCatalogSubscriptionRequest struct { // The OCID of the listing. ListingId *string `mandatory:"true" contributesTo:"query" name:"listingId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Listing Resource Version. @@ -68,7 +68,7 @@ func (request DeleteAppCatalogSubscriptionRequest) RetryPolicy() *common.RetryPo func (request DeleteAppCatalogSubscriptionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go index e7ddd2274d..21ebe32049 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackupRequest. type DeleteBootVolumeBackupRequest struct { // The OCID of the boot volume backup. @@ -67,7 +67,7 @@ func (request DeleteBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBootVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go index cd10404d99..6289c72ed4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKeyRequest. type DeleteBootVolumeKmsKeyRequest struct { // The OCID of the boot volume. @@ -67,7 +67,7 @@ func (request DeleteBootVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBootVolumeKmsKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go index 1349210126..ad66eab775 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolumeRequest. type DeleteBootVolumeRequest struct { // The OCID of the boot volume. @@ -67,7 +67,7 @@ func (request DeleteBootVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBootVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoasn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoasn_request_response.go new file mode 100644 index 0000000000..901d517eed --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoasn_request_response.go @@ -0,0 +1,93 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteByoasnRequest wrapper for the DeleteByoasn operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoasn.go.html to see an example of how to use DeleteByoasnRequest. +type DeleteByoasnRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + ByoasnId *string `mandatory:"true" contributesTo:"path" name:"byoasnId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteByoasnRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteByoasnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteByoasnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteByoasnRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteByoasnRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteByoasnResponse wrapper for the DeleteByoasn operation +type DeleteByoasnResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteByoasnResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteByoasnResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go index 66d4dcfddd..565ce30b4e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRangeRequest. type DeleteByoipRangeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Unique identifier for the request. @@ -67,7 +67,7 @@ func (request DeleteByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,8 +82,8 @@ type DeleteByoipRangeResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go index 8778950375..c17ef8d807 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCaptureFilter.go.html to see an example of how to use DeleteCaptureFilterRequest. type DeleteCaptureFilterRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteCaptureFilterRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteCaptureFilterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go index 47d1a7ea26..21a5c60e43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservationRequest. type DeleteComputeCapacityReservationRequest struct { // The OCID of the compute capacity reservation. @@ -67,7 +67,7 @@ func (request DeleteComputeCapacityReservationRequest) RetryPolicy() *common.Ret func (request DeleteComputeCapacityReservationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,8 +82,8 @@ type DeleteComputeCapacityReservationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_topology_request_response.go index 320802eda3..3528454111 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_capacity_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityTopology.go.html to see an example of how to use DeleteComputeCapacityTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityTopology.go.html to see an example of how to use DeleteComputeCapacityTopologyRequest. type DeleteComputeCapacityTopologyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteComputeCapacityTopologyRequest) RetryPolicy() *common.RetryP func (request DeleteComputeCapacityTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,8 +82,8 @@ type DeleteComputeCapacityTopologyResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go index 4b0cbbc051..c04b2845cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,11 +15,11 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCluster.go.html to see an example of how to use DeleteComputeClusterRequest. type DeleteComputeClusterRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. - // A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory // access (RDMA) network group. ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"` @@ -69,7 +69,7 @@ func (request DeleteComputeClusterRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteComputeClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_gpu_memory_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_gpu_memory_cluster_request_response.go new file mode 100644 index 0000000000..8aad614d34 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_gpu_memory_cluster_request_response.go @@ -0,0 +1,98 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteComputeGpuMemoryClusterRequest wrapper for the DeleteComputeGpuMemoryCluster operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeGpuMemoryCluster.go.html to see an example of how to use DeleteComputeGpuMemoryClusterRequest. +type DeleteComputeGpuMemoryClusterRequest struct { + + // The OCID of the compute GPU memory cluster. + ComputeGpuMemoryClusterId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryClusterId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteComputeGpuMemoryClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteComputeGpuMemoryClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteComputeGpuMemoryClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteComputeGpuMemoryClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteComputeGpuMemoryClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteComputeGpuMemoryClusterResponse wrapper for the DeleteComputeGpuMemoryCluster operation +type DeleteComputeGpuMemoryClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response DeleteComputeGpuMemoryClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteComputeGpuMemoryClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_host_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_host_group_request_response.go new file mode 100644 index 0000000000..a2ddbcd950 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_host_group_request_response.go @@ -0,0 +1,93 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteComputeHostGroupRequest wrapper for the DeleteComputeHostGroup operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeHostGroup.go.html to see an example of how to use DeleteComputeHostGroupRequest. +type DeleteComputeHostGroupRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + ComputeHostGroupId *string `mandatory:"true" contributesTo:"path" name:"computeHostGroupId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteComputeHostGroupRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteComputeHostGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteComputeHostGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteComputeHostGroupRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteComputeHostGroupRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteComputeHostGroupResponse wrapper for the DeleteComputeHostGroup operation +type DeleteComputeHostGroupResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteComputeHostGroupResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteComputeHostGroupResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go index 90b38210c2..59b3dec85a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchemaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchemaRequest. type DeleteComputeImageCapabilitySchemaRequest struct { // The id of the compute image capability schema or the image ocid @@ -67,7 +67,7 @@ func (request DeleteComputeImageCapabilitySchemaRequest) RetryPolicy() *common.R func (request DeleteComputeImageCapabilitySchemaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go index f240ccff25..a9752496af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistoryRequest. type DeleteConsoleHistoryRequest struct { // The OCID of the console history. @@ -67,7 +67,7 @@ func (request DeleteConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteConsoleHistoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go index c52cb778fd..27f601315c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpeRequest. type DeleteCpeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteCpeRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteCpeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go index 098a7272d1..9d918acd03 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroupRequest. type DeleteCrossConnectGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy func (request DeleteCrossConnectGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go index 8452a7f1f3..106282a9be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnectRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnectRequest. type DeleteCrossConnectRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteCrossConnectRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteCrossConnectRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go index 3b4787aecb..112b1d72b9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHostRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHostRequest. type DeleteDedicatedVmHostRequest struct { // The OCID of the dedicated VM host. @@ -62,7 +62,7 @@ func (request DeleteDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDedicatedVmHostRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -77,8 +77,8 @@ type DeleteDedicatedVmHostResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go index 8277e47552..b01ddf26c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptionsRequest. type DeleteDhcpOptionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDhcpOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go index 8e27403efa..3aef041463 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachmentRequest. type DeleteDrgAttachmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDrgAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go index bf5941182d..492ef5849c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrgRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrgRequest. type DeleteDrgRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteDrgRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDrgRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go index bb419e5c1b..043e0d3169 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistributionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistributionRequest. type DeleteDrgRouteDistributionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteDrgRouteDistributionRequest) RetryPolicy() *common.RetryPoli func (request DeleteDrgRouteDistributionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go index d9ca6714b9..d824e04c46 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTableRequest. type DeleteDrgRouteTableRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDrgRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go index 9667560168..7e69277d59 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnectionRequest. type DeleteIPSecConnectionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteIPSecConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go index ddd1db9ae8..e700691107 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImageRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImageRequest. type DeleteImageRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteImageRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteImageRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go index fe15388c04..d47c9662fc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfigurationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfigurationRequest. type DeleteInstanceConfigurationRequest struct { // The OCID of the instance configuration. @@ -67,7 +67,7 @@ func (request DeleteInstanceConfigurationRequest) RetryPolicy() *common.RetryPol func (request DeleteInstanceConfigurationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go index ac2610c0d7..be3fb43e86 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnectionRequest. type DeleteInstanceConsoleConnectionRequest struct { // The OCID of the instance console connection. @@ -67,7 +67,7 @@ func (request DeleteInstanceConsoleConnectionRequest) RetryPolicy() *common.Retr func (request DeleteInstanceConsoleConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go index 0b38c31123..e46750d1a1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGatewayRequest. type DeleteInternetGatewayRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteInternetGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteInternetGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go index 6076f9dda1..fda3de3eef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6Request. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6Request. type DeleteIpv6Request struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteIpv6Request) RetryPolicy() *common.RetryPolicy { func (request DeleteIpv6Request) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go index 827ea7e92b..7b77962275 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGatewayRequest. type DeleteLocalPeeringGatewayRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolic func (request DeleteLocalPeeringGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go index 4f2a979a2c..66fb8e58bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGatewayRequest. type DeleteNatGatewayRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteNatGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteNatGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go index a5412ae14b..9fa3726333 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroupRequest. type DeleteNetworkSecurityGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPoli func (request DeleteNetworkSecurityGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go index b9650d1928..6724cfa7d4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIpRequest. type DeletePrivateIpRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeletePrivateIpRequest) RetryPolicy() *common.RetryPolicy { func (request DeletePrivateIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go index 51fa62e716..110d02f4d4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPoolRequest. type DeletePublicIpPoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` // Unique identifier for the request. @@ -67,7 +67,7 @@ func (request DeletePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { func (request DeletePublicIpPoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go index 44a1f21cfa..9cb05a9c5d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIpRequest. type DeletePublicIpRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeletePublicIpRequest) RetryPolicy() *common.RetryPolicy { func (request DeletePublicIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go index 0938ed28d9..3e0a144886 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnectionRequest. type DeleteRemotePeeringConnectionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteRemotePeeringConnectionRequest) RetryPolicy() *common.RetryP func (request DeleteRemotePeeringConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go index 8f3eca743e..90ccc4a8b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTableRequest. type DeleteRouteTableRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go index d60e471bb3..1894317a60 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityListRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityListRequest. type DeleteSecurityListRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteSecurityListRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteSecurityListRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go index a52afc7b49..a36e5b60a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGatewayRequest. type DeleteServiceGatewayRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteServiceGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteServiceGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go index 9014368289..5ccd2d32fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnetRequest. type DeleteSubnetRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteSubnetRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteSubnetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go index 51af00a092..ec77f0631e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcnRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcnRequest. type DeleteVcnRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteVcnRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVcnRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go index 4adbe142cb..442b937629 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_public_prefix_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m DeleteVirtualCircuitPublicPrefixDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go index 8288c47387..428a086764 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuitRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuitRequest. type DeleteVirtualCircuitRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVirtualCircuitRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go index cbc9e72921..8c56c63fc0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlanRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlanRequest. type DeleteVlanRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteVlanRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVlanRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go index ce14cc6559..ca7fbba615 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignmentRequest. type DeleteVolumeBackupPolicyAssignmentRequest struct { // The OCID of the volume backup policy assignment. @@ -67,7 +67,7 @@ func (request DeleteVolumeBackupPolicyAssignmentRequest) RetryPolicy() *common.R func (request DeleteVolumeBackupPolicyAssignmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go index ab102ceed6..c52c3980b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicyRequest. type DeleteVolumeBackupPolicyRequest struct { // The OCID of the volume backup policy. @@ -67,7 +67,7 @@ func (request DeleteVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy func (request DeleteVolumeBackupPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go index 9891e50f94..c53dbff42d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackupRequest. type DeleteVolumeBackupRequest struct { // The OCID of the volume backup. @@ -67,7 +67,7 @@ func (request DeleteVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go index f818167d3c..765cd63319 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackupRequest. type DeleteVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. @@ -67,7 +67,7 @@ func (request DeleteVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy func (request DeleteVolumeGroupBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go index d9aca97060..1618d5e687 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroupRequest. type DeleteVolumeGroupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. @@ -67,7 +67,7 @@ func (request DeleteVolumeGroupRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVolumeGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go index bf5f218163..54a5978d90 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKeyRequest. type DeleteVolumeKmsKeyRequest struct { // The OCID of the volume. @@ -67,7 +67,7 @@ func (request DeleteVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVolumeKmsKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go index 1dc300ddf8..bc1762c0dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolumeRequest. type DeleteVolumeRequest struct { // The OCID of the volume. @@ -67,7 +67,7 @@ func (request DeleteVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go index 8d93b2ed60..f15c6597e5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/delete_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtapRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVtap.go.html to see an example of how to use DeleteVtapRequest. type DeleteVtapRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteVtapRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteVtapRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,8 +82,8 @@ type DeleteVtapResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go index d20a8f1ac1..073b09b061 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolumeRequest. type DetachBootVolumeRequest struct { // The OCID of the boot volume attachment. @@ -67,7 +67,7 @@ func (request DetachBootVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request DetachBootVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_details.go new file mode 100644 index 0000000000..2ff7ccc8ea --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DetachComputeHostGroupHostDetails Specifies the host group id +type DetachComputeHostGroupHostDetails struct { + + // 'The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group.' + ComputeHostGroupId *string `mandatory:"true" json:"computeHostGroupId"` +} + +func (m DetachComputeHostGroupHostDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m DetachComputeHostGroupHostDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_request_response.go new file mode 100644 index 0000000000..fba36c4cb0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_compute_host_group_host_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DetachComputeHostGroupHostRequest wrapper for the DetachComputeHostGroupHost operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachComputeHostGroupHost.go.html to see an example of how to use DetachComputeHostGroupHostRequest. +type DetachComputeHostGroupHostRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + DetachComputeHostGroupHostDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DetachComputeHostGroupHostRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DetachComputeHostGroupHostRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DetachComputeHostGroupHostRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DetachComputeHostGroupHostRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DetachComputeHostGroupHostRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DetachComputeHostGroupHostResponse wrapper for the DetachComputeHostGroupHost operation +type DetachComputeHostGroupHostResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response DetachComputeHostGroupHostResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DetachComputeHostGroupHostResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go index ae5c932caa..655193bc1e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // DetachInstancePoolInstanceDetails An instance that is to be detached from an instance pool. type DetachInstancePoolInstanceDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" json:"instanceId"` // Whether to decrease the size of the instance pool when the instance is detached. If `true`, the @@ -48,7 +48,7 @@ func (m DetachInstancePoolInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go index c6b34f6fcc..9e912d73f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_instance_pool_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstanceRequest. type DetachInstancePoolInstanceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Instance being detached @@ -72,7 +72,7 @@ func (request DetachInstancePoolInstanceRequest) RetryPolicy() *common.RetryPoli func (request DetachInstancePoolInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -87,8 +87,8 @@ type DetachInstancePoolInstanceResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go index 66ade093a1..2cdb08ee80 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m DetachLoadBalancerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go index eb95710780..ac0305b5fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancerRequest. type DetachLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Load balancer being detached @@ -77,7 +77,7 @@ func (request DetachLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request DetachLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go index 18592641c6..2567c5423b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_service_id_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceIdRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceIdRequest. type DetachServiceIdRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // ServiceId of Service to be detached from a service gateway. @@ -70,7 +70,7 @@ func (request DetachServiceIdRequest) RetryPolicy() *common.RetryPolicy { func (request DetachServiceIdRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go index 734e0bb1d1..8e54930ae3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnicRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnicRequest. type DetachVnicRequest struct { // The OCID of the VNIC attachment. @@ -67,7 +67,7 @@ func (request DetachVnicRequest) RetryPolicy() *common.RetryPolicy { func (request DetachVnicRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go index 14fc9822c2..cc2a415542 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detach_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolumeRequest. type DetachVolumeRequest struct { // The OCID of the volume attachment. @@ -67,7 +67,7 @@ func (request DetachVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request DetachVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go index be4b28e08e..452c556c77 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/detached_volume_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,7 +37,7 @@ func (m DetachedVolumeAutotunePolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/device.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/device.go index 024649a3bc..79cd0a3f59 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/device.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/device.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m Device) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go index 359f089729..e29ce299eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_dns_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // DhcpDnsOption DHCP option for specifying how DNS (hostname resolution) is handled in the subnets in the VCN. // For more information, see -// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). type DhcpDnsOption struct { // If you set `serverType` to `CustomDnsServer`, specify the @@ -41,7 +41,7 @@ type DhcpDnsOption struct { // The Internet and VCN Resolver also enables reverse DNS lookup, which lets // you determine the hostname corresponding to the private IP address. For more // information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // * **CustomDnsServer:** Instances use a DNS server of your choice (three // maximum). ServerType DhcpDnsOptionServerTypeEnum `mandatory:"true" json:"serverType"` @@ -61,7 +61,7 @@ func (m DhcpDnsOption) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go index 439846e472..a150fc025a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,8 +25,8 @@ import ( // DhcpOption A single DHCP option according to RFC 1533 (https://tools.ietf.org/html/rfc1533). // The two options available to use are DhcpDnsOption // and DhcpSearchDomainOption. For more -// information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) -// and DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). +// information, see DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm) +// and DHCP Options (https://docs.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). type DhcpOption interface { } @@ -69,7 +69,7 @@ func (m *dhcpoption) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for DhcpOption: %s.", m.Type) + common.Logf("Received unsupported enum value for DhcpOption: %s.", m.Type) return *m, nil } } @@ -85,7 +85,7 @@ func (m dhcpoption) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go index 966fd43abe..ba7e87656b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,17 +28,17 @@ import ( // handled in the subnets in your VCN. // - DhcpSearchDomainOption: Lets you specify // a search domain name to use for DNS queries. -// For more information, see DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm) -// and DHCP Options (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). +// For more information, see DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm) +// and DHCP Options (https://docs.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type DhcpOptions struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the set of DHCP options. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the set of DHCP options. + // Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) for the set of DHCP options. Id *string `mandatory:"true" json:"id"` // The current state of the set of DHCP options. @@ -51,11 +51,11 @@ type DhcpOptions struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -64,7 +64,7 @@ type DhcpOptions struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -89,7 +89,7 @@ func (m DhcpOptions) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DomainNameType: %s. Supported values are: %s.", m.DomainNameType, strings.Join(GetDhcpOptionsDomainNameTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go index ed98b9a71e..c11ef9896e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_search_domain_option.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( ) // DhcpSearchDomainOption DHCP option for specifying a search domain name for DNS queries. For more information, see -// DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). +// DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). type DhcpSearchDomainOption struct { // A single search domain name according to RFC 952 (https://tools.ietf.org/html/rfc952) @@ -51,7 +51,7 @@ func (m DhcpSearchDomainOption) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go index 224bfc99c7..929d3f6baa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dpd_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m DpdConfig) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DpdMode: %s. Supported values are: %s.", m.DpdMode, strings.Join(GetDpdConfigDpdModeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg.go index 47fbc152bf..90aef5e1cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,25 +23,25 @@ import ( // Drg A dynamic routing gateway (DRG) is a virtual router that provides a path for private // network traffic between networks. You use it with other Networking -// Service components to create a connection to your on-premises network using Site-to-Site VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm) or a connection that uses -// FastConnect (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For more information, see -// Networking Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// Service components to create a connection to your on-premises network using Site-to-Site VPN (https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPsec.htm) or a connection that uses +// FastConnect (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). For more information, see +// Networking Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Drg struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The DRG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The DRG's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The DRG's current state. LifecycleState DrgLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -50,7 +50,7 @@ type Drg struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -60,7 +60,7 @@ type Drg struct { DefaultDrgRouteTables *DefaultDrgRouteTables `mandatory:"false" json:"defaultDrgRouteTables"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DRG's default export route distribution for the DRG attachments. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this DRG's default export route distribution for the DRG attachments. DefaultExportDrgRouteDistributionId *string `mandatory:"false" json:"defaultExportDrgRouteDistributionId"` } @@ -78,7 +78,7 @@ func (m Drg) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go index 8e9813e989..278292c75e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,16 +24,16 @@ import ( // DrgAttachment A DRG attachment serves as a link between a DRG and a network resource. A DRG can be attached to a VCN, // IPSec tunnel, remote peering connection, or virtual circuit. -// For more information, see Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// For more information, see Overview of the Networking Service (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm). type DrgAttachment struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the DRG attachment. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` - // The DRG attachment's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The DRG attachment's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The DRG attachment's current state. @@ -47,34 +47,34 @@ type DrgAttachment struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. // The DRG route table manages traffic inside the DRG. DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"` NetworkDetails DrgAttachmentNetworkDetails `mandatory:"false" json:"networkDetails"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) - // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. + // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) + // * Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. RouteTableId *string `mandatory:"false" json:"routeTableId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. - // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // This field is deprecated. Instead, use the `networkDetails` field to view the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. VcnId *string `mandatory:"false" json:"vcnId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table // are advertised to the attachment. // If this value is null, no routes are advertised through this attachment. ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"` @@ -98,7 +98,7 @@ func (m DrgAttachment) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go index b9b329d7f0..cc4efa8492 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_id_drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // DrgAttachmentIdDrgRouteDistributionMatchCriteria The criteria by which a specific attachment will import routes to the DRG. type DrgAttachmentIdDrgRouteDistributionMatchCriteria struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. DrgAttachmentId *string `mandatory:"true" json:"drgAttachmentId"` } @@ -40,7 +40,7 @@ func (m DrgAttachmentIdDrgRouteDistributionMatchCriteria) ValidateEnumValue() (b errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go index 3f0a5592bd..c084ef2d5a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,7 +21,7 @@ import ( "strings" ) -// DrgAttachmentInfo The `DrgAttachmentInfo` resource contains the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. +// DrgAttachmentInfo The `DrgAttachmentInfo` resource contains the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. type DrgAttachmentInfo struct { // The Oracle-assigned ID of the DRG attachment @@ -39,7 +39,7 @@ func (m DrgAttachmentInfo) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go index c76abc584e..f76f98cc22 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_match_all_drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,7 +37,7 @@ func (m DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria) ValidateEnumValu errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go index 8b40ab3964..d14493d0d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // DrgAttachmentNetworkCreateDetails The representation of DrgAttachmentNetworkCreateDetails type DrgAttachmentNetworkCreateDetails interface { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. GetId() *string } @@ -66,7 +66,7 @@ func (m *drgattachmentnetworkcreatedetails) UnmarshalPolymorphicJSON(data []byte err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for DrgAttachmentNetworkCreateDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for DrgAttachmentNetworkCreateDetails: %s.", m.Type) return *m, nil } } @@ -87,7 +87,7 @@ func (m drgattachmentnetworkcreatedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go index 06a1720808..2d2490e0f6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // DrgAttachmentNetworkDetails The representation of DrgAttachmentNetworkDetails type DrgAttachmentNetworkDetails interface { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. GetId() *string } @@ -82,7 +82,7 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for DrgAttachmentNetworkDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for DrgAttachmentNetworkDetails: %s.", m.Type) return *m, nil } } @@ -103,7 +103,7 @@ func (m drgattachmentnetworkdetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go index e047254b05..6cd5ab2aff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_update_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -61,7 +61,7 @@ func (m *drgattachmentnetworkupdatedetails) UnmarshalPolymorphicJSON(data []byte err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for DrgAttachmentNetworkUpdateDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for DrgAttachmentNetworkUpdateDetails: %s.", m.Type) return *m, nil } } @@ -77,7 +77,7 @@ func (m drgattachmentnetworkupdatedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go index 2e86f835a4..602feb6edf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_type_drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m DrgAttachmentTypeDrgRouteDistributionMatchCriteria) ValidateEnumValue() } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer.go new file mode 100644 index 0000000000..49e2f17bfa --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer.go @@ -0,0 +1,54 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DrgCustomer The list of IPSEC / FC / RPC info for a given DRG +type DrgCustomer struct { + + // OCID of the DRG + DrgId *string `mandatory:"true" json:"drgId"` + + // A List of the RPC connections on this DRG + RemotePeeringConnections []DrgCustomerResource `mandatory:"false" json:"remotePeeringConnections"` + + // A List of the VCs on this DRG + VirtualCircuits []DrgCustomerResource `mandatory:"false" json:"virtualCircuits"` + + // A List of the IPSec connections on this DRG + IpsecConnections []DrgCustomerResource `mandatory:"false" json:"ipsecConnections"` +} + +func (m DrgCustomer) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m DrgCustomer) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer_resource.go new file mode 100644 index 0000000000..cf96acba1c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_customer_resource.go @@ -0,0 +1,54 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DrgCustomerResource The IPSEC / FC / RPC info returned in DrgCustomerResponse +type DrgCustomerResource struct { + + // OCID of the IPSEC / FC / RPC + Id *string `mandatory:"false" json:"id"` + + // The friendly name of the node. + DisplayName *string `mandatory:"false" json:"displayName"` + + // the compartment id of the DRG + CompartmentId *string `mandatory:"false" json:"compartmentId"` + + // the lifeCycleState of the IPSEC / FC / RPC + State *string `mandatory:"false" json:"state"` +} + +func (m DrgCustomerResource) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m DrgCustomerResource) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_promotion_status_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_promotion_status_response.go new file mode 100644 index 0000000000..50dc0382cd --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_promotion_status_response.go @@ -0,0 +1,110 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DrgPromotionStatusResponse The promotion/unpromotion status of a DRG +type DrgPromotionStatusResponse struct { + + // OCID of the DRG + DrgId *string `mandatory:"true" json:"drgId"` + + // The promotion status of the DRG + DrgPromotionStatus DrgPromotionStatusResponseDrgPromotionStatusEnum `mandatory:"false" json:"drgPromotionStatus,omitempty"` + + // A map of the promotion status of each RPC connection on this DRG {conn_id -> promo_status} + RpcPromotionStatus map[string]string `mandatory:"false" json:"rpcPromotionStatus"` + + // A map of the promotion status of each VC on this DRG {conn_id -> promo_status} + VcPromotionStatus map[string]string `mandatory:"false" json:"vcPromotionStatus"` + + // A map of the promotion status of each IPSec connection on this DRG {conn_id -> promo_status} + IpsecPromotionStatus map[string]string `mandatory:"false" json:"ipsecPromotionStatus"` +} + +func (m DrgPromotionStatusResponse) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m DrgPromotionStatusResponse) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingDrgPromotionStatusResponseDrgPromotionStatusEnum(string(m.DrgPromotionStatus)); !ok && m.DrgPromotionStatus != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DrgPromotionStatus: %s. Supported values are: %s.", m.DrgPromotionStatus, strings.Join(GetDrgPromotionStatusResponseDrgPromotionStatusEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DrgPromotionStatusResponseDrgPromotionStatusEnum Enum with underlying type: string +type DrgPromotionStatusResponseDrgPromotionStatusEnum string + +// Set of constants representing the allowable values for DrgPromotionStatusResponseDrgPromotionStatusEnum +const ( + DrgPromotionStatusResponseDrgPromotionStatusUnpromoted DrgPromotionStatusResponseDrgPromotionStatusEnum = "UNPROMOTED" + DrgPromotionStatusResponseDrgPromotionStatusPromoting DrgPromotionStatusResponseDrgPromotionStatusEnum = "PROMOTING" + DrgPromotionStatusResponseDrgPromotionStatusPromoted DrgPromotionStatusResponseDrgPromotionStatusEnum = "PROMOTED" + DrgPromotionStatusResponseDrgPromotionStatusUnpromoting DrgPromotionStatusResponseDrgPromotionStatusEnum = "UNPROMOTING" +) + +var mappingDrgPromotionStatusResponseDrgPromotionStatusEnum = map[string]DrgPromotionStatusResponseDrgPromotionStatusEnum{ + "UNPROMOTED": DrgPromotionStatusResponseDrgPromotionStatusUnpromoted, + "PROMOTING": DrgPromotionStatusResponseDrgPromotionStatusPromoting, + "PROMOTED": DrgPromotionStatusResponseDrgPromotionStatusPromoted, + "UNPROMOTING": DrgPromotionStatusResponseDrgPromotionStatusUnpromoting, +} + +var mappingDrgPromotionStatusResponseDrgPromotionStatusEnumLowerCase = map[string]DrgPromotionStatusResponseDrgPromotionStatusEnum{ + "unpromoted": DrgPromotionStatusResponseDrgPromotionStatusUnpromoted, + "promoting": DrgPromotionStatusResponseDrgPromotionStatusPromoting, + "promoted": DrgPromotionStatusResponseDrgPromotionStatusPromoted, + "unpromoting": DrgPromotionStatusResponseDrgPromotionStatusUnpromoting, +} + +// GetDrgPromotionStatusResponseDrgPromotionStatusEnumValues Enumerates the set of values for DrgPromotionStatusResponseDrgPromotionStatusEnum +func GetDrgPromotionStatusResponseDrgPromotionStatusEnumValues() []DrgPromotionStatusResponseDrgPromotionStatusEnum { + values := make([]DrgPromotionStatusResponseDrgPromotionStatusEnum, 0) + for _, v := range mappingDrgPromotionStatusResponseDrgPromotionStatusEnum { + values = append(values, v) + } + return values +} + +// GetDrgPromotionStatusResponseDrgPromotionStatusEnumStringValues Enumerates the set of values in String for DrgPromotionStatusResponseDrgPromotionStatusEnum +func GetDrgPromotionStatusResponseDrgPromotionStatusEnumStringValues() []string { + return []string{ + "UNPROMOTED", + "PROMOTING", + "PROMOTED", + "UNPROMOTING", + } +} + +// GetMappingDrgPromotionStatusResponseDrgPromotionStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingDrgPromotionStatusResponseDrgPromotionStatusEnum(val string) (DrgPromotionStatusResponseDrgPromotionStatusEnum, bool) { + enum, ok := mappingDrgPromotionStatusResponseDrgPromotionStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go index 9ae54aac88..d99b17a326 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_redundancy_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,10 +22,10 @@ import ( ) // DrgRedundancyStatus The redundancy status of the DRG. For more information, see -// Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). +// Redundancy Remedies (https://docs.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). type DrgRedundancyStatus struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. Id *string `mandatory:"false" json:"id"` // The redundancy status of the DRG. @@ -46,7 +46,7 @@ func (m DrgRedundancyStatus) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetDrgRedundancyStatusStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go index ff11d9befe..994ab812e3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,16 +22,15 @@ import ( ) // DrgRouteDistribution A route distribution establishes how routes get imported into DRG route tables and exported through the DRG attachments. -// A route distribution is a list of statements. Each statement consists of a set of matches, all of which must be `True` in order for -// the statement's action to take place. Each statement determines which routes are propagated. +// A route distribution is a list of statements. Each statement consists of a set of matches, all of which must be `True` for the statement's action to take place. Each statement determines which routes are propagated. // You can assign a route distribution as a route table's import distribution. The statements in an import // route distribution specify how how incoming route advertisements through a referenced attachment or all attachments of a certain type are inserted into the route table. // You can assign a route distribution as a DRG attachment's export distribution unless the -// attachment has the type VCN. Exporting routes through a VCN attachment is unsupported. Export +// attachment has the type `VCN`. Exporting routes through a VCN attachment is unsupported. Export // route distribution statements specify how routes in a DRG attachment's assigned table are // advertised out through the attachment. When a DRG is created, a route distribution is created // with a single ACCEPT statement with match criteria MATCH_ALL. By default, all DRG attachments -// (except for those of type VCN), are assigned this distribution. +// (except for those of type VCN), are assigned this distribution. You can't create a new export route distribution, one is created for you when the DRG is created. // // The two auto-generated DRG route tables (one as the default for VCN attachments, and the other for all other types of attachments) // are each assigned an auto generated import route distribution. The default VCN table's import distribution has a single statement with match criteria MATCH_ALL to import routes from @@ -39,13 +38,13 @@ import ( // The route distribution is always in the same compartment as the DRG. type DrgRouteDistribution struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that contains this route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that contains this route distribution. DrgId *string `mandatory:"true" json:"drgId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route distribution. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The route distribution's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The route distribution's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The route distribution's current state. @@ -59,7 +58,7 @@ type DrgRouteDistribution struct { DistributionType DrgRouteDistributionDistributionTypeEnum `mandatory:"true" json:"distributionType"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -68,7 +67,7 @@ type DrgRouteDistribution struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -90,7 +89,7 @@ func (m DrgRouteDistribution) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go index a39e6dde0f..d6a5d6b422 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_match_criteria.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -70,7 +70,7 @@ func (m *drgroutedistributionmatchcriteria) UnmarshalPolymorphicJSON(data []byte err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for DrgRouteDistributionMatchCriteria: %s.", m.MatchType) + common.Logf("Received unsupported enum value for DrgRouteDistributionMatchCriteria: %s.", m.MatchType) return *m, nil } } @@ -86,7 +86,7 @@ func (m drgroutedistributionmatchcriteria) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go index f4a98edac6..da2f8e316f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -59,7 +59,7 @@ func (m DrgRouteDistributionStatement) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go index d2aa020fc1..32ccb084d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ type DrgRouteRule struct { // particular `Service` through a service gateway). DestinationType DrgRouteRuleDestinationTypeEnum `mandatory:"true" json:"destinationType"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment responsible + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment responsible // for reaching the network destination. // A value of `BLACKHOLE` means traffic for this route is discarded without notification. NextHopDrgAttachmentId *string `mandatory:"true" json:"nextHopDrgAttachmentId"` @@ -91,7 +91,7 @@ func (m DrgRouteRule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", m.RouteType, strings.Join(GetDrgRouteRuleRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go index cc93979260..49aa18bf1b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_table.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -32,15 +32,15 @@ import ( // DRG route table for each attachment type. type DrgRouteTable struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the // DRG route table. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DRG is in. The DRG route table + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the DRG is in. The DRG route table // is always in the same compartment as the DRG. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the DRG that contains this route table. DrgId *string `mandatory:"true" json:"drgId"` // The date and time the DRG route table was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -56,7 +56,7 @@ type DrgRouteTable struct { IsEcmpEnabled *bool `mandatory:"true" json:"isEcmpEnabled"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -65,11 +65,11 @@ type DrgRouteTable struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements from + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements from // referenced attachments are inserted into the DRG route table. ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"` } @@ -88,7 +88,7 @@ func (m DrgRouteTable) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go index 25af8894ed..e61247bd3f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/egress_security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -29,7 +29,7 @@ type EgressSecurityRule struct { // Allowed values: // * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // Note that IPv6 addressing is currently supported only in certain regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security list rule for traffic destined for a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. @@ -80,7 +80,7 @@ func (m EgressSecurityRule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetEgressSecurityRuleDestinationTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go index 69c9b62cc0..31e817ed8b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/emulated_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -171,7 +171,7 @@ func (m EmulatedVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go index 8a27bd782f..5b4803811f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_domain_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m EncryptionDomainConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go index 0dc0eb2545..0e7e27ae09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/encryption_in_transit_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go index a1626f2f2b..a09b56d37d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_integer_image_capability_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m EnumIntegerImageCapabilityDescriptor) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go index 8bdc4cc68b..e96e73acec 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/enum_string_image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m EnumStringImageCapabilitySchemaDescriptor) ValidateEnumValue() (bool, er errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Source: %s. Supported values are: %s.", m.Source, strings.Join(GetImageCapabilitySchemaDescriptorSourceEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go index 2859d64d29..d4a3e2a6d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -83,7 +83,7 @@ func (m *exportimagedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for ExportImageDetails: %s.", m.DestinationType) + common.Logf("Received unsupported enum value for ExportImageDetails: %s.", m.DestinationType) return *m, nil } } @@ -107,7 +107,7 @@ func (m exportimagedetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExportFormat: %s. Supported values are: %s.", m.ExportFormat, strings.Join(GetExportImageDetailsExportFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go index 3f144a5d2f..747923b519 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImageRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImageRequest. type ExportImageRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Details for the image export. @@ -77,7 +77,7 @@ func (request ExportImageRequest) RetryPolicy() *common.RetryPolicy { func (request ExportImageRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -98,8 +98,8 @@ type ExportImageResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go index 6d7b068ddb..c7a53ddbb3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_tuple_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -64,7 +64,7 @@ func (m ExportImageViaObjectStorageTupleDetails) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExportFormat: %s. Supported values are: %s.", m.ExportFormat, strings.Join(GetExportImageDetailsExportFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go index 3c0b538450..24196ac86c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_via_object_storage_uri_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,8 +26,8 @@ import ( type ExportImageViaObjectStorageUriDetails struct { // The Object Storage URL to export the image to. See Object - // Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) - // and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) + // Storage URLs (https://docs.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) + // and Using Pre-Authenticated Requests (https://docs.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) // for constructing URLs for image import/export. DestinationUri *string `mandatory:"true" json:"destinationUri"` @@ -61,7 +61,7 @@ func (m ExportImageViaObjectStorageUriDetails) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExportFormat: %s. Supported values are: %s.", m.ExportFormat, strings.Join(GetExportImageDetailsExportFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go index 821072cd2b..a10805ec20 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,10 +22,10 @@ import ( ) // FastConnectProviderService A service offering from a supported provider. For more information, -// see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). type FastConnectProviderService struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider. Id *string `mandatory:"true" json:"id"` // Who is responsible for managing the private peering BGP information. @@ -101,7 +101,7 @@ func (m FastConnectProviderService) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go index 6d3d6df032..468a53dbf7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/fast_connect_provider_service_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -52,7 +52,7 @@ func (m FastConnectProviderServiceKey) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle.go new file mode 100644 index 0000000000..5173a76e54 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle.go @@ -0,0 +1,119 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FirmwareBundle A collection of pinned component firmware versions organized by platform. +type FirmwareBundle struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this firmware bundle. + Id *string `mandatory:"true" json:"id"` + + // The user-friendly name of this firmware bundle. + DisplayName *string `mandatory:"true" json:"displayName"` + + // A brief description or metadata about this firmware bundle. + Description *string `mandatory:"true" json:"description"` + + // A map of platforms to pinned firmware versions. + Platforms []PlatformVersions `mandatory:"true" json:"platforms"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this firmware bundle. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The date and time the firmware bundle was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the firmware bundle was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The current state of the firmware bundle. + LifecycleState FirmwareBundleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + AllowableTransitions *FirmwareBundleTransitions `mandatory:"false" json:"allowableTransitions"` +} + +func (m FirmwareBundle) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FirmwareBundle) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingFirmwareBundleLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetFirmwareBundleLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// FirmwareBundleLifecycleStateEnum Enum with underlying type: string +type FirmwareBundleLifecycleStateEnum string + +// Set of constants representing the allowable values for FirmwareBundleLifecycleStateEnum +const ( + FirmwareBundleLifecycleStateActive FirmwareBundleLifecycleStateEnum = "ACTIVE" + FirmwareBundleLifecycleStateInactive FirmwareBundleLifecycleStateEnum = "INACTIVE" + FirmwareBundleLifecycleStateDeleteScheduled FirmwareBundleLifecycleStateEnum = "DELETE_SCHEDULED" +) + +var mappingFirmwareBundleLifecycleStateEnum = map[string]FirmwareBundleLifecycleStateEnum{ + "ACTIVE": FirmwareBundleLifecycleStateActive, + "INACTIVE": FirmwareBundleLifecycleStateInactive, + "DELETE_SCHEDULED": FirmwareBundleLifecycleStateDeleteScheduled, +} + +var mappingFirmwareBundleLifecycleStateEnumLowerCase = map[string]FirmwareBundleLifecycleStateEnum{ + "active": FirmwareBundleLifecycleStateActive, + "inactive": FirmwareBundleLifecycleStateInactive, + "delete_scheduled": FirmwareBundleLifecycleStateDeleteScheduled, +} + +// GetFirmwareBundleLifecycleStateEnumValues Enumerates the set of values for FirmwareBundleLifecycleStateEnum +func GetFirmwareBundleLifecycleStateEnumValues() []FirmwareBundleLifecycleStateEnum { + values := make([]FirmwareBundleLifecycleStateEnum, 0) + for _, v := range mappingFirmwareBundleLifecycleStateEnum { + values = append(values, v) + } + return values +} + +// GetFirmwareBundleLifecycleStateEnumStringValues Enumerates the set of values in String for FirmwareBundleLifecycleStateEnum +func GetFirmwareBundleLifecycleStateEnumStringValues() []string { + return []string{ + "ACTIVE", + "INACTIVE", + "DELETE_SCHEDULED", + } +} + +// GetMappingFirmwareBundleLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFirmwareBundleLifecycleStateEnum(val string) (FirmwareBundleLifecycleStateEnum, bool) { + enum, ok := mappingFirmwareBundleLifecycleStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_summary.go new file mode 100644 index 0000000000..088ab4c587 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_summary.go @@ -0,0 +1,73 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FirmwareBundleSummary Summary of a firmware bundle, returned in list operations. +type FirmwareBundleSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this firmware bundle. + Id *string `mandatory:"true" json:"id"` + + // The user-friendly name of this firmware bundle. + DisplayName *string `mandatory:"true" json:"displayName"` + + // A map of platforms to pinned firmware versions. + Platforms []PlatformVersions `mandatory:"true" json:"platforms"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment of this firmware bundle. + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // The date and time the firmware bundle was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the firmware bundle was updated, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The current state of the firmware bundle. + LifecycleState FirmwareBundleLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` + + // A brief description or metadata about this firmware bundle. + Description *string `mandatory:"false" json:"description"` + + AllowableTransitions *FirmwareBundleTransitions `mandatory:"false" json:"allowableTransitions"` +} + +func (m FirmwareBundleSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FirmwareBundleSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingFirmwareBundleLifecycleStateEnum(string(m.LifecycleState)); !ok && m.LifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetFirmwareBundleLifecycleStateEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_transitions.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_transitions.go new file mode 100644 index 0000000000..ebe5172226 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundle_transitions.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FirmwareBundleTransitions A map of firmware bundle upgrades/downgrades validated by OCI. +type FirmwareBundleTransitions struct { + + // An array of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of validated firmware bundle upgrades. + Upgrades []string `mandatory:"false" json:"upgrades"` + + // An array of OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of validated firmware bundle downgrades. + Downgrades []string `mandatory:"false" json:"downgrades"` +} + +func (m FirmwareBundleTransitions) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FirmwareBundleTransitions) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundles_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundles_collection.go new file mode 100644 index 0000000000..acc03f78b3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/firmware_bundles_collection.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// FirmwareBundlesCollection Results of a firmwareBundles search. Contains FirmwareBundleSummary items. +type FirmwareBundlesCollection struct { + + // List of firmwareBundleSummary objects. + Items []FirmwareBundleSummary `mandatory:"true" json:"items"` +} + +func (m FirmwareBundlesCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m FirmwareBundlesCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/flow_log_capture_filter_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/flow_log_capture_filter_rule_details.go index 07a6f45e20..86cdbcbd94 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/flow_log_capture_filter_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/flow_log_capture_filter_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -73,7 +73,7 @@ func (m FlowLogCaptureFilterRuleDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RuleAction: %s. Supported values are: %s.", m.RuleAction, strings.Join(GetFlowLogCaptureFilterRuleDetailsRuleActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go index 10dfd18b93..f3a85346c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -105,7 +105,7 @@ func (m GenericBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -133,6 +133,7 @@ const ( GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +141,7 @@ var mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[str "NPS1": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -147,6 +149,7 @@ var mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase "nps1": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -165,6 +168,7 @@ func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues( "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go index d24d6fba89..c18b94a5c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -105,7 +105,7 @@ func (m GenericBmPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -133,6 +133,7 @@ const ( GenericBmPlatformConfigNumaNodesPerSocketNps1 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS1" GenericBmPlatformConfigNumaNodesPerSocketNps2 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS2" GenericBmPlatformConfigNumaNodesPerSocketNps4 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS4" + GenericBmPlatformConfigNumaNodesPerSocketNps6 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingGenericBmPlatformConfigNumaNodesPerSocketEnum = map[string]GenericBmPlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +141,7 @@ var mappingGenericBmPlatformConfigNumaNodesPerSocketEnum = map[string]GenericBmP "NPS1": GenericBmPlatformConfigNumaNodesPerSocketNps1, "NPS2": GenericBmPlatformConfigNumaNodesPerSocketNps2, "NPS4": GenericBmPlatformConfigNumaNodesPerSocketNps4, + "NPS6": GenericBmPlatformConfigNumaNodesPerSocketNps6, } var mappingGenericBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]GenericBmPlatformConfigNumaNodesPerSocketEnum{ @@ -147,6 +149,7 @@ var mappingGenericBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]G "nps1": GenericBmPlatformConfigNumaNodesPerSocketNps1, "nps2": GenericBmPlatformConfigNumaNodesPerSocketNps2, "nps4": GenericBmPlatformConfigNumaNodesPerSocketNps4, + "nps6": GenericBmPlatformConfigNumaNodesPerSocketNps6, } // GetGenericBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for GenericBmPlatformConfigNumaNodesPerSocketEnum @@ -165,6 +168,7 @@ func GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string { "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go index 9879d51d84..842103e8a9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_all_drg_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachmentsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachmentsRequest. type GetAllDrgAttachmentsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. @@ -27,13 +27,13 @@ type GetAllDrgAttachmentsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The type for the network resource attached to the DRG. @@ -82,7 +82,7 @@ func (request GetAllDrgAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AttachmentType: %s. Supported values are: %s.", request.AttachmentType, strings.Join(GetGetAllDrgAttachmentsAttachmentTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -98,7 +98,7 @@ type GetAllDrgAttachmentsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go index 9967f9aa82..801b943c98 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_allowed_ike_i_p_sec_parameters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParametersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllowedIkeIPSecParameters.go.html to see an example of how to use GetAllowedIkeIPSecParametersRequest. type GetAllowedIkeIPSecParametersRequest struct { // Unique identifier for the request. @@ -59,7 +59,7 @@ func (request GetAllowedIkeIPSecParametersRequest) RetryPolicy() *common.RetryPo func (request GetAllowedIkeIPSecParametersRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go index 95dd4a69e7..81cae94966 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_agreements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreementsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreementsRequest. type GetAppCatalogListingAgreementsRequest struct { // The OCID of the listing. @@ -65,7 +65,7 @@ func (request GetAppCatalogListingAgreementsRequest) RetryPolicy() *common.Retry func (request GetAppCatalogListingAgreementsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go index c6719b31a9..1f3d680492 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListingRequest. type GetAppCatalogListingRequest struct { // The OCID of the listing. @@ -62,7 +62,7 @@ func (request GetAppCatalogListingRequest) RetryPolicy() *common.RetryPolicy { func (request GetAppCatalogListingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go index bc361a2657..6e6c1cbc2b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_app_catalog_listing_resource_version_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersionRequest. type GetAppCatalogListingResourceVersionRequest struct { // The OCID of the listing. @@ -65,7 +65,7 @@ func (request GetAppCatalogListingResourceVersionRequest) RetryPolicy() *common. func (request GetAppCatalogListingResourceVersionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go index aa8a23f77f..2fdbca7202 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_block_volume_replica_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplicaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplicaRequest. type GetBlockVolumeReplicaRequest struct { // The OCID of the block volume replica. @@ -62,7 +62,7 @@ func (request GetBlockVolumeReplicaRequest) RetryPolicy() *common.RetryPolicy { func (request GetBlockVolumeReplicaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go index e592969d20..04a1e5cc37 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachmentRequest. type GetBootVolumeAttachmentRequest struct { // The OCID of the boot volume attachment. @@ -62,7 +62,7 @@ func (request GetBootVolumeAttachmentRequest) RetryPolicy() *common.RetryPolicy func (request GetBootVolumeAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go index e32e56293c..15a394b53b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackupRequest. type GetBootVolumeBackupRequest struct { // The OCID of the boot volume backup. @@ -62,7 +62,7 @@ func (request GetBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request GetBootVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go index 8d1c70d1ba..6358054c04 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKeyRequest. type GetBootVolumeKmsKeyRequest struct { // The OCID of the boot volume. @@ -67,7 +67,7 @@ func (request GetBootVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy { func (request GetBootVolumeKmsKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go index 343c085566..d453d99486 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_replica_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplicaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplicaRequest. type GetBootVolumeReplicaRequest struct { // The OCID of the boot volume replica. @@ -62,7 +62,7 @@ func (request GetBootVolumeReplicaRequest) RetryPolicy() *common.RetryPolicy { func (request GetBootVolumeReplicaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go index a4a3c56279..83f74d7448 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolumeRequest. type GetBootVolumeRequest struct { // The OCID of the boot volume. @@ -62,7 +62,7 @@ func (request GetBootVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request GetBootVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoasn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoasn_request_response.go new file mode 100644 index 0000000000..03a2777a87 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoasn_request_response.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetByoasnRequest wrapper for the GetByoasn operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoasn.go.html to see an example of how to use GetByoasnRequest. +type GetByoasnRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + ByoasnId *string `mandatory:"true" contributesTo:"path" name:"byoasnId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetByoasnRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetByoasnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetByoasnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetByoasnRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetByoasnRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetByoasnResponse wrapper for the GetByoasn operation +type GetByoasnResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Byoasn instance + Byoasn `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetByoasnResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetByoasnResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go index 8e4cc83ec4..4d096df313 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRangeRequest. type GetByoipRangeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request GetByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go index 759241f06b..8dddae6a69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCaptureFilter.go.html to see an example of how to use GetCaptureFilterRequest. type GetCaptureFilterRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetCaptureFilterRequest) RetryPolicy() *common.RetryPolicy { func (request GetCaptureFilterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go index eca4cad812..e8021623c0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetworkRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetworkRequest. type GetClusterNetworkRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetClusterNetworkRequest) RetryPolicy() *common.RetryPolicy { func (request GetClusterNetworkRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go index d79aed76c1..21b8e81447 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservationRequest. type GetComputeCapacityReservationRequest struct { // The OCID of the compute capacity reservation. @@ -62,7 +62,7 @@ func (request GetComputeCapacityReservationRequest) RetryPolicy() *common.RetryP func (request GetComputeCapacityReservationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_topology_request_response.go index df7dd803c8..ee576be2ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_capacity_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityTopology.go.html to see an example of how to use GetComputeCapacityTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityTopology.go.html to see an example of how to use GetComputeCapacityTopologyRequest. type GetComputeCapacityTopologyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetComputeCapacityTopologyRequest) RetryPolicy() *common.RetryPoli func (request GetComputeCapacityTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go index 0576365e7c..9bba9b5de9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,11 +15,11 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCluster.go.html to see an example of how to use GetComputeClusterRequest. type GetComputeClusterRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. - // A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory // access (RDMA) network group. ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"` @@ -64,7 +64,7 @@ func (request GetComputeClusterRequest) RetryPolicy() *common.RetryPolicy { func (request GetComputeClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go index 8f43cdb41c..67e014df92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaRequest. type GetComputeGlobalImageCapabilitySchemaRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetComputeGlobalImageCapabilitySchemaRequest) RetryPolicy() *commo func (request GetComputeGlobalImageCapabilitySchemaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go index 8b150e9cf1..21e6b067bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_global_image_capability_schema_version_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersionRequest. type GetComputeGlobalImageCapabilitySchemaVersionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaId"` // The name of the compute global image capability schema version @@ -65,7 +65,7 @@ func (request GetComputeGlobalImageCapabilitySchemaVersionRequest) RetryPolicy() func (request GetComputeGlobalImageCapabilitySchemaVersionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_cluster_request_response.go new file mode 100644 index 0000000000..b373065e98 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_cluster_request_response.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetComputeGpuMemoryClusterRequest wrapper for the GetComputeGpuMemoryCluster operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGpuMemoryCluster.go.html to see an example of how to use GetComputeGpuMemoryClusterRequest. +type GetComputeGpuMemoryClusterRequest struct { + + // The OCID of the compute GPU memory cluster. + ComputeGpuMemoryClusterId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryClusterId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetComputeGpuMemoryClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetComputeGpuMemoryClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetComputeGpuMemoryClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetComputeGpuMemoryClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetComputeGpuMemoryClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetComputeGpuMemoryClusterResponse wrapper for the GetComputeGpuMemoryCluster operation +type GetComputeGpuMemoryClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeGpuMemoryCluster instance + ComputeGpuMemoryCluster `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetComputeGpuMemoryClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetComputeGpuMemoryClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_fabric_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_fabric_request_response.go new file mode 100644 index 0000000000..67bd6a8925 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_gpu_memory_fabric_request_response.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetComputeGpuMemoryFabricRequest wrapper for the GetComputeGpuMemoryFabric operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGpuMemoryFabric.go.html to see an example of how to use GetComputeGpuMemoryFabricRequest. +type GetComputeGpuMemoryFabricRequest struct { + + // The OCID of the compute GPU memory fabric. + ComputeGpuMemoryFabricId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryFabricId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetComputeGpuMemoryFabricRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetComputeGpuMemoryFabricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetComputeGpuMemoryFabricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetComputeGpuMemoryFabricRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetComputeGpuMemoryFabricRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetComputeGpuMemoryFabricResponse wrapper for the GetComputeGpuMemoryFabric operation +type GetComputeGpuMemoryFabricResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeGpuMemoryFabric instance + ComputeGpuMemoryFabric `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetComputeGpuMemoryFabricResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetComputeGpuMemoryFabricResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_host_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_host_group_request_response.go new file mode 100644 index 0000000000..7f7ebdfef6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_host_group_request_response.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetComputeHostGroupRequest wrapper for the GetComputeHostGroup operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeHostGroup.go.html to see an example of how to use GetComputeHostGroupRequest. +type GetComputeHostGroupRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + ComputeHostGroupId *string `mandatory:"true" contributesTo:"path" name:"computeHostGroupId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetComputeHostGroupRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetComputeHostGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetComputeHostGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetComputeHostGroupRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetComputeHostGroupRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetComputeHostGroupResponse wrapper for the GetComputeHostGroup operation +type GetComputeHostGroupResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHostGroup instance + ComputeHostGroup `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetComputeHostGroupResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetComputeHostGroupResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_hosts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_hosts_request_response.go new file mode 100644 index 0000000000..bc388c29e0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_hosts_request_response.go @@ -0,0 +1,94 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetComputeHostsRequest wrapper for the GetComputeHosts operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeHosts.go.html to see an example of how to use GetComputeHostsRequest. +type GetComputeHostsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetComputeHostsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetComputeHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetComputeHostsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetComputeHostsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetComputeHostsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetComputeHostsResponse wrapper for the GetComputeHosts operation +type GetComputeHostsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHost instance + ComputeHost `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetComputeHostsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetComputeHostsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go index b6a1d50538..b7bd661d00 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchemaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchemaRequest. type GetComputeImageCapabilitySchemaRequest struct { // The id of the compute image capability schema or the image ocid @@ -65,7 +65,7 @@ func (request GetComputeImageCapabilitySchemaRequest) RetryPolicy() *common.Retr func (request GetComputeImageCapabilitySchemaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go index a1fd31a8e6..efd1be1a7e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContentRequest. type GetConsoleHistoryContentRequest struct { // The OCID of the console history. @@ -68,7 +68,7 @@ func (request GetConsoleHistoryContentRequest) RetryPolicy() *common.RetryPolicy func (request GetConsoleHistoryContentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go index 88474deebd..870225d3d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistoryRequest. type GetConsoleHistoryRequest struct { // The OCID of the console history. @@ -62,7 +62,7 @@ func (request GetConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy { func (request GetConsoleHistoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go index 817f7b726e..1a9b24abed 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_config_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,10 +16,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContentRequest. type GetCpeDeviceConfigContentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Unique identifier for the request. @@ -63,7 +63,7 @@ func (request GetCpeDeviceConfigContentRequest) RetryPolicy() *common.RetryPolic func (request GetCpeDeviceConfigContentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go index 0a20ccb2ef..e42abf5496 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_device_shape_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShapeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShapeRequest. type GetCpeDeviceShapeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. CpeDeviceShapeId *string `mandatory:"true" contributesTo:"path" name:"cpeDeviceShapeId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetCpeDeviceShapeRequest) RetryPolicy() *common.RetryPolicy { func (request GetCpeDeviceShapeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go index be311dfa5b..dbb5520e8d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpeRequest. type GetCpeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetCpeRequest) RetryPolicy() *common.RetryPolicy { func (request GetCpeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go index d80e3ade30..0fe7934b98 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroupRequest. type GetCrossConnectGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy { func (request GetCrossConnectGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go index 6c4522f847..f641813d68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_letter_of_authority_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthorityRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthorityRequest. type GetCrossConnectLetterOfAuthorityRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetCrossConnectLetterOfAuthorityRequest) RetryPolicy() *common.Ret func (request GetCrossConnectLetterOfAuthorityRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go index 97ee3f7bc2..10e5d2584e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnectRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnectRequest. type GetCrossConnectRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetCrossConnectRequest) RetryPolicy() *common.RetryPolicy { func (request GetCrossConnectRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go index 7c66b35d5a..c82ebc26cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_cross_connect_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatusRequest. type GetCrossConnectStatusRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetCrossConnectStatusRequest) RetryPolicy() *common.RetryPolicy { func (request GetCrossConnectStatusRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go index a2ae6a292e..74fef2325e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHostRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHostRequest. type GetDedicatedVmHostRequest struct { // The OCID of the dedicated VM host. @@ -62,7 +62,7 @@ func (request GetDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy { func (request GetDedicatedVmHostRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go index 060e7a91f7..a10428b8fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptionsRequest. type GetDhcpOptionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy { func (request GetDhcpOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go index 26cad52544..f6fb4f002e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachmentRequest. type GetDrgAttachmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request GetDrgAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go index eb49490486..eed18d3fc2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_redundancy_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatusRequest. type GetDrgRedundancyStatusRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetDrgRedundancyStatusRequest) RetryPolicy() *common.RetryPolicy { func (request GetDrgRedundancyStatusRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go index 3d8bfc595a..551be425d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrgRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrgRequest. type GetDrgRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetDrgRequest) RetryPolicy() *common.RetryPolicy { func (request GetDrgRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go index 817c4a1d5f..5ef47afdae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistributionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistributionRequest. type GetDrgRouteDistributionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetDrgRouteDistributionRequest) RetryPolicy() *common.RetryPolicy func (request GetDrgRouteDistributionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go index fe8d6793df..63a6161cc1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTableRequest. type GetDrgRouteTableRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request GetDrgRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go index d8d21d99ea..634ffa1be4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKeyRequest. type GetFastConnectProviderServiceKeyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"` // The provider service key that the provider gives you when you set up a virtual circuit connection @@ -68,7 +68,7 @@ func (request GetFastConnectProviderServiceKeyRequest) RetryPolicy() *common.Ret func (request GetFastConnectProviderServiceKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go index cb8abd7b4c..d473636099 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_fast_connect_provider_service_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderServiceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderServiceRequest. type GetFastConnectProviderServiceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetFastConnectProviderServiceRequest) RetryPolicy() *common.RetryP func (request GetFastConnectProviderServiceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_firmware_bundle_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_firmware_bundle_request_response.go new file mode 100644 index 0000000000..c85f45c4d0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_firmware_bundle_request_response.go @@ -0,0 +1,91 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetFirmwareBundleRequest wrapper for the GetFirmwareBundle operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFirmwareBundle.go.html to see an example of how to use GetFirmwareBundleRequest. +type GetFirmwareBundleRequest struct { + + // Unique identifier for the firmware bundle. + FirmwareBundleId *string `mandatory:"true" contributesTo:"path" name:"firmwareBundleId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetFirmwareBundleRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetFirmwareBundleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetFirmwareBundleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetFirmwareBundleRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetFirmwareBundleRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetFirmwareBundleResponse wrapper for the GetFirmwareBundle operation +type GetFirmwareBundleResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The FirmwareBundle instance + FirmwareBundle `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetFirmwareBundleResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetFirmwareBundleResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go index ce2a122fa3..fe618c4716 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfigRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfigRequest. type GetIPSecConnectionDeviceConfigRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetIPSecConnectionDeviceConfigRequest) RetryPolicy() *common.Retry func (request GetIPSecConnectionDeviceConfigRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go index 692a43f479..467e5029cf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_device_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatusRequest. type GetIPSecConnectionDeviceStatusRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetIPSecConnectionDeviceStatusRequest) RetryPolicy() *common.Retry func (request GetIPSecConnectionDeviceStatusRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go index 4277653ee3..4154677027 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnectionRequest. type GetIPSecConnectionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy { func (request GetIPSecConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go index 735a6a1d82..fbc3806bb2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_error_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelErrorRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelError.go.html to see an example of how to use GetIPSecConnectionTunnelErrorRequest. type GetIPSecConnectionTunnelErrorRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique Oracle-assigned identifier for the request. @@ -65,7 +65,7 @@ func (request GetIPSecConnectionTunnelErrorRequest) RetryPolicy() *common.RetryP func (request GetIPSecConnectionTunnelErrorRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go index ac82ac0978..c040577042 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnelRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnelRequest. type GetIPSecConnectionTunnelRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique Oracle-assigned identifier for the request. @@ -65,7 +65,7 @@ func (request GetIPSecConnectionTunnelRequest) RetryPolicy() *common.RetryPolicy func (request GetIPSecConnectionTunnelRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go index 6f8aa50513..1cead5ed19 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecretRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecretRequest. type GetIPSecConnectionTunnelSharedSecretRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique Oracle-assigned identifier for the request. @@ -65,7 +65,7 @@ func (request GetIPSecConnectionTunnelSharedSecretRequest) RetryPolicy() *common func (request GetIPSecConnectionTunnelSharedSecretRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go index 1ca828471b..a2aa962773 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImageRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImageRequest. type GetImageRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetImageRequest) RetryPolicy() *common.RetryPolicy { func (request GetImageRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go index a3397b725a..fd56322aa2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_image_shape_compatibility_entry_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntryRequest. type GetImageShapeCompatibilityEntryRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Shape name. @@ -65,7 +65,7 @@ func (request GetImageShapeCompatibilityEntryRequest) RetryPolicy() *common.Retr func (request GetImageShapeCompatibilityEntryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go index 906ab5913c..56ae594831 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfigurationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfigurationRequest. type GetInstanceConfigurationRequest struct { // The OCID of the instance configuration. @@ -62,7 +62,7 @@ func (request GetInstanceConfigurationRequest) RetryPolicy() *common.RetryPolicy func (request GetInstanceConfigurationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go index 44e90f3f5b..f4040eed50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnectionRequest. type GetInstanceConsoleConnectionRequest struct { // The OCID of the instance console connection. @@ -62,7 +62,7 @@ func (request GetInstanceConsoleConnectionRequest) RetryPolicy() *common.RetryPo func (request GetInstanceConsoleConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_event_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_event_request_response.go index aa192f1695..9a9b16afeb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_event_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_event_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceEvent.go.html to see an example of how to use GetInstanceMaintenanceEventRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceEvent.go.html to see an example of how to use GetInstanceMaintenanceEventRequest. type GetInstanceMaintenanceEventRequest struct { // The OCID of the instance maintenance event. @@ -62,7 +62,7 @@ func (request GetInstanceMaintenanceEventRequest) RetryPolicy() *common.RetryPol func (request GetInstanceMaintenanceEventRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go index 6ca3558e63..194faa33f6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_maintenance_reboot_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceRebootRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceMaintenanceReboot.go.html to see an example of how to use GetInstanceMaintenanceRebootRequest. type GetInstanceMaintenanceRebootRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetInstanceMaintenanceRebootRequest) RetryPolicy() *common.RetryPo func (request GetInstanceMaintenanceRebootRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go index 4e59ee5550..5519b63ea8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstanceRequest. type GetInstancePoolInstanceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Unique Oracle-assigned identifier for the request. @@ -65,7 +65,7 @@ func (request GetInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy func (request GetInstancePoolInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go index 660d75a437..689cd35775 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_load_balancer_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachmentRequest. type GetInstancePoolLoadBalancerAttachmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // The OCID of the load balancer attachment. @@ -65,7 +65,7 @@ func (request GetInstancePoolLoadBalancerAttachmentRequest) RetryPolicy() *commo func (request GetInstancePoolLoadBalancerAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go index 456cfd9458..c5966ba672 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePoolRequest. type GetInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request GetInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go index 1167920480..3025323f2d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstanceRequest. type GetInstanceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetInstanceRequest) RetryPolicy() *common.RetryPolicy { func (request GetInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go index 82d7c0ae1d..9dee1b7592 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGatewayRequest. type GetInternetGatewayRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetInternetGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request GetInternetGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ip_inventory_vcn_overlap_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ip_inventory_vcn_overlap_details.go index b9dce48078..0043da706b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ip_inventory_vcn_overlap_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ip_inventory_vcn_overlap_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,7 +27,7 @@ type GetIpInventoryVcnOverlapDetails struct { // Lists the selected regions. RegionList []string `mandatory:"true" json:"regionList"` - // The list of OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartments. + // The list of OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartments. CompartmentList []string `mandatory:"true" json:"compartmentList"` } @@ -42,7 +42,7 @@ func (m GetIpInventoryVcnOverlapDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go index 75d4d7fe72..e835a3b60d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipsec_cpe_device_config_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,10 +16,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContentRequest. type GetIpsecCpeDeviceConfigContentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Unique identifier for the request. @@ -63,7 +63,7 @@ func (request GetIpsecCpeDeviceConfigContentRequest) RetryPolicy() *common.Retry func (request GetIpsecCpeDeviceConfigContentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go index f6410d4692..89de20b290 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6Request. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6Request. type GetIpv6Request struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetIpv6Request) RetryPolicy() *common.RetryPolicy { func (request GetIpv6Request) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go index e79b0d3a2c..1b74fb9503 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGatewayRequest. type GetLocalPeeringGatewayRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request GetLocalPeeringGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go index 5a339c0d35..66039d056f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_measured_boot_report_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReportRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetMeasuredBootReport.go.html to see an example of how to use GetMeasuredBootReportRequest. type GetMeasuredBootReportRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetMeasuredBootReportRequest) RetryPolicy() *common.RetryPolicy { func (request GetMeasuredBootReportRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go index 22aee7ec2c..498b1d33fb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGatewayRequest. type GetNatGatewayRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetNatGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request GetNatGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go index e72ebc1af6..596509ada9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroupRequest. type GetNetworkSecurityGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPolicy func (request GetNetworkSecurityGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go index 87e471ef4c..bd1bea697c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_networking_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopologyRequest. type GetNetworkingTopologyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`. @@ -90,7 +90,7 @@ func (request GetNetworkingTopologyRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AccessLevel: %s. Supported values are: %s.", request.AccessLevel, strings.Join(GetGetNetworkingTopologyAccessLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go index 01e12b6ede..eee4bba163 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIpRequest. type GetPrivateIpRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetPrivateIpRequest) RetryPolicy() *common.RetryPolicy { func (request GetPrivateIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go index f0a896c5c8..dd9d8d8ea6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m GetPublicIpByIpAddressDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go index f11720b918..57dd004385 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_ip_address_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddressRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddressRequest. type GetPublicIpByIpAddressRequest struct { // IP address details for fetching the public IP. @@ -62,7 +62,7 @@ func (request GetPublicIpByIpAddressRequest) RetryPolicy() *common.RetryPolicy { func (request GetPublicIpByIpAddressRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go index 5597121d7e..619e6a2e71 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // GetPublicIpByPrivateIpIdDetails Details of the private IP that the public IP is assigned to. type GetPublicIpByPrivateIpIdDetails struct { - // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP. + // OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP. PrivateIpId *string `mandatory:"true" json:"privateIpId"` } @@ -39,7 +39,7 @@ func (m GetPublicIpByPrivateIpIdDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go index 1d4a7c16a8..fc828532c2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_by_private_ip_id_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpIdRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpIdRequest. type GetPublicIpByPrivateIpIdRequest struct { // Private IP details for fetching the public IP. @@ -62,7 +62,7 @@ func (request GetPublicIpByPrivateIpIdRequest) RetryPolicy() *common.RetryPolicy func (request GetPublicIpByPrivateIpIdRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go index 813622ae0b..4d6d3747d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPoolRequest. type GetPublicIpPoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetPublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { func (request GetPublicIpPoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go index f7c5f6533b..f38689bba4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIpRequest. type GetPublicIpRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetPublicIpRequest) RetryPolicy() *common.RetryPolicy { func (request GetPublicIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go index 659b22d30a..d9f62df99e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnectionRequest. type GetRemotePeeringConnectionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetRemotePeeringConnectionRequest) RetryPolicy() *common.RetryPoli func (request GetRemotePeeringConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_resource_ip_inventory_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_resource_ip_inventory_request_response.go index 9cea79e8d1..ec81127d1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_resource_ip_inventory_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_resource_ip_inventory_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetResourceIpInventory.go.html to see an example of how to use GetResourceIpInventoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetResourceIpInventory.go.html to see an example of how to use GetResourceIpInventoryRequest. type GetResourceIpInventoryRequest struct { // Specify the ID of the resource. @@ -62,7 +62,7 @@ func (request GetResourceIpInventoryRequest) RetryPolicy() *common.RetryPolicy { func (request GetResourceIpInventoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -81,7 +81,7 @@ type GetResourceIpInventoryResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go index ba486c968e..2012cd69e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTableRequest. type GetRouteTableRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request GetRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go index ea54b369c7..a24a280364 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityListRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityListRequest. type GetSecurityListRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetSecurityListRequest) RetryPolicy() *common.RetryPolicy { func (request GetSecurityListRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go index f39cef54c3..f5cc6d1229 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGatewayRequest. type GetServiceGatewayRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetServiceGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request GetServiceGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go index 9c4117e41e..6fb232776f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_service_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetServiceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetServiceRequest. type GetServiceRequest struct { - // The service's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceId *string `mandatory:"true" contributesTo:"path" name:"serviceId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetServiceRequest) RetryPolicy() *common.RetryPolicy { func (request GetServiceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_cidr_utilization_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_cidr_utilization_request_response.go index 095625a330..023c389d31 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_cidr_utilization_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_cidr_utilization_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetCidrUtilization.go.html to see an example of how to use GetSubnetCidrUtilizationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetCidrUtilization.go.html to see an example of how to use GetSubnetCidrUtilizationRequest. type GetSubnetCidrUtilizationRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetSubnetCidrUtilizationRequest) RetryPolicy() *common.RetryPolicy func (request GetSubnetCidrUtilizationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_ip_inventory_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_ip_inventory_request_response.go index 23664686e3..52af694421 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_ip_inventory_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_ip_inventory_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetIpInventory.go.html to see an example of how to use GetSubnetIpInventoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetIpInventory.go.html to see an example of how to use GetSubnetIpInventoryRequest. type GetSubnetIpInventoryRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetSubnetIpInventoryRequest) RetryPolicy() *common.RetryPolicy { func (request GetSubnetIpInventoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go index 429d1260aa..45407b0237 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnetRequest. type GetSubnetRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetSubnetRequest) RetryPolicy() *common.RetryPolicy { func (request GetSubnetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go index 3a8743b0f5..a2140047c2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_subnet_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnetTopology.go.html to see an example of how to use GetSubnetTopologyRequest. type GetSubnetTopologyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"query" name:"subnetId"` // Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`. @@ -93,7 +93,7 @@ func (request GetSubnetTopologyRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AccessLevel: %s. Supported values are: %s.", request.AccessLevel, strings.Join(GetGetSubnetTopologyAccessLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go index 052f08d0b0..2226081560 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_content_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,13 +16,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContentRequest. type GetTunnelCpeDeviceConfigContentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique identifier for the request. @@ -66,7 +66,7 @@ func (request GetTunnelCpeDeviceConfigContentRequest) RetryPolicy() *common.Retr func (request GetTunnelCpeDeviceConfigContentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go index a0c263c625..c8da8bd09f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_tunnel_cpe_device_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfigRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfigRequest. type GetTunnelCpeDeviceConfigRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Unique identifier for the request. @@ -65,7 +65,7 @@ func (request GetTunnelCpeDeviceConfigRequest) RetryPolicy() *common.RetryPolicy func (request GetTunnelCpeDeviceConfigRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go index b86452da49..d6e620d355 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_upgrade_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatusRequest. type GetUpgradeStatusRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetUpgradeStatusRequest) RetryPolicy() *common.RetryPolicy { func (request GetUpgradeStatusRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go index 12faf25b35..e43ffa406e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_dns_resolver_association_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociationRequest. type GetVcnDnsResolverAssociationRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetVcnDnsResolverAssociationRequest) RetryPolicy() *common.RetryPo func (request GetVcnDnsResolverAssociationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_overlap_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_overlap_request_response.go index 27f0f49897..63a15843e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_overlap_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_overlap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnOverlap.go.html to see an example of how to use GetVcnOverlapRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnOverlap.go.html to see an example of how to use GetVcnOverlapRequest. type GetVcnOverlapRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Lists details of the IP Inventory VCN overlap data. @@ -72,7 +72,7 @@ func (request GetVcnOverlapRequest) RetryPolicy() *common.RetryPolicy { func (request GetVcnOverlapRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,16 +96,16 @@ type GetVcnOverlapResponse struct { // For list pagination. A pagination token to get the total number of results available. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // The IpInventory API current state. LifecycleState GetVcnOverlapLifecycleStateEnum `presentIn:"header" name:"lifecycle-state"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the resource. DataRequestId *string `presentIn:"header" name:"data-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go index 7be8c56ea5..182fad481b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcnRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcnRequest. type GetVcnRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetVcnRequest) RetryPolicy() *common.RetryPolicy { func (request GetVcnRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go index 22e595f7a6..c709ebb137 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vcn_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopologyRequest. type GetVcnTopologyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"query" name:"vcnId"` // Valid values are `ANY` and `ACCESSIBLE`. The default is `ANY`. @@ -93,7 +93,7 @@ func (request GetVcnTopologyRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AccessLevel: %s. Supported values are: %s.", request.AccessLevel, strings.Join(GetGetVcnTopologyAccessLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go index c28d632d2d..5afe5a4d55 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuitRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuitRequest. type GetVirtualCircuitRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy { func (request GetVirtualCircuitRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go index 715bc11988..a4d2f62e5c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlanRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlanRequest. type GetVlanRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetVlanRequest) RetryPolicy() *common.RetryPolicy { func (request GetVlanRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go index 1d26de8787..cfee8e4b7e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachmentRequest. type GetVnicAttachmentRequest struct { // The OCID of the VNIC attachment. @@ -62,7 +62,7 @@ func (request GetVnicAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request GetVnicAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go index 688991b847..3bc204cf26 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnicRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnicRequest. type GetVnicRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. VnicId *string `mandatory:"true" contributesTo:"path" name:"vnicId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetVnicRequest) RetryPolicy() *common.RetryPolicy { func (request GetVnicRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go index 89200b4f87..86dd324481 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachmentRequest. type GetVolumeAttachmentRequest struct { // The OCID of the volume attachment. @@ -62,7 +62,7 @@ func (request GetVolumeAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go index a7788fcb1f..f2322e679f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_asset_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignmentRequest. type GetVolumeBackupPolicyAssetAssignmentRequest struct { // The OCID of an asset (e.g. a volume). @@ -23,13 +23,13 @@ type GetVolumeBackupPolicyAssetAssignmentRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request GetVolumeBackupPolicyAssetAssignmentRequest) RetryPolicy() *common func (request GetVolumeBackupPolicyAssetAssignmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type GetVolumeBackupPolicyAssetAssignmentResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go index 0f8917205f..faaf2371dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_assignment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignmentRequest. type GetVolumeBackupPolicyAssignmentRequest struct { // The OCID of the volume backup policy assignment. @@ -62,7 +62,7 @@ func (request GetVolumeBackupPolicyAssignmentRequest) RetryPolicy() *common.Retr func (request GetVolumeBackupPolicyAssignmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go index c4464cf674..1f24cffe06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicyRequest. type GetVolumeBackupPolicyRequest struct { // The OCID of the volume backup policy. @@ -62,7 +62,7 @@ func (request GetVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeBackupPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go index a71da808e6..21aca22aac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackupRequest. type GetVolumeBackupRequest struct { // The OCID of the volume backup. @@ -62,7 +62,7 @@ func (request GetVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go index 44ef4e50df..198ed218d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackupRequest. type GetVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. @@ -62,7 +62,7 @@ func (request GetVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeGroupBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go index a19e4d7f21..86b6070f86 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_replica_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplicaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupReplica.go.html to see an example of how to use GetVolumeGroupReplicaRequest. type GetVolumeGroupReplicaRequest struct { // The OCID of the volume replica group. @@ -62,7 +62,7 @@ func (request GetVolumeGroupReplicaRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeGroupReplicaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go index cc7074ddda..55bf712af5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroupRequest. type GetVolumeGroupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. @@ -62,7 +62,7 @@ func (request GetVolumeGroupRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go index d263481de1..7528bb4c50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKeyRequest. type GetVolumeKmsKeyRequest struct { // The OCID of the volume. @@ -67,7 +67,7 @@ func (request GetVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeKmsKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go index da567c3817..784599e3bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolumeRequest. type GetVolumeRequest struct { // The OCID of the volume. @@ -62,7 +62,7 @@ func (request GetVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request GetVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go index 61e36fb59a..3ff957b8c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtapRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVtap.go.html to see an example of how to use GetVtapRequest. type GetVtapRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetVtapRequest) RetryPolicy() *common.RetryPolicy { func (request GetVtapRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go index 0b98b50b5d..89d55d92aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/get_windows_instance_initial_credentials_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentialsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentialsRequest. type GetWindowsInstanceInitialCredentialsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Unique Oracle-assigned identifier for the request. @@ -62,7 +62,7 @@ func (request GetWindowsInstanceInitialCredentialsRequest) RetryPolicy() *common func (request GetWindowsInstanceInitialCredentialsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_configuration.go new file mode 100644 index 0000000000..7319d004e4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_configuration.go @@ -0,0 +1,146 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostGroupConfiguration Host group configuration +type HostGroupConfiguration struct { + + // Either the platform name or compute shape that the configuration is targeting + Target *string `mandatory:"false" json:"target"` + + // The OCID for firmware bundle + FirmwareBundleId *string `mandatory:"false" json:"firmwareBundleId"` + + // Preferred recycle level for hosts associated with the reservation config. + // * `SKIP_RECYCLE` - Skips host wipe. + // * `FULL_RECYCLE` - Does not skip host wipe. This is the default behavior. + RecycleLevel HostGroupConfigurationRecycleLevelEnum `mandatory:"false" json:"recycleLevel,omitempty"` + + // The state of the host group configuration. + State HostGroupConfigurationStateEnum `mandatory:"false" json:"state,omitempty"` +} + +func (m HostGroupConfiguration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m HostGroupConfiguration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingHostGroupConfigurationRecycleLevelEnum(string(m.RecycleLevel)); !ok && m.RecycleLevel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecycleLevel: %s. Supported values are: %s.", m.RecycleLevel, strings.Join(GetHostGroupConfigurationRecycleLevelEnumStringValues(), ","))) + } + if _, ok := GetMappingHostGroupConfigurationStateEnum(string(m.State)); !ok && m.State != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetHostGroupConfigurationStateEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// HostGroupConfigurationRecycleLevelEnum Enum with underlying type: string +type HostGroupConfigurationRecycleLevelEnum string + +// Set of constants representing the allowable values for HostGroupConfigurationRecycleLevelEnum +const ( + HostGroupConfigurationRecycleLevelSkipRecycle HostGroupConfigurationRecycleLevelEnum = "SKIP_RECYCLE" + HostGroupConfigurationRecycleLevelFullRecycle HostGroupConfigurationRecycleLevelEnum = "FULL_RECYCLE" +) + +var mappingHostGroupConfigurationRecycleLevelEnum = map[string]HostGroupConfigurationRecycleLevelEnum{ + "SKIP_RECYCLE": HostGroupConfigurationRecycleLevelSkipRecycle, + "FULL_RECYCLE": HostGroupConfigurationRecycleLevelFullRecycle, +} + +var mappingHostGroupConfigurationRecycleLevelEnumLowerCase = map[string]HostGroupConfigurationRecycleLevelEnum{ + "skip_recycle": HostGroupConfigurationRecycleLevelSkipRecycle, + "full_recycle": HostGroupConfigurationRecycleLevelFullRecycle, +} + +// GetHostGroupConfigurationRecycleLevelEnumValues Enumerates the set of values for HostGroupConfigurationRecycleLevelEnum +func GetHostGroupConfigurationRecycleLevelEnumValues() []HostGroupConfigurationRecycleLevelEnum { + values := make([]HostGroupConfigurationRecycleLevelEnum, 0) + for _, v := range mappingHostGroupConfigurationRecycleLevelEnum { + values = append(values, v) + } + return values +} + +// GetHostGroupConfigurationRecycleLevelEnumStringValues Enumerates the set of values in String for HostGroupConfigurationRecycleLevelEnum +func GetHostGroupConfigurationRecycleLevelEnumStringValues() []string { + return []string{ + "SKIP_RECYCLE", + "FULL_RECYCLE", + } +} + +// GetMappingHostGroupConfigurationRecycleLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingHostGroupConfigurationRecycleLevelEnum(val string) (HostGroupConfigurationRecycleLevelEnum, bool) { + enum, ok := mappingHostGroupConfigurationRecycleLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// HostGroupConfigurationStateEnum Enum with underlying type: string +type HostGroupConfigurationStateEnum string + +// Set of constants representing the allowable values for HostGroupConfigurationStateEnum +const ( + HostGroupConfigurationStateValid HostGroupConfigurationStateEnum = "VALID" + HostGroupConfigurationStateInvalid HostGroupConfigurationStateEnum = "INVALID" +) + +var mappingHostGroupConfigurationStateEnum = map[string]HostGroupConfigurationStateEnum{ + "VALID": HostGroupConfigurationStateValid, + "INVALID": HostGroupConfigurationStateInvalid, +} + +var mappingHostGroupConfigurationStateEnumLowerCase = map[string]HostGroupConfigurationStateEnum{ + "valid": HostGroupConfigurationStateValid, + "invalid": HostGroupConfigurationStateInvalid, +} + +// GetHostGroupConfigurationStateEnumValues Enumerates the set of values for HostGroupConfigurationStateEnum +func GetHostGroupConfigurationStateEnumValues() []HostGroupConfigurationStateEnum { + values := make([]HostGroupConfigurationStateEnum, 0) + for _, v := range mappingHostGroupConfigurationStateEnum { + values = append(values, v) + } + return values +} + +// GetHostGroupConfigurationStateEnumStringValues Enumerates the set of values in String for HostGroupConfigurationStateEnum +func GetHostGroupConfigurationStateEnumStringValues() []string { + return []string{ + "VALID", + "INVALID", + } +} + +// GetMappingHostGroupConfigurationStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingHostGroupConfigurationStateEnum(val string) (HostGroupConfigurationStateEnum, bool) { + enum, ok := mappingHostGroupConfigurationStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_placement_constraint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_placement_constraint_details.go new file mode 100644 index 0000000000..2f3090780e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/host_group_placement_constraint_details.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// HostGroupPlacementConstraintDetails The details for providing placement constraints using the compute host group OCID. +type HostGroupPlacementConstraintDetails struct { + + // The OCID of the compute host group. This is only available for dedicated capacity customers. + ComputeHostGroupId *string `mandatory:"true" json:"computeHostGroupId"` +} + +func (m HostGroupPlacementConstraintDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m HostGroupPlacementConstraintDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m HostGroupPlacementConstraintDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeHostGroupPlacementConstraintDetails HostGroupPlacementConstraintDetails + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeHostGroupPlacementConstraintDetails + }{ + "HOST_GROUP", + (MarshalTypeHostGroupPlacementConstraintDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go index 8bd2559106..6533263b40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/i_scsi_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -94,6 +94,10 @@ type IScsiVolumeAttachment struct { // Example: `ocid1.volume.oc1.phx.` ChapUsername *string `mandatory:"false" json:"chapUsername"` + // The volume's iSCSI IPv6 address. + // Example: `2001:db8::1/64` + Ipv6 *string `mandatory:"false" json:"ipv6"` + // A list of secondary multipath devices MultipathDevices []MultipathDevice `mandatory:"false" json:"multipathDevices"` @@ -207,7 +211,7 @@ func (m IScsiVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go index 6bf1ab9715..f7324aa062 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/icmp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -50,7 +50,7 @@ func (m IcmpOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image.go index 4342b773d1..31f63f7647 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,10 +22,10 @@ import ( ) // Image A boot disk image for launching an instance. For more information, see -// Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). +// Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type Image struct { @@ -59,7 +59,7 @@ type Image struct { BaseImageId *string `mandatory:"false" json:"baseImageId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -70,7 +70,7 @@ type Image struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -118,7 +118,7 @@ func (m Image) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ListingType: %s. Supported values are: %s.", m.ListingType, strings.Join(GetImageListingTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go index fb9fafbdef..342689c4af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -72,7 +72,7 @@ func (m *imagecapabilityschemadescriptor) UnmarshalPolymorphicJSON(data []byte) err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for ImageCapabilitySchemaDescriptor: %s.", m.DescriptorType) + common.Logf("Received unsupported enum value for ImageCapabilitySchemaDescriptor: %s.", m.DescriptorType) return *m, nil } } @@ -96,7 +96,7 @@ func (m imagecapabilityschemadescriptor) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go index 45ae36f90b..2e17f30118 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_memory_constraints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ImageMemoryConstraints) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go index 878b8cb14b..2e421c1c02 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_ocpu_constraints.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ImageOcpuConstraints) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go index 785f08505b..06da852d3f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m ImageShapeCompatibilityEntry) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go index 31e857b689..380bb5d82e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_shape_compatibility_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ImageShapeCompatibilitySummary Summary information for a compatible image and shape. type ImageShapeCompatibilitySummary struct { - // The image OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The image OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ImageId *string `mandatory:"true" json:"imageId"` // The shape name. @@ -46,7 +46,7 @@ func (m ImageShapeCompatibilitySummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go index e8d7127389..804a03bf40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -78,7 +78,7 @@ func (m *imagesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for ImageSourceDetails: %s.", m.SourceType) + common.Logf("Received unsupported enum value for ImageSourceDetails: %s.", m.SourceType) return *m, nil } } @@ -112,7 +112,7 @@ func (m imagesourcedetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceImageType: %s. Supported values are: %s.", m.SourceImageType, strings.Join(GetImageSourceDetailsSourceImageTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go index bf59d45a02..3d731dcb96 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_tuple_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -72,7 +72,7 @@ func (m ImageSourceViaObjectStorageTupleDetails) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceImageType: %s. Supported values are: %s.", m.SourceImageType, strings.Join(GetImageSourceDetailsSourceImageTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go index 941839ab7f..b82a9a7b0c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_via_object_storage_uri_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -66,7 +66,7 @@ func (m ImageSourceViaObjectStorageUriDetails) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceImageType: %s. Supported values are: %s.", m.SourceImageType, strings.Join(GetImageSourceDetailsSourceImageTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go index 1d30374cb4..a436eaeb65 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ingress_security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -35,7 +35,7 @@ type IngressSecurityRule struct { // Allowed values: // * IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56`. // IPv6 addressing is supported for all commercial and government regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security list rule for traffic coming from a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. @@ -79,7 +79,7 @@ func (m IngressSecurityRule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetIngressSecurityRuleSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance.go index ecbabf6164..2c56895bf2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -34,10 +34,10 @@ import ( // operation to get the VNIC ID for the instance, and then call // GetVnic with the VNIC ID. // For more information, see -// Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). +// Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type Instance struct { @@ -72,9 +72,14 @@ type Instance struct { // The OCID of the compute capacity reservation this instance is launched under. // When this field contains an empty string or is null, the instance is not currently in a capacity reservation. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` + PlacementConstraintDetails PlacementConstraintDetails `mandatory:"false" json:"placementConstraintDetails"` + + // Whether AI enterprise is enabled on the instance. + IsAIEnterpriseEnabled *bool `mandatory:"false" json:"isAIEnterpriseEnabled"` + // The OCID of the cluster placement group of the instance. ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"` @@ -82,11 +87,13 @@ type Instance struct { DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -114,7 +121,7 @@ type Instance struct { FaultDomain *string `mandatory:"false" json:"faultDomain"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -142,7 +149,7 @@ type Instance struct { // the primary boot volume is attached as a data volume through virtio-scsi drive. // For more information about the Bring Your Own Image feature of // Oracle Cloud Infrastructure, see - // Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm). + // Bring Your Own Image (https://docs.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm). // For more information about iPXE, see http://ipxe.org. IpxeScript *string `mandatory:"false" json:"ipxeScript"` @@ -187,6 +194,9 @@ type Instance struct { // The OCID of the Instance Configuration used to source launch details for this instance. Any other fields supplied in the instance launch request override the details stored in the Instance Configuration for this instance launch. InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"` + + // List of licensing configurations associated with the instance. + LicensingConfigs []LicensingConfig `mandatory:"false" json:"licensingConfigs"` } func (m Instance) String() string { @@ -209,7 +219,7 @@ func (m Instance) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LaunchMode: %s. Supported values are: %s.", m.LaunchMode, strings.Join(GetInstanceLaunchModeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -217,39 +227,42 @@ func (m Instance) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *Instance) UnmarshalJSON(data []byte) (e error) { model := struct { - CapacityReservationId *string `json:"capacityReservationId"` - ClusterPlacementGroupId *string `json:"clusterPlacementGroupId"` - DedicatedVmHostId *string `json:"dedicatedVmHostId"` - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - SecurityAttributes map[string]map[string]interface{} `json:"securityAttributes"` - SecurityAttributesState InstanceSecurityAttributesStateEnum `json:"securityAttributesState"` - DisplayName *string `json:"displayName"` - ExtendedMetadata map[string]interface{} `json:"extendedMetadata"` - FaultDomain *string `json:"faultDomain"` - FreeformTags map[string]string `json:"freeformTags"` - ImageId *string `json:"imageId"` - IpxeScript *string `json:"ipxeScript"` - LaunchMode InstanceLaunchModeEnum `json:"launchMode"` - LaunchOptions *LaunchOptions `json:"launchOptions"` - InstanceOptions *InstanceOptions `json:"instanceOptions"` - AvailabilityConfig *InstanceAvailabilityConfig `json:"availabilityConfig"` - PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` - Metadata map[string]string `json:"metadata"` - ShapeConfig *InstanceShapeConfig `json:"shapeConfig"` - IsCrossNumaNode *bool `json:"isCrossNumaNode"` - SourceDetails instancesourcedetails `json:"sourceDetails"` - SystemTags map[string]map[string]interface{} `json:"systemTags"` - AgentConfig *InstanceAgentConfig `json:"agentConfig"` - TimeMaintenanceRebootDue *common.SDKTime `json:"timeMaintenanceRebootDue"` - PlatformConfig platformconfig `json:"platformConfig"` - InstanceConfigurationId *string `json:"instanceConfigurationId"` - AvailabilityDomain *string `json:"availabilityDomain"` - CompartmentId *string `json:"compartmentId"` - Id *string `json:"id"` - LifecycleState InstanceLifecycleStateEnum `json:"lifecycleState"` - Region *string `json:"region"` - Shape *string `json:"shape"` - TimeCreated *common.SDKTime `json:"timeCreated"` + CapacityReservationId *string `json:"capacityReservationId"` + PlacementConstraintDetails placementconstraintdetails `json:"placementConstraintDetails"` + IsAIEnterpriseEnabled *bool `json:"isAIEnterpriseEnabled"` + ClusterPlacementGroupId *string `json:"clusterPlacementGroupId"` + DedicatedVmHostId *string `json:"dedicatedVmHostId"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + SecurityAttributes map[string]map[string]interface{} `json:"securityAttributes"` + SecurityAttributesState InstanceSecurityAttributesStateEnum `json:"securityAttributesState"` + DisplayName *string `json:"displayName"` + ExtendedMetadata map[string]interface{} `json:"extendedMetadata"` + FaultDomain *string `json:"faultDomain"` + FreeformTags map[string]string `json:"freeformTags"` + ImageId *string `json:"imageId"` + IpxeScript *string `json:"ipxeScript"` + LaunchMode InstanceLaunchModeEnum `json:"launchMode"` + LaunchOptions *LaunchOptions `json:"launchOptions"` + InstanceOptions *InstanceOptions `json:"instanceOptions"` + AvailabilityConfig *InstanceAvailabilityConfig `json:"availabilityConfig"` + PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` + Metadata map[string]string `json:"metadata"` + ShapeConfig *InstanceShapeConfig `json:"shapeConfig"` + IsCrossNumaNode *bool `json:"isCrossNumaNode"` + SourceDetails instancesourcedetails `json:"sourceDetails"` + SystemTags map[string]map[string]interface{} `json:"systemTags"` + AgentConfig *InstanceAgentConfig `json:"agentConfig"` + TimeMaintenanceRebootDue *common.SDKTime `json:"timeMaintenanceRebootDue"` + PlatformConfig platformconfig `json:"platformConfig"` + InstanceConfigurationId *string `json:"instanceConfigurationId"` + LicensingConfigs []LicensingConfig `json:"licensingConfigs"` + AvailabilityDomain *string `json:"availabilityDomain"` + CompartmentId *string `json:"compartmentId"` + Id *string `json:"id"` + LifecycleState InstanceLifecycleStateEnum `json:"lifecycleState"` + Region *string `json:"region"` + Shape *string `json:"shape"` + TimeCreated *common.SDKTime `json:"timeCreated"` }{} e = json.Unmarshal(data, &model) @@ -259,6 +272,18 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { var nn interface{} m.CapacityReservationId = model.CapacityReservationId + nn, e = model.PlacementConstraintDetails.UnmarshalPolymorphicJSON(model.PlacementConstraintDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlacementConstraintDetails = nn.(PlacementConstraintDetails) + } else { + m.PlacementConstraintDetails = nil + } + + m.IsAIEnterpriseEnabled = model.IsAIEnterpriseEnabled + m.ClusterPlacementGroupId = model.ClusterPlacementGroupId m.DedicatedVmHostId = model.DedicatedVmHostId @@ -325,6 +350,8 @@ func (m *Instance) UnmarshalJSON(data []byte) (e error) { m.InstanceConfigurationId = model.InstanceConfigurationId + m.LicensingConfigs = make([]LicensingConfig, len(model.LicensingConfigs)) + copy(m.LicensingConfigs, model.LicensingConfigs) m.AvailabilityDomain = model.AvailabilityDomain m.CompartmentId = model.CompartmentId diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go index d8986c2c7e..6df1c8e2b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_action_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceActionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceActionRequest. type InstanceActionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // The action to perform on the instance. @@ -83,7 +83,7 @@ func (request InstanceActionRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Action: %s. Supported values are: %s.", request.Action, strings.Join(GetInstanceActionActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go index bc06d31b6c..f5e4c1a235 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -52,7 +52,7 @@ type InstanceAgentConfig struct { // Whether Oracle Cloud Agent can run all of the available plugins. // This includes the management and monitoring plugins. // For more information about the available plugins, see - // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + // Managing Plugins with Oracle Cloud Agent (https://docs.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` // The configuration of plugins associated with this instance. @@ -70,7 +70,7 @@ func (m InstanceAgentConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go index cbb3869cc3..1f3a933814 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_features.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m InstanceAgentFeatures) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go index 12b5da62e3..f749572183 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_agent_plugin_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,7 +27,7 @@ type InstanceAgentPluginConfigDetails struct { // The plugin name. To get a list of available plugins, use the // ListInstanceagentAvailablePlugins // operation in the Oracle Cloud Agent API. For more information about the available plugins, see - // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + // Managing Plugins with Oracle Cloud Agent (https://docs.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). Name *string `mandatory:"true" json:"name"` // Whether the plugin should be enabled or disabled. @@ -50,7 +50,7 @@ func (m InstanceAgentPluginConfigDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go index 42c0c5d3d1..d0d000d389 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_availability_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -50,7 +50,7 @@ func (m InstanceAvailabilityConfig) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetInstanceAvailabilityConfigRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go index bb9e8e9026..c34afa4243 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,14 +24,14 @@ import ( // InstanceConfiguration An instance configuration is a template that defines the settings to use when creating Compute instances. // For more information about instance configurations, see -// Managing Compute Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm). +// Managing Compute Instances (https://docs.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm). type InstanceConfiguration struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // containing the instance configuration. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration. Id *string `mandatory:"true" json:"id"` // The date and time the instance configuration was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -39,7 +39,7 @@ type InstanceConfiguration struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -48,7 +48,7 @@ type InstanceConfiguration struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -71,7 +71,7 @@ func (m InstanceConfiguration) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go index 5353cec2f6..5849244244 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig) Validate } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -126,6 +126,7 @@ const ( InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6 InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -133,6 +134,7 @@ var mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNod "NPS1": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +142,7 @@ var mappingInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNod "nps1": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -158,6 +161,7 @@ func GetInstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesP "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go index deb629f8b5..6ee5f79bd6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -106,7 +106,7 @@ func (m InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig) ValidateEnu } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -134,6 +134,7 @@ const ( InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6 InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -141,6 +142,7 @@ var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesP "NPS1": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -148,6 +150,7 @@ var mappingInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesP "nps1": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -166,6 +169,7 @@ func GetInstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerS "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go index 794d483698..485573fcb6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig) ValidateE } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -126,6 +126,7 @@ const ( InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6 InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -133,6 +134,7 @@ var mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNode "NPS1": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +142,7 @@ var mappingInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNode "nps1": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -158,6 +161,7 @@ func GetInstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPe "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go index fc0c62b4bb..d3734f0f55 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -106,7 +106,7 @@ func (m InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig) ValidateEnum } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -134,6 +134,7 @@ const ( InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6 InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -141,6 +142,7 @@ var mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPe "NPS1": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -148,6 +150,7 @@ var mappingInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPe "nps1": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -166,6 +169,7 @@ func GetInstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSo "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go index 856c43d8f5..26f97d0aab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -77,7 +77,7 @@ func (m InstanceConfigurationAmdVmLaunchInstancePlatformConfig) ValidateEnumValu errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go index e34925c206..545bf93326 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -33,7 +33,7 @@ type InstanceConfigurationAttachVnicDetails struct { // Certain bare metal instance shapes have two active physical NICs (0 and 1). If // you add a secondary VNIC to one of these instances, you can specify which NIC // the VNIC will use. For more information, see - // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). + // Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). NicIndex *int `mandatory:"false" json:"nicIndex"` } @@ -48,7 +48,7 @@ func (m InstanceConfigurationAttachVnicDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go index 698bde1ef8..055d6bbced 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -89,7 +89,7 @@ func (m *instanceconfigurationattachvolumedetails) UnmarshalPolymorphicJSON(data err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceConfigurationAttachVolumeDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for InstanceConfigurationAttachVolumeDetails: %s.", m.Type) return *m, nil } } @@ -125,7 +125,7 @@ func (m instanceconfigurationattachvolumedetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go index d3e5f913d3..b1596ffd6f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *instanceconfigurationautotunepolicy) UnmarshalPolymorphicJSON(data []by err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceConfigurationAutotunePolicy: %s.", m.AutotuneType) + common.Logf("Received unsupported enum value for InstanceConfigurationAutotunePolicy: %s.", m.AutotuneType) return *m, nil } } @@ -81,7 +81,7 @@ func (m instanceconfigurationautotunepolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go index 0adfe176cf..ef55f5ab1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_availability_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -50,7 +50,7 @@ func (m InstanceConfigurationAvailabilityConfig) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetInstanceConfigurationAvailabilityConfigRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go index bca5efb0aa..8b9638f264 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,7 +43,7 @@ func (m InstanceConfigurationBlockVolumeDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_replica_details.go index d903bba57e..d4dd611f95 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_block_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -44,7 +44,7 @@ func (m InstanceConfigurationBlockVolumeReplicaDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go index f9e54dca1e..4d881f4d1f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,7 +22,7 @@ import ( ) // InstanceConfigurationCreateVnicDetails Contains the properties of the VNIC for an instance configuration. See CreateVnicDetails -// and Instance Configurations (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm#config) for more information. +// and Instance Configurations (https://docs.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm#config) for more information. type InstanceConfigurationCreateVnicDetails struct { // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled @@ -41,7 +41,7 @@ type InstanceConfigurationCreateVnicDetails struct { AssignPrivateDnsRecord *bool `mandatory:"false" json:"assignPrivateDnsRecord"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -50,11 +50,13 @@ type InstanceConfigurationCreateVnicDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -73,6 +75,15 @@ type InstanceConfigurationCreateVnicDetails struct { // NetworkSecurityGroup. NsgIds []string `mandatory:"false" json:"nsgIds"` + // One of the IPv4 CIDR blocks allocated to the subnet. Represents the IP range + // from which the VNIC's private IP address will be assigned if `privateIp` or + // `privateIpId` is not specified. + // Either this field or the `privateIp` (or `privateIpId`, if applicable) field + // must be provided, but not both simultaneously. + // Example: `192.168.1.0/28` + // See the `subnetCidr` attribute of CreateVnicDetails for more information. + SubnetCidr *string `mandatory:"false" json:"subnetCidr"` + // A private IP address of your choice to assign to the VNIC. // See the `privateIp` attribute of CreateVnicDetails for more information. PrivateIp *string `mandatory:"false" json:"privateIp"` @@ -97,7 +108,7 @@ func (m InstanceConfigurationCreateVnicDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go index d14942c873..117cc78922 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ type InstanceConfigurationCreateVolumeDetails struct { BlockVolumeReplicas []InstanceConfigurationBlockVolumeReplicaDetails `mandatory:"false" json:"blockVolumeReplicas"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -54,7 +54,7 @@ type InstanceConfigurationCreateVolumeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -64,7 +64,7 @@ type InstanceConfigurationCreateVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. @@ -86,9 +86,13 @@ type InstanceConfigurationCreateVolumeDetails struct { // The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrcKmsKeyId *string `mandatory:"false" json:"xrcKmsKeyId"` + + // When set to true, enables SCSI Persistent Reservation (SCSI PR) for the volume. For more information, see + // Persistent Reservations (https://docs.oracle.com/iaas/Content/Block/Concepts/persistent-reservations.htm). + IsReservationsEnabled *bool `mandatory:"false" json:"isReservationsEnabled"` } func (m InstanceConfigurationCreateVolumeDetails) String() string { @@ -102,7 +106,7 @@ func (m InstanceConfigurationCreateVolumeDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -125,6 +129,7 @@ func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e SourceDetails instanceconfigurationvolumesourcedetails `json:"sourceDetails"` AutotunePolicies []instanceconfigurationautotunepolicy `json:"autotunePolicies"` XrcKmsKeyId *string `json:"xrcKmsKeyId"` + IsReservationsEnabled *bool `json:"isReservationsEnabled"` }{} e = json.Unmarshal(data, &model) @@ -180,5 +185,7 @@ func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e } m.XrcKmsKeyId = model.XrcKmsKeyId + m.IsReservationsEnabled = model.IsReservationsEnabled + return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go index 53b444f528..6213814160 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_detached_volume_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,7 +37,7 @@ func (m InstanceConfigurationDetachedVolumeAutotunePolicy) ValidateEnumValue() ( errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go index 9b7003c535..408eb778ad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -105,7 +105,7 @@ func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) ValidateEnum } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -133,6 +133,7 @@ const ( InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1" InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2" InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4" + InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS6" ) var mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -140,6 +141,7 @@ var mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPe "NPS1": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "NPS2": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "NPS4": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "NPS6": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } var mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{ @@ -147,6 +149,7 @@ var mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPe "nps1": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1, "nps2": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2, "nps4": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4, + "nps6": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps6, } // GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum @@ -165,6 +168,7 @@ func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSo "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_host_group_placement_constraint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_host_group_placement_constraint_details.go new file mode 100644 index 0000000000..52f2f57e6f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_host_group_placement_constraint_details.go @@ -0,0 +1,60 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstanceConfigurationHostGroupPlacementConstraintDetails The details for providing placement constraints using the compute host group OCID. +type InstanceConfigurationHostGroupPlacementConstraintDetails struct { + + // The OCID of the compute host group. This is only available for dedicated capacity customers. + ComputeHostGroupId *string `mandatory:"true" json:"computeHostGroupId"` +} + +func (m InstanceConfigurationHostGroupPlacementConstraintDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstanceConfigurationHostGroupPlacementConstraintDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m InstanceConfigurationHostGroupPlacementConstraintDetails) MarshalJSON() (buff []byte, e error) { + type MarshalTypeInstanceConfigurationHostGroupPlacementConstraintDetails InstanceConfigurationHostGroupPlacementConstraintDetails + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeInstanceConfigurationHostGroupPlacementConstraintDetails + }{ + "HOST_GROUP", + (MarshalTypeInstanceConfigurationHostGroupPlacementConstraintDetails)(m), + } + + return json.Marshal(&s) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go index f05851d796..78b855927b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *instanceconfigurationinstancedetails) UnmarshalPolymorphicJSON(data []b err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceConfigurationInstanceDetails: %s.", m.InstanceType) + common.Logf("Received unsupported enum value for InstanceConfigurationInstanceDetails: %s.", m.InstanceType) return *m, nil } } @@ -81,7 +81,7 @@ func (m instanceconfigurationinstancedetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go index 90afd35a75..f2ee750d39 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m InstanceConfigurationInstanceOptions) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go index 2d2ac657b0..aa914f78c2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *instanceconfigurationinstancesourcedetails) UnmarshalPolymorphicJSON(da err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceConfigurationInstanceSourceDetails: %s.", m.SourceType) + common.Logf("Received unsupported enum value for InstanceConfigurationInstanceSourceDetails: %s.", m.SourceType) return *m, nil } } @@ -81,7 +81,7 @@ func (m instanceconfigurationinstancesourcedetails) ValidateEnumValue() (bool, e errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_image_filter_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_image_filter_details.go index 3e7f6bd9b1..e92ddc623a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_image_filter_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_image_filter_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ type InstanceConfigurationInstanceSourceImageFilterDetails struct { CompartmentId *string `mandatory:"false" json:"compartmentId"` // Filter based on these defined tags. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). DefinedTagsFilter map[string]map[string]interface{} `mandatory:"false" json:"definedTagsFilter"` // The image's operating system. @@ -51,7 +51,7 @@ func (m InstanceConfigurationInstanceSourceImageFilterDetails) ValidateEnumValue errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go index f886db432c..8a18ea7a40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m InstanceConfigurationInstanceSourceViaBootVolumeDetails) ValidateEnumVal errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go index ba61d4f243..c53234308d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,7 +37,7 @@ type InstanceConfigurationInstanceSourceViaImageDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. @@ -59,7 +59,7 @@ func (m InstanceConfigurationInstanceSourceViaImageDetails) ValidateEnumValue() errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go index e2e21816d6..9f4d3030dc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig) Validat } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go index dda188e70c..e74b3550b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) Validat } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go index 7242b533f3..3730513339 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -77,7 +77,7 @@ func (m InstanceConfigurationIntelVmLaunchInstancePlatformConfig) ValidateEnumVa errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go index 5dd1b328d2..9bedab8ede 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails) ValidateEnumV errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go index f4a0efb0d1..e6f6e15087 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_iscsi_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -76,7 +76,7 @@ func (m InstanceConfigurationIscsiAttachVolumeDetails) ValidateEnumValue() (bool errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go index 38bbefd1b0..166d5d1df3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_agent_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -55,7 +55,7 @@ type InstanceConfigurationLaunchInstanceAgentConfigDetails struct { // To get a list of available plugins, use the // ListInstanceagentAvailablePlugins // operation in the Oracle Cloud Agent API. For more information about the available plugins, see - // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + // Managing Plugins with Oracle Cloud Agent (https://docs.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` // The configuration of plugins associated with this instance. @@ -73,7 +73,7 @@ func (m InstanceConfigurationLaunchInstanceAgentConfigDetails) ValidateEnumValue errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go index f3637302d0..106d3356eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -34,6 +34,15 @@ type InstanceConfigurationLaunchInstanceDetails struct { // The OCID of the compute capacity reservation this instance is launched under. CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` + // Whether to enable AI enterprise on the instance. + IsAIEnterpriseEnabled *bool `mandatory:"false" json:"isAIEnterpriseEnabled"` + + PlacementConstraintDetails InstanceConfigurationPlacementConstraintDetails `mandatory:"false" json:"placementConstraintDetails"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in. + ComputeClusterId *string `mandatory:"false" json:"computeClusterId"` + // The OCID of the compartment containing the instance. // Instances created from instance configurations are placed in the same compartment // as the instance that was used to create the instance configuration. @@ -45,11 +54,13 @@ type InstanceConfigurationLaunchInstanceDetails struct { CreateVnicDetails *InstanceConfigurationCreateVnicDetails `mandatory:"false" json:"createVnicDetails"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -66,7 +77,7 @@ type InstanceConfigurationLaunchInstanceDetails struct { ExtendedMetadata map[string]interface{} `mandatory:"false" json:"extendedMetadata"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -87,7 +98,7 @@ type InstanceConfigurationLaunchInstanceDetails struct { // iqn.2015-02.oracle.boot. // For more information about the Bring Your Own Image feature of // Oracle Cloud Infrastructure, see - // Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm). + // Bring Your Own Image (https://docs.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm). // For more information about iPXE, see http://ipxe.org. IpxeScript *string `mandatory:"false" json:"ipxeScript"` @@ -181,6 +192,9 @@ type InstanceConfigurationLaunchInstanceDetails struct { AvailabilityConfig *InstanceConfigurationAvailabilityConfig `mandatory:"false" json:"availabilityConfig"` PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `mandatory:"false" json:"preemptibleInstanceConfig"` + + // List of licensing configurations associated with target launch values. + LicensingConfigs []LaunchInstanceLicensingConfig `mandatory:"false" json:"licensingConfigs"` } func (m InstanceConfigurationLaunchInstanceDetails) String() string { @@ -200,7 +214,7 @@ func (m InstanceConfigurationLaunchInstanceDetails) ValidateEnumValue() (bool, e errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreferredMaintenanceAction: %s. Supported values are: %s.", m.PreferredMaintenanceAction, strings.Join(GetInstanceConfigurationLaunchInstanceDetailsPreferredMaintenanceActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -210,6 +224,9 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) model := struct { AvailabilityDomain *string `json:"availabilityDomain"` CapacityReservationId *string `json:"capacityReservationId"` + IsAIEnterpriseEnabled *bool `json:"isAIEnterpriseEnabled"` + PlacementConstraintDetails instanceconfigurationplacementconstraintdetails `json:"placementConstraintDetails"` + ComputeClusterId *string `json:"computeClusterId"` CompartmentId *string `json:"compartmentId"` ClusterPlacementGroupId *string `json:"clusterPlacementGroupId"` CreateVnicDetails *InstanceConfigurationCreateVnicDetails `json:"createVnicDetails"` @@ -234,6 +251,7 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) InstanceOptions *InstanceConfigurationInstanceOptions `json:"instanceOptions"` AvailabilityConfig *InstanceConfigurationAvailabilityConfig `json:"availabilityConfig"` PreemptibleInstanceConfig *PreemptibleInstanceConfigDetails `json:"preemptibleInstanceConfig"` + LicensingConfigs []launchinstancelicensingconfig `json:"licensingConfigs"` }{} e = json.Unmarshal(data, &model) @@ -245,6 +263,20 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) m.CapacityReservationId = model.CapacityReservationId + m.IsAIEnterpriseEnabled = model.IsAIEnterpriseEnabled + + nn, e = model.PlacementConstraintDetails.UnmarshalPolymorphicJSON(model.PlacementConstraintDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlacementConstraintDetails = nn.(InstanceConfigurationPlacementConstraintDetails) + } else { + m.PlacementConstraintDetails = nil + } + + m.ComputeClusterId = model.ComputeClusterId + m.CompartmentId = model.CompartmentId m.ClusterPlacementGroupId = model.ClusterPlacementGroupId @@ -309,6 +341,18 @@ func (m *InstanceConfigurationLaunchInstanceDetails) UnmarshalJSON(data []byte) m.PreemptibleInstanceConfig = model.PreemptibleInstanceConfig + m.LicensingConfigs = make([]LaunchInstanceLicensingConfig, len(model.LicensingConfigs)) + for i, n := range model.LicensingConfigs { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.LicensingConfigs[i] = nn.(LaunchInstanceLicensingConfig) + } else { + m.LicensingConfigs[i] = nil + } + } return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go index f1e3d285d9..a93d8e0aa5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -118,7 +118,7 @@ func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalPolymorphic err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceConfigurationLaunchInstancePlatformConfig: %s.", m.Type) + common.Logf("Received unsupported enum value for InstanceConfigurationLaunchInstancePlatformConfig: %s.", m.Type) return *m, nil } } @@ -154,7 +154,7 @@ func (m instanceconfigurationlaunchinstanceplatformconfig) ValidateEnumValue() ( errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go index 04758c8512..99f0340c88 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -51,6 +51,9 @@ type InstanceConfigurationLaunchInstanceShapeConfigDetails struct { // The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. Nvmes *int `mandatory:"false" json:"nvmes"` + + // This field is reserved for internal use. + ResourceManagement InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum `mandatory:"false" json:"resourceManagement,omitempty"` } func (m InstanceConfigurationLaunchInstanceShapeConfigDetails) String() string { @@ -66,8 +69,11 @@ func (m InstanceConfigurationLaunchInstanceShapeConfigDetails) ValidateEnumValue if _, ok := GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues(), ","))) } + if _, ok := GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum(string(m.ResourceManagement)); !ok && m.ResourceManagement != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceManagement: %s. Supported values are: %s.", m.ResourceManagement, strings.Join(GetInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -117,3 +123,45 @@ func GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpu enum, ok := mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum Enum with underlying type: string +type InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum string + +// Set of constants representing the allowable values for InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum +const ( + InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementDynamic InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum = "DYNAMIC" + InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementStatic InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum = "STATIC" +) + +var mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum = map[string]InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum{ + "DYNAMIC": InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementDynamic, + "STATIC": InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementStatic, +} + +var mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumLowerCase = map[string]InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum{ + "dynamic": InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementDynamic, + "static": InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementStatic, +} + +// GetInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumValues Enumerates the set of values for InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum +func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumValues() []InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum { + values := make([]InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum, 0) + for _, v := range mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum { + values = append(values, v) + } + return values +} + +// GetInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumStringValues Enumerates the set of values in String for InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum +func GetInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumStringValues() []string { + return []string{ + "DYNAMIC", + "STATIC", + } +} + +// GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum(val string) (InstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnum, bool) { + enum, ok := mappingInstanceConfigurationLaunchInstanceShapeConfigDetailsResourceManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go index 7c9350e500..ebbe9af386 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -90,7 +90,7 @@ func (m InstanceConfigurationLaunchOptions) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RemoteDataVolumeType: %s. Supported values are: %s.", m.RemoteDataVolumeType, strings.Join(GetInstanceConfigurationLaunchOptionsRemoteDataVolumeTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go index f128ca9a4c..5b022e93af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_paravirtualized_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -76,7 +76,7 @@ func (m InstanceConfigurationParavirtualizedAttachVolumeDetails) ValidateEnumVal errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go index 739011031f..7848454e8b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_performance_based_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -44,7 +44,7 @@ func (m InstanceConfigurationPerformanceBasedAutotunePolicy) ValidateEnumValue() errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_placement_constraint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_placement_constraint_details.go new file mode 100644 index 0000000000..b83333f6a8 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_placement_constraint_details.go @@ -0,0 +1,83 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstanceConfigurationPlacementConstraintDetails The details for providing placement constraints. +type InstanceConfigurationPlacementConstraintDetails interface { +} + +type instanceconfigurationplacementconstraintdetails struct { + JsonData []byte + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *instanceconfigurationplacementconstraintdetails) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerinstanceconfigurationplacementconstraintdetails instanceconfigurationplacementconstraintdetails + s := struct { + Model Unmarshalerinstanceconfigurationplacementconstraintdetails + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *instanceconfigurationplacementconstraintdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "HOST_GROUP": + mm := InstanceConfigurationHostGroupPlacementConstraintDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + common.Logf("Received unsupported enum value for InstanceConfigurationPlacementConstraintDetails: %s.", m.Type) + return *m, nil + } +} + +func (m instanceconfigurationplacementconstraintdetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m instanceconfigurationplacementconstraintdetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go index dc84789836..8659d4eded 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,12 +39,12 @@ type InstanceConfigurationSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -60,7 +60,7 @@ func (m InstanceConfigurationSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go index 378c5e368a..74b30cfc86 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *instanceconfigurationvolumesourcedetails) UnmarshalPolymorphicJSON(data err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceConfigurationVolumeSourceDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for InstanceConfigurationVolumeSourceDetails: %s.", m.Type) return *m, nil } } @@ -81,7 +81,7 @@ func (m instanceconfigurationvolumesourcedetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go index 12934c109b..c7a7a8935c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m InstanceConfigurationVolumeSourceFromVolumeBackupDetails) ValidateEnumVa errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go index e21478c579..d9c55f79af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_volume_source_from_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m InstanceConfigurationVolumeSourceFromVolumeDetails) ValidateEnumValue() errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go index 69f20eb775..ac7d938646 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_console_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // InstanceConsoleConnection The `InstanceConsoleConnection` API provides you with console access to Compute instances, // enabling you to troubleshoot malfunctioning instances remotely. -// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm). +// For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.oracle.com/iaas/Content/Compute/References/serialconsole.htm). type InstanceConsoleConnection struct { // The OCID of the compartment to contain the console connection. @@ -33,7 +33,7 @@ type InstanceConsoleConnection struct { ConnectionString *string `mandatory:"false" json:"connectionString"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -41,7 +41,7 @@ type InstanceConsoleConnection struct { Fingerprint *string `mandatory:"false" json:"fingerprint"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -76,7 +76,7 @@ func (m InstanceConsoleConnection) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetInstanceConsoleConnectionLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go index bda34885e2..75024c6ba9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_credentials.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m InstanceCredentials) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_alternative_resolution_actions.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_alternative_resolution_actions.go index 8337cec681..cd02b26054 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_alternative_resolution_actions.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_alternative_resolution_actions.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event.go index df104d6bbb..d6d61d3897 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InstanceMaintenanceEvent It is the event in which the maintenance action will be be performed on the customer instance on the scheduled date and time. type InstanceMaintenanceEvent struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance event. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance event. Id *string `mandatory:"true" json:"id"` // The OCID of the instance. @@ -36,11 +36,11 @@ type InstanceMaintenanceEvent struct { // This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have // tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, // deferred, or even cancelled. Please see the - // Instance Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. + // Instance Maintenance (https://docs.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. MaintenanceCategory InstanceMaintenanceEventMaintenanceCategoryEnum `mandatory:"true" json:"maintenanceCategory"` // This is the reason that Maintenance is being performed. See - // Instance Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. + // Instance Maintenance (https://docs.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. MaintenanceReason InstanceMaintenanceEventMaintenanceReasonEnum `mandatory:"true" json:"maintenanceReason"` // This is the action that will be performed on the Instance by OCI when the Maintenance begins. @@ -71,12 +71,12 @@ type InstanceMaintenanceEvent struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -147,7 +147,7 @@ func (m InstanceMaintenanceEvent) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event_summary.go index a4ea07b495..8d8366dd41 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_event_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InstanceMaintenanceEventSummary It is the event in which the maintenance action will be be performed on the customer instance on the scheduled date and time. type InstanceMaintenanceEventSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance event. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance event. Id *string `mandatory:"true" json:"id"` // The OCID of the instance. @@ -36,11 +36,11 @@ type InstanceMaintenanceEventSummary struct { // This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have // tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, // deferred, or even cancelled. Please see the - // Instance Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. + // Instance Maintenance (https://docs.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. MaintenanceCategory InstanceMaintenanceEventMaintenanceCategoryEnum `mandatory:"true" json:"maintenanceCategory"` // This is the reason that Maintenance is being performed. See - // Instance Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. + // Instance Maintenance (https://docs.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details. MaintenanceReason InstanceMaintenanceEventMaintenanceReasonEnum `mandatory:"true" json:"maintenanceReason"` // This is the action that will be performed on the Instance by OCI when the Maintenance begins. @@ -67,7 +67,7 @@ type InstanceMaintenanceEventSummary struct { CreatedBy InstanceMaintenanceEventCreatedByEnum `mandatory:"true" json:"createdBy"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -76,7 +76,7 @@ type InstanceMaintenanceEventSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -137,7 +137,7 @@ func (m InstanceMaintenanceEventSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go index fdcf497a3f..b743de6481 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_maintenance_reboot.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m InstanceMaintenanceReboot) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_options.go index 4b19f1fcd5..4b7ac99686 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m InstanceOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go index f6a948f19f..0b5ff8ecdb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,17 +23,17 @@ import ( // InstancePool An instance pool is a set of instances within the same region that are managed as a group. // For more information about instance pools and instance configurations, see -// Managing Compute Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm). +// Managing Compute Instances (https://docs.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm). type InstancePool struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the instance // pool. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated // with the instance pool. InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` @@ -51,7 +51,7 @@ type InstancePool struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -60,7 +60,7 @@ type InstancePool struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -74,6 +74,8 @@ type InstancePool struct { // A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. // The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"` + + LifecycleManagement *InstancePoolLifecycleManagementDetails `mandatory:"false" json:"lifecycleManagement"` } func (m InstancePool) String() string { @@ -90,7 +92,7 @@ func (m InstancePool) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go index 4a469017e9..a0ef53ae24 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // InstancePoolInstance Information about an instance that belongs to an instance pool. type InstancePoolInstance struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" json:"instancePoolId"` // The availability domain the instance is running in. @@ -36,11 +36,11 @@ type InstancePoolInstance struct { // The attachment state of the instance in relation to the instance pool. LifecycleState InstancePoolInstanceLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the // instance. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration // used to create the instance. InstanceConfigurationId *string `mandatory:"true" json:"instanceConfigurationId"` @@ -83,7 +83,7 @@ func (m InstancePoolInstance) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -93,21 +93,27 @@ type InstancePoolInstanceLifecycleStateEnum string // Set of constants representing the allowable values for InstancePoolInstanceLifecycleStateEnum const ( - InstancePoolInstanceLifecycleStateAttaching InstancePoolInstanceLifecycleStateEnum = "ATTACHING" - InstancePoolInstanceLifecycleStateActive InstancePoolInstanceLifecycleStateEnum = "ACTIVE" - InstancePoolInstanceLifecycleStateDetaching InstancePoolInstanceLifecycleStateEnum = "DETACHING" + InstancePoolInstanceLifecycleStateAttaching InstancePoolInstanceLifecycleStateEnum = "ATTACHING" + InstancePoolInstanceLifecycleStateActive InstancePoolInstanceLifecycleStateEnum = "ACTIVE" + InstancePoolInstanceLifecycleStateDetaching InstancePoolInstanceLifecycleStateEnum = "DETACHING" + InstancePoolInstanceLifecycleStateTerminationAwait InstancePoolInstanceLifecycleStateEnum = "TERMINATION_AWAIT" + InstancePoolInstanceLifecycleStateTerminationProceed InstancePoolInstanceLifecycleStateEnum = "TERMINATION_PROCEED" ) var mappingInstancePoolInstanceLifecycleStateEnum = map[string]InstancePoolInstanceLifecycleStateEnum{ - "ATTACHING": InstancePoolInstanceLifecycleStateAttaching, - "ACTIVE": InstancePoolInstanceLifecycleStateActive, - "DETACHING": InstancePoolInstanceLifecycleStateDetaching, + "ATTACHING": InstancePoolInstanceLifecycleStateAttaching, + "ACTIVE": InstancePoolInstanceLifecycleStateActive, + "DETACHING": InstancePoolInstanceLifecycleStateDetaching, + "TERMINATION_AWAIT": InstancePoolInstanceLifecycleStateTerminationAwait, + "TERMINATION_PROCEED": InstancePoolInstanceLifecycleStateTerminationProceed, } var mappingInstancePoolInstanceLifecycleStateEnumLowerCase = map[string]InstancePoolInstanceLifecycleStateEnum{ - "attaching": InstancePoolInstanceLifecycleStateAttaching, - "active": InstancePoolInstanceLifecycleStateActive, - "detaching": InstancePoolInstanceLifecycleStateDetaching, + "attaching": InstancePoolInstanceLifecycleStateAttaching, + "active": InstancePoolInstanceLifecycleStateActive, + "detaching": InstancePoolInstanceLifecycleStateDetaching, + "termination_await": InstancePoolInstanceLifecycleStateTerminationAwait, + "termination_proceed": InstancePoolInstanceLifecycleStateTerminationProceed, } // GetInstancePoolInstanceLifecycleStateEnumValues Enumerates the set of values for InstancePoolInstanceLifecycleStateEnum @@ -125,6 +131,8 @@ func GetInstancePoolInstanceLifecycleStateEnumStringValues() []string { "ATTACHING", "ACTIVE", "DETACHING", + "TERMINATION_AWAIT", + "TERMINATION_PROCEED", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go index 5a16f470c5..6f2abe7592 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_instance_load_balancer_backend.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -51,7 +51,7 @@ func (m InstancePoolInstanceLoadBalancerBackend) ValidateEnumValue() (bool, erro } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_actions_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_actions_details.go new file mode 100644 index 0000000000..ed5d738cc9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_actions_details.go @@ -0,0 +1,43 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstancePoolLifecycleActionsDetails The lifecycle actions for the instance pool. +type InstancePoolLifecycleActionsDetails struct { + PreTermination *InstancePoolPreTerminationActionDetails `mandatory:"false" json:"preTermination"` +} + +func (m InstancePoolLifecycleActionsDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstancePoolLifecycleActionsDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_management_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_management_details.go new file mode 100644 index 0000000000..9637afc082 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_lifecycle_management_details.go @@ -0,0 +1,43 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstancePoolLifecycleManagementDetails The lifecycle management options for the instance pool. +type InstancePoolLifecycleManagementDetails struct { + LifecycleActions *InstancePoolLifecycleActionsDetails `mandatory:"true" json:"lifecycleActions"` +} + +func (m InstancePoolLifecycleManagementDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstancePoolLifecycleManagementDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go index 25a5815033..e5768a6fd6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_load_balancer_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,13 +24,13 @@ import ( // InstancePoolLoadBalancerAttachment Represents a load balancer that is attached to an instance pool. type InstancePoolLoadBalancerAttachment struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attachment. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool of the load balancer attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool of the load balancer attachment. InstancePoolId *string `mandatory:"true" json:"instancePoolId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attached to the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer attached to the instance pool. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` // The name of the backend set on the load balancer. @@ -62,7 +62,7 @@ func (m InstancePoolLoadBalancerAttachment) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go index 8194435023..e2572fd238 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,11 @@ type InstancePoolPlacementConfiguration struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in. + ComputeClusterId *string `mandatory:"false" json:"computeClusterId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated. // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool. PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"` @@ -61,7 +65,7 @@ func (m InstancePoolPlacementConfiguration) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go index 2e78959ad2..c72f131b0d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails) ValidateEnumValue errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go index 62ae08cc62..7dc97c1308 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InstancePoolPlacementPrimarySubnet Details about the IPv6 primary subnet. type InstancePoolPlacementPrimarySubnet struct { - // The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. + // The subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. SubnetId *string `mandatory:"true" json:"subnetId"` // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled @@ -52,7 +52,7 @@ func (m InstancePoolPlacementPrimarySubnet) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go index 84b34c4b9a..1a83bdd4fb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InstancePoolPlacementSecondaryVnicSubnet The secondary VNIC object for the placement configuration for an instance pool. type InstancePoolPlacementSecondaryVnicSubnet struct { - // The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. + // The subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. SubnetId *string `mandatory:"true" json:"subnetId"` // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled @@ -56,7 +56,7 @@ func (m InstancePoolPlacementSecondaryVnicSubnet) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go index 7272d91938..72ce27cf10 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InstancePoolPlacementSubnetDetails Base details about the IPv6 subnet. type InstancePoolPlacementSubnetDetails struct { - // The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. + // The subnet OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. SubnetId *string `mandatory:"true" json:"subnetId"` // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled @@ -52,7 +52,7 @@ func (m InstancePoolPlacementSubnetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_details.go new file mode 100644 index 0000000000..0e3f76586e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_details.go @@ -0,0 +1,50 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstancePoolPreTerminationActionDetails The data for pre-termination action for an instance pool +type InstancePoolPreTerminationActionDetails struct { + + // Whether pre-termination action is enabled or not. + IsEnabled *bool `mandatory:"true" json:"isEnabled"` + + // The timeout in seconds for pre-termination action for an instance pool. + Timeout *int `mandatory:"true" json:"timeout"` + + OnTimeout *InstancePoolPreTerminationActionHandleTimeoutDetails `mandatory:"true" json:"onTimeout"` +} + +func (m InstancePoolPreTerminationActionDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstancePoolPreTerminationActionDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_handle_timeout_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_handle_timeout_details.go new file mode 100644 index 0000000000..07e1384553 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_pre_termination_action_handle_timeout_details.go @@ -0,0 +1,146 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// InstancePoolPreTerminationActionHandleTimeoutDetails Options to handle timeout for pre-termination action. +type InstancePoolPreTerminationActionHandleTimeoutDetails struct { + + // Whether the block volume should be preserved after termination. + PreserveBlockVolumeMode InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum `mandatory:"true" json:"preserveBlockVolumeMode"` + + // Whether the boot volume should be preserved after termination. + PreserveBootVolumeMode InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum `mandatory:"true" json:"preserveBootVolumeMode"` +} + +func (m InstancePoolPreTerminationActionHandleTimeoutDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m InstancePoolPreTerminationActionHandleTimeoutDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum(string(m.PreserveBlockVolumeMode)); !ok && m.PreserveBlockVolumeMode != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreserveBlockVolumeMode: %s. Supported values are: %s.", m.PreserveBlockVolumeMode, strings.Join(GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumStringValues(), ","))) + } + if _, ok := GetMappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum(string(m.PreserveBootVolumeMode)); !ok && m.PreserveBootVolumeMode != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PreserveBootVolumeMode: %s. Supported values are: %s.", m.PreserveBootVolumeMode, strings.Join(GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum Enum with underlying type: string +type InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum string + +// Set of constants representing the allowable values for InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum +const ( + InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModePreserveAlways InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum = "PRESERVE_ALWAYS" + InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModePreserveOnTimeout InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum = "PRESERVE_ON_TIMEOUT" + InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeDeleteAlways InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum = "DELETE_ALWAYS" +) + +var mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum = map[string]InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum{ + "PRESERVE_ALWAYS": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModePreserveAlways, + "PRESERVE_ON_TIMEOUT": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModePreserveOnTimeout, + "DELETE_ALWAYS": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeDeleteAlways, +} + +var mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumLowerCase = map[string]InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum{ + "preserve_always": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModePreserveAlways, + "preserve_on_timeout": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModePreserveOnTimeout, + "delete_always": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeDeleteAlways, +} + +// GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumValues Enumerates the set of values for InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum +func GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumValues() []InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum { + values := make([]InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum, 0) + for _, v := range mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum { + values = append(values, v) + } + return values +} + +// GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumStringValues Enumerates the set of values in String for InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum +func GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumStringValues() []string { + return []string{ + "PRESERVE_ALWAYS", + "PRESERVE_ON_TIMEOUT", + "DELETE_ALWAYS", + } +} + +// GetMappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum(val string) (InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnum, bool) { + enum, ok := mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBlockVolumeModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum Enum with underlying type: string +type InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum string + +// Set of constants representing the allowable values for InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum +const ( + InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModePreserveAlways InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum = "PRESERVE_ALWAYS" + InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModePreserveOnTimeout InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum = "PRESERVE_ON_TIMEOUT" + InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeDeleteAlways InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum = "DELETE_ALWAYS" +) + +var mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum = map[string]InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum{ + "PRESERVE_ALWAYS": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModePreserveAlways, + "PRESERVE_ON_TIMEOUT": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModePreserveOnTimeout, + "DELETE_ALWAYS": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeDeleteAlways, +} + +var mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumLowerCase = map[string]InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum{ + "preserve_always": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModePreserveAlways, + "preserve_on_timeout": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModePreserveOnTimeout, + "delete_always": InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeDeleteAlways, +} + +// GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumValues Enumerates the set of values for InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum +func GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumValues() []InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum { + values := make([]InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum, 0) + for _, v := range mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum { + values = append(values, v) + } + return values +} + +// GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumStringValues Enumerates the set of values in String for InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum +func GetInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumStringValues() []string { + return []string{ + "PRESERVE_ALWAYS", + "PRESERVE_ON_TIMEOUT", + "DELETE_ALWAYS", + } +} + +// GetMappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum(val string) (InstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnum, bool) { + enum, ok := mappingInstancePoolPreTerminationActionHandleTimeoutDetailsPreserveBootVolumeModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go index ba943a0ab5..77af01045d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -51,12 +51,12 @@ type InstancePoolSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -75,7 +75,7 @@ func (m InstancePoolSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go index 532030565f..db09b2d6e6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_power_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -69,7 +69,7 @@ func (m *instancepoweractiondetails) UnmarshalPolymorphicJSON(data []byte) (inte err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstancePowerActionDetails: %s.", m.ActionType) + common.Logf("Received unsupported enum value for InstancePowerActionDetails: %s.", m.ActionType) return *m, nil } } @@ -85,7 +85,7 @@ func (m instancepoweractiondetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go index ae4a44d8aa..599cd81658 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,7 +37,7 @@ type InstanceReservationConfig struct { // The fault domain of this capacity configuration. // If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). FaultDomain *string `mandatory:"false" json:"faultDomain"` ClusterConfig *ClusterConfigDetails `mandatory:"false" json:"clusterConfig"` @@ -59,7 +59,7 @@ func (m InstanceReservationConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go index 4eb5fdc22a..e3c08ba125 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,12 +36,12 @@ type InstanceReservationConfigDetails struct { InstanceShapeConfig *InstanceReservationShapeConfigDetails `mandatory:"false" json:"instanceShapeConfig"` // The fault domain to use for instances created using this capacity configuration. - // For more information, see Fault Domains (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). + // For more information, see Fault Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm#fault). // If you do not specify the fault domain, the capacity is available for an instance // that does not specify a fault domain. To change the fault domain for a reservation, // delete the reservation and create a new one in the preferred fault domain. // To retrieve a list of fault domains, use the `ListFaultDomains` operation in - // the Identity and Access Management Service API (https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/). + // the Identity and Access Management Service API (https://docs.oracle.com/iaas/api/#/en/identity/20160918/). // Example: `FAULT-DOMAIN-1` FaultDomain *string `mandatory:"false" json:"faultDomain"` @@ -62,7 +62,7 @@ func (m InstanceReservationConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go index 29fb643bd3..05a8a66762 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_reservation_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ import ( // Each shape only supports certain configurable values. If the values that you provide are not valid for the // specified `shape`, an error is returned. // For more information about customizing the resources that are allocated to flexible shapes, -// see Flexible Shapes (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible). +// see Flexible Shapes (https://docs.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible). type InstanceReservationShapeConfigDetails struct { // The total number of OCPUs available to the instance. @@ -49,7 +49,7 @@ func (m InstanceReservationShapeConfigDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go index 78670d505f..0359cb1189 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_shape_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -70,6 +70,9 @@ type InstanceShapeConfig struct { // in which case the actual number of OCPUs will be calculated based on this value // and the actual hardware. This must be a multiple of 2. Vcpus *int `mandatory:"false" json:"vcpus"` + + // This field is reserved for internal use. + ResourceManagement InstanceShapeConfigResourceManagementEnum `mandatory:"false" json:"resourceManagement,omitempty"` } func (m InstanceShapeConfig) String() string { @@ -85,8 +88,11 @@ func (m InstanceShapeConfig) ValidateEnumValue() (bool, error) { if _, ok := GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetInstanceShapeConfigBaselineOcpuUtilizationEnumStringValues(), ","))) } + if _, ok := GetMappingInstanceShapeConfigResourceManagementEnum(string(m.ResourceManagement)); !ok && m.ResourceManagement != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceManagement: %s. Supported values are: %s.", m.ResourceManagement, strings.Join(GetInstanceShapeConfigResourceManagementEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -136,3 +142,45 @@ func GetMappingInstanceShapeConfigBaselineOcpuUtilizationEnum(val string) (Insta enum, ok := mappingInstanceShapeConfigBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// InstanceShapeConfigResourceManagementEnum Enum with underlying type: string +type InstanceShapeConfigResourceManagementEnum string + +// Set of constants representing the allowable values for InstanceShapeConfigResourceManagementEnum +const ( + InstanceShapeConfigResourceManagementDynamic InstanceShapeConfigResourceManagementEnum = "DYNAMIC" + InstanceShapeConfigResourceManagementStatic InstanceShapeConfigResourceManagementEnum = "STATIC" +) + +var mappingInstanceShapeConfigResourceManagementEnum = map[string]InstanceShapeConfigResourceManagementEnum{ + "DYNAMIC": InstanceShapeConfigResourceManagementDynamic, + "STATIC": InstanceShapeConfigResourceManagementStatic, +} + +var mappingInstanceShapeConfigResourceManagementEnumLowerCase = map[string]InstanceShapeConfigResourceManagementEnum{ + "dynamic": InstanceShapeConfigResourceManagementDynamic, + "static": InstanceShapeConfigResourceManagementStatic, +} + +// GetInstanceShapeConfigResourceManagementEnumValues Enumerates the set of values for InstanceShapeConfigResourceManagementEnum +func GetInstanceShapeConfigResourceManagementEnumValues() []InstanceShapeConfigResourceManagementEnum { + values := make([]InstanceShapeConfigResourceManagementEnum, 0) + for _, v := range mappingInstanceShapeConfigResourceManagementEnum { + values = append(values, v) + } + return values +} + +// GetInstanceShapeConfigResourceManagementEnumStringValues Enumerates the set of values in String for InstanceShapeConfigResourceManagementEnum +func GetInstanceShapeConfigResourceManagementEnumStringValues() []string { + return []string{ + "DYNAMIC", + "STATIC", + } +} + +// GetMappingInstanceShapeConfigResourceManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingInstanceShapeConfigResourceManagementEnum(val string) (InstanceShapeConfigResourceManagementEnum, bool) { + enum, ok := mappingInstanceShapeConfigResourceManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go index 53859f0d26..0dc6945dea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *instancesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interface err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for InstanceSourceDetails: %s.", m.SourceType) + common.Logf("Received unsupported enum value for InstanceSourceDetails: %s.", m.SourceType) return *m, nil } } @@ -81,7 +81,7 @@ func (m instancesourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_image_filter_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_image_filter_details.go index 20644d4681..189efaeef1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_image_filter_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_image_filter_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,7 +28,7 @@ type InstanceSourceImageFilterDetails struct { CompartmentId *string `mandatory:"true" json:"compartmentId"` // Filter based on these defined tags. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). DefinedTagsFilter map[string]map[string]interface{} `mandatory:"false" json:"definedTagsFilter"` // The image's operating system. @@ -51,7 +51,7 @@ func (m InstanceSourceImageFilterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go index 49bbad9ac9..8b8661a834 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m InstanceSourceViaBootVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go index f683b98fd5..13e30bb981 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,7 +36,7 @@ type InstanceSourceViaImageDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. @@ -58,7 +58,7 @@ func (m InstanceSourceViaImageDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go index a0fc6e5c11..65db47dc4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -73,7 +73,7 @@ func (m InstanceSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go index 9531214f86..a9fa2db29d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m IntelIcelakeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, e } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go index cffab00f9f..fb01ed6322 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m IntelIcelakeBmPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go index 792aa1113f..e73de4a62a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m IntelSkylakeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, e } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go index 020acc8e9c..65f51f6636 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m IntelSkylakeBmPlatformConfig) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go index fcb70fe248..2bac92a3c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -77,7 +77,7 @@ func (m IntelVmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go index 97973da86c..93b9b8ac6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -77,7 +77,7 @@ func (m IntelVmPlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_update_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_update_instance_platform_config.go index 4c29302b21..f738556f02 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_update_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_vm_update_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m IntelVmUpdateInstancePlatformConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go index c3ff8b67bd..bae352d531 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/internet_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,26 +23,26 @@ import ( // InternetGateway Represents a router that connects the edge of a VCN with the Internet. For an example scenario // that uses an internet gateway, see -// Typical Networking Service Scenarios (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm#scenarios). +// Typical Networking Service Scenarios (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm#scenarios). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type InternetGateway struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the internet gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the internet gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The internet gateway's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The internet gateway's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The internet gateway's current state. LifecycleState InternetGatewayLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -51,7 +51,7 @@ type InternetGateway struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -63,7 +63,7 @@ type InternetGateway struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -81,7 +81,7 @@ func (m InternetGateway) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_ip_address_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_ip_address_summary.go index 0d1c168a2a..e44a1f68d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_ip_address_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_ip_address_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,7 +27,7 @@ type InventoryIpAddressSummary struct { // The IP address assigned from a subnet. IpAddress *string `mandatory:"false" json:"ipAddress"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. VnicId *string `mandatory:"false" json:"vnicId"` // The name of the VNIC. @@ -48,7 +48,7 @@ func (m InventoryIpAddressSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_resource_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_resource_summary.go index 8aa0a1cdf9..9324b7a363 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_resource_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_resource_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -30,13 +30,16 @@ type InventoryResourceSummary struct { // Resource types of the resource. ResourceType InventoryResourceSummaryResourceTypeEnum `mandatory:"false" json:"resourceType,omitempty"` + // Mac Address of IP Resource + MacAddress *string `mandatory:"false" json:"macAddress"` + // Lists the 'IpAddressCollection' object. IpAddressCollection []InventoryIpAddressSummary `mandatory:"false" json:"ipAddressCollection"` // The region name of the corresponding resource. Region *string `mandatory:"false" json:"region"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` } @@ -54,7 +57,7 @@ func (m InventoryResourceSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceType: %s. Supported values are: %s.", m.ResourceType, strings.Join(GetInventoryResourceSummaryResourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_cidr_block_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_cidr_block_summary.go index 65defaa594..0d7f7bb0d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_cidr_block_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_cidr_block_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m InventorySubnetCidrBlockSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_summary.go index 32cab41202..4fed05f34f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_subnet_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InventorySubnetSummary Lists subnet and its associated resources. type InventorySubnetSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"false" json:"subnetId"` // Name of the subnet within a VCN. @@ -42,7 +42,7 @@ type InventorySubnetSummary struct { // Region name of the subnet. Region *string `mandatory:"false" json:"region"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Lists the `ResourceCollection` object. @@ -63,7 +63,7 @@ func (m InventorySubnetSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceType: %s. Supported values are: %s.", m.ResourceType, strings.Join(GetInventorySubnetSummaryResourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_cidr_block_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_cidr_block_summary.go index 3f3dbe35be..5f5558257c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_cidr_block_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_cidr_block_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m InventoryVcnCidrBlockSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_summary.go index 565ab4e021..a76b4be5c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/inventory_vcn_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // InventoryVcnSummary Provides the summary of a VCN's IP Inventory data under specified compartments. type InventoryVcnSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN . + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN . VcnId *string `mandatory:"false" json:"vcnId"` // Name of the VCN. @@ -42,7 +42,7 @@ type InventoryVcnSummary struct { // Region name of the VCN. Region *string `mandatory:"false" json:"region"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Lists `Subnetcollection` objects @@ -63,7 +63,7 @@ func (m InventoryVcnSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceType: %s. Supported values are: %s.", m.ResourceType, strings.Join(GetInventoryVcnSummaryResourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_collection.go index 6d8b9d3654..ad65ff61b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -52,7 +52,7 @@ func (m IpInventoryCidrUtilizationCollection) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_summary.go index 882efc8f1f..62727fa2fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_cidr_utilization_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m IpInventoryCidrUtilizationSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_collection.go index 8908f5deca..cdcebfb7f0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -52,7 +52,7 @@ func (m IpInventoryCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_collection.go index 340e6931af..a15e5f1999 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -52,7 +52,7 @@ func (m IpInventorySubnetResourceCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_summary.go index cf65ab833e..3439350320 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_subnet_resource_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // IpInventorySubnetResourceSummary Provides the IP Inventory details of a subnet and its associated resources. type IpInventorySubnetResourceSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP address. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP address. IpId *string `mandatory:"false" json:"ipId"` // Lists the allocated private IP address. @@ -51,6 +51,9 @@ type IpInventorySubnetResourceSummary struct { // Name of the created resource. AssignedResourceName *string `mandatory:"false" json:"assignedResourceName"` + // Primary flag for IP Resource + IsPrimary *bool `mandatory:"false" json:"isPrimary"` + // Type of the resource. AssignedResourceType IpInventorySubnetResourceSummaryAssignedResourceTypeEnum `mandatory:"false" json:"assignedResourceType,omitempty"` @@ -84,7 +87,7 @@ func (m IpInventorySubnetResourceSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AssignedResourceType: %s. Supported values are: %s.", m.AssignedResourceType, strings.Join(GetIpInventorySubnetResourceSummaryAssignedResourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_collection.go index 283bd81cf6..bfc30e7170 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -49,7 +49,7 @@ func (m IpInventoryVcnOverlapCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_summary.go index 4a0900792b..d8fe9258e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_inventory_vcn_overlap_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // IpInventoryVcnOverlapSummary Provides the VCN overlap details. type IpInventoryVcnOverlapSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN . + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN . OverlappingVcnId *string `mandatory:"false" json:"overlappingVcnId"` // Name of the overlapping VCN. @@ -48,7 +48,7 @@ func (m IpInventoryVcnOverlapSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go index 5bb262327f..abbe9464d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -35,41 +35,29 @@ import ( // Oracle uses the IPSec connection's static routes when routing a tunnel's traffic *only* // if that tunnel's `routing` attribute = `STATIC`. Otherwise the static routes are ignored. // For more information about the workflow for setting up an IPSec connection, see -// Site-to-Site VPN Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). +// Site-to-Site VPN Overview (https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type IpSecConnection struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cpe object. CpeId *string `mandatory:"true" json:"cpeId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" json:"drgId"` - // The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The IPSec connection's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The IPSec connection's current state. LifecycleState IpSecConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // Static routes to the CPE. The CIDR must not be a - // multicast address or class E address. - // Used for routing a given IPSec tunnel's traffic only if the tunnel - // is using static routing. If you configure at least one tunnel to use static routing, then - // you must provide at least one valid static route. If you configure both - // tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. - // The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). - // Example: `10.0.1.0/24` - // Example: `2001:db8::/32` - StaticRoutes []string `mandatory:"true" json:"staticRoutes"` - // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -78,7 +66,7 @@ type IpSecConnection struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -88,7 +76,7 @@ type IpSecConnection struct { // If you don't provide a value when creating the IPSec connection, the `ipAddress` attribute // for the Cpe object specified by `cpeId` is used as the `cpeLocalIdentifier`. // For information about why you'd provide this value, see - // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + // If Your CPE Is Behind a NAT Device (https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). // Example IP address: `10.0.3.3` // Example hostname: `cpe.example.com` CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"` @@ -97,6 +85,18 @@ type IpSecConnection struct { // for `cpeLocalIdentifier`. CpeLocalIdentifierType IpSecConnectionCpeLocalIdentifierTypeEnum `mandatory:"false" json:"cpeLocalIdentifierType,omitempty"` + // Static routes to the CPE. The CIDR must not be a + // multicast address or class E address. + // Used for routing a given IPSec tunnel's traffic only if the tunnel + // is using static routing. If you configure at least one tunnel to use static routing, then + // you must provide at least one valid static route. If you configure both + // tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. + // The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // Example: `10.0.1.0/24` + // Example: `2001:db8::/32` + StaticRoutes []string `mandatory:"false" json:"staticRoutes"` + // The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` @@ -125,7 +125,7 @@ func (m IpSecConnection) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TransportType: %s. Supported values are: %s.", m.TransportType, strings.Join(GetIpSecConnectionTransportTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go index fd6b02dda1..4ba9ca5ae9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,10 +26,10 @@ import ( // - IPSecConnectionTunnelSharedSecret type IpSecConnectionDeviceConfig struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The IPSec connection's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The date and time the IPSec connection was created. @@ -50,7 +50,7 @@ func (m IpSecConnectionDeviceConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go index 36043c26df..c9fdd4b55e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_device_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,10 +25,10 @@ import ( // IPSecConnectionTunnel. type IpSecConnectionDeviceStatus struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPSec connection. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The IPSec connection's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The IPSec connection's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -50,7 +50,7 @@ func (m IpSecConnectionDeviceStatus) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go index 755bd3fefe..e907e05bc1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,10 +26,10 @@ import ( // IPSecConnectionTunnelSharedSecret object. type IpSecConnectionTunnel struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the tunnel. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. Id *string `mandatory:"true" json:"id"` // The tunnel's lifecycle state. @@ -93,7 +93,7 @@ type IpSecConnectionTunnel struct { PhaseTwoDetails *TunnelPhaseTwoDetails `mandatory:"false" json:"phaseTwoDetails"` - // The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel. + // The list of virtual circuit OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel. AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"` } @@ -129,7 +129,7 @@ func (m IpSecConnectionTunnel) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DpdMode: %s. Supported values are: %s.", m.DpdMode, strings.Join(GetIpSecConnectionTunnelDpdModeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go index 0d1e01d88a..e11d796367 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_error_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ func (m IpSecConnectionTunnelErrorDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go index aa9d87851e..2124edcecf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel_shared_secret.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m IpSecConnectionTunnelSharedSecret) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipam.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipam.go index 82372e8cc2..adbb0a3545 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipam.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipam.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m Ipam) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go index d5b688d04c..f36f6a82b1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,13 +25,13 @@ import ( // IpsecTunnelDrgAttachmentNetworkDetails Specifies the IPSec tunnel attached to the DRG. type IpsecTunnelDrgAttachmentNetworkDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"false" json:"id"` // The IPSec connection that contains the attached IPSec tunnel. IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit's DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit's DRG attachment. TransportAttachmentId *string `mandatory:"false" json:"transportAttachmentId"` } @@ -51,7 +51,7 @@ func (m IpsecTunnelDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6.go index e707182b2e..f628c0df6b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,10 +26,10 @@ import ( // You can create and assign an IPv6 to any VNIC that is in an IPv6-enabled subnet in an // IPv6-enabled VCN. // **Note:** IPv6 addressing is supported for all commercial and government regions. For important -// details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). +// details about IPv6 addressing in a VCN, see IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). type Ipv6 struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IPv6. // This is the same as the VNIC's compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -37,7 +37,7 @@ type Ipv6 struct { // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Id *string `mandatory:"true" json:"id"` // The IPv6 address of the `IPv6` object. The address is within the IPv6 prefix of the VNIC's subnet @@ -48,26 +48,42 @@ type Ipv6 struct { // The IPv6's current state. LifecycleState Ipv6LifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. SubnetId *string `mandatory:"true" json:"subnetId"` // The date and time the IPv6 was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the IPv6 is assigned to. - // The VNIC and IPv6 must be in the same subnet. - VnicId *string `mandatory:"true" json:"vnicId"` - // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // Length of cidr range. Optional field to specify flexible cidr. + CidrPrefixLength *int `mandatory:"false" json:"cidrPrefixLength"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the IPv6 is assigned to. + // The VNIC and IPv6 must be in the same subnet. + VnicId *string `mandatory:"false" json:"vnicId"` + + // State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE. + IpState Ipv6IpStateEnum `mandatory:"false" json:"ipState,omitempty"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime Ipv6LifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m Ipv6) String() string { @@ -83,8 +99,14 @@ func (m Ipv6) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetIpv6LifecycleStateEnumStringValues(), ","))) } + if _, ok := GetMappingIpv6IpStateEnum(string(m.IpState)); !ok && m.IpState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpState: %s. Supported values are: %s.", m.IpState, strings.Join(GetIpv6IpStateEnumStringValues(), ","))) + } + if _, ok := GetMappingIpv6LifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetIpv6LifetimeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -138,3 +160,87 @@ func GetMappingIpv6LifecycleStateEnum(val string) (Ipv6LifecycleStateEnum, bool) enum, ok := mappingIpv6LifecycleStateEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// Ipv6IpStateEnum Enum with underlying type: string +type Ipv6IpStateEnum string + +// Set of constants representing the allowable values for Ipv6IpStateEnum +const ( + Ipv6IpStateAssigned Ipv6IpStateEnum = "ASSIGNED" + Ipv6IpStateAvailable Ipv6IpStateEnum = "AVAILABLE" +) + +var mappingIpv6IpStateEnum = map[string]Ipv6IpStateEnum{ + "ASSIGNED": Ipv6IpStateAssigned, + "AVAILABLE": Ipv6IpStateAvailable, +} + +var mappingIpv6IpStateEnumLowerCase = map[string]Ipv6IpStateEnum{ + "assigned": Ipv6IpStateAssigned, + "available": Ipv6IpStateAvailable, +} + +// GetIpv6IpStateEnumValues Enumerates the set of values for Ipv6IpStateEnum +func GetIpv6IpStateEnumValues() []Ipv6IpStateEnum { + values := make([]Ipv6IpStateEnum, 0) + for _, v := range mappingIpv6IpStateEnum { + values = append(values, v) + } + return values +} + +// GetIpv6IpStateEnumStringValues Enumerates the set of values in String for Ipv6IpStateEnum +func GetIpv6IpStateEnumStringValues() []string { + return []string{ + "ASSIGNED", + "AVAILABLE", + } +} + +// GetMappingIpv6IpStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpv6IpStateEnum(val string) (Ipv6IpStateEnum, bool) { + enum, ok := mappingIpv6IpStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// Ipv6LifetimeEnum Enum with underlying type: string +type Ipv6LifetimeEnum string + +// Set of constants representing the allowable values for Ipv6LifetimeEnum +const ( + Ipv6LifetimeEphemeral Ipv6LifetimeEnum = "EPHEMERAL" + Ipv6LifetimeReserved Ipv6LifetimeEnum = "RESERVED" +) + +var mappingIpv6LifetimeEnum = map[string]Ipv6LifetimeEnum{ + "EPHEMERAL": Ipv6LifetimeEphemeral, + "RESERVED": Ipv6LifetimeReserved, +} + +var mappingIpv6LifetimeEnumLowerCase = map[string]Ipv6LifetimeEnum{ + "ephemeral": Ipv6LifetimeEphemeral, + "reserved": Ipv6LifetimeReserved, +} + +// GetIpv6LifetimeEnumValues Enumerates the set of values for Ipv6LifetimeEnum +func GetIpv6LifetimeEnumValues() []Ipv6LifetimeEnum { + values := make([]Ipv6LifetimeEnum, 0) + for _, v := range mappingIpv6LifetimeEnum { + values = append(values, v) + } + return values +} + +// GetIpv6LifetimeEnumStringValues Enumerates the set of values in String for Ipv6LifetimeEnum +func GetIpv6LifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingIpv6LifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingIpv6LifetimeEnum(val string) (Ipv6LifetimeEnum, bool) { + enum, ok := mappingIpv6LifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go index 5a1f7ec27e..137cac9084 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m Ipv6AddressIpv6SubnetCidrPairDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_vnic_detach_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_vnic_detach_request_response.go new file mode 100644 index 0000000000..21248d95a0 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_vnic_detach_request_response.go @@ -0,0 +1,106 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// Ipv6VnicDetachRequest wrapper for the Ipv6VnicDetach operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/Ipv6VnicDetach.go.html to see an example of how to use Ipv6VnicDetachRequest. +type Ipv6VnicDetachRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. + Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request Ipv6VnicDetachRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request Ipv6VnicDetachRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request Ipv6VnicDetachRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request Ipv6VnicDetachRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request Ipv6VnicDetachRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// Ipv6VnicDetachResponse wrapper for the Ipv6VnicDetach operation +type Ipv6VnicDetachResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Ipv6 instance + Ipv6 `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response Ipv6VnicDetachResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response Ipv6VnicDetachResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_i_scsi_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_i_scsi_volume_details.go index 3ffcdf7478..11df2a64a9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_i_scsi_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_i_scsi_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -101,7 +101,7 @@ func (m LaunchAttachIScsiVolumeDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionInTransitType: %s. Supported values are: %s.", m.EncryptionInTransitType, strings.Join(GetEncryptionInTransitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_paravirtualized_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_paravirtualized_volume_details.go index 43cf17d6fe..ae11c7122c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_paravirtualized_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_paravirtualized_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -91,7 +91,7 @@ func (m LaunchAttachParavirtualizedVolumeDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_volume_details.go index 30f3b493c9..3ddd9afd5f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_attach_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -98,7 +98,7 @@ func (m *launchattachvolumedetails) UnmarshalPolymorphicJSON(data []byte) (inter err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for LaunchAttachVolumeDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for LaunchAttachVolumeDetails: %s.", m.Type) return *m, nil } } @@ -144,7 +144,7 @@ func (m launchattachvolumedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_details.go index 31e6a0c04e..db619fdfe6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -61,7 +61,7 @@ func (m *launchcreatevolumedetails) UnmarshalPolymorphicJSON(data []byte) (inter err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for LaunchCreateVolumeDetails: %s.", m.VolumeCreationType) + common.Logf("Received unsupported enum value for LaunchCreateVolumeDetails: %s.", m.VolumeCreationType) return *m, nil } } @@ -77,7 +77,7 @@ func (m launchcreatevolumedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_from_attributes.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_from_attributes.go index 79d334cc8c..ad5045a640 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_from_attributes.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_create_volume_from_attributes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ type LaunchCreateVolumeFromAttributes struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. @@ -62,7 +62,7 @@ func (m LaunchCreateVolumeFromAttributes) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go index 80d018e718..521b4b0812 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_agent_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -55,7 +55,7 @@ type LaunchInstanceAgentConfigDetails struct { // To get a list of available plugins, use the // ListInstanceagentAvailablePlugins // operation in the Oracle Cloud Agent API. For more information about the available plugins, see - // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + // Managing Plugins with Oracle Cloud Agent (https://docs.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` // The configuration of plugins associated with this instance. @@ -73,7 +73,7 @@ func (m LaunchInstanceAgentConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go index 4671fbf6e8..b2d1ad4b92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_availability_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -51,7 +51,7 @@ func (m LaunchInstanceAvailabilityConfigDetails) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetLaunchInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go index cf6f96e943..15ccd60e67 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfigurationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfigurationRequest. type LaunchInstanceConfigurationRequest struct { // The OCID of the instance configuration. @@ -31,6 +31,10 @@ type LaunchInstanceConfigurationRequest struct { // may be rejected). OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in. + OpcComputeClusterId *string `mandatory:"false" contributesTo:"header" name:"opc-compute-cluster-id"` + // Unique Oracle-assigned identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -72,7 +76,7 @@ func (request LaunchInstanceConfigurationRequest) RetryPolicy() *common.RetryPol func (request LaunchInstanceConfigurationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -93,8 +97,8 @@ type LaunchInstanceConfigurationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go index d4c057ecbc..67be788e8b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -35,7 +35,7 @@ type LaunchInstanceDetails struct { // The OCID of the compute capacity reservation this instance is launched under. // You can opt out of all default reservations by specifying an empty string as input for this field. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` CreateVnicDetails *CreateVnicDetails `mandatory:"false" json:"createVnicDetails"` @@ -44,11 +44,13 @@ type LaunchInstanceDetails struct { DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -81,12 +83,12 @@ type LaunchInstanceDetails struct { ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - // compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) that the instance will be created in. ComputeClusterId *string `mandatory:"false" json:"computeClusterId"` // Deprecated. Instead use `hostnameLabel` in @@ -120,7 +122,7 @@ type LaunchInstanceDetails struct { // the primary boot volume is attached as a data volume through virtio-scsi drive. // For more information about the Bring Your Own Image feature of // Oracle Cloud Infrastructure, see - // Bring Your Own Image (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm). + // Bring Your Own Image (https://docs.oracle.com/iaas/Content/Compute/References/bringyourownimage.htm). // For more information about iPXE, see http://ipxe.org. IpxeScript *string `mandatory:"false" json:"ipxeScript"` @@ -193,8 +195,16 @@ type LaunchInstanceDetails struct { PlatformConfig LaunchInstancePlatformConfig `mandatory:"false" json:"platformConfig"` + PlacementConstraintDetails PlacementConstraintDetails `mandatory:"false" json:"placementConstraintDetails"` + + // Whether to enable AI enterprise on the instance. + IsAIEnterpriseEnabled *bool `mandatory:"false" json:"isAIEnterpriseEnabled"` + // The OCID of the Instance Configuration containing instance launch details. Any other fields supplied in this instance launch request will override the details stored in the Instance Configuration for this instance launch. InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"` + + // List of licensing configurations associated with target launch values. + LicensingConfigs []LaunchInstanceLicensingConfig `mandatory:"false" json:"licensingConfigs"` } func (m LaunchInstanceDetails) String() string { @@ -208,7 +218,7 @@ func (m LaunchInstanceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -243,7 +253,10 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { LaunchVolumeAttachments []launchattachvolumedetails `json:"launchVolumeAttachments"` IsPvEncryptionInTransitEnabled *bool `json:"isPvEncryptionInTransitEnabled"` PlatformConfig launchinstanceplatformconfig `json:"platformConfig"` + PlacementConstraintDetails placementconstraintdetails `json:"placementConstraintDetails"` + IsAIEnterpriseEnabled *bool `json:"isAIEnterpriseEnabled"` InstanceConfigurationId *string `json:"instanceConfigurationId"` + LicensingConfigs []launchinstancelicensingconfig `json:"licensingConfigs"` AvailabilityDomain *string `json:"availabilityDomain"` CompartmentId *string `json:"compartmentId"` }{} @@ -333,8 +346,32 @@ func (m *LaunchInstanceDetails) UnmarshalJSON(data []byte) (e error) { m.PlatformConfig = nil } + nn, e = model.PlacementConstraintDetails.UnmarshalPolymorphicJSON(model.PlacementConstraintDetails.JsonData) + if e != nil { + return + } + if nn != nil { + m.PlacementConstraintDetails = nn.(PlacementConstraintDetails) + } else { + m.PlacementConstraintDetails = nil + } + + m.IsAIEnterpriseEnabled = model.IsAIEnterpriseEnabled + m.InstanceConfigurationId = model.InstanceConfigurationId + m.LicensingConfigs = make([]LaunchInstanceLicensingConfig, len(model.LicensingConfigs)) + for i, n := range model.LicensingConfigs { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.LicensingConfigs[i] = nn.(LaunchInstanceLicensingConfig) + } else { + m.LicensingConfigs[i] = nil + } + } m.AvailabilityDomain = model.AvailabilityDomain m.CompartmentId = model.CompartmentId diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_licensing_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_licensing_config.go new file mode 100644 index 0000000000..d7a6d7bc24 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_licensing_config.go @@ -0,0 +1,178 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LaunchInstanceLicensingConfig The license config requested for the instance. +type LaunchInstanceLicensingConfig interface { + + // License Type for the OS license. + // * `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour). + // * `BRING_YOUR_OWN_LICENSE` - Bring your own license. + GetLicenseType() LaunchInstanceLicensingConfigLicenseTypeEnum +} + +type launchinstancelicensingconfig struct { + JsonData []byte + LicenseType LaunchInstanceLicensingConfigLicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *launchinstancelicensingconfig) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerlaunchinstancelicensingconfig launchinstancelicensingconfig + s := struct { + Model Unmarshalerlaunchinstancelicensingconfig + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.LicenseType = s.Model.LicenseType + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *launchinstancelicensingconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "WINDOWS": + mm := LaunchInstanceWindowsLicensingConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + common.Logf("Received unsupported enum value for LaunchInstanceLicensingConfig: %s.", m.Type) + return *m, nil + } +} + +// GetLicenseType returns LicenseType +func (m launchinstancelicensingconfig) GetLicenseType() LaunchInstanceLicensingConfigLicenseTypeEnum { + return m.LicenseType +} + +func (m launchinstancelicensingconfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m launchinstancelicensingconfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingLaunchInstanceLicensingConfigLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetLaunchInstanceLicensingConfigLicenseTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// LaunchInstanceLicensingConfigLicenseTypeEnum Enum with underlying type: string +type LaunchInstanceLicensingConfigLicenseTypeEnum string + +// Set of constants representing the allowable values for LaunchInstanceLicensingConfigLicenseTypeEnum +const ( + LaunchInstanceLicensingConfigLicenseTypeOciProvided LaunchInstanceLicensingConfigLicenseTypeEnum = "OCI_PROVIDED" + LaunchInstanceLicensingConfigLicenseTypeBringYourOwnLicense LaunchInstanceLicensingConfigLicenseTypeEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingLaunchInstanceLicensingConfigLicenseTypeEnum = map[string]LaunchInstanceLicensingConfigLicenseTypeEnum{ + "OCI_PROVIDED": LaunchInstanceLicensingConfigLicenseTypeOciProvided, + "BRING_YOUR_OWN_LICENSE": LaunchInstanceLicensingConfigLicenseTypeBringYourOwnLicense, +} + +var mappingLaunchInstanceLicensingConfigLicenseTypeEnumLowerCase = map[string]LaunchInstanceLicensingConfigLicenseTypeEnum{ + "oci_provided": LaunchInstanceLicensingConfigLicenseTypeOciProvided, + "bring_your_own_license": LaunchInstanceLicensingConfigLicenseTypeBringYourOwnLicense, +} + +// GetLaunchInstanceLicensingConfigLicenseTypeEnumValues Enumerates the set of values for LaunchInstanceLicensingConfigLicenseTypeEnum +func GetLaunchInstanceLicensingConfigLicenseTypeEnumValues() []LaunchInstanceLicensingConfigLicenseTypeEnum { + values := make([]LaunchInstanceLicensingConfigLicenseTypeEnum, 0) + for _, v := range mappingLaunchInstanceLicensingConfigLicenseTypeEnum { + values = append(values, v) + } + return values +} + +// GetLaunchInstanceLicensingConfigLicenseTypeEnumStringValues Enumerates the set of values in String for LaunchInstanceLicensingConfigLicenseTypeEnum +func GetLaunchInstanceLicensingConfigLicenseTypeEnumStringValues() []string { + return []string{ + "OCI_PROVIDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingLaunchInstanceLicensingConfigLicenseTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchInstanceLicensingConfigLicenseTypeEnum(val string) (LaunchInstanceLicensingConfigLicenseTypeEnum, bool) { + enum, ok := mappingLaunchInstanceLicensingConfigLicenseTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// LaunchInstanceLicensingConfigTypeEnum Enum with underlying type: string +type LaunchInstanceLicensingConfigTypeEnum string + +// Set of constants representing the allowable values for LaunchInstanceLicensingConfigTypeEnum +const ( + LaunchInstanceLicensingConfigTypeWindows LaunchInstanceLicensingConfigTypeEnum = "WINDOWS" +) + +var mappingLaunchInstanceLicensingConfigTypeEnum = map[string]LaunchInstanceLicensingConfigTypeEnum{ + "WINDOWS": LaunchInstanceLicensingConfigTypeWindows, +} + +var mappingLaunchInstanceLicensingConfigTypeEnumLowerCase = map[string]LaunchInstanceLicensingConfigTypeEnum{ + "windows": LaunchInstanceLicensingConfigTypeWindows, +} + +// GetLaunchInstanceLicensingConfigTypeEnumValues Enumerates the set of values for LaunchInstanceLicensingConfigTypeEnum +func GetLaunchInstanceLicensingConfigTypeEnumValues() []LaunchInstanceLicensingConfigTypeEnum { + values := make([]LaunchInstanceLicensingConfigTypeEnum, 0) + for _, v := range mappingLaunchInstanceLicensingConfigTypeEnum { + values = append(values, v) + } + return values +} + +// GetLaunchInstanceLicensingConfigTypeEnumStringValues Enumerates the set of values in String for LaunchInstanceLicensingConfigTypeEnum +func GetLaunchInstanceLicensingConfigTypeEnumStringValues() []string { + return []string{ + "WINDOWS", + } +} + +// GetMappingLaunchInstanceLicensingConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchInstanceLicensingConfigTypeEnum(val string) (LaunchInstanceLicensingConfigTypeEnum, bool) { + enum, ok := mappingLaunchInstanceLicensingConfigTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go index 9b107f962b..96d767562d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -29,9 +29,9 @@ import ( // Each shape only supports certain configurable values. If the values that you provide are not valid for the // specified `shape`, an error is returned. // For more information about shielded instances, see -// Shielded Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/References/shielded-instances.htm). +// Shielded Instances (https://docs.oracle.com/iaas/Content/Compute/References/shielded-instances.htm). // For more information about BIOS settings for bare metal instances, see -// BIOS Settings for Bare Metal Instances (https://docs.cloud.oracle.com/iaas/Content/Compute/References/bios-settings.htm). +// BIOS Settings for Bare Metal Instances (https://docs.oracle.com/iaas/Content/Compute/References/bios-settings.htm). type LaunchInstancePlatformConfig interface { // Whether Secure Boot is enabled on the instance. @@ -122,7 +122,7 @@ func (m *launchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (in err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for LaunchInstancePlatformConfig: %s.", m.Type) + common.Logf("Received unsupported enum value for LaunchInstancePlatformConfig: %s.", m.Type) return *m, nil } } @@ -158,7 +158,7 @@ func (m launchinstanceplatformconfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go index 58ea6080d7..764a813ec2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstanceRequest. type LaunchInstanceRequest struct { // Instance details @@ -69,7 +69,7 @@ func (request LaunchInstanceRequest) RetryPolicy() *common.RetryPolicy { func (request LaunchInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,8 +90,8 @@ type LaunchInstanceResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go index 3b0a215f8e..83eec5db0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -50,6 +50,9 @@ type LaunchInstanceShapeConfigDetails struct { // The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. Nvmes *int `mandatory:"false" json:"nvmes"` + + // This field is reserved for internal use. + ResourceManagement LaunchInstanceShapeConfigDetailsResourceManagementEnum `mandatory:"false" json:"resourceManagement,omitempty"` } func (m LaunchInstanceShapeConfigDetails) String() string { @@ -65,8 +68,11 @@ func (m LaunchInstanceShapeConfigDetails) ValidateEnumValue() (bool, error) { if _, ok := GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues(), ","))) } + if _, ok := GetMappingLaunchInstanceShapeConfigDetailsResourceManagementEnum(string(m.ResourceManagement)); !ok && m.ResourceManagement != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceManagement: %s. Supported values are: %s.", m.ResourceManagement, strings.Join(GetLaunchInstanceShapeConfigDetailsResourceManagementEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -116,3 +122,45 @@ func GetMappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val s enum, ok := mappingLaunchInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// LaunchInstanceShapeConfigDetailsResourceManagementEnum Enum with underlying type: string +type LaunchInstanceShapeConfigDetailsResourceManagementEnum string + +// Set of constants representing the allowable values for LaunchInstanceShapeConfigDetailsResourceManagementEnum +const ( + LaunchInstanceShapeConfigDetailsResourceManagementDynamic LaunchInstanceShapeConfigDetailsResourceManagementEnum = "DYNAMIC" + LaunchInstanceShapeConfigDetailsResourceManagementStatic LaunchInstanceShapeConfigDetailsResourceManagementEnum = "STATIC" +) + +var mappingLaunchInstanceShapeConfigDetailsResourceManagementEnum = map[string]LaunchInstanceShapeConfigDetailsResourceManagementEnum{ + "DYNAMIC": LaunchInstanceShapeConfigDetailsResourceManagementDynamic, + "STATIC": LaunchInstanceShapeConfigDetailsResourceManagementStatic, +} + +var mappingLaunchInstanceShapeConfigDetailsResourceManagementEnumLowerCase = map[string]LaunchInstanceShapeConfigDetailsResourceManagementEnum{ + "dynamic": LaunchInstanceShapeConfigDetailsResourceManagementDynamic, + "static": LaunchInstanceShapeConfigDetailsResourceManagementStatic, +} + +// GetLaunchInstanceShapeConfigDetailsResourceManagementEnumValues Enumerates the set of values for LaunchInstanceShapeConfigDetailsResourceManagementEnum +func GetLaunchInstanceShapeConfigDetailsResourceManagementEnumValues() []LaunchInstanceShapeConfigDetailsResourceManagementEnum { + values := make([]LaunchInstanceShapeConfigDetailsResourceManagementEnum, 0) + for _, v := range mappingLaunchInstanceShapeConfigDetailsResourceManagementEnum { + values = append(values, v) + } + return values +} + +// GetLaunchInstanceShapeConfigDetailsResourceManagementEnumStringValues Enumerates the set of values in String for LaunchInstanceShapeConfigDetailsResourceManagementEnum +func GetLaunchInstanceShapeConfigDetailsResourceManagementEnumStringValues() []string { + return []string{ + "DYNAMIC", + "STATIC", + } +} + +// GetMappingLaunchInstanceShapeConfigDetailsResourceManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLaunchInstanceShapeConfigDetailsResourceManagementEnum(val string) (LaunchInstanceShapeConfigDetailsResourceManagementEnum, bool) { + enum, ok := mappingLaunchInstanceShapeConfigDetailsResourceManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_windows_licensing_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_windows_licensing_config.go new file mode 100644 index 0000000000..244e2c94db --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_windows_licensing_config.go @@ -0,0 +1,70 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LaunchInstanceWindowsLicensingConfig The default windows licensing config. +type LaunchInstanceWindowsLicensingConfig struct { + + // License Type for the OS license. + // * `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour). + // * `BRING_YOUR_OWN_LICENSE` - Bring your own license. + LicenseType LaunchInstanceLicensingConfigLicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` +} + +// GetLicenseType returns LicenseType +func (m LaunchInstanceWindowsLicensingConfig) GetLicenseType() LaunchInstanceLicensingConfigLicenseTypeEnum { + return m.LicenseType +} + +func (m LaunchInstanceWindowsLicensingConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LaunchInstanceWindowsLicensingConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingLaunchInstanceLicensingConfigLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetLaunchInstanceLicensingConfigLicenseTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m LaunchInstanceWindowsLicensingConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeLaunchInstanceWindowsLicensingConfig LaunchInstanceWindowsLicensingConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeLaunchInstanceWindowsLicensingConfig + }{ + "WINDOWS", + (MarshalTypeLaunchInstanceWindowsLicensingConfig)(m), + } + + return json.Marshal(&s) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_options.go index 7423f2864c..a06cd2a43b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -90,7 +90,7 @@ func (m LaunchOptions) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RemoteDataVolumeType: %s. Supported values are: %s.", m.RemoteDataVolumeType, strings.Join(GetLaunchOptionsRemoteDataVolumeTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go index bed774160d..17515b2e9b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/letter_of_authority.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,7 +31,7 @@ type LetterOfAuthority struct { // The type of cross-connect fiber, termination, and optical specification. CircuitType LetterOfAuthorityCircuitTypeEnum `mandatory:"false" json:"circuitType,omitempty"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"false" json:"crossConnectId"` // The address of the FastConnect location. @@ -62,7 +62,7 @@ func (m LetterOfAuthority) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CircuitType: %s. Supported values are: %s.", m.CircuitType, strings.Join(GetLetterOfAuthorityCircuitTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/licensing_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/licensing_config.go new file mode 100644 index 0000000000..16a95d3268 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/licensing_config.go @@ -0,0 +1,139 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// LicensingConfig Configuration of the Operating System license. +type LicensingConfig struct { + + // Operating System type of the Configuration. + Type LicensingConfigTypeEnum `mandatory:"false" json:"type,omitempty"` + + // License Type for the OS license. + // * `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour). + // * `BRING_YOUR_OWN_LICENSE` - Bring your own license. + LicenseType LicensingConfigLicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` + + // The Operating System version of the license config. + OsVersion *string `mandatory:"false" json:"osVersion"` +} + +func (m LicensingConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m LicensingConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingLicensingConfigTypeEnum(string(m.Type)); !ok && m.Type != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetLicensingConfigTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingLicensingConfigLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetLicensingConfigLicenseTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// LicensingConfigTypeEnum Enum with underlying type: string +type LicensingConfigTypeEnum string + +// Set of constants representing the allowable values for LicensingConfigTypeEnum +const ( + LicensingConfigTypeWindows LicensingConfigTypeEnum = "WINDOWS" +) + +var mappingLicensingConfigTypeEnum = map[string]LicensingConfigTypeEnum{ + "WINDOWS": LicensingConfigTypeWindows, +} + +var mappingLicensingConfigTypeEnumLowerCase = map[string]LicensingConfigTypeEnum{ + "windows": LicensingConfigTypeWindows, +} + +// GetLicensingConfigTypeEnumValues Enumerates the set of values for LicensingConfigTypeEnum +func GetLicensingConfigTypeEnumValues() []LicensingConfigTypeEnum { + values := make([]LicensingConfigTypeEnum, 0) + for _, v := range mappingLicensingConfigTypeEnum { + values = append(values, v) + } + return values +} + +// GetLicensingConfigTypeEnumStringValues Enumerates the set of values in String for LicensingConfigTypeEnum +func GetLicensingConfigTypeEnumStringValues() []string { + return []string{ + "WINDOWS", + } +} + +// GetMappingLicensingConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLicensingConfigTypeEnum(val string) (LicensingConfigTypeEnum, bool) { + enum, ok := mappingLicensingConfigTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// LicensingConfigLicenseTypeEnum Enum with underlying type: string +type LicensingConfigLicenseTypeEnum string + +// Set of constants representing the allowable values for LicensingConfigLicenseTypeEnum +const ( + LicensingConfigLicenseTypeOciProvided LicensingConfigLicenseTypeEnum = "OCI_PROVIDED" + LicensingConfigLicenseTypeBringYourOwnLicense LicensingConfigLicenseTypeEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingLicensingConfigLicenseTypeEnum = map[string]LicensingConfigLicenseTypeEnum{ + "OCI_PROVIDED": LicensingConfigLicenseTypeOciProvided, + "BRING_YOUR_OWN_LICENSE": LicensingConfigLicenseTypeBringYourOwnLicense, +} + +var mappingLicensingConfigLicenseTypeEnumLowerCase = map[string]LicensingConfigLicenseTypeEnum{ + "oci_provided": LicensingConfigLicenseTypeOciProvided, + "bring_your_own_license": LicensingConfigLicenseTypeBringYourOwnLicense, +} + +// GetLicensingConfigLicenseTypeEnumValues Enumerates the set of values for LicensingConfigLicenseTypeEnum +func GetLicensingConfigLicenseTypeEnumValues() []LicensingConfigLicenseTypeEnum { + values := make([]LicensingConfigLicenseTypeEnum, 0) + for _, v := range mappingLicensingConfigLicenseTypeEnum { + values = append(values, v) + } + return values +} + +// GetLicensingConfigLicenseTypeEnumStringValues Enumerates the set of values in String for LicensingConfigLicenseTypeEnum +func GetLicensingConfigLicenseTypeEnumStringValues() []string { + return []string{ + "OCI_PROVIDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingLicensingConfigLicenseTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLicensingConfigLicenseTypeEnum(val string) (LicensingConfigLicenseTypeEnum, bool) { + enum, ok := mappingLicensingConfigLicenseTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go index 25b79f32f2..b948143ae2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_allowed_peer_regions_for_remote_peering_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeeringRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeeringRequest. type ListAllowedPeerRegionsForRemotePeeringRequest struct { // Unique Oracle-assigned identifier for the request. @@ -59,7 +59,7 @@ func (request ListAllowedPeerRegionsForRemotePeeringRequest) RetryPolicy() *comm func (request ListAllowedPeerRegionsForRemotePeeringRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go index ac87a34926..e094f3f5e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listing_resource_versions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersionsRequest. type ListAppCatalogListingResourceVersionsRequest struct { // The OCID of the listing. @@ -23,13 +23,13 @@ type ListAppCatalogListingResourceVersionsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order @@ -80,7 +80,7 @@ func (request ListAppCatalogListingResourceVersionsRequest) ValidateEnumValue() errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAppCatalogListingResourceVersionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type ListAppCatalogListingResourceVersionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go index 0e91d40dc9..e47ec2c368 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_listings_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,18 +15,18 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListingsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListingsRequest. type ListAppCatalogListingsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order @@ -86,7 +86,7 @@ func (request ListAppCatalogListingsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAppCatalogListingsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -102,7 +102,7 @@ type ListAppCatalogListingsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go index 5a5196e6b7..e70f40dcdd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_app_catalog_subscriptions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptionsRequest. type ListAppCatalogSubscriptionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -95,7 +95,7 @@ func (request ListAppCatalogSubscriptionsRequest) ValidateEnumValue() (bool, err errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAppCatalogSubscriptionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -111,7 +111,7 @@ type ListAppCatalogSubscriptionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go index 304ce9f1ca..c52f16db77 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_block_volume_replicas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,14 +15,14 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicasRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicasRequest. type ListBlockVolumeReplicasRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the volume group replica. @@ -30,13 +30,13 @@ type ListBlockVolumeReplicasRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -108,7 +108,7 @@ func (request ListBlockVolumeReplicasRequest) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetBlockVolumeReplicaLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListBlockVolumeReplicasResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go index 3548e525cd..dc95fa67b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,25 +15,25 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachmentsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachmentsRequest. type ListBootVolumeAttachmentsRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The OCID of the instance. @@ -83,7 +83,7 @@ func (request ListBootVolumeAttachmentsRequest) RetryPolicy() *common.RetryPolic func (request ListBootVolumeAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -99,7 +99,7 @@ type ListBootVolumeAttachmentsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go index 42a6d3f400..b4c9998f10 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_backups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackupsRequest. type ListBootVolumeBackupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the boot volume. @@ -26,13 +26,13 @@ type ListBootVolumeBackupsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -108,7 +108,7 @@ func (request ListBootVolumeBackupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetBootVolumeBackupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListBootVolumeBackupsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go index c415fc5f6e..e8bb9cf6ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volume_replicas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,14 +15,14 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicasRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicasRequest. type ListBootVolumeReplicasRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID of the volume group replica. @@ -30,13 +30,13 @@ type ListBootVolumeReplicasRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -108,7 +108,7 @@ func (request ListBootVolumeReplicasRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetBootVolumeReplicaLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListBootVolumeReplicasResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go index 22e3bb2f12..20cf655753 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_boot_volumes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,25 +15,25 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumesRequest. type ListBootVolumesRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The OCID of the volume group. @@ -80,7 +80,7 @@ func (request ListBootVolumesRequest) RetryPolicy() *common.RetryPolicy { func (request ListBootVolumesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type ListBootVolumesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoasns_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoasns_request_response.go new file mode 100644 index 0000000000..6d0eb397d8 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoasns_request_response.go @@ -0,0 +1,210 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListByoasnsRequest wrapper for the ListByoasns operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoasns.go.html to see an example of how to use ListByoasnsRequest. +type ListByoasnsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // A filter to return only resources that match the given lifecycle state name exactly. + LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"` + + // The field to sort by, for byoasn List operation. + SortBy ListByoasnsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListByoasnsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListByoasnsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListByoasnsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListByoasnsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListByoasnsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListByoasnsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListByoasnsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListByoasnsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListByoasnsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListByoasnsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListByoasnsResponse wrapper for the ListByoasns operation +type ListByoasnsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ByoasnCollection instances + ByoasnCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListByoasnsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListByoasnsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListByoasnsSortByEnum Enum with underlying type: string +type ListByoasnsSortByEnum string + +// Set of constants representing the allowable values for ListByoasnsSortByEnum +const ( + ListByoasnsSortByTimecreated ListByoasnsSortByEnum = "TIMECREATED" + ListByoasnsSortByDisplayname ListByoasnsSortByEnum = "DISPLAYNAME" +) + +var mappingListByoasnsSortByEnum = map[string]ListByoasnsSortByEnum{ + "TIMECREATED": ListByoasnsSortByTimecreated, + "DISPLAYNAME": ListByoasnsSortByDisplayname, +} + +var mappingListByoasnsSortByEnumLowerCase = map[string]ListByoasnsSortByEnum{ + "timecreated": ListByoasnsSortByTimecreated, + "displayname": ListByoasnsSortByDisplayname, +} + +// GetListByoasnsSortByEnumValues Enumerates the set of values for ListByoasnsSortByEnum +func GetListByoasnsSortByEnumValues() []ListByoasnsSortByEnum { + values := make([]ListByoasnsSortByEnum, 0) + for _, v := range mappingListByoasnsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListByoasnsSortByEnumStringValues Enumerates the set of values in String for ListByoasnsSortByEnum +func GetListByoasnsSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListByoasnsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListByoasnsSortByEnum(val string) (ListByoasnsSortByEnum, bool) { + enum, ok := mappingListByoasnsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListByoasnsSortOrderEnum Enum with underlying type: string +type ListByoasnsSortOrderEnum string + +// Set of constants representing the allowable values for ListByoasnsSortOrderEnum +const ( + ListByoasnsSortOrderAsc ListByoasnsSortOrderEnum = "ASC" + ListByoasnsSortOrderDesc ListByoasnsSortOrderEnum = "DESC" +) + +var mappingListByoasnsSortOrderEnum = map[string]ListByoasnsSortOrderEnum{ + "ASC": ListByoasnsSortOrderAsc, + "DESC": ListByoasnsSortOrderDesc, +} + +var mappingListByoasnsSortOrderEnumLowerCase = map[string]ListByoasnsSortOrderEnum{ + "asc": ListByoasnsSortOrderAsc, + "desc": ListByoasnsSortOrderDesc, +} + +// GetListByoasnsSortOrderEnumValues Enumerates the set of values for ListByoasnsSortOrderEnum +func GetListByoasnsSortOrderEnumValues() []ListByoasnsSortOrderEnum { + values := make([]ListByoasnsSortOrderEnum, 0) + for _, v := range mappingListByoasnsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListByoasnsSortOrderEnumStringValues Enumerates the set of values in String for ListByoasnsSortOrderEnum +func GetListByoasnsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListByoasnsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListByoasnsSortOrderEnum(val string) (ListByoasnsSortOrderEnum, bool) { + enum, ok := mappingListByoasnsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go index 2a81c83f7a..ce189aa1c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_allocated_ranges_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRangesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRangesRequest. type ListByoipAllocatedRangesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Unique identifier for the request. @@ -27,13 +27,13 @@ type ListByoipAllocatedRangesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but @@ -73,7 +73,7 @@ func (request ListByoipAllocatedRangesRequest) RetryPolicy() *common.RetryPolicy func (request ListByoipAllocatedRangesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListByoipAllocatedRangesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go index d7cb2dffdd..1929998dbe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_byoip_ranges_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRangesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRangesRequest. type ListByoipRangesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique identifier for the request. @@ -27,13 +27,13 @@ type ListByoipRangesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -98,7 +98,7 @@ func (request ListByoipRangesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListByoipRangesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListByoipRangesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go index a9b8d8e9a6..8fd4a0ad8c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_capture_filters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFiltersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCaptureFilters.go.html to see an example of how to use ListCaptureFiltersRequest. type ListCaptureFiltersRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -108,7 +108,7 @@ func (request ListCaptureFiltersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FilterType: %s. Supported values are: %s.", request.FilterType, strings.Join(GetCaptureFilterFilterTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListCaptureFiltersResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go index 505ef2a0cb..a9aa6a9535 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_network_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstancesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstancesRequest. type ListClusterNetworkInstancesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"` // A filter to return only resources that match the given display name exactly. @@ -29,13 +29,13 @@ type ListClusterNetworkInstancesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -98,7 +98,7 @@ func (request ListClusterNetworkInstancesRequest) ValidateEnumValue() (bool, err errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListClusterNetworkInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListClusterNetworkInstancesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go index 27b80fbd51..48db1c65f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cluster_networks_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworksRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworksRequest. type ListClusterNetworksRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given display name exactly. @@ -26,13 +26,13 @@ type ListClusterNetworksRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -102,7 +102,7 @@ func (request ListClusterNetworksRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetClusterNetworkSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListClusterNetworksResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go index cef65a88b1..309ec68097 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instance_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapesRequest. type ListComputeCapacityReservationInstanceShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -31,13 +31,13 @@ type ListComputeCapacityReservationInstanceShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -99,7 +99,7 @@ func (request ListComputeCapacityReservationInstanceShapesRequest) ValidateEnumV errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityReservationInstanceShapesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +115,7 @@ type ListComputeCapacityReservationInstanceShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go index f5ecfeabb8..00a18c606e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservation_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstancesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstancesRequest. type ListComputeCapacityReservationInstancesRequest struct { // The OCID of the compute capacity reservation. @@ -25,7 +25,7 @@ type ListComputeCapacityReservationInstancesRequest struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique identifier for the request. @@ -34,13 +34,13 @@ type ListComputeCapacityReservationInstancesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -99,7 +99,7 @@ func (request ListComputeCapacityReservationInstancesRequest) ValidateEnumValue( errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityReservationInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +115,7 @@ type ListComputeCapacityReservationInstancesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go index 34dc5b41c4..eac425e6cb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_reservations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservationsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservationsRequest. type ListComputeCapacityReservationsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -33,13 +33,13 @@ type ListComputeCapacityReservationsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -105,7 +105,7 @@ func (request ListComputeCapacityReservationsRequest) ValidateEnumValue() (bool, errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityReservationsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListComputeCapacityReservationsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topologies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topologies_request_response.go index 90a69a60d9..61a19e1984 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topologies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topologies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologies.go.html to see an example of how to use ListComputeCapacityTopologiesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologies.go.html to see an example of how to use ListComputeCapacityTopologiesRequest. type ListComputeCapacityTopologiesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -30,13 +30,13 @@ type ListComputeCapacityTopologiesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -99,7 +99,7 @@ func (request ListComputeCapacityTopologiesRequest) ValidateEnumValue() (bool, e errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityTopologiesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +115,7 @@ type ListComputeCapacityTopologiesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_bare_metal_hosts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_bare_metal_hosts_request_response.go index a0a9c6bc65..ede59be27a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_bare_metal_hosts_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_bare_metal_hosts_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,37 +15,37 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeBareMetalHosts.go.html to see an example of how to use ListComputeCapacityTopologyComputeBareMetalHostsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeBareMetalHosts.go.html to see an example of how to use ListComputeCapacityTopologyComputeBareMetalHostsRequest. type ListComputeCapacityTopologyComputeBareMetalHostsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. ComputeHpcIslandId *string `mandatory:"false" contributesTo:"query" name:"computeHpcIslandId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. ComputeNetworkBlockId *string `mandatory:"false" contributesTo:"query" name:"computeNetworkBlockId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute local block. ComputeLocalBlockId *string `mandatory:"false" contributesTo:"query" name:"computeLocalBlockId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -108,7 +108,7 @@ func (request ListComputeCapacityTopologyComputeBareMetalHostsRequest) ValidateE errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityTopologyComputeBareMetalHostsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListComputeCapacityTopologyComputeBareMetalHostsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_hpc_islands_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_hpc_islands_request_response.go index 3645c68f05..c602f083d5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_hpc_islands_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_hpc_islands_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,28 +15,28 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeHpcIslands.go.html to see an example of how to use ListComputeCapacityTopologyComputeHpcIslandsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeHpcIslands.go.html to see an example of how to use ListComputeCapacityTopologyComputeHpcIslandsRequest. type ListComputeCapacityTopologyComputeHpcIslandsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -99,7 +99,7 @@ func (request ListComputeCapacityTopologyComputeHpcIslandsRequest) ValidateEnumV errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityTopologyComputeHpcIslandsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +115,7 @@ type ListComputeCapacityTopologyComputeHpcIslandsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_network_blocks_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_network_blocks_request_response.go index d7fb6e2838..73a36cf12a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_network_blocks_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_capacity_topology_compute_network_blocks_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,31 +15,31 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeNetworkBlocks.go.html to see an example of how to use ListComputeCapacityTopologyComputeNetworkBlocksRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityTopologyComputeNetworkBlocks.go.html to see an example of how to use ListComputeCapacityTopologyComputeNetworkBlocksRequest. type ListComputeCapacityTopologyComputeNetworkBlocksRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. ComputeHpcIslandId *string `mandatory:"false" contributesTo:"query" name:"computeHpcIslandId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -102,7 +102,7 @@ func (request ListComputeCapacityTopologyComputeNetworkBlocksRequest) ValidateEn errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeCapacityTopologyComputeNetworkBlocksSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListComputeCapacityTopologyComputeNetworkBlocksResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go index eaec09df70..e10475fffe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_clusters_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClustersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeClusters.go.html to see an example of how to use ListComputeClustersRequest. type ListComputeClustersRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -30,13 +30,13 @@ type ListComputeClustersRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -99,7 +99,7 @@ func (request ListComputeClustersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeClustersSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +115,7 @@ type ListComputeClustersResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go index c580a52bed..64ad5e2fcc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schema_versions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersionsRequest. type ListComputeGlobalImageCapabilitySchemaVersionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema ComputeGlobalImageCapabilitySchemaId *string `mandatory:"true" contributesTo:"path" name:"computeGlobalImageCapabilitySchemaId"` // A filter to return only resources that match the given display name exactly. @@ -26,13 +26,13 @@ type ListComputeGlobalImageCapabilitySchemaVersionsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -95,7 +95,7 @@ func (request ListComputeGlobalImageCapabilitySchemaVersionsRequest) ValidateEnu errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGlobalImageCapabilitySchemaVersionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -111,7 +111,7 @@ type ListComputeGlobalImageCapabilitySchemaVersionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go index 813bb407ae..568fb09c2d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_global_image_capability_schemas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemasRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemasRequest. type ListComputeGlobalImageCapabilitySchemasRequest struct { // A filter to return only resources that match the given compartment OCID exactly. @@ -26,13 +26,13 @@ type ListComputeGlobalImageCapabilitySchemasRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -95,7 +95,7 @@ func (request ListComputeGlobalImageCapabilitySchemasRequest) ValidateEnumValue( errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGlobalImageCapabilitySchemasSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -111,7 +111,7 @@ type ListComputeGlobalImageCapabilitySchemasResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_cluster_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_cluster_instances_request_response.go new file mode 100644 index 0000000000..3a6903eb7e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_cluster_instances_request_response.go @@ -0,0 +1,213 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListComputeGpuMemoryClusterInstancesRequest wrapper for the ListComputeGpuMemoryClusterInstances operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGpuMemoryClusterInstances.go.html to see an example of how to use ListComputeGpuMemoryClusterInstancesRequest. +type ListComputeGpuMemoryClusterInstancesRequest struct { + + // The OCID of the compute GPU memory cluster. + ComputeGpuMemoryClusterId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryClusterId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide one sort order (`sortOrder`). Default order for + // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME + // sort order is case sensitive. + // **Note:** In general, some "List" operations (for example, `ListInstances`) let you + // optionally filter by availability domain if the scope of the resource type is within a + // single availability domain. If you call one of these "List" operations without specifying + // an availability domain, the resources are grouped by availability domain, then sorted. + SortBy ListComputeGpuMemoryClusterInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListComputeGpuMemoryClusterInstancesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListComputeGpuMemoryClusterInstancesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListComputeGpuMemoryClusterInstancesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListComputeGpuMemoryClusterInstancesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListComputeGpuMemoryClusterInstancesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListComputeGpuMemoryClusterInstancesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListComputeGpuMemoryClusterInstancesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeGpuMemoryClusterInstancesSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListComputeGpuMemoryClusterInstancesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGpuMemoryClusterInstancesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListComputeGpuMemoryClusterInstancesResponse wrapper for the ListComputeGpuMemoryClusterInstances operation +type ListComputeGpuMemoryClusterInstancesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ComputeGpuMemoryClusterInstanceCollection instances + ComputeGpuMemoryClusterInstanceCollection `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListComputeGpuMemoryClusterInstancesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListComputeGpuMemoryClusterInstancesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListComputeGpuMemoryClusterInstancesSortByEnum Enum with underlying type: string +type ListComputeGpuMemoryClusterInstancesSortByEnum string + +// Set of constants representing the allowable values for ListComputeGpuMemoryClusterInstancesSortByEnum +const ( + ListComputeGpuMemoryClusterInstancesSortByTimecreated ListComputeGpuMemoryClusterInstancesSortByEnum = "TIMECREATED" + ListComputeGpuMemoryClusterInstancesSortByDisplayname ListComputeGpuMemoryClusterInstancesSortByEnum = "DISPLAYNAME" +) + +var mappingListComputeGpuMemoryClusterInstancesSortByEnum = map[string]ListComputeGpuMemoryClusterInstancesSortByEnum{ + "TIMECREATED": ListComputeGpuMemoryClusterInstancesSortByTimecreated, + "DISPLAYNAME": ListComputeGpuMemoryClusterInstancesSortByDisplayname, +} + +var mappingListComputeGpuMemoryClusterInstancesSortByEnumLowerCase = map[string]ListComputeGpuMemoryClusterInstancesSortByEnum{ + "timecreated": ListComputeGpuMemoryClusterInstancesSortByTimecreated, + "displayname": ListComputeGpuMemoryClusterInstancesSortByDisplayname, +} + +// GetListComputeGpuMemoryClusterInstancesSortByEnumValues Enumerates the set of values for ListComputeGpuMemoryClusterInstancesSortByEnum +func GetListComputeGpuMemoryClusterInstancesSortByEnumValues() []ListComputeGpuMemoryClusterInstancesSortByEnum { + values := make([]ListComputeGpuMemoryClusterInstancesSortByEnum, 0) + for _, v := range mappingListComputeGpuMemoryClusterInstancesSortByEnum { + values = append(values, v) + } + return values +} + +// GetListComputeGpuMemoryClusterInstancesSortByEnumStringValues Enumerates the set of values in String for ListComputeGpuMemoryClusterInstancesSortByEnum +func GetListComputeGpuMemoryClusterInstancesSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListComputeGpuMemoryClusterInstancesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGpuMemoryClusterInstancesSortByEnum(val string) (ListComputeGpuMemoryClusterInstancesSortByEnum, bool) { + enum, ok := mappingListComputeGpuMemoryClusterInstancesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListComputeGpuMemoryClusterInstancesSortOrderEnum Enum with underlying type: string +type ListComputeGpuMemoryClusterInstancesSortOrderEnum string + +// Set of constants representing the allowable values for ListComputeGpuMemoryClusterInstancesSortOrderEnum +const ( + ListComputeGpuMemoryClusterInstancesSortOrderAsc ListComputeGpuMemoryClusterInstancesSortOrderEnum = "ASC" + ListComputeGpuMemoryClusterInstancesSortOrderDesc ListComputeGpuMemoryClusterInstancesSortOrderEnum = "DESC" +) + +var mappingListComputeGpuMemoryClusterInstancesSortOrderEnum = map[string]ListComputeGpuMemoryClusterInstancesSortOrderEnum{ + "ASC": ListComputeGpuMemoryClusterInstancesSortOrderAsc, + "DESC": ListComputeGpuMemoryClusterInstancesSortOrderDesc, +} + +var mappingListComputeGpuMemoryClusterInstancesSortOrderEnumLowerCase = map[string]ListComputeGpuMemoryClusterInstancesSortOrderEnum{ + "asc": ListComputeGpuMemoryClusterInstancesSortOrderAsc, + "desc": ListComputeGpuMemoryClusterInstancesSortOrderDesc, +} + +// GetListComputeGpuMemoryClusterInstancesSortOrderEnumValues Enumerates the set of values for ListComputeGpuMemoryClusterInstancesSortOrderEnum +func GetListComputeGpuMemoryClusterInstancesSortOrderEnumValues() []ListComputeGpuMemoryClusterInstancesSortOrderEnum { + values := make([]ListComputeGpuMemoryClusterInstancesSortOrderEnum, 0) + for _, v := range mappingListComputeGpuMemoryClusterInstancesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListComputeGpuMemoryClusterInstancesSortOrderEnumStringValues Enumerates the set of values in String for ListComputeGpuMemoryClusterInstancesSortOrderEnum +func GetListComputeGpuMemoryClusterInstancesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListComputeGpuMemoryClusterInstancesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGpuMemoryClusterInstancesSortOrderEnum(val string) (ListComputeGpuMemoryClusterInstancesSortOrderEnum, bool) { + enum, ok := mappingListComputeGpuMemoryClusterInstancesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_clusters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_clusters_request_response.go new file mode 100644 index 0000000000..c8f152c97d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_clusters_request_response.go @@ -0,0 +1,228 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListComputeGpuMemoryClustersRequest wrapper for the ListComputeGpuMemoryClusters operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGpuMemoryClusters.go.html to see an example of how to use ListComputeGpuMemoryClustersRequest. +type ListComputeGpuMemoryClustersRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A filter to return only the listings that matches the given GPU memory cluster id. + ComputeGpuMemoryClusterId *string `mandatory:"false" contributesTo:"query" name:"computeGpuMemoryClusterId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory + // access (RDMA) network group. + ComputeClusterId *string `mandatory:"false" contributesTo:"query" name:"computeClusterId"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide one sort order (`sortOrder`). Default order for + // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME + // sort order is case sensitive. + // **Note:** In general, some "List" operations (for example, `ListInstances`) let you + // optionally filter by availability domain if the scope of the resource type is within a + // single availability domain. If you call one of these "List" operations without specifying + // an availability domain, the resources are grouped by availability domain, then sorted. + SortBy ListComputeGpuMemoryClustersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListComputeGpuMemoryClustersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListComputeGpuMemoryClustersRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListComputeGpuMemoryClustersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListComputeGpuMemoryClustersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListComputeGpuMemoryClustersRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListComputeGpuMemoryClustersRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListComputeGpuMemoryClustersSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeGpuMemoryClustersSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListComputeGpuMemoryClustersSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGpuMemoryClustersSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListComputeGpuMemoryClustersResponse wrapper for the ListComputeGpuMemoryClusters operation +type ListComputeGpuMemoryClustersResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ComputeGpuMemoryClusterCollection instances + ComputeGpuMemoryClusterCollection `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListComputeGpuMemoryClustersResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListComputeGpuMemoryClustersResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListComputeGpuMemoryClustersSortByEnum Enum with underlying type: string +type ListComputeGpuMemoryClustersSortByEnum string + +// Set of constants representing the allowable values for ListComputeGpuMemoryClustersSortByEnum +const ( + ListComputeGpuMemoryClustersSortByTimecreated ListComputeGpuMemoryClustersSortByEnum = "TIMECREATED" + ListComputeGpuMemoryClustersSortByDisplayname ListComputeGpuMemoryClustersSortByEnum = "DISPLAYNAME" +) + +var mappingListComputeGpuMemoryClustersSortByEnum = map[string]ListComputeGpuMemoryClustersSortByEnum{ + "TIMECREATED": ListComputeGpuMemoryClustersSortByTimecreated, + "DISPLAYNAME": ListComputeGpuMemoryClustersSortByDisplayname, +} + +var mappingListComputeGpuMemoryClustersSortByEnumLowerCase = map[string]ListComputeGpuMemoryClustersSortByEnum{ + "timecreated": ListComputeGpuMemoryClustersSortByTimecreated, + "displayname": ListComputeGpuMemoryClustersSortByDisplayname, +} + +// GetListComputeGpuMemoryClustersSortByEnumValues Enumerates the set of values for ListComputeGpuMemoryClustersSortByEnum +func GetListComputeGpuMemoryClustersSortByEnumValues() []ListComputeGpuMemoryClustersSortByEnum { + values := make([]ListComputeGpuMemoryClustersSortByEnum, 0) + for _, v := range mappingListComputeGpuMemoryClustersSortByEnum { + values = append(values, v) + } + return values +} + +// GetListComputeGpuMemoryClustersSortByEnumStringValues Enumerates the set of values in String for ListComputeGpuMemoryClustersSortByEnum +func GetListComputeGpuMemoryClustersSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListComputeGpuMemoryClustersSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGpuMemoryClustersSortByEnum(val string) (ListComputeGpuMemoryClustersSortByEnum, bool) { + enum, ok := mappingListComputeGpuMemoryClustersSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListComputeGpuMemoryClustersSortOrderEnum Enum with underlying type: string +type ListComputeGpuMemoryClustersSortOrderEnum string + +// Set of constants representing the allowable values for ListComputeGpuMemoryClustersSortOrderEnum +const ( + ListComputeGpuMemoryClustersSortOrderAsc ListComputeGpuMemoryClustersSortOrderEnum = "ASC" + ListComputeGpuMemoryClustersSortOrderDesc ListComputeGpuMemoryClustersSortOrderEnum = "DESC" +) + +var mappingListComputeGpuMemoryClustersSortOrderEnum = map[string]ListComputeGpuMemoryClustersSortOrderEnum{ + "ASC": ListComputeGpuMemoryClustersSortOrderAsc, + "DESC": ListComputeGpuMemoryClustersSortOrderDesc, +} + +var mappingListComputeGpuMemoryClustersSortOrderEnumLowerCase = map[string]ListComputeGpuMemoryClustersSortOrderEnum{ + "asc": ListComputeGpuMemoryClustersSortOrderAsc, + "desc": ListComputeGpuMemoryClustersSortOrderDesc, +} + +// GetListComputeGpuMemoryClustersSortOrderEnumValues Enumerates the set of values for ListComputeGpuMemoryClustersSortOrderEnum +func GetListComputeGpuMemoryClustersSortOrderEnumValues() []ListComputeGpuMemoryClustersSortOrderEnum { + values := make([]ListComputeGpuMemoryClustersSortOrderEnum, 0) + for _, v := range mappingListComputeGpuMemoryClustersSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListComputeGpuMemoryClustersSortOrderEnumStringValues Enumerates the set of values in String for ListComputeGpuMemoryClustersSortOrderEnum +func GetListComputeGpuMemoryClustersSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListComputeGpuMemoryClustersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGpuMemoryClustersSortOrderEnum(val string) (ListComputeGpuMemoryClustersSortOrderEnum, bool) { + enum, ok := mappingListComputeGpuMemoryClustersSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_fabrics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_fabrics_request_response.go new file mode 100644 index 0000000000..dab1495516 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_gpu_memory_fabrics_request_response.go @@ -0,0 +1,238 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListComputeGpuMemoryFabricsRequest wrapper for the ListComputeGpuMemoryFabrics operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGpuMemoryFabrics.go.html to see an example of how to use ListComputeGpuMemoryFabricsRequest. +type ListComputeGpuMemoryFabricsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A filter to return only the listings that matches the given GPU memory fabric id. + ComputeGpuMemoryFabricId *string `mandatory:"false" contributesTo:"query" name:"computeGpuMemoryFabricId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute HPC island. + ComputeHpcIslandId *string `mandatory:"false" contributesTo:"query" name:"computeHpcIslandId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute network block. + ComputeNetworkBlockId *string `mandatory:"false" contributesTo:"query" name:"computeNetworkBlockId"` + + // A filter to return ComputeGpuMemoryFabricSummary resources that match the given lifecycle state. + ComputeGpuMemoryFabricLifecycleState ComputeGpuMemoryFabricLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"computeGpuMemoryFabricLifecycleState" omitEmpty:"true"` + + // A filter to return ComputeGpuMemoryFabricSummary resources that match the given fabric health. + ComputeGpuMemoryFabricHealth ComputeGpuMemoryFabricFabricHealthEnum `mandatory:"false" contributesTo:"query" name:"computeGpuMemoryFabricHealth" omitEmpty:"true"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide one sort order (`sortOrder`). Default order for + // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME + // sort order is case sensitive. + // **Note:** In general, some "List" operations (for example, `ListInstances`) let you + // optionally filter by availability domain if the scope of the resource type is within a + // single availability domain. If you call one of these "List" operations without specifying + // an availability domain, the resources are grouped by availability domain, then sorted. + SortBy ListComputeGpuMemoryFabricsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListComputeGpuMemoryFabricsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListComputeGpuMemoryFabricsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListComputeGpuMemoryFabricsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListComputeGpuMemoryFabricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListComputeGpuMemoryFabricsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListComputeGpuMemoryFabricsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingComputeGpuMemoryFabricLifecycleStateEnum(string(request.ComputeGpuMemoryFabricLifecycleState)); !ok && request.ComputeGpuMemoryFabricLifecycleState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ComputeGpuMemoryFabricLifecycleState: %s. Supported values are: %s.", request.ComputeGpuMemoryFabricLifecycleState, strings.Join(GetComputeGpuMemoryFabricLifecycleStateEnumStringValues(), ","))) + } + if _, ok := GetMappingComputeGpuMemoryFabricFabricHealthEnum(string(request.ComputeGpuMemoryFabricHealth)); !ok && request.ComputeGpuMemoryFabricHealth != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ComputeGpuMemoryFabricHealth: %s. Supported values are: %s.", request.ComputeGpuMemoryFabricHealth, strings.Join(GetComputeGpuMemoryFabricFabricHealthEnumStringValues(), ","))) + } + if _, ok := GetMappingListComputeGpuMemoryFabricsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeGpuMemoryFabricsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListComputeGpuMemoryFabricsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeGpuMemoryFabricsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListComputeGpuMemoryFabricsResponse wrapper for the ListComputeGpuMemoryFabrics operation +type ListComputeGpuMemoryFabricsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ComputeGpuMemoryFabricCollection instances + ComputeGpuMemoryFabricCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListComputeGpuMemoryFabricsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListComputeGpuMemoryFabricsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListComputeGpuMemoryFabricsSortByEnum Enum with underlying type: string +type ListComputeGpuMemoryFabricsSortByEnum string + +// Set of constants representing the allowable values for ListComputeGpuMemoryFabricsSortByEnum +const ( + ListComputeGpuMemoryFabricsSortByTimecreated ListComputeGpuMemoryFabricsSortByEnum = "TIMECREATED" + ListComputeGpuMemoryFabricsSortByDisplayname ListComputeGpuMemoryFabricsSortByEnum = "DISPLAYNAME" +) + +var mappingListComputeGpuMemoryFabricsSortByEnum = map[string]ListComputeGpuMemoryFabricsSortByEnum{ + "TIMECREATED": ListComputeGpuMemoryFabricsSortByTimecreated, + "DISPLAYNAME": ListComputeGpuMemoryFabricsSortByDisplayname, +} + +var mappingListComputeGpuMemoryFabricsSortByEnumLowerCase = map[string]ListComputeGpuMemoryFabricsSortByEnum{ + "timecreated": ListComputeGpuMemoryFabricsSortByTimecreated, + "displayname": ListComputeGpuMemoryFabricsSortByDisplayname, +} + +// GetListComputeGpuMemoryFabricsSortByEnumValues Enumerates the set of values for ListComputeGpuMemoryFabricsSortByEnum +func GetListComputeGpuMemoryFabricsSortByEnumValues() []ListComputeGpuMemoryFabricsSortByEnum { + values := make([]ListComputeGpuMemoryFabricsSortByEnum, 0) + for _, v := range mappingListComputeGpuMemoryFabricsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListComputeGpuMemoryFabricsSortByEnumStringValues Enumerates the set of values in String for ListComputeGpuMemoryFabricsSortByEnum +func GetListComputeGpuMemoryFabricsSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListComputeGpuMemoryFabricsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGpuMemoryFabricsSortByEnum(val string) (ListComputeGpuMemoryFabricsSortByEnum, bool) { + enum, ok := mappingListComputeGpuMemoryFabricsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListComputeGpuMemoryFabricsSortOrderEnum Enum with underlying type: string +type ListComputeGpuMemoryFabricsSortOrderEnum string + +// Set of constants representing the allowable values for ListComputeGpuMemoryFabricsSortOrderEnum +const ( + ListComputeGpuMemoryFabricsSortOrderAsc ListComputeGpuMemoryFabricsSortOrderEnum = "ASC" + ListComputeGpuMemoryFabricsSortOrderDesc ListComputeGpuMemoryFabricsSortOrderEnum = "DESC" +) + +var mappingListComputeGpuMemoryFabricsSortOrderEnum = map[string]ListComputeGpuMemoryFabricsSortOrderEnum{ + "ASC": ListComputeGpuMemoryFabricsSortOrderAsc, + "DESC": ListComputeGpuMemoryFabricsSortOrderDesc, +} + +var mappingListComputeGpuMemoryFabricsSortOrderEnumLowerCase = map[string]ListComputeGpuMemoryFabricsSortOrderEnum{ + "asc": ListComputeGpuMemoryFabricsSortOrderAsc, + "desc": ListComputeGpuMemoryFabricsSortOrderDesc, +} + +// GetListComputeGpuMemoryFabricsSortOrderEnumValues Enumerates the set of values for ListComputeGpuMemoryFabricsSortOrderEnum +func GetListComputeGpuMemoryFabricsSortOrderEnumValues() []ListComputeGpuMemoryFabricsSortOrderEnum { + values := make([]ListComputeGpuMemoryFabricsSortOrderEnum, 0) + for _, v := range mappingListComputeGpuMemoryFabricsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListComputeGpuMemoryFabricsSortOrderEnumStringValues Enumerates the set of values in String for ListComputeGpuMemoryFabricsSortOrderEnum +func GetListComputeGpuMemoryFabricsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListComputeGpuMemoryFabricsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeGpuMemoryFabricsSortOrderEnum(val string) (ListComputeGpuMemoryFabricsSortOrderEnum, bool) { + enum, ok := mappingListComputeGpuMemoryFabricsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_host_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_host_groups_request_response.go new file mode 100644 index 0000000000..386a2e8bf9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_host_groups_request_response.go @@ -0,0 +1,107 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListComputeHostGroupsRequest wrapper for the ListComputeHostGroups operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeHostGroups.go.html to see an example of how to use ListComputeHostGroupsRequest. +type ListComputeHostGroupsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListComputeHostGroupsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListComputeHostGroupsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListComputeHostGroupsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListComputeHostGroupsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListComputeHostGroupsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListComputeHostGroupsResponse wrapper for the ListComputeHostGroups operation +type ListComputeHostGroupsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ComputeHostGroupCollection instances + ComputeHostGroupCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListComputeHostGroupsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListComputeHostGroupsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_hosts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_hosts_request_response.go new file mode 100644 index 0000000000..2d79558cb4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_hosts_request_response.go @@ -0,0 +1,237 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListComputeHostsRequest wrapper for the ListComputeHosts operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeHosts.go.html to see an example of how to use ListComputeHostsRequest. +type ListComputeHostsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // A filter to return only resources that match the given display name exactly. + DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host network resoruce. + // - Customer-unique HPC island ID + // - Customer-unique network block ID + // - Customer-unique local block ID + NetworkResourceId *string `mandatory:"false" contributesTo:"query" name:"networkResourceId"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide one sort order (`sortOrder`). Default order for + // TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME + // sort order is case sensitive. + // **Note:** In general, some "List" operations (for example, `ListInstances`) let you + // optionally filter by availability domain if the scope of the resource type is within a + // single availability domain. If you call one of these "List" operations without specifying + // an availability domain, the resources are grouped by availability domain, then sorted. + SortBy ListComputeHostsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order + // is case sensitive. + SortOrder ListComputeHostsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // A filter to return only ComputeHostSummary resources that match the given Compute Host lifecycle State OCID exactly. + ComputeHostLifecycleState *string `mandatory:"false" contributesTo:"query" name:"computeHostLifecycleState"` + + // A filter to return only ComputeHostSummary resources that match the given Compute Host health State OCID exactly. + ComputeHostHealth *string `mandatory:"false" contributesTo:"query" name:"computeHostHealth"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + ComputeHostGroupId *string `mandatory:"false" contributesTo:"query" name:"computeHostGroupId"` + + // When set to true, all the compartments in the tenancy are traversed + // and the hosts in the specified tenancy and its compartments are fetched. + // Default is false. + ComputeHostInSubtree *bool `mandatory:"false" contributesTo:"query" name:"computeHostInSubtree"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListComputeHostsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListComputeHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListComputeHostsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListComputeHostsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListComputeHostsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListComputeHostsSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListComputeHostsSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListComputeHostsSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeHostsSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListComputeHostsResponse wrapper for the ListComputeHosts operation +type ListComputeHostsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of ComputeHostCollection instances + ComputeHostCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListComputeHostsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListComputeHostsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListComputeHostsSortByEnum Enum with underlying type: string +type ListComputeHostsSortByEnum string + +// Set of constants representing the allowable values for ListComputeHostsSortByEnum +const ( + ListComputeHostsSortByTimecreated ListComputeHostsSortByEnum = "TIMECREATED" + ListComputeHostsSortByDisplayname ListComputeHostsSortByEnum = "DISPLAYNAME" +) + +var mappingListComputeHostsSortByEnum = map[string]ListComputeHostsSortByEnum{ + "TIMECREATED": ListComputeHostsSortByTimecreated, + "DISPLAYNAME": ListComputeHostsSortByDisplayname, +} + +var mappingListComputeHostsSortByEnumLowerCase = map[string]ListComputeHostsSortByEnum{ + "timecreated": ListComputeHostsSortByTimecreated, + "displayname": ListComputeHostsSortByDisplayname, +} + +// GetListComputeHostsSortByEnumValues Enumerates the set of values for ListComputeHostsSortByEnum +func GetListComputeHostsSortByEnumValues() []ListComputeHostsSortByEnum { + values := make([]ListComputeHostsSortByEnum, 0) + for _, v := range mappingListComputeHostsSortByEnum { + values = append(values, v) + } + return values +} + +// GetListComputeHostsSortByEnumStringValues Enumerates the set of values in String for ListComputeHostsSortByEnum +func GetListComputeHostsSortByEnumStringValues() []string { + return []string{ + "TIMECREATED", + "DISPLAYNAME", + } +} + +// GetMappingListComputeHostsSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeHostsSortByEnum(val string) (ListComputeHostsSortByEnum, bool) { + enum, ok := mappingListComputeHostsSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListComputeHostsSortOrderEnum Enum with underlying type: string +type ListComputeHostsSortOrderEnum string + +// Set of constants representing the allowable values for ListComputeHostsSortOrderEnum +const ( + ListComputeHostsSortOrderAsc ListComputeHostsSortOrderEnum = "ASC" + ListComputeHostsSortOrderDesc ListComputeHostsSortOrderEnum = "DESC" +) + +var mappingListComputeHostsSortOrderEnum = map[string]ListComputeHostsSortOrderEnum{ + "ASC": ListComputeHostsSortOrderAsc, + "DESC": ListComputeHostsSortOrderDesc, +} + +var mappingListComputeHostsSortOrderEnumLowerCase = map[string]ListComputeHostsSortOrderEnum{ + "asc": ListComputeHostsSortOrderAsc, + "desc": ListComputeHostsSortOrderDesc, +} + +// GetListComputeHostsSortOrderEnumValues Enumerates the set of values for ListComputeHostsSortOrderEnum +func GetListComputeHostsSortOrderEnumValues() []ListComputeHostsSortOrderEnum { + values := make([]ListComputeHostsSortOrderEnum, 0) + for _, v := range mappingListComputeHostsSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListComputeHostsSortOrderEnumStringValues Enumerates the set of values in String for ListComputeHostsSortOrderEnum +func GetListComputeHostsSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListComputeHostsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListComputeHostsSortOrderEnum(val string) (ListComputeHostsSortOrderEnum, bool) { + enum, ok := mappingListComputeHostsSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go index b4eed95485..9706366ad8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_compute_image_capability_schemas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemasRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemasRequest. type ListComputeImageCapabilitySchemasRequest struct { // A filter to return only resources that match the given compartment OCID exactly. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image. ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"` // A filter to return only resources that match the given display name exactly. @@ -29,13 +29,13 @@ type ListComputeImageCapabilitySchemasRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -98,7 +98,7 @@ func (request ListComputeImageCapabilitySchemasRequest) ValidateEnumValue() (boo errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListComputeImageCapabilitySchemasSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListComputeImageCapabilitySchemasResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go index 2a067e3802..cd2b57ca94 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_console_histories_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistoriesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistoriesRequest. type ListConsoleHistoriesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -27,13 +27,13 @@ type ListConsoleHistoriesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The OCID of the instance. @@ -106,7 +106,7 @@ func (request ListConsoleHistoriesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetConsoleHistoryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -122,7 +122,7 @@ type ListConsoleHistoriesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go index 392819b1c4..c32dc5bb47 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpe_device_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,18 +15,18 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapesRequest. type ListCpeDeviceShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -70,7 +70,7 @@ func (request ListCpeDeviceShapesRequest) RetryPolicy() *common.RetryPolicy { func (request ListCpeDeviceShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type ListCpeDeviceShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go index 617960a3ea..2a795137aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cpes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpesRequest. type ListCpesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListCpesRequest) RetryPolicy() *common.RetryPolicy { func (request ListCpesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListCpesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go index d9c5bce148..c7d85eabd1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroupsRequest. type ListCrossConnectGroupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -102,7 +102,7 @@ func (request ListCrossConnectGroupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetCrossConnectGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListCrossConnectGroupsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go index 96f389d9da..f7684d92fb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_locations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocationsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocationsRequest. type ListCrossConnectLocationsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListCrossConnectLocationsRequest) RetryPolicy() *common.RetryPolic func (request ListCrossConnectLocationsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListCrossConnectLocationsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go index c6dec7d0af..aea013779b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connect_mappings_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappingsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappingsRequest. type ListCrossConnectMappingsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request ListCrossConnectMappingsRequest) RetryPolicy() *common.RetryPolicy func (request ListCrossConnectMappingsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go index 175dbf6e30..4b40b36fc0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_cross_connects_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnectsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnectsRequest. type ListCrossConnectsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"false" contributesTo:"query" name:"crossConnectGroupId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListCrossConnectsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetCrossConnectLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListCrossConnectsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go index da91caaed7..142882c06f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_crossconnect_port_speed_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapesRequest. type ListCrossconnectPortSpeedShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListCrossconnectPortSpeedShapesRequest) RetryPolicy() *common.Retr func (request ListCrossconnectPortSpeedShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListCrossconnectPortSpeedShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go index d84659353e..97279176f9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instance_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapesRequest. type ListDedicatedVmHostInstanceShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -30,13 +30,13 @@ type ListDedicatedVmHostInstanceShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -80,7 +80,7 @@ func (request ListDedicatedVmHostInstanceShapesRequest) RetryPolicy() *common.Re func (request ListDedicatedVmHostInstanceShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type ListDedicatedVmHostInstanceShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go index 3a68676526..126b6b062e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstancesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstancesRequest. type ListDedicatedVmHostInstancesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the dedicated VM host. @@ -28,15 +28,18 @@ type ListDedicatedVmHostInstancesRequest struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + // A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH. + IsMemoryEncryptionEnabled *bool `mandatory:"false" contributesTo:"query" name:"isMemoryEncryptionEnabled"` + // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -99,7 +102,7 @@ func (request ListDedicatedVmHostInstancesRequest) ValidateEnumValue() (bool, er errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDedicatedVmHostInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +118,7 @@ type ListDedicatedVmHostInstancesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go index 1025c1c738..dca7a37d66 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_host_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapesRequest. type ListDedicatedVmHostShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -30,13 +30,13 @@ type ListDedicatedVmHostShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -80,7 +80,7 @@ func (request ListDedicatedVmHostShapesRequest) RetryPolicy() *common.RetryPolic func (request ListDedicatedVmHostShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type ListDedicatedVmHostShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go index 94ce3276e7..b0c70cc1b5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dedicated_vm_hosts_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHostsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHostsRequest. type ListDedicatedVmHostsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -36,13 +36,13 @@ type ListDedicatedVmHostsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -68,6 +68,9 @@ type ListDedicatedVmHostsRequest struct { // The available OCPUs of the dedicated VM host. RemainingOcpusGreaterThanOrEqualTo *float32 `mandatory:"false" contributesTo:"query" name:"remainingOcpusGreaterThanOrEqualTo"` + // A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH. + IsMemoryEncryptionEnabled *bool `mandatory:"false" contributesTo:"query" name:"isMemoryEncryptionEnabled"` + // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata @@ -114,7 +117,7 @@ func (request ListDedicatedVmHostsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDedicatedVmHostsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -130,7 +133,7 @@ type ListDedicatedVmHostsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go index b99b7af4a4..56d00ca90a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptionsRequest. type ListDhcpOptionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListDhcpOptionsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDhcpOptionsLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListDhcpOptionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go index 6c35e1216b..4f9c44334f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,36 +15,36 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachmentsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachmentsRequest. type ListDrgAttachmentsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG. NetworkId *string `mandatory:"false" contributesTo:"query" name:"networkId"` // The type for the network resource attached to the DRG. AttachmentType ListDrgAttachmentsAttachmentTypeEnum `mandatory:"false" contributesTo:"query" name:"attachmentType" omitEmpty:"true"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to the DRG attachment. DrgRouteTableId *string `mandatory:"false" contributesTo:"query" name:"drgRouteTableId"` // A filter to return only resources that match the given display name exactly. @@ -120,7 +120,7 @@ func (request ListDrgAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgAttachmentLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -136,7 +136,7 @@ type ListDrgAttachmentsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go index 8bf71aa0ce..afb8b5ab6c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatementsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatementsRequest. type ListDrgRouteDistributionStatementsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. @@ -86,7 +86,7 @@ func (request ListDrgRouteDistributionStatementsRequest) ValidateEnumValue() (bo errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListDrgRouteDistributionStatementsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -102,7 +102,7 @@ type ListDrgRouteDistributionStatementsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go index c686396a95..4df1e39c03 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_distributions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributionsRequest. type ListDrgRouteDistributionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"query" name:"drgId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -102,7 +102,7 @@ func (request ListDrgRouteDistributionsRequest) ValidateEnumValue() (bool, error errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgRouteDistributionLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListDrgRouteDistributionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go index a18b813330..22b29e4299 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRulesRequest. type ListDrgRouteRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Static routes are specified through the DRG route table API. @@ -80,7 +80,7 @@ func (request ListDrgRouteRulesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", request.RouteType, strings.Join(GetListDrgRouteRulesRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type ListDrgRouteRulesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go index 53694981be..40decc788e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drg_route_tables_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTablesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTablesRequest. type ListDrgRouteTablesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"query" name:"drgId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -48,7 +48,7 @@ type ListDrgRouteTablesRequest struct { // is case sensitive. SortOrder ListDrgRouteTablesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution. ImportDrgRouteDistributionId *string `mandatory:"false" contributesTo:"query" name:"importDrgRouteDistributionId"` // A filter that only returns matches for the specified lifecycle @@ -105,7 +105,7 @@ func (request ListDrgRouteTablesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDrgRouteTableLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListDrgRouteTablesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go index ffb09c4ec9..4fc97325eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_drgs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgsRequest. type ListDrgsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListDrgsRequest) RetryPolicy() *common.RetryPolicy { func (request ListDrgsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListDrgsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go index c69cc0b3a0..c6986da81d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_services_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServicesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServicesRequest. type ListFastConnectProviderServicesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListFastConnectProviderServicesRequest) RetryPolicy() *common.Retr func (request ListFastConnectProviderServicesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListFastConnectProviderServicesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go index 2175d85f1a..29df0cfc6f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapesRequest. type ListFastConnectProviderVirtualCircuitBandwidthShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the provider service. ProviderServiceId *string `mandatory:"true" contributesTo:"path" name:"providerServiceId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) Retry func (request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListFastConnectProviderVirtualCircuitBandwidthShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_firmware_bundles_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_firmware_bundles_request_response.go new file mode 100644 index 0000000000..7b194a68bd --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_firmware_bundles_request_response.go @@ -0,0 +1,116 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListFirmwareBundlesRequest wrapper for the ListFirmwareBundles operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFirmwareBundles.go.html to see an example of how to use ListFirmwareBundlesRequest. +type ListFirmwareBundlesRequest struct { + + // platform name + Platform *string `mandatory:"true" contributesTo:"query" name:"platform"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // If true, return only the default firmware bundle for a given platform. Default is false. + IsDefaultBundle *bool `mandatory:"false" contributesTo:"query" name:"isDefaultBundle"` + + // For list pagination. The maximum number of results per page, or items to return in a paginated + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `50` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response header from the previous "List" + // call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // A filter to return only resources that match the given lifecycle state name exactly. + LifecycleState *string `mandatory:"false" contributesTo:"query" name:"lifecycleState"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListFirmwareBundlesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListFirmwareBundlesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListFirmwareBundlesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListFirmwareBundlesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListFirmwareBundlesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListFirmwareBundlesResponse wrapper for the ListFirmwareBundles operation +type ListFirmwareBundlesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of FirmwareBundlesCollection instances + FirmwareBundlesCollection `presentIn:"body"` + + // For list pagination. When this header appears in the response, additional pages + // of results remain. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListFirmwareBundlesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListFirmwareBundlesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go index 3e3340cda2..deff4ddac2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_routes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelRoutes.go.html to see an example of how to use ListIPSecConnectionTunnelRoutesRequest. type ListIPSecConnectionTunnelRoutesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Specifies the advertiser of the routes. If set to `ORACLE`, this returns only the @@ -84,7 +84,7 @@ func (request ListIPSecConnectionTunnelRoutesRequest) ValidateEnumValue() (bool, errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Advertiser: %s. Supported values are: %s.", request.Advertiser, strings.Join(GetTunnelRouteSummaryAdvertiserEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -100,7 +100,7 @@ type ListIPSecConnectionTunnelRoutesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go index cfcc661585..5523c6169e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnel_security_associations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociationsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnelSecurityAssociations.go.html to see an example of how to use ListIPSecConnectionTunnelSecurityAssociationsRequest. type ListIPSecConnectionTunnelSecurityAssociationsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -76,7 +76,7 @@ func (request ListIPSecConnectionTunnelSecurityAssociationsRequest) RetryPolicy( func (request ListIPSecConnectionTunnelSecurityAssociationsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ListIPSecConnectionTunnelSecurityAssociationsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go index 21aaf5991f..46cb74ac39 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connection_tunnels_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnelsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnelsRequest. type ListIPSecConnectionTunnelsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListIPSecConnectionTunnelsRequest) RetryPolicy() *common.RetryPoli func (request ListIPSecConnectionTunnelsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListIPSecConnectionTunnelsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go index 0e2b697c13..91121cf171 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_i_p_sec_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,27 +15,27 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnectionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnectionsRequest. type ListIPSecConnectionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"false" contributesTo:"query" name:"cpeId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -79,7 +79,7 @@ func (request ListIPSecConnectionsRequest) RetryPolicy() *common.RetryPolicy { func (request ListIPSecConnectionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,7 +95,7 @@ type ListIPSecConnectionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go index af6442260d..6ce33ff9b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_image_shape_compatibility_entries_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntriesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntriesRequest. type ListImageShapeCompatibilityEntriesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -73,7 +73,7 @@ func (request ListImageShapeCompatibilityEntriesRequest) RetryPolicy() *common.R func (request ListImageShapeCompatibilityEntriesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListImageShapeCompatibilityEntriesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go index a62b672b86..161b50125a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_images_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImagesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImagesRequest. type ListImagesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given display name exactly. @@ -37,13 +37,13 @@ type ListImagesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -113,7 +113,7 @@ func (request ListImagesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetImageLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -129,7 +129,7 @@ type ListImagesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go index f6f9df6d20..fb4edbca0c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_configurations_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurationsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurationsRequest. type ListInstanceConfigurationsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -92,7 +92,7 @@ func (request ListInstanceConfigurationsRequest) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstanceConfigurationsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -108,7 +108,7 @@ type ListInstanceConfigurationsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go index 5e513774e2..6ea2076d94 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_console_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnectionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnectionsRequest. type ListInstanceConsoleConnectionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the instance. @@ -26,13 +26,13 @@ type ListInstanceConsoleConnectionsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -76,7 +76,7 @@ func (request ListInstanceConsoleConnectionsRequest) RetryPolicy() *common.Retry func (request ListInstanceConsoleConnectionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ListInstanceConsoleConnectionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go index 36016abb85..c10d6cc402 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_devices_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevicesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevicesRequest. type ListInstanceDevicesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // A filter to return only available devices or only used devices. @@ -29,13 +29,13 @@ type ListInstanceDevicesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -98,7 +98,7 @@ func (request ListInstanceDevicesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstanceDevicesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListInstanceDevicesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_maintenance_events_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_maintenance_events_request_response.go index d2aed48740..9ec6d3e2f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_maintenance_events_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_maintenance_events_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceMaintenanceEvents.go.html to see an example of how to use ListInstanceMaintenanceEventsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceMaintenanceEvents.go.html to see an example of how to use ListInstanceMaintenanceEventsRequest. type ListInstanceMaintenanceEventsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the instance. @@ -41,13 +41,13 @@ type ListInstanceMaintenanceEventsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -113,7 +113,7 @@ func (request ListInstanceMaintenanceEventsRequest) ValidateEnumValue() (bool, e errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstanceMaintenanceEventsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -129,7 +129,7 @@ type ListInstanceMaintenanceEventsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go index 3c1f901c34..558959c5b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pool_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstancesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstancesRequest. type ListInstancePoolInstancesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // A filter to return only resources that match the given display name exactly. @@ -29,13 +29,13 @@ type ListInstancePoolInstancesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -98,7 +98,7 @@ func (request ListInstancePoolInstancesRequest) ValidateEnumValue() (bool, error errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListInstancePoolInstancesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListInstancePoolInstancesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go index 29a0e61340..41c88445e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instance_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePoolsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePoolsRequest. type ListInstancePoolsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given display name exactly. @@ -26,13 +26,13 @@ type ListInstancePoolsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -102,7 +102,7 @@ func (request ListInstancePoolsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInstancePoolSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListInstancePoolsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go index eab4ee10d2..54f47c3b08 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_instances_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstancesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstancesRequest. type ListInstancesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -28,8 +28,8 @@ type ListInstancesRequest struct { // The OCID of the compute capacity reservation. CapacityReservationId *string `mandatory:"false" contributesTo:"query" name:"capacityReservationId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. - // A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory // access (RDMA) network group. ComputeClusterId *string `mandatory:"false" contributesTo:"query" name:"computeClusterId"` @@ -38,13 +38,13 @@ type ListInstancesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -114,7 +114,7 @@ func (request ListInstancesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInstanceLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -130,7 +130,7 @@ type ListInstancesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go index 812aec5e17..5bfe7bd38d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_internet_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGatewaysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGatewaysRequest. type ListInternetGatewaysRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListInternetGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetInternetGatewayLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListInternetGatewaysResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_details.go index 794c31afff..e2830db532 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,7 +27,7 @@ type ListIpInventoryDetails struct { // Lists the selected regions. RegionList []string `mandatory:"true" json:"regionList"` - // List the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartments. + // List the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartments. CompartmentList []string `mandatory:"true" json:"compartmentList"` // List of selected filters. @@ -59,10 +59,10 @@ type ListIpInventoryDetails struct { SortOrder ListIpInventoryDetailsSortOrderEnum `mandatory:"false" json:"sortOrder,omitempty"` // Most List operations paginate results. Results are paginated for the ListInstances operations. When you call a paginated List operation, the response indicates more pages of results by including the opc-next-page header. - // For more information, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For more information, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). PaginationOffset *int `mandatory:"false" json:"paginationOffset"` - // Specifies the maximum number of results displayed per page for a paginated "List" call. For more information, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Specifies the maximum number of results displayed per page for a paginated "List" call. For more information, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` PaginationLimit *int `mandatory:"false" json:"paginationLimit"` } @@ -90,7 +90,7 @@ func (m ListIpInventoryDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", m.SortOrder, strings.Join(GetListIpInventoryDetailsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_request_response.go index 746a9c89a3..73e104df8a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ip_inventory_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpInventory.go.html to see an example of how to use ListIpInventoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpInventory.go.html to see an example of how to use ListIpInventoryRequest. type ListIpInventoryRequest struct { // Details required to list the IP Inventory data. @@ -62,7 +62,7 @@ func (request ListIpInventoryRequest) RetryPolicy() *common.RetryPolicy { func (request ListIpInventoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -81,7 +81,7 @@ type ListIpInventoryResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact @@ -91,16 +91,16 @@ type ListIpInventoryResponse struct { // For list pagination. A pagination token to get the total number of results available. OpcTotalItems *int `presentIn:"header" name:"opc-total-items"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // The IpInventory API current state. LifecycleState ListIpInventoryLifecycleStateEnum `presentIn:"header" name:"lifecycle-state"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the resource. DataRequestId *string `presentIn:"header" name:"data-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go index 2407fe9787..85a848ac76 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_ipv6s_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,30 +15,39 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6sRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6sRequest. type ListIpv6sRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // An IP address. This could be either IPv4 or IPv6, depending on the resource. // Example: `10.0.3.3` IpAddress *string `mandatory:"false" contributesTo:"query" name:"ipAddress"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"` // The OCID of the VNIC. VnicId *string `mandatory:"false" contributesTo:"query" name:"vnicId"` + // State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise AVAILABLE + IpState *string `mandatory:"false" contributesTo:"query" name:"ipState"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime *string `mandatory:"false" contributesTo:"query" name:"lifetime"` + // Unique identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -80,7 +89,7 @@ func (request ListIpv6sRequest) RetryPolicy() *common.RetryPolicy { func (request ListIpv6sRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +105,7 @@ type ListIpv6sResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go index eedda3b39c..f1c42433dc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_local_peering_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGatewaysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGatewaysRequest. type ListLocalPeeringGatewaysRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // Unique Oracle-assigned identifier for the request. @@ -76,7 +76,7 @@ func (request ListLocalPeeringGatewaysRequest) RetryPolicy() *common.RetryPolicy func (request ListLocalPeeringGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ListLocalPeeringGatewaysResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go index 1a7f789920..cc8b954f7d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_nat_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGatewaysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGatewaysRequest. type ListNatGatewaysRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListNatGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetNatGatewayLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListNatGatewaysResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go index 313ff74f7f..9056aa1b73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRulesRequest. type ListNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Direction of the security rule. Set to `EGRESS` for rules that allow outbound IP packets, @@ -27,13 +27,13 @@ type ListNetworkSecurityGroupSecurityRulesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. @@ -93,7 +93,7 @@ func (request ListNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue() errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNetworkSecurityGroupSecurityRulesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -109,7 +109,7 @@ type ListNetworkSecurityGroupSecurityRulesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go index 42463a0551..e7c003c053 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_group_vnics_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnicsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnicsRequest. type ListNetworkSecurityGroupVnicsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. @@ -86,7 +86,7 @@ func (request ListNetworkSecurityGroupVnicsRequest) ValidateEnumValue() (bool, e errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListNetworkSecurityGroupVnicsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -102,7 +102,7 @@ type ListNetworkSecurityGroupVnicsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go index b3be12febc..a580813546 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_network_security_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,27 +15,27 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroupsRequest. type ListNetworkSecurityGroupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"false" contributesTo:"query" name:"vlanId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -108,7 +108,7 @@ func (request ListNetworkSecurityGroupsRequest) ValidateEnumValue() (bool, error errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetNetworkSecurityGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListNetworkSecurityGroupsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go index 7828c113d7..1e27e67dac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_private_ips_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,31 +15,40 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIpsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIpsRequest. type ListPrivateIpsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // An IP address. This could be either IPv4 or IPv6, depending on the resource. // Example: `10.0.3.3` IpAddress *string `mandatory:"false" contributesTo:"query" name:"ipAddress"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"false" contributesTo:"query" name:"subnetId"` // The OCID of the VNIC. VnicId *string `mandatory:"false" contributesTo:"query" name:"vnicId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise AVAILABLE + IpState *string `mandatory:"false" contributesTo:"query" name:"ipState"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime *string `mandatory:"false" contributesTo:"query" name:"lifetime"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"false" contributesTo:"query" name:"vlanId"` // Unique Oracle-assigned identifier for the request. @@ -83,7 +92,7 @@ func (request ListPrivateIpsRequest) RetryPolicy() *common.RetryPolicy { func (request ListPrivateIpsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -99,7 +108,7 @@ type ListPrivateIpsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go index 879139fd9a..f1dae8d0d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ip_pools_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPoolsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPoolsRequest. type ListPublicIpPoolsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // Unique identifier for the request. @@ -27,13 +27,13 @@ type ListPublicIpPoolsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -98,7 +98,7 @@ func (request ListPublicIpPoolsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListPublicIpPoolsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListPublicIpPoolsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go index 938546eb92..f23e1942b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_public_ips_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIpsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIpsRequest. type ListPublicIpsRequest struct { // Whether the public IP is regional or specific to a particular availability domain. @@ -28,18 +28,18 @@ type ListPublicIpsRequest struct { // Ephemeral public IPs that are assigned to private IPs have `scope` = `AVAILABILITY_DOMAIN`. Scope ListPublicIpsScopeEnum `mandatory:"true" contributesTo:"query" name:"scope" omitEmpty:"true"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The name of the availability domain. @@ -99,7 +99,7 @@ func (request ListPublicIpsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", request.Lifetime, strings.Join(GetListPublicIpsLifetimeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -115,7 +115,7 @@ type ListPublicIpsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go index 9b713ab638..85338d004a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_remote_peering_connections_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnectionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnectionsRequest. type ListRemotePeeringConnectionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"false" contributesTo:"query" name:"drgId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -76,7 +76,7 @@ func (request ListRemotePeeringConnectionsRequest) RetryPolicy() *common.RetryPo func (request ListRemotePeeringConnectionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ListRemotePeeringConnectionsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go index a5966bad6e..113331ad36 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_route_tables_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTablesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTablesRequest. type ListRouteTablesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListRouteTablesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetRouteTableLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListRouteTablesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go index 27f7b3f508..4245e6de6f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_security_lists_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityListsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityListsRequest. type ListSecurityListsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListSecurityListsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetSecurityListLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListSecurityListsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go index b3738979db..fb5d2856ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_service_gateways_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGatewaysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGatewaysRequest. type ListServiceGatewaysRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The field to sort by. You can provide one sort order (`sortOrder`). Default order for @@ -102,7 +102,7 @@ func (request ListServiceGatewaysRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetServiceGatewayLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListServiceGatewaysResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go index d567d171de..c5af28864d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_services_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,18 +15,18 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServicesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServicesRequest. type ListServicesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -70,7 +70,7 @@ func (request ListServicesRequest) RetryPolicy() *common.RetryPolicy { func (request ListServicesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type ListServicesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go index 029897d2e4..f184b70c3f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapesRequest. type ListShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -27,18 +27,21 @@ type ListShapesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an image. ImageId *string `mandatory:"false" contributesTo:"query" name:"imageId"` + // Shape name. + Shape *string `mandatory:"false" contributesTo:"query" name:"shape"` + // Unique Oracle-assigned identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -80,7 +83,7 @@ func (request ListShapesRequest) RetryPolicy() *common.RetryPolicy { func (request ListShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +99,7 @@ type ListShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go index dbdea96282..d2dde77e4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_subnets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnetsRequest. type ListSubnetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListSubnetsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetSubnetLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListSubnetsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go index f5e5d682e1..1f458d85f9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vcns_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcnsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcnsRequest. type ListVcnsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -102,7 +102,7 @@ func (request ListVcnsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVcnLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListVcnsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go index f4ffe9f539..fe442de35b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnelsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnelsRequest. type ListVirtualCircuitAssociatedTunnelsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListVirtualCircuitAssociatedTunnelsRequest) RetryPolicy() *common. func (request ListVirtualCircuitAssociatedTunnelsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type ListVirtualCircuitAssociatedTunnelsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go index 5a53c05bff..5d89e12ebe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_bandwidth_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapesRequest. type ListVirtualCircuitBandwidthShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique Oracle-assigned identifier for the request. @@ -73,7 +73,7 @@ func (request ListVirtualCircuitBandwidthShapesRequest) RetryPolicy() *common.Re func (request ListVirtualCircuitBandwidthShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListVirtualCircuitBandwidthShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go index b6f5125807..ec24c8a014 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_public_prefixes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixesRequest. type ListVirtualCircuitPublicPrefixesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // A filter to only return resources that match the given verification @@ -70,7 +70,7 @@ func (request ListVirtualCircuitPublicPrefixesRequest) ValidateEnumValue() (bool errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VerificationState: %s. Supported values are: %s.", request.VerificationState, strings.Join(GetVirtualCircuitPublicPrefixVerificationStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go index 09b6e51c07..3aeef6bc3d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuits_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,21 +15,21 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuitsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuitsRequest. type ListVirtualCircuitsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -102,7 +102,7 @@ func (request ListVirtualCircuitsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVirtualCircuitLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -118,7 +118,7 @@ type ListVirtualCircuitsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go index b9f3ce190d..b9a5aefb96 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vlans_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,24 +15,24 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlansRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlansRequest. type ListVlansRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListVlansRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVlanLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListVlansResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go index 4d8c3a1bee..7bffa882ca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vnic_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachmentsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachmentsRequest. type ListVnicAttachmentsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -30,13 +30,13 @@ type ListVnicAttachmentsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The OCID of the VNIC. @@ -83,7 +83,7 @@ func (request ListVnicAttachmentsRequest) RetryPolicy() *common.RetryPolicy { func (request ListVnicAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -99,7 +99,7 @@ type ListVnicAttachmentsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go index b7520c5440..64f82e226f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_attachments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachmentsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachmentsRequest. type ListVolumeAttachmentsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -27,13 +27,13 @@ type ListVolumeAttachmentsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The OCID of the instance. @@ -83,7 +83,7 @@ func (request ListVolumeAttachmentsRequest) RetryPolicy() *common.RetryPolicy { func (request ListVolumeAttachmentsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -99,7 +99,7 @@ type ListVolumeAttachmentsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go index b983e0601a..5ac6f87ffd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backup_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,18 +15,18 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPoliciesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPoliciesRequest. type ListVolumeBackupPoliciesRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The OCID of the compartment. @@ -74,7 +74,7 @@ func (request ListVolumeBackupPoliciesRequest) RetryPolicy() *common.RetryPolicy func (request ListVolumeBackupPoliciesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,7 +90,7 @@ type ListVolumeBackupPoliciesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go index df754422aa..8b9010d907 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_backups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackupsRequest. type ListVolumeBackupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the volume. @@ -26,13 +26,13 @@ type ListVolumeBackupsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -108,7 +108,7 @@ func (request ListVolumeBackupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeBackupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListVolumeBackupsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go index fc8949739b..712c07fca4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_backups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackupsRequest. type ListVolumeGroupBackupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The OCID of the volume group. @@ -26,13 +26,13 @@ type ListVolumeGroupBackupsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -98,7 +98,7 @@ func (request ListVolumeGroupBackupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListVolumeGroupBackupsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -114,7 +114,7 @@ type ListVolumeGroupBackupsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go index 2989e13689..68041e166e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_group_replicas_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,25 +15,25 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicasRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupReplicas.go.html to see an example of how to use ListVolumeGroupReplicasRequest. type ListVolumeGroupReplicasRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -105,7 +105,7 @@ func (request ListVolumeGroupReplicasRequest) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeGroupReplicaLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -121,7 +121,7 @@ type ListVolumeGroupReplicasResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go index 2ea3122d3f..4739a0a766 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volume_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroupsRequest. type ListVolumeGroupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -27,13 +27,13 @@ type ListVolumeGroupsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -106,7 +106,7 @@ func (request ListVolumeGroupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -122,7 +122,7 @@ type ListVolumeGroupsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go index 81b26acd13..155625dda1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_volumes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,25 +15,25 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumesRequest. type ListVolumesRequest struct { // The name of the availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A filter to return only resources that match the given display name exactly. @@ -112,7 +112,7 @@ func (request ListVolumesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVolumeLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -128,7 +128,7 @@ type ListVolumesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go index d877a79f96..2129776c17 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_vtaps_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,19 +15,19 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtapsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVtaps.go.html to see an example of how to use ListVtapsRequest. type ListVtapsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP source. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP source. Source *string `mandatory:"false" contributesTo:"query" name:"source"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP target. TargetId *string `mandatory:"false" contributesTo:"query" name:"targetId"` // The IP address of the VTAP target. @@ -40,13 +40,13 @@ type ListVtapsRequest struct { // For list pagination. The maximum number of results per page, or items to return in a paginated // "List" call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" // call. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Unique identifier for the request. @@ -119,7 +119,7 @@ func (request ListVtapsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetVtapLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -135,7 +135,7 @@ type ListVtapsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go index 218587e533..3534de79ad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/local_peering_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,20 +25,20 @@ import ( // with another VCN in the same region. *Peering* means that the two VCNs can // communicate using private IP addresses, but without the traffic traversing the // internet or routing through your on-premises network. For more information, -// see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// see VCN Peering (https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type LocalPeeringGateway struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the LPG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the LPG. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` - // The LPG's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The LPG's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // Whether the VCN at the other end of the peering is in a different tenancy. @@ -53,26 +53,32 @@ type LocalPeeringGateway struct { // LPG at the other end of the peering has been deleted. PeeringStatus LocalPeeringGatewayPeeringStatusEnum `mandatory:"true" json:"peeringStatus"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peered LPG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peered LPG. PeerId *string `mandatory:"true" json:"peerId"` // The date and time the LPG was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that uses the LPG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that uses the LPG. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` + // The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN // at the other end of the peering from this LPG. See `peerAdvertisedCidrDetails` for // the individual CIDRs. The value is `null` if the LPG is not peered. @@ -89,9 +95,9 @@ type LocalPeeringGateway struct { // Additional information regarding the peering status, if applicable. PeeringStatusDetails *string `mandatory:"false" json:"peeringStatusDetails"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG is using. // For information about why you would associate a route table with an LPG, see - // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -112,7 +118,7 @@ func (m LocalPeeringGateway) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go index 9a1da459f7..aacfec126e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,10 +25,10 @@ import ( // LoopBackDrgAttachmentNetworkDetails Specifies the loopback attachment on the DRG. A loopback attachment can be used to terminate a virtual circuit that is carrying an IPSec tunnel, routing traffic directly to the IPSec tunnel attachment where the tunnel can terminate. type LoopBackDrgAttachmentNetworkDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"false" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target IPSec tunnel attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target IPSec tunnel attachment. Ids []string `mandatory:"false" json:"ids"` } @@ -48,7 +48,7 @@ func (m LoopBackDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go index bc793b7535..3e6594f2c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_encryption_cipher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go index cb66c66f7c..bfd4aa0cd3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // MacsecKey An object defining the Secrets-in-Vault OCIDs representing the MACsec key. type MacsecKey struct { - // Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. + // Secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. ConnectivityAssociationNameSecretId *string `mandatory:"true" json:"connectivityAssociationNameSecretId"` - // Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. + // Secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. ConnectivityAssociationKeySecretId *string `mandatory:"true" json:"connectivityAssociationKeySecretId"` // The secret version of the connectivity association name secret in Vault. @@ -48,7 +48,7 @@ func (m MacsecKey) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go index cf646a5056..9665f8911f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m MacsecProperties) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionCipher: %s. Supported values are: %s.", m.EncryptionCipher, strings.Join(GetMacsecEncryptionCipherEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go index 6087d9e605..9f9a4d7911 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go index cd67725587..3167616743 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m MeasuredBootEntry) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go index a6fe5a2ea7..f60bea5ef3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m MeasuredBootReport) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go index cce6457062..235ca736b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/measured_boot_report_measurements.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m MeasuredBootReportMeasurements) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/member_replica.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/member_replica.go index 49bf4343e1..2958503ff3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/member_replica.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/member_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m MemberReplica) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MembershipState: %s. Supported values are: %s.", m.MembershipState, strings.Join(GetMemberReplicaMembershipStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/memory_fabric_preferences_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/memory_fabric_preferences_descriptor.go new file mode 100644 index 0000000000..6eea30e02a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/memory_fabric_preferences_descriptor.go @@ -0,0 +1,97 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MemoryFabricPreferencesDescriptor The preference object specified by customer. Contains customerDesiredFirmwareBundleId, fabricRecycleLevel. +type MemoryFabricPreferencesDescriptor struct { + + // The desired firmware bundle id on the GPU memory fabric. + CustomerDesiredFirmwareBundleId *string `mandatory:"false" json:"customerDesiredFirmwareBundleId"` + + // The recycle level of GPU memory fabric. + FabricRecycleLevel MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum `mandatory:"false" json:"fabricRecycleLevel,omitempty"` +} + +func (m MemoryFabricPreferencesDescriptor) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MemoryFabricPreferencesDescriptor) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnum(string(m.FabricRecycleLevel)); !ok && m.FabricRecycleLevel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for FabricRecycleLevel: %s. Supported values are: %s.", m.FabricRecycleLevel, strings.Join(GetMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum Enum with underlying type: string +type MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum string + +// Set of constants representing the allowable values for MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum +const ( + MemoryFabricPreferencesDescriptorFabricRecycleLevelFullRecycle MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum = "FULL_RECYCLE" + MemoryFabricPreferencesDescriptorFabricRecycleLevelSkipRecycle MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum = "SKIP_RECYCLE" + MemoryFabricPreferencesDescriptorFabricRecycleLevelOpportunisticFullRecycle MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum = "OPPORTUNISTIC_FULL_RECYCLE" +) + +var mappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnum = map[string]MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum{ + "FULL_RECYCLE": MemoryFabricPreferencesDescriptorFabricRecycleLevelFullRecycle, + "SKIP_RECYCLE": MemoryFabricPreferencesDescriptorFabricRecycleLevelSkipRecycle, + "OPPORTUNISTIC_FULL_RECYCLE": MemoryFabricPreferencesDescriptorFabricRecycleLevelOpportunisticFullRecycle, +} + +var mappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumLowerCase = map[string]MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum{ + "full_recycle": MemoryFabricPreferencesDescriptorFabricRecycleLevelFullRecycle, + "skip_recycle": MemoryFabricPreferencesDescriptorFabricRecycleLevelSkipRecycle, + "opportunistic_full_recycle": MemoryFabricPreferencesDescriptorFabricRecycleLevelOpportunisticFullRecycle, +} + +// GetMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumValues Enumerates the set of values for MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum +func GetMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumValues() []MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum { + values := make([]MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum, 0) + for _, v := range mappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnum { + values = append(values, v) + } + return values +} + +// GetMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumStringValues Enumerates the set of values in String for MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum +func GetMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumStringValues() []string { + return []string{ + "FULL_RECYCLE", + "SKIP_RECYCLE", + "OPPORTUNISTIC_FULL_RECYCLE", + } +} + +// GetMappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnum(val string) (MemoryFabricPreferencesDescriptorFabricRecycleLevelEnum, bool) { + enum, ok := mappingMemoryFabricPreferencesDescriptorFabricRecycleLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_details.go new file mode 100644 index 0000000000..1a78d12cfd --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_details.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ModifyIpv4SubnetCidrDetails Details object for updating the specified Ipv4 CIDR block of a Subnet. +type ModifyIpv4SubnetCidrDetails struct { + + // The Ipv4 CIDR IP address to update. + Ipv4CidrBlock *string `mandatory:"true" json:"ipv4CidrBlock"` + + // The new Ipv4 CIDR IP address. + UpdatedIpv4CidrBlock *string `mandatory:"true" json:"updatedIpv4CidrBlock"` +} + +func (m ModifyIpv4SubnetCidrDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ModifyIpv4SubnetCidrDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_request_response.go new file mode 100644 index 0000000000..85150e7059 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_ipv4_subnet_cidr_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ModifyIpv4SubnetCidrRequest wrapper for the ModifyIpv4SubnetCidr operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyIpv4SubnetCidr.go.html to see an example of how to use ModifyIpv4SubnetCidrRequest. +type ModifyIpv4SubnetCidrRequest struct { + + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` + + // Details object for updating a SUBNET IPv4 prefix. + ModifyIpv4SubnetCidrDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ModifyIpv4SubnetCidrRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ModifyIpv4SubnetCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ModifyIpv4SubnetCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ModifyIpv4SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ModifyIpv4SubnetCidrRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ModifyIpv4SubnetCidrResponse wrapper for the ModifyIpv4SubnetCidr operation +type ModifyIpv4SubnetCidrResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response ModifyIpv4SubnetCidrResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ModifyIpv4SubnetCidrResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go index 39757d5729..1717b7f280 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ModifyVcnCidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go index 702c497fd2..f51eaf9cbe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/modify_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidrRequest. type ModifyVcnCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Details object for updating a VCN CIDR. @@ -77,7 +77,7 @@ func (request ModifyVcnCidrRequest) RetryPolicy() *common.RetryPolicy { func (request ModifyVcnCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type ModifyVcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go index d8c2c982dc..5a6ceaa5f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/multipath_device.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -49,7 +49,7 @@ func (m MultipathDevice) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go index f5b311dfd3..0622487ed6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/nat_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,19 +24,19 @@ import ( // NatGateway A NAT (Network Address Translation) gateway, which represents a router that lets instances // without public IPs contact the public internet without exposing the instance to inbound // internet traffic. For more information, see -// NAT Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/NATgateway.htm). +// NAT Gateway (https://docs.oracle.com/iaas/Content/Network/Tasks/NATgateway.htm). // To use any of the API operations, you must be authorized in an // IAM policy. If you are not authorized, talk to an // administrator. If you are an administrator who needs to write // policies to give users access, see Getting Started with -// Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type NatGateway struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains // the NAT gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the // NAT gateway. Id *string `mandatory:"true" json:"id"` @@ -54,12 +54,12 @@ type NatGateway struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway // belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -68,14 +68,14 @@ type NatGateway struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. PublicIpId *string `mandatory:"false" json:"publicIpId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. // If you don't specify a route table here, the NAT gateway is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route table // with the NAT gateway. @@ -96,7 +96,7 @@ func (m NatGateway) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go index 760da9d06a..1f8dde788d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,32 +31,32 @@ import ( // // After creating an NSG, you can add VNICs and security rules to it. For example, when you create // an instance, you can specify one or more NSGs to add the instance to (see -// `CreateVnicDetails)`. Or you can add an existing -// instance to an NSG with `UpdateVnic`. +// CreateVnicDetails). Or you can add an existing +// instance to an NSG with UpdateVnic. // To add security rules to an NSG, see -// `AddNetworkSecurityGroupSecurityRules`. +// AddNetworkSecurityGroupSecurityRules. // To list the VNICs in an NSG, see -// `ListNetworkSecurityGroupVnics`. +// ListNetworkSecurityGroupVnics. // To list the security rules in an NSG, see -// `ListNetworkSecurityGroupSecurityRules`. +// ListNetworkSecurityGroupSecurityRules. // For more information about network security groups, see -// `Network Security Groups (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm)`. +// Network Security Groups (https://docs.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm). // **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example, // Linux iptables, Windows firewall). If there are issues with some type of access to an instance, // make sure all of the following are set correctly: // - Any security rules in any NSGs the instance's VNIC belongs to -// - Any `SecurityList` associated with the instance's subnet +// - Any SecurityList associated with the instance's subnet // - The instance's OS firewall rules // // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type NetworkSecurityGroup struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the network security group is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment the network security group is in. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. Id *string `mandatory:"true" json:"id"` // The network security group's current state. @@ -66,11 +66,11 @@ type NetworkSecurityGroup struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group's VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group's VCN. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -79,7 +79,7 @@ type NetworkSecurityGroup struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -98,7 +98,7 @@ func (m NetworkSecurityGroup) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go index 45d69a8eb4..993402380c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/network_security_group_vnic.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // NetworkSecurityGroupVnic Information about a VNIC that belongs to a network security group. type NetworkSecurityGroupVnic struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. VnicId *string `mandatory:"true" json:"vnicId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent resource that the VNIC + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent resource that the VNIC // is attached to (for example, a Compute instance). ResourceId *string `mandatory:"false" json:"resourceId"` @@ -48,7 +48,7 @@ func (m NetworkSecurityGroupVnic) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go index 6bb7751232..0e624ed484 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( ) // NetworkingTopology Defines the representation of a virtual network topology for a region. -// See Network Visualizer Documentation (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including +// See Network Visualizer Documentation (https://docs.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including // conventions and pictures of symbols. type NetworkingTopology struct { @@ -73,7 +73,7 @@ func (m NetworkingTopology) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go index 4724b4b5a4..eb0ca639ad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/paravirtualized_volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -171,7 +171,7 @@ func (m ParavirtualizedVolumeAttachment) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go index d8abbcd78d..b0f0df7990 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/peer_region_for_remote_peering.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,7 +22,7 @@ import ( ) // PeerRegionForRemotePeering Details about a region that supports remote VCN peering. For more -// information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// information, see VCN Peering (https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). type PeerRegionForRemotePeering struct { // The region's name. @@ -41,7 +41,7 @@ func (m PeerRegionForRemotePeering) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go index 20ec92c9e5..80217e7a03 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/percentage_of_cores_enabled_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m PercentageOfCoresEnabledOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go index ae3727fcff..15328cff70 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/performance_based_autotune_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -44,7 +44,7 @@ func (m PerformanceBasedAutotunePolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go index 0f6bcfbed6..1516704a77 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_one_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -60,7 +60,7 @@ func (m PhaseOneConfigDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DiffieHelmanGroup: %s. Supported values are: %s.", m.DiffieHelmanGroup, strings.Join(GetPhaseOneConfigDetailsDiffieHelmanGroupEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go index 86aac353e0..7b8e563474 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/phase_two_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -63,7 +63,7 @@ func (m PhaseTwoConfigDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PfsDhGroup: %s. Supported values are: %s.", m.PfsDhGroup, strings.Join(GetPhaseTwoConfigDetailsPfsDhGroupEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/placement_constraint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/placement_constraint_details.go new file mode 100644 index 0000000000..f63e049649 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/placement_constraint_details.go @@ -0,0 +1,87 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PlacementConstraintDetails The details for providing placement constraints. +type PlacementConstraintDetails interface { +} + +type placementconstraintdetails struct { + JsonData []byte + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *placementconstraintdetails) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerplacementconstraintdetails placementconstraintdetails + s := struct { + Model Unmarshalerplacementconstraintdetails + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *placementconstraintdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "HOST_GROUP": + mm := HostGroupPlacementConstraintDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + case "COMPUTE_BARE_METAL_HOST": + mm := ComputeBareMetalHostPlacementConstraintDetails{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + common.Logf("Received unsupported enum value for PlacementConstraintDetails: %s.", m.Type) + return *m, nil + } +} + +func (m placementconstraintdetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m placementconstraintdetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go index 7d6d6b4941..4092e527e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -113,7 +113,7 @@ func (m *platformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, err err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for PlatformConfig: %s.", m.Type) + common.Logf("Received unsupported enum value for PlatformConfig: %s.", m.Type) return *m, nil } } @@ -149,7 +149,7 @@ func (m platformconfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_versions.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_versions.go new file mode 100644 index 0000000000..bbfbb000be --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_versions.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// PlatformVersions A platform's pinned firmware versions. +type PlatformVersions struct { + + // The name of the platform supported by this bundle. + Platform *string `mandatory:"false" json:"platform"` + + // An array of pinned components and their respective firmware versions. + Versions []ComponentVersion `mandatory:"false" json:"versions"` +} + +func (m PlatformVersions) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m PlatformVersions) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/port_range.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/port_range.go index 554ec42bfc..37c2ca60bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/port_range.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/port_range.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,7 +43,7 @@ func (m PortRange) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go index fe57096aaf..7daf1a99c8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/preemptible_instance_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,7 +38,7 @@ func (m PreemptibleInstanceConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go index d6f2471d21..ccbb0f3358 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/preemption_action.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -61,7 +61,7 @@ func (m *preemptionaction) UnmarshalPolymorphicJSON(data []byte) (interface{}, e err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for PreemptionAction: %s.", m.Type) + common.Logf("Received unsupported enum value for PreemptionAction: %s.", m.Type) return *m, nil } } @@ -77,7 +77,7 @@ func (m preemptionaction) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip.go index c2d30461db..58f3233a1e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -31,7 +31,7 @@ import ( // automatically deleted when the VNIC is terminated. // You can add *secondary private IPs* to a VNIC after it's created. For more // information, see the `privateIp` operations and also -// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). +// IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // **Note:** Only // ListPrivateIps and // GetPrivateIp work with @@ -41,14 +41,14 @@ import ( // CreateVnicDetails when calling either // LaunchInstance or // AttachVnic. To update the hostname -// for a primary private IP, you use `UpdateVnic`. +// for a primary private IP, you use UpdateVnic. // `PrivateIp` objects that are created for use with the Oracle Cloud VMware Solution are // assigned to a VLAN and not a VNIC in a subnet. See the // descriptions of the relevant attributes in the `PrivateIp` object. Also see // Vlan. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type PrivateIp struct { // The private IP's availability domain. This attribute will be null if this is a *secondary* @@ -56,11 +56,11 @@ type PrivateIp struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the private IP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the private IP. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -69,7 +69,7 @@ type PrivateIp struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -80,11 +80,11 @@ type PrivateIp struct { // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` - // The private IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The private IP's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"false" json:"id"` // The private IP address of the `privateIp` object. The address is within the CIDR @@ -95,17 +95,20 @@ type PrivateIp struct { // Example: `10.0.3.3` IpAddress *string `mandatory:"false" json:"ipAddress"` + // The secondary IPv4 CIDR prefix length. + CidrPrefixLength *int `mandatory:"false" json:"cidrPrefixLength"` + // Whether this private IP is the primary one on the VNIC. Primary private IPs // are unassigned and deleted automatically when the VNIC is terminated. // Example: `true` IsPrimary *bool `mandatory:"false" json:"isPrimary"` // Applicable only if the `PrivateIp` object is being used with a VLAN as part of - // the Oracle Cloud VMware Solution. The `vlanId` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See + // the Oracle Cloud VMware Solution. The `vlanId` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See // Vlan. VlanId *string `mandatory:"false" json:"vlanId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. // However, if the `PrivateIp` object is being used with a VLAN as part of // the Oracle Cloud VMware Solution, the `subnetId` is null. SubnetId *string `mandatory:"false" json:"subnetId"` @@ -114,11 +117,27 @@ type PrivateIp struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the private IP is assigned to. The VNIC and private IP + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the private IP is assigned to. The VNIC and private IP // must be in the same subnet. // However, if the `PrivateIp` object is being used with a VLAN as part of // the Oracle Cloud VMware Solution, the `vnicId` is null. VnicId *string `mandatory:"false" json:"vnicId"` + + // State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE. + IpState PrivateIpIpStateEnum `mandatory:"false" json:"ipState,omitempty"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime PrivateIpLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` + + // Ipv4 Subnet CIDR specified whn creating the PrivateIP. + Ipv4SubnetCidrAtCreation *string `mandatory:"false" json:"ipv4SubnetCidrAtCreation"` } func (m PrivateIp) String() string { @@ -131,8 +150,98 @@ func (m PrivateIp) String() string { func (m PrivateIp) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingPrivateIpIpStateEnum(string(m.IpState)); !ok && m.IpState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpState: %s. Supported values are: %s.", m.IpState, strings.Join(GetPrivateIpIpStateEnumStringValues(), ","))) + } + if _, ok := GetMappingPrivateIpLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetPrivateIpLifetimeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// PrivateIpIpStateEnum Enum with underlying type: string +type PrivateIpIpStateEnum string + +// Set of constants representing the allowable values for PrivateIpIpStateEnum +const ( + PrivateIpIpStateAssigned PrivateIpIpStateEnum = "ASSIGNED" + PrivateIpIpStateAvailable PrivateIpIpStateEnum = "AVAILABLE" +) + +var mappingPrivateIpIpStateEnum = map[string]PrivateIpIpStateEnum{ + "ASSIGNED": PrivateIpIpStateAssigned, + "AVAILABLE": PrivateIpIpStateAvailable, +} + +var mappingPrivateIpIpStateEnumLowerCase = map[string]PrivateIpIpStateEnum{ + "assigned": PrivateIpIpStateAssigned, + "available": PrivateIpIpStateAvailable, +} + +// GetPrivateIpIpStateEnumValues Enumerates the set of values for PrivateIpIpStateEnum +func GetPrivateIpIpStateEnumValues() []PrivateIpIpStateEnum { + values := make([]PrivateIpIpStateEnum, 0) + for _, v := range mappingPrivateIpIpStateEnum { + values = append(values, v) + } + return values +} + +// GetPrivateIpIpStateEnumStringValues Enumerates the set of values in String for PrivateIpIpStateEnum +func GetPrivateIpIpStateEnumStringValues() []string { + return []string{ + "ASSIGNED", + "AVAILABLE", + } +} + +// GetMappingPrivateIpIpStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPrivateIpIpStateEnum(val string) (PrivateIpIpStateEnum, bool) { + enum, ok := mappingPrivateIpIpStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// PrivateIpLifetimeEnum Enum with underlying type: string +type PrivateIpLifetimeEnum string + +// Set of constants representing the allowable values for PrivateIpLifetimeEnum +const ( + PrivateIpLifetimeEphemeral PrivateIpLifetimeEnum = "EPHEMERAL" + PrivateIpLifetimeReserved PrivateIpLifetimeEnum = "RESERVED" +) + +var mappingPrivateIpLifetimeEnum = map[string]PrivateIpLifetimeEnum{ + "EPHEMERAL": PrivateIpLifetimeEphemeral, + "RESERVED": PrivateIpLifetimeReserved, +} + +var mappingPrivateIpLifetimeEnumLowerCase = map[string]PrivateIpLifetimeEnum{ + "ephemeral": PrivateIpLifetimeEphemeral, + "reserved": PrivateIpLifetimeReserved, +} + +// GetPrivateIpLifetimeEnumValues Enumerates the set of values for PrivateIpLifetimeEnum +func GetPrivateIpLifetimeEnumValues() []PrivateIpLifetimeEnum { + values := make([]PrivateIpLifetimeEnum, 0) + for _, v := range mappingPrivateIpLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetPrivateIpLifetimeEnumStringValues Enumerates the set of values in String for PrivateIpLifetimeEnum +func GetPrivateIpLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingPrivateIpLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingPrivateIpLifetimeEnum(val string) (PrivateIpLifetimeEnum, bool) { + enum, ok := mappingPrivateIpLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip_vnic_detach_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip_vnic_detach_request_response.go new file mode 100644 index 0000000000..70075c96ea --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/private_ip_vnic_detach_request_response.go @@ -0,0 +1,106 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// PrivateIpVnicDetachRequest wrapper for the PrivateIpVnicDetach operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/PrivateIpVnicDetach.go.html to see an example of how to use PrivateIpVnicDetachRequest. +type PrivateIpVnicDetachRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. + PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request PrivateIpVnicDetachRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request PrivateIpVnicDetachRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request PrivateIpVnicDetachRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request PrivateIpVnicDetachRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request PrivateIpVnicDetachRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// PrivateIpVnicDetachResponse wrapper for the PrivateIpVnicDetach operation +type PrivateIpVnicDetachResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The PrivateIp instance + PrivateIp `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response PrivateIpVnicDetachResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response PrivateIpVnicDetachResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip.go index 39f36267ce..27febd52ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,10 +27,10 @@ import ( // 1. Ephemeral // 2. Reserved // For more information and comparison of the two types, -// see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). +// see Public IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). type PublicIp struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity the public IP is assigned to, or in the process of + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity the public IP is assigned to, or in the process of // being assigned to. AssignedEntityId *string `mandatory:"false" json:"assignedEntityId"` @@ -44,14 +44,14 @@ type PublicIp struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP. For an ephemeral public IP, this is + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP. For an ephemeral public IP, this is // the compartment of its assigned entity (which can be a private IP or a regional entity such // as a NAT gateway). For a reserved public IP that is currently assigned, // its compartment can be different from the assigned private IP's. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -60,11 +60,11 @@ type PublicIp struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The public IP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The public IP's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"false" json:"id"` // The public IP address of the `publicIp` object. @@ -84,11 +84,11 @@ type PublicIp struct { // * `RESERVED`: You control the public IP's lifetime. You can delete a reserved public IP // whenever you like. It does not need to be assigned to a private IP at all times. // For more information and comparison of the two types, - // see Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). + // see Public IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). Lifetime PublicIpLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` // Deprecated. Use `assignedEntityId` instead. - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the // process of being assigned to. // **Note:** This is `null` if the public IP is not assigned to a private IP, or is // in the process of being assigned to one. @@ -108,7 +108,7 @@ type PublicIp struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool object created in the current tenancy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool object created in the current tenancy. PublicIpPoolId *string `mandatory:"false" json:"publicIpPoolId"` } @@ -135,7 +135,7 @@ func (m PublicIp) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Scope: %s. Supported values are: %s.", m.Scope, strings.Join(GetPublicIpScopeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go index cd321ad194..5232522255 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // PublicIpPool A public IP pool is a set of public IP addresses represented as one or more IPv4 CIDR blocks. Resources like load balancers and compute instances can be allocated public IP addresses from a public IP pool. type PublicIpPool struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this pool. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. Id *string `mandatory:"true" json:"id"` // The date and time the public IP pool was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -38,7 +38,7 @@ type PublicIpPool struct { CidrBlocks []string `mandatory:"false" json:"cidrBlocks"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -47,7 +47,7 @@ type PublicIpPool struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -69,7 +69,7 @@ func (m PublicIpPool) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPublicIpPoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go index 04b3820903..45e5c40412 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m PublicIpPoolCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go index 629e5943e2..b00a23e10d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/public_ip_pool_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,11 +24,11 @@ import ( // PublicIpPoolSummary Summary information about a public IP pool. type PublicIpPoolSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,11 +37,11 @@ type PublicIpPoolSummary struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. Id *string `mandatory:"false" json:"id"` // The public IP pool's current state. @@ -66,7 +66,7 @@ func (m PublicIpPoolSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetPublicIpPoolLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go index 35cdfe4f37..9b4d0ee67a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/reboot_migrate_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -47,7 +47,7 @@ func (m RebootMigrateActionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/recycle_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/recycle_details.go new file mode 100644 index 0000000000..2334449ab6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/recycle_details.go @@ -0,0 +1,95 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// RecycleDetails Shows details about the last recycle performed on this host. +type RecycleDetails struct { + + // Preferred recycle level for hosts associated with the reservation config. + // * `SKIP_RECYCLE` - Skips host wipe. + // * `FULL_RECYCLE` - Does not skip host wipe. This is the default behavior. + RecycleLevel RecycleDetailsRecycleLevelEnum `mandatory:"false" json:"recycleLevel,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group this host was attached to at the time of recycle. + ComputeHostGroupId *string `mandatory:"false" json:"computeHostGroupId"` +} + +func (m RecycleDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m RecycleDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingRecycleDetailsRecycleLevelEnum(string(m.RecycleLevel)); !ok && m.RecycleLevel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecycleLevel: %s. Supported values are: %s.", m.RecycleLevel, strings.Join(GetRecycleDetailsRecycleLevelEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// RecycleDetailsRecycleLevelEnum Enum with underlying type: string +type RecycleDetailsRecycleLevelEnum string + +// Set of constants representing the allowable values for RecycleDetailsRecycleLevelEnum +const ( + RecycleDetailsRecycleLevelSkipRecycle RecycleDetailsRecycleLevelEnum = "SKIP_RECYCLE" + RecycleDetailsRecycleLevelFullRecycle RecycleDetailsRecycleLevelEnum = "FULL_RECYCLE" +) + +var mappingRecycleDetailsRecycleLevelEnum = map[string]RecycleDetailsRecycleLevelEnum{ + "SKIP_RECYCLE": RecycleDetailsRecycleLevelSkipRecycle, + "FULL_RECYCLE": RecycleDetailsRecycleLevelFullRecycle, +} + +var mappingRecycleDetailsRecycleLevelEnumLowerCase = map[string]RecycleDetailsRecycleLevelEnum{ + "skip_recycle": RecycleDetailsRecycleLevelSkipRecycle, + "full_recycle": RecycleDetailsRecycleLevelFullRecycle, +} + +// GetRecycleDetailsRecycleLevelEnumValues Enumerates the set of values for RecycleDetailsRecycleLevelEnum +func GetRecycleDetailsRecycleLevelEnumValues() []RecycleDetailsRecycleLevelEnum { + values := make([]RecycleDetailsRecycleLevelEnum, 0) + for _, v := range mappingRecycleDetailsRecycleLevelEnum { + values = append(values, v) + } + return values +} + +// GetRecycleDetailsRecycleLevelEnumStringValues Enumerates the set of values in String for RecycleDetailsRecycleLevelEnum +func GetRecycleDetailsRecycleLevelEnumStringValues() []string { + return []string{ + "SKIP_RECYCLE", + "FULL_RECYCLE", + } +} + +// GetMappingRecycleDetailsRecycleLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingRecycleDetailsRecycleLevelEnum(val string) (RecycleDetailsRecycleLevelEnum, bool) { + enum, ok := mappingRecycleDetailsRecycleLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go index c81d7b1d65..d5a28dc59d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,23 +25,23 @@ import ( // to the DRG peer with a VCN in a different region. *Peering* means that the two VCNs can // communicate using private IP addresses, but without the traffic traversing the internet or // routing through your on-premises network. For more information, see -// VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). +// VCN Peering (https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type RemotePeeringConnection struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the RPC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the RPC. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Avoid entering confidential information. DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that this RPC belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that this RPC belongs to. DrgId *string `mandatory:"true" json:"drgId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC. Id *string `mandatory:"true" json:"id"` // Whether the VCN at the other end of the peering is in a different tenancy. @@ -61,23 +61,23 @@ type RemotePeeringConnection struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // If this RPC is peered, this value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC. + // If this RPC is peered, this value is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC. PeerId *string `mandatory:"false" json:"peerId"` // If this RPC is peered, this value is the region that contains the other RPC. // Example: `us-ashburn-1` PeerRegionName *string `mandatory:"false" json:"peerRegionName"` - // If this RPC is peered, this value is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC's tenancy. + // If this RPC is peered, this value is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the other RPC's tenancy. PeerTenancyId *string `mandatory:"false" json:"peerTenancyId"` } @@ -98,7 +98,7 @@ func (m RemotePeeringConnection) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go index f1cd642b0d..94c5cada06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // RemotePeeringConnectionDrgAttachmentNetworkDetails Specifies the DRG attachment to another DRG. type RemotePeeringConnectionDrgAttachmentNetworkDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"false" json:"id"` } @@ -45,7 +45,7 @@ func (m RemotePeeringConnectionDrgAttachmentNetworkDetails) ValidateEnumValue() errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go index 2c9ecba402..0ddc2fd87c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m RemoveDrgRouteDistributionStatementsDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go index 3b80f86e72..c65400ad06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatementsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatementsRequest. type RemoveDrgRouteDistributionStatementsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // Request with one or more route distribution statements to remove from the route distribution. @@ -65,7 +65,7 @@ func (request RemoveDrgRouteDistributionStatementsRequest) RetryPolicy() *common func (request RemoveDrgRouteDistributionStatementsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go index 7452b6407b..224fc4972f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m RemoveDrgRouteRulesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go index 90b087a459..f95770d529 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRulesRequest. type RemoveDrgRouteRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // Request to remove one or more route rules in the DRG route table. @@ -65,7 +65,7 @@ func (request RemoveDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveDrgRouteRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go index 8dae871ceb..8a003d0ab4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_export_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistributionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistributionRequest. type RemoveExportDrgRouteDistributionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` // Unique identifier for the request. @@ -67,7 +67,7 @@ func (request RemoveExportDrgRouteDistributionRequest) RetryPolicy() *common.Ret func (request RemoveExportDrgRouteDistributionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go index 351287218d..f3bbd49a51 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_image_shape_compatibility_entry_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntryRequest. type RemoveImageShapeCompatibilityEntryRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Shape name. @@ -65,7 +65,7 @@ func (request RemoveImageShapeCompatibilityEntryRequest) RetryPolicy() *common.R func (request RemoveImageShapeCompatibilityEntryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go index ab5026a93d..d4f1de4f7b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_import_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistributionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistributionRequest. type RemoveImportDrgRouteDistributionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // Unique identifier for the request. @@ -67,7 +67,7 @@ func (request RemoveImportDrgRouteDistributionRequest) RetryPolicy() *common.Ret func (request RemoveImportDrgRouteDistributionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_details.go new file mode 100644 index 0000000000..d308a0bad6 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_details.go @@ -0,0 +1,50 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// RemoveIpv4SubnetCidrDetails Details object for removing an IPv4 prefix from a subnet. +type RemoveIpv4SubnetCidrDetails struct { + + // This field should only be specified when removing an IPv4 prefix from a subnet's IPv4 address space. + // The CIDR must maintain the following rules - + // a. The CIDR block is valid and correctly formatted. + // b. The CIDR range is within one of the parent VCN ranges. + // c. The CIDR range to be removed is already present in the list of ipv4CidrBlocks + // Example: `10.0.1.0/24` + Ipv4CidrBlock *string `mandatory:"true" json:"ipv4CidrBlock"` +} + +func (m RemoveIpv4SubnetCidrDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m RemoveIpv4SubnetCidrDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_request_response.go new file mode 100644 index 0000000000..f470333077 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv4_subnet_cidr_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// RemoveIpv4SubnetCidrRequest wrapper for the RemoveIpv4SubnetCidr operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv4SubnetCidr.go.html to see an example of how to use RemoveIpv4SubnetCidrRequest. +type RemoveIpv4SubnetCidrRequest struct { + + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` + + // Details object for removing an IPv4 SUBNET prefix. + RemoveIpv4SubnetCidrDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request RemoveIpv4SubnetCidrRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request RemoveIpv4SubnetCidrRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request RemoveIpv4SubnetCidrRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request RemoveIpv4SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request RemoveIpv4SubnetCidrRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// RemoveIpv4SubnetCidrResponse wrapper for the RemoveIpv4SubnetCidr operation +type RemoveIpv4SubnetCidrResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response RemoveIpv4SubnetCidrResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response RemoveIpv4SubnetCidrResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go index 56e289cbf8..dab5de440a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_subnet_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6SubnetCidr.go.html to see an example of how to use RemoveIpv6SubnetCidrRequest. type RemoveIpv6SubnetCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Details object for removing an IPv6 SUBNET prefix. @@ -77,7 +77,7 @@ func (request RemoveIpv6SubnetCidrRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveIpv6SubnetCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type RemoveIpv6SubnetCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go index 2bcd7ffdf7..d23bf6e06f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_ipv6_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveIpv6VcnCidr.go.html to see an example of how to use RemoveIpv6VcnCidrRequest. type RemoveIpv6VcnCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Unique identifier for the request. @@ -77,7 +77,7 @@ func (request RemoveIpv6VcnCidrRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveIpv6VcnCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -95,8 +95,8 @@ type RemoveIpv6VcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go index 5a7ede9fc2..8f28855c4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m RemoveNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go index 987fc3f0c1..c838d334b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRulesRequest. type RemoveNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request with one or more security rules associated with the network security group that @@ -66,7 +66,7 @@ func (request RemoveNetworkSecurityGroupSecurityRulesRequest) RetryPolicy() *com func (request RemoveNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go index 6462a91c1d..13ab483716 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m RemovePublicIpPoolCapacityDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go index aca4c140ff..233d807d66 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_public_ip_pool_capacity_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacityRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacityRequest. type RemovePublicIpPoolCapacityRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` // The CIDR block to remove from the IP pool. @@ -72,7 +72,7 @@ func (request RemovePublicIpPoolCapacityRequest) RetryPolicy() *common.RetryPoli func (request RemovePublicIpPoolCapacityRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go index 8b90ca8ef5..9f359bc405 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_subnet_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ type RemoveSubnetIpv6CidrDetails struct { // This field is not required and should only be specified when removing an IPv6 prefix // from a subnet's IPv6 address space. - // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // SeeIPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123::/64` Ipv6CidrBlock *string `mandatory:"true" json:"ipv6CidrBlock"` } @@ -42,7 +42,7 @@ func (m RemoveSubnetIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go index 426a6a8318..d7d14ee5f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m RemoveVcnCidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go index b96a53bb9a..babcfa159a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_cidr_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidrRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidrRequest. type RemoveVcnCidrRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Details object for removing a VCN CIDR. @@ -77,7 +77,7 @@ func (request RemoveVcnCidrRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveVcnCidrRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type RemoveVcnCidrResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go index 6468c1517b..60dec6331d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remove_vcn_ipv6_cidr_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ type RemoveVcnIpv6CidrDetails struct { // This field is not required and should only be specified when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix // from a VCN's IPv6 address space. - // SeeIPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // SeeIPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123::/56` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` } @@ -42,7 +42,7 @@ func (m RemoveVcnIpv6CidrDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go index d8283ae700..71682722b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type ResetActionDetails struct { // For instances that use a DenseIO shape, the flag denoting whether - // reboot migration (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot) + // reboot migration (https://docs.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot) // is performed for the instance. The default value is `false`. // If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to `false`), the instance // will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the @@ -49,7 +49,7 @@ func (m ResetActionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go index 0bc84e018a..81a74dd5ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/reset_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePoolRequest. type ResetInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or @@ -74,7 +74,7 @@ func (request ResetInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request ResetInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/route_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/route_rule.go index 0eb0d3a191..4117bd86fc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/route_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/route_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,9 +25,9 @@ import ( // packets to (a target). type RouteRule struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the route rule's target. For information about the type of + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the route rule's target. For information about the type of // targets you can specify, see - // Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). + // Route Tables (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). NetworkEntityId *string `mandatory:"true" json:"networkEntityId"` // Deprecated. Instead use `destination` and `destinationType`. Requests that include both @@ -45,7 +45,7 @@ type RouteRule struct { // or `2001:0db8:0123:45::/56`. If you set this to an IPv6 prefix, the route rule's target // can only be a DRG or internet gateway. // IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a route rule for traffic destined for a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. @@ -82,7 +82,7 @@ func (m RouteRule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", m.RouteType, strings.Join(GetRouteRuleRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/route_table.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/route_table.go index 9213d5c024..b25b0234ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/route_table.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/route_table.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,16 +23,16 @@ import ( // RouteTable A collection of `RouteRule` objects, which are used to route packets // based on destination IP to a particular network entity. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// Overview of the Networking Service (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type RouteTable struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the route table. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The route table's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The route table's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The route table's current state. @@ -41,11 +41,11 @@ type RouteTable struct { // The collection of rules for routing destination IPs to network devices. RouteRules []RouteRule `mandatory:"true" json:"routeRules"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table list belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the route table list belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -54,7 +54,7 @@ type RouteTable struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -77,7 +77,7 @@ func (m RouteTable) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/security_list.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/security_list.go index bb1a09ff64..b85f8a34ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/security_list.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/security_list.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // SecurityList A set of virtual firewall rules for your VCN. Security lists are configured at the subnet // level, but the rules are applied to the ingress and egress traffic for the individual instances // in the subnet. The rules can be stateful or stateless. For more information, see -// Security Lists (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). +// Security Lists (https://docs.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). // **Note:** Compare security lists to NetworkSecurityGroups, // which let you apply a set of security rules to a *specific set of VNICs* instead of an entire // subnet. Oracle recommends using network security groups instead of security lists, although you @@ -35,10 +35,10 @@ import ( // firewall rules are set correctly. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type SecurityList struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the security list. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. @@ -48,7 +48,7 @@ type SecurityList struct { // Rules for allowing egress IP packets. EgressSecurityRules []EgressSecurityRule `mandatory:"true" json:"egressSecurityRules"` - // The security list's Oracle Cloud ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The security list's Oracle Cloud ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // Rules for allowing ingress IP packets. @@ -61,16 +61,16 @@ type SecurityList struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the security list belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -89,7 +89,7 @@ func (m SecurityList) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/security_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/security_rule.go index d064d3b69a..d35ccbb089 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/security_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/security_rule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -44,11 +44,11 @@ type SecurityRule struct { // Allowed values: // * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security rule for traffic destined for a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. - // * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same + // * The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same // VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control // traffic between VNICs in the same NSG. Destination *string `mandatory:"false" json:"destination"` @@ -59,7 +59,7 @@ type SecurityRule struct { // * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a // Service (the rule is for traffic destined for a // particular `Service` through a service gateway). - // * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + // * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a // NetworkSecurityGroup. DestinationType SecurityRuleDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` @@ -87,11 +87,11 @@ type SecurityRule struct { // Allowed values: // * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security rule for traffic coming from a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. - // * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same + // * The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same // VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control // traffic between VNICs in the same NSG. Source *string `mandatory:"false" json:"source"` @@ -101,7 +101,7 @@ type SecurityRule struct { // * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a // Service (the rule is for traffic coming from a // particular `Service` through a service gateway). - // * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + // * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a // NetworkSecurityGroup. SourceType SecurityRuleSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` @@ -133,7 +133,7 @@ func (m SecurityRule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetSecurityRuleSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/service.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/service.go index f2e1ff1355..a7dedbc08e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/service.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // Service An object that represents one or multiple Oracle services that you can enable for a // ServiceGateway. In the User Guide topic -// Access to Oracle Services: Service Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm), the +// Access to Oracle Services: Service Gateway (https://docs.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm), the // term *service CIDR label* is used to refer to the string that represents the regional public // IP address ranges of the Oracle service or services covered by a given `Service` object. That // unique string is the value of the `Service` object's `cidrBlock` attribute. @@ -44,7 +44,7 @@ type Service struct { // Example: `OCI PHX Object Storage` Description *string `mandatory:"true" json:"description"` - // The `Service` object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The `Service` object's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Id *string `mandatory:"true" json:"id"` // Name of the `Service` object. This name can change and is not guaranteed to be unique. @@ -63,7 +63,7 @@ func (m Service) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go index ca6847ff99..bb38bd1137 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/service_gateway.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,10 +27,10 @@ import ( // find available service CIDR labels) is routed through the service gateway and does not traverse the internet. // The instances in the VCN do not need to have public IP addresses nor be in a public subnet. The VCN does not // need an internet gateway for this traffic. For more information, see -// Access to Oracle Services: Service Gateway (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm). +// Access to Oracle Services: Service Gateway (https://docs.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type ServiceGateway struct { // Whether the service gateway blocks all traffic through it. The default is `false`. When @@ -38,11 +38,11 @@ type ServiceGateway struct { // Example: `true` BlockTraffic *bool `mandatory:"true" json:"blockTraffic"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the // service gateway. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service gateway. Id *string `mandatory:"true" json:"id"` // The service gateway's current state. @@ -54,12 +54,12 @@ type ServiceGateway struct { // UpdateServiceGateway. Services []ServiceIdResponseDetails `mandatory:"true" json:"services"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the service gateway + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the service gateway // belongs to. VcnId *string `mandatory:"true" json:"vcnId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -68,13 +68,13 @@ type ServiceGateway struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway is using. // For information about why you would associate a route table with a service gateway, see - // Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + // Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` // The date and time the service gateway was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -96,7 +96,7 @@ func (m ServiceGateway) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go index 2efdf8fd25..98e98a0741 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_request_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ServiceIdRequestDetails The representation of ServiceIdRequestDetails type ServiceIdRequestDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Service. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Service. ServiceId *string `mandatory:"true" json:"serviceId"` } @@ -39,7 +39,7 @@ func (m ServiceIdRequestDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go index bc51589979..8ea06a4331 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/service_id_response_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // ServiceIdResponseDetails The representation of ServiceIdResponseDetails type ServiceIdResponseDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service. ServiceId *string `mandatory:"true" json:"serviceId"` // The name of the service. @@ -42,7 +42,7 @@ func (m ServiceIdResponseDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_details.go new file mode 100644 index 0000000000..bb34be5cad --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_details.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// SetOriginAsnDetails Update Origin ASN of a BYOIP Range +type SetOriginAsnDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` Resource to be associated. + ByoasnId *string `mandatory:"true" json:"byoasnId"` + + // The as path prepend length. + AsPathPrependLength *int `mandatory:"false" json:"asPathPrependLength"` +} + +func (m SetOriginAsnDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m SetOriginAsnDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_request_response.go new file mode 100644 index 0000000000..dbf657ea9d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// SetOriginAsnRequest wrapper for the SetOriginAsn operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SetOriginAsn.go.html to see an example of how to use SetOriginAsnRequest. +type SetOriginAsnRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // ASN details + SetOriginAsnDetails `contributesTo:"body"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request SetOriginAsnRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request SetOriginAsnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request SetOriginAsnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request SetOriginAsnRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request SetOriginAsnRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// SetOriginAsnResponse wrapper for the SetOriginAsn operation +type SetOriginAsnResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response SetOriginAsnResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response SetOriginAsnResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_to_oracle_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_to_oracle_request_response.go new file mode 100644 index 0000000000..ce401ff1ab --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/set_origin_asn_to_oracle_request_response.go @@ -0,0 +1,93 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// SetOriginAsnToOracleRequest wrapper for the SetOriginAsnToOracle operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SetOriginAsnToOracle.go.html to see an example of how to use SetOriginAsnToOracleRequest. +type SetOriginAsnToOracleRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request SetOriginAsnToOracleRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request SetOriginAsnToOracleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request SetOriginAsnToOracleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request SetOriginAsnToOracleRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request SetOriginAsnToOracleRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// SetOriginAsnToOracleResponse wrapper for the SetOriginAsnToOracle operation +type SetOriginAsnToOracleResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response SetOriginAsnToOracleResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response SetOriginAsnToOracleResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape.go index a4c284b4d3..ef9d931ebb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,8 +22,8 @@ import ( ) // Shape A compute instance shape that can be used in LaunchInstance. -// For more information, see Overview of the Compute Service (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm) and -// Compute Shapes (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm). +// For more information, see Overview of the Compute Service (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm) and +// Compute Shapes (https://docs.oracle.com/iaas/Content/Compute/References/computeshapes.htm). type Shape struct { // The name of the shape. You can enumerate all available shapes by calling @@ -104,21 +104,24 @@ type Shape struct { // The list of of compartment quotas for the shape. QuotaNames []string `mandatory:"false" json:"quotaNames"` - // Whether the shape supports creating subcore or burstable instances. A burstable instance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/burstable-instances.htm) + // Whether the shape supports creating subcore or burstable instances. A burstable instance (https://docs.oracle.com/iaas/Content/Compute/References/burstable-instances.htm) // is a virtual machine (VM) instance that provides a baseline level of CPU performance with the ability to burst to a higher level to support occasional // spikes in usage. IsSubcore *bool `mandatory:"false" json:"isSubcore"` - // Whether the shape supports creating flexible instances. A flexible shape (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible) + // Whether the shape supports creating flexible instances. A flexible shape (https://docs.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible) // is a shape that lets you customize the number of OCPUs and the amount of memory when launching or resizing your instance. IsFlexible *bool `mandatory:"false" json:"isFlexible"` // The list of compatible shapes that this shape can be changed to. For more information, - // see Changing the Shape of an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). + // see Changing the Shape of an Instance (https://docs.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). ResizeCompatibleShapes []string `mandatory:"false" json:"resizeCompatibleShapes"` // The list of shapes and shape details (if applicable) that Oracle recommends that you use as an alternative to the current shape. RecommendedAlternatives []ShapeAlternativeObject `mandatory:"false" json:"recommendedAlternatives"` + + // The list of platform names that can be used for this shapes + PlatformNames []string `mandatory:"false" json:"platformNames"` } func (m Shape) String() string { @@ -141,7 +144,7 @@ func (m Shape) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BillingType: %s. Supported values are: %s.", m.BillingType, strings.Join(GetShapeBillingTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go index 5b3a7ce392..c2bbbab597 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_access_control_service_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeAccessControlServiceEnabledPlatformOptions) ValidateEnumValue() (bo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go index 6b3fd3d070..6c4b1648c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_alternative_object.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m ShapeAlternativeObject) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go index a8fcde5bb1..1dab6f45b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_input_output_memory_management_unit_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeInputOutputMemoryManagementUnitEnabledPlatformOptions) ValidateEnum errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go index 271eec9371..bee52f6781 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_max_vnic_attachment_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m ShapeMaxVnicAttachmentOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go index de7105f18b..8ee9503752 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_measured_boot_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeMeasuredBootOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go index f0ffde9ef5..8641771b0e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_encryption_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeMemoryEncryptionOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go index 6dd9862126..7b8e1b7f18 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_memory_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -55,7 +55,7 @@ func (m ShapeMemoryOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go index 2ed9d8a56d..b08ff5a2d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_networking_bandwidth_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m ShapeNetworkingBandwidthOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go index 3542676368..565b7628af 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_numa_nodes_per_socket_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -48,7 +48,7 @@ func (m ShapeNumaNodesPerSocketPlatformOptions) ValidateEnumValue() (bool, error } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -62,6 +62,7 @@ const ( ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps1 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS1" ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps2 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS2" ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps4 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS4" + ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps6 ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = "NPS6" ) var mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = map[string]ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum{ @@ -69,6 +70,7 @@ var mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum = map[string] "NPS1": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps1, "NPS2": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps2, "NPS4": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps4, + "NPS6": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps6, } var mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumLowerCase = map[string]ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum{ @@ -76,6 +78,7 @@ var mappingShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumLowerCase = ma "nps1": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps1, "nps2": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps2, "nps4": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps4, + "nps6": ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesNps6, } // GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumValues Enumerates the set of values for ShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnum @@ -94,6 +97,7 @@ func GetShapeNumaNodesPerSocketPlatformOptionsAllowedValuesEnumStringValues() [] "NPS1", "NPS2", "NPS4", + "NPS6", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go index ebc75118b0..453f40b4fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_ocpu_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m ShapeOcpuOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go index e45eeb8511..87750530c5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -62,7 +62,7 @@ func (m ShapePlatformConfigOptions) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Type: %s. Supported values are: %s.", m.Type, strings.Join(GetShapePlatformConfigOptionsTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go index 0726717d88..4d2a7dd096 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_secure_boot_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeSecureBootOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go index f68753f447..a9896e600e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_symmetric_multi_threading_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeSymmetricMultiThreadingEnabledPlatformOptions) ValidateEnumValue() errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go index e421027e2f..4a52e0340f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_trusted_platform_module_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeTrustedPlatformModuleOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go index 83d5df530b..d65248ff38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_virtual_instructions_enabled_platform_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m ShapeVirtualInstructionsEnabledPlatformOptions) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go index 457e518bbd..ee8904d881 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/soft_reset_action_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type SoftResetActionDetails struct { // For instances that use a DenseIO shape, the flag denoting whether - // reboot migration (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot) + // reboot migration (https://docs.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm#reboot) // is performed for the instance. The default value is `false`. // If the instance has a date in the Maintenance reboot field and you do nothing (or set this flag to `false`), the instance // will be rebuilt at the scheduled maintenance time. The instance will experience 2-6 hours of downtime during the @@ -49,7 +49,7 @@ func (m SoftResetActionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go index ed4f091d18..cdf1409f73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/softreset_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePoolRequest. type SoftresetInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or @@ -74,7 +74,7 @@ func (request SoftresetInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request SoftresetInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/softstop_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/softstop_instance_pool_request_response.go index c04572e38a..4c15fba502 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/softstop_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/softstop_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftstopInstancePool.go.html to see an example of how to use SoftstopInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftstopInstancePool.go.html to see an example of how to use SoftstopInstancePoolRequest. type SoftstopInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or @@ -74,7 +74,7 @@ func (request SoftstopInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request SoftstopInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go index 79f8c320da..80ccc3b3f5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/start_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePoolRequest. type StartInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or @@ -74,7 +74,7 @@ func (request StartInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request StartInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go index 784e9ad192..94347a02c2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/stop_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePoolRequest. type StopInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // A token that uniquely identifies a request so it can be retried in case of a timeout or @@ -74,7 +74,7 @@ func (request StopInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request StopInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet.go index d868595249..6a8a424af8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,30 +24,30 @@ import ( // Subnet A logical subdivision of a VCN. Each subnet // consists of a contiguous range of IP addresses that do not overlap with // other subnets in the VCN. Example: 172.16.1.0/24. For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm) and -// VCNs and Subnets (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). +// Overview of the Networking Service (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm) and +// VCNs and Subnets (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Subnet struct { // The subnet's CIDR block. // Example: `10.0.1.0/24` CidrBlock *string `mandatory:"true" json:"cidrBlock"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the subnet. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the subnet. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The subnet's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The subnet's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The subnet's current state. LifecycleState SubnetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the subnet uses. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the subnet uses. RouteTableId *string `mandatory:"true" json:"routeTableId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the subnet is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the subnet is in. VcnId *string `mandatory:"true" json:"vcnId"` // The IP address of the virtual router. @@ -63,12 +63,18 @@ type Subnet struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` + // The list of all IPv4 CIDR blocks for the subnet that meets the following criteria: + // - Ipv4 CIDR blocks must be valid. + // - Multiple Ipv4 CIDR blocks must not overlap each other or the on-premises network CIDR block. + // - The number of prefixes must not exceed the limit of IPv4 prefixes allowed to a subnet. + Ipv4CidrBlocks []string `mandatory:"false" json:"ipv4CidrBlocks"` + // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options that the subnet uses. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options that the subnet uses. DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"` // A user-friendly name. Does not have to be unique, and it's changeable. @@ -83,17 +89,17 @@ type Subnet struct { // The absence of this parameter means the Internet and VCN Resolver // will not resolve hostnames of instances in this subnet. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `subnet123` DnsLabel *string `mandatory:"false" json:"dnsLabel"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // For an IPv6-enabled subnet, this is the IPv6 prefix for the subnet's IP address space. - // The subnet size is always /64. See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // The subnet size is always /64. See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `2001:0db8:0123:1111::/64` Ipv6CidrBlock *string `mandatory:"false" json:"ipv6CidrBlock"` @@ -136,7 +142,7 @@ type Subnet struct { // The subnet's domain name, which consists of the subnet's DNS label, // the VCN's DNS label, and the `oraclevcn.com` domain. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `subnet123.vcn1.oraclevcn.com` SubnetDomainName *string `mandatory:"false" json:"subnetDomainName"` @@ -159,7 +165,7 @@ func (m Subnet) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go index 6cfd461194..af75288716 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( ) // SubnetTopology Defines the visualization of a subnet in a VCN. -// See Network Visualizer Documentation (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including +// See Network Visualizer Documentation (https://docs.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including // conventions and pictures of symbols. type SubnetTopology struct { @@ -41,7 +41,7 @@ type SubnetTopology struct { // Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet for which the visualization is generated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet for which the visualization is generated. SubnetId *string `mandatory:"false" json:"subnetId"` } @@ -76,7 +76,7 @@ func (m SubnetTopology) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/supported_capabilities.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/supported_capabilities.go new file mode 100644 index 0000000000..07ef0f1a9e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/supported_capabilities.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// SupportedCapabilities Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support. +type SupportedCapabilities struct { + + // Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential. + IsMemoryEncryptionSupported *bool `mandatory:"true" json:"isMemoryEncryptionSupported"` +} + +func (m SupportedCapabilities) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m SupportedCapabilities) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go index 90848bc9b6..92ba7b37d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tcp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m TcpOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go index 6ec39330c1..5f217a7429 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetworkRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetworkRequest. type TerminateClusterNetworkRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request TerminateClusterNetworkRequest) RetryPolicy() *common.RetryPolicy func (request TerminateClusterNetworkRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,8 +82,8 @@ type TerminateClusterNetworkResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go index 1abd4390a0..7b652a6b0a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePoolRequest. type TerminateInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request TerminateInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request TerminateInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go index 15dc757174..a98d5fd97e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstanceRequest. type TerminateInstanceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -35,6 +35,11 @@ type TerminateInstanceRequest struct { // default value is `true`. PreserveDataVolumesCreatedAtLaunch *bool `mandatory:"false" contributesTo:"query" name:"preserveDataVolumesCreatedAtLaunch"` + // This optional parameter overrides recycle level for hosts. The parameter can be used when hosts are associated + // with a Capacity Reservation. + // * `FULL_RECYCLE` - Does not skip host wipe. This is the default behavior. + RecycleLevel TerminateInstanceRecycleLevelEnum `mandatory:"false" contributesTo:"query" name:"recycleLevel" omitEmpty:"true"` + // Unique Oracle-assigned identifier for the request. // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` @@ -75,8 +80,11 @@ func (request TerminateInstanceRequest) RetryPolicy() *common.RetryPolicy { // Not recommended for calling this function directly func (request TerminateInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingTerminateInstanceRecycleLevelEnum(string(request.RecycleLevel)); !ok && request.RecycleLevel != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecycleLevel: %s. Supported values are: %s.", request.RecycleLevel, strings.Join(GetTerminateInstanceRecycleLevelEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -100,3 +108,41 @@ func (response TerminateInstanceResponse) String() string { func (response TerminateInstanceResponse) HTTPResponse() *http.Response { return response.RawResponse } + +// TerminateInstanceRecycleLevelEnum Enum with underlying type: string +type TerminateInstanceRecycleLevelEnum string + +// Set of constants representing the allowable values for TerminateInstanceRecycleLevelEnum +const ( + TerminateInstanceRecycleLevelFullRecycle TerminateInstanceRecycleLevelEnum = "FULL_RECYCLE" +) + +var mappingTerminateInstanceRecycleLevelEnum = map[string]TerminateInstanceRecycleLevelEnum{ + "FULL_RECYCLE": TerminateInstanceRecycleLevelFullRecycle, +} + +var mappingTerminateInstanceRecycleLevelEnumLowerCase = map[string]TerminateInstanceRecycleLevelEnum{ + "full_recycle": TerminateInstanceRecycleLevelFullRecycle, +} + +// GetTerminateInstanceRecycleLevelEnumValues Enumerates the set of values for TerminateInstanceRecycleLevelEnum +func GetTerminateInstanceRecycleLevelEnumValues() []TerminateInstanceRecycleLevelEnum { + values := make([]TerminateInstanceRecycleLevelEnum, 0) + for _, v := range mappingTerminateInstanceRecycleLevelEnum { + values = append(values, v) + } + return values +} + +// GetTerminateInstanceRecycleLevelEnumStringValues Enumerates the set of values in String for TerminateInstanceRecycleLevelEnum +func GetTerminateInstanceRecycleLevelEnumStringValues() []string { + return []string{ + "FULL_RECYCLE", + } +} + +// GetMappingTerminateInstanceRecycleLevelEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingTerminateInstanceRecycleLevelEnum(val string) (TerminateInstanceRecycleLevelEnum, bool) { + enum, ok := mappingTerminateInstanceRecycleLevelEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go index eee32169ec..f0cbed5769 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/terminate_preemption_action.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m TerminatePreemptionAction) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_details.go new file mode 100644 index 0000000000..39e6bf8b6b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// TerminationProceedInstancePoolInstanceDetails An instance to be marked for termination in an instance pool. +type TerminationProceedInstancePoolInstanceDetails struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + InstanceId *string `mandatory:"true" json:"instanceId"` +} + +func (m TerminationProceedInstancePoolInstanceDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m TerminationProceedInstancePoolInstanceDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_request_response.go new file mode 100644 index 0000000000..be80272b32 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/termination_proceed_instance_pool_instance_request_response.go @@ -0,0 +1,98 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// TerminationProceedInstancePoolInstanceRequest wrapper for the TerminationProceedInstancePoolInstance operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminationProceedInstancePoolInstance.go.html to see an example of how to use TerminationProceedInstancePoolInstanceRequest. +type TerminationProceedInstancePoolInstanceRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` + + // Instance to be marked for terminating. + TerminationProceedInstancePoolInstanceDetails `contributesTo:"body"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique Oracle-assigned identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request TerminationProceedInstancePoolInstanceRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request TerminationProceedInstancePoolInstanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request TerminationProceedInstancePoolInstanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request TerminationProceedInstancePoolInstanceRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request TerminationProceedInstancePoolInstanceRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// TerminationProceedInstancePoolInstanceResponse wrapper for the TerminationProceedInstancePoolInstance operation +type TerminationProceedInstancePoolInstanceResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response TerminationProceedInstancePoolInstanceResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response TerminationProceedInstancePoolInstanceResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go index 7016bb00b6..eab5cf321e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -91,7 +91,7 @@ func (m *topology) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for Topology: %s.", m.Type) + common.Logf("Received unsupported enum value for Topology: %s.", m.Type) return *m, nil } } @@ -127,7 +127,7 @@ func (m topology) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go index c81cb8df99..58575f9c92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,10 +28,10 @@ import ( // attached to a VCN. type TopologyAssociatedWithEntityRelationship struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. Id1 *string `mandatory:"true" json:"id1"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. Id2 *string `mandatory:"true" json:"id2"` AssociatedWithDetails *TopologyAssociatedWithRelationshipDetails `mandatory:"false" json:"associatedWithDetails"` @@ -58,7 +58,7 @@ func (m TopologyAssociatedWithEntityRelationship) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go index 9b63df688e..f372840927 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_associated_with_relationship_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,7 +24,7 @@ import ( // TopologyAssociatedWithRelationshipDetails Defines association details for an `associatedWith` relationship. type TopologyAssociatedWithRelationshipDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entities via which the relationship is created. For example an instance is associated with a network security group via the VNIC attachment and the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entities via which the relationship is created. For example an instance is associated with a network security group via the VNIC attachment and the VNIC. Via []string `mandatory:"false" json:"via"` } @@ -39,7 +39,7 @@ func (m TopologyAssociatedWithRelationshipDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go index a8b581f89b..7e9389b629 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_contains_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -28,10 +28,10 @@ import ( // `contains` relationship to a subnet. type TopologyContainsEntityRelationship struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. Id1 *string `mandatory:"true" json:"id1"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. Id2 *string `mandatory:"true" json:"id2"` } @@ -56,7 +56,7 @@ func (m TopologyContainsEntityRelationship) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go index 5886e0f275..df279d0f8b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,10 +25,10 @@ import ( // TopologyEntityRelationship Defines the relationship between Virtual Network topology entities. type TopologyEntityRelationship interface { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. GetId1() *string - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. GetId2() *string } @@ -79,7 +79,7 @@ func (m *topologyentityrelationship) UnmarshalPolymorphicJSON(data []byte) (inte err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for TopologyEntityRelationship: %s.", m.Type) + common.Logf("Received unsupported enum value for TopologyEntityRelationship: %s.", m.Type) return *m, nil } } @@ -105,7 +105,7 @@ func (m topologyentityrelationship) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go index c80425937e..37e41b37ce 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_entity_relationship.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,10 +27,10 @@ import ( // from one entity to another. For example, a DRG might have a routing rule to send certain traffic to an LPG. type TopologyRoutesToEntityRelationship struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first entity in the relationship. Id1 *string `mandatory:"true" json:"id1"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second entity in the relationship. Id2 *string `mandatory:"true" json:"id2"` RouteRuleDetails *TopologyRoutesToRelationshipDetails `mandatory:"true" json:"routeRuleDetails"` @@ -57,7 +57,7 @@ func (m TopologyRoutesToEntityRelationship) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go index 8300ec4bff..b53e6e0aff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_routes_to_relationship_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -32,7 +32,7 @@ type TopologyRoutesToRelationshipDetails struct { // An IP address range in CIDR notation or the `cidrBlock` value for a Service. Destination *string `mandatory:"true" json:"destination"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the routing table that contains the route rule. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the routing table that contains the route rule. RouteTableId *string `mandatory:"true" json:"routeTableId"` // A route rule can be `STATIC` if manually added to the route table or `DYNAMIC` if imported from another route table. @@ -53,7 +53,7 @@ func (m TopologyRoutesToRelationshipDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RouteType: %s. Supported values are: %s.", m.RouteType, strings.Join(GetTopologyRoutesToRelationshipDetailsRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go index 9ac2cf0d94..3e7c43339b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -49,7 +49,7 @@ func (m TunnelConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go index 8cbd063bff..1c08158a66 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_cpe_device_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -45,7 +45,7 @@ func (m TunnelCpeDeviceConfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go index 9b6d45e35a..494981a15d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_one_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -71,7 +71,7 @@ func (m TunnelPhaseOneDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go index db647d0049..fdb9360445 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_phase_two_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -74,7 +74,7 @@ func (m TunnelPhaseTwoDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go index 7b53f92a38..781fd0364c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_route_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ func (m TunnelRouteSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Advertiser: %s. Supported values are: %s.", m.Advertiser, strings.Join(GetTunnelRouteSummaryAdvertiserEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go index 01c49fc2d3..dd430d629e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_security_association_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ func (m TunnelSecurityAssociationSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TunnelSaStatus: %s. Supported values are: %s.", m.TunnelSaStatus, strings.Join(GetTunnelSecurityAssociationSummaryTunnelSaStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go index f552173ad6..a608200a4b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/tunnel_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ func (m TunnelStatus) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTunnelStatusLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/udp_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/udp_options.go index d18508fb55..1458539d7c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/udp_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/udp_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m UdpOptions) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go index d1e1a224b8..2ac50aeab1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateBootVolumeBackupDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,14 +34,14 @@ type UpdateBootVolumeBackupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The OCID of the Vault service key which is the master encryption key for the volume backup. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -56,7 +56,7 @@ func (m UpdateBootVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go index 530be5051e..d2a5661313 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackupRequest. type UpdateBootVolumeBackupRequest struct { // The OCID of the boot volume backup. @@ -70,7 +70,7 @@ func (request UpdateBootVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBootVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go index 97d5e25125..c3ce276465 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type UpdateBootVolumeDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -35,7 +35,7 @@ type UpdateBootVolumeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -44,7 +44,7 @@ type UpdateBootVolumeDetails struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `10`: Represents Balanced option. // * `20`: Represents Higher Performance option. @@ -75,7 +75,7 @@ func (m UpdateBootVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go index c985515acd..0c1dcf9d4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m UpdateBootVolumeKmsKeyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go index 8a59cef926..0452962228 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKeyRequest. type UpdateBootVolumeKmsKeyRequest struct { // The OCID of the boot volume. @@ -70,7 +70,7 @@ func (request UpdateBootVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBootVolumeKmsKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go index 69d5807925..e70b9c4db7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolumeRequest. type UpdateBootVolumeRequest struct { // The OCID of the boot volume. @@ -70,7 +70,7 @@ func (request UpdateBootVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBootVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_details.go new file mode 100644 index 0000000000..dcc6c6bc7a --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_details.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateByoasnDetails The information used to update a `Byoasn` resource. +type UpdateByoasnDetails struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m UpdateByoasnDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateByoasnDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_request_response.go new file mode 100644 index 0000000000..d0138c7c93 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoasn_request_response.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateByoasnRequest wrapper for the UpdateByoasn operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoasn.go.html to see an example of how to use UpdateByoasnRequest. +type UpdateByoasnRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + ByoasnId *string `mandatory:"true" contributesTo:"path" name:"byoasnId"` + + // Byoasn Range details. + UpdateByoasnDetails `contributesTo:"body"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateByoasnRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateByoasnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateByoasnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateByoasnRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateByoasnRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateByoasnResponse wrapper for the UpdateByoasn operation +type UpdateByoasnResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Byoasn instance + Byoasn `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateByoasnResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateByoasnResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go index f9545efae1..0f346bec93 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateByoipRangeDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateByoipRangeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateByoipRangeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go index 15d8c11b8b..4a249b1fde 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRangeRequest. type UpdateByoipRangeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Byoip Range details. @@ -70,7 +70,7 @@ func (request UpdateByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capacity_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capacity_source_details.go index 51e1c4a198..519775681f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capacity_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capacity_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -61,7 +61,7 @@ func (m *updatecapacitysourcedetails) UnmarshalPolymorphicJSON(data []byte) (int err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for UpdateCapacitySourceDetails: %s.", m.CapacityType) + common.Logf("Received unsupported enum value for UpdateCapacitySourceDetails: %s.", m.CapacityType) return *m, nil } } @@ -77,7 +77,7 @@ func (m updatecapacitysourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go index 26e0fa16ec..21740f160b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateCaptureFilterDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -40,7 +40,7 @@ type UpdateCaptureFilterDetails struct { FlowLogCaptureFilterRules []FlowLogCaptureFilterRuleDetails `mandatory:"false" json:"flowLogCaptureFilterRules"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -56,7 +56,7 @@ func (m UpdateCaptureFilterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go index 10051939aa..0488c8b058 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCaptureFilter.go.html to see an example of how to use UpdateCaptureFilterRequest. type UpdateCaptureFilterRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the capture filter. CaptureFilterId *string `mandatory:"true" contributesTo:"path" name:"captureFilterId"` // Details object for updating a VTAP. @@ -70,7 +70,7 @@ func (request UpdateCaptureFilterRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateCaptureFilterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go index b96fcb62a9..907bc1be11 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,11 +21,11 @@ import ( "strings" ) -// UpdateClusterNetworkDetails The data to update a cluster network with instance pools (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). +// UpdateClusterNetworkDetails The data to update a cluster network with instance pools (https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). type UpdateClusterNetworkDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateClusterNetworkDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -53,7 +53,7 @@ func (m UpdateClusterNetworkDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go index 94b83a1375..bcd4218297 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,11 +24,11 @@ import ( // UpdateClusterNetworkInstancePoolDetails The data to update an instance pool within a cluster network. type UpdateClusterNetworkInstancePoolDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. Id *string `mandatory:"true" json:"id"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type UpdateClusterNetworkInstancePoolDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -47,7 +47,7 @@ type UpdateClusterNetworkInstancePoolDetails struct { // operation. Size *int `mandatory:"false" json:"size"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated with the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated with the instance pool. InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"` } @@ -62,7 +62,7 @@ func (m UpdateClusterNetworkInstancePoolDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go index 75b68bd010..8fe4880ceb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cluster_network_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetworkRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetworkRequest. type UpdateClusterNetworkRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster network. ClusterNetworkId *string `mandatory:"true" contributesTo:"path" name:"clusterNetworkId"` // Update cluster network @@ -77,7 +77,7 @@ func (request UpdateClusterNetworkRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateClusterNetworkRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go index b281480f2d..3884db239a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateComputeCapacityReservationDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,12 +34,12 @@ type UpdateComputeCapacityReservationDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Whether this capacity reservation is the default. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). IsDefaultReservation *bool `mandatory:"false" json:"isDefaultReservation"` // The capacity configurations for the capacity reservation. @@ -59,7 +59,7 @@ func (m UpdateComputeCapacityReservationDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go index beee69fa47..d80bb4dc95 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_reservation_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservationRequest. type UpdateComputeCapacityReservationRequest struct { // The OCID of the compute capacity reservation. @@ -70,7 +70,7 @@ func (request UpdateComputeCapacityReservationRequest) RetryPolicy() *common.Ret func (request UpdateComputeCapacityReservationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -85,8 +85,8 @@ type UpdateComputeCapacityReservationResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_details.go index 0bbc072189..9880dd2ae9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,7 +27,7 @@ type UpdateComputeCapacityTopologyDetails struct { CapacitySource UpdateCapacitySourceDetails `mandatory:"false" json:"capacitySource"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -36,7 +36,7 @@ type UpdateComputeCapacityTopologyDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -52,7 +52,7 @@ func (m UpdateComputeCapacityTopologyDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_request_response.go index 43cd1027c2..104bf91d9f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_capacity_topology_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityTopology.go.html to see an example of how to use UpdateComputeCapacityTopologyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityTopology.go.html to see an example of how to use UpdateComputeCapacityTopologyRequest. type UpdateComputeCapacityTopologyRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute capacity topology. ComputeCapacityTopologyId *string `mandatory:"true" contributesTo:"path" name:"computeCapacityTopologyId"` // Update compute capacity topology details. @@ -70,7 +70,7 @@ func (request UpdateComputeCapacityTopologyRequest) RetryPolicy() *common.RetryP func (request UpdateComputeCapacityTopologyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -85,8 +85,8 @@ type UpdateComputeCapacityTopologyResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go index 2e7c7ac8d7..d9608158bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,7 +21,7 @@ import ( "strings" ) -// UpdateComputeClusterDetails The data to update a compute cluster. A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) +// UpdateComputeClusterDetails The data to update a compute cluster. A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) // is a remote direct memory access (RDMA) network group. type UpdateComputeClusterDetails struct { @@ -30,12 +30,12 @@ type UpdateComputeClusterDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -51,7 +51,7 @@ func (m UpdateComputeClusterDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go index d25e35ff01..04f0afa34a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_cluster_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,11 +15,11 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeClusterRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCluster.go.html to see an example of how to use UpdateComputeClusterRequest. type UpdateComputeClusterRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. - // A compute cluster (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. + // A compute cluster (https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm) is a remote direct memory // access (RDMA) network group. ComputeClusterId *string `mandatory:"true" contributesTo:"path" name:"computeClusterId"` @@ -79,7 +79,7 @@ func (request UpdateComputeClusterRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateComputeClusterRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_details.go new file mode 100644 index 0000000000..f810edac17 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_details.go @@ -0,0 +1,64 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateComputeGpuMemoryClusterDetails Updates compute GPU memory cluster details. +type UpdateComputeGpuMemoryClusterDetails struct { + + // Instance Configuration to be used for this GPU Memory Cluster + InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"` + + // The number of instances currently running in the GpuMemoryCluster + Size *int64 `mandatory:"false" json:"size"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + GpuMemoryClusterScaleConfig *UpdateComputeGpuMemoryClusterScaleConfig `mandatory:"false" json:"gpuMemoryClusterScaleConfig"` +} + +func (m UpdateComputeGpuMemoryClusterDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateComputeGpuMemoryClusterDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_request_response.go new file mode 100644 index 0000000000..ccb3a79a89 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_request_response.go @@ -0,0 +1,114 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateComputeGpuMemoryClusterRequest wrapper for the UpdateComputeGpuMemoryCluster operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeGpuMemoryCluster.go.html to see an example of how to use UpdateComputeGpuMemoryClusterRequest. +type UpdateComputeGpuMemoryClusterRequest struct { + + // The OCID of the compute GPU memory cluster. + ComputeGpuMemoryClusterId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryClusterId"` + + // Update compute GPU memory cluster details. + UpdateComputeGpuMemoryClusterDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateComputeGpuMemoryClusterRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateComputeGpuMemoryClusterRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateComputeGpuMemoryClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateComputeGpuMemoryClusterRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateComputeGpuMemoryClusterRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateComputeGpuMemoryClusterResponse wrapper for the UpdateComputeGpuMemoryCluster operation +type UpdateComputeGpuMemoryClusterResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeGpuMemoryCluster instance + ComputeGpuMemoryCluster `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response UpdateComputeGpuMemoryClusterResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateComputeGpuMemoryClusterResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_scale_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_scale_config.go new file mode 100644 index 0000000000..92ae9e65ac --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_cluster_scale_config.go @@ -0,0 +1,51 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateComputeGpuMemoryClusterScaleConfig Configuration settings for GPU Memory Cluster scaling. +type UpdateComputeGpuMemoryClusterScaleConfig struct { + + // Enables upsizing towards the target size. + IsUpsizeEnabled *bool `mandatory:"false" json:"isUpsizeEnabled"` + + // Enables downsizing towards the target size. + IsDownsizeEnabled *bool `mandatory:"false" json:"isDownsizeEnabled"` + + // The configured target size for the GPU Memory cluster. + TargetSize *int64 `mandatory:"false" json:"targetSize"` +} + +func (m UpdateComputeGpuMemoryClusterScaleConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateComputeGpuMemoryClusterScaleConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_details.go new file mode 100644 index 0000000000..f9d9b7d5d2 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_details.go @@ -0,0 +1,58 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateComputeGpuMemoryFabricDetails Updates compute GPU memory fabric details. +type UpdateComputeGpuMemoryFabricDetails struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + MemoryFabricPreferences *MemoryFabricPreferencesDescriptor `mandatory:"false" json:"memoryFabricPreferences"` +} + +func (m UpdateComputeGpuMemoryFabricDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateComputeGpuMemoryFabricDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_request_response.go new file mode 100644 index 0000000000..f55e96747f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_gpu_memory_fabric_request_response.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateComputeGpuMemoryFabricRequest wrapper for the UpdateComputeGpuMemoryFabric operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeGpuMemoryFabric.go.html to see an example of how to use UpdateComputeGpuMemoryFabricRequest. +type UpdateComputeGpuMemoryFabricRequest struct { + + // The OCID of the compute GPU memory fabric. + ComputeGpuMemoryFabricId *string `mandatory:"true" contributesTo:"path" name:"computeGpuMemoryFabricId"` + + // Update compute GPU memory fabric details. + UpdateComputeGpuMemoryFabricDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateComputeGpuMemoryFabricRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateComputeGpuMemoryFabricRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateComputeGpuMemoryFabricRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateComputeGpuMemoryFabricRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateComputeGpuMemoryFabricRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateComputeGpuMemoryFabricResponse wrapper for the UpdateComputeGpuMemoryFabric operation +type UpdateComputeGpuMemoryFabricResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeGpuMemoryFabric instance + ComputeGpuMemoryFabric `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateComputeGpuMemoryFabricResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateComputeGpuMemoryFabricResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_details.go new file mode 100644 index 0000000000..aa4f90dd65 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_details.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateComputeHostGroupDetails Update details information for a compute host group. +type UpdateComputeHostGroupDetails struct { + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // A list of HostGroupConfiguration objects + Configurations []HostGroupConfiguration `mandatory:"false" json:"configurations"` + + // A flag that allows customers to restrict placement for hosts attached to the group. If true, the only way to place on hosts is to target the specific host group. + IsTargetedPlacementRequired *bool `mandatory:"false" json:"isTargetedPlacementRequired"` + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m UpdateComputeHostGroupDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateComputeHostGroupDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_request_response.go new file mode 100644 index 0000000000..d4f6df108d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_host_group_request_response.go @@ -0,0 +1,117 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateComputeHostGroupRequest wrapper for the UpdateComputeHostGroup operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeHostGroup.go.html to see an example of how to use UpdateComputeHostGroupRequest. +type UpdateComputeHostGroupRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host group. + ComputeHostGroupId *string `mandatory:"true" contributesTo:"path" name:"computeHostGroupId"` + + // Update compute host group details. + UpdateComputeHostGroupDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateComputeHostGroupRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateComputeHostGroupRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateComputeHostGroupRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateComputeHostGroupRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateComputeHostGroupRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateComputeHostGroupResponse wrapper for the UpdateComputeHostGroup operation +type UpdateComputeHostGroupResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The ComputeHostGroup instance + ComputeHostGroup `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Location of the resource. + Location *string `presentIn:"header" name:"location"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response UpdateComputeHostGroupResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateComputeHostGroupResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_details.go new file mode 100644 index 0000000000..6bf6e4a624 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_details.go @@ -0,0 +1,56 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateComputeHostsDetails The details for updating the compute host. +type UpdateComputeHostsDetails struct { + + // Defined tags for this resource. Each key is predefined and scoped to a + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Operations": {"CostCenter": "42"}}` + DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // A user-friendly name. Does not have to be unique, and it's changeable. + // Avoid entering confidential information. + DisplayName *string `mandatory:"false" json:"displayName"` + + // Free-form tags for this resource. Each tag is a simple key-value pair with no + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // Example: `{"Department": "Finance"}` + FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` +} + +func (m UpdateComputeHostsDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateComputeHostsDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_request_response.go new file mode 100644 index 0000000000..71c6992b5b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_hosts_request_response.go @@ -0,0 +1,111 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateComputeHostsRequest wrapper for the UpdateComputeHosts operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeHosts.go.html to see an example of how to use UpdateComputeHostsRequest. +type UpdateComputeHostsRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute host. + ComputeHostId *string `mandatory:"true" contributesTo:"path" name:"computeHostId"` + + // Update compute capacity topology details. + UpdateComputeHostsDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateComputeHostsRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateComputeHostsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateComputeHostsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateComputeHostsRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateComputeHostsRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateComputeHostsResponse wrapper for the UpdateComputeHosts operation +type UpdateComputeHostsResponse struct { + + // The underlying http response + RawResponse *http.Response + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response UpdateComputeHostsResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateComputeHostsResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go index 1d49968d75..fb2f309707 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -30,7 +30,7 @@ type UpdateComputeImageCapabilitySchemaDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -38,7 +38,7 @@ type UpdateComputeImageCapabilitySchemaDetails struct { SchemaData map[string]ImageCapabilitySchemaDescriptor `mandatory:"false" json:"schemaData"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -54,7 +54,7 @@ func (m UpdateComputeImageCapabilitySchemaDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go index 0fa7d3c440..942c1725a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_compute_image_capability_schema_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchemaRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchemaRequest. type UpdateComputeImageCapabilitySchemaRequest struct { // The id of the compute image capability schema or the image ocid @@ -70,7 +70,7 @@ func (request UpdateComputeImageCapabilitySchemaRequest) RetryPolicy() *common.R func (request UpdateComputeImageCapabilitySchemaRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go index 4b12fe8c8b..fd46fac791 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateConsoleHistoryDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateConsoleHistoryDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateConsoleHistoryDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go index 979ae696ad..8085353846 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_console_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistoryRequest. type UpdateConsoleHistoryRequest struct { // The OCID of the console history. @@ -70,7 +70,7 @@ func (request UpdateConsoleHistoryRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateConsoleHistoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go index 41f73087b8..89ca547237 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateCpeDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,11 +34,11 @@ type UpdateCpeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide // a value if you want to generate CPE device configuration content for IPSec connections // that use this CPE. For a list of possible values, see // ListCpeDeviceShapes. @@ -61,7 +61,7 @@ func (m UpdateCpeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go index 0b6ba93a2c..650af2d568 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cpe_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpeRequest. type UpdateCpeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE. CpeId *string `mandatory:"true" contributesTo:"path" name:"cpeId"` // Details object for updating a CPE. @@ -70,7 +70,7 @@ func (request UpdateCpeRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateCpeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go index d0211947ff..4e1dc60189 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateCrossConnectDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateCrossConnectDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -61,7 +61,7 @@ func (m UpdateCrossConnectDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go index f39ce37005..e6c7765037 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateCrossConnectGroupDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type UpdateCrossConnectGroupDetails struct { CustomerReferenceName *string `mandatory:"false" json:"customerReferenceName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -55,7 +55,7 @@ func (m UpdateCrossConnectGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go index 073317564f..e949da8cd2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroupRequest. type UpdateCrossConnectGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect group. CrossConnectGroupId *string `mandatory:"true" contributesTo:"path" name:"crossConnectGroupId"` // Update CrossConnectGroup fields @@ -70,7 +70,7 @@ func (request UpdateCrossConnectGroupRequest) RetryPolicy() *common.RetryPolicy func (request UpdateCrossConnectGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go index f023e2a775..c75cd49deb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_cross_connect_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnectRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnectRequest. type UpdateCrossConnectRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect. CrossConnectId *string `mandatory:"true" contributesTo:"path" name:"crossConnectId"` // Update CrossConnect fields. @@ -70,7 +70,7 @@ func (request UpdateCrossConnectRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateCrossConnectRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_capacity_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_capacity_source_details.go index 58317c41ed..47615ed612 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_capacity_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_capacity_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -37,7 +37,7 @@ func (m UpdateDedicatedCapacitySourceDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go index 2fa1509f8c..b10b9fe1f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateDedicatedVmHostDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateDedicatedVmHostDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateDedicatedVmHostDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go index 53bee9a36a..ae9432299a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dedicated_vm_host_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHostRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHostRequest. type UpdateDedicatedVmHostRequest struct { // The OCID of the dedicated VM host. @@ -77,7 +77,7 @@ func (request UpdateDedicatedVmHostRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDedicatedVmHostRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go index 9ad256d3ac..eebb8ef6a3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type UpdateDhcpDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -35,7 +35,7 @@ type UpdateDhcpDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -59,7 +59,7 @@ func (m UpdateDhcpDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DomainNameType: %s. Supported values are: %s.", m.DomainNameType, strings.Join(GetUpdateDhcpDetailsDomainNameTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go index e6b6cfc431..9b5dd51c1e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_options_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptionsRequest. type UpdateDhcpOptionsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the set of DHCP options. DhcpId *string `mandatory:"true" contributesTo:"path" name:"dhcpId"` // Request object for updating a set of DHCP options. @@ -70,7 +70,7 @@ func (request UpdateDhcpOptionsRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDhcpOptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go index 8e9d8938ca..d055a59132 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -29,7 +29,7 @@ type UpdateDrgAttachmentDetails struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table that is assigned to this attachment. // The DRG route table manages traffic inside the DRG. // You can't remove a DRG route table from a DRG attachment, but you can reassign which // DRG route table it uses. @@ -38,24 +38,24 @@ type UpdateDrgAttachmentDetails struct { NetworkDetails DrgAttachmentNetworkUpdateDetails `mandatory:"false" json:"networkDetails"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export route distribution used to specify how routes in the assigned DRG route table // are advertised out through the attachment. // If this value is null, no routes are advertised through this attachment. ExportDrgRouteDistributionId *string `mandatory:"false" json:"exportDrgRouteDistributionId"` - // This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. + // This is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) + // * Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -70,7 +70,7 @@ func (m UpdateDrgAttachmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go index 4529209a7c..12bbfd2bb0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachmentRequest. type UpdateDrgAttachmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. DrgAttachmentId *string `mandatory:"true" contributesTo:"path" name:"drgAttachmentId"` // Details object for updating a `DrgAttachment`. @@ -70,7 +70,7 @@ func (request UpdateDrgAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDrgAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go index 8436f38b64..71f0154934 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateDrgDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -36,7 +36,7 @@ type UpdateDrgDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -52,7 +52,7 @@ func (m UpdateDrgDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go index 070aaffc38..8a43c43ad7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrgRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrgRequest. type UpdateDrgRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Details object for updating a DRG. @@ -70,7 +70,7 @@ func (request UpdateDrgRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDrgRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go index 3c26b9b8cb..a9c7e37a83 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type UpdateDrgRouteDistributionDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -35,7 +35,7 @@ type UpdateDrgRouteDistributionDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -51,7 +51,7 @@ func (m UpdateDrgRouteDistributionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go index 3b8910b060..9cd1962ab5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistributionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistributionRequest. type UpdateDrgRouteDistributionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // Details object for updating a route distribution @@ -70,7 +70,7 @@ func (request UpdateDrgRouteDistributionRequest) RetryPolicy() *common.RetryPoli func (request UpdateDrgRouteDistributionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go index 4b27ef0401..68bcd56098 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m UpdateDrgRouteDistributionStatementDetails) ValidateEnumValue() (bool, e errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go index 2cdb8f4145..c4902bf79e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m UpdateDrgRouteDistributionStatementsDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go index 9528f006d9..6346ed5787 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statements_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatementsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatementsRequest. type UpdateDrgRouteDistributionStatementsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route distribution. DrgRouteDistributionId *string `mandatory:"true" contributesTo:"path" name:"drgRouteDistributionId"` // Request to update one or more route distribution statements in the route distribution. @@ -65,7 +65,7 @@ func (request UpdateDrgRouteDistributionStatementsRequest) RetryPolicy() *common func (request UpdateDrgRouteDistributionStatementsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go index ada6a0e2fe..d81b1cd5e6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -38,7 +38,7 @@ type UpdateDrgRouteRuleDetails struct { // * `CIDR_BLOCK`: If the rule's `destination` is an IP address range in CIDR notation. DestinationType UpdateDrgRouteRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment. The next hop DRG attachment is responsible + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the next hop DRG attachment. The next hop DRG attachment is responsible // for reaching the network destination. NextHopDrgAttachmentId *string `mandatory:"false" json:"nextHopDrgAttachmentId"` } @@ -57,7 +57,7 @@ func (m UpdateDrgRouteRuleDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DestinationType: %s. Supported values are: %s.", m.DestinationType, strings.Join(GetUpdateDrgRouteRuleDetailsDestinationTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go index 654ae63f5b..f6c5f2e5c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m UpdateDrgRouteRulesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go index 777f9fa01a..7d532ed653 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRulesRequest. type UpdateDrgRouteRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // Request to update one or more route rules in the DRG route table. @@ -65,7 +65,7 @@ func (request UpdateDrgRouteRulesRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDrgRouteRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go index b28e55ded1..9428ad52b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type UpdateDrgRouteTableDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -35,11 +35,11 @@ type UpdateDrgRouteTableDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the import route distribution used to specify how incoming route advertisements through // referenced attachements are inserted into the DRG route table. ImportDrgRouteDistributionId *string `mandatory:"false" json:"importDrgRouteDistributionId"` @@ -59,7 +59,7 @@ func (m UpdateDrgRouteTableDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go index 81a5a1099e..2263b3b9ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTableRequest. type UpdateDrgRouteTableRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. DrgRouteTableId *string `mandatory:"true" contributesTo:"path" name:"drgRouteTableId"` // Details object used to updating a DRG route table. @@ -70,7 +70,7 @@ func (request UpdateDrgRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDrgRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go index 11a74b9d59..92f583eff7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnectionRequest. type UpdateIPSecConnectionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` // Details object for updating an IPSec connection. @@ -70,7 +70,7 @@ func (request UpdateIPSecConnectionRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateIPSecConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go index 5fc9dc1fb6..1542afc02c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnelRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnelRequest. type UpdateIPSecConnectionTunnelRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Details object for updating a IPSecConnection tunnel's details. @@ -73,7 +73,7 @@ func (request UpdateIPSecConnectionTunnelRequest) RetryPolicy() *common.RetryPol func (request UpdateIPSecConnectionTunnelRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go index 38704184e9..b7bae332c2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecretRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecretRequest. type UpdateIPSecConnectionTunnelSharedSecretRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Details object for updating a IPSec connection tunnel's sharedSecret. @@ -73,7 +73,7 @@ func (request UpdateIPSecConnectionTunnelSharedSecretRequest) RetryPolicy() *com func (request UpdateIPSecConnectionTunnelSharedSecretRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go index c01585577f..c5cf92fe74 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateImageDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateImageDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -58,7 +58,7 @@ func (m UpdateImageDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go index 8ad4b9dc29..88ec78f19e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_image_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImageRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImageRequest. type UpdateImageRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the image. ImageId *string `mandatory:"true" contributesTo:"path" name:"imageId"` // Updates the image display name field. Avoid entering confidential information. @@ -77,7 +77,7 @@ func (request UpdateImageRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateImageRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go index df9b666ce6..2d804dab94 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_agent_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ type UpdateInstanceAgentConfigDetails struct { // To get a list of available plugins, use the // ListInstanceagentAvailablePlugins // operation in the Oracle Cloud Agent API. For more information about the available plugins, see - // Managing Plugins with Oracle Cloud Agent (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). + // Managing Plugins with Oracle Cloud Agent (https://docs.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). AreAllPluginsDisabled *bool `mandatory:"false" json:"areAllPluginsDisabled"` // The configuration of plugins associated with this instance. @@ -72,7 +72,7 @@ func (m UpdateInstanceAgentConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go index 46ca27d997..3735297aaf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_availability_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -51,7 +51,7 @@ func (m UpdateInstanceAvailabilityConfigDetails) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RecoveryAction: %s. Supported values are: %s.", m.RecoveryAction, strings.Join(GetUpdateInstanceAvailabilityConfigDetailsRecoveryActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go index 1d617f5542..34caa3ef64 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateInstanceConfigurationDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateInstanceConfigurationDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateInstanceConfigurationDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go index 6277e796ca..fb2b083bd5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_configuration_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfigurationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfigurationRequest. type UpdateInstanceConfigurationRequest struct { // The OCID of the instance configuration. @@ -77,7 +77,7 @@ func (request UpdateInstanceConfigurationRequest) RetryPolicy() *common.RetryPol func (request UpdateInstanceConfigurationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go index 63241db18b..04782bb7ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,12 +25,12 @@ import ( type UpdateInstanceConsoleConnectionDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -46,7 +46,7 @@ func (m UpdateInstanceConsoleConnectionDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go index c61aa4bb17..3c1cbd5892 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_console_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnectionRequest. type UpdateInstanceConsoleConnectionRequest struct { // The OCID of the instance console connection. @@ -70,7 +70,7 @@ func (request UpdateInstanceConsoleConnectionRequest) RetryPolicy() *common.Retr func (request UpdateInstanceConsoleConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go index 9c5967e9ef..3d60789428 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,17 +25,22 @@ import ( // UpdateInstanceDetails The representation of UpdateInstanceDetails type UpdateInstanceDetails struct { + // Whether to enable AI enterprise on the instance. + IsAIEnterpriseEnabled *bool `mandatory:"false" json:"isAIEnterpriseEnabled"` + // The OCID of the compute capacity reservation this instance is launched under. // You can remove the instance from a reservation by specifying an empty string as input for this field. - // For more information, see Capacity Reservations (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). + // For more information, see Capacity Reservations (https://docs.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm#default). CapacityReservationId *string `mandatory:"false" json:"capacityReservationId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -44,7 +49,7 @@ type UpdateInstanceDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -76,9 +81,9 @@ type UpdateInstanceDetails struct { // The shape of the instance. The shape determines the number of CPUs and the amount of memory // allocated to the instance. For more information about how to change shapes, and a list of // shapes that are supported, see - // Editing an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). + // Editing an Instance (https://docs.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). // For details about the CPUs, memory, and other properties of each shape, see - // Compute Shapes (https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm). + // Compute Shapes (https://docs.oracle.com/iaas/Content/Compute/References/computeshapes.htm). // The new shape must be compatible with the image that was used to launch the instance. You // can enumerate all available shapes and determine image compatibility by calling // ListShapes. @@ -128,7 +133,7 @@ type UpdateInstanceDetails struct { // Stopped state. // To reboot migrate a bare metal instance, use the InstanceAction operation. // For more information, see - // Infrastructure Maintenance (https://docs.cloud.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). + // Infrastructure Maintenance (https://docs.oracle.com/iaas/Content/Compute/References/infrastructure-maintenance.htm). // Example: `2018-05-25T21:10:29.600Z` TimeMaintenanceRebootDue *common.SDKTime `mandatory:"false" json:"timeMaintenanceRebootDue"` @@ -139,6 +144,9 @@ type UpdateInstanceDetails struct { DedicatedVmHostId *string `mandatory:"false" json:"dedicatedVmHostId"` PlatformConfig UpdateInstancePlatformConfig `mandatory:"false" json:"platformConfig"` + + // The list of liscensing configurations with target update values. + LicensingConfigs []UpdateInstanceLicensingConfig `mandatory:"false" json:"licensingConfigs"` } func (m UpdateInstanceDetails) String() string { @@ -155,7 +163,7 @@ func (m UpdateInstanceDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UpdateOperationConstraint: %s. Supported values are: %s.", m.UpdateOperationConstraint, strings.Join(GetUpdateInstanceDetailsUpdateOperationConstraintEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -163,6 +171,7 @@ func (m UpdateInstanceDetails) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *UpdateInstanceDetails) UnmarshalJSON(data []byte) (e error) { model := struct { + IsAIEnterpriseEnabled *bool `json:"isAIEnterpriseEnabled"` CapacityReservationId *string `json:"capacityReservationId"` DefinedTags map[string]map[string]interface{} `json:"definedTags"` SecurityAttributes map[string]map[string]interface{} `json:"securityAttributes"` @@ -182,6 +191,7 @@ func (m *UpdateInstanceDetails) UnmarshalJSON(data []byte) (e error) { TimeMaintenanceRebootDue *common.SDKTime `json:"timeMaintenanceRebootDue"` DedicatedVmHostId *string `json:"dedicatedVmHostId"` PlatformConfig updateinstanceplatformconfig `json:"platformConfig"` + LicensingConfigs []updateinstancelicensingconfig `json:"licensingConfigs"` }{} e = json.Unmarshal(data, &model) @@ -189,6 +199,8 @@ func (m *UpdateInstanceDetails) UnmarshalJSON(data []byte) (e error) { return } var nn interface{} + m.IsAIEnterpriseEnabled = model.IsAIEnterpriseEnabled + m.CapacityReservationId = model.CapacityReservationId m.DefinedTags = model.DefinedTags @@ -243,6 +255,18 @@ func (m *UpdateInstanceDetails) UnmarshalJSON(data []byte) (e error) { m.PlatformConfig = nil } + m.LicensingConfigs = make([]UpdateInstanceLicensingConfig, len(model.LicensingConfigs)) + for i, n := range model.LicensingConfigs { + nn, e = n.UnmarshalPolymorphicJSON(n.JsonData) + if e != nil { + return e + } + if nn != nil { + m.LicensingConfigs[i] = nn.(UpdateInstanceLicensingConfig) + } else { + m.LicensingConfigs[i] = nil + } + } return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_licensing_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_licensing_config.go new file mode 100644 index 0000000000..cfb7cf812c --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_licensing_config.go @@ -0,0 +1,178 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateInstanceLicensingConfig The target license config to be updated on the instance. +type UpdateInstanceLicensingConfig interface { + + // License Type for the OS license. + // * `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour). + // * `BRING_YOUR_OWN_LICENSE` - Bring your own license. + GetLicenseType() UpdateInstanceLicensingConfigLicenseTypeEnum +} + +type updateinstancelicensingconfig struct { + JsonData []byte + LicenseType UpdateInstanceLicensingConfigLicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` + Type string `json:"type"` +} + +// UnmarshalJSON unmarshals json +func (m *updateinstancelicensingconfig) UnmarshalJSON(data []byte) error { + m.JsonData = data + type Unmarshalerupdateinstancelicensingconfig updateinstancelicensingconfig + s := struct { + Model Unmarshalerupdateinstancelicensingconfig + }{} + err := json.Unmarshal(data, &s.Model) + if err != nil { + return err + } + m.LicenseType = s.Model.LicenseType + m.Type = s.Model.Type + + return err +} + +// UnmarshalPolymorphicJSON unmarshals polymorphic json +func (m *updateinstancelicensingconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { + + if data == nil || string(data) == "null" { + return nil, nil + } + + var err error + switch m.Type { + case "WINDOWS": + mm := UpdateInstanceWindowsLicensingConfig{} + err = json.Unmarshal(data, &mm) + return mm, err + default: + common.Logf("Received unsupported enum value for UpdateInstanceLicensingConfig: %s.", m.Type) + return *m, nil + } +} + +// GetLicenseType returns LicenseType +func (m updateinstancelicensingconfig) GetLicenseType() UpdateInstanceLicensingConfigLicenseTypeEnum { + return m.LicenseType +} + +func (m updateinstancelicensingconfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m updateinstancelicensingconfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingUpdateInstanceLicensingConfigLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetUpdateInstanceLicensingConfigLicenseTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateInstanceLicensingConfigLicenseTypeEnum Enum with underlying type: string +type UpdateInstanceLicensingConfigLicenseTypeEnum string + +// Set of constants representing the allowable values for UpdateInstanceLicensingConfigLicenseTypeEnum +const ( + UpdateInstanceLicensingConfigLicenseTypeOciProvided UpdateInstanceLicensingConfigLicenseTypeEnum = "OCI_PROVIDED" + UpdateInstanceLicensingConfigLicenseTypeBringYourOwnLicense UpdateInstanceLicensingConfigLicenseTypeEnum = "BRING_YOUR_OWN_LICENSE" +) + +var mappingUpdateInstanceLicensingConfigLicenseTypeEnum = map[string]UpdateInstanceLicensingConfigLicenseTypeEnum{ + "OCI_PROVIDED": UpdateInstanceLicensingConfigLicenseTypeOciProvided, + "BRING_YOUR_OWN_LICENSE": UpdateInstanceLicensingConfigLicenseTypeBringYourOwnLicense, +} + +var mappingUpdateInstanceLicensingConfigLicenseTypeEnumLowerCase = map[string]UpdateInstanceLicensingConfigLicenseTypeEnum{ + "oci_provided": UpdateInstanceLicensingConfigLicenseTypeOciProvided, + "bring_your_own_license": UpdateInstanceLicensingConfigLicenseTypeBringYourOwnLicense, +} + +// GetUpdateInstanceLicensingConfigLicenseTypeEnumValues Enumerates the set of values for UpdateInstanceLicensingConfigLicenseTypeEnum +func GetUpdateInstanceLicensingConfigLicenseTypeEnumValues() []UpdateInstanceLicensingConfigLicenseTypeEnum { + values := make([]UpdateInstanceLicensingConfigLicenseTypeEnum, 0) + for _, v := range mappingUpdateInstanceLicensingConfigLicenseTypeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateInstanceLicensingConfigLicenseTypeEnumStringValues Enumerates the set of values in String for UpdateInstanceLicensingConfigLicenseTypeEnum +func GetUpdateInstanceLicensingConfigLicenseTypeEnumStringValues() []string { + return []string{ + "OCI_PROVIDED", + "BRING_YOUR_OWN_LICENSE", + } +} + +// GetMappingUpdateInstanceLicensingConfigLicenseTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateInstanceLicensingConfigLicenseTypeEnum(val string) (UpdateInstanceLicensingConfigLicenseTypeEnum, bool) { + enum, ok := mappingUpdateInstanceLicensingConfigLicenseTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// UpdateInstanceLicensingConfigTypeEnum Enum with underlying type: string +type UpdateInstanceLicensingConfigTypeEnum string + +// Set of constants representing the allowable values for UpdateInstanceLicensingConfigTypeEnum +const ( + UpdateInstanceLicensingConfigTypeWindows UpdateInstanceLicensingConfigTypeEnum = "WINDOWS" +) + +var mappingUpdateInstanceLicensingConfigTypeEnum = map[string]UpdateInstanceLicensingConfigTypeEnum{ + "WINDOWS": UpdateInstanceLicensingConfigTypeWindows, +} + +var mappingUpdateInstanceLicensingConfigTypeEnumLowerCase = map[string]UpdateInstanceLicensingConfigTypeEnum{ + "windows": UpdateInstanceLicensingConfigTypeWindows, +} + +// GetUpdateInstanceLicensingConfigTypeEnumValues Enumerates the set of values for UpdateInstanceLicensingConfigTypeEnum +func GetUpdateInstanceLicensingConfigTypeEnumValues() []UpdateInstanceLicensingConfigTypeEnum { + values := make([]UpdateInstanceLicensingConfigTypeEnum, 0) + for _, v := range mappingUpdateInstanceLicensingConfigTypeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateInstanceLicensingConfigTypeEnumStringValues Enumerates the set of values in String for UpdateInstanceLicensingConfigTypeEnum +func GetUpdateInstanceLicensingConfigTypeEnumStringValues() []string { + return []string{ + "WINDOWS", + } +} + +// GetMappingUpdateInstanceLicensingConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateInstanceLicensingConfigTypeEnum(val string) (UpdateInstanceLicensingConfigTypeEnum, bool) { + enum, ok := mappingUpdateInstanceLicensingConfigTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_details.go index dadc83ce99..4907a63663 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,12 +43,12 @@ type UpdateInstanceMaintenanceEventDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -67,7 +67,7 @@ func (m UpdateInstanceMaintenanceEventDetails) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AlternativeResolutionAction: %s. Supported values are: %s.", m.AlternativeResolutionAction, strings.Join(GetInstanceMaintenanceAlternativeResolutionActionsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_request_response.go index b8ad80ee87..34639dac8f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_maintenance_event_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceMaintenanceEvent.go.html to see an example of how to use UpdateInstanceMaintenanceEventRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceMaintenanceEvent.go.html to see an example of how to use UpdateInstanceMaintenanceEventRequest. type UpdateInstanceMaintenanceEventRequest struct { // The OCID of the instance maintenance event. @@ -77,7 +77,7 @@ func (request UpdateInstanceMaintenanceEventRequest) RetryPolicy() *common.Retry func (request UpdateInstanceMaintenanceEventRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,8 +92,8 @@ type UpdateInstanceMaintenanceEventResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_platform_config.go index 806989d08e..5ae0077f2f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_platform_config.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_platform_config.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -65,7 +65,7 @@ func (m *updateinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (in err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for UpdateInstancePlatformConfig: %s.", m.Type) + common.Logf("Received unsupported enum value for UpdateInstancePlatformConfig: %s.", m.Type) return *m, nil } } @@ -81,7 +81,7 @@ func (m updateinstanceplatformconfig) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go index 6eda427d44..85dda4985d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateInstancePoolDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,11 +34,11 @@ type UpdateInstancePoolDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated with the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance configuration associated with the // instance pool. InstanceConfigurationId *string `mandatory:"false" json:"instanceConfigurationId"` @@ -62,6 +62,8 @@ type UpdateInstancePoolDetails struct { // A user-friendly formatter for the instance pool's instances. Instance hostnames follow the format. // The formatter does not retroactively change instance's hostnames, only instance hostnames in the future follow the format InstanceHostnameFormatter *string `mandatory:"false" json:"instanceHostnameFormatter"` + + LifecycleManagement *InstancePoolLifecycleManagementDetails `mandatory:"false" json:"lifecycleManagement"` } func (m UpdateInstancePoolDetails) String() string { @@ -75,7 +77,7 @@ func (m UpdateInstancePoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go index ee66dff780..49aa821d0a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ type UpdateInstancePoolPlacementConfigurationDetails struct { // Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]` FaultDomains []string `mandatory:"false" json:"faultDomains"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated. // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool. PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"` @@ -61,7 +61,7 @@ func (m UpdateInstancePoolPlacementConfigurationDetails) ValidateEnumValue() (bo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go index 8373bfb581..c9a74237b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePoolRequest. type UpdateInstancePoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. InstancePoolId *string `mandatory:"true" contributesTo:"path" name:"instancePoolId"` // Update instance pool configuration @@ -77,7 +77,7 @@ func (request UpdateInstancePoolRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateInstancePoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go index a4f512a303..5c2277ae83 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstanceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstanceRequest. type UpdateInstanceRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. InstanceId *string `mandatory:"true" contributesTo:"path" name:"instanceId"` // Update instance fields @@ -77,7 +77,7 @@ func (request UpdateInstanceRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateInstanceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -98,8 +98,8 @@ type UpdateInstanceResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go index e4b12ae499..0924c9bdd9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_shape_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -51,6 +51,9 @@ type UpdateInstanceShapeConfigDetails struct { // The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. Nvmes *int `mandatory:"false" json:"nvmes"` + + // This field is reserved for internal use. + ResourceManagement UpdateInstanceShapeConfigDetailsResourceManagementEnum `mandatory:"false" json:"resourceManagement,omitempty"` } func (m UpdateInstanceShapeConfigDetails) String() string { @@ -66,8 +69,11 @@ func (m UpdateInstanceShapeConfigDetails) ValidateEnumValue() (bool, error) { if _, ok := GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(string(m.BaselineOcpuUtilization)); !ok && m.BaselineOcpuUtilization != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BaselineOcpuUtilization: %s. Supported values are: %s.", m.BaselineOcpuUtilization, strings.Join(GetUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumStringValues(), ","))) } + if _, ok := GetMappingUpdateInstanceShapeConfigDetailsResourceManagementEnum(string(m.ResourceManagement)); !ok && m.ResourceManagement != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceManagement: %s. Supported values are: %s.", m.ResourceManagement, strings.Join(GetUpdateInstanceShapeConfigDetailsResourceManagementEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -117,3 +123,45 @@ func GetMappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnum(val s enum, ok := mappingUpdateInstanceShapeConfigDetailsBaselineOcpuUtilizationEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// UpdateInstanceShapeConfigDetailsResourceManagementEnum Enum with underlying type: string +type UpdateInstanceShapeConfigDetailsResourceManagementEnum string + +// Set of constants representing the allowable values for UpdateInstanceShapeConfigDetailsResourceManagementEnum +const ( + UpdateInstanceShapeConfigDetailsResourceManagementDynamic UpdateInstanceShapeConfigDetailsResourceManagementEnum = "DYNAMIC" + UpdateInstanceShapeConfigDetailsResourceManagementStatic UpdateInstanceShapeConfigDetailsResourceManagementEnum = "STATIC" +) + +var mappingUpdateInstanceShapeConfigDetailsResourceManagementEnum = map[string]UpdateInstanceShapeConfigDetailsResourceManagementEnum{ + "DYNAMIC": UpdateInstanceShapeConfigDetailsResourceManagementDynamic, + "STATIC": UpdateInstanceShapeConfigDetailsResourceManagementStatic, +} + +var mappingUpdateInstanceShapeConfigDetailsResourceManagementEnumLowerCase = map[string]UpdateInstanceShapeConfigDetailsResourceManagementEnum{ + "dynamic": UpdateInstanceShapeConfigDetailsResourceManagementDynamic, + "static": UpdateInstanceShapeConfigDetailsResourceManagementStatic, +} + +// GetUpdateInstanceShapeConfigDetailsResourceManagementEnumValues Enumerates the set of values for UpdateInstanceShapeConfigDetailsResourceManagementEnum +func GetUpdateInstanceShapeConfigDetailsResourceManagementEnumValues() []UpdateInstanceShapeConfigDetailsResourceManagementEnum { + values := make([]UpdateInstanceShapeConfigDetailsResourceManagementEnum, 0) + for _, v := range mappingUpdateInstanceShapeConfigDetailsResourceManagementEnum { + values = append(values, v) + } + return values +} + +// GetUpdateInstanceShapeConfigDetailsResourceManagementEnumStringValues Enumerates the set of values in String for UpdateInstanceShapeConfigDetailsResourceManagementEnum +func GetUpdateInstanceShapeConfigDetailsResourceManagementEnumStringValues() []string { + return []string{ + "DYNAMIC", + "STATIC", + } +} + +// GetMappingUpdateInstanceShapeConfigDetailsResourceManagementEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateInstanceShapeConfigDetailsResourceManagementEnum(val string) (UpdateInstanceShapeConfigDetailsResourceManagementEnum, bool) { + enum, ok := mappingUpdateInstanceShapeConfigDetailsResourceManagementEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_details.go index 303ba2b62d..7f424ee112 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -70,7 +70,7 @@ func (m *updateinstancesourcedetails) UnmarshalPolymorphicJSON(data []byte) (int err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for UpdateInstanceSourceDetails: %s.", m.SourceType) + common.Logf("Received unsupported enum value for UpdateInstanceSourceDetails: %s.", m.SourceType) return *m, nil } } @@ -91,7 +91,7 @@ func (m updateinstancesourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_boot_volume_details.go index f9430b594a..c7649f6b9f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_boot_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_boot_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -48,7 +48,7 @@ func (m UpdateInstanceSourceViaBootVolumeDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_image_details.go index 98f733fc40..42fee7bdb7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_image_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_source_via_image_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -54,7 +54,7 @@ func (m UpdateInstanceSourceViaImageDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_windows_licensing_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_windows_licensing_config.go new file mode 100644 index 0000000000..e3c6fa5312 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_windows_licensing_config.go @@ -0,0 +1,70 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// Core Services API +// +// Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +// compute instances, and block storage volumes. For more information, see the console +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// The required permissions are documented in the +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// + +package core + +import ( + "encoding/json" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateInstanceWindowsLicensingConfig The default windows licensing config. +type UpdateInstanceWindowsLicensingConfig struct { + + // License Type for the OS license. + // * `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour). + // * `BRING_YOUR_OWN_LICENSE` - Bring your own license. + LicenseType UpdateInstanceLicensingConfigLicenseTypeEnum `mandatory:"false" json:"licenseType,omitempty"` +} + +// GetLicenseType returns LicenseType +func (m UpdateInstanceWindowsLicensingConfig) GetLicenseType() UpdateInstanceLicensingConfigLicenseTypeEnum { + return m.LicenseType +} + +func (m UpdateInstanceWindowsLicensingConfig) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateInstanceWindowsLicensingConfig) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingUpdateInstanceLicensingConfigLicenseTypeEnum(string(m.LicenseType)); !ok && m.LicenseType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LicenseType: %s. Supported values are: %s.", m.LicenseType, strings.Join(GetUpdateInstanceLicensingConfigLicenseTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// MarshalJSON marshals to json representation +func (m UpdateInstanceWindowsLicensingConfig) MarshalJSON() (buff []byte, e error) { + type MarshalTypeUpdateInstanceWindowsLicensingConfig UpdateInstanceWindowsLicensingConfig + s := struct { + DiscriminatorParam string `json:"type"` + MarshalTypeUpdateInstanceWindowsLicensingConfig + }{ + "WINDOWS", + (MarshalTypeUpdateInstanceWindowsLicensingConfig)(m), + } + + return json.Marshal(&s) +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go index 9c50deae04..28d51b6142 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateInternetGatewayDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,14 +34,14 @@ type UpdateInternetGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Whether the gateway is enabled. IsEnabled *bool `mandatory:"false" json:"isEnabled"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -56,7 +56,7 @@ func (m UpdateInternetGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go index f59a2e8785..d7b6e611ab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_internet_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGatewayRequest. type UpdateInternetGatewayRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the internet gateway. IgId *string `mandatory:"true" contributesTo:"path" name:"igId"` // Details for updating the internet gateway. @@ -70,7 +70,7 @@ func (request UpdateInternetGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateInternetGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go index dfd98be0b3..dc09f29189 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateIpSecConnectionDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateIpSecConnectionDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -42,7 +42,7 @@ type UpdateIpSecConnectionDetails struct { // fully qualified domain name (FQDN)). The type of identifier you provide here must correspond // to the value for `cpeLocalIdentifierType`. // For information about why you'd provide this value, see - // If Your CPE Is Behind a NAT Device (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). + // If Your CPE Is Behind a NAT Device (https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). // Example IP address: `10.0.3.3` // Example hostname: `cpe.example.com` CpeLocalIdentifier *string `mandatory:"false" json:"cpeLocalIdentifier"` @@ -55,7 +55,7 @@ type UpdateIpSecConnectionDetails struct { // static routes. A static route's CIDR must not be a multicast address or class E address. // The CIDR can be either IPv4 or IPv6. // IPv6 addressing is supported for all commercial and government regions. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // Example: `10.0.1.0/24` // Example: `2001:db8::/32` StaticRoutes []string `mandatory:"false" json:"staticRoutes"` @@ -75,7 +75,7 @@ func (m UpdateIpSecConnectionDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetUpdateIpSecConnectionDetailsCpeLocalIdentifierTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go index db6b78ba23..4b8aa05b84 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -79,7 +79,7 @@ func (m UpdateIpSecConnectionTunnelDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NatTranslationEnabled: %s. Supported values are: %s.", m.NatTranslationEnabled, strings.Join(GetUpdateIpSecConnectionTunnelDetailsNatTranslationEnabledEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go index 92ad8f8311..10aae91411 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_connection_tunnel_shared_secret_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m UpdateIpSecConnectionTunnelSharedSecretDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go index 05c2845093..a66c30f5d6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_bgp_session_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -87,7 +87,7 @@ func (m UpdateIpSecTunnelBgpSessionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go index 6851a4a8d1..3a6e552247 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ip_sec_tunnel_encryption_domain_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // UpdateIpSecTunnelEncryptionDomainDetails Request to update a multi-encryption domain policy on the IPSec tunnel. // There can't be more than 50 security associations in use at one time. See Encryption domain for policy-based -// tunnels (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more. +// tunnels (https://docs.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more. type UpdateIpSecTunnelEncryptionDomainDetails struct { // Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. @@ -44,7 +44,7 @@ func (m UpdateIpSecTunnelEncryptionDomainDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go index d03429c2a7..77c72e2776 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateIpv6Details struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,13 +34,23 @@ type UpdateIpv6Details struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the IPv6 to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the IPv6 to. // The VNIC must be in the same subnet as the current VNIC. VnicId *string `mandatory:"false" json:"vnicId"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime UpdateIpv6DetailsLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` } func (m UpdateIpv6Details) String() string { @@ -53,8 +63,53 @@ func (m UpdateIpv6Details) String() string { func (m UpdateIpv6Details) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingUpdateIpv6DetailsLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetUpdateIpv6DetailsLifetimeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// UpdateIpv6DetailsLifetimeEnum Enum with underlying type: string +type UpdateIpv6DetailsLifetimeEnum string + +// Set of constants representing the allowable values for UpdateIpv6DetailsLifetimeEnum +const ( + UpdateIpv6DetailsLifetimeEphemeral UpdateIpv6DetailsLifetimeEnum = "EPHEMERAL" + UpdateIpv6DetailsLifetimeReserved UpdateIpv6DetailsLifetimeEnum = "RESERVED" +) + +var mappingUpdateIpv6DetailsLifetimeEnum = map[string]UpdateIpv6DetailsLifetimeEnum{ + "EPHEMERAL": UpdateIpv6DetailsLifetimeEphemeral, + "RESERVED": UpdateIpv6DetailsLifetimeReserved, +} + +var mappingUpdateIpv6DetailsLifetimeEnumLowerCase = map[string]UpdateIpv6DetailsLifetimeEnum{ + "ephemeral": UpdateIpv6DetailsLifetimeEphemeral, + "reserved": UpdateIpv6DetailsLifetimeReserved, +} + +// GetUpdateIpv6DetailsLifetimeEnumValues Enumerates the set of values for UpdateIpv6DetailsLifetimeEnum +func GetUpdateIpv6DetailsLifetimeEnumValues() []UpdateIpv6DetailsLifetimeEnum { + values := make([]UpdateIpv6DetailsLifetimeEnum, 0) + for _, v := range mappingUpdateIpv6DetailsLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateIpv6DetailsLifetimeEnumStringValues Enumerates the set of values in String for UpdateIpv6DetailsLifetimeEnum +func GetUpdateIpv6DetailsLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingUpdateIpv6DetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateIpv6DetailsLifetimeEnum(val string) (UpdateIpv6DetailsLifetimeEnum, bool) { + enum, ok := mappingUpdateIpv6DetailsLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go index 49616a827a..d14ecd78fb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_ipv6_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6Request. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6Request. type UpdateIpv6Request struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPv6. Ipv6Id *string `mandatory:"true" contributesTo:"path" name:"ipv6Id"` // IPv6 details to be updated. @@ -70,7 +70,7 @@ func (request UpdateIpv6Request) RetryPolicy() *common.RetryPolicy { func (request UpdateIpv6Request) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go index 093c48c91b..9c091ee71a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_launch_options.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,7 +43,7 @@ type UpdateLaunchOptions struct { // Before you change the networking type, detach all VNICs and block volumes except for the primary // VNIC and the boot volume. // The image must have paravirtualized drivers installed. For more information, see - // Editing an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). + // Editing an Instance (https://docs.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). // If the instance is running when you change the network type, it will be rebooted. // **Note:** Some instances might not function properly if you change the networking type. After // the instance reboots and is running, connect to it. If the connection fails or the OS doesn't behave @@ -57,7 +57,7 @@ type UpdateLaunchOptions struct { // instance and the boot volume or the block volume, you can enable in-transit encryption. // In-transit encryption is not enabled by default. // All boot volumes and block volumes are encrypted at rest. - // For more information, see Block Volume Encryption (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti). + // For more information, see Block Volume Encryption (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm#Encrypti). IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` } @@ -78,7 +78,7 @@ func (m UpdateLaunchOptions) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NetworkType: %s. Supported values are: %s.", m.NetworkType, strings.Join(GetUpdateLaunchOptionsNetworkTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go index cf43309ba3..d227b577bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateLocalPeeringGatewayDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,13 +34,19 @@ type UpdateLocalPeeringGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use. // For information about why you would associate a route table with an LPG, see - // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + // Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` } @@ -55,7 +61,7 @@ func (m UpdateLocalPeeringGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go index b8fae10968..3428be082a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_local_peering_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGatewayRequest. type UpdateLocalPeeringGatewayRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the local peering gateway. LocalPeeringGatewayId *string `mandatory:"true" contributesTo:"path" name:"localPeeringGatewayId"` // Details object for updating a local peering gateway. @@ -70,7 +70,7 @@ func (request UpdateLocalPeeringGatewayRequest) RetryPolicy() *common.RetryPolic func (request UpdateLocalPeeringGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go index 2c73f45cc7..fb47614a53 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,13 +24,13 @@ import ( // UpdateMacsecKey An object defining the OCID of the Secret held in Vault that represent the MACsec key. type UpdateMacsecKey struct { - // Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key Name (CKN) of this MACsec key. + // Secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key Name (CKN) of this MACsec key. ConnectivityAssociationNameSecretId *string `mandatory:"true" json:"connectivityAssociationNameSecretId"` // The secret version of the connectivity association name secret in Vault. ConnectivityAssociationNameSecretVersion *int64 `mandatory:"true" json:"connectivityAssociationNameSecretVersion"` - // Secret OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. + // Secret OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. ConnectivityAssociationKeySecretId *string `mandatory:"true" json:"connectivityAssociationKeySecretId"` // The secret version of the connectivityAssociationKey secret in Vault. @@ -48,7 +48,7 @@ func (m UpdateMacsecKey) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go index fb27f749e2..134a054c90 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -53,7 +53,7 @@ func (m UpdateMacsecProperties) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EncryptionCipher: %s. Supported values are: %s.", m.EncryptionCipher, strings.Join(GetMacsecEncryptionCipherEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go index f792383010..748388b036 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateNatGatewayDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateNatGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -42,7 +42,7 @@ type UpdateNatGatewayDetails struct { // Example: `true` BlockTraffic *bool `mandatory:"false" json:"blockTraffic"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. // If you don't specify a route table here, the NAT gateway is created without an associated route // table. The Networking service does NOT automatically associate the attached VCN's default route // table with the NAT gateway. @@ -60,7 +60,7 @@ func (m UpdateNatGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go index 250c12b08e..890f3673f3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_nat_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGatewayRequest. type UpdateNatGatewayRequest struct { - // The NAT gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The NAT gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). NatGatewayId *string `mandatory:"true" contributesTo:"path" name:"natGatewayId"` // Details object for updating a NAT gateway. @@ -70,7 +70,7 @@ func (request UpdateNatGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateNatGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go index e33a34c106..d9b1e0f1b9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateNetworkSecurityGroupDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateNetworkSecurityGroupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateNetworkSecurityGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go index 865ef93bed..d03209034d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroupRequest. type UpdateNetworkSecurityGroupRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Details object for updating a network security group. @@ -70,7 +70,7 @@ func (request UpdateNetworkSecurityGroupRequest) RetryPolicy() *common.RetryPoli func (request UpdateNetworkSecurityGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go index 429fe52f48..10b7bcce09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m UpdateNetworkSecurityGroupSecurityRulesDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go index 650c257933..464db8c5c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_network_security_group_security_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRulesRequest. type UpdateNetworkSecurityGroupSecurityRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. NetworkSecurityGroupId *string `mandatory:"true" contributesTo:"path" name:"networkSecurityGroupId"` // Request with one or more security rules associated with the network security group that @@ -66,7 +66,7 @@ func (request UpdateNetworkSecurityGroupSecurityRulesRequest) RetryPolicy() *com func (request UpdateNetworkSecurityGroupSecurityRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go index 34968b6736..4a0db67328 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdatePrivateIpDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdatePrivateIpDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -45,13 +45,23 @@ type UpdatePrivateIpDetails struct { // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the private IP to. The VNIC must + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the private IP to. The VNIC must // be in the same subnet as the current VNIC. VnicId *string `mandatory:"false" json:"vnicId"` + + // Lifetime of the IP address. + // There are two types of IPs: + // - Ephemeral + // - Reserved + Lifetime UpdatePrivateIpDetailsLifetimeEnum `mandatory:"false" json:"lifetime,omitempty"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m UpdatePrivateIpDetails) String() string { @@ -64,8 +74,53 @@ func (m UpdatePrivateIpDetails) String() string { func (m UpdatePrivateIpDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingUpdatePrivateIpDetailsLifetimeEnum(string(m.Lifetime)); !ok && m.Lifetime != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Lifetime: %s. Supported values are: %s.", m.Lifetime, strings.Join(GetUpdatePrivateIpDetailsLifetimeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// UpdatePrivateIpDetailsLifetimeEnum Enum with underlying type: string +type UpdatePrivateIpDetailsLifetimeEnum string + +// Set of constants representing the allowable values for UpdatePrivateIpDetailsLifetimeEnum +const ( + UpdatePrivateIpDetailsLifetimeEphemeral UpdatePrivateIpDetailsLifetimeEnum = "EPHEMERAL" + UpdatePrivateIpDetailsLifetimeReserved UpdatePrivateIpDetailsLifetimeEnum = "RESERVED" +) + +var mappingUpdatePrivateIpDetailsLifetimeEnum = map[string]UpdatePrivateIpDetailsLifetimeEnum{ + "EPHEMERAL": UpdatePrivateIpDetailsLifetimeEphemeral, + "RESERVED": UpdatePrivateIpDetailsLifetimeReserved, +} + +var mappingUpdatePrivateIpDetailsLifetimeEnumLowerCase = map[string]UpdatePrivateIpDetailsLifetimeEnum{ + "ephemeral": UpdatePrivateIpDetailsLifetimeEphemeral, + "reserved": UpdatePrivateIpDetailsLifetimeReserved, +} + +// GetUpdatePrivateIpDetailsLifetimeEnumValues Enumerates the set of values for UpdatePrivateIpDetailsLifetimeEnum +func GetUpdatePrivateIpDetailsLifetimeEnumValues() []UpdatePrivateIpDetailsLifetimeEnum { + values := make([]UpdatePrivateIpDetailsLifetimeEnum, 0) + for _, v := range mappingUpdatePrivateIpDetailsLifetimeEnum { + values = append(values, v) + } + return values +} + +// GetUpdatePrivateIpDetailsLifetimeEnumStringValues Enumerates the set of values in String for UpdatePrivateIpDetailsLifetimeEnum +func GetUpdatePrivateIpDetailsLifetimeEnumStringValues() []string { + return []string{ + "EPHEMERAL", + "RESERVED", + } +} + +// GetMappingUpdatePrivateIpDetailsLifetimeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdatePrivateIpDetailsLifetimeEnum(val string) (UpdatePrivateIpDetailsLifetimeEnum, bool) { + enum, ok := mappingUpdatePrivateIpDetailsLifetimeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go index c513467d9a..7fba959c0d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_private_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIpRequest. type UpdatePrivateIpRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP or IPv6. PrivateIpId *string `mandatory:"true" contributesTo:"path" name:"privateIpId"` // Private IP details. @@ -70,7 +70,7 @@ func (request UpdatePrivateIpRequest) RetryPolicy() *common.RetryPolicy { func (request UpdatePrivateIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go index 999bf13326..a43a6695bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdatePublicIpDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,11 +34,11 @@ type UpdatePublicIpDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP to assign the public IP to. // * If the public IP is already assigned to a different private IP, it will be unassigned // and then reassigned to the specified private IP. // * If you set this field to an empty string, the public IP will be unassigned from the @@ -57,7 +57,7 @@ func (m UpdatePublicIpDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go index deb1bad747..167682d229 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdatePublicIpPoolDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdatePublicIpPoolDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdatePublicIpPoolDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go index 2928f64ceb..25b78d93c0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_pool_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPoolRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPoolRequest. type UpdatePublicIpPoolRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. PublicIpPoolId *string `mandatory:"true" contributesTo:"path" name:"publicIpPoolId"` // Public IP pool details. @@ -70,7 +70,7 @@ func (request UpdatePublicIpPoolRequest) RetryPolicy() *common.RetryPolicy { func (request UpdatePublicIpPoolRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go index 01c4c38009..720be944ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_public_ip_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIpRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIpRequest. type UpdatePublicIpRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP. PublicIpId *string `mandatory:"true" contributesTo:"path" name:"publicIpId"` // Public IP details. @@ -70,7 +70,7 @@ func (request UpdatePublicIpRequest) RetryPolicy() *common.RetryPolicy { func (request UpdatePublicIpRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go index 9e1576f818..5380a7e746 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateRemotePeeringConnectionDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateRemotePeeringConnectionDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateRemotePeeringConnectionDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go index cbfa1c180b..b758a1dda0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_remote_peering_connection_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnectionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnectionRequest. type UpdateRemotePeeringConnectionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the remote peering connection (RPC). RemotePeeringConnectionId *string `mandatory:"true" contributesTo:"path" name:"remotePeeringConnectionId"` // Request to the update the peering connection to remote region @@ -70,7 +70,7 @@ func (request UpdateRemotePeeringConnectionRequest) RetryPolicy() *common.RetryP func (request UpdateRemotePeeringConnectionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go index 25036e88cf..bb7c24b186 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateRouteTableDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateRouteTableDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -53,7 +53,7 @@ func (m UpdateRouteTableDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go index 2c296425f2..8dd21eeddd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_route_table_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTableRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTableRequest. type UpdateRouteTableRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. RtId *string `mandatory:"true" contributesTo:"path" name:"rtId"` // Details object for updating a route table. @@ -70,7 +70,7 @@ func (request UpdateRouteTableRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateRouteTableRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go index 1d4ef1404a..fa3927ff0a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateSecurityListDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -37,7 +37,7 @@ type UpdateSecurityListDetails struct { EgressSecurityRules []EgressSecurityRule `mandatory:"false" json:"egressSecurityRules"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -56,7 +56,7 @@ func (m UpdateSecurityListDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go index 673102e3c0..af922e02b5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_list_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityListRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityListRequest. type UpdateSecurityListRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the security list. SecurityListId *string `mandatory:"true" contributesTo:"path" name:"securityListId"` // Updated details for the security list. @@ -70,7 +70,7 @@ func (request UpdateSecurityListRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateSecurityListRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go index ac50778156..8f5797ca2e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_security_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,11 +46,11 @@ type UpdateSecurityRuleDetails struct { // Allowed values: // * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // IPv6 addressing is supported for all commercial and government regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security rule for traffic destined for a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. - // * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same + // * The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same // VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control // traffic between VNICs in the same NSG. Destination *string `mandatory:"false" json:"destination"` @@ -61,7 +61,7 @@ type UpdateSecurityRuleDetails struct { // * `SERVICE_CIDR_BLOCK`: If the rule's `destination` is the `cidrBlock` value for a // Service (the rule is for traffic destined for a // particular `Service` through a service gateway). - // * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + // * `NETWORK_SECURITY_GROUP`: If the rule's `destination` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a // NetworkSecurityGroup. DestinationType UpdateSecurityRuleDetailsDestinationTypeEnum `mandatory:"false" json:"destinationType,omitempty"` @@ -79,11 +79,11 @@ type UpdateSecurityRuleDetails struct { // Allowed values: // * An IP address range in CIDR notation. For example: `192.168.1.0/24` or `2001:0db8:0123:45::/56` // IPv6 addressing is supported for all commercial and government regions. See - // IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // * The `cidrBlock` value for a Service, if you're // setting up a security rule for traffic coming from a particular `Service` through // a service gateway. For example: `oci-phx-objectstorage`. - // * The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same + // * The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a NetworkSecurityGroup in the same // VCN. The value can be the NSG that the rule belongs to if the rule's intent is to control // traffic between VNICs in the same NSG. Source *string `mandatory:"false" json:"source"` @@ -93,7 +93,7 @@ type UpdateSecurityRuleDetails struct { // * `SERVICE_CIDR_BLOCK`: If the rule's `source` is the `cidrBlock` value for a // Service (the rule is for traffic coming from a // particular `Service` through a service gateway). - // * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a + // * `NETWORK_SECURITY_GROUP`: If the rule's `source` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a // NetworkSecurityGroup. SourceType UpdateSecurityRuleDetailsSourceTypeEnum `mandatory:"false" json:"sourceType,omitempty"` @@ -122,7 +122,7 @@ func (m UpdateSecurityRuleDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetUpdateSecurityRuleDetailsSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go index 121d17fb73..57da104846 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -30,7 +30,7 @@ type UpdateServiceGatewayDetails struct { BlockTraffic *bool `mandatory:"false" json:"blockTraffic"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -39,13 +39,13 @@ type UpdateServiceGatewayDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use. // For information about why you would associate a route table with a service gateway, see - // Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). + // Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). RouteTableId *string `mandatory:"false" json:"routeTableId"` // List of all the `Service` objects you want enabled on this service gateway. Sending an empty list @@ -71,7 +71,7 @@ func (m UpdateServiceGatewayDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go index 7080b4055d..9df26850d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_service_gateway_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGatewayRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGatewayRequest. type UpdateServiceGatewayRequest struct { - // The service gateway's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The service gateway's OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ServiceGatewayId *string `mandatory:"true" contributesTo:"path" name:"serviceGatewayId"` // Details object for updating a service gateway. @@ -70,7 +70,7 @@ func (request UpdateServiceGatewayRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateServiceGatewayRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go index 229dda6d02..6c729bd651 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,11 +25,11 @@ import ( type UpdateSubnetDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the set of DHCP options the subnet will use. DhcpOptionsId *string `mandatory:"false" json:"dhcpOptionsId"` // A user-friendly name. Does not have to be unique, and it's changeable. @@ -37,11 +37,11 @@ type UpdateSubnetDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. RouteTableId *string `mandatory:"false" json:"routeTableId"` // The OCIDs of the security list or lists the subnet will use. This @@ -62,7 +62,7 @@ type UpdateSubnetDetails struct { // This is the IPv6 prefix for the subnet's IP address space. // The subnet size is always /64. - // See IPv6 Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + // See IPv6 Addresses (https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). // The provided prefix must maintain the following rules - // a. The IPv6 prefix is valid and correctly formatted. // b. The IPv6 prefix is within the parent VCN IPv6 range. @@ -87,7 +87,7 @@ func (m UpdateSubnetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go index b8e5b1a814..b8692ee5df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_subnet_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnetRequest. type UpdateSubnetRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. SubnetId *string `mandatory:"true" contributesTo:"path" name:"subnetId"` // Details object for updating a subnet. @@ -70,7 +70,7 @@ func (request UpdateSubnetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateSubnetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go index 1a8a74ef36..e75e64f2eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m UpdateTunnelCpeDeviceConfigDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go index 20e370982a..fe95624a03 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_tunnel_cpe_device_config_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfigRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfigRequest. type UpdateTunnelCpeDeviceConfigRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec connection. IpscId *string `mandatory:"true" contributesTo:"path" name:"ipscId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. TunnelId *string `mandatory:"true" contributesTo:"path" name:"tunnelId"` // Request to input the tunnel's cpe configuration parameters @@ -80,7 +80,7 @@ func (request UpdateTunnelCpeDeviceConfigRequest) RetryPolicy() *common.RetryPol func (request UpdateTunnelCpeDeviceConfigRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go index d4f665c487..7036e66a71 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVcnDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,13 +34,18 @@ type UpdateVcnDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` + + // Indicates whether ZPR Only mode is enforced. + IsZprOnly *bool `mandatory:"false" json:"isZprOnly"` } func (m UpdateVcnDetails) String() string { @@ -54,7 +59,7 @@ func (m UpdateVcnDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go index d6d27ddc3d..c824f732ed 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vcn_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcnRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcnRequest. type UpdateVcnRequest struct { - // Specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + // Specify the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. VcnId *string `mandatory:"true" contributesTo:"path" name:"vcnId"` // Details object for updating a VCN. @@ -70,7 +70,7 @@ func (request UpdateVcnRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVcnRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go index cc47f557e8..122a5554bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ type UpdateVirtualCircuitDetails struct { // The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. // Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`. - // See Route Filtering (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. + // See Route Filtering (https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. // By default, routing information is shared for all routes in the same market. RoutingPolicy []UpdateVirtualCircuitDetailsRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"` @@ -68,7 +68,7 @@ type UpdateVirtualCircuitDetails struct { CustomerAsn *int64 `mandatory:"false" json:"customerAsn"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -77,11 +77,11 @@ type UpdateVirtualCircuitDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Drg + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Drg // that this private virtual circuit uses. // To be updated only by the customer who owns the virtual circuit. GatewayId *string `mandatory:"false" json:"gatewayId"` @@ -132,7 +132,7 @@ func (m UpdateVirtualCircuitDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMtu: %s. Supported values are: %s.", m.IpMtu, strings.Join(GetVirtualCircuitIpMtuEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go index efc3d6a02a..0ce04a29c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuitRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuitRequest. type UpdateVirtualCircuitRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit. VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"` // Update VirtualCircuit fields. @@ -70,7 +70,7 @@ func (request UpdateVirtualCircuitRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVirtualCircuitRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go index 490810827e..ce8defc7b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVlanDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateVlanDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -44,7 +44,7 @@ type UpdateVlanDetails struct { // NetworkSecurityGroup. NsgIds []string `mandatory:"false" json:"nsgIds"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. RouteTableId *string `mandatory:"false" json:"routeTableId"` // The CIDR block of the VLAN. The new CIDR block must meet the following criteria: @@ -68,7 +68,7 @@ func (m UpdateVlanDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go index 859d6678e8..c0815fdbff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vlan_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlanRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlanRequest. type UpdateVlanRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. VlanId *string `mandatory:"true" contributesTo:"path" name:"vlanId"` // Details object for updating a subnet. @@ -70,7 +70,7 @@ func (request UpdateVlanRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVlanRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go index c8577750ff..bc247f087b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVnicDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,11 +34,13 @@ type UpdateVnicDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -48,12 +50,12 @@ type UpdateVnicDetails struct { // Must be unique across all VNICs in the subnet and comply with // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). - // The value appears in the `Vnic` object and also the + // The value appears in the Vnic object and also the // PrivateIp object returned by // ListPrivateIps and // GetPrivateIp. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` // A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting this as @@ -68,12 +70,16 @@ type UpdateVnicDetails struct { // Whether the source/destination check is disabled on the VNIC. // Defaults to `false`, which means the check is performed. For information about why you would // skip the source/destination check, see - // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). + // Using a Private IP as a Route Target (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). // If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of // belonging to a subnet), the value of the `skipSourceDestCheck` attribute is ignored. // This is because the source/destination check is always disabled for VNICs in a VLAN. // Example: `true` SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m UpdateVnicDetails) String() string { @@ -87,7 +93,7 @@ func (m UpdateVnicDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go index c60d010275..f92dfe0055 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vnic_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnicRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnicRequest. type UpdateVnicRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. VnicId *string `mandatory:"true" contributesTo:"path" name:"vnicId"` // Details object for updating a VNIC. @@ -70,7 +70,7 @@ func (request UpdateVnicRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVnicRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go index d6d02f28cf..a075f6f370 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -43,7 +43,7 @@ func (m UpdateVolumeAttachmentDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetUpdateVolumeAttachmentDetailsIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go index be2663bcf5..b0d7f396fc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_attachment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachmentRequest. type UpdateVolumeAttachmentRequest struct { // The OCID of the volume attachment. @@ -70,7 +70,7 @@ func (request UpdateVolumeAttachmentRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVolumeAttachmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go index d1af3ffd75..bf9a72481a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVolumeBackupDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,14 +34,14 @@ type UpdateVolumeBackupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The OCID of the Vault service key which is the master encryption key for the volume backup. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -56,7 +56,7 @@ func (m UpdateVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go index 033a60dc6c..c8e133e0e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,8 +23,8 @@ import ( // UpdateVolumeBackupPolicyDetails Specifies the properties for updating a user defined backup policy. // For more information about user defined backup policies, -// see User Defined Policies (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in -// Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// see User Defined Policies (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies) in +// Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). type UpdateVolumeBackupPolicyDetails struct { // A user-friendly name. Does not have to be unique, and it's changeable. @@ -33,21 +33,21 @@ type UpdateVolumeBackupPolicyDetails struct { // The paired destination region for copying scheduled backups to. Example: `us-ashburn-1`. // Specify `none` to reset the `destinationRegion` parameter. - // See Region Pairs (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions. + // See Region Pairs (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions. DestinationRegion *string `mandatory:"false" json:"destinationRegion"` // The collection of schedules for the volume backup policy. See - // see Schedules (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in - // Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information. + // see Schedules (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in + // Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information. Schedules []VolumeBackupSchedule `mandatory:"false" json:"schedules"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -63,7 +63,7 @@ func (m UpdateVolumeBackupPolicyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go index cdc02caf85..43d3b4e659 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicyRequest. type UpdateVolumeBackupPolicyRequest struct { // The OCID of the volume backup policy. @@ -77,7 +77,7 @@ func (request UpdateVolumeBackupPolicyRequest) RetryPolicy() *common.RetryPolicy func (request UpdateVolumeBackupPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go index efb3a96809..f68e7f0d9f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackupRequest. type UpdateVolumeBackupRequest struct { // The OCID of the volume backup. @@ -70,7 +70,7 @@ func (request UpdateVolumeBackupRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVolumeBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go index ac17ec7374..a8e0160bc7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( type UpdateVolumeDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -35,13 +35,13 @@ type UpdateVolumeDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. @@ -63,6 +63,10 @@ type UpdateVolumeDetails struct { // The list of autotune policies enabled for this volume. AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"` + + // When set to true, enables SCSI Persistent Reservation (SCSI PR) for the volume. For more information, see + // Persistent Reservations (https://docs.oracle.com/iaas/Content/Block/Concepts/persistent-reservations.htm). + IsReservationsEnabled *bool `mandatory:"false" json:"isReservationsEnabled"` } func (m UpdateVolumeDetails) String() string { @@ -76,7 +80,7 @@ func (m UpdateVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -84,14 +88,15 @@ func (m UpdateVolumeDetails) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *UpdateVolumeDetails) UnmarshalJSON(data []byte) (e error) { model := struct { - DefinedTags map[string]map[string]interface{} `json:"definedTags"` - DisplayName *string `json:"displayName"` - FreeformTags map[string]string `json:"freeformTags"` - VpusPerGB *int64 `json:"vpusPerGB"` - SizeInGBs *int64 `json:"sizeInGBs"` - IsAutoTuneEnabled *bool `json:"isAutoTuneEnabled"` - BlockVolumeReplicas []BlockVolumeReplicaDetails `json:"blockVolumeReplicas"` - AutotunePolicies []autotunepolicy `json:"autotunePolicies"` + DefinedTags map[string]map[string]interface{} `json:"definedTags"` + DisplayName *string `json:"displayName"` + FreeformTags map[string]string `json:"freeformTags"` + VpusPerGB *int64 `json:"vpusPerGB"` + SizeInGBs *int64 `json:"sizeInGBs"` + IsAutoTuneEnabled *bool `json:"isAutoTuneEnabled"` + BlockVolumeReplicas []BlockVolumeReplicaDetails `json:"blockVolumeReplicas"` + AutotunePolicies []autotunepolicy `json:"autotunePolicies"` + IsReservationsEnabled *bool `json:"isReservationsEnabled"` }{} e = json.Unmarshal(data, &model) @@ -125,5 +130,7 @@ func (m *UpdateVolumeDetails) UnmarshalJSON(data []byte) (e error) { m.AutotunePolicies[i] = nil } } + m.IsReservationsEnabled = model.IsReservationsEnabled + return } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go index 4b0d4184ec..c17f8419bf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVolumeGroupBackupDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateVolumeGroupBackupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -50,7 +50,7 @@ func (m UpdateVolumeGroupBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go index be18c7c667..1e67ef9546 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_backup_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackupRequest. type UpdateVolumeGroupBackupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group backup. @@ -70,7 +70,7 @@ func (request UpdateVolumeGroupBackupRequest) RetryPolicy() *common.RetryPolicy func (request UpdateVolumeGroupBackupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go index 3fb15935d2..288deda2ec 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVolumeGroupDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,7 +34,7 @@ type UpdateVolumeGroupDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -57,7 +57,7 @@ func (m UpdateVolumeGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go index 29da70b502..27e0323a9c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroupRequest. type UpdateVolumeGroupRequest struct { // The Oracle Cloud ID (OCID) that uniquely identifies the volume group. @@ -75,7 +75,7 @@ func (request UpdateVolumeGroupRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVolumeGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go index 9064834425..6fce62323a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -41,7 +41,7 @@ func (m UpdateVolumeKmsKeyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go index 220820ab60..966e57b35c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_kms_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKeyRequest. type UpdateVolumeKmsKeyRequest struct { // The OCID of the volume. @@ -70,7 +70,7 @@ func (request UpdateVolumeKmsKeyRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVolumeKmsKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go index fdfabcce18..6823f616de 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolumeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolumeRequest. type UpdateVolumeRequest struct { // The OCID of the volume. @@ -70,7 +70,7 @@ func (request UpdateVolumeRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVolumeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go index 570f01265a..9fd2b05bd8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( type UpdateVtapDetails struct { // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -34,20 +34,20 @@ type UpdateVtapDetails struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. SourceId *string `mandatory:"false" json:"sourceId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. TargetId *string `mandatory:"false" json:"targetId"` // The IP address of the destination resource where mirrored packets are sent. TargetIp *string `mandatory:"false" json:"targetIp"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). CaptureFilterId *string `mandatory:"false" json:"captureFilterId"` // Defines an encapsulation header type for the VTAP's mirrored traffic. @@ -70,7 +70,7 @@ type UpdateVtapDetails struct { // The IP Address of the source private endpoint. SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` // The target type for the VTAP. @@ -103,7 +103,7 @@ func (m UpdateVtapDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetUpdateVtapDetailsSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go index 5bf58a45e1..2a88a0038b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_vtap_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtapRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVtap.go.html to see an example of how to use UpdateVtapRequest. type UpdateVtapRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VTAP. VtapId *string `mandatory:"true" contributesTo:"path" name:"vtapId"` // Details object for updating a VTAP. @@ -70,7 +70,7 @@ func (request UpdateVtapRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateVtapRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -91,8 +91,8 @@ type UpdateVtapResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go index fc09a8c452..7097b690d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/updated_network_security_group_security_rules.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m UpdatedNetworkSecurityGroupSecurityRules) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go index 3a141dd1e1..8dda93963b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_drg_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrgRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrgRequest. type UpgradeDrgRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. DrgId *string `mandatory:"true" contributesTo:"path" name:"drgId"` // Unique identifier for the request. @@ -69,7 +69,7 @@ func (request UpgradeDrgRequest) RetryPolicy() *common.RetryPolicy { func (request UpgradeDrgRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -84,8 +84,8 @@ type UpgradeDrgResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go index 6839313145..72ce4799b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/upgrade_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -48,7 +48,7 @@ func (m UpgradeStatus) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoasn_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoasn_request_response.go new file mode 100644 index 0000000000..41be79e4bf --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoasn_request_response.go @@ -0,0 +1,105 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package core + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ValidateByoasnRequest wrapper for the ValidateByoasn operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoasn.go.html to see an example of how to use ValidateByoasnRequest. +type ValidateByoasnRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. + ByoasnId *string `mandatory:"true" contributesTo:"path" name:"byoasnId"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` + // parameter to the value of the etag from a previous GET or POST response for that resource. The resource + // will be updated or deleted only if the etag you provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations (for example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // may be rejected). + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ValidateByoasnRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ValidateByoasnRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ValidateByoasnRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ValidateByoasnRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ValidateByoasnRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ValidateByoasnResponse wrapper for the ValidateByoasn operation +type ValidateByoasnResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` +} + +func (response ValidateByoasnResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ValidateByoasnResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go index 151336ba7c..964cb5ecca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/validate_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRangeRequest. type ValidateByoipRangeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request ValidateByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request ValidateByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -77,8 +77,8 @@ type ValidateByoipRangeResponse struct { // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. - // Use GetWorkRequest (https://docs.cloud.oracle.com/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // Use GetWorkRequest (https://docs.oracle.com/iaas/api/#/en/workrequests/latest/WorkRequest/GetWorkRequest) // with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn.go index 1d2ead3a61..d1e80d4f06 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,10 +22,10 @@ import ( ) // Vcn A virtual cloud network (VCN). For more information, see -// Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). +// Overview of the Networking Service (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Vcn struct { // Deprecated. The first CIDR IP address from cidrBlocks. @@ -35,10 +35,10 @@ type Vcn struct { // The list of IPv4 CIDR blocks the VCN will use. CidrBlocks []string `mandatory:"true" json:"cidrBlocks"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The VCN's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The VCN's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The VCN's current state. @@ -50,17 +50,17 @@ type Vcn struct { // For an IPv6-enabled VCN, this is the list of Private IPv6 prefixes for the VCN's IP address space. Ipv6PrivateCidrBlocks []string `mandatory:"false" json:"ipv6PrivateCidrBlocks"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default set of DHCP options. DefaultDhcpOptionsId *string `mandatory:"false" json:"defaultDhcpOptionsId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default route table. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default route table. DefaultRouteTableId *string `mandatory:"false" json:"defaultRouteTableId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default security list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the VCN's default security list. DefaultSecurityListId *string `mandatory:"false" json:"defaultSecurityListId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -76,16 +76,18 @@ type Vcn struct { // The absence of this parameter means the Internet and VCN Resolver will // not work for this VCN. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `vcn1` DnsLabel *string `mandatory:"false" json:"dnsLabel"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` @@ -100,9 +102,12 @@ type Vcn struct { // The VCN's domain name, which consists of the VCN's DNS label, and the // `oraclevcn.com` domain. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `vcn1.oraclevcn.com` VcnDomainName *string `mandatory:"false" json:"vcnDomainName"` + + // Indicates whether ZPR Only mode is enforced. + IsZprOnly *bool `mandatory:"false" json:"isZprOnly"` } func (m Vcn) String() string { @@ -119,7 +124,7 @@ func (m Vcn) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go index 39b3e0d477..545ccef602 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_dns_resolver_association.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,13 +24,13 @@ import ( // VcnDnsResolverAssociation The information about the VCN and the DNS resolver in the association. type VcnDnsResolverAssociation struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN in the association. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN in the association. VcnId *string `mandatory:"true" json:"vcnId"` // The current state of the association. LifecycleState VcnDnsResolverAssociationLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS resolver in the association. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS resolver in the association. DnsResolverId *string `mandatory:"false" json:"dnsResolverId"` } @@ -48,7 +48,7 @@ func (m VcnDnsResolverAssociation) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go index b79daf43aa..92b1a6564a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,15 +25,15 @@ import ( // VcnDrgAttachmentNetworkCreateDetails Specifies the VCN Attachment type VcnDrgAttachmentNetworkCreateDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"false" json:"id"` - // This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. + // This is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. // For information about why you would associate a route table with a DRG attachment, see - // Advanced Scenario: Transit Routing (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). + // Advanced Scenario: Transit Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) + // * Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` // Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. @@ -60,7 +60,7 @@ func (m VcnDrgAttachmentNetworkCreateDetails) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VcnRouteType: %s. Supported values are: %s.", m.VcnRouteType, strings.Join(GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go index bffeae914c..5661afa297 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,13 +25,13 @@ import ( // VcnDrgAttachmentNetworkDetails Specifies details within the VCN. type VcnDrgAttachmentNetworkDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"false" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) + // * Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` // Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. @@ -58,7 +58,7 @@ func (m VcnDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go index d997159b3d..f261630094 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_update_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,10 +25,10 @@ import ( // VcnDrgAttachmentNetworkUpdateDetails Specifies the update details for the VCN attachment. type VcnDrgAttachmentNetworkUpdateDetails struct { - // This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. + // This is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. // For information about why you would associate a route table with a DRG attachment, see: - // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) - // * Transit Routing: Private Access to Oracle Services (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) + // * Transit Routing: Access to Multiple VCNs in Same Region (https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) + // * Transit Routing: Private Access to Oracle Services (https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) RouteTableId *string `mandatory:"false" json:"routeTableId"` // Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. @@ -50,7 +50,7 @@ func (m VcnDrgAttachmentNetworkUpdateDetails) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for VcnRouteType: %s. Supported values are: %s.", m.VcnRouteType, strings.Join(GetVcnDrgAttachmentNetworkDetailsVcnRouteTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go index 542ff4b6d2..efb604cf09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( ) // VcnTopology Defines the representation of a virtual network topology for a VCN. -// See Network Visualizer Documentation (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including +// See Network Visualizer Documentation (https://docs.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including // conventions and pictures of symbols. type VcnTopology struct { @@ -41,7 +41,7 @@ type VcnTopology struct { // Records when the virtual network topology was created, in RFC3339 (https://tools.ietf.org/html/rfc3339) format for date and time. TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN for which the topology is generated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN for which the topology is generated. VcnId *string `mandatory:"false" json:"vcnId"` } @@ -76,7 +76,7 @@ func (m VcnTopology) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go index cab04c9cab..984e3ac618 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( // network connections to provide a single, logical connection between the edge router // on the customer's existing network and Oracle Cloud Infrastructure. *Private* // virtual circuits support private peering, and *public* virtual circuits support -// public peering. For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// public peering. For more information, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // Each virtual circuit is made up of information shared between a customer, Oracle, // and a provider (if the customer is using FastConnect via a provider). Who fills in // a given property of a virtual circuit depends on whether the BGP session related to @@ -36,7 +36,7 @@ import ( // provider and Oracle each do their part to provision the virtual circuit. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type VirtualCircuit struct { // The provisioned data rate of the connection. To get a list of the @@ -55,7 +55,7 @@ type VirtualCircuit struct { // The state of the Ipv6 BGP session associated with the virtual circuit. BgpIpv6SessionState VirtualCircuitBgpIpv6SessionStateEnum `mandatory:"false" json:"bgpIpv6SessionState,omitempty"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the virtual circuit. CompartmentId *string `mandatory:"false" json:"compartmentId"` // An array of mappings, each containing properties for a @@ -65,7 +65,7 @@ type VirtualCircuit struct { // The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. // Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`. - // See Route Filtering (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. + // See Route Filtering (https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. // By default, routing information is shared for all routes in the same market. RoutingPolicy []VirtualCircuitRoutingPolicyEnum `mandatory:"false" json:"routingPolicy,omitempty"` @@ -91,7 +91,7 @@ type VirtualCircuit struct { CustomerAsn *int64 `mandatory:"false" json:"customerAsn"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -100,20 +100,20 @@ type VirtualCircuit struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's Drg + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's Drg // that this virtual circuit uses. Applicable only to private virtual circuits. GatewayId *string `mandatory:"false" json:"gatewayId"` - // The virtual circuit's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The virtual circuit's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"false" json:"id"` // The virtual circuit's current state. For information about // the different states, see - // FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). + // FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). LifecycleState VirtualCircuitLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The Oracle BGP ASN. @@ -122,7 +122,7 @@ type VirtualCircuit struct { // Deprecated. Instead use `providerServiceId`. ProviderName *string `mandatory:"false" json:"providerName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if the customer is connecting via a provider). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service offered by the provider (if the customer is connecting via a provider). ProviderServiceId *string `mandatory:"false" json:"providerServiceId"` // The service key name offered by the provider (if the customer is connecting via a provider). @@ -159,7 +159,7 @@ type VirtualCircuit struct { TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Whether the virtual circuit supports private or public peering. For more information, - // see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). + // see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). Type VirtualCircuitTypeEnum `mandatory:"false" json:"type,omitempty"` // The layer 3 IP MTU to use on this virtual circuit. @@ -212,7 +212,7 @@ func (m VirtualCircuit) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMtu: %s. Supported values are: %s.", m.IpMtu, strings.Join(GetVirtualCircuitIpMtuEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go index 262446f41f..dfdeab083b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -27,10 +27,10 @@ type VirtualCircuitAssociatedTunnelDetails struct { // The type of the tunnel associated with the virtual circuit. TunnelType VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum `mandatory:"true" json:"tunnelType"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec tunnel associated with the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec tunnel associated with the virtual circuit. TunnelId *string `mandatory:"true" json:"tunnelId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IPSec connection associated with the virtual circuit. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IPSec connection associated with the virtual circuit. IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"` } @@ -48,7 +48,7 @@ func (m VirtualCircuitAssociatedTunnelDetails) ValidateEnumValue() (bool, error) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go index 678f99c52e..d48831a2ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_bandwidth_shape.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -44,7 +44,7 @@ func (m VirtualCircuitBandwidthShape) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go index 4c2735335a..2ebbd40a9d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -25,7 +25,7 @@ import ( // VirtualCircuitDrgAttachmentNetworkDetails Specifies the virtual circuit attached to the DRG. type VirtualCircuitDrgAttachmentNetworkDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. Id *string `mandatory:"false" json:"id"` // Boolean flag that determines wether all traffic over the virtual circuits is encrypted. @@ -49,7 +49,7 @@ func (m VirtualCircuitDrgAttachmentNetworkDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go index 77ef454b47..4672ced573 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_ip_mtu.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go index 53a837db0d..08596b39c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_public_prefix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // VirtualCircuitPublicPrefix A public IP prefix and its details. With a public virtual circuit, the customer // specifies the customer-owned public IP prefixes to advertise across the connection. -// For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). +// For more information, see FastConnect Overview (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). type VirtualCircuitPublicPrefix struct { // Publix IP prefix (CIDR) that the customer specified. @@ -51,7 +51,7 @@ func (m VirtualCircuitPublicPrefix) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_redundancy_metadata.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_redundancy_metadata.go index ae667d46dc..4290281bd3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_redundancy_metadata.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_redundancy_metadata.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -21,16 +21,16 @@ import ( "strings" ) -// VirtualCircuitRedundancyMetadata Redundancy level details of the virtual circuit +// VirtualCircuitRedundancyMetadata This resource provides redundancy level details for the virtual circuit. For more about redundancy, see FastConnect Redundancy Best Practices (https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnectresiliency.htm). type VirtualCircuitRedundancyMetadata struct { - // The configured redundancy level of the virtual circuit + // The configured redundancy level of the virtual circuit. ConfiguredRedundancyLevel VirtualCircuitRedundancyMetadataConfiguredRedundancyLevelEnum `mandatory:"false" json:"configuredRedundancyLevel,omitempty"` - // IPV4 BGP redundancy status indicates if the configured redundancy level is met + // Indicates if the configured level is met for IPv4 BGP redundancy. Ipv4bgpSessionRedundancyStatus VirtualCircuitRedundancyMetadataIpv4bgpSessionRedundancyStatusEnum `mandatory:"false" json:"ipv4bgpSessionRedundancyStatus,omitempty"` - // IPV6 BGP redundancy status indicates if the configured redundancy level is met + // Indicates if the configured level is met for IPv6 BGP redundancy. Ipv6bgpSessionRedundancyStatus VirtualCircuitRedundancyMetadataIpv6bgpSessionRedundancyStatusEnum `mandatory:"false" json:"ipv6bgpSessionRedundancyStatus,omitempty"` } @@ -54,7 +54,7 @@ func (m VirtualCircuitRedundancyMetadata) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Ipv6bgpSessionRedundancyStatus: %s. Supported values are: %s.", m.Ipv6bgpSessionRedundancyStatus, strings.Join(GetVirtualCircuitRedundancyMetadataIpv6bgpSessionRedundancyStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vlan.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vlan.go index d9cf98d1d9..9ec9fd391f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vlan.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vlan.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,16 +36,16 @@ type Vlan struct { // Example: `192.168.1.0/24` CidrBlock *string `mandatory:"true" json:"cidrBlock"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VLAN. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VLAN. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The VLAN's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The VLAN's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The VLAN's current state. LifecycleState VlanLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the VLAN is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the VLAN is in. VcnId *string `mandatory:"true" json:"vcnId"` // The VLAN's availability domain. This attribute will be null if this is a regional VLAN @@ -54,7 +54,7 @@ type Vlan struct { AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -63,7 +63,7 @@ type Vlan struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -77,7 +77,7 @@ type Vlan struct { // Example: `100` VlanTag *int `mandatory:"false" json:"vlanTag"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the VLAN uses. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the VLAN uses. RouteTableId *string `mandatory:"false" json:"routeTableId"` // The date and time the VLAN was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339). @@ -99,7 +99,7 @@ func (m Vlan) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go index 08d4c58ba7..2b740d4f11 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,11 +26,11 @@ import ( // through that subnet. Each instance has a *primary VNIC* that is automatically // created and attached during launch. You can add *secondary VNICs* to an // instance after it's launched. For more information, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). +// Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). // Each VNIC has a *primary private IP* that is automatically assigned during launch. // You can add *secondary private IPs* to a VNIC after it's created. For more // information, see CreatePrivateIp and -// IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). +// IP Addresses (https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // // If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs // that reside in a VLAN instead of a subnet. These VNICs have other differences, which @@ -38,17 +38,17 @@ import ( // Also see Vlan. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type Vnic struct { // The VNIC's availability domain. // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VNIC. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. Id *string `mandatory:"true" json:"id"` // The current state of the VNIC. @@ -59,7 +59,7 @@ type Vnic struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -67,12 +67,14 @@ type Vnic struct { // Avoid entering confidential information. DisplayName *string `mandatory:"false" json:"displayName"` - // Security Attributes for this resource. This is unique to ZPR, and helps identify which resources are allowed to be accessed by what permission controls. + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. // Example: `{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -83,7 +85,7 @@ type Vnic struct { // RFC 952 (https://tools.ietf.org/html/rfc952) and // RFC 1123 (https://tools.ietf.org/html/rfc1123). // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `bminstance1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` @@ -107,7 +109,7 @@ type Vnic struct { NsgIds []string `mandatory:"false" json:"nsgIds"` // If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of - // belonging to a subnet), the `vlanId` is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN the VNIC is in. See + // belonging to a subnet), the `vlanId` is the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN the VNIC is in. See // Vlan. If the VNIC is instead in a subnet, `subnetId` has a value. VlanId *string `mandatory:"false" json:"vlanId"` @@ -122,7 +124,7 @@ type Vnic struct { // Whether the source/destination check is disabled on the VNIC. // Defaults to `false`, which means the check is performed. For information // about why you would skip the source/destination check, see - // Using a Private IP as a Route Target (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). + // Using a Private IP as a Route Target (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). // // If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of // belonging to a subnet), the `skipSourceDestCheck` attribute is `true`. @@ -130,12 +132,16 @@ type Vnic struct { // Example: `true` SkipSourceDestCheck *bool `mandatory:"false" json:"skipSourceDestCheck"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. SubnetId *string `mandatory:"false" json:"subnetId"` // List of IPv6 addresses assigned to the VNIC. // Example: `2001:DB8::` Ipv6Addresses []string `mandatory:"false" json:"ipv6Addresses"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the IP address or VNIC will use. For more information, see + // Per-resource Routing (https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing). + RouteTableId *string `mandatory:"false" json:"routeTableId"` } func (m Vnic) String() string { @@ -152,7 +158,7 @@ func (m Vnic) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go index 029db0177b..2a52d8cfe5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,7 +22,7 @@ import ( ) // VnicAttachment Represents an attachment between a VNIC and an instance. For more information, see -// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). +// Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type VnicAttachment struct { @@ -56,7 +56,7 @@ type VnicAttachment struct { // Certain bare metal instance shapes have two active physical NICs (0 and 1). If // you add a secondary VNIC to one of these instances, you can specify which NIC // the VNIC will use. For more information, see - // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). + // Virtual Network Interface Cards (VNICs) (https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). NicIndex *int `mandatory:"false" json:"nicIndex"` // The OCID of the subnet to create the VNIC in. @@ -94,7 +94,7 @@ func (m VnicAttachment) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go index 7f6dba0dac..ad19759469 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -24,10 +24,10 @@ import ( // Volume A detachable block volume device that allows you to dynamically expand // the storage capacity of an instance. For more information, see -// Overview of Cloud Volume Storage (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). +// Overview of Cloud Volume Storage (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type Volume struct { @@ -57,12 +57,12 @@ type Volume struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -78,7 +78,7 @@ type Volume struct { // The number of volume performance units (VPUs) that will be applied to this volume per GB, // representing the Block Volume service's elastic performance options. - // See Block Volume Performance Levels (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. + // See Block Volume Performance Levels (https://docs.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. // Allowed values: // * `0`: Represents Lower Cost option. // * `10`: Represents Balanced option. @@ -110,6 +110,10 @@ type Volume struct { // The list of autotune policies enabled for this volume. AutotunePolicies []AutotunePolicy `mandatory:"false" json:"autotunePolicies"` + + // When set to true, enables SCSI Persistent Reservation (SCSI PR) for the volume. For more information, see + // Persistent Reservations (https://docs.oracle.com/iaas/Content/Block/Concepts/persistent-reservations.htm). + IsReservationsEnabled *bool `mandatory:"false" json:"isReservationsEnabled"` } func (m Volume) String() string { @@ -126,7 +130,7 @@ func (m Volume) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -148,6 +152,7 @@ func (m *Volume) UnmarshalJSON(data []byte) (e error) { AutoTunedVpusPerGB *int64 `json:"autoTunedVpusPerGB"` BlockVolumeReplicas []BlockVolumeReplicaInfo `json:"blockVolumeReplicas"` AutotunePolicies []autotunepolicy `json:"autotunePolicies"` + IsReservationsEnabled *bool `json:"isReservationsEnabled"` AvailabilityDomain *string `json:"availabilityDomain"` CompartmentId *string `json:"compartmentId"` DisplayName *string `json:"displayName"` @@ -208,6 +213,8 @@ func (m *Volume) UnmarshalJSON(data []byte) (e error) { m.AutotunePolicies[i] = nil } } + m.IsReservationsEnabled = model.IsReservationsEnabled + m.AvailabilityDomain = model.AvailabilityDomain m.CompartmentId = model.CompartmentId diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go index 9039ac97ec..b28b574a85 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,7 +26,7 @@ import ( // For specific details about iSCSI attachments, see // IScsiVolumeAttachment. // For general information about volume attachments, see -// Overview of Block Volume Storage (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). +// Overview of Block Volume Storage (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type VolumeAttachment interface { @@ -158,7 +158,7 @@ func (m *volumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{}, e err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for VolumeAttachment: %s.", m.AttachmentType) + common.Logf("Received unsupported enum value for VolumeAttachment: %s.", m.AttachmentType) return *m, nil } } @@ -255,7 +255,7 @@ func (m volumeattachment) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IscsiLoginState: %s. Supported values are: %s.", m.IscsiLoginState, strings.Join(GetVolumeAttachmentIscsiLoginStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go index 3feab46ce1..2be73b4a80 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,10 +23,10 @@ import ( // VolumeBackup A point-in-time copy of a volume that can then be used to create a new block volume // or recover a block volume. For more information, see -// Overview of Cloud Volume Storage (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm). +// Overview of Cloud Volume Storage (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type VolumeBackup struct { @@ -52,7 +52,7 @@ type VolumeBackup struct { Type VolumeBackupTypeEnum `mandatory:"true" json:"type"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -68,14 +68,14 @@ type VolumeBackup struct { ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // The OCID of the Vault service key which is the master encryption key for the volume backup. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` // The size of the volume, in GBs. @@ -127,7 +127,7 @@ func (m VolumeBackup) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetVolumeBackupSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go index 8ff001fdb2..271e7f0c09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,19 +42,19 @@ type VolumeBackupPolicy struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The paired destination region for copying scheduled backups to. Example `us-ashburn-1`. - // See Region Pairs (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions. + // See Region Pairs (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#RegionPairs) for details about paired regions. DestinationRegion *string `mandatory:"false" json:"destinationRegion"` // The OCID of the compartment that contains the volume backup. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -70,7 +70,7 @@ func (m VolumeBackupPolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go index 871de28e4f..8273da2c95 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_policy_assignment.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( // VolumeBackupPolicyAssignment Specifies the volume that the volume backup policy is assigned to. // For more information about Oracle defined backup policies and custom backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// see Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). type VolumeBackupPolicyAssignment struct { // The OCID of the volume the policy has been assigned to. @@ -41,8 +41,8 @@ type VolumeBackupPolicyAssignment struct { // The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup's encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrcKmsKeyId *string `mandatory:"false" json:"xrcKmsKeyId"` } @@ -57,7 +57,7 @@ func (m VolumeBackupPolicyAssignment) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go index b65ec72668..d700d06125 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_backup_schedule.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,7 +22,7 @@ import ( ) // VolumeBackupSchedule Defines the backup frequency and retention period for a volume backup policy. For more information, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). +// see Policy-Based Backups (https://docs.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). type VolumeBackupSchedule struct { // The type of volume backup to create. @@ -102,7 +102,7 @@ func (m VolumeBackupSchedule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TimeZone: %s. Supported values are: %s.", m.TimeZone, strings.Join(GetVolumeBackupScheduleTimeZoneEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go index c410b6b1eb..a4eb3af816 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -23,7 +23,7 @@ import ( ) // VolumeGroup Specifies a volume group which is a collection of -// volumes. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// volumes. For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type VolumeGroup struct { @@ -54,12 +54,12 @@ type VolumeGroup struct { VolumeIds []string `mandatory:"true" json:"volumeIds"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -90,7 +90,7 @@ func (m VolumeGroup) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go index 11ecfa2172..235ededd7c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_backup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,10 +22,10 @@ import ( ) // VolumeGroupBackup A point-in-time copy of a volume group that can then be used to create a new volume group -// or restore a volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). +// or restore a volume group. For more information, see Volume Groups (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type VolumeGroupBackup struct { @@ -54,7 +54,7 @@ type VolumeGroupBackup struct { VolumeBackupIds []string `mandatory:"true" json:"volumeBackupIds"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -66,7 +66,7 @@ type VolumeGroupBackup struct { ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -120,7 +120,7 @@ func (m VolumeGroupBackup) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SourceType: %s. Supported values are: %s.", m.SourceType, strings.Join(GetVolumeGroupBackupSourceTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go index a0e0b6ef6b..806c9339d2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -22,10 +22,10 @@ import ( ) // VolumeGroupReplica An asynchronous replica of a volume group that can then be used to create a new volume group -// or recover a volume group. For more information, see Volume Group Replication (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). +// or recover a volume group. For more information, see Volume Group Replication (https://docs.oracle.com/iaas/Content/Block/Concepts/volumegroupreplication.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you // supply string values using the API. type VolumeGroupReplica struct { @@ -63,12 +63,12 @@ type VolumeGroupReplica struct { TimeLastSynced *common.SDKTime `mandatory:"true" json:"timeLastSynced"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } @@ -87,7 +87,7 @@ func (m VolumeGroupReplica) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go index 7dfae065a9..8b363bf8be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -34,8 +34,8 @@ type VolumeGroupReplicaDetails struct { // The OCID of the Vault service key which is the master encryption key for the cross region volume group's replicas, which will be used in the destination region to encrypt the volume group's replicas encryption keys. // For more information about the Vault service and encryption keys, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). XrrKmsKeyId *string `mandatory:"false" json:"xrrKmsKeyId"` } @@ -50,7 +50,7 @@ func (m VolumeGroupReplicaDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go index 2d5a8cdae2..eb96d0521a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_replica_info.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -36,8 +36,8 @@ type VolumeGroupReplicaInfo struct { AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` // The OCID of the Vault service key to assign as the master encryption key for the block volume replica, see - // Overview of Vault service (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and - // Using Keys (https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). + // Overview of Vault service (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and + // Using Keys (https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` } @@ -52,7 +52,7 @@ func (m VolumeGroupReplicaInfo) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go index 9b7781efd9..c323547ce1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -73,7 +73,7 @@ func (m *volumegroupsourcedetails) UnmarshalPolymorphicJSON(data []byte) (interf err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for VolumeGroupSourceDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for VolumeGroupSourceDetails: %s.", m.Type) return *m, nil } } @@ -89,7 +89,7 @@ func (m volumegroupsourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go index fabffd7f7c..794f8e11a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m VolumeGroupSourceFromVolumeGroupBackupDetails) ValidateEnumValue() (bool errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go index 6c255c5b9a..3b82a94c1b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m VolumeGroupSourceFromVolumeGroupDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go index 02e1b7b4e8..a59f94d917 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volume_group_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m VolumeGroupSourceFromVolumeGroupReplicaDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go index 26e57157b1..5cbcc1254e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group_source_from_volumes_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m VolumeGroupSourceFromVolumesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go index e76bc3bd59..baccbfa216 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_kms_key.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -39,7 +39,7 @@ func (m VolumeKmsKey) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go index 8d8538519a..30097005d5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -75,7 +75,7 @@ func (m *volumesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interface{} err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for VolumeSourceDetails: %s.", m.Type) + common.Logf("Received unsupported enum value for VolumeSourceDetails: %s.", m.Type) return *m, nil } } @@ -91,7 +91,7 @@ func (m volumesourcedetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go index e7ebaba722..65881489d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_block_volume_replica_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -42,7 +42,7 @@ func (m VolumeSourceFromBlockVolumeReplicaDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_delta_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_delta_details.go index b3223d6369..323360943c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_delta_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_delta_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -46,7 +46,7 @@ func (m VolumeSourceFromVolumeBackupDeltaDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go index a6bb9918ba..ae21ed6838 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_backup_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m VolumeSourceFromVolumeBackupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go index 0fbc79284a..efa7821f9e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_source_from_volume_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -40,7 +40,7 @@ func (m VolumeSourceFromVolumeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap.go index 1a49da101c..3193ec8809 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -26,26 +26,26 @@ import ( // A *CaptureFilter* contains a set of *CaptureFilterRuleDetails* governing what traffic a VTAP mirrors. type Vtap struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Vtap` resource. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the `Vtap` resource. VcnId *string `mandatory:"true" json:"vcnId"` - // The VTAP's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The VTAP's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). Id *string `mandatory:"true" json:"id"` // The VTAP's administrative lifecycle state. LifecycleState VtapLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. SourceId *string `mandatory:"true" json:"sourceId"` - // The capture filter's Oracle ID (OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). + // The capture filter's Oracle ID (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). CaptureFilterId *string `mandatory:"true" json:"captureFilterId"` // Defined tags for this resource. Each key is predefined and scoped to a - // namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -54,7 +54,7 @@ type Vtap struct { DisplayName *string `mandatory:"false" json:"displayName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no - // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + // predefined name, type, or namespace. For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` @@ -65,7 +65,7 @@ type Vtap struct { // Example: `2020-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. TargetId *string `mandatory:"false" json:"targetId"` // The IP address of the destination resource where mirrored packets are sent. @@ -97,7 +97,7 @@ type Vtap struct { // The IP Address of the source private endpoint. SourcePrivateEndpointIp *string `mandatory:"false" json:"sourcePrivateEndpointIp"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. SourcePrivateEndpointSubnetId *string `mandatory:"false" json:"sourcePrivateEndpointSubnetId"` } @@ -130,7 +130,7 @@ func (m Vtap) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TargetType: %s. Supported values are: %s.", m.TargetType, strings.Join(GetVtapTargetTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go index 7047ac7086..bd1464046e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vtap_capture_filter_rule_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -6,11 +6,11 @@ // // Use the Core Services API to manage resources such as virtual cloud networks (VCNs), // compute instances, and block storage volumes. For more information, see the console -// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm), -// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and -// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +// documentation for the Networking (https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +// Compute (https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +// Block Volume (https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. // The required permissions are documented in the -// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. +// Details for the Core Services (https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. // package core @@ -67,7 +67,7 @@ func (m VtapCaptureFilterRuleDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for RuleAction: %s. Supported values are: %s.", m.RuleAction, strings.Join(GetVtapCaptureFilterRuleDetailsRuleActionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go index 6041373577..226703efd3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/withdraw_byoip_range_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRangeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRangeRequest. type WithdrawByoipRangeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource containing the BYOIP CIDR block. ByoipRangeId *string `mandatory:"true" contributesTo:"path" name:"byoipRangeId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request WithdrawByoipRangeRequest) RetryPolicy() *common.RetryPolicy { func (request WithdrawByoipRangeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_export_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_export_lock_request_response.go index 42c4cd60dd..b2f0e6f03d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_export_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_export_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddExportLock.go.html to see an example of how to use AddExportLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddExportLock.go.html to see an example of how to use AddExportLockRequest. type AddExportLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export. ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddExportLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddExportLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_file_system_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_file_system_lock_request_response.go index 6de74b469c..c454ce3f19 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_file_system_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_file_system_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFileSystemLock.go.html to see an example of how to use AddFileSystemLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFileSystemLock.go.html to see an example of how to use AddFileSystemLockRequest. type AddFileSystemLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddFileSystemLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddFileSystemLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_filesystem_snapshot_policy_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_filesystem_snapshot_policy_lock_request_response.go index f659174507..514419fa6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_filesystem_snapshot_policy_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_filesystem_snapshot_policy_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFilesystemSnapshotPolicyLock.go.html to see an example of how to use AddFilesystemSnapshotPolicyLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFilesystemSnapshotPolicyLock.go.html to see an example of how to use AddFilesystemSnapshotPolicyLockRequest. type AddFilesystemSnapshotPolicyLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddFilesystemSnapshotPolicyLockRequest) RetryPolicy() *common.Retr func (request AddFilesystemSnapshotPolicyLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_mount_target_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_mount_target_lock_request_response.go index 2077500374..69f0d56de2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_mount_target_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_mount_target_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddMountTargetLock.go.html to see an example of how to use AddMountTargetLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddMountTargetLock.go.html to see an example of how to use AddMountTargetLockRequest. type AddMountTargetLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddMountTargetLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddMountTargetLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_outbound_connector_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_outbound_connector_lock_request_response.go index e046726c21..2d39366fec 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_outbound_connector_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_outbound_connector_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddOutboundConnectorLock.go.html to see an example of how to use AddOutboundConnectorLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddOutboundConnectorLock.go.html to see an example of how to use AddOutboundConnectorLockRequest. type AddOutboundConnectorLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddOutboundConnectorLockRequest) RetryPolicy() *common.RetryPolicy func (request AddOutboundConnectorLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_replication_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_replication_lock_request_response.go index ba5ed04295..1cd0f1aae4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_replication_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_replication_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddReplicationLock.go.html to see an example of how to use AddReplicationLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddReplicationLock.go.html to see an example of how to use AddReplicationLockRequest. type AddReplicationLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddReplicationLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddReplicationLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_snapshot_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_snapshot_lock_request_response.go index b77cf23704..e8162ff530 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_snapshot_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/add_snapshot_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddSnapshotLock.go.html to see an example of how to use AddSnapshotLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddSnapshotLock.go.html to see an example of how to use AddSnapshotLockRequest. type AddSnapshotLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"` // The details to be updated for the AddLock. @@ -72,7 +72,7 @@ func (request AddSnapshotLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddSnapshotLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/cancel_downgrade_shape_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/cancel_downgrade_shape_mount_target_request_response.go index dba810d901..4a26e80f0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/cancel_downgrade_shape_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/cancel_downgrade_shape_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CancelDowngradeShapeMountTarget.go.html to see an example of how to use CancelDowngradeShapeMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CancelDowngradeShapeMountTarget.go.html to see an example of how to use CancelDowngradeShapeMountTargetRequest. type CancelDowngradeShapeMountTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -69,7 +69,7 @@ func (request CancelDowngradeShapeMountTargetRequest) RetryPolicy() *common.Retr func (request CancelDowngradeShapeMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_details.go index bd95c8ddbd..42911af86b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ChangeFileSystemCompartmentDetails Details for changing the compartment. type ChangeFileSystemCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the file system to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the file system to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -34,7 +34,7 @@ func (m ChangeFileSystemCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_request_response.go index 6cbea7b402..d0d6036661 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_file_system_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.go.html to see an example of how to use ChangeFileSystemCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.go.html to see an example of how to use ChangeFileSystemCompartmentRequest. type ChangeFileSystemCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // Details for changing the compartment. @@ -75,7 +75,7 @@ func (request ChangeFileSystemCompartmentRequest) RetryPolicy() *common.RetryPol func (request ChangeFileSystemCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_details.go index 4d5ba3fa6f..f603423d9b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ChangeFilesystemSnapshotPolicyCompartmentDetails Details for changing the compartment of a file system snapshot policy. type ChangeFilesystemSnapshotPolicyCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the file system snapshot policy to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the file system snapshot policy to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -34,7 +34,7 @@ func (m ChangeFilesystemSnapshotPolicyCompartmentDetails) ValidateEnumValue() (b errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_request_response.go index d85de64c02..147bfdcc46 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_filesystem_snapshot_policy_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.go.html to see an example of how to use ChangeFilesystemSnapshotPolicyCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.go.html to see an example of how to use ChangeFilesystemSnapshotPolicyCompartmentRequest. type ChangeFilesystemSnapshotPolicyCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // Details for changing the compartment of a file system snapshot policy. @@ -75,7 +75,7 @@ func (request ChangeFilesystemSnapshotPolicyCompartmentRequest) RetryPolicy() *c func (request ChangeFilesystemSnapshotPolicyCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_details.go index 09b0ad36cb..5b77095186 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ChangeMountTargetCompartmentDetails Details for changing the compartment. type ChangeMountTargetCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the mount target to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the mount target to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -34,7 +34,7 @@ func (m ChangeMountTargetCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_request_response.go index e0e735268a..f41aba5378 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_mount_target_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.go.html to see an example of how to use ChangeMountTargetCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.go.html to see an example of how to use ChangeMountTargetCompartmentRequest. type ChangeMountTargetCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // Details for changing the compartment. @@ -75,7 +75,7 @@ func (request ChangeMountTargetCompartmentRequest) RetryPolicy() *common.RetryPo func (request ChangeMountTargetCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_details.go index 2f3623b1f6..c1e3416613 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ChangeOutboundConnectorCompartmentDetails Details for changing the compartment of the outbound connector. type ChangeOutboundConnectorCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment // to move the outbound connector to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -35,7 +35,7 @@ func (m ChangeOutboundConnectorCompartmentDetails) ValidateEnumValue() (bool, er errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_request_response.go index 8d70d5087e..1de0415b85 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_outbound_connector_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.go.html to see an example of how to use ChangeOutboundConnectorCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.go.html to see an example of how to use ChangeOutboundConnectorCompartmentRequest. type ChangeOutboundConnectorCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"` // Details for changing the compartment. @@ -75,7 +75,7 @@ func (request ChangeOutboundConnectorCompartmentRequest) RetryPolicy() *common.R func (request ChangeOutboundConnectorCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_details.go index 21d076c799..933eeec54b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ChangeReplicationCompartmentDetails Details for changing the compartment of both replication and replication target. type ChangeReplicationCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to move the replication to. Also changes the replication target's compartment in the target region. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the replication to. Also changes the replication target's compartment in the target region. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -34,7 +34,7 @@ func (m ChangeReplicationCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_request_response.go index f9410eda97..8730db5cb8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/change_replication_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeReplicationCompartment.go.html to see an example of how to use ChangeReplicationCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeReplicationCompartment.go.html to see an example of how to use ChangeReplicationCompartmentRequest. type ChangeReplicationCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"` // Details for changing the compartment. @@ -75,7 +75,7 @@ func (request ChangeReplicationCompartmentRequest) RetryPolicy() *common.RetryPo func (request ChangeReplicationCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/client_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/client_options.go index 3728815677..c39cd07317 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/client_options.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/client_options.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -88,7 +88,7 @@ func (m ClientOptions) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_details.go index dcdbfd2f3b..3fb0fd2cd8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,10 +19,10 @@ import ( // CreateExportDetails Details for creating the export. type CreateExportDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. ExportSetId *string `mandatory:"true" json:"exportSetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. FileSystemId *string `mandatory:"true" json:"fileSystemId"` // Path used to access the associated file system. @@ -76,7 +76,7 @@ func (m CreateExportDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_request_response.go index c22789b354..65ffcc5eae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_export_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateExport.go.html to see an example of how to use CreateExportRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateExport.go.html to see an example of how to use CreateExportRequest. type CreateExportRequest struct { // Details for creating a new export. @@ -69,7 +69,7 @@ func (request CreateExportRequest) RetryPolicy() *common.RetryPolicy { func (request CreateExportRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_details.go index bd5a52473d..8a87a8c869 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -23,7 +23,7 @@ type CreateFileSystemDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to create the file system in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the file system in. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -33,23 +33,23 @@ type CreateFileSystemDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Locks associated with this resource. Locks []ResourceLock `mandatory:"false" json:"locks"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). SourceSnapshotId *string `mandatory:"false" json:"sourceSnapshotId"` // Specifies whether the clone file system is attached to its parent file system. @@ -57,10 +57,13 @@ type CreateFileSystemDetails struct { // specified by sourceSnapshotId, else will remain attached to its parent. CloneAttachStatus CreateFileSystemDetailsCloneAttachStatusEnum `mandatory:"false" json:"cloneAttachStatus,omitempty"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which // controls the frequency of snapshot creation and retention period of the taken snapshots. // May be unset as a blank value. FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"` + + // Specifies the enforcement of quota rules on the file system. + AreQuotaRulesEnabled *bool `mandatory:"false" json:"areQuotaRulesEnabled"` } func (m CreateFileSystemDetails) String() string { @@ -77,7 +80,7 @@ func (m CreateFileSystemDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CloneAttachStatus: %s. Supported values are: %s.", m.CloneAttachStatus, strings.Join(GetCreateFileSystemDetailsCloneAttachStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_request_response.go index f327600733..efe8c78c5a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFileSystem.go.html to see an example of how to use CreateFileSystemRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFileSystem.go.html to see an example of how to use CreateFileSystemRequest. type CreateFileSystemRequest struct { // Details for creating a new file system. @@ -69,7 +69,7 @@ func (request CreateFileSystemRequest) RetryPolicy() *common.RetryPolicy { func (request CreateFileSystemRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_details.go index 829b2f0e47..7112d14c40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -23,7 +23,7 @@ type CreateFilesystemSnapshotPolicyDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -45,12 +45,12 @@ type CreateFilesystemSnapshotPolicyDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -69,7 +69,7 @@ func (m CreateFilesystemSnapshotPolicyDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_request_response.go index f3ccc131d5..dc9703251d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_filesystem_snapshot_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.go.html to see an example of how to use CreateFilesystemSnapshotPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.go.html to see an example of how to use CreateFilesystemSnapshotPolicyRequest. type CreateFilesystemSnapshotPolicyRequest struct { // Details for creating a new file system snapshot policy. @@ -69,7 +69,7 @@ func (request CreateFilesystemSnapshotPolicyRequest) RetryPolicy() *common.Retry func (request CreateFilesystemSnapshotPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_kerberos_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_kerberos_details.go index c770444f75..b3614312bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_kerberos_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_kerberos_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -22,7 +22,7 @@ type CreateKerberosDetails struct { // The Kerberos realm that the mount target will join. KerberosRealm *string `mandatory:"true" json:"kerberosRealm"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab Secret in the Vault. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab Secret in the Vault. KeyTabSecretId *string `mandatory:"false" json:"keyTabSecretId"` // Version of the keytab Secret in the Vault to use. @@ -46,7 +46,7 @@ func (m CreateKerberosDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_bind_account_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_bind_account_details.go index 9198fc3ebd..fe982ae283 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_bind_account_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_bind_account_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -25,7 +25,7 @@ type CreateLdapBindAccountDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Array of server endpoints to use when connecting with the LDAP bind account. @@ -41,19 +41,19 @@ type CreateLdapBindAccountDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Locks associated with this resource. Locks []ResourceLock `mandatory:"false" json:"locks"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. PasswordSecretId *string `mandatory:"false" json:"passwordSecretId"` // Version of the password secret in the Vault to use. @@ -101,7 +101,7 @@ func (m CreateLdapBindAccountDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_idmap_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_idmap_details.go index c99f5b1c5e..6b30a8bfdc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_idmap_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_ldap_idmap_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -39,10 +39,10 @@ type CreateLdapIdmapDetails struct { // Example: `CN=Group,DC=domain,DC=com` GroupSearchBase *string `mandatory:"false" json:"groupSearchBase"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server. OutboundConnector1Id *string `mandatory:"false" json:"outboundConnector1Id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server. OutboundConnector2Id *string `mandatory:"false" json:"outboundConnector2Id"` } @@ -60,7 +60,7 @@ func (m CreateLdapIdmapDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SchemaType: %s. Supported values are: %s.", m.SchemaType, strings.Join(GetCreateLdapIdmapDetailsSchemaTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -70,15 +70,18 @@ type CreateLdapIdmapDetailsSchemaTypeEnum string // Set of constants representing the allowable values for CreateLdapIdmapDetailsSchemaTypeEnum const ( - CreateLdapIdmapDetailsSchemaTypeRfc2307 CreateLdapIdmapDetailsSchemaTypeEnum = "RFC2307" + CreateLdapIdmapDetailsSchemaTypeRfc2307 CreateLdapIdmapDetailsSchemaTypeEnum = "RFC2307" + CreateLdapIdmapDetailsSchemaTypeRfc2307bis CreateLdapIdmapDetailsSchemaTypeEnum = "RFC2307BIS" ) var mappingCreateLdapIdmapDetailsSchemaTypeEnum = map[string]CreateLdapIdmapDetailsSchemaTypeEnum{ - "RFC2307": CreateLdapIdmapDetailsSchemaTypeRfc2307, + "RFC2307": CreateLdapIdmapDetailsSchemaTypeRfc2307, + "RFC2307BIS": CreateLdapIdmapDetailsSchemaTypeRfc2307bis, } var mappingCreateLdapIdmapDetailsSchemaTypeEnumLowerCase = map[string]CreateLdapIdmapDetailsSchemaTypeEnum{ - "rfc2307": CreateLdapIdmapDetailsSchemaTypeRfc2307, + "rfc2307": CreateLdapIdmapDetailsSchemaTypeRfc2307, + "rfc2307bis": CreateLdapIdmapDetailsSchemaTypeRfc2307bis, } // GetCreateLdapIdmapDetailsSchemaTypeEnumValues Enumerates the set of values for CreateLdapIdmapDetailsSchemaTypeEnum @@ -94,6 +97,7 @@ func GetCreateLdapIdmapDetailsSchemaTypeEnumValues() []CreateLdapIdmapDetailsSch func GetCreateLdapIdmapDetailsSchemaTypeEnumStringValues() []string { return []string{ "RFC2307", + "RFC2307BIS", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_details.go index 87ef6b2816..7888f08309 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -23,10 +23,10 @@ type CreateMountTargetDetails struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to create the mount target. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. SubnetId *string `mandatory:"true" json:"subnetId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -41,15 +41,16 @@ type CreateMountTargetDetails struct { // Must be unique across all VNICs in the subnet and comply // with RFC 952 (https://tools.ietf.org/html/rfc952) // and RFC 1123 (https://tools.ietf.org/html/rfc1123). - // Note: This attribute value is stored in the PrivateIp (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, + // Note: + // This attribute value is stored in the PrivateIp (https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, // not in the `mountTarget` resource. // To update the `hostnameLabel`, use `GetMountTarget` to obtain the - // OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target's + // OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's // private IPs (`privateIpIds`). Then, you can use - // UpdatePrivateIp (https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) + // UpdatePrivateIp (https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) // to update the `hostnameLabel` value. // For more information, see - // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm). + // DNS in Your Virtual Cloud Network (https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). // Example: `files-1` HostnameLabel *string `mandatory:"false" json:"hostnameLabel"` @@ -64,25 +65,31 @@ type CreateMountTargetDetails struct { LdapIdmap *CreateLdapIdmapDetails `mandatory:"false" json:"ldapIdmap"` - // A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target. + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this mount target. // A maximum of 5 is allowed. // Setting this to an empty array after the list is created removes the mount target from all NSGs. - // For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). NsgIds []string `mandatory:"false" json:"nsgIds"` Kerberos *CreateKerberosDetails `mandatory:"false" json:"kerberos"` // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` + // Locks associated with this resource. Locks []ResourceLock `mandatory:"false" json:"locks"` @@ -105,7 +112,7 @@ func (m CreateMountTargetDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IdmapType: %s. Supported values are: %s.", m.IdmapType, strings.Join(GetMountTargetIdmapTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_request_response.go index a35cd4dffe..d00447ef62 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateMountTarget.go.html to see an example of how to use CreateMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateMountTarget.go.html to see an example of how to use CreateMountTargetRequest. type CreateMountTargetRequest struct { // Details for creating a new mount target. @@ -72,7 +72,7 @@ func (request CreateMountTargetRequest) RetryPolicy() *common.RetryPolicy { func (request CreateMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go index 60a04b8b1d..99ea122415 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -25,7 +25,7 @@ type CreateOutboundConnectorDetails interface { // Example: `Uocm:PHX-AD-1` GetAvailabilityDomain() *string - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. GetCompartmentId() *string // A user-friendly name. It does not have to be unique, and it is changeable. @@ -35,12 +35,12 @@ type CreateOutboundConnectorDetails interface { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} @@ -95,7 +95,7 @@ func (m *createoutboundconnectordetails) UnmarshalPolymorphicJSON(data []byte) ( err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for CreateOutboundConnectorDetails: %s.", m.ConnectorType) + common.Logf("Received unsupported enum value for CreateOutboundConnectorDetails: %s.", m.ConnectorType) return *m, nil } } @@ -141,7 +141,7 @@ func (m createoutboundconnectordetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_request_response.go index 1d07f2614e..f45519fd80 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateOutboundConnector.go.html to see an example of how to use CreateOutboundConnectorRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateOutboundConnector.go.html to see an example of how to use CreateOutboundConnectorRequest. type CreateOutboundConnectorRequest struct { // Details for creating a new outbound connector. @@ -69,7 +69,7 @@ func (request CreateOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy func (request CreateOutboundConnectorRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_details.go new file mode 100644 index 0000000000..5efeef22b4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_details.go @@ -0,0 +1,115 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage API +// +// Use the File Storage service API to manage file systems, mount targets, and snapshots. +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// CreateQuotaRuleDetails Details for creating a quota rule in the file system. +type CreateQuotaRuleDetails struct { + + // The type of the owner of this quota rule and usage. + PrincipalType CreateQuotaRuleDetailsPrincipalTypeEnum `mandatory:"true" json:"principalType"` + + // Whether the quota rule will be enforced. + // If `isHardQuota` is true, the quota rule is enforced so that the write is blocked if usage + // exceeds the hard quota limit. + // If `isHardQuota` is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated. + IsHardQuota *bool `mandatory:"true" json:"isHardQuota"` + + // The value of the quota rule in gigabytes. + QuotaLimitInGigabytes *int `mandatory:"true" json:"quotaLimitInGigabytes"` + + // An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to + // identify a user or group to manage access control. + PrincipalId *int `mandatory:"false" json:"principalId"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `UserXYZ's quota` + DisplayName *string `mandatory:"false" json:"displayName"` +} + +func (m CreateQuotaRuleDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m CreateQuotaRuleDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingCreateQuotaRuleDetailsPrincipalTypeEnum(string(m.PrincipalType)); !ok && m.PrincipalType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PrincipalType: %s. Supported values are: %s.", m.PrincipalType, strings.Join(GetCreateQuotaRuleDetailsPrincipalTypeEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateQuotaRuleDetailsPrincipalTypeEnum Enum with underlying type: string +type CreateQuotaRuleDetailsPrincipalTypeEnum string + +// Set of constants representing the allowable values for CreateQuotaRuleDetailsPrincipalTypeEnum +const ( + CreateQuotaRuleDetailsPrincipalTypeFileSystemLevel CreateQuotaRuleDetailsPrincipalTypeEnum = "FILE_SYSTEM_LEVEL" + CreateQuotaRuleDetailsPrincipalTypeDefaultGroup CreateQuotaRuleDetailsPrincipalTypeEnum = "DEFAULT_GROUP" + CreateQuotaRuleDetailsPrincipalTypeDefaultUser CreateQuotaRuleDetailsPrincipalTypeEnum = "DEFAULT_USER" + CreateQuotaRuleDetailsPrincipalTypeIndividualGroup CreateQuotaRuleDetailsPrincipalTypeEnum = "INDIVIDUAL_GROUP" + CreateQuotaRuleDetailsPrincipalTypeIndividualUser CreateQuotaRuleDetailsPrincipalTypeEnum = "INDIVIDUAL_USER" +) + +var mappingCreateQuotaRuleDetailsPrincipalTypeEnum = map[string]CreateQuotaRuleDetailsPrincipalTypeEnum{ + "FILE_SYSTEM_LEVEL": CreateQuotaRuleDetailsPrincipalTypeFileSystemLevel, + "DEFAULT_GROUP": CreateQuotaRuleDetailsPrincipalTypeDefaultGroup, + "DEFAULT_USER": CreateQuotaRuleDetailsPrincipalTypeDefaultUser, + "INDIVIDUAL_GROUP": CreateQuotaRuleDetailsPrincipalTypeIndividualGroup, + "INDIVIDUAL_USER": CreateQuotaRuleDetailsPrincipalTypeIndividualUser, +} + +var mappingCreateQuotaRuleDetailsPrincipalTypeEnumLowerCase = map[string]CreateQuotaRuleDetailsPrincipalTypeEnum{ + "file_system_level": CreateQuotaRuleDetailsPrincipalTypeFileSystemLevel, + "default_group": CreateQuotaRuleDetailsPrincipalTypeDefaultGroup, + "default_user": CreateQuotaRuleDetailsPrincipalTypeDefaultUser, + "individual_group": CreateQuotaRuleDetailsPrincipalTypeIndividualGroup, + "individual_user": CreateQuotaRuleDetailsPrincipalTypeIndividualUser, +} + +// GetCreateQuotaRuleDetailsPrincipalTypeEnumValues Enumerates the set of values for CreateQuotaRuleDetailsPrincipalTypeEnum +func GetCreateQuotaRuleDetailsPrincipalTypeEnumValues() []CreateQuotaRuleDetailsPrincipalTypeEnum { + values := make([]CreateQuotaRuleDetailsPrincipalTypeEnum, 0) + for _, v := range mappingCreateQuotaRuleDetailsPrincipalTypeEnum { + values = append(values, v) + } + return values +} + +// GetCreateQuotaRuleDetailsPrincipalTypeEnumStringValues Enumerates the set of values in String for CreateQuotaRuleDetailsPrincipalTypeEnum +func GetCreateQuotaRuleDetailsPrincipalTypeEnumStringValues() []string { + return []string{ + "FILE_SYSTEM_LEVEL", + "DEFAULT_GROUP", + "DEFAULT_USER", + "INDIVIDUAL_GROUP", + "INDIVIDUAL_USER", + } +} + +// GetMappingCreateQuotaRuleDetailsPrincipalTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingCreateQuotaRuleDetailsPrincipalTypeEnum(val string) (CreateQuotaRuleDetailsPrincipalTypeEnum, bool) { + enum, ok := mappingCreateQuotaRuleDetailsPrincipalTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_request_response.go new file mode 100644 index 0000000000..7b76d51795 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_quota_rule_request_response.go @@ -0,0 +1,112 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// CreateQuotaRuleRequest wrapper for the CreateQuotaRule operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateQuotaRule.go.html to see an example of how to use CreateQuotaRuleRequest. +type CreateQuotaRuleRequest struct { + + // Details for adding a new quota rule. + CreateQuotaRuleDetails `contributesTo:"body"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request CreateQuotaRuleRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request CreateQuotaRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request CreateQuotaRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request CreateQuotaRuleRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request CreateQuotaRuleRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// CreateQuotaRuleResponse wrapper for the CreateQuotaRule operation +type CreateQuotaRuleResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The QuotaRule instance + QuotaRule `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If + // you need to contact Oracle about a particular request, + // please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response CreateQuotaRuleResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response CreateQuotaRuleResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_details.go index 516114bf1f..2d92a3284a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,13 +19,13 @@ import ( // CreateReplicationDetails Details for creating the replication and replication target. type CreateReplicationDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. SourceId *string `mandatory:"true" json:"sourceId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the target file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. TargetId *string `mandatory:"true" json:"targetId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -39,12 +39,12 @@ type CreateReplicationDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -63,7 +63,7 @@ func (m CreateReplicationDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_request_response.go index 6dd6801030..169c7725a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_replication_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateReplication.go.html to see an example of how to use CreateReplicationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateReplication.go.html to see an example of how to use CreateReplicationRequest. type CreateReplicationRequest struct { // Details for creating a new replication. @@ -69,7 +69,7 @@ func (request CreateReplicationRequest) RetryPolicy() *common.RetryPolicy { func (request CreateReplicationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_details.go index b1529cdd41..af418a8302 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // CreateSnapshotDetails Details for creating the snapshot. type CreateSnapshotDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system to take a snapshot of. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system to take a snapshot of. FileSystemId *string `mandatory:"true" json:"fileSystemId"` // Name of the snapshot. This value is immutable. It must also be unique with respect @@ -34,12 +34,12 @@ type CreateSnapshotDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -58,7 +58,7 @@ func (m CreateSnapshotDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_request_response.go index cc78f4b4ee..00710012fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_snapshot_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateSnapshot.go.html to see an example of how to use CreateSnapshotRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateSnapshot.go.html to see an example of how to use CreateSnapshotRequest. type CreateSnapshotRequest struct { // Details for creating a new snapshot. @@ -69,7 +69,7 @@ func (request CreateSnapshotRequest) RetryPolicy() *common.RetryPolicy { func (request CreateSnapshotRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_export_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_export_request_response.go index cedba5807a..e5cc3b134f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_export_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_export_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteExport.go.html to see an example of how to use DeleteExportRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteExport.go.html to see an example of how to use DeleteExportRequest. type DeleteExportRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export. ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request DeleteExportRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteExportRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_file_system_request_response.go index 85293a1630..62aa1e706e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFileSystem.go.html to see an example of how to use DeleteFileSystemRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFileSystem.go.html to see an example of how to use DeleteFileSystemRequest. type DeleteFileSystemRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -76,7 +76,7 @@ func (request DeleteFileSystemRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteFileSystemRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_filesystem_snapshot_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_filesystem_snapshot_policy_request_response.go index 55ac5578a1..9b469a5928 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_filesystem_snapshot_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_filesystem_snapshot_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.go.html to see an example of how to use DeleteFilesystemSnapshotPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.go.html to see an example of how to use DeleteFilesystemSnapshotPolicyRequest. type DeleteFilesystemSnapshotPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request DeleteFilesystemSnapshotPolicyRequest) RetryPolicy() *common.Retry func (request DeleteFilesystemSnapshotPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_mount_target_request_response.go index 48fb9a77eb..24d97149da 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteMountTarget.go.html to see an example of how to use DeleteMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteMountTarget.go.html to see an example of how to use DeleteMountTargetRequest. type DeleteMountTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request DeleteMountTargetRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_outbound_connector_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_outbound_connector_request_response.go index 92327b0cd0..6f33a3c33e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_outbound_connector_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_outbound_connector_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteOutboundConnector.go.html to see an example of how to use DeleteOutboundConnectorRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteOutboundConnector.go.html to see an example of how to use DeleteOutboundConnectorRequest. type DeleteOutboundConnectorRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request DeleteOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy func (request DeleteOutboundConnectorRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_quota_rule_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_quota_rule_request_response.go new file mode 100644 index 0000000000..c3a367263b --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_quota_rule_request_response.go @@ -0,0 +1,99 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// DeleteQuotaRuleRequest wrapper for the DeleteQuotaRule operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteQuotaRule.go.html to see an example of how to use DeleteQuotaRuleRequest. +type DeleteQuotaRuleRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // The identifier of the quota rule. It is the base64 encoded string of the tuple . + QuotaRuleId *string `mandatory:"true" contributesTo:"path" name:"quotaRuleId"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request DeleteQuotaRuleRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request DeleteQuotaRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request DeleteQuotaRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request DeleteQuotaRuleRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request DeleteQuotaRuleRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// DeleteQuotaRuleResponse wrapper for the DeleteQuotaRule operation +type DeleteQuotaRuleResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If + // you need to contact Oracle about a particular request, + // please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response DeleteQuotaRuleResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response DeleteQuotaRuleResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_request_response.go index afe8e9c8d3..bf1709ec7d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplication.go.html to see an example of how to use DeleteReplicationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplication.go.html to see an example of how to use DeleteReplicationRequest. type DeleteReplicationRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -81,7 +81,7 @@ func (request DeleteReplicationRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DeleteMode: %s. Supported values are: %s.", request.DeleteMode, strings.Join(GetDeleteReplicationDeleteModeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_target_request_response.go index 16aa15b76c..39331ca4a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_replication_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplicationTarget.go.html to see an example of how to use DeleteReplicationTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplicationTarget.go.html to see an example of how to use DeleteReplicationTargetRequest. type DeleteReplicationTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication target. ReplicationTargetId *string `mandatory:"true" contributesTo:"path" name:"replicationTargetId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request DeleteReplicationTargetRequest) RetryPolicy() *common.RetryPolicy func (request DeleteReplicationTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_snapshot_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_snapshot_request_response.go index 3dcebf4e7e..38eddd6d79 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_snapshot_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/delete_snapshot_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteSnapshot.go.html to see an example of how to use DeleteSnapshotRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteSnapshot.go.html to see an example of how to use DeleteSnapshotRequest. type DeleteSnapshotRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request DeleteSnapshotRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteSnapshotRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/detach_clone_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/detach_clone_request_response.go index 786738814d..bfc0f3352f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/detach_clone_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/detach_clone_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DetachClone.go.html to see an example of how to use DetachCloneRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DetachClone.go.html to see an example of how to use DetachCloneRequest. type DetachCloneRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -69,7 +69,7 @@ func (request DetachCloneRequest) RetryPolicy() *common.RetryPolicy { func (request DetachCloneRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/endpoint.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/endpoint.go index 1f69253708..62de9584bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/endpoint.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/endpoint.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -37,7 +37,7 @@ func (m Endpoint) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/estimate_replication_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/estimate_replication_request_response.go index 473a802bea..96fc5d3055 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/estimate_replication_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/estimate_replication_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/EstimateReplication.go.html to see an example of how to use EstimateReplicationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/EstimateReplication.go.html to see an example of how to use EstimateReplicationRequest. type EstimateReplicationRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request EstimateReplicationRequest) RetryPolicy() *common.RetryPolicy { func (request EstimateReplicationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export.go index 21f9d14551..6b01d206e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -42,7 +42,7 @@ import ( // No two non-'DELETED' export resources in the same export set can // reference the same file system. // Use `exportOptions` to control access to an export. For more information, see -// Export Options (https://docs.cloud.oracle.com/Content/File/Tasks/exportoptions.htm). +// Export Options (https://docs.oracle.com/iaas/Content/File/Tasks/exportoptions.htm). type Export struct { // Policies that apply to NFS requests made through this @@ -68,13 +68,13 @@ type Export struct { // associated with the file system. ExportOptions []ClientOptions `mandatory:"true" json:"exportOptions"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. ExportSetId *string `mandatory:"true" json:"exportSetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. FileSystemId *string `mandatory:"true" json:"fileSystemId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export. Id *string `mandatory:"true" json:"id"` // The current state of this export. @@ -111,7 +111,7 @@ func (m Export) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set.go index 387645745f..fff2ec24ef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -20,7 +20,7 @@ import ( // targets. Composed of zero or more export resources. type ExportSet struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -28,7 +28,7 @@ type ExportSet struct { // Example: `My export set` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. Id *string `mandatory:"true" json:"id"` // The current state of the export set. @@ -39,7 +39,7 @@ type ExportSet struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. VcnId *string `mandatory:"true" json:"vcnId"` // The availability domain the export set is in. May be unset @@ -84,7 +84,7 @@ func (m ExportSet) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set_summary.go index a45662fc08..ba50a46abf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_set_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ExportSetSummary Summary information for an export set. type ExportSetSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -27,7 +27,7 @@ type ExportSetSummary struct { // Example: `My export set` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. Id *string `mandatory:"true" json:"id"` // The current state of the export set. @@ -38,7 +38,7 @@ type ExportSetSummary struct { // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. VcnId *string `mandatory:"true" json:"vcnId"` // The availability domain the export set is in. May be unset @@ -61,7 +61,7 @@ func (m ExportSetSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_summary.go index c2f837f87b..13178c78ca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/export_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,13 +19,13 @@ import ( // ExportSummary Summary information for an export. type ExportSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. ExportSetId *string `mandatory:"true" json:"exportSetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export's file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. FileSystemId *string `mandatory:"true" json:"fileSystemId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of this export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export. Id *string `mandatory:"true" json:"id"` // The current state of this export. @@ -62,7 +62,7 @@ func (m ExportSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system.go index 34d1071163..198f3f7c00 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -24,17 +24,17 @@ import ( // IAM policy. If you're not authorized, talk to an // administrator. If you're an administrator who needs to write // policies to give users access, see Getting Started with -// Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +// Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type FileSystem struct { // The number of bytes consumed by the file system, including // any snapshots. This number reflects the metered size of the file // system and is updated asynchronously with respect to // updates to the file system. - // For more information, see File System Usage and Metering (https://docs.cloud.oracle.com/Content/File/Concepts/FSutilization.htm). + // For more information, see File System Usage and Metering (https://docs.oracle.com/iaas/Content/File/Concepts/FSutilization.htm). MeteredBytes *int64 `mandatory:"true" json:"meteredBytes"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -42,7 +42,7 @@ type FileSystem struct { // Example: `My file system` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. Id *string `mandatory:"true" json:"id"` // The current state of the file system. @@ -60,28 +60,32 @@ type FileSystem struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the KMS key which is the master encryption key for the file system. + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key which is the master encryption key for the file system. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` SourceDetails *SourceDetails `mandatory:"false" json:"sourceDetails"` // Specifies whether the file system has been cloned. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). IsCloneParent *bool `mandatory:"false" json:"isCloneParent"` // Specifies whether the data has finished copying from the source to the clone. // Hydration can take up to several hours to complete depending on the size of the source. // The source and clone remain available during hydration, but there may be some performance impact. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration). IsHydrated *bool `mandatory:"false" json:"isHydrated"` // Specifies the total number of children of a file system. @@ -97,16 +101,25 @@ type FileSystem struct { LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` // Specifies whether the file system can be used as a target file system for replication. The system sets this value to `true` if the file system is unexported, hasn't yet been specified as a target file system in any replication resource, and has no user snapshots. After the file system has been specified as a target in a replication, or if the file system contains user snapshots, the system sets this value to `false`. - // For more information, see Using Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/using-replication.htm). + // For more information, see Using Replication (https://docs.oracle.com/iaas/Content/File/Tasks/using-replication.htm). IsTargetable *bool `mandatory:"false" json:"isTargetable"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target associated with the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication target associated with the file system. // Empty if the file system is not being used as target in a replication. ReplicationTargetId *string `mandatory:"false" json:"replicationTargetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which // controls the frequency of snapshot creation and retention period of the taken snapshots. FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"` + + // Specifies the enforcement of quota rules on the file system. + AreQuotaRulesEnabled *bool `mandatory:"false" json:"areQuotaRulesEnabled"` + + // Displays the state of enforcement of quota rules on the file system. + QuotaEnforcementState FileSystemQuotaEnforcementStateEnum `mandatory:"false" json:"quotaEnforcementState,omitempty"` + + // Specifies the total number of replications for which this file system is a source. + ReplicationSourceCount *int `mandatory:"false" json:"replicationSourceCount"` } func (m FileSystem) String() string { @@ -125,8 +138,11 @@ func (m FileSystem) ValidateEnumValue() (bool, error) { if _, ok := GetMappingFileSystemCloneAttachStatusEnum(string(m.CloneAttachStatus)); !ok && m.CloneAttachStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CloneAttachStatus: %s. Supported values are: %s.", m.CloneAttachStatus, strings.Join(GetFileSystemCloneAttachStatusEnumStringValues(), ","))) } + if _, ok := GetMappingFileSystemQuotaEnforcementStateEnum(string(m.QuotaEnforcementState)); !ok && m.QuotaEnforcementState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for QuotaEnforcementState: %s. Supported values are: %s.", m.QuotaEnforcementState, strings.Join(GetFileSystemQuotaEnforcementStateEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -234,3 +250,61 @@ func GetMappingFileSystemCloneAttachStatusEnum(val string) (FileSystemCloneAttac enum, ok := mappingFileSystemCloneAttachStatusEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// FileSystemQuotaEnforcementStateEnum Enum with underlying type: string +type FileSystemQuotaEnforcementStateEnum string + +// Set of constants representing the allowable values for FileSystemQuotaEnforcementStateEnum +const ( + FileSystemQuotaEnforcementStateEnabling FileSystemQuotaEnforcementStateEnum = "ENABLING" + FileSystemQuotaEnforcementStateEnabled FileSystemQuotaEnforcementStateEnum = "ENABLED" + FileSystemQuotaEnforcementStateDisabling FileSystemQuotaEnforcementStateEnum = "DISABLING" + FileSystemQuotaEnforcementStateDisabled FileSystemQuotaEnforcementStateEnum = "DISABLED" + FileSystemQuotaEnforcementStateSyncing FileSystemQuotaEnforcementStateEnum = "SYNCING" + FileSystemQuotaEnforcementStateFailed FileSystemQuotaEnforcementStateEnum = "FAILED" +) + +var mappingFileSystemQuotaEnforcementStateEnum = map[string]FileSystemQuotaEnforcementStateEnum{ + "ENABLING": FileSystemQuotaEnforcementStateEnabling, + "ENABLED": FileSystemQuotaEnforcementStateEnabled, + "DISABLING": FileSystemQuotaEnforcementStateDisabling, + "DISABLED": FileSystemQuotaEnforcementStateDisabled, + "SYNCING": FileSystemQuotaEnforcementStateSyncing, + "FAILED": FileSystemQuotaEnforcementStateFailed, +} + +var mappingFileSystemQuotaEnforcementStateEnumLowerCase = map[string]FileSystemQuotaEnforcementStateEnum{ + "enabling": FileSystemQuotaEnforcementStateEnabling, + "enabled": FileSystemQuotaEnforcementStateEnabled, + "disabling": FileSystemQuotaEnforcementStateDisabling, + "disabled": FileSystemQuotaEnforcementStateDisabled, + "syncing": FileSystemQuotaEnforcementStateSyncing, + "failed": FileSystemQuotaEnforcementStateFailed, +} + +// GetFileSystemQuotaEnforcementStateEnumValues Enumerates the set of values for FileSystemQuotaEnforcementStateEnum +func GetFileSystemQuotaEnforcementStateEnumValues() []FileSystemQuotaEnforcementStateEnum { + values := make([]FileSystemQuotaEnforcementStateEnum, 0) + for _, v := range mappingFileSystemQuotaEnforcementStateEnum { + values = append(values, v) + } + return values +} + +// GetFileSystemQuotaEnforcementStateEnumStringValues Enumerates the set of values in String for FileSystemQuotaEnforcementStateEnum +func GetFileSystemQuotaEnforcementStateEnumStringValues() []string { + return []string{ + "ENABLING", + "ENABLED", + "DISABLING", + "DISABLED", + "SYNCING", + "FAILED", + } +} + +// GetMappingFileSystemQuotaEnforcementStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFileSystemQuotaEnforcementStateEnum(val string) (FileSystemQuotaEnforcementStateEnum, bool) { + enum, ok := mappingFileSystemQuotaEnforcementStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system_summary.go index 3d89974438..8a99439e5f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/file_system_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -25,7 +25,7 @@ type FileSystemSummary struct { // updates to the file system. MeteredBytes *int64 `mandatory:"true" json:"meteredBytes"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -33,7 +33,7 @@ type FileSystemSummary struct { // Example: `My file system` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. Id *string `mandatory:"true" json:"id"` // The current state of the file system. @@ -54,28 +54,35 @@ type FileSystemSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // Specifies the total number of replications for which this file system is a source. + ReplicationSourceCount *int `mandatory:"false" json:"replicationSourceCount"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key used to encrypt the encryption keys associated with this file system. KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` SourceDetails *SourceDetails `mandatory:"false" json:"sourceDetails"` // Specifies whether the file system has been cloned. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). IsCloneParent *bool `mandatory:"false" json:"isCloneParent"` // Specifies whether the data has finished copying from the source to the clone. // Hydration can take up to several hours to complete depending on the size of the source. // The source and clone remain available during hydration, but there may be some performance impact. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm#hydration). IsHydrated *bool `mandatory:"false" json:"isHydrated"` // Additional information about the current 'lifecycleState'. @@ -83,6 +90,9 @@ type FileSystemSummary struct { // Specifies whether the file system is attached to its parent file system. CloneAttachStatus FileSystemSummaryCloneAttachStatusEnum `mandatory:"false" json:"cloneAttachStatus,omitempty"` + + // Displays the state of enforcement of quota rules on the file system. + QuotaEnforcementState FileSystemSummaryQuotaEnforcementStateEnum `mandatory:"false" json:"quotaEnforcementState,omitempty"` } func (m FileSystemSummary) String() string { @@ -101,8 +111,11 @@ func (m FileSystemSummary) ValidateEnumValue() (bool, error) { if _, ok := GetMappingFileSystemSummaryCloneAttachStatusEnum(string(m.CloneAttachStatus)); !ok && m.CloneAttachStatus != "" { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CloneAttachStatus: %s. Supported values are: %s.", m.CloneAttachStatus, strings.Join(GetFileSystemSummaryCloneAttachStatusEnumStringValues(), ","))) } + if _, ok := GetMappingFileSystemSummaryQuotaEnforcementStateEnum(string(m.QuotaEnforcementState)); !ok && m.QuotaEnforcementState != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for QuotaEnforcementState: %s. Supported values are: %s.", m.QuotaEnforcementState, strings.Join(GetFileSystemSummaryQuotaEnforcementStateEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -210,3 +223,61 @@ func GetMappingFileSystemSummaryCloneAttachStatusEnum(val string) (FileSystemSum enum, ok := mappingFileSystemSummaryCloneAttachStatusEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// FileSystemSummaryQuotaEnforcementStateEnum Enum with underlying type: string +type FileSystemSummaryQuotaEnforcementStateEnum string + +// Set of constants representing the allowable values for FileSystemSummaryQuotaEnforcementStateEnum +const ( + FileSystemSummaryQuotaEnforcementStateEnabling FileSystemSummaryQuotaEnforcementStateEnum = "ENABLING" + FileSystemSummaryQuotaEnforcementStateEnabled FileSystemSummaryQuotaEnforcementStateEnum = "ENABLED" + FileSystemSummaryQuotaEnforcementStateDisabling FileSystemSummaryQuotaEnforcementStateEnum = "DISABLING" + FileSystemSummaryQuotaEnforcementStateDisabled FileSystemSummaryQuotaEnforcementStateEnum = "DISABLED" + FileSystemSummaryQuotaEnforcementStateSyncing FileSystemSummaryQuotaEnforcementStateEnum = "SYNCING" + FileSystemSummaryQuotaEnforcementStateFailed FileSystemSummaryQuotaEnforcementStateEnum = "FAILED" +) + +var mappingFileSystemSummaryQuotaEnforcementStateEnum = map[string]FileSystemSummaryQuotaEnforcementStateEnum{ + "ENABLING": FileSystemSummaryQuotaEnforcementStateEnabling, + "ENABLED": FileSystemSummaryQuotaEnforcementStateEnabled, + "DISABLING": FileSystemSummaryQuotaEnforcementStateDisabling, + "DISABLED": FileSystemSummaryQuotaEnforcementStateDisabled, + "SYNCING": FileSystemSummaryQuotaEnforcementStateSyncing, + "FAILED": FileSystemSummaryQuotaEnforcementStateFailed, +} + +var mappingFileSystemSummaryQuotaEnforcementStateEnumLowerCase = map[string]FileSystemSummaryQuotaEnforcementStateEnum{ + "enabling": FileSystemSummaryQuotaEnforcementStateEnabling, + "enabled": FileSystemSummaryQuotaEnforcementStateEnabled, + "disabling": FileSystemSummaryQuotaEnforcementStateDisabling, + "disabled": FileSystemSummaryQuotaEnforcementStateDisabled, + "syncing": FileSystemSummaryQuotaEnforcementStateSyncing, + "failed": FileSystemSummaryQuotaEnforcementStateFailed, +} + +// GetFileSystemSummaryQuotaEnforcementStateEnumValues Enumerates the set of values for FileSystemSummaryQuotaEnforcementStateEnum +func GetFileSystemSummaryQuotaEnforcementStateEnumValues() []FileSystemSummaryQuotaEnforcementStateEnum { + values := make([]FileSystemSummaryQuotaEnforcementStateEnum, 0) + for _, v := range mappingFileSystemSummaryQuotaEnforcementStateEnum { + values = append(values, v) + } + return values +} + +// GetFileSystemSummaryQuotaEnforcementStateEnumStringValues Enumerates the set of values in String for FileSystemSummaryQuotaEnforcementStateEnum +func GetFileSystemSummaryQuotaEnforcementStateEnumStringValues() []string { + return []string{ + "ENABLING", + "ENABLED", + "DISABLING", + "DISABLED", + "SYNCING", + "FAILED", + } +} + +// GetMappingFileSystemSummaryQuotaEnforcementStateEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingFileSystemSummaryQuotaEnforcementStateEnum(val string) (FileSystemSummaryQuotaEnforcementStateEnum, bool) { + enum, ok := mappingFileSystemSummaryQuotaEnforcementStateEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go index a5512733f9..f0bd68ba70 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -68,7 +68,7 @@ func newFileStorageClientFromBaseClient(baseClient common.BaseClient, configProv // SetRegion overrides the region of this client. func (client *FileStorageClient) SetRegion(region string) { - client.Host = common.StringToRegion(region).EndpointForTemplate("filestorage", "https://filestorage.{region}.{secondLevelDomain}") + client.Host, _ = common.StringToRegion(region).EndpointForTemplateDottedRegion("filestorage", "https://filestorage.{region}.{secondLevelDomain}", "filestorage") } // SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid @@ -96,7 +96,7 @@ func (client *FileStorageClient) ConfigurationProvider() *common.ConfigurationPr // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddExportLock.go.html to see an example of how to use AddExportLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddExportLock.go.html to see an example of how to use AddExportLock API. func (client FileStorageClient) AddExportLock(ctx context.Context, request AddExportLockRequest) (response AddExportLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -153,7 +153,7 @@ func (client FileStorageClient) addExportLock(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFileSystemLock.go.html to see an example of how to use AddFileSystemLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFileSystemLock.go.html to see an example of how to use AddFileSystemLock API. func (client FileStorageClient) AddFileSystemLock(ctx context.Context, request AddFileSystemLockRequest) (response AddFileSystemLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -210,7 +210,7 @@ func (client FileStorageClient) addFileSystemLock(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFilesystemSnapshotPolicyLock.go.html to see an example of how to use AddFilesystemSnapshotPolicyLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddFilesystemSnapshotPolicyLock.go.html to see an example of how to use AddFilesystemSnapshotPolicyLock API. func (client FileStorageClient) AddFilesystemSnapshotPolicyLock(ctx context.Context, request AddFilesystemSnapshotPolicyLockRequest) (response AddFilesystemSnapshotPolicyLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -267,7 +267,7 @@ func (client FileStorageClient) addFilesystemSnapshotPolicyLock(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddMountTargetLock.go.html to see an example of how to use AddMountTargetLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddMountTargetLock.go.html to see an example of how to use AddMountTargetLock API. func (client FileStorageClient) AddMountTargetLock(ctx context.Context, request AddMountTargetLockRequest) (response AddMountTargetLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -324,7 +324,7 @@ func (client FileStorageClient) addMountTargetLock(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddOutboundConnectorLock.go.html to see an example of how to use AddOutboundConnectorLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddOutboundConnectorLock.go.html to see an example of how to use AddOutboundConnectorLock API. func (client FileStorageClient) AddOutboundConnectorLock(ctx context.Context, request AddOutboundConnectorLockRequest) (response AddOutboundConnectorLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -381,7 +381,7 @@ func (client FileStorageClient) addOutboundConnectorLock(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddReplicationLock.go.html to see an example of how to use AddReplicationLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddReplicationLock.go.html to see an example of how to use AddReplicationLock API. func (client FileStorageClient) AddReplicationLock(ctx context.Context, request AddReplicationLockRequest) (response AddReplicationLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -438,7 +438,7 @@ func (client FileStorageClient) addReplicationLock(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddSnapshotLock.go.html to see an example of how to use AddSnapshotLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/AddSnapshotLock.go.html to see an example of how to use AddSnapshotLock API. func (client FileStorageClient) AddSnapshotLock(ctx context.Context, request AddSnapshotLockRequest) (response AddSnapshotLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -495,7 +495,7 @@ func (client FileStorageClient) addSnapshotLock(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CancelDowngradeShapeMountTarget.go.html to see an example of how to use CancelDowngradeShapeMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CancelDowngradeShapeMountTarget.go.html to see an example of how to use CancelDowngradeShapeMountTarget API. func (client FileStorageClient) CancelDowngradeShapeMountTarget(ctx context.Context, request CancelDowngradeShapeMountTargetRequest) (response CancelDowngradeShapeMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -548,11 +548,11 @@ func (client FileStorageClient) cancelDowngradeShapeMountTarget(ctx context.Cont return response, err } -// ChangeFileSystemCompartment Moves a file system and its associated snapshots into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes) +// ChangeFileSystemCompartment Moves a file system and its associated snapshots into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes) // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.go.html to see an example of how to use ChangeFileSystemCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFileSystemCompartment.go.html to see an example of how to use ChangeFileSystemCompartment API. func (client FileStorageClient) ChangeFileSystemCompartment(ctx context.Context, request ChangeFileSystemCompartmentRequest) (response ChangeFileSystemCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -605,11 +605,11 @@ func (client FileStorageClient) changeFileSystemCompartment(ctx context.Context, return response, err } -// ChangeFilesystemSnapshotPolicyCompartment Moves a file system snapshot policy into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// ChangeFilesystemSnapshotPolicyCompartment Moves a file system snapshot policy into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.go.html to see an example of how to use ChangeFilesystemSnapshotPolicyCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeFilesystemSnapshotPolicyCompartment.go.html to see an example of how to use ChangeFilesystemSnapshotPolicyCompartment API. func (client FileStorageClient) ChangeFilesystemSnapshotPolicyCompartment(ctx context.Context, request ChangeFilesystemSnapshotPolicyCompartmentRequest) (response ChangeFilesystemSnapshotPolicyCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -662,11 +662,11 @@ func (client FileStorageClient) changeFilesystemSnapshotPolicyCompartment(ctx co return response, err } -// ChangeMountTargetCompartment Moves a mount target and its associated export set or share set into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes) +// ChangeMountTargetCompartment Moves a mount target and its associated export set or share set into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes) // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.go.html to see an example of how to use ChangeMountTargetCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeMountTargetCompartment.go.html to see an example of how to use ChangeMountTargetCompartment API. func (client FileStorageClient) ChangeMountTargetCompartment(ctx context.Context, request ChangeMountTargetCompartmentRequest) (response ChangeMountTargetCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -721,11 +721,11 @@ func (client FileStorageClient) changeMountTargetCompartment(ctx context.Context // ChangeOutboundConnectorCompartment Moves an outbound connector into a different compartment within the same tenancy. // For information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes) +// Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes) // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.go.html to see an example of how to use ChangeOutboundConnectorCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeOutboundConnectorCompartment.go.html to see an example of how to use ChangeOutboundConnectorCompartment API. func (client FileStorageClient) ChangeOutboundConnectorCompartment(ctx context.Context, request ChangeOutboundConnectorCompartmentRequest) (response ChangeOutboundConnectorCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -779,11 +779,11 @@ func (client FileStorageClient) changeOutboundConnectorCompartment(ctx context.C } // ChangeReplicationCompartment Moves a replication and its replication target into a different compartment within the same tenancy. -// For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeReplicationCompartment.go.html to see an example of how to use ChangeReplicationCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ChangeReplicationCompartment.go.html to see an example of how to use ChangeReplicationCompartment API. func (client FileStorageClient) ChangeReplicationCompartment(ctx context.Context, request ChangeReplicationCompartmentRequest) (response ChangeReplicationCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -841,7 +841,7 @@ func (client FileStorageClient) changeReplicationCompartment(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateExport.go.html to see an example of how to use CreateExport API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateExport.go.html to see an example of how to use CreateExport API. func (client FileStorageClient) CreateExport(ctx context.Context, request CreateExportRequest) (response CreateExportResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -909,24 +909,24 @@ func (client FileStorageClient) createExport(ctx context.Context, request common // mount target's IP address. You can associate a file system with // more than one mount target at a time. // For information about access control and compartments, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about Network Security Groups access control, see -// Network Security Groups (https://docs.cloud.oracle.com/Content/Network/Concepts/networksecuritygroups.htm). +// Network Security Groups (https://docs.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm). // For information about availability domains, see Regions and -// Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of availability domains, use the // `ListAvailabilityDomains` operation in the Identity and Access // Management Service API. // All Oracle Cloud Infrastructure resources, including // file systems, get an Oracle-assigned, unique ID called an Oracle -// Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). +// Cloud Identifier (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). // When you create a resource, you can find its OCID in the response. // You can also retrieve a resource's OCID by using a List API operation on that resource // type or by viewing the resource in the Console. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFileSystem.go.html to see an example of how to use CreateFileSystem API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFileSystem.go.html to see an example of how to use CreateFileSystem API. func (client FileStorageClient) CreateFileSystem(ctx context.Context, request CreateFileSystemRequest) (response CreateFileSystemResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -991,7 +991,7 @@ func (client FileStorageClient) createFileSystem(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.go.html to see an example of how to use CreateFilesystemSnapshotPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateFilesystemSnapshotPolicy.go.html to see an example of how to use CreateFilesystemSnapshotPolicy API. func (client FileStorageClient) CreateFilesystemSnapshotPolicy(ctx context.Context, request CreateFilesystemSnapshotPolicyRequest) (response CreateFilesystemSnapshotPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1065,22 +1065,22 @@ func (client FileStorageClient) createFilesystemSnapshotPolicy(ctx context.Conte // Allow at least three IP addresses for each mount target. // For information about access control and compartments, see // Overview of the IAM -// Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about availability domains, see Regions and -// Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of availability domains, use the // `ListAvailabilityDomains` operation in the Identity and Access // Management Service API. // All Oracle Cloud Infrastructure Services resources, including // mount targets, get an Oracle-assigned, unique ID called an -// Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). +// Oracle Cloud Identifier (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). // When you create a resource, you can find its OCID in the response. // You can also retrieve a resource's OCID by using a List API operation on that resource // type, or by viewing the resource in the Console. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateMountTarget.go.html to see an example of how to use CreateMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateMountTarget.go.html to see an example of how to use CreateMountTarget API. func (client FileStorageClient) CreateMountTarget(ctx context.Context, request CreateMountTargetRequest) (response CreateMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1143,22 +1143,22 @@ func (client FileStorageClient) createMountTarget(ctx context.Context, request c // they exist in the same availability domain. // For information about access control and compartments, see // Overview of the IAM -// Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about availability domains, see Regions and -// Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of availability domains, use the // `ListAvailabilityDomains` operation in the Identity and Access // Management Service API. // All Oracle Cloud Infrastructure Services resources, including // outbound connectors, get an Oracle-assigned, unique ID called an -// Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). +// Oracle Cloud Identifier (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). // When you create a resource, you can find its OCID in the response. // You can also retrieve a resource's OCID by using a List API operation on that resource // type, or by viewing the resource in the Console. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateOutboundConnector.go.html to see an example of how to use CreateOutboundConnector API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateOutboundConnector.go.html to see an example of how to use CreateOutboundConnector API. func (client FileStorageClient) CreateOutboundConnector(ctx context.Context, request CreateOutboundConnectorRequest) (response CreateOutboundConnectorResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1216,6 +1216,69 @@ func (client FileStorageClient) createOutboundConnector(ctx context.Context, req return response, err } +// CreateQuotaRule Create a file system, user, or group quota rule given the `fileSystemId`, `principalId`, `principalType` and +// `isHardQuota` parameters. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateQuotaRule.go.html to see an example of how to use CreateQuotaRule API. +func (client FileStorageClient) CreateQuotaRule(ctx context.Context, request CreateQuotaRuleRequest) (response CreateQuotaRuleResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.createQuotaRule, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = CreateQuotaRuleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = CreateQuotaRuleResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(CreateQuotaRuleResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into CreateQuotaRuleResponse") + } + return +} + +// createQuotaRule implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) createQuotaRule(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/fileSystems/{fileSystemId}/quotaRules", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response CreateQuotaRuleResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/CreateQuotaRule" + err = common.PostProcessServiceError(err, "FileStorage", "CreateQuotaRule", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // CreateReplication Creates a new replication in the specified compartment. // Replications are the primary resource that governs the policy of cross-region replication between source // and target file systems. Replications are associated with a secondary resource called a ReplicationTarget @@ -1225,25 +1288,25 @@ func (client FileStorageClient) createOutboundConnector(ctx context.Context, req // and sends it to the associated `ReplicationTarget`, which retrieves the delta and applies it to the target // file system. // Only unexported file systems can be used as target file systems. -// For more information, see Using Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). +// For more information, see Using Replication (https://docs.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). // For information about access control and compartments, see // Overview of the IAM -// Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // For information about availability domains, see Regions and -// Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of availability domains, use the // `ListAvailabilityDomains` operation in the Identity and Access // Management Service API. // All Oracle Cloud Infrastructure Services resources, including // replications, get an Oracle-assigned, unique ID called an -// Oracle Cloud Identifier (OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)). +// Oracle Cloud Identifier (OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). // When you create a resource, you can find its OCID in the response. // You can also retrieve a resource's OCID by using a List API operation on that resource // type, or by viewing the resource in the Console. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateReplication.go.html to see an example of how to use CreateReplication API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateReplication.go.html to see an example of how to use CreateReplication API. func (client FileStorageClient) CreateReplication(ctx context.Context, request CreateReplicationRequest) (response CreateReplicationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1306,7 +1369,7 @@ func (client FileStorageClient) createReplication(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateSnapshot.go.html to see an example of how to use CreateSnapshot API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/CreateSnapshot.go.html to see an example of how to use CreateSnapshot API. func (client FileStorageClient) CreateSnapshot(ctx context.Context, request CreateSnapshotRequest) (response CreateSnapshotResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1368,7 +1431,7 @@ func (client FileStorageClient) createSnapshot(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteExport.go.html to see an example of how to use DeleteExport API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteExport.go.html to see an example of how to use DeleteExport API. func (client FileStorageClient) DeleteExport(ctx context.Context, request DeleteExportRequest) (response DeleteExportResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1427,7 +1490,7 @@ func (client FileStorageClient) deleteExport(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFileSystem.go.html to see an example of how to use DeleteFileSystem API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFileSystem.go.html to see an example of how to use DeleteFileSystem API. func (client FileStorageClient) DeleteFileSystem(ctx context.Context, request DeleteFileSystemRequest) (response DeleteFileSystemResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1484,7 +1547,7 @@ func (client FileStorageClient) deleteFileSystem(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.go.html to see an example of how to use DeleteFilesystemSnapshotPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteFilesystemSnapshotPolicy.go.html to see an example of how to use DeleteFilesystemSnapshotPolicy API. func (client FileStorageClient) DeleteFilesystemSnapshotPolicy(ctx context.Context, request DeleteFilesystemSnapshotPolicyRequest) (response DeleteFilesystemSnapshotPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1542,7 +1605,7 @@ func (client FileStorageClient) deleteFilesystemSnapshotPolicy(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteMountTarget.go.html to see an example of how to use DeleteMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteMountTarget.go.html to see an example of how to use DeleteMountTarget API. func (client FileStorageClient) DeleteMountTarget(ctx context.Context, request DeleteMountTargetRequest) (response DeleteMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1599,7 +1662,7 @@ func (client FileStorageClient) deleteMountTarget(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteOutboundConnector.go.html to see an example of how to use DeleteOutboundConnector API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteOutboundConnector.go.html to see an example of how to use DeleteOutboundConnector API. func (client FileStorageClient) DeleteOutboundConnector(ctx context.Context, request DeleteOutboundConnectorRequest) (response DeleteOutboundConnectorResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1652,11 +1715,68 @@ func (client FileStorageClient) deleteOutboundConnector(ctx context.Context, req return response, err } +// DeleteQuotaRule Remove a file system, user, or group quota rule given the `fileSystemId` and `quotaRuleId` parameters. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteQuotaRule.go.html to see an example of how to use DeleteQuotaRule API. +func (client FileStorageClient) DeleteQuotaRule(ctx context.Context, request DeleteQuotaRuleRequest) (response DeleteQuotaRuleResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.deleteQuotaRule, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = DeleteQuotaRuleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = DeleteQuotaRuleResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(DeleteQuotaRuleResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into DeleteQuotaRuleResponse") + } + return +} + +// deleteQuotaRule implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) deleteQuotaRule(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodDelete, "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response DeleteQuotaRuleResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/DeleteQuotaRule" + err = common.PostProcessServiceError(err, "FileStorage", "DeleteQuotaRule", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // DeleteReplication Deletes the specified replication and the the associated replication target. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplication.go.html to see an example of how to use DeleteReplication API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplication.go.html to see an example of how to use DeleteReplication API. func (client FileStorageClient) DeleteReplication(ctx context.Context, request DeleteReplicationRequest) (response DeleteReplicationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1716,7 +1836,7 @@ func (client FileStorageClient) deleteReplication(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplicationTarget.go.html to see an example of how to use DeleteReplicationTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteReplicationTarget.go.html to see an example of how to use DeleteReplicationTarget API. func (client FileStorageClient) DeleteReplicationTarget(ctx context.Context, request DeleteReplicationTargetRequest) (response DeleteReplicationTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1773,7 +1893,7 @@ func (client FileStorageClient) deleteReplicationTarget(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteSnapshot.go.html to see an example of how to use DeleteSnapshot API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DeleteSnapshot.go.html to see an example of how to use DeleteSnapshot API. func (client FileStorageClient) DeleteSnapshot(ctx context.Context, request DeleteSnapshotRequest) (response DeleteSnapshotResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1830,7 +1950,7 @@ func (client FileStorageClient) deleteSnapshot(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DetachClone.go.html to see an example of how to use DetachClone API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/DetachClone.go.html to see an example of how to use DetachClone API. func (client FileStorageClient) DetachClone(ctx context.Context, request DetachCloneRequest) (response DetachCloneResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1887,7 +2007,7 @@ func (client FileStorageClient) detachClone(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/EstimateReplication.go.html to see an example of how to use EstimateReplication API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/EstimateReplication.go.html to see an example of how to use EstimateReplication API. func (client FileStorageClient) EstimateReplication(ctx context.Context, request EstimateReplicationRequest) (response EstimateReplicationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1944,7 +2064,7 @@ func (client FileStorageClient) estimateReplication(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExport.go.html to see an example of how to use GetExport API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExport.go.html to see an example of how to use GetExport API. func (client FileStorageClient) GetExport(ctx context.Context, request GetExportRequest) (response GetExportResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2001,7 +2121,7 @@ func (client FileStorageClient) getExport(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExportSet.go.html to see an example of how to use GetExportSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExportSet.go.html to see an example of how to use GetExportSet API. func (client FileStorageClient) GetExportSet(ctx context.Context, request GetExportSetRequest) (response GetExportSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2058,7 +2178,7 @@ func (client FileStorageClient) getExportSet(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFileSystem.go.html to see an example of how to use GetFileSystem API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFileSystem.go.html to see an example of how to use GetFileSystem API. func (client FileStorageClient) GetFileSystem(ctx context.Context, request GetFileSystemRequest) (response GetFileSystemResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2115,7 +2235,7 @@ func (client FileStorageClient) getFileSystem(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.go.html to see an example of how to use GetFilesystemSnapshotPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.go.html to see an example of how to use GetFilesystemSnapshotPolicy API. func (client FileStorageClient) GetFilesystemSnapshotPolicy(ctx context.Context, request GetFilesystemSnapshotPolicyRequest) (response GetFilesystemSnapshotPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2172,7 +2292,7 @@ func (client FileStorageClient) getFilesystemSnapshotPolicy(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetMountTarget.go.html to see an example of how to use GetMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetMountTarget.go.html to see an example of how to use GetMountTarget API. func (client FileStorageClient) GetMountTarget(ctx context.Context, request GetMountTargetRequest) (response GetMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2229,7 +2349,7 @@ func (client FileStorageClient) getMountTarget(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetOutboundConnector.go.html to see an example of how to use GetOutboundConnector API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetOutboundConnector.go.html to see an example of how to use GetOutboundConnector API. func (client FileStorageClient) GetOutboundConnector(ctx context.Context, request GetOutboundConnectorRequest) (response GetOutboundConnectorResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2282,11 +2402,68 @@ func (client FileStorageClient) getOutboundConnector(ctx context.Context, reques return response, err } +// GetQuotaRule Get a file system, user, or group quota rule given the `fileSystemId` and `quotaRuleId` parameters. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetQuotaRule.go.html to see an example of how to use GetQuotaRule API. +func (client FileStorageClient) GetQuotaRule(ctx context.Context, request GetQuotaRuleRequest) (response GetQuotaRuleResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getQuotaRule, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetQuotaRuleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetQuotaRuleResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetQuotaRuleResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetQuotaRuleResponse") + } + return +} + +// getQuotaRule implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) getQuotaRule(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetQuotaRuleResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/GetQuotaRule" + err = common.PostProcessServiceError(err, "FileStorage", "GetQuotaRule", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetReplication Gets the specified replication's information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplication.go.html to see an example of how to use GetReplication API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplication.go.html to see an example of how to use GetReplication API. func (client FileStorageClient) GetReplication(ctx context.Context, request GetReplicationRequest) (response GetReplicationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2343,7 +2520,7 @@ func (client FileStorageClient) getReplication(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplicationTarget.go.html to see an example of how to use GetReplicationTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplicationTarget.go.html to see an example of how to use GetReplicationTarget API. func (client FileStorageClient) GetReplicationTarget(ctx context.Context, request GetReplicationTargetRequest) (response GetReplicationTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2400,7 +2577,7 @@ func (client FileStorageClient) getReplicationTarget(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetSnapshot.go.html to see an example of how to use GetSnapshot API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetSnapshot.go.html to see an example of how to use GetSnapshot API. func (client FileStorageClient) GetSnapshot(ctx context.Context, request GetSnapshotRequest) (response GetSnapshotResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2457,7 +2634,7 @@ func (client FileStorageClient) getSnapshot(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExportSets.go.html to see an example of how to use ListExportSets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExportSets.go.html to see an example of how to use ListExportSets API. func (client FileStorageClient) ListExportSets(ctx context.Context, request ListExportSetsRequest) (response ListExportSetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2516,7 +2693,7 @@ func (client FileStorageClient) listExportSets(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExports.go.html to see an example of how to use ListExports API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExports.go.html to see an example of how to use ListExports API. func (client FileStorageClient) ListExports(ctx context.Context, request ListExportsRequest) (response ListExportsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2574,7 +2751,7 @@ func (client FileStorageClient) listExports(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFileSystems.go.html to see an example of how to use ListFileSystems API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFileSystems.go.html to see an example of how to use ListFileSystems API. func (client FileStorageClient) ListFileSystems(ctx context.Context, request ListFileSystemsRequest) (response ListFileSystemsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2631,7 +2808,7 @@ func (client FileStorageClient) listFileSystems(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.go.html to see an example of how to use ListFilesystemSnapshotPolicies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.go.html to see an example of how to use ListFilesystemSnapshotPolicies API. func (client FileStorageClient) ListFilesystemSnapshotPolicies(ctx context.Context, request ListFilesystemSnapshotPoliciesRequest) (response ListFilesystemSnapshotPoliciesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2688,7 +2865,7 @@ func (client FileStorageClient) listFilesystemSnapshotPolicies(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListMountTargets.go.html to see an example of how to use ListMountTargets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListMountTargets.go.html to see an example of how to use ListMountTargets API. func (client FileStorageClient) ListMountTargets(ctx context.Context, request ListMountTargetsRequest) (response ListMountTargetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2761,7 +2938,7 @@ func (m *listoutboundconnectorsummary) UnmarshalPolymorphicJSON(data []byte) (in // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListOutboundConnectors.go.html to see an example of how to use ListOutboundConnectors API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListOutboundConnectors.go.html to see an example of how to use ListOutboundConnectors API. func (client FileStorageClient) ListOutboundConnectors(ctx context.Context, request ListOutboundConnectorsRequest) (response ListOutboundConnectorsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2814,11 +2991,68 @@ func (client FileStorageClient) listOutboundConnectors(ctx context.Context, requ return response, err } +// ListQuotaRules List user or group usages and their quota rules by certain principal type. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListQuotaRules.go.html to see an example of how to use ListQuotaRules API. +func (client FileStorageClient) ListQuotaRules(ctx context.Context, request ListQuotaRulesRequest) (response ListQuotaRulesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listQuotaRules, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListQuotaRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListQuotaRulesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListQuotaRulesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListQuotaRulesResponse") + } + return +} + +// listQuotaRules implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) listQuotaRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/fileSystems/{fileSystemId}/quotaRules", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListQuotaRulesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/ListQuotaRules" + err = common.PostProcessServiceError(err, "FileStorage", "ListQuotaRules", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListReplicationTargets Lists the replication target resources in the specified compartment. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplicationTargets.go.html to see an example of how to use ListReplicationTargets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplicationTargets.go.html to see an example of how to use ListReplicationTargets API. func (client FileStorageClient) ListReplicationTargets(ctx context.Context, request ListReplicationTargetsRequest) (response ListReplicationTargetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2875,7 +3109,7 @@ func (client FileStorageClient) listReplicationTargets(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplications.go.html to see an example of how to use ListReplications API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplications.go.html to see an example of how to use ListReplications API. func (client FileStorageClient) ListReplications(ctx context.Context, request ListReplicationsRequest) (response ListReplicationsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2936,7 +3170,7 @@ func (client FileStorageClient) listReplications(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListSnapshots.go.html to see an example of how to use ListSnapshots API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListSnapshots.go.html to see an example of how to use ListSnapshots API. func (client FileStorageClient) ListSnapshots(ctx context.Context, request ListSnapshotsRequest) (response ListSnapshotsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2997,7 +3231,7 @@ func (client FileStorageClient) listSnapshots(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.go.html to see an example of how to use PauseFilesystemSnapshotPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.go.html to see an example of how to use PauseFilesystemSnapshotPolicy API. func (client FileStorageClient) PauseFilesystemSnapshotPolicy(ctx context.Context, request PauseFilesystemSnapshotPolicyRequest) (response PauseFilesystemSnapshotPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3054,7 +3288,7 @@ func (client FileStorageClient) pauseFilesystemSnapshotPolicy(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveExportLock.go.html to see an example of how to use RemoveExportLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveExportLock.go.html to see an example of how to use RemoveExportLock API. func (client FileStorageClient) RemoveExportLock(ctx context.Context, request RemoveExportLockRequest) (response RemoveExportLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3111,7 +3345,7 @@ func (client FileStorageClient) removeExportLock(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFileSystemLock.go.html to see an example of how to use RemoveFileSystemLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFileSystemLock.go.html to see an example of how to use RemoveFileSystemLock API. func (client FileStorageClient) RemoveFileSystemLock(ctx context.Context, request RemoveFileSystemLockRequest) (response RemoveFileSystemLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3168,7 +3402,7 @@ func (client FileStorageClient) removeFileSystemLock(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFilesystemSnapshotPolicyLock.go.html to see an example of how to use RemoveFilesystemSnapshotPolicyLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFilesystemSnapshotPolicyLock.go.html to see an example of how to use RemoveFilesystemSnapshotPolicyLock API. func (client FileStorageClient) RemoveFilesystemSnapshotPolicyLock(ctx context.Context, request RemoveFilesystemSnapshotPolicyLockRequest) (response RemoveFilesystemSnapshotPolicyLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3225,7 +3459,7 @@ func (client FileStorageClient) removeFilesystemSnapshotPolicyLock(ctx context.C // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveMountTargetLock.go.html to see an example of how to use RemoveMountTargetLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveMountTargetLock.go.html to see an example of how to use RemoveMountTargetLock API. func (client FileStorageClient) RemoveMountTargetLock(ctx context.Context, request RemoveMountTargetLockRequest) (response RemoveMountTargetLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3282,7 +3516,7 @@ func (client FileStorageClient) removeMountTargetLock(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveOutboundConnectorLock.go.html to see an example of how to use RemoveOutboundConnectorLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveOutboundConnectorLock.go.html to see an example of how to use RemoveOutboundConnectorLock API. func (client FileStorageClient) RemoveOutboundConnectorLock(ctx context.Context, request RemoveOutboundConnectorLockRequest) (response RemoveOutboundConnectorLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3339,7 +3573,7 @@ func (client FileStorageClient) removeOutboundConnectorLock(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveReplicationLock.go.html to see an example of how to use RemoveReplicationLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveReplicationLock.go.html to see an example of how to use RemoveReplicationLock API. func (client FileStorageClient) RemoveReplicationLock(ctx context.Context, request RemoveReplicationLockRequest) (response RemoveReplicationLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3396,7 +3630,7 @@ func (client FileStorageClient) removeReplicationLock(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveSnapshotLock.go.html to see an example of how to use RemoveSnapshotLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveSnapshotLock.go.html to see an example of how to use RemoveSnapshotLock API. func (client FileStorageClient) RemoveSnapshotLock(ctx context.Context, request RemoveSnapshotLockRequest) (response RemoveSnapshotLockResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3453,7 +3687,7 @@ func (client FileStorageClient) removeSnapshotLock(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ScheduleDowngradeShapeMountTarget.go.html to see an example of how to use ScheduleDowngradeShapeMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ScheduleDowngradeShapeMountTarget.go.html to see an example of how to use ScheduleDowngradeShapeMountTarget API. func (client FileStorageClient) ScheduleDowngradeShapeMountTarget(ctx context.Context, request ScheduleDowngradeShapeMountTargetRequest) (response ScheduleDowngradeShapeMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3506,6 +3740,70 @@ func (client FileStorageClient) scheduleDowngradeShapeMountTarget(ctx context.Co return response, err } +// ToggleQuotaRules Enable or disable quota enforcement for the file system. +// If `areQuotaRulesEnabled` = `true`, then the quota enforcement will be enabled. +// If `areQuotaRulesEnabled` = `false`, then the quota enforcement will be disabled. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ToggleQuotaRules.go.html to see an example of how to use ToggleQuotaRules API. +func (client FileStorageClient) ToggleQuotaRules(ctx context.Context, request ToggleQuotaRulesRequest) (response ToggleQuotaRulesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + + if !(request.OpcRetryToken != nil && *request.OpcRetryToken != "") { + request.OpcRetryToken = common.String(common.RetryToken()) + } + + ociResponse, err = common.Retry(ctx, request, client.toggleQuotaRules, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ToggleQuotaRulesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ToggleQuotaRulesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ToggleQuotaRulesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ToggleQuotaRulesResponse") + } + return +} + +// toggleQuotaRules implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) toggleQuotaRules(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/fileSystems/{fileSystemId}/actions/toggleQuotaRules", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ToggleQuotaRulesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/ToggleQuotaRules" + err = common.PostProcessServiceError(err, "FileStorage", "ToggleQuotaRules", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UnpauseFilesystemSnapshotPolicy This operation unpauses a paused file system snapshot policy and updates the lifecycle state of the file system snapshot policy from // INACTIVE to ACTIVE. By default, file system snapshot policies are in the ACTIVE state. When a file system snapshot policy is not paused, or in the ACTIVE state, file systems that are associated with the // policy will have snapshots created and deleted according to the schedules defined in the policy. @@ -3513,7 +3811,7 @@ func (client FileStorageClient) scheduleDowngradeShapeMountTarget(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.go.html to see an example of how to use UnpauseFilesystemSnapshotPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.go.html to see an example of how to use UnpauseFilesystemSnapshotPolicy API. func (client FileStorageClient) UnpauseFilesystemSnapshotPolicy(ctx context.Context, request UnpauseFilesystemSnapshotPolicyRequest) (response UnpauseFilesystemSnapshotPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3570,7 +3868,7 @@ func (client FileStorageClient) unpauseFilesystemSnapshotPolicy(ctx context.Cont // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExport.go.html to see an example of how to use UpdateExport API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExport.go.html to see an example of how to use UpdateExport API. func (client FileStorageClient) UpdateExport(ctx context.Context, request UpdateExportRequest) (response UpdateExportResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3627,7 +3925,7 @@ func (client FileStorageClient) updateExport(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExportSet.go.html to see an example of how to use UpdateExportSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExportSet.go.html to see an example of how to use UpdateExportSet API. func (client FileStorageClient) UpdateExportSet(ctx context.Context, request UpdateExportSetRequest) (response UpdateExportSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3685,7 +3983,7 @@ func (client FileStorageClient) updateExportSet(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFileSystem.go.html to see an example of how to use UpdateFileSystem API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFileSystem.go.html to see an example of how to use UpdateFileSystem API. func (client FileStorageClient) UpdateFileSystem(ctx context.Context, request UpdateFileSystemRequest) (response UpdateFileSystemResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3742,7 +4040,7 @@ func (client FileStorageClient) updateFileSystem(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.go.html to see an example of how to use UpdateFilesystemSnapshotPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.go.html to see an example of how to use UpdateFilesystemSnapshotPolicy API. func (client FileStorageClient) UpdateFilesystemSnapshotPolicy(ctx context.Context, request UpdateFilesystemSnapshotPolicyRequest) (response UpdateFilesystemSnapshotPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3799,7 +4097,7 @@ func (client FileStorageClient) updateFilesystemSnapshotPolicy(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateMountTarget.go.html to see an example of how to use UpdateMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateMountTarget.go.html to see an example of how to use UpdateMountTarget API. func (client FileStorageClient) UpdateMountTarget(ctx context.Context, request UpdateMountTargetRequest) (response UpdateMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3856,7 +4154,7 @@ func (client FileStorageClient) updateMountTarget(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateOutboundConnector.go.html to see an example of how to use UpdateOutboundConnector API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateOutboundConnector.go.html to see an example of how to use UpdateOutboundConnector API. func (client FileStorageClient) UpdateOutboundConnector(ctx context.Context, request UpdateOutboundConnectorRequest) (response UpdateOutboundConnectorResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3909,11 +4207,68 @@ func (client FileStorageClient) updateOutboundConnector(ctx context.Context, req return response, err } +// UpdateQuotaRule Edit a file system, user, or group quota rule given the `fileSystemId` and `quotaRuleId` parameters. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateQuotaRule.go.html to see an example of how to use UpdateQuotaRule API. +func (client FileStorageClient) UpdateQuotaRule(ctx context.Context, request UpdateQuotaRuleRequest) (response UpdateQuotaRuleResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.updateQuotaRule, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = UpdateQuotaRuleResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = UpdateQuotaRuleResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(UpdateQuotaRuleResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into UpdateQuotaRuleResponse") + } + return +} + +// updateQuotaRule implements the OCIOperation interface (enables retrying operations) +func (client FileStorageClient) updateQuotaRule(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPut, "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response UpdateQuotaRuleResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/filestorage/20171215/FileSystem/UpdateQuotaRule" + err = common.PostProcessServiceError(err, "FileStorage", "UpdateQuotaRule", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // UpdateReplication Updates the information for the specified replication and its associated replication target. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateReplication.go.html to see an example of how to use UpdateReplication API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateReplication.go.html to see an example of how to use UpdateReplication API. func (client FileStorageClient) UpdateReplication(ctx context.Context, request UpdateReplicationRequest) (response UpdateReplicationResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3970,7 +4325,7 @@ func (client FileStorageClient) updateReplication(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateSnapshot.go.html to see an example of how to use UpdateSnapshot API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateSnapshot.go.html to see an example of how to use UpdateSnapshot API. func (client FileStorageClient) UpdateSnapshot(ctx context.Context, request UpdateSnapshotRequest) (response UpdateSnapshotResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4027,7 +4382,7 @@ func (client FileStorageClient) updateSnapshot(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpgradeShapeMountTarget.go.html to see an example of how to use UpgradeShapeMountTarget API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpgradeShapeMountTarget.go.html to see an example of how to use UpgradeShapeMountTarget API. func (client FileStorageClient) UpgradeShapeMountTarget(ctx context.Context, request UpgradeShapeMountTargetRequest) (response UpgradeShapeMountTargetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -4086,7 +4441,7 @@ func (client FileStorageClient) upgradeShapeMountTarget(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ValidateKeyTabs.go.html to see an example of how to use ValidateKeyTabs API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ValidateKeyTabs.go.html to see an example of how to use ValidateKeyTabs API. func (client FileStorageClient) ValidateKeyTabs(ctx context.Context, request ValidateKeyTabsRequest) (response ValidateKeyTabsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy.go index 3f7407aac5..fa3d0c2c40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,18 +19,18 @@ import ( // FilesystemSnapshotPolicy A file system snapshot policy is used to automate snapshot creation and deletion. // It contains a list of snapshot schedules that define the frequency of // snapshot creation for the associated file systems and the retention period of snapshots taken on schedule. -// For more information, see Snapshot Scheduling (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/snapshot-policies-and-schedules.htm). -// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// For more information, see Snapshot Scheduling (https://docs.oracle.com/iaas/Content/File/Tasks/snapshot-policies-and-schedules.htm). +// To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). type FilesystemSnapshotPolicy struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The availability domain that the file system snapshot policy is in. May be unset using a blank or NULL value. // Example: `Uocm:PHX-AD-2` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. Id *string `mandatory:"true" json:"id"` // The current state of the file system snapshot policy. @@ -58,14 +58,18 @@ type FilesystemSnapshotPolicy struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` } func (m FilesystemSnapshotPolicy) String() string { @@ -82,7 +86,7 @@ func (m FilesystemSnapshotPolicy) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy_summary.go index e71c3268fd..9c1a64c286 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filesystem_snapshot_policy_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -23,10 +23,10 @@ type FilesystemSnapshotPolicySummary struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the file system snapshot policy. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. Id *string `mandatory:"true" json:"id"` // The current state of this file system snapshot policy. @@ -51,14 +51,18 @@ type FilesystemSnapshotPolicySummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` } func (m FilesystemSnapshotPolicySummary) String() string { @@ -75,7 +79,7 @@ func (m FilesystemSnapshotPolicySummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_request_response.go index 519ebbf106..6d78ddea9d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExport.go.html to see an example of how to use GetExportRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExport.go.html to see an example of how to use GetExportRequest. type GetExportRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export. ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetExportRequest) RetryPolicy() *common.RetryPolicy { func (request GetExportRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_set_request_response.go index 0610ac0264..b1a9c28fb4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_export_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExportSet.go.html to see an example of how to use GetExportSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetExportSet.go.html to see an example of how to use GetExportSetRequest. type GetExportSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. ExportSetId *string `mandatory:"true" contributesTo:"path" name:"exportSetId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetExportSetRequest) RetryPolicy() *common.RetryPolicy { func (request GetExportSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_file_system_request_response.go index c6236dc735..fd3b071d51 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFileSystem.go.html to see an example of how to use GetFileSystemRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFileSystem.go.html to see an example of how to use GetFileSystemRequest. type GetFileSystemRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetFileSystemRequest) RetryPolicy() *common.RetryPolicy { func (request GetFileSystemRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_filesystem_snapshot_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_filesystem_snapshot_policy_request_response.go index 9ed979be73..2652709416 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_filesystem_snapshot_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_filesystem_snapshot_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.go.html to see an example of how to use GetFilesystemSnapshotPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetFilesystemSnapshotPolicy.go.html to see an example of how to use GetFilesystemSnapshotPolicyRequest. type GetFilesystemSnapshotPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetFilesystemSnapshotPolicyRequest) RetryPolicy() *common.RetryPol func (request GetFilesystemSnapshotPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_mount_target_request_response.go index 31d25b8131..5814e12207 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetMountTarget.go.html to see an example of how to use GetMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetMountTarget.go.html to see an example of how to use GetMountTargetRequest. type GetMountTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetMountTargetRequest) RetryPolicy() *common.RetryPolicy { func (request GetMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_outbound_connector_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_outbound_connector_request_response.go index ded9f1761b..d2d209a0ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_outbound_connector_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_outbound_connector_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetOutboundConnector.go.html to see an example of how to use GetOutboundConnectorRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetOutboundConnector.go.html to see an example of how to use GetOutboundConnectorRequest. type GetOutboundConnectorRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy { func (request GetOutboundConnectorRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_quota_rule_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_quota_rule_request_response.go new file mode 100644 index 0000000000..d17baa56ed --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_quota_rule_request_response.go @@ -0,0 +1,105 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetQuotaRuleRequest wrapper for the GetQuotaRule operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetQuotaRule.go.html to see an example of how to use GetQuotaRuleRequest. +type GetQuotaRuleRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // The identifier of the quota rule. It is the base64 encoded string of the tuple . + QuotaRuleId *string `mandatory:"true" contributesTo:"path" name:"quotaRuleId"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetQuotaRuleRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetQuotaRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetQuotaRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetQuotaRuleRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetQuotaRuleRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetQuotaRuleResponse wrapper for the GetQuotaRule operation +type GetQuotaRuleResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The QuotaRule instance + QuotaRule `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If + // you need to contact Oracle about a particular request, + // please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetQuotaRuleResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetQuotaRuleResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_request_response.go index 57e2137d89..a1c972dc7e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplication.go.html to see an example of how to use GetReplicationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplication.go.html to see an example of how to use GetReplicationRequest. type GetReplicationRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetReplicationRequest) RetryPolicy() *common.RetryPolicy { func (request GetReplicationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_target_request_response.go index 0fa5c2441a..50147c45fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_replication_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplicationTarget.go.html to see an example of how to use GetReplicationTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetReplicationTarget.go.html to see an example of how to use GetReplicationTargetRequest. type GetReplicationTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication target. ReplicationTargetId *string `mandatory:"true" contributesTo:"path" name:"replicationTargetId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetReplicationTargetRequest) RetryPolicy() *common.RetryPolicy { func (request GetReplicationTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_snapshot_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_snapshot_request_response.go index 57cb2d8599..6351216745 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_snapshot_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/get_snapshot_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetSnapshot.go.html to see an example of how to use GetSnapshotRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/GetSnapshot.go.html to see an example of how to use GetSnapshotRequest. type GetSnapshotRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"` // Unique identifier for the request. @@ -62,7 +62,7 @@ func (request GetSnapshotRequest) RetryPolicy() *common.RetryPolicy { func (request GetSnapshotRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos.go index 1b111abadd..a3388a924f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -22,7 +22,7 @@ type Kerberos struct { // The Kerberos realm that the mount target will join. KerberosRealm *string `mandatory:"true" json:"kerberosRealm"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. KeyTabSecretId *string `mandatory:"false" json:"keyTabSecretId"` // Version of the keytab secret in the Vault to use. @@ -46,7 +46,7 @@ func (m Kerberos) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos_keytab_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos_keytab_entry.go index 90f9bed859..733843e31b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos_keytab_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/kerberos_keytab_entry.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -47,7 +47,7 @@ func (m KerberosKeytabEntry) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/key_tab_secret_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/key_tab_secret_details.go index b2b76d6208..f777a426ca 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/key_tab_secret_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/key_tab_secret_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // KeyTabSecretDetails Secret details of keytabs in Vault. type KeyTabSecretDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. KeyTabSecretId *string `mandatory:"true" json:"keyTabSecretId"` // Version of the keytab secret in the Vault to use. @@ -40,7 +40,7 @@ func (m KeyTabSecretDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account.go index ff6dab2133..24f53dc192 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -20,10 +20,10 @@ import ( // LdapBindAccount Account details for the LDAP bind account used by the outbound connector. type LdapBindAccount struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. Id *string `mandatory:"true" json:"id"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -52,16 +52,20 @@ type LdapBindAccount struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the password for the LDAP bind account in the Vault. PasswordSecretId *string `mandatory:"false" json:"passwordSecretId"` // Version of the password secret in the Vault to use. @@ -116,6 +120,11 @@ func (m LdapBindAccount) GetDefinedTags() map[string]map[string]interface{} { return m.DefinedTags } +// GetSystemTags returns SystemTags +func (m LdapBindAccount) GetSystemTags() map[string]map[string]interface{} { + return m.SystemTags +} + func (m LdapBindAccount) String() string { return common.PointerString(m) } @@ -130,7 +139,7 @@ func (m LdapBindAccount) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetOutboundConnectorLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account_summary.go index 32dff3d6f7..05c4eb285b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_bind_account_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -20,10 +20,10 @@ import ( // LdapBindAccountSummary Summary information for the LDAP bind account used by the outbound connector. type LdapBindAccountSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. Id *string `mandatory:"true" json:"id"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -52,15 +52,19 @@ type LdapBindAccountSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + // The current state of this outbound connector. LifecycleState OutboundConnectorSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` } @@ -110,6 +114,11 @@ func (m LdapBindAccountSummary) GetDefinedTags() map[string]map[string]interface return m.DefinedTags } +// GetSystemTags returns SystemTags +func (m LdapBindAccountSummary) GetSystemTags() map[string]map[string]interface{} { + return m.SystemTags +} + func (m LdapBindAccountSummary) String() string { return common.PointerString(m) } @@ -124,7 +133,7 @@ func (m LdapBindAccountSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetOutboundConnectorSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_idmap.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_idmap.go index 7048552cae..2f6a71e423 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_idmap.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/ldap_idmap.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -39,10 +39,10 @@ type LdapIdmap struct { // Example: `CN=Group,DC=domain,DC=com` GroupSearchBase *string `mandatory:"false" json:"groupSearchBase"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server. OutboundConnector1Id *string `mandatory:"false" json:"outboundConnector1Id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server. OutboundConnector2Id *string `mandatory:"false" json:"outboundConnector2Id"` } @@ -60,7 +60,7 @@ func (m LdapIdmap) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SchemaType: %s. Supported values are: %s.", m.SchemaType, strings.Join(GetLdapIdmapSchemaTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -70,15 +70,18 @@ type LdapIdmapSchemaTypeEnum string // Set of constants representing the allowable values for LdapIdmapSchemaTypeEnum const ( - LdapIdmapSchemaTypeRfc2307 LdapIdmapSchemaTypeEnum = "RFC2307" + LdapIdmapSchemaTypeRfc2307 LdapIdmapSchemaTypeEnum = "RFC2307" + LdapIdmapSchemaTypeRfc2307bis LdapIdmapSchemaTypeEnum = "RFC2307BIS" ) var mappingLdapIdmapSchemaTypeEnum = map[string]LdapIdmapSchemaTypeEnum{ - "RFC2307": LdapIdmapSchemaTypeRfc2307, + "RFC2307": LdapIdmapSchemaTypeRfc2307, + "RFC2307BIS": LdapIdmapSchemaTypeRfc2307bis, } var mappingLdapIdmapSchemaTypeEnumLowerCase = map[string]LdapIdmapSchemaTypeEnum{ - "rfc2307": LdapIdmapSchemaTypeRfc2307, + "rfc2307": LdapIdmapSchemaTypeRfc2307, + "rfc2307bis": LdapIdmapSchemaTypeRfc2307bis, } // GetLdapIdmapSchemaTypeEnumValues Enumerates the set of values for LdapIdmapSchemaTypeEnum @@ -94,6 +97,7 @@ func GetLdapIdmapSchemaTypeEnumValues() []LdapIdmapSchemaTypeEnum { func GetLdapIdmapSchemaTypeEnumStringValues() []string { return []string{ "RFC2307", + "RFC2307BIS", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_export_sets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_export_sets_request_response.go index e89b223dad..61e3ec21ef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_export_sets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_export_sets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExportSets.go.html to see an example of how to use ListExportSetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExportSets.go.html to see an example of how to use ListExportSetsRequest. type ListExportSetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,14 +29,14 @@ type ListExportSetsRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -47,7 +47,7 @@ type ListExportSetsRequest struct { // state for the resource type. LifecycleState ListExportSetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -112,7 +112,7 @@ func (request ListExportSetsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListExportSetsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -129,7 +129,7 @@ type ListExportSetsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_exports_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_exports_request_response.go index 49fac638ee..ca3873a593 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_exports_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_exports_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,37 +15,37 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExports.go.html to see an example of how to use ListExportsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListExports.go.html to see an example of how to use ListExportsRequest. type ListExportsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. ExportSetId *string `mandatory:"false" contributesTo:"query" name:"exportSetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"false" contributesTo:"query" name:"fileSystemId"` // Filter results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListExportsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -110,7 +110,7 @@ func (request ListExportsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListExportsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -127,7 +127,7 @@ type ListExportsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_file_systems_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_file_systems_request_response.go index 856d7d5d01..c484df4fb0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_file_systems_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_file_systems_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFileSystems.go.html to see an example of how to use ListFileSystemsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFileSystems.go.html to see an example of how to use ListFileSystemsRequest. type ListFileSystemsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,14 +29,14 @@ type ListFileSystemsRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -47,17 +47,17 @@ type ListFileSystemsRequest struct { // state for the resource type. LifecycleState ListFileSystemsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). SourceSnapshotId *string `mandatory:"false" contributesTo:"query" name:"sourceSnapshotId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). ParentFileSystemId *string `mandatory:"false" contributesTo:"query" name:"parentFileSystemId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy // that is associated with the file systems. FilesystemSnapshotPolicyId *string `mandatory:"false" contributesTo:"query" name:"filesystemSnapshotPolicyId"` @@ -122,7 +122,7 @@ func (request ListFileSystemsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListFileSystemsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -139,7 +139,7 @@ type ListFileSystemsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_filesystem_snapshot_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_filesystem_snapshot_policies_request_response.go index ab4b8fd53d..4497824a22 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_filesystem_snapshot_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_filesystem_snapshot_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.go.html to see an example of how to use ListFilesystemSnapshotPoliciesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListFilesystemSnapshotPolicies.go.html to see an example of how to use ListFilesystemSnapshotPoliciesRequest. type ListFilesystemSnapshotPoliciesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,14 +29,14 @@ type ListFilesystemSnapshotPoliciesRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -47,7 +47,7 @@ type ListFilesystemSnapshotPoliciesRequest struct { // state for the resource type. LifecycleState ListFilesystemSnapshotPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -112,7 +112,7 @@ func (request ListFilesystemSnapshotPoliciesRequest) ValidateEnumValue() (bool, errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListFilesystemSnapshotPoliciesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -129,7 +129,7 @@ type ListFilesystemSnapshotPoliciesResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_mount_targets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_mount_targets_request_response.go index b33852c919..2279be8cab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_mount_targets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_mount_targets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListMountTargets.go.html to see an example of how to use ListMountTargetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListMountTargets.go.html to see an example of how to use ListMountTargetsRequest. type ListMountTargetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,28 +29,28 @@ type ListMountTargetsRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // A user-friendly name. It does not have to be unique, and it is changeable. // Example: `My resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. ExportSetId *string `mandatory:"false" contributesTo:"query" name:"exportSetId"` // Filter results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListMountTargetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -115,7 +115,7 @@ func (request ListMountTargetsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListMountTargetsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -132,7 +132,7 @@ type ListMountTargetsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_outbound_connectors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_outbound_connectors_request_response.go index d054125987..1285f69ff6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_outbound_connectors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_outbound_connectors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListOutboundConnectors.go.html to see an example of how to use ListOutboundConnectorsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListOutboundConnectors.go.html to see an example of how to use ListOutboundConnectorsRequest. type ListOutboundConnectorsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,14 +29,14 @@ type ListOutboundConnectorsRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Filter results by the specified lifecycle state. Must be a valid @@ -47,7 +47,7 @@ type ListOutboundConnectorsRequest struct { // Example: `My resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -112,7 +112,7 @@ func (request ListOutboundConnectorsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListOutboundConnectorsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -129,7 +129,7 @@ type ListOutboundConnectorsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_quota_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_quota_rules_request_response.go new file mode 100644 index 0000000000..e40b66e8ce --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_quota_rules_request_response.go @@ -0,0 +1,239 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListQuotaRulesRequest wrapper for the ListQuotaRules operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListQuotaRules.go.html to see an example of how to use ListQuotaRulesRequest. +type ListQuotaRulesRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // The type of the owner of this quota rule and usage. + PrincipalType ListQuotaRulesPrincipalTypeEnum `mandatory:"true" contributesTo:"query" name:"principalType" omitEmpty:"true"` + + // For list pagination. The maximum number of results per page, + // or items to return in a paginated "List" call. + // 1 is the minimum, 4096 is the maximum. + // For important details about how pagination works, + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // Example: `500` + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the `opc-next-page` response + // header from the previous "List" call. + // For important details about how pagination works, + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to + // identify a user or group to manage access control. + PrincipalId *int `mandatory:"false" contributesTo:"query" name:"principalId"` + + // An option to display only the users or groups that violate their quota rules. + // If `areViolatorsOnly` is false, results report all the quota and usage. + // If `areViolatorsOnly` is true, results only report the quota and usage for + // the users or groups that violate their quota rules. + AreViolatorsOnly *bool `mandatory:"false" contributesTo:"query" name:"areViolatorsOnly"` + + // The sort order to use, either 'asc' or 'desc', where 'asc' is + // ascending and 'desc' is descending. The default order is 'desc' + // except for numeric values. + SortOrder ListQuotaRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListQuotaRulesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListQuotaRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListQuotaRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListQuotaRulesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListQuotaRulesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListQuotaRulesPrincipalTypeEnum(string(request.PrincipalType)); !ok && request.PrincipalType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PrincipalType: %s. Supported values are: %s.", request.PrincipalType, strings.Join(GetListQuotaRulesPrincipalTypeEnumStringValues(), ","))) + } + if _, ok := GetMappingListQuotaRulesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListQuotaRulesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListQuotaRulesResponse wrapper for the ListQuotaRules operation +type ListQuotaRulesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of []QuotaRuleSummary instances + Items []QuotaRuleSummary `presentIn:"body"` + + // For list pagination. When this header appears in the response, + // additional pages of results remain. + // For important details about how pagination works, + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` + + // Unique Oracle-assigned identifier for the request. If + // you need to contact Oracle about a particular request, + // please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ListQuotaRulesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListQuotaRulesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListQuotaRulesPrincipalTypeEnum Enum with underlying type: string +type ListQuotaRulesPrincipalTypeEnum string + +// Set of constants representing the allowable values for ListQuotaRulesPrincipalTypeEnum +const ( + ListQuotaRulesPrincipalTypeFileSystemLevel ListQuotaRulesPrincipalTypeEnum = "FILE_SYSTEM_LEVEL" + ListQuotaRulesPrincipalTypeDefaultGroup ListQuotaRulesPrincipalTypeEnum = "DEFAULT_GROUP" + ListQuotaRulesPrincipalTypeDefaultUser ListQuotaRulesPrincipalTypeEnum = "DEFAULT_USER" + ListQuotaRulesPrincipalTypeIndividualGroup ListQuotaRulesPrincipalTypeEnum = "INDIVIDUAL_GROUP" + ListQuotaRulesPrincipalTypeIndividualUser ListQuotaRulesPrincipalTypeEnum = "INDIVIDUAL_USER" +) + +var mappingListQuotaRulesPrincipalTypeEnum = map[string]ListQuotaRulesPrincipalTypeEnum{ + "FILE_SYSTEM_LEVEL": ListQuotaRulesPrincipalTypeFileSystemLevel, + "DEFAULT_GROUP": ListQuotaRulesPrincipalTypeDefaultGroup, + "DEFAULT_USER": ListQuotaRulesPrincipalTypeDefaultUser, + "INDIVIDUAL_GROUP": ListQuotaRulesPrincipalTypeIndividualGroup, + "INDIVIDUAL_USER": ListQuotaRulesPrincipalTypeIndividualUser, +} + +var mappingListQuotaRulesPrincipalTypeEnumLowerCase = map[string]ListQuotaRulesPrincipalTypeEnum{ + "file_system_level": ListQuotaRulesPrincipalTypeFileSystemLevel, + "default_group": ListQuotaRulesPrincipalTypeDefaultGroup, + "default_user": ListQuotaRulesPrincipalTypeDefaultUser, + "individual_group": ListQuotaRulesPrincipalTypeIndividualGroup, + "individual_user": ListQuotaRulesPrincipalTypeIndividualUser, +} + +// GetListQuotaRulesPrincipalTypeEnumValues Enumerates the set of values for ListQuotaRulesPrincipalTypeEnum +func GetListQuotaRulesPrincipalTypeEnumValues() []ListQuotaRulesPrincipalTypeEnum { + values := make([]ListQuotaRulesPrincipalTypeEnum, 0) + for _, v := range mappingListQuotaRulesPrincipalTypeEnum { + values = append(values, v) + } + return values +} + +// GetListQuotaRulesPrincipalTypeEnumStringValues Enumerates the set of values in String for ListQuotaRulesPrincipalTypeEnum +func GetListQuotaRulesPrincipalTypeEnumStringValues() []string { + return []string{ + "FILE_SYSTEM_LEVEL", + "DEFAULT_GROUP", + "DEFAULT_USER", + "INDIVIDUAL_GROUP", + "INDIVIDUAL_USER", + } +} + +// GetMappingListQuotaRulesPrincipalTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListQuotaRulesPrincipalTypeEnum(val string) (ListQuotaRulesPrincipalTypeEnum, bool) { + enum, ok := mappingListQuotaRulesPrincipalTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListQuotaRulesSortOrderEnum Enum with underlying type: string +type ListQuotaRulesSortOrderEnum string + +// Set of constants representing the allowable values for ListQuotaRulesSortOrderEnum +const ( + ListQuotaRulesSortOrderAsc ListQuotaRulesSortOrderEnum = "ASC" + ListQuotaRulesSortOrderDesc ListQuotaRulesSortOrderEnum = "DESC" +) + +var mappingListQuotaRulesSortOrderEnum = map[string]ListQuotaRulesSortOrderEnum{ + "ASC": ListQuotaRulesSortOrderAsc, + "DESC": ListQuotaRulesSortOrderDesc, +} + +var mappingListQuotaRulesSortOrderEnumLowerCase = map[string]ListQuotaRulesSortOrderEnum{ + "asc": ListQuotaRulesSortOrderAsc, + "desc": ListQuotaRulesSortOrderDesc, +} + +// GetListQuotaRulesSortOrderEnumValues Enumerates the set of values for ListQuotaRulesSortOrderEnum +func GetListQuotaRulesSortOrderEnumValues() []ListQuotaRulesSortOrderEnum { + values := make([]ListQuotaRulesSortOrderEnum, 0) + for _, v := range mappingListQuotaRulesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListQuotaRulesSortOrderEnumStringValues Enumerates the set of values in String for ListQuotaRulesSortOrderEnum +func GetListQuotaRulesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListQuotaRulesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListQuotaRulesSortOrderEnum(val string) (ListQuotaRulesSortOrderEnum, bool) { + enum, ok := mappingListQuotaRulesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replication_targets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replication_targets_request_response.go index b2198900b8..3cf6d36f28 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replication_targets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replication_targets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplicationTargets.go.html to see an example of how to use ListReplicationTargetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplicationTargets.go.html to see an example of how to use ListReplicationTargetsRequest. type ListReplicationTargetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,14 +29,14 @@ type ListReplicationTargetsRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Filter results by the specified lifecycle state. Must be a valid @@ -47,7 +47,7 @@ type ListReplicationTargetsRequest struct { // Example: `My resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -112,7 +112,7 @@ func (request ListReplicationTargetsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListReplicationTargetsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -129,7 +129,7 @@ type ListReplicationTargetsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replications_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replications_request_response.go index 5ddf9c398c..53e9159b1a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replications_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_replications_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplications.go.html to see an example of how to use ListReplicationsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListReplications.go.html to see an example of how to use ListReplicationsRequest. type ListReplicationsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The name of the availability domain. @@ -29,14 +29,14 @@ type ListReplicationsRequest struct { // or items to return in a paginated "List" call. // 1 is the minimum, 4096 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `500` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Filter results by the specified lifecycle state. Must be a valid @@ -47,7 +47,7 @@ type ListReplicationsRequest struct { // Example: `My resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` @@ -66,7 +66,7 @@ type ListReplicationsRequest struct { // If you need to contact Oracle about a particular request, please provide the request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. FileSystemId *string `mandatory:"false" contributesTo:"query" name:"fileSystemId"` // Metadata about the request. This information will not be transmitted to the service, but @@ -115,7 +115,7 @@ func (request ListReplicationsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListReplicationsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -132,7 +132,7 @@ type ListReplicationsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_snapshots_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_snapshots_request_response.go index 1b896654fa..e9e2084ab0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_snapshots_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/list_snapshots_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,39 +15,39 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListSnapshots.go.html to see an example of how to use ListSnapshotsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ListSnapshots.go.html to see an example of how to use ListSnapshotsRequest. type ListSnapshotsRequest struct { // For list pagination. The maximum number of results per page, // or items to return in a paginated "List" call. // 1 is the minimum, 100 is the maximum. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `100` Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response // header from the previous "List" call. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Filter results by the specified lifecycle state. Must be a valid // state for the resource type. LifecycleState ListSnapshotsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` - // Filter results by OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for + // Filter results by OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for // the resouce type. Id *string `mandatory:"false" contributesTo:"query" name:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy // that is used to create the snapshots. FilesystemSnapshotPolicyId *string `mandatory:"false" contributesTo:"query" name:"filesystemSnapshotPolicyId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"false" contributesTo:"query" name:"fileSystemId"` // The sort order to use, either 'asc' or 'desc', where 'asc' is @@ -102,7 +102,7 @@ func (request ListSnapshotsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListSnapshotsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -119,7 +119,7 @@ type ListSnapshotsResponse struct { // For list pagination. When this header appears in the response, // additional pages of results remain. // For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target.go index ea4973ae80..2e48a4bff3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -21,7 +21,7 @@ import ( // referenced export set. type MountTarget struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the mount target. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -29,7 +29,7 @@ type MountTarget struct { // Example: `My mount target` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. Id *string `mandatory:"true" json:"id"` // Additional information about the current 'lifecycleState'. @@ -41,7 +41,7 @@ type MountTarget struct { // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds []string `mandatory:"true" json:"privateIpIds"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. SubnetId *string `mandatory:"true" json:"subnetId"` // The date and time the mount target was created, expressed @@ -54,7 +54,7 @@ type MountTarget struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated export set. Controls what file + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated export set. Controls what file // systems will be exported through Network File System (NFS) protocol on this // mount target. ExportSetId *string `mandatory:"false" json:"exportSetId"` @@ -64,10 +64,10 @@ type MountTarget struct { LdapIdmap *LdapIdmap `mandatory:"false" json:"ldapIdmap"` - // A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target. + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this mount target. // A maximum of 5 is allowed. // Setting this to an empty array after the list is created removes the mount target from all NSGs. - // For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). NsgIds []string `mandatory:"false" json:"nsgIds"` Kerberos *Kerberos `mandatory:"false" json:"kerberos"` @@ -93,14 +93,24 @@ type MountTarget struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` } func (m MountTarget) String() string { @@ -120,7 +130,7 @@ func (m MountTarget) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IdmapType: %s. Supported values are: %s.", m.IdmapType, strings.Join(GetMountTargetIdmapTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target_summary.go index 1e2ce1dd60..c00c623a19 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/mount_target_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // MountTargetSummary Summary information for the specified mount target. type MountTargetSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the mount target. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -27,7 +27,7 @@ type MountTargetSummary struct { // Example: `My mount target` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. Id *string `mandatory:"true" json:"id"` // The current state of the mount target. @@ -36,7 +36,7 @@ type MountTargetSummary struct { // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds []string `mandatory:"true" json:"privateIpIds"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. SubnetId *string `mandatory:"true" json:"subnetId"` // The date and time the mount target was created, expressed @@ -49,15 +49,15 @@ type MountTargetSummary struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated export set. Controls what file + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated export set. Controls what file // systems will be exported using Network File System (NFS) protocol on // this mount target. ExportSetId *string `mandatory:"false" json:"exportSetId"` - // A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target. + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this mount target. // A maximum of 5 is allowed. // Setting this to an empty array after the list is created removes the mount target from all NSGs. - // For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). NsgIds []string `mandatory:"false" json:"nsgIds"` // The date and time the mount target current billing cycle will end, expressed in @@ -82,14 +82,24 @@ type MountTargetSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` } func (m MountTargetSummary) String() string { @@ -106,7 +116,7 @@ func (m MountTargetSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go index feb2cc8065..3f70f54480 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -21,10 +21,10 @@ import ( // An outbound connector contains all the information needed to connect, authenticate, and gain authorization to perform the account's required functions. type OutboundConnector interface { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. GetCompartmentId() *string - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. GetId() *string // The current state of this outbound connector. @@ -50,14 +50,18 @@ type OutboundConnector interface { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + GetSystemTags() map[string]map[string]interface{} } type outboundconnector struct { @@ -66,6 +70,7 @@ type outboundconnector struct { Locks []ResourceLock `mandatory:"false" json:"locks"` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` CompartmentId *string `mandatory:"true" json:"compartmentId"` Id *string `mandatory:"true" json:"id"` LifecycleState OutboundConnectorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` @@ -94,6 +99,7 @@ func (m *outboundconnector) UnmarshalJSON(data []byte) error { m.Locks = s.Model.Locks m.FreeformTags = s.Model.FreeformTags m.DefinedTags = s.Model.DefinedTags + m.SystemTags = s.Model.SystemTags m.ConnectorType = s.Model.ConnectorType return err @@ -113,7 +119,7 @@ func (m *outboundconnector) UnmarshalPolymorphicJSON(data []byte) (interface{}, err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for OutboundConnector: %s.", m.ConnectorType) + common.Logf("Received unsupported enum value for OutboundConnector: %s.", m.ConnectorType) return *m, nil } } @@ -138,6 +144,11 @@ func (m outboundconnector) GetDefinedTags() map[string]map[string]interface{} { return m.DefinedTags } +// GetSystemTags returns SystemTags +func (m outboundconnector) GetSystemTags() map[string]map[string]interface{} { + return m.SystemTags +} + // GetCompartmentId returns CompartmentId func (m outboundconnector) GetCompartmentId() *string { return m.CompartmentId @@ -177,7 +188,7 @@ func (m outboundconnector) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go index 4e99ad99eb..5e1d6d2b31 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -20,10 +20,10 @@ import ( // OutboundConnectorSummary Summary information for an outbound connector. type OutboundConnectorSummary interface { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the outbound connector. GetCompartmentId() *string - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. GetId() *string // The current state of this outbound connector. @@ -49,14 +49,18 @@ type OutboundConnectorSummary interface { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + GetSystemTags() map[string]map[string]interface{} } type outboundconnectorsummary struct { @@ -65,6 +69,7 @@ type outboundconnectorsummary struct { Locks []ResourceLock `mandatory:"false" json:"locks"` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` CompartmentId *string `mandatory:"true" json:"compartmentId"` Id *string `mandatory:"true" json:"id"` LifecycleState OutboundConnectorSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"` @@ -93,6 +98,7 @@ func (m *outboundconnectorsummary) UnmarshalJSON(data []byte) error { m.Locks = s.Model.Locks m.FreeformTags = s.Model.FreeformTags m.DefinedTags = s.Model.DefinedTags + m.SystemTags = s.Model.SystemTags m.ConnectorType = s.Model.ConnectorType return err @@ -112,7 +118,7 @@ func (m *outboundconnectorsummary) UnmarshalPolymorphicJSON(data []byte) (interf err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for OutboundConnectorSummary: %s.", m.ConnectorType) + common.Logf("Received unsupported enum value for OutboundConnectorSummary: %s.", m.ConnectorType) return *m, nil } } @@ -137,6 +143,11 @@ func (m outboundconnectorsummary) GetDefinedTags() map[string]map[string]interfa return m.DefinedTags } +// GetSystemTags returns SystemTags +func (m outboundconnectorsummary) GetSystemTags() map[string]map[string]interface{} { + return m.SystemTags +} + // GetCompartmentId returns CompartmentId func (m outboundconnectorsummary) GetCompartmentId() *string { return m.CompartmentId @@ -176,7 +187,7 @@ func (m outboundconnectorsummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/pause_filesystem_snapshot_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/pause_filesystem_snapshot_policy_request_response.go index ed055a261b..e230ab0f92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/pause_filesystem_snapshot_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/pause_filesystem_snapshot_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.go.html to see an example of how to use PauseFilesystemSnapshotPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/PauseFilesystemSnapshotPolicy.go.html to see an example of how to use PauseFilesystemSnapshotPolicyRequest. type PauseFilesystemSnapshotPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request PauseFilesystemSnapshotPolicyRequest) RetryPolicy() *common.RetryP func (request PauseFilesystemSnapshotPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule.go new file mode 100644 index 0000000000..f91d62a3de --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule.go @@ -0,0 +1,131 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage API +// +// Use the File Storage service API to manage file systems, mount targets, and snapshots. +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// QuotaRule A rule that can restrict the logical space that a user or group can consume in a file system. +type QuotaRule struct { + + // The identifier of the quota rule. It is the base64 encoded string of the tuple . + Id *string `mandatory:"true" json:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file System. + FileSystemId *string `mandatory:"true" json:"fileSystemId"` + + // Whether the quota rule will be enforced. + // If `isHardQuota` is true, the quota rule is enforced so that the write is blocked if usage + // exceeds the hard quota limit. + // If `isHardQuota` is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated. + IsHardQuota *bool `mandatory:"true" json:"isHardQuota"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `UserXYZ's quota` + DisplayName *string `mandatory:"true" json:"displayName"` + + // The value of the quota rule in gigabytes. + QuotaLimitInGigabytes *int `mandatory:"true" json:"quotaLimitInGigabytes"` + + // The date and time the quota rule was created, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` + + // The date and time the quota rule was last updated, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"` + + // The type of the owner of this quota rule and usage. + PrincipalType QuotaRulePrincipalTypeEnum `mandatory:"false" json:"principalType,omitempty"` + + // An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to + // identify a user or group to manage access control. + PrincipalId *int `mandatory:"false" json:"principalId"` +} + +func (m QuotaRule) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m QuotaRule) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if _, ok := GetMappingQuotaRulePrincipalTypeEnum(string(m.PrincipalType)); !ok && m.PrincipalType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PrincipalType: %s. Supported values are: %s.", m.PrincipalType, strings.Join(GetQuotaRulePrincipalTypeEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// QuotaRulePrincipalTypeEnum Enum with underlying type: string +type QuotaRulePrincipalTypeEnum string + +// Set of constants representing the allowable values for QuotaRulePrincipalTypeEnum +const ( + QuotaRulePrincipalTypeFileSystemLevel QuotaRulePrincipalTypeEnum = "FILE_SYSTEM_LEVEL" + QuotaRulePrincipalTypeDefaultGroup QuotaRulePrincipalTypeEnum = "DEFAULT_GROUP" + QuotaRulePrincipalTypeDefaultUser QuotaRulePrincipalTypeEnum = "DEFAULT_USER" + QuotaRulePrincipalTypeIndividualGroup QuotaRulePrincipalTypeEnum = "INDIVIDUAL_GROUP" + QuotaRulePrincipalTypeIndividualUser QuotaRulePrincipalTypeEnum = "INDIVIDUAL_USER" +) + +var mappingQuotaRulePrincipalTypeEnum = map[string]QuotaRulePrincipalTypeEnum{ + "FILE_SYSTEM_LEVEL": QuotaRulePrincipalTypeFileSystemLevel, + "DEFAULT_GROUP": QuotaRulePrincipalTypeDefaultGroup, + "DEFAULT_USER": QuotaRulePrincipalTypeDefaultUser, + "INDIVIDUAL_GROUP": QuotaRulePrincipalTypeIndividualGroup, + "INDIVIDUAL_USER": QuotaRulePrincipalTypeIndividualUser, +} + +var mappingQuotaRulePrincipalTypeEnumLowerCase = map[string]QuotaRulePrincipalTypeEnum{ + "file_system_level": QuotaRulePrincipalTypeFileSystemLevel, + "default_group": QuotaRulePrincipalTypeDefaultGroup, + "default_user": QuotaRulePrincipalTypeDefaultUser, + "individual_group": QuotaRulePrincipalTypeIndividualGroup, + "individual_user": QuotaRulePrincipalTypeIndividualUser, +} + +// GetQuotaRulePrincipalTypeEnumValues Enumerates the set of values for QuotaRulePrincipalTypeEnum +func GetQuotaRulePrincipalTypeEnumValues() []QuotaRulePrincipalTypeEnum { + values := make([]QuotaRulePrincipalTypeEnum, 0) + for _, v := range mappingQuotaRulePrincipalTypeEnum { + values = append(values, v) + } + return values +} + +// GetQuotaRulePrincipalTypeEnumStringValues Enumerates the set of values in String for QuotaRulePrincipalTypeEnum +func GetQuotaRulePrincipalTypeEnumStringValues() []string { + return []string{ + "FILE_SYSTEM_LEVEL", + "DEFAULT_GROUP", + "DEFAULT_USER", + "INDIVIDUAL_GROUP", + "INDIVIDUAL_USER", + } +} + +// GetMappingQuotaRulePrincipalTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingQuotaRulePrincipalTypeEnum(val string) (QuotaRulePrincipalTypeEnum, bool) { + enum, ok := mappingQuotaRulePrincipalTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule_summary.go new file mode 100644 index 0000000000..337491776d --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/quota_rule_summary.go @@ -0,0 +1,140 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage API +// +// Use the File Storage service API to manage file systems, mount targets, and snapshots. +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// QuotaRuleSummary Summary information for a principal's usage and quota rule. +type QuotaRuleSummary struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" json:"fileSystemId"` + + // The type of the owner of this quota rule and usage. + PrincipalType QuotaRuleSummaryPrincipalTypeEnum `mandatory:"true" json:"principalType"` + + // An identifier for the user or the group associated with quota rule and usage. UNIX-like operating systems use this integer value to + // identify a user or group to manage access control. + PrincipalId *int `mandatory:"true" json:"principalId"` + + // The usage value corresponding to this principal in bytes. + UsageInBytes *int64 `mandatory:"true" json:"usageInBytes"` + + // The identifier of the quota rule. It is the base64 encoded string of the tuple . + Id *string `mandatory:"false" json:"id"` + + // Whether the quota rule will be enforced. + // If `isHardQuota` is true, the quota rule is enforced so that the write is blocked if usage + // exceeds the hard quota limit. + // If `isHardQuota` is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated. + IsHardQuota *bool `mandatory:"false" json:"isHardQuota"` + + // A user-friendly name. It does not have to be unique, and it is changeable. + // Avoid entering confidential information. + // Example: `UserXYZ's quota` + DisplayName *string `mandatory:"false" json:"displayName"` + + // The value of the quota rule in gigabytes. + QuotaLimitInGigabytes *int `mandatory:"false" json:"quotaLimitInGigabytes"` + + // The date and time the quota rule was created, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2016-08-25T21:10:29.600Z` + TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` + + // The date and time the quota rule was last updated, expressed in + // RFC 3339 (https://tools.ietf.org/rfc/rfc3339) timestamp format. + // Example: `2016-08-25T21:10:29.600Z` + TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` + + // An option to display only the users or groups that violate their quota rules. + // If `areViolatorsOnly` is false, results report all the quota and usage. + // If `areViolatorsOnly` is true, results only report the quota and usage for + // the users or groups that violate their quota rules. + AreViolatorsOnly *bool `mandatory:"false" json:"areViolatorsOnly"` +} + +func (m QuotaRuleSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m QuotaRuleSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingQuotaRuleSummaryPrincipalTypeEnum(string(m.PrincipalType)); !ok && m.PrincipalType != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PrincipalType: %s. Supported values are: %s.", m.PrincipalType, strings.Join(GetQuotaRuleSummaryPrincipalTypeEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// QuotaRuleSummaryPrincipalTypeEnum Enum with underlying type: string +type QuotaRuleSummaryPrincipalTypeEnum string + +// Set of constants representing the allowable values for QuotaRuleSummaryPrincipalTypeEnum +const ( + QuotaRuleSummaryPrincipalTypeFileSystemLevel QuotaRuleSummaryPrincipalTypeEnum = "FILE_SYSTEM_LEVEL" + QuotaRuleSummaryPrincipalTypeDefaultGroup QuotaRuleSummaryPrincipalTypeEnum = "DEFAULT_GROUP" + QuotaRuleSummaryPrincipalTypeDefaultUser QuotaRuleSummaryPrincipalTypeEnum = "DEFAULT_USER" + QuotaRuleSummaryPrincipalTypeIndividualGroup QuotaRuleSummaryPrincipalTypeEnum = "INDIVIDUAL_GROUP" + QuotaRuleSummaryPrincipalTypeIndividualUser QuotaRuleSummaryPrincipalTypeEnum = "INDIVIDUAL_USER" +) + +var mappingQuotaRuleSummaryPrincipalTypeEnum = map[string]QuotaRuleSummaryPrincipalTypeEnum{ + "FILE_SYSTEM_LEVEL": QuotaRuleSummaryPrincipalTypeFileSystemLevel, + "DEFAULT_GROUP": QuotaRuleSummaryPrincipalTypeDefaultGroup, + "DEFAULT_USER": QuotaRuleSummaryPrincipalTypeDefaultUser, + "INDIVIDUAL_GROUP": QuotaRuleSummaryPrincipalTypeIndividualGroup, + "INDIVIDUAL_USER": QuotaRuleSummaryPrincipalTypeIndividualUser, +} + +var mappingQuotaRuleSummaryPrincipalTypeEnumLowerCase = map[string]QuotaRuleSummaryPrincipalTypeEnum{ + "file_system_level": QuotaRuleSummaryPrincipalTypeFileSystemLevel, + "default_group": QuotaRuleSummaryPrincipalTypeDefaultGroup, + "default_user": QuotaRuleSummaryPrincipalTypeDefaultUser, + "individual_group": QuotaRuleSummaryPrincipalTypeIndividualGroup, + "individual_user": QuotaRuleSummaryPrincipalTypeIndividualUser, +} + +// GetQuotaRuleSummaryPrincipalTypeEnumValues Enumerates the set of values for QuotaRuleSummaryPrincipalTypeEnum +func GetQuotaRuleSummaryPrincipalTypeEnumValues() []QuotaRuleSummaryPrincipalTypeEnum { + values := make([]QuotaRuleSummaryPrincipalTypeEnum, 0) + for _, v := range mappingQuotaRuleSummaryPrincipalTypeEnum { + values = append(values, v) + } + return values +} + +// GetQuotaRuleSummaryPrincipalTypeEnumStringValues Enumerates the set of values in String for QuotaRuleSummaryPrincipalTypeEnum +func GetQuotaRuleSummaryPrincipalTypeEnumStringValues() []string { + return []string{ + "FILE_SYSTEM_LEVEL", + "DEFAULT_GROUP", + "DEFAULT_USER", + "INDIVIDUAL_GROUP", + "INDIVIDUAL_USER", + } +} + +// GetMappingQuotaRuleSummaryPrincipalTypeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingQuotaRuleSummaryPrincipalTypeEnum(val string) (QuotaRuleSummaryPrincipalTypeEnum, bool) { + enum, ok := mappingQuotaRuleSummaryPrincipalTypeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_export_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_export_lock_request_response.go index 9eb7c4c578..49aa72c3de 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_export_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_export_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveExportLock.go.html to see an example of how to use RemoveExportLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveExportLock.go.html to see an example of how to use RemoveExportLockRequest. type RemoveExportLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export. ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveExportLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveExportLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_file_system_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_file_system_lock_request_response.go index ca3ebc5e43..da105763c8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_file_system_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_file_system_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFileSystemLock.go.html to see an example of how to use RemoveFileSystemLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFileSystemLock.go.html to see an example of how to use RemoveFileSystemLockRequest. type RemoveFileSystemLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveFileSystemLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveFileSystemLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_filesystem_snapshot_policy_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_filesystem_snapshot_policy_lock_request_response.go index 5cb3d00bd8..246e8526cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_filesystem_snapshot_policy_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_filesystem_snapshot_policy_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFilesystemSnapshotPolicyLock.go.html to see an example of how to use RemoveFilesystemSnapshotPolicyLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveFilesystemSnapshotPolicyLock.go.html to see an example of how to use RemoveFilesystemSnapshotPolicyLockRequest. type RemoveFilesystemSnapshotPolicyLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveFilesystemSnapshotPolicyLockRequest) RetryPolicy() *common.R func (request RemoveFilesystemSnapshotPolicyLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_mount_target_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_mount_target_lock_request_response.go index d2a4204175..48230200aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_mount_target_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_mount_target_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveMountTargetLock.go.html to see an example of how to use RemoveMountTargetLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveMountTargetLock.go.html to see an example of how to use RemoveMountTargetLockRequest. type RemoveMountTargetLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveMountTargetLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveMountTargetLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_outbound_connector_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_outbound_connector_lock_request_response.go index b6693a29a7..6ec12864f4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_outbound_connector_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_outbound_connector_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveOutboundConnectorLock.go.html to see an example of how to use RemoveOutboundConnectorLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveOutboundConnectorLock.go.html to see an example of how to use RemoveOutboundConnectorLockRequest. type RemoveOutboundConnectorLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveOutboundConnectorLockRequest) RetryPolicy() *common.RetryPol func (request RemoveOutboundConnectorLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_replication_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_replication_lock_request_response.go index cc4b29ac48..a04a7a00e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_replication_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_replication_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveReplicationLock.go.html to see an example of how to use RemoveReplicationLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveReplicationLock.go.html to see an example of how to use RemoveReplicationLockRequest. type RemoveReplicationLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveReplicationLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveReplicationLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_snapshot_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_snapshot_lock_request_response.go index 64e3626df2..0d9ffaea8c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_snapshot_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/remove_snapshot_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveSnapshotLock.go.html to see an example of how to use RemoveSnapshotLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/RemoveSnapshotLock.go.html to see an example of how to use RemoveSnapshotLockRequest. type RemoveSnapshotLockRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"` // The details to be updated for the RemoveLock. @@ -72,7 +72,7 @@ func (request RemoveSnapshotLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveSnapshotLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication.go index 612c367e67..479678542e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -21,13 +21,13 @@ import ( // located in another availability domain in the same or different region. // The replication retrieves the delta of data between two snapshots of a source file system // and sends it to the associated `ReplicationTarget`, which applies it to the target -// file system. For more information, see File System Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). +// file system. For more information, see File System Replication (https://docs.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). type Replication struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. Id *string `mandatory:"true" json:"id"` // The current lifecycle state of the replication. @@ -43,13 +43,13 @@ type Replication struct { // Example: `2021-01-04T20:01:29.100Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source file system. SourceId *string `mandatory:"true" json:"sourceId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the target file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. TargetId *string `mandatory:"true" json:"targetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the ReplicationTarget. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ReplicationTarget. ReplicationTargetId *string `mandatory:"true" json:"replicationTargetId"` // The availability domain that contains the replication. May be unset as a blank or `NULL` value. @@ -59,7 +59,7 @@ type Replication struct { // Duration in minutes between replication snapshots. ReplicationInterval *int64 `mandatory:"false" json:"replicationInterval"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last snapshot that has been replicated completely. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last snapshot that has been replicated completely. // Empty if the copy of the initial snapshot is not complete. LastSnapshotId *string `mandatory:"false" json:"lastSnapshotId"` @@ -82,14 +82,18 @@ type Replication struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` } func (m Replication) String() string { @@ -109,7 +113,7 @@ func (m Replication) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DeltaStatus: %s. Supported values are: %s.", m.DeltaStatus, strings.Join(GetReplicationDeltaStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_estimate.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_estimate.go index 2eecfdf928..339647eb60 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_estimate.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_estimate.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -46,7 +46,7 @@ func (m ReplicationEstimate) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_summary.go index 5504f28c75..f8680a4b85 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ReplicationSummary Summary information for a replication. type ReplicationSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. Id *string `mandatory:"true" json:"id"` // The current state of this replication. @@ -40,7 +40,7 @@ type ReplicationSummary struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Locks associated with this resource. @@ -51,15 +51,19 @@ type ReplicationSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + // Additional information about the current `lifecycleState`. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` @@ -83,7 +87,7 @@ func (m ReplicationSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target.go index 029232bc0c..15ecf5b97c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -24,13 +24,13 @@ import ( // All operations (except `DELETE`) must be done using the associated replication resource. // Deleting a `ReplicationTarget` allows the target file system to be exported. // Deleting a `ReplicationTarget` does not delete the associated `Replication` resource, but places it in a `FAILED` state. -// For more information, see File System Replication (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). +// For more information, see File System Replication (https://docs.oracle.com/iaas/Content/File/Tasks/FSreplication.htm). type ReplicationTarget struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. Id *string `mandatory:"true" json:"id"` // The current state of this replication. @@ -45,13 +45,13 @@ type ReplicationTarget struct { // Example: `2021-01-04T20:01:29.100Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of source filesystem. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of source filesystem. SourceId *string `mandatory:"true" json:"sourceId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of target filesystem. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. TargetId *string `mandatory:"true" json:"targetId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of replication. ReplicationId *string `mandatory:"true" json:"replicationId"` // The availability domain the replication resource is in. May be unset @@ -59,7 +59,7 @@ type ReplicationTarget struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last snapshot snapshot which was completely applied to the target file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last snapshot snapshot which was completely applied to the target file system. // Empty while the initial snapshot is being applied. LastSnapshotId *string `mandatory:"false" json:"lastSnapshotId"` @@ -76,15 +76,19 @@ type ReplicationTarget struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + // Additional information about the current `lifecycleState`. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` } @@ -106,7 +110,7 @@ func (m ReplicationTarget) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DeltaStatus: %s. Supported values are: %s.", m.DeltaStatus, strings.Join(GetReplicationTargetDeltaStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target_summary.go index 7d1b447568..e634817759 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/replication_target_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ReplicationTargetSummary Summary information for replication target. type ReplicationTargetSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication target. Id *string `mandatory:"true" json:"id"` // The current state of this replication. @@ -38,20 +38,24 @@ type ReplicationTargetSummary struct { // Example: `Uocm:PHX-AD-1` AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the replication. CompartmentId *string `mandatory:"false" json:"compartmentId"` // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + // Additional information about the current 'lifecycleState'. LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"` @@ -75,7 +79,7 @@ func (m ReplicationTargetSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/resource_lock.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/resource_lock.go index 36a36b7adf..73b4942598 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/resource_lock.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/resource_lock.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -49,7 +49,7 @@ func (m ResourceLock) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_details.go index 5e66852fcb..d810ef1875 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -35,7 +35,7 @@ func (m ScheduleDowngradeShapeMountTargetDetails) ValidateEnumValue() (bool, err errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_request_response.go index e8cdb2eb03..a265522619 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/schedule_downgrade_shape_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ScheduleDowngradeShapeMountTarget.go.html to see an example of how to use ScheduleDowngradeShapeMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ScheduleDowngradeShapeMountTarget.go.html to see an example of how to use ScheduleDowngradeShapeMountTargetRequest. type ScheduleDowngradeShapeMountTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // Details for changing the shape of mount target. @@ -72,7 +72,7 @@ func (request ScheduleDowngradeShapeMountTargetRequest) RetryPolicy() *common.Re func (request ScheduleDowngradeShapeMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot.go index ca62c6f2df..0c096b0a6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,11 +19,11 @@ import ( // Snapshot A point-in-time snapshot of a specified file system. type Snapshot struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot // was created. FileSystemId *string `mandatory:"true" json:"fileSystemId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. Id *string `mandatory:"true" json:"id"` // The current state of the snapshot. @@ -52,14 +52,14 @@ type Snapshot struct { // Example: `2020-08-25T21:10:29.600Z` SnapshotTime *common.SDKTime `mandatory:"false" json:"snapshotTime"` - // An OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) identifying the parent from which this snapshot was cloned. + // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) identifying the parent from which this snapshot was cloned. // If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value. // If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). ProvenanceId *string `mandatory:"false" json:"provenanceId"` // Specifies whether the snapshot has been cloned. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). IsCloneSource *bool `mandatory:"false" json:"isCloneSource"` // Additional information about the current `lifecycleState`. @@ -70,19 +70,23 @@ type Snapshot struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` + // The time when this snapshot will be deleted. ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that created this snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy that created this snapshot. FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"` } @@ -103,7 +107,7 @@ func (m Snapshot) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SnapshotType: %s. Supported values are: %s.", m.SnapshotType, strings.Join(GetSnapshotSnapshotTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_schedule.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_schedule.go index e2daa3da78..a96413eac4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_schedule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_schedule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -83,7 +83,7 @@ func (m SnapshotSchedule) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Month: %s. Supported values are: %s.", m.Month, strings.Join(GetSnapshotScheduleMonthEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_summary.go index a25e128306..ba075569a3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/snapshot_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,10 +19,10 @@ import ( // SnapshotSummary Summary information for a snapshot. type SnapshotSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot was created. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system from which the snapshot was created. FileSystemId *string `mandatory:"true" json:"fileSystemId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. Id *string `mandatory:"true" json:"id"` // The current state of the snapshot. @@ -57,14 +57,14 @@ type SnapshotSummary struct { // The time when this snapshot will be deleted. ExpirationTime *common.SDKTime `mandatory:"false" json:"expirationTime"` - // An OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) identifying the parent from which this snapshot was cloned. + // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) identifying the parent from which this snapshot was cloned. // If this snapshot was not cloned, then the `provenanceId` is the same as the snapshot `id` value. // If this snapshot was cloned, then the `provenanceId` value is the parent's `provenanceId`. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). ProvenanceId *string `mandatory:"false" json:"provenanceId"` // Specifies whether the snapshot has been cloned. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). IsCloneSource *bool `mandatory:"false" json:"isCloneSource"` // Additional information about the current `lifecycleState`. @@ -72,14 +72,18 @@ type SnapshotSummary struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // System tags for this resource. + // System tags are applied to resources by internal OCI services. + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` } func (m SnapshotSummary) String() string { @@ -99,7 +103,7 @@ func (m SnapshotSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SnapshotType: %s. Supported values are: %s.", m.SnapshotType, strings.Join(GetSnapshotSummarySnapshotTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/source_details.go index 1a81f5bc00..8b04744bb9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/source_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,12 +19,12 @@ import ( // SourceDetails Source information for the file system. type SourceDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). ParentFileSystemId *string `mandatory:"false" json:"parentFileSystemId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the source snapshot used to create a cloned file system. - // See Cloning a File System (https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source snapshot used to create a cloned file system. + // See Cloning a File System (https://docs.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). SourceSnapshotId *string `mandatory:"false" json:"sourceSnapshotId"` } @@ -39,7 +39,7 @@ func (m SourceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_details.go new file mode 100644 index 0000000000..03832a9898 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_details.go @@ -0,0 +1,40 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage API +// +// Use the File Storage service API to manage file systems, mount targets, and snapshots. +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// ToggleQuotaRulesDetails Details for enabling or disabling quota enforcement in the file system. +type ToggleQuotaRulesDetails struct { + + // Specifies the enforcement of quota rules on the file system. + AreQuotaRulesEnabled *bool `mandatory:"true" json:"areQuotaRulesEnabled"` +} + +func (m ToggleQuotaRulesDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m ToggleQuotaRulesDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_request_response.go new file mode 100644 index 0000000000..b535a3bce4 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/toggle_quota_rules_request_response.go @@ -0,0 +1,106 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ToggleQuotaRulesRequest wrapper for the ToggleQuotaRules operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ToggleQuotaRules.go.html to see an example of how to use ToggleQuotaRulesRequest. +type ToggleQuotaRulesRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // Details for toggling quota enforcement in the file system. + ToggleQuotaRulesDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // A token that uniquely identifies a request so it can be retried in case of a timeout or + // server error without risk of executing that same action again. Retry tokens expire after 24 + // hours, but can be invalidated before then due to conflicting operations. For example, if a resource + // has been deleted and purged from the system, then a retry of the original creation request + // might be rejected. + OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ToggleQuotaRulesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ToggleQuotaRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ToggleQuotaRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ToggleQuotaRulesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ToggleQuotaRulesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ToggleQuotaRulesResponse wrapper for the ToggleQuotaRules operation +type ToggleQuotaRulesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // Unique Oracle-assigned identifier for the request. If + // you need to contact Oracle about a particular request, + // please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response ToggleQuotaRulesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ToggleQuotaRulesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/unpause_filesystem_snapshot_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/unpause_filesystem_snapshot_policy_request_response.go index 407ad8c133..8dc0369d70 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/unpause_filesystem_snapshot_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/unpause_filesystem_snapshot_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.go.html to see an example of how to use UnpauseFilesystemSnapshotPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UnpauseFilesystemSnapshotPolicy.go.html to see an example of how to use UnpauseFilesystemSnapshotPolicyRequest. type UnpauseFilesystemSnapshotPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -72,7 +72,7 @@ func (request UnpauseFilesystemSnapshotPolicyRequest) RetryPolicy() *common.Retr func (request UnpauseFilesystemSnapshotPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_details.go index 593aefa408..bf3d630860 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -39,7 +39,7 @@ func (m UpdateExportDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_request_response.go index 6e44994da2..ae25364b42 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExport.go.html to see an example of how to use UpdateExportRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExport.go.html to see an example of how to use UpdateExportRequest. type UpdateExportRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export. ExportId *string `mandatory:"true" contributesTo:"path" name:"exportId"` // Details object for updating an export. @@ -75,7 +75,7 @@ func (request UpdateExportRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateExportRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_details.go index 0a1265f9ed..ef014fa874 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -58,7 +58,7 @@ func (m UpdateExportSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_request_response.go index 2f1a9ba687..96648a7842 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_export_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExportSet.go.html to see an example of how to use UpdateExportSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateExportSet.go.html to see an example of how to use UpdateExportSetRequest. type UpdateExportSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the export set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the export set. ExportSetId *string `mandatory:"true" contributesTo:"path" name:"exportSetId"` // Details object for updating an export set. @@ -72,7 +72,7 @@ func (request UpdateExportSetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateExportSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_details.go index 0da1d83018..d34fc19ede 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -26,23 +26,23 @@ type UpdateFileSystemDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Key Management master encryption key to associate with the specified file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Key Management master encryption key to associate with the specified file system. // If this value is empty, the Update operation will remove the associated key, if there is one, from the file system. // (The file system will continue to be encrypted, but with an encryption key managed by Oracle.) // If updating to a new Key Management key, the old key must remain enabled so that files previously encrypted continue - // to be accessible. For more information, see Overview of Key Management (https://docs.cloud.oracle.com/Content/KeyManagement/Concepts/keyoverview.htm). + // to be accessible. For more information, see Overview of Key Management (https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm). KmsKeyId *string `mandatory:"false" json:"kmsKeyId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which // controls the frequency of snapshot creation and retention period of the taken snapshots. // If string is empty, the policy reference (if any) would be removed. FilesystemSnapshotPolicyId *string `mandatory:"false" json:"filesystemSnapshotPolicyId"` @@ -59,7 +59,7 @@ func (m UpdateFileSystemDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_request_response.go index e09c5aa108..fde6e9dde8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFileSystem.go.html to see an example of how to use UpdateFileSystemRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFileSystem.go.html to see an example of how to use UpdateFileSystemRequest. type UpdateFileSystemRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` // Details object for updating a file system. @@ -75,7 +75,7 @@ func (request UpdateFileSystemRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateFileSystemRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_details.go index feb8cd09ea..df9ee8ce5f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -38,12 +38,12 @@ type UpdateFilesystemSnapshotPolicyDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -59,7 +59,7 @@ func (m UpdateFilesystemSnapshotPolicyDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_request_response.go index d3d09bc855..1139ff7625 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_filesystem_snapshot_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.go.html to see an example of how to use UpdateFilesystemSnapshotPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateFilesystemSnapshotPolicy.go.html to see an example of how to use UpdateFilesystemSnapshotPolicyRequest. type UpdateFilesystemSnapshotPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system snapshot policy. FilesystemSnapshotPolicyId *string `mandatory:"true" contributesTo:"path" name:"filesystemSnapshotPolicyId"` // Details object for updating a file system snapshot policy. @@ -75,7 +75,7 @@ func (request UpdateFilesystemSnapshotPolicyRequest) RetryPolicy() *common.Retry func (request UpdateFilesystemSnapshotPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_kerberos_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_kerberos_details.go index 812b4f6594..2f6b23be79 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_kerberos_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_kerberos_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -22,7 +22,7 @@ type UpdateKerberosDetails struct { // Kerberos realm that this mount target will join. KerberosRealm *string `mandatory:"false" json:"kerberosRealm"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. KeyTabSecretId *string `mandatory:"false" json:"keyTabSecretId"` // Version of the keytab secret in the Vault to use. @@ -46,7 +46,7 @@ func (m UpdateKerberosDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_ldap_idmap_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_ldap_idmap_details.go index 3197ab6552..c2c8e950e5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_ldap_idmap_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_ldap_idmap_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -39,10 +39,10 @@ type UpdateLdapIdmapDetails struct { // Example: `CN=Group,DC=domain,DC=com` GroupSearchBase *string `mandatory:"false" json:"groupSearchBase"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the first connector to use to communicate with the LDAP server. OutboundConnector1Id *string `mandatory:"false" json:"outboundConnector1Id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second connector to use to communicate with the LDAP server. OutboundConnector2Id *string `mandatory:"false" json:"outboundConnector2Id"` } @@ -60,7 +60,7 @@ func (m UpdateLdapIdmapDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SchemaType: %s. Supported values are: %s.", m.SchemaType, strings.Join(GetUpdateLdapIdmapDetailsSchemaTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -70,15 +70,18 @@ type UpdateLdapIdmapDetailsSchemaTypeEnum string // Set of constants representing the allowable values for UpdateLdapIdmapDetailsSchemaTypeEnum const ( - UpdateLdapIdmapDetailsSchemaTypeRfc2307 UpdateLdapIdmapDetailsSchemaTypeEnum = "RFC2307" + UpdateLdapIdmapDetailsSchemaTypeRfc2307 UpdateLdapIdmapDetailsSchemaTypeEnum = "RFC2307" + UpdateLdapIdmapDetailsSchemaTypeRfc2307bis UpdateLdapIdmapDetailsSchemaTypeEnum = "RFC2307BIS" ) var mappingUpdateLdapIdmapDetailsSchemaTypeEnum = map[string]UpdateLdapIdmapDetailsSchemaTypeEnum{ - "RFC2307": UpdateLdapIdmapDetailsSchemaTypeRfc2307, + "RFC2307": UpdateLdapIdmapDetailsSchemaTypeRfc2307, + "RFC2307BIS": UpdateLdapIdmapDetailsSchemaTypeRfc2307bis, } var mappingUpdateLdapIdmapDetailsSchemaTypeEnumLowerCase = map[string]UpdateLdapIdmapDetailsSchemaTypeEnum{ - "rfc2307": UpdateLdapIdmapDetailsSchemaTypeRfc2307, + "rfc2307": UpdateLdapIdmapDetailsSchemaTypeRfc2307, + "rfc2307bis": UpdateLdapIdmapDetailsSchemaTypeRfc2307bis, } // GetUpdateLdapIdmapDetailsSchemaTypeEnumValues Enumerates the set of values for UpdateLdapIdmapDetailsSchemaTypeEnum @@ -94,6 +97,7 @@ func GetUpdateLdapIdmapDetailsSchemaTypeEnumValues() []UpdateLdapIdmapDetailsSch func GetUpdateLdapIdmapDetailsSchemaTypeEnumStringValues() []string { return []string{ "RFC2307", + "RFC2307BIS", } } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_details.go index b96dd9ee9f..20810a0436 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -29,24 +29,30 @@ type UpdateMountTargetDetails struct { LdapIdmap *UpdateLdapIdmapDetails `mandatory:"false" json:"ldapIdmap"` - // A list of Network Security Group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this mount target. + // A list of Network Security Group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this mount target. // A maximum of 5 is allowed. // Setting this to an empty array after the list is created removes the mount target from all NSGs. - // For more information about NSGs, see Security Rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securityrules.htm). + // For more information about NSGs, see Security Rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). NsgIds []string `mandatory:"false" json:"nsgIds"` Kerberos *UpdateKerberosDetails `mandatory:"false" json:"kerberos"` // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Security attributes (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels + // for a resource that can be referenced in a Zero Trust Packet Routing (https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) + // (ZPR) policy to control access to ZPR-supported resources. + // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value": "42", "mode": "enforce"}}}` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` } func (m UpdateMountTargetDetails) String() string { @@ -63,7 +69,7 @@ func (m UpdateMountTargetDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IdmapType: %s. Supported values are: %s.", m.IdmapType, strings.Join(GetMountTargetIdmapTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_request_response.go index 3eae72f885..0c59058bd6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateMountTarget.go.html to see an example of how to use UpdateMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateMountTarget.go.html to see an example of how to use UpdateMountTargetRequest. type UpdateMountTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // Details object for updating a mount target. @@ -75,7 +75,7 @@ func (request UpdateMountTargetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_details.go index 3e957ca3d9..bef45826a1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -26,12 +26,12 @@ type UpdateOutboundConnectorDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -47,7 +47,7 @@ func (m UpdateOutboundConnectorDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_request_response.go index 66fbb7ca42..ab6dac1ee6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_outbound_connector_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateOutboundConnector.go.html to see an example of how to use UpdateOutboundConnectorRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateOutboundConnector.go.html to see an example of how to use UpdateOutboundConnectorRequest. type UpdateOutboundConnectorRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the outbound connector. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the outbound connector. OutboundConnectorId *string `mandatory:"true" contributesTo:"path" name:"outboundConnectorId"` // Details object for updating a outbound connector. @@ -75,7 +75,7 @@ func (request UpdateOutboundConnectorRequest) RetryPolicy() *common.RetryPolicy func (request UpdateOutboundConnectorRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_details.go new file mode 100644 index 0000000000..5c95b1c4fe --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_details.go @@ -0,0 +1,45 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage API +// +// Use the File Storage service API to manage file systems, mount targets, and snapshots. +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// UpdateQuotaRuleDetails Details for updating a quota rule in the file system. +type UpdateQuotaRuleDetails struct { + + // A user-friendly name that the quota rule will be renamed to. It does not have to be unique. + // Avoid entering confidential information. + // Example: `UserXYZ's quota` + DisplayName *string `mandatory:"false" json:"displayName"` + + // An updated value of the quota rule in gigabytes. + QuotaLimitInGigabytes *int `mandatory:"false" json:"quotaLimitInGigabytes"` +} + +func (m UpdateQuotaRuleDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m UpdateQuotaRuleDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_request_response.go new file mode 100644 index 0000000000..c5fe11d516 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_quota_rule_request_response.go @@ -0,0 +1,108 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package filestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// UpdateQuotaRuleRequest wrapper for the UpdateQuotaRule operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateQuotaRule.go.html to see an example of how to use UpdateQuotaRuleRequest. +type UpdateQuotaRuleRequest struct { + + // Details for editing a quota rule. + UpdateQuotaRuleDetails `contributesTo:"body"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system. + FileSystemId *string `mandatory:"true" contributesTo:"path" name:"fileSystemId"` + + // The identifier of the quota rule. It is the base64 encoded string of the tuple . + QuotaRuleId *string `mandatory:"true" contributesTo:"path" name:"quotaRuleId"` + + // For optimistic concurrency control. In the PUT or DELETE call + // for a resource, set the `if-match` parameter to the value of the + // etag from a previous GET or POST response for that resource. + // The resource will be updated or deleted only if the etag you + // provide matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique identifier for the request. + // If you need to contact Oracle about a particular request, please provide the request ID. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request UpdateQuotaRuleRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request UpdateQuotaRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request UpdateQuotaRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request UpdateQuotaRuleRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request UpdateQuotaRuleRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// UpdateQuotaRuleResponse wrapper for the UpdateQuotaRule operation +type UpdateQuotaRuleResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The QuotaRule instance + QuotaRule `presentIn:"body"` + + // For optimistic concurrency control. See `if-match`. + Etag *string `presentIn:"header" name:"etag"` + + // Unique Oracle-assigned identifier for the request. If + // you need to contact Oracle about a particular request, + // please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response UpdateQuotaRuleResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response UpdateQuotaRuleResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_details.go index 577eb8010b..380ed4eaa6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -30,12 +30,12 @@ type UpdateReplicationDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -51,7 +51,7 @@ func (m UpdateReplicationDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_request_response.go index 8cc15818f5..c07de846aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_replication_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateReplication.go.html to see an example of how to use UpdateReplicationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateReplication.go.html to see an example of how to use UpdateReplicationRequest. type UpdateReplicationRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the replication. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the replication. ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"` // Details object for updating a replication. @@ -75,7 +75,7 @@ func (request UpdateReplicationRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateReplicationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_details.go index 13b1e1841b..7c0b7ba2b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -21,12 +21,12 @@ type UpdateSnapshotDetails struct { // Free-form tags for this resource. Each tag is a simple key-value pair // with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -46,7 +46,7 @@ func (m UpdateSnapshotDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_request_response.go index cf958813b8..a0a10e9558 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/update_snapshot_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateSnapshot.go.html to see an example of how to use UpdateSnapshotRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpdateSnapshot.go.html to see an example of how to use UpdateSnapshotRequest. type UpdateSnapshotRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the snapshot. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot. SnapshotId *string `mandatory:"true" contributesTo:"path" name:"snapshotId"` // Details object for updating a snapshot. @@ -75,7 +75,7 @@ func (request UpdateSnapshotRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateSnapshotRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_details.go index 2540522308..d8dd1a8ff9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -35,7 +35,7 @@ func (m UpgradeShapeMountTargetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_request_response.go index aef83d3fff..d69e017d62 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/upgrade_shape_mount_target_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpgradeShapeMountTarget.go.html to see an example of how to use UpgradeShapeMountTargetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/UpgradeShapeMountTarget.go.html to see an example of how to use UpgradeShapeMountTargetRequest. type UpgradeShapeMountTargetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target. MountTargetId *string `mandatory:"true" contributesTo:"path" name:"mountTargetId"` // Details for changing the shape of mount target. @@ -72,7 +72,7 @@ func (request UpgradeShapeMountTargetRequest) RetryPolicy() *common.RetryPolicy func (request UpgradeShapeMountTargetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_details.go index 99c6acfd51..f2c0db12d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -19,7 +19,7 @@ import ( // ValidateKeyTabsDetails Validate keytabs request details. type ValidateKeyTabsDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the mount target whose keytabs are to be validated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target whose keytabs are to be validated. MountTargetId *string `mandatory:"false" json:"mountTargetId"` KeyTabSecretDetails *KeyTabSecretDetails `mandatory:"false" json:"keyTabSecretDetails"` @@ -36,7 +36,7 @@ func (m ValidateKeyTabsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_request_response.go index c6768cd93f..6709bfdef3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ValidateKeyTabs.go.html to see an example of how to use ValidateKeyTabsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/filestorage/ValidateKeyTabs.go.html to see an example of how to use ValidateKeyTabsRequest. type ValidateKeyTabsRequest struct { // Keytab secret details or mount target ID for validating keytabs. @@ -62,7 +62,7 @@ func (request ValidateKeyTabsRequest) RetryPolicy() *common.RetryPolicy { func (request ValidateKeyTabsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_response_details.go index 82610681a2..8184e6fccf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_response_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/validate_key_tabs_response_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // File Storage API // // Use the File Storage service API to manage file systems, mount targets, and snapshots. -// For more information, see Overview of File Storage (https://docs.cloud.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). +// For more information, see Overview of File Storage (https://docs.oracle.com/iaas/Content/File/Concepts/filestorageoverview.htm). // package filestorage @@ -37,7 +37,7 @@ func (m ValidateKeyTabsResponseDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_domain_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_domain_request_response.go index 943c9cfa99..ae7832d86e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_domain_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_domain_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateDomain.go.html to see an example of how to use ActivateDomainRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateDomain.go.html to see an example of how to use ActivateDomainRequest. type ActivateDomainRequest struct { // The OCID of the identity domain. @@ -74,7 +74,7 @@ func (request ActivateDomainRequest) RetryPolicy() *common.RetryPolicy { func (request ActivateDomainRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ActivateDomainResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_mfa_totp_device_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_mfa_totp_device_request_response.go index f13ae687a2..de5b05d98c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_mfa_totp_device_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/activate_mfa_totp_device_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateMfaTotpDevice.go.html to see an example of how to use ActivateMfaTotpDeviceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateMfaTotpDevice.go.html to see an example of how to use ActivateMfaTotpDeviceRequest. type ActivateMfaTotpDeviceRequest struct { // The OCID of the user. @@ -80,7 +80,7 @@ func (request ActivateMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy { func (request ActivateMfaTotpDeviceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_lock_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_lock_details.go index e832227290..ecd67f39ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_lock_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_lock_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -43,7 +43,7 @@ func (m AddLockDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_default_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_default_lock_request_response.go index f547b3c667..13fa16f9d7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_default_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_default_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagDefaultLock.go.html to see an example of how to use AddTagDefaultLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagDefaultLock.go.html to see an example of how to use AddTagDefaultLockRequest. type AddTagDefaultLockRequest struct { // The OCID of the tag default. @@ -77,7 +77,7 @@ func (request AddTagDefaultLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddTagDefaultLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_namespace_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_namespace_lock_request_response.go index 160eabc550..ceb10c73ab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_namespace_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_tag_namespace_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagNamespaceLock.go.html to see an example of how to use AddTagNamespaceLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagNamespaceLock.go.html to see an example of how to use AddTagNamespaceLockRequest. type AddTagNamespaceLockRequest struct { // The OCID of the tag namespace. @@ -77,7 +77,7 @@ func (request AddTagNamespaceLockRequest) RetryPolicy() *common.RetryPolicy { func (request AddTagNamespaceLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_details.go index a20545b966..746845efcb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m AddUserToGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_request_response.go index ea5db08875..bd025bf216 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/add_user_to_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddUserToGroup.go.html to see an example of how to use AddUserToGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddUserToGroup.go.html to see an example of how to use AddUserToGroupRequest. type AddUserToGroupRequest struct { // Request object for adding a user to a group. @@ -69,7 +69,7 @@ func (request AddUserToGroupRequest) RetryPolicy() *common.RetryPolicy { func (request AddUserToGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/allowed_domain_license_type_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/allowed_domain_license_type_summary.go index fbbc485db3..e0eca332f0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/allowed_domain_license_type_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/allowed_domain_license_type_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -41,7 +41,7 @@ func (m AllowedDomainLicenseTypeSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/api_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/api_key.go index 1e1536fe43..58aa95bacd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/api_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/api_key.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,10 +18,10 @@ import ( // ApiKey A PEM-format RSA credential for securing requests to the Oracle Cloud Infrastructure REST API. Also known // as an *API signing key*. Specifically, this is the public key from the key pair. The private key remains with // the user calling the API. For information about generating a key pair -// in the required PEM format, see Required Keys and OCIDs (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm). +// in the required PEM format, see Required Keys and OCIDs (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm). // **Important:** This is **not** the SSH key for accessing compute instances. // Each user can have a maximum of three API signing keys. -// For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm). +// For more information about user credentials, see User Credentials (https://docs.oracle.com/iaas/Content/Identity/Concepts/usercredentials.htm). type ApiKey struct { // An Oracle-assigned identifier for the key, in this format: @@ -63,7 +63,7 @@ func (m ApiKey) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetApiKeyLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/assemble_effective_tag_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/assemble_effective_tag_set_request_response.go index b6c75e7bf3..8d524dc7ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/assemble_effective_tag_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/assemble_effective_tag_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AssembleEffectiveTagSet.go.html to see an example of how to use AssembleEffectiveTagSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AssembleEffectiveTagSet.go.html to see an example of how to use AssembleEffectiveTagSetRequest. type AssembleEffectiveTagSetRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -68,7 +68,7 @@ func (request AssembleEffectiveTagSetRequest) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetTagDefaultSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/auth_token.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/auth_token.go index 8e7185c391..441df926bc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/auth_token.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/auth_token.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -21,7 +21,7 @@ import ( // The auth token is associated with the user's Console login. Auth tokens never expire. A user can have up to two // auth tokens at a time. // **Note:** The token is always an Oracle-generated string; you can't change it to a string of your choice. -// For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/access/managing-user-credentials.htm). +// For more information, see Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/access/managing-user-credentials.htm). type AuthToken struct { // The auth token. The value is available only in the response for `CreateAuthToken`, and not @@ -69,7 +69,7 @@ func (m AuthToken) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetAuthTokenLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/authentication_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/authentication_policy.go index dd26a437d0..c34cacad83 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/authentication_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/authentication_policy.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m AuthenticationPolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/availability_domain.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/availability_domain.go index 212b7b3cc0..4785bf4cb6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/availability_domain.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/availability_domain.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,7 +17,7 @@ import ( // AvailabilityDomain One or more isolated, fault-tolerant Oracle data centers that host cloud resources such as instances, volumes, // and subnets. A region contains several Availability Domains. For more information, see -// Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). type AvailabilityDomain struct { // The name of the Availability Domain. @@ -41,7 +41,7 @@ func (m AvailabilityDomain) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/base_tag_definition_validator.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/base_tag_definition_validator.go index b0f913165f..27506f87dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/base_tag_definition_validator.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/base_tag_definition_validator.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,13 +18,13 @@ import ( // BaseTagDefinitionValidator Validates a definedTag value. Each validator performs validation steps in addition to the standard // validation for definedTag values. For more information, see -// Limits on Tags (https://docs.cloud.oracle.com/Content/Tagging/Concepts/taggingoverview.htm#limits). +// Limits on Tags (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm#limits). // If you define a validator after a value has been set for a defined tag, then any updates that // attempt to change the value must pass the additional validation defined by the current rule. // Previously set values (even those that would fail the current validation) are not updated. You can // still update other attributes to resources that contain a non-valid defined tag. // To clear the validator call UpdateTag with -// DefaultTagDefinitionValidator (https://docs.cloud.oracle.com/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). +// DefaultTagDefinitionValidator (https://docs.oracle.com/iaas/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). type BaseTagDefinitionValidator interface { } @@ -67,7 +67,7 @@ func (m *basetagdefinitionvalidator) UnmarshalPolymorphicJSON(data []byte) (inte err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for BaseTagDefinitionValidator: %s.", m.ValidatorType) + common.Logf("Received unsupported enum value for BaseTagDefinitionValidator: %s.", m.ValidatorType) return *m, nil } } @@ -83,7 +83,7 @@ func (m basetagdefinitionvalidator) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource.go index 3a5e422096..75bed04c99 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -60,7 +60,7 @@ func (m BulkActionResource) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type.go index 890aafdccb..3ecfbc81a3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ func (m BulkActionResourceType) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type_collection.go index 0388d75306..ff75800b49 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_action_resource_type_collection.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m BulkActionResourceTypeCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_details.go index 668cdb03e1..003ffa917e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m BulkDeleteResourcesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_request_response.go index 818490d4b3..442e1765aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_resources_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteResources.go.html to see an example of how to use BulkDeleteResourcesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteResources.go.html to see an example of how to use BulkDeleteResourcesRequest. type BulkDeleteResourcesRequest struct { // The OCID of the compartment. @@ -72,7 +72,7 @@ func (request BulkDeleteResourcesRequest) RetryPolicy() *common.RetryPolicy { func (request BulkDeleteResourcesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -87,7 +87,7 @@ type BulkDeleteResourcesResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_details.go index bd0f045567..5e116d0a20 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m BulkDeleteTagsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_request_response.go index 2253831699..bc02ffdc09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_delete_tags_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteTags.go.html to see an example of how to use BulkDeleteTagsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteTags.go.html to see an example of how to use BulkDeleteTagsRequest. type BulkDeleteTagsRequest struct { // Request object for deleting tags in bulk. @@ -72,7 +72,7 @@ func (request BulkDeleteTagsRequest) RetryPolicy() *common.RetryPolicy { func (request BulkDeleteTagsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -87,7 +87,7 @@ type BulkDeleteTagsResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_operation_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_operation_details.go index 16249ed3ba..6f605204de 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_operation_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_operation_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -27,7 +27,7 @@ type BulkEditOperationDetails struct { OperationType BulkEditOperationDetailsOperationTypeEnum `mandatory:"true" json:"operationType"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"` } @@ -46,7 +46,7 @@ func (m BulkEditOperationDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_resource.go index 2d9152aded..943b2017dc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_resource.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m BulkEditResource) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_details.go index e1d9bb05db..92ed8f40c8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m BulkEditTagsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_request_response.go index 4d2ef3c969..e2b76bb7ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkEditTags.go.html to see an example of how to use BulkEditTagsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkEditTags.go.html to see an example of how to use BulkEditTagsRequest. type BulkEditTagsRequest struct { // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -69,7 +69,7 @@ func (request BulkEditTagsRequest) RetryPolicy() *common.RetryPolicy { func (request BulkEditTagsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -84,7 +84,7 @@ type BulkEditTagsResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type.go index 89fd9c80e8..ff5dfb6d6c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -24,8 +24,8 @@ type BulkEditTagsResourceType struct { // The metadata keys required to identify the resource. // For example, for a bucket, the value of `metadataKeys` will be "namespaceName", "bucketName". // This information will match the API documentation. - // See UpdateBucket (https://docs.cloud.oracle.com/api/#/en/objectstorage/latest/Bucket/UpdateBucket) and - // DeleteBucket (https://docs.cloud.oracle.com/api/#/en/objectstorage/latest/Bucket/DeleteBucket). + // See UpdateBucket (https://docs.oracle.com/iaas/api/#/en/objectstorage/latest/Bucket/UpdateBucket) and + // DeleteBucket (https://docs.oracle.com/iaas/api/#/en/objectstorage/latest/Bucket/DeleteBucket). MetadataKeys []string `mandatory:"false" json:"metadataKeys"` } @@ -40,7 +40,7 @@ func (m BulkEditTagsResourceType) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type_collection.go index 93e36747fd..41f70fadf2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_edit_tags_resource_type_collection.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m BulkEditTagsResourceTypeCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_details.go index 86af0c59b8..60a44a3139 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -21,7 +21,7 @@ type BulkMoveResourcesDetails struct { // The resources to be moved. Resources []BulkActionResource `mandatory:"true" json:"resources"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment // into which to move the resources. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` } @@ -37,7 +37,7 @@ func (m BulkMoveResourcesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_request_response.go index 907f19a08e..bf079e2a43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/bulk_move_resources_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkMoveResources.go.html to see an example of how to use BulkMoveResourcesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkMoveResources.go.html to see an example of how to use BulkMoveResourcesRequest. type BulkMoveResourcesRequest struct { // The OCID of the compartment. @@ -72,7 +72,7 @@ func (request BulkMoveResourcesRequest) RetryPolicy() *common.RetryPolicy { func (request BulkMoveResourcesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -87,7 +87,7 @@ type BulkMoveResourcesResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/cascade_delete_tag_namespace_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/cascade_delete_tag_namespace_request_response.go index ab8b555fa6..c1aafb7a5d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/cascade_delete_tag_namespace_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/cascade_delete_tag_namespace_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CascadeDeleteTagNamespace.go.html to see an example of how to use CascadeDeleteTagNamespaceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CascadeDeleteTagNamespace.go.html to see an example of how to use CascadeDeleteTagNamespaceRequest. type CascadeDeleteTagNamespaceRequest struct { // The OCID of the tag namespace. @@ -77,7 +77,7 @@ func (request CascadeDeleteTagNamespaceRequest) RetryPolicy() *common.RetryPolic func (request CascadeDeleteTagNamespaceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CascadeDeleteTagNamespaceResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_details.go index e4954a04a6..0cb01d807c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,7 +18,7 @@ import ( // ChangeDomainCompartmentDetails The representation of ChangeDomainCompartmentDetails type ChangeDomainCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment // into which to move the identity domain. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -34,7 +34,7 @@ func (m ChangeDomainCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_request_response.go index 9d754b1748..7d6b03aae1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainCompartment.go.html to see an example of how to use ChangeDomainCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainCompartment.go.html to see an example of how to use ChangeDomainCompartmentRequest. type ChangeDomainCompartmentRequest struct { // The OCID of the identity domain. @@ -77,7 +77,7 @@ func (request ChangeDomainCompartmentRequest) RetryPolicy() *common.RetryPolicy func (request ChangeDomainCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ChangeDomainCompartmentResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_details.go index e011137052..ee0cfc3251 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m ChangeDomainLicenseTypeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_request_response.go index 086c6cfa3f..b8b0657d57 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_domain_license_type_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainLicenseType.go.html to see an example of how to use ChangeDomainLicenseTypeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainLicenseType.go.html to see an example of how to use ChangeDomainLicenseTypeRequest. type ChangeDomainLicenseTypeRequest struct { // The OCID of the identity domain. @@ -77,7 +77,7 @@ func (request ChangeDomainLicenseTypeRequest) RetryPolicy() *common.RetryPolicy func (request ChangeDomainLicenseTypeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ChangeDomainLicenseTypeResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_detail.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_detail.go index c51af22b78..9f6b878dad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_detail.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_detail.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m ChangeTagNamespaceCompartmentDetail) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_request_response.go index 2210d99a62..d3f166baad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tag_namespace_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeTagNamespaceCompartment.go.html to see an example of how to use ChangeTagNamespaceCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeTagNamespaceCompartment.go.html to see an example of how to use ChangeTagNamespaceCompartmentRequest. type ChangeTagNamespaceCompartmentRequest struct { // The OCID of the tag namespace. @@ -75,7 +75,7 @@ func (request ChangeTagNamespaceCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangeTagNamespaceCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tas_domain_license_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tas_domain_license_type_details.go index b363973c95..6006fc0277 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tas_domain_license_type_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/change_tas_domain_license_type_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m ChangeTasDomainLicenseTypeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/compartment.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/compartment.go index 5bd0665fab..4d44711293 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/compartment.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/compartment.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -20,15 +20,15 @@ import ( // of measuring usage and billing, access (through the use of IAM Service policies), and isolation (separating the // resources for one project or business unit from another). A common approach is to create a compartment for each // major part of your organization. For more information, see -// Overview of IAM (https://docs.cloud.oracle.com//Content/Identity/getstarted/identity-domains.htm) and also -// Setting Up Your Tenancy (https://docs.cloud.oracle.com/Content/GSG/Concepts/settinguptenancy.htm). +// Overview of IAM (https://docs.oracle.com/iaas//Content/Identity/getstarted/identity-domains.htm) and also +// Setting Up Your Tenancy (https://docs.oracle.com/iaas/Content/GSG/Concepts/settinguptenancy.htm). // To place a resource in a compartment, simply specify the compartment ID in the "Create" request object when // initially creating the resource. For example, to launch an instance into a particular compartment, specify // that compartment's OCID in the `LaunchInstance` request. You can't move an existing resource from one // compartment to another. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values // using the API. type Compartment struct { @@ -63,12 +63,12 @@ type Compartment struct { IsAccessible *bool `mandatory:"false" json:"isAccessible"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -87,7 +87,7 @@ func (m Compartment) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_api_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_api_key_details.go index 97d1e66d00..5bd10c147a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_api_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_api_key_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m CreateApiKeyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_details.go index bb8fafa383..6fc5380370 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m CreateAuthTokenDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_request_response.go index f0bf197920..27c7af7b28 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_auth_token_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateAuthToken.go.html to see an example of how to use CreateAuthTokenRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateAuthToken.go.html to see an example of how to use CreateAuthTokenRequest. type CreateAuthTokenRequest struct { // Request object for creating a new auth token. @@ -72,7 +72,7 @@ func (request CreateAuthTokenRequest) RetryPolicy() *common.RetryPolicy { func (request CreateAuthTokenRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_details.go index 8b48a24904..d367a45039 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -29,12 +29,12 @@ type CreateCompartmentDetails struct { Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -50,7 +50,7 @@ func (m CreateCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_request_response.go index 4ce59e4f52..a71724f98d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCompartment.go.html to see an example of how to use CreateCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCompartment.go.html to see an example of how to use CreateCompartmentRequest. type CreateCompartmentRequest struct { // Request object for creating a new compartment. @@ -69,7 +69,7 @@ func (request CreateCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request CreateCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_details.go index c69eb19de2..7b8db0a0b4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m CreateCustomerSecretKeyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_request_response.go index 216d935712..d2a66f9733 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_customer_secret_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCustomerSecretKey.go.html to see an example of how to use CreateCustomerSecretKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCustomerSecretKey.go.html to see an example of how to use CreateCustomerSecretKeyRequest. type CreateCustomerSecretKeyRequest struct { // Request object for creating a new secret key. @@ -72,7 +72,7 @@ func (request CreateCustomerSecretKeyRequest) RetryPolicy() *common.RetryPolicy func (request CreateCustomerSecretKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_details.go index 94c2b59f24..bb292eef9c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ func (m CreateDbCredentialDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_request_response.go index 44f5a9e0dd..483f7ea1aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_db_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDbCredential.go.html to see an example of how to use CreateDbCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDbCredential.go.html to see an example of how to use CreateDbCredentialRequest. type CreateDbCredentialRequest struct { // Request object for creating a new DB credential with the user. @@ -72,7 +72,7 @@ func (request CreateDbCredentialRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDbCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_details.go index b04fc0817f..aa08887486 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -27,7 +27,7 @@ type CreateDomainDetails struct { // The identity domain description. You can have an empty description. Description *string `mandatory:"true" json:"description"` - // The region's name identifier. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // The region's name identifier. See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` HomeRegion *string `mandatory:"true" json:"homeRegion"` @@ -58,12 +58,12 @@ type CreateDomainDetails struct { IsPrimaryEmailRequired *bool `mandatory:"false" json:"isPrimaryEmailRequired"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -79,7 +79,7 @@ func (m CreateDomainDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_request_response.go index e16f0ad1a6..8ac2a5bc64 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_domain_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDomain.go.html to see an example of how to use CreateDomainRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDomain.go.html to see an example of how to use CreateDomainRequest. type CreateDomainRequest struct { // The request object for creating a new identity domain. @@ -69,7 +69,7 @@ func (request CreateDomainRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDomainRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -84,7 +84,7 @@ type CreateDomainResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_details.go index 455f29691c..6d27fe76c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -26,7 +26,7 @@ type CreateDynamicGroupDetails struct { Name *string `mandatory:"true" json:"name"` // The matching rule to dynamically match an instance certificate to this dynamic group. - // For rule syntax, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/dynamicgroups/managingdynamicgroups.htm). + // For rule syntax, see Managing Dynamic Groups (https://docs.oracle.com/iaas/Content/Identity/dynamicgroups/managingdynamicgroups.htm). MatchingRule *string `mandatory:"true" json:"matchingRule"` // The description you assign to the group during creation. Does not have to be unique, and it's changeable. @@ -34,12 +34,12 @@ type CreateDynamicGroupDetails struct { Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -55,7 +55,7 @@ func (m CreateDynamicGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_request_response.go index 1ca4dde527..efaa87022c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_dynamic_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDynamicGroup.go.html to see an example of how to use CreateDynamicGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDynamicGroup.go.html to see an example of how to use CreateDynamicGroupRequest. type CreateDynamicGroupRequest struct { // Request object for creating a new dynamic group. @@ -69,7 +69,7 @@ func (request CreateDynamicGroupRequest) RetryPolicy() *common.RetryPolicy { func (request CreateDynamicGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_details.go index 92c71ab29b..e6bd69de89 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -30,12 +30,12 @@ type CreateGroupDetails struct { Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -51,7 +51,7 @@ func (m CreateGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_request_response.go index 3918e1571b..eabcf6f4e9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateGroup.go.html to see an example of how to use CreateGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateGroup.go.html to see an example of how to use CreateGroupRequest. type CreateGroupRequest struct { // Request object for creating a new group. @@ -69,7 +69,7 @@ func (request CreateGroupRequest) RetryPolicy() *common.RetryPolicy { func (request CreateGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go index 980d60b7ca..6118cbbc38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -38,12 +38,12 @@ type CreateIdentityProviderDetails interface { GetProductType() CreateIdentityProviderDetailsProductTypeEnum // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} } @@ -95,7 +95,7 @@ func (m *createidentityproviderdetails) UnmarshalPolymorphicJSON(data []byte) (i err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for CreateIdentityProviderDetails: %s.", m.Protocol) + common.Logf("Received unsupported enum value for CreateIdentityProviderDetails: %s.", m.Protocol) return *m, nil } } @@ -144,7 +144,7 @@ func (m createidentityproviderdetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_request_response.go index 402d75da54..783c73d0c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdentityProvider.go.html to see an example of how to use CreateIdentityProviderRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdentityProvider.go.html to see an example of how to use CreateIdentityProviderRequest. type CreateIdentityProviderRequest struct { // Request object for creating a new SAML2 identity provider. @@ -69,7 +69,7 @@ func (request CreateIdentityProviderRequest) RetryPolicy() *common.RetryPolicy { func (request CreateIdentityProviderRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_details.go index ec9f4cd525..91501ce665 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ func (m CreateIdpGroupMappingDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_request_response.go index 083c70e98a..4ed917cd43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_idp_group_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdpGroupMapping.go.html to see an example of how to use CreateIdpGroupMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdpGroupMapping.go.html to see an example of how to use CreateIdpGroupMappingRequest. type CreateIdpGroupMappingRequest struct { // Add a mapping from an SAML2.0 identity provider group to a BMC group. @@ -72,7 +72,7 @@ func (request CreateIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy { func (request CreateIdpGroupMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_mfa_totp_device_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_mfa_totp_device_request_response.go index bbce7a9a3b..adaf154ced 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_mfa_totp_device_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_mfa_totp_device_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateMfaTotpDevice.go.html to see an example of how to use CreateMfaTotpDeviceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateMfaTotpDevice.go.html to see an example of how to use CreateMfaTotpDeviceRequest. type CreateMfaTotpDeviceRequest struct { // The OCID of the user. @@ -69,7 +69,7 @@ func (request CreateMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy { func (request CreateMfaTotpDeviceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_details.go index d699c1cd55..2115c87172 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,12 +39,12 @@ type CreateNetworkSourceDetails struct { Services []string `mandatory:"false" json:"services"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -60,7 +60,7 @@ func (m CreateNetworkSourceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_request_response.go index 6326e44612..1a54655f40 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_network_source_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateNetworkSource.go.html to see an example of how to use CreateNetworkSourceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateNetworkSource.go.html to see an example of how to use CreateNetworkSourceRequest. type CreateNetworkSourceRequest struct { // Request object for creating a new network source. @@ -69,7 +69,7 @@ func (request CreateNetworkSourceRequest) RetryPolicy() *common.RetryPolicy { func (request CreateNetworkSourceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth2_client_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth2_client_credential_details.go index cd80dbafed..e943a5db0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth2_client_credential_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth2_client_credential_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m CreateOAuth2ClientCredentialDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth_client_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth_client_credential_request_response.go index 6abf1b5887..74f104250f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth_client_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_o_auth_client_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOAuthClientCredential.go.html to see an example of how to use CreateOAuthClientCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOAuthClientCredential.go.html to see an example of how to use CreateOAuthClientCredentialRequest. type CreateOAuthClientCredentialRequest struct { // The OCID of the user. @@ -72,7 +72,7 @@ func (request CreateOAuthClientCredentialRequest) RetryPolicy() *common.RetryPol func (request CreateOAuthClientCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_or_reset_u_i_password_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_or_reset_u_i_password_request_response.go index f6e678c5f8..a0b221cfdb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_or_reset_u_i_password_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_or_reset_u_i_password_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOrResetUIPassword.go.html to see an example of how to use CreateOrResetUIPasswordRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOrResetUIPassword.go.html to see an example of how to use CreateOrResetUIPasswordRequest. type CreateOrResetUIPasswordRequest struct { // The OCID of the user. @@ -69,7 +69,7 @@ func (request CreateOrResetUIPasswordRequest) RetryPolicy() *common.RetryPolicy func (request CreateOrResetUIPasswordRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_details.go index 7cd450243c..656171320a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -26,8 +26,8 @@ type CreatePolicyDetails struct { Name *string `mandatory:"true" json:"name"` // An array of policy statements written in the policy language. See - // How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm) and - // Common Policies (https://docs.cloud.oracle.com/Content/Identity/policiescommon/commonpolicies.htm). + // How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm) and + // Common Policies (https://docs.oracle.com/iaas/Content/Identity/policiescommon/commonpolicies.htm). Statements []string `mandatory:"true" json:"statements"` // The description you assign to the policy during creation. Does not have to be unique, and it's changeable. @@ -39,12 +39,12 @@ type CreatePolicyDetails struct { VersionDate *common.SDKDate `mandatory:"false" json:"versionDate"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -60,7 +60,7 @@ func (m CreatePolicyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_request_response.go index ee7f474bb6..4df2a85d63 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreatePolicy.go.html to see an example of how to use CreatePolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreatePolicy.go.html to see an example of how to use CreatePolicyRequest. type CreatePolicyRequest struct { // Request object for creating a new policy. @@ -69,7 +69,7 @@ func (request CreatePolicyRequest) RetryPolicy() *common.RetryPolicy { func (request CreatePolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_details.go index f1a6560383..3205602492 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,7 +18,7 @@ import ( // CreateRegionSubscriptionDetails The representation of CreateRegionSubscriptionDetails type CreateRegionSubscriptionDetails struct { - // The regions's key. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) for + // The regions's key. See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) for // the full list of supported 3-letter region codes. // Example: `PHX` RegionKey *string `mandatory:"true" json:"regionKey"` @@ -35,7 +35,7 @@ func (m CreateRegionSubscriptionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_request_response.go index b31efe302d..9aded1cd36 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_region_subscription_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateRegionSubscription.go.html to see an example of how to use CreateRegionSubscriptionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateRegionSubscription.go.html to see an example of how to use CreateRegionSubscriptionRequest. type CreateRegionSubscriptionRequest struct { // Request object for activate a new region. @@ -72,7 +72,7 @@ func (request CreateRegionSubscriptionRequest) RetryPolicy() *common.RetryPolicy func (request CreateRegionSubscriptionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_saml2_identity_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_saml2_identity_provider_details.go index 57a7ba3979..d5a7362aad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_saml2_identity_provider_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_saml2_identity_provider_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,12 +39,12 @@ type CreateSaml2IdentityProviderDetails struct { Metadata *string `mandatory:"true" json:"metadata"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -103,7 +103,7 @@ func (m CreateSaml2IdentityProviderDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ProductType: %s. Supported values are: %s.", m.ProductType, strings.Join(GetCreateIdentityProviderDetailsProductTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_details.go index 1223391a46..13abd6e87a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m CreateSmtpCredentialDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_request_response.go index 27d51f4314..b0252de188 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_smtp_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSmtpCredential.go.html to see an example of how to use CreateSmtpCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSmtpCredential.go.html to see an example of how to use CreateSmtpCredentialRequest. type CreateSmtpCredentialRequest struct { // Request object for creating a new SMTP credential with the user. @@ -72,7 +72,7 @@ func (request CreateSmtpCredentialRequest) RetryPolicy() *common.RetryPolicy { func (request CreateSmtpCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_details.go index 5e367129bf..6f7ae73034 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m CreateSwiftPasswordDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_request_response.go index 94716a5ce8..65716d43a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_swift_password_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSwiftPassword.go.html to see an example of how to use CreateSwiftPasswordRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSwiftPassword.go.html to see an example of how to use CreateSwiftPasswordRequest. type CreateSwiftPasswordRequest struct { // Request object for creating a new swift password. @@ -72,7 +72,7 @@ func (request CreateSwiftPasswordRequest) RetryPolicy() *common.RetryPolicy { func (request CreateSwiftPasswordRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_details.go index d54533a87b..8dc0a39723 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -50,7 +50,7 @@ func (m CreateTagDefaultDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_request_response.go index b212775cfd..a2b075647f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_default_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagDefault.go.html to see an example of how to use CreateTagDefaultRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagDefault.go.html to see an example of how to use CreateTagDefaultRequest. type CreateTagDefaultRequest struct { // Request object for creating a new tag default. @@ -69,7 +69,7 @@ func (request CreateTagDefaultRequest) RetryPolicy() *common.RetryPolicy { func (request CreateTagDefaultRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_details.go index 00c5440df1..fd1798e204 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -27,12 +27,12 @@ type CreateTagDetails struct { Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -53,7 +53,7 @@ func (m CreateTagDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_details.go index f6353dc6d4..b9443dfb08 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -28,12 +28,12 @@ type CreateTagNamespaceDetails struct { Description *string `mandatory:"true" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -52,7 +52,7 @@ func (m CreateTagNamespaceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_request_response.go index b509a179a6..d0b6fb6edd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_namespace_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagNamespace.go.html to see an example of how to use CreateTagNamespaceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagNamespace.go.html to see an example of how to use CreateTagNamespaceRequest. type CreateTagNamespaceRequest struct { // Request object for creating a new tag namespace. @@ -69,7 +69,7 @@ func (request CreateTagNamespaceRequest) RetryPolicy() *common.RetryPolicy { func (request CreateTagNamespaceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_request_response.go index f19472cbb6..4d1fa42257 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_tag_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTag.go.html to see an example of how to use CreateTagRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTag.go.html to see an example of how to use CreateTagRequest. type CreateTagRequest struct { // The OCID of the tag namespace. @@ -75,7 +75,7 @@ func (request CreateTagRequest) RetryPolicy() *common.RetryPolicy { func (request CreateTagRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_details.go index b4973195bd..ef9caa30d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,12 +34,12 @@ type CreateUserDetails struct { Email *string `mandatory:"false" json:"email"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -55,7 +55,7 @@ func (m CreateUserDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_request_response.go index cbae8dbdec..630fa36c7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_user_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateUser.go.html to see an example of how to use CreateUserRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateUser.go.html to see an example of how to use CreateUserRequest. type CreateUserRequest struct { // Request object for creating a new user. @@ -69,7 +69,7 @@ func (request CreateUserRequest) RetryPolicy() *common.RetryPolicy { func (request CreateUserRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key.go index b47b2dad6f..066bd6ac97 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -16,10 +16,10 @@ import ( ) // CustomerSecretKey A `CustomerSecretKey` is an Oracle-provided key for using the Object Storage Service's -// Amazon S3 compatible API (https://docs.cloud.oracle.com/Content/Object/Tasks/s3compatibleapi.htm). The key consists of a +// Amazon S3 compatible API (https://docs.oracle.com/iaas/Content/Object/Tasks/s3compatibleapi.htm). The key consists of a // secret key/access key pair. A user can have up to two secret keys at a time. // **Note:** The secret key is always an Oracle-generated string; you can't change it to a string of your choice. -// For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/access/managing-user-credentials.htm). +// For more information, see Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/access/managing-user-credentials.htm). type CustomerSecretKey struct { // The secret key. @@ -65,7 +65,7 @@ func (m CustomerSecretKey) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCustomerSecretKeyLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key_summary.go index 4ffbc4d279..dff4cea709 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/customer_secret_key_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -59,7 +59,7 @@ func (m CustomerSecretKeySummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetCustomerSecretKeySummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential.go index a8bdf1e1c1..90b3af6ddc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -56,7 +56,7 @@ func (m DbCredential) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDbCredentialLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential_summary.go index f8a0c8b7ca..e68fae0e9a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/db_credential_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -58,7 +58,7 @@ func (m DbCredentialSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetDbCredentialLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/deactivate_domain_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/deactivate_domain_request_response.go index 8728ab93fb..0e25088c1c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/deactivate_domain_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/deactivate_domain_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeactivateDomain.go.html to see an example of how to use DeactivateDomainRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeactivateDomain.go.html to see an example of how to use DeactivateDomainRequest. type DeactivateDomainRequest struct { // The OCID of the identity domain. @@ -74,7 +74,7 @@ func (request DeactivateDomainRequest) RetryPolicy() *common.RetryPolicy { func (request DeactivateDomainRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type DeactivateDomainResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/default_tag_definition_validator.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/default_tag_definition_validator.go index 43bc7dab14..4491e07ef6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/default_tag_definition_validator.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/default_tag_definition_validator.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m DefaultTagDefinitionValidator) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_api_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_api_key_request_response.go index 76049a1587..cb61a84202 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_api_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_api_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteApiKey.go.html to see an example of how to use DeleteApiKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteApiKey.go.html to see an example of how to use DeleteApiKeyRequest. type DeleteApiKeyRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteApiKeyRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteApiKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_auth_token_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_auth_token_request_response.go index 4bc4c27ead..c0af99b86f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_auth_token_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_auth_token_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteAuthToken.go.html to see an example of how to use DeleteAuthTokenRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteAuthToken.go.html to see an example of how to use DeleteAuthTokenRequest. type DeleteAuthTokenRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteAuthTokenRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteAuthTokenRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_compartment_request_response.go index 8e01e47b01..6b8ac118e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCompartment.go.html to see an example of how to use DeleteCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCompartment.go.html to see an example of how to use DeleteCompartmentRequest. type DeleteCompartmentRequest struct { // The OCID of the compartment. @@ -67,7 +67,7 @@ func (request DeleteCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,7 +82,7 @@ type DeleteCompartmentResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_customer_secret_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_customer_secret_key_request_response.go index 4d8edd75b1..ae6791e1c1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_customer_secret_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_customer_secret_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCustomerSecretKey.go.html to see an example of how to use DeleteCustomerSecretKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCustomerSecretKey.go.html to see an example of how to use DeleteCustomerSecretKeyRequest. type DeleteCustomerSecretKeyRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteCustomerSecretKeyRequest) RetryPolicy() *common.RetryPolicy func (request DeleteCustomerSecretKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_db_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_db_credential_request_response.go index 167e237ecf..a566fa124b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_db_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_db_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDbCredential.go.html to see an example of how to use DeleteDbCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDbCredential.go.html to see an example of how to use DeleteDbCredentialRequest. type DeleteDbCredentialRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteDbCredentialRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDbCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_domain_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_domain_request_response.go index a875782603..6d084f262d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_domain_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_domain_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDomain.go.html to see an example of how to use DeleteDomainRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDomain.go.html to see an example of how to use DeleteDomainRequest. type DeleteDomainRequest struct { // The OCID of the identity domain. @@ -67,7 +67,7 @@ func (request DeleteDomainRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDomainRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,7 +82,7 @@ type DeleteDomainResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_dynamic_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_dynamic_group_request_response.go index 553a002a42..92ff4bcbac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_dynamic_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_dynamic_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDynamicGroup.go.html to see an example of how to use DeleteDynamicGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDynamicGroup.go.html to see an example of how to use DeleteDynamicGroupRequest. type DeleteDynamicGroupRequest struct { // The OCID of the dynamic group. @@ -67,7 +67,7 @@ func (request DeleteDynamicGroupRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteDynamicGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_group_request_response.go index 461a89dd13..603e2482d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteGroup.go.html to see an example of how to use DeleteGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteGroup.go.html to see an example of how to use DeleteGroupRequest. type DeleteGroupRequest struct { // The OCID of the group. @@ -67,7 +67,7 @@ func (request DeleteGroupRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_identity_provider_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_identity_provider_request_response.go index ec20b404db..1dbc42903a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_identity_provider_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_identity_provider_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdentityProvider.go.html to see an example of how to use DeleteIdentityProviderRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdentityProvider.go.html to see an example of how to use DeleteIdentityProviderRequest. type DeleteIdentityProviderRequest struct { // The OCID of the identity provider. @@ -67,7 +67,7 @@ func (request DeleteIdentityProviderRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteIdentityProviderRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_idp_group_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_idp_group_mapping_request_response.go index 81ade7efb1..6071a3ca4e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_idp_group_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_idp_group_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdpGroupMapping.go.html to see an example of how to use DeleteIdpGroupMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdpGroupMapping.go.html to see an example of how to use DeleteIdpGroupMappingRequest. type DeleteIdpGroupMappingRequest struct { // The OCID of the identity provider. @@ -70,7 +70,7 @@ func (request DeleteIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteIdpGroupMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_mfa_totp_device_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_mfa_totp_device_request_response.go index 811befbc95..57b1478f67 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_mfa_totp_device_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_mfa_totp_device_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteMfaTotpDevice.go.html to see an example of how to use DeleteMfaTotpDeviceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteMfaTotpDevice.go.html to see an example of how to use DeleteMfaTotpDeviceRequest. type DeleteMfaTotpDeviceRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteMfaTotpDeviceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_network_source_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_network_source_request_response.go index 5928a31b82..891481521b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_network_source_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_network_source_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteNetworkSource.go.html to see an example of how to use DeleteNetworkSourceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteNetworkSource.go.html to see an example of how to use DeleteNetworkSourceRequest. type DeleteNetworkSourceRequest struct { // The OCID of the network source. @@ -67,7 +67,7 @@ func (request DeleteNetworkSourceRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteNetworkSourceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_o_auth_client_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_o_auth_client_credential_request_response.go index 5419cd82aa..0394863280 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_o_auth_client_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_o_auth_client_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteOAuthClientCredential.go.html to see an example of how to use DeleteOAuthClientCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteOAuthClientCredential.go.html to see an example of how to use DeleteOAuthClientCredentialRequest. type DeleteOAuthClientCredentialRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteOAuthClientCredentialRequest) RetryPolicy() *common.RetryPol func (request DeleteOAuthClientCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_policy_request_response.go index 79a6eefab9..3ab7b6a038 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeletePolicy.go.html to see an example of how to use DeletePolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeletePolicy.go.html to see an example of how to use DeletePolicyRequest. type DeletePolicyRequest struct { // The OCID of the policy. @@ -67,7 +67,7 @@ func (request DeletePolicyRequest) RetryPolicy() *common.RetryPolicy { func (request DeletePolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_smtp_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_smtp_credential_request_response.go index e2690bae5a..24e92ecd6a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_smtp_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_smtp_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSmtpCredential.go.html to see an example of how to use DeleteSmtpCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSmtpCredential.go.html to see an example of how to use DeleteSmtpCredentialRequest. type DeleteSmtpCredentialRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteSmtpCredentialRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteSmtpCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_swift_password_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_swift_password_request_response.go index 00aaed0835..166e63db38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_swift_password_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_swift_password_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSwiftPassword.go.html to see an example of how to use DeleteSwiftPasswordRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSwiftPassword.go.html to see an example of how to use DeleteSwiftPasswordRequest. type DeleteSwiftPasswordRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request DeleteSwiftPasswordRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteSwiftPasswordRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_default_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_default_request_response.go index 69f550ec07..34a66fd32d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_default_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_default_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagDefault.go.html to see an example of how to use DeleteTagDefaultRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagDefault.go.html to see an example of how to use DeleteTagDefaultRequest. type DeleteTagDefaultRequest struct { // The OCID of the tag default. @@ -70,7 +70,7 @@ func (request DeleteTagDefaultRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteTagDefaultRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_namespace_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_namespace_request_response.go index a27fde4c3c..86bb02d25d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_namespace_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_namespace_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagNamespace.go.html to see an example of how to use DeleteTagNamespaceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagNamespace.go.html to see an example of how to use DeleteTagNamespaceRequest. type DeleteTagNamespaceRequest struct { // The OCID of the tag namespace. @@ -70,7 +70,7 @@ func (request DeleteTagNamespaceRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteTagNamespaceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_request_response.go index efa6579597..8516588213 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_tag_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTag.go.html to see an example of how to use DeleteTagRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTag.go.html to see an example of how to use DeleteTagRequest. type DeleteTagRequest struct { // The OCID of the tag namespace. @@ -73,7 +73,7 @@ func (request DeleteTagRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteTagRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -88,7 +88,7 @@ type DeleteTagResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_user_request_response.go index ded087a9e8..6efccd8b8f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_user_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/delete_user_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteUser.go.html to see an example of how to use DeleteUserRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteUser.go.html to see an example of how to use DeleteUserRequest. type DeleteUserRequest struct { // The OCID of the user. @@ -67,7 +67,7 @@ func (request DeleteUserRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteUserRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain.go index 69e4add219..d19e0ed55b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ type Domain struct { HomeRegionUrl *string `mandatory:"true" json:"homeRegionUrl"` // The home region for the identity domain. - // See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` HomeRegion *string `mandatory:"true" json:"homeRegion"` @@ -65,12 +65,12 @@ type Domain struct { LifecycleDetails DomainLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -95,7 +95,7 @@ func (m Domain) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetDomainLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication.go index ea5b71dbc9..3b41610d33 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m DomainReplication) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication_states.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication_states.go index 55b666ae5c..75d4305c7b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication_states.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_replication_states.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -42,7 +42,7 @@ func (m DomainReplicationStates) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_summary.go index c9d6b6b739..32d8799e1a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/domain_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -62,12 +62,12 @@ type DomainSummary struct { LifecycleDetails DomainSummaryLifecycleDetailsEnum `mandatory:"false" json:"lifecycleDetails,omitempty"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -92,7 +92,7 @@ func (m DomainSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleDetails: %s. Supported values are: %s.", m.LifecycleDetails, strings.Join(GetDomainSummaryLifecycleDetailsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/dynamic_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/dynamic_group.go index 1b27ddccb5..b865c1d250 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/dynamic_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/dynamic_group.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -22,7 +22,7 @@ import ( // based on the permissions granted in policies written for the dynamic groups. // This works like regular user/group membership. But in that case, the membership is a static relationship, whereas // in a dynamic group, the membership of an instance certificate to a dynamic group is determined during runtime. -// For more information, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/dynamicgroups/managingdynamicgroups.htm). +// For more information, see Managing Dynamic Groups (https://docs.oracle.com/iaas/Content/Identity/dynamicgroups/managingdynamicgroups.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using // the API. type DynamicGroup struct { @@ -42,7 +42,7 @@ type DynamicGroup struct { Description *string `mandatory:"true" json:"description"` // A rule string that defines which instance certificates will be matched. - // For syntax, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/dynamicgroups/managingdynamicgroups.htm). + // For syntax, see Managing Dynamic Groups (https://docs.oracle.com/iaas/Content/Identity/dynamicgroups/managingdynamicgroups.htm). MatchingRule *string `mandatory:"true" json:"matchingRule"` // Date and time the group was created, in the format defined by RFC3339. @@ -57,12 +57,12 @@ type DynamicGroup struct { InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -81,7 +81,7 @@ func (m DynamicGroup) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_details.go index 58dc800212..3ee9ff3f7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -19,7 +19,7 @@ import ( type EnableReplicationToRegionDetails struct { // A region to which you want identity domain replication to occur. - // See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` ReplicaRegion *string `mandatory:"false" json:"replicaRegion"` @@ -36,7 +36,7 @@ func (m EnableReplicationToRegionDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_request_response.go index 1932c83e33..95aefa2ddc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/enable_replication_to_region_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/EnableReplicationToRegion.go.html to see an example of how to use EnableReplicationToRegionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/EnableReplicationToRegion.go.html to see an example of how to use EnableReplicationToRegionRequest. type EnableReplicationToRegionRequest struct { // The OCID of the identity domain. @@ -77,7 +77,7 @@ func (request EnableReplicationToRegionRequest) RetryPolicy() *common.RetryPolic func (request EnableReplicationToRegionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type EnableReplicationToRegionResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/enum_tag_definition_validator.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/enum_tag_definition_validator.go index 70d89832d1..b84976d408 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/enum_tag_definition_validator.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/enum_tag_definition_validator.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m EnumTagDefinitionValidator) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/fault_domain.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/fault_domain.go index 07253419fd..56b5630f4e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/fault_domain.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/fault_domain.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -44,7 +44,7 @@ func (m FaultDomain) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/fully_qualified_scope.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/fully_qualified_scope.go index 8cb78ccf80..4ff45cf324 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/fully_qualified_scope.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/fully_qualified_scope.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m FullyQualifiedScope) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/generate_totp_seed_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/generate_totp_seed_request_response.go index b5622feca2..971b70bd76 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/generate_totp_seed_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/generate_totp_seed_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GenerateTotpSeed.go.html to see an example of how to use GenerateTotpSeedRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GenerateTotpSeed.go.html to see an example of how to use GenerateTotpSeedRequest. type GenerateTotpSeedRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request GenerateTotpSeedRequest) RetryPolicy() *common.RetryPolicy { func (request GenerateTotpSeedRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_authentication_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_authentication_policy_request_response.go index 666525c228..c5b5c7c537 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_authentication_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_authentication_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetAuthenticationPolicy.go.html to see an example of how to use GetAuthenticationPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetAuthenticationPolicy.go.html to see an example of how to use GetAuthenticationPolicyRequest. type GetAuthenticationPolicyRequest struct { // The OCID of the compartment. @@ -62,7 +62,7 @@ func (request GetAuthenticationPolicyRequest) RetryPolicy() *common.RetryPolicy func (request GetAuthenticationPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_compartment_request_response.go index c2c0ae8191..8ad53aac3c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetCompartment.go.html to see an example of how to use GetCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetCompartment.go.html to see an example of how to use GetCompartmentRequest. type GetCompartmentRequest struct { // The OCID of the compartment. @@ -62,7 +62,7 @@ func (request GetCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request GetCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_domain_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_domain_request_response.go index 92c7d4a4c1..ed385c91db 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_domain_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_domain_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDomain.go.html to see an example of how to use GetDomainRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDomain.go.html to see an example of how to use GetDomainRequest. type GetDomainRequest struct { // The OCID of the identity domain. @@ -62,7 +62,7 @@ func (request GetDomainRequest) RetryPolicy() *common.RetryPolicy { func (request GetDomainRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_dynamic_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_dynamic_group_request_response.go index 0d0fa74062..876e11f38e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_dynamic_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_dynamic_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDynamicGroup.go.html to see an example of how to use GetDynamicGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDynamicGroup.go.html to see an example of how to use GetDynamicGroupRequest. type GetDynamicGroupRequest struct { // The OCID of the dynamic group. @@ -62,7 +62,7 @@ func (request GetDynamicGroupRequest) RetryPolicy() *common.RetryPolicy { func (request GetDynamicGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_group_request_response.go index 6924e43543..13b8e66ab3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetGroup.go.html to see an example of how to use GetGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetGroup.go.html to see an example of how to use GetGroupRequest. type GetGroupRequest struct { // The OCID of the group. @@ -62,7 +62,7 @@ func (request GetGroupRequest) RetryPolicy() *common.RetryPolicy { func (request GetGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_iam_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_iam_work_request_request_response.go index 42f42000a3..a622f1bf50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_iam_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_iam_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIamWorkRequest.go.html to see an example of how to use GetIamWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIamWorkRequest.go.html to see an example of how to use GetIamWorkRequestRequest. type GetIamWorkRequestRequest struct { // The OCID of the IAM work request. @@ -62,7 +62,7 @@ func (request GetIamWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request GetIamWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_identity_provider_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_identity_provider_request_response.go index 832314018d..59e9317e34 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_identity_provider_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_identity_provider_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdentityProvider.go.html to see an example of how to use GetIdentityProviderRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdentityProvider.go.html to see an example of how to use GetIdentityProviderRequest. type GetIdentityProviderRequest struct { // The OCID of the identity provider. @@ -62,7 +62,7 @@ func (request GetIdentityProviderRequest) RetryPolicy() *common.RetryPolicy { func (request GetIdentityProviderRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_idp_group_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_idp_group_mapping_request_response.go index cd44a410b8..aa0aaa25f0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_idp_group_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_idp_group_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdpGroupMapping.go.html to see an example of how to use GetIdpGroupMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdpGroupMapping.go.html to see an example of how to use GetIdpGroupMappingRequest. type GetIdpGroupMappingRequest struct { // The OCID of the identity provider. @@ -65,7 +65,7 @@ func (request GetIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy { func (request GetIdpGroupMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_mfa_totp_device_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_mfa_totp_device_request_response.go index 45d10ad196..e1ef76c633 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_mfa_totp_device_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_mfa_totp_device_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetMfaTotpDevice.go.html to see an example of how to use GetMfaTotpDeviceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetMfaTotpDevice.go.html to see an example of how to use GetMfaTotpDeviceRequest. type GetMfaTotpDeviceRequest struct { // The OCID of the user. @@ -65,7 +65,7 @@ func (request GetMfaTotpDeviceRequest) RetryPolicy() *common.RetryPolicy { func (request GetMfaTotpDeviceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_network_source_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_network_source_request_response.go index d373e300fd..a5a21ef1d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_network_source_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_network_source_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetNetworkSource.go.html to see an example of how to use GetNetworkSourceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetNetworkSource.go.html to see an example of how to use GetNetworkSourceRequest. type GetNetworkSourceRequest struct { // The OCID of the network source. @@ -62,7 +62,7 @@ func (request GetNetworkSourceRequest) RetryPolicy() *common.RetryPolicy { func (request GetNetworkSourceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_policy_request_response.go index 03fc57179b..bcc37c920b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetPolicy.go.html to see an example of how to use GetPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetPolicy.go.html to see an example of how to use GetPolicyRequest. type GetPolicyRequest struct { // The OCID of the policy. @@ -62,7 +62,7 @@ func (request GetPolicyRequest) RetryPolicy() *common.RetryPolicy { func (request GetPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_standard_tag_template_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_standard_tag_template_request_response.go index ba707b0dfd..d7b65d2ae6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_standard_tag_template_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_standard_tag_template_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetStandardTagTemplate.go.html to see an example of how to use GetStandardTagTemplateRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetStandardTagTemplate.go.html to see an example of how to use GetStandardTagTemplateRequest. type GetStandardTagTemplateRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -65,7 +65,7 @@ func (request GetStandardTagTemplateRequest) RetryPolicy() *common.RetryPolicy { func (request GetStandardTagTemplateRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_default_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_default_request_response.go index 2bd2839486..18b14457fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_default_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_default_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagDefault.go.html to see an example of how to use GetTagDefaultRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagDefault.go.html to see an example of how to use GetTagDefaultRequest. type GetTagDefaultRequest struct { // The OCID of the tag default. @@ -62,7 +62,7 @@ func (request GetTagDefaultRequest) RetryPolicy() *common.RetryPolicy { func (request GetTagDefaultRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_namespace_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_namespace_request_response.go index 8f9376da6d..e8411e790a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_namespace_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_namespace_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagNamespace.go.html to see an example of how to use GetTagNamespaceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagNamespace.go.html to see an example of how to use GetTagNamespaceRequest. type GetTagNamespaceRequest struct { // The OCID of the tag namespace. @@ -62,7 +62,7 @@ func (request GetTagNamespaceRequest) RetryPolicy() *common.RetryPolicy { func (request GetTagNamespaceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_request_response.go index 6772d79331..559bb6049b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tag_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTag.go.html to see an example of how to use GetTagRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTag.go.html to see an example of how to use GetTagRequest. type GetTagRequest struct { // The OCID of the tag namespace. @@ -65,7 +65,7 @@ func (request GetTagRequest) RetryPolicy() *common.RetryPolicy { func (request GetTagRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tagging_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tagging_work_request_request_response.go index 390f4f3a0e..4c96306341 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tagging_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tagging_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTaggingWorkRequest.go.html to see an example of how to use GetTaggingWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTaggingWorkRequest.go.html to see an example of how to use GetTaggingWorkRequestRequest. type GetTaggingWorkRequestRequest struct { // The OCID of the work request. @@ -62,7 +62,7 @@ func (request GetTaggingWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request GetTaggingWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tenancy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tenancy_request_response.go index ba608383b2..3c1629d213 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tenancy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_tenancy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTenancy.go.html to see an example of how to use GetTenancyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTenancy.go.html to see an example of how to use GetTenancyRequest. type GetTenancyRequest struct { // The OCID of the tenancy. @@ -62,7 +62,7 @@ func (request GetTenancyRequest) RetryPolicy() *common.RetryPolicy { func (request GetTenancyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_group_membership_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_group_membership_request_response.go index 2b569c32bc..d39f886166 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_group_membership_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_group_membership_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserGroupMembership.go.html to see an example of how to use GetUserGroupMembershipRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserGroupMembership.go.html to see an example of how to use GetUserGroupMembershipRequest. type GetUserGroupMembershipRequest struct { // The OCID of the userGroupMembership. @@ -62,7 +62,7 @@ func (request GetUserGroupMembershipRequest) RetryPolicy() *common.RetryPolicy { func (request GetUserGroupMembershipRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_request_response.go index 5d2f3cac25..e4e87cd416 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUser.go.html to see an example of how to use GetUserRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUser.go.html to see an example of how to use GetUserRequest. type GetUserRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request GetUserRequest) RetryPolicy() *common.RetryPolicy { func (request GetUserRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_u_i_password_information_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_u_i_password_information_request_response.go index 56286a231d..a12502b3cb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_u_i_password_information_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_user_u_i_password_information_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserUIPasswordInformation.go.html to see an example of how to use GetUserUIPasswordInformationRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserUIPasswordInformation.go.html to see an example of how to use GetUserUIPasswordInformationRequest. type GetUserUIPasswordInformationRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request GetUserUIPasswordInformationRequest) RetryPolicy() *common.RetryPo func (request GetUserUIPasswordInformationRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_work_request_request_response.go index 2fc658b7b6..3521258cc3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The OCID of the work request. @@ -62,7 +62,7 @@ func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/group.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/group.go index b7421e1a68..6bdb1218a4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/group.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,15 +17,15 @@ import ( // Group A collection of users who all need the same type of access to a particular set of resources or compartment. // For conceptual information about groups and other IAM Service components, see -// Overview of IAM (https://docs.cloud.oracle.com/Content/Identity/getstarted/identity-domains.htm). +// Overview of IAM (https://docs.oracle.com/iaas/Content/Identity/getstarted/identity-domains.htm). // If you're federating with an identity provider (IdP), you need to create mappings between the groups // defined in the IdP and groups you define in the IAM service. For more information, see -// Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). Also see +// Identity Providers and Federation (https://docs.oracle.com/iaas/Content/Identity/Concepts/federation.htm). Also see // IdentityProvider and // IdpGroupMapping. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values // using the API. type Group struct { @@ -56,12 +56,12 @@ type Group struct { InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -80,7 +80,7 @@ func (m Group) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request.go index 9df135fde3..3bf3899936 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -66,7 +66,7 @@ func (m IamWorkRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_error_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_error_summary.go index 97dc31c908..e6029c0697 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_error_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_error_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m IamWorkRequestErrorSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_log_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_log_summary.go index fe3d2ed82e..6bfdad6049 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_log_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_log_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ func (m IamWorkRequestLogSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_resource.go index 47e4125d42..8460a74d09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_resource.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -48,7 +48,7 @@ func (m IamWorkRequestResource) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_summary.go index 010eb7490a..36eb63f61d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/iam_work_request_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -66,7 +66,7 @@ func (m IamWorkRequestSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go index 9211106d36..fc2e21f4d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -100,7 +100,7 @@ func (client *IdentityClient) ConfigurationProvider() *common.ConfigurationProvi // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateDomain.go.html to see an example of how to use ActivateDomain API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateDomain.go.html to see an example of how to use ActivateDomain API. // A default retry strategy applies to this operation ActivateDomain() func (client IdentityClient) ActivateDomain(ctx context.Context, request ActivateDomainRequest) (response ActivateDomainResponse, err error) { var ociResponse common.OCIResponse @@ -164,7 +164,7 @@ func (client IdentityClient) activateDomain(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateMfaTotpDevice.go.html to see an example of how to use ActivateMfaTotpDevice API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ActivateMfaTotpDevice.go.html to see an example of how to use ActivateMfaTotpDevice API. // A default retry strategy applies to this operation ActivateMfaTotpDevice() func (client IdentityClient) ActivateMfaTotpDevice(ctx context.Context, request ActivateMfaTotpDeviceRequest) (response ActivateMfaTotpDeviceResponse, err error) { var ociResponse common.OCIResponse @@ -228,7 +228,7 @@ func (client IdentityClient) activateMfaTotpDevice(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagDefaultLock.go.html to see an example of how to use AddTagDefaultLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagDefaultLock.go.html to see an example of how to use AddTagDefaultLock API. // A default retry strategy applies to this operation AddTagDefaultLock() func (client IdentityClient) AddTagDefaultLock(ctx context.Context, request AddTagDefaultLockRequest) (response AddTagDefaultLockResponse, err error) { var ociResponse common.OCIResponse @@ -292,7 +292,7 @@ func (client IdentityClient) addTagDefaultLock(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagNamespaceLock.go.html to see an example of how to use AddTagNamespaceLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddTagNamespaceLock.go.html to see an example of how to use AddTagNamespaceLock API. // A default retry strategy applies to this operation AddTagNamespaceLock() func (client IdentityClient) AddTagNamespaceLock(ctx context.Context, request AddTagNamespaceLockRequest) (response AddTagNamespaceLockResponse, err error) { var ociResponse common.OCIResponse @@ -358,7 +358,7 @@ func (client IdentityClient) addTagNamespaceLock(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddUserToGroup.go.html to see an example of how to use AddUserToGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AddUserToGroup.go.html to see an example of how to use AddUserToGroup API. // A default retry strategy applies to this operation AddUserToGroup() func (client IdentityClient) AddUserToGroup(ctx context.Context, request AddUserToGroupRequest) (response AddUserToGroupResponse, err error) { var ociResponse common.OCIResponse @@ -425,7 +425,7 @@ func (client IdentityClient) addUserToGroup(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AssembleEffectiveTagSet.go.html to see an example of how to use AssembleEffectiveTagSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/AssembleEffectiveTagSet.go.html to see an example of how to use AssembleEffectiveTagSet API. // A default retry strategy applies to this operation AssembleEffectiveTagSet() func (client IdentityClient) AssembleEffectiveTagSet(ctx context.Context, request AssembleEffectiveTagSetRequest) (response AssembleEffectiveTagSetResponse, err error) { var ociResponse common.OCIResponse @@ -481,13 +481,13 @@ func (client IdentityClient) assembleEffectiveTagSet(ctx context.Context, reques // BulkDeleteResources Deletes multiple resources in the compartment. All resources must be in the same compartment. You must have the appropriate // permissions to delete the resources in the request. This API can only be invoked from the tenancy's -// home region (https://docs.cloud.oracle.com/Content/Identity/regions/managingregions.htm#Home). This operation creates a +// home region (https://docs.oracle.com/iaas/Content/Identity/regions/managingregions.htm#Home). This operation creates a // WorkRequest. Use the GetWorkRequest // API to monitor the status of the bulk action. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteResources.go.html to see an example of how to use BulkDeleteResources API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteResources.go.html to see an example of how to use BulkDeleteResources API. // A default retry strategy applies to this operation BulkDeleteResources() func (client IdentityClient) BulkDeleteResources(ctx context.Context, request BulkDeleteResourcesRequest) (response BulkDeleteResourcesResponse, err error) { var ociResponse common.OCIResponse @@ -566,7 +566,7 @@ func (client IdentityClient) bulkDeleteResources(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteTags.go.html to see an example of how to use BulkDeleteTags API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkDeleteTags.go.html to see an example of how to use BulkDeleteTags API. // A default retry strategy applies to this operation BulkDeleteTags() func (client IdentityClient) BulkDeleteTags(ctx context.Context, request BulkDeleteTagsRequest) (response BulkDeleteTagsResponse, err error) { var ociResponse common.OCIResponse @@ -641,7 +641,7 @@ func (client IdentityClient) bulkDeleteTags(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkEditTags.go.html to see an example of how to use BulkEditTags API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkEditTags.go.html to see an example of how to use BulkEditTags API. // A default retry strategy applies to this operation BulkEditTags() func (client IdentityClient) BulkEditTags(ctx context.Context, request BulkEditTagsRequest) (response BulkEditTagsResponse, err error) { var ociResponse common.OCIResponse @@ -702,14 +702,14 @@ func (client IdentityClient) bulkEditTags(ctx context.Context, request common.OC } // BulkMoveResources Moves multiple resources from one compartment to another. All resources must be in the same compartment. -// This API can only be invoked from the tenancy's home region (https://docs.cloud.oracle.com/Content/Identity/regions/managingregions.htm#Home). +// This API can only be invoked from the tenancy's home region (https://docs.oracle.com/iaas/Content/Identity/regions/managingregions.htm#Home). // To move resources, you must have the appropriate permissions to move the resource in both the source and target // compartments. This operation creates a WorkRequest. // Use the GetWorkRequest API to monitor the status of the bulk action. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkMoveResources.go.html to see an example of how to use BulkMoveResources API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/BulkMoveResources.go.html to see an example of how to use BulkMoveResources API. // A default retry strategy applies to this operation BulkMoveResources() func (client IdentityClient) BulkMoveResources(ctx context.Context, request BulkMoveResourcesRequest) (response BulkMoveResourcesResponse, err error) { var ociResponse common.OCIResponse @@ -786,7 +786,7 @@ func (client IdentityClient) bulkMoveResources(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CascadeDeleteTagNamespace.go.html to see an example of how to use CascadeDeleteTagNamespace API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CascadeDeleteTagNamespace.go.html to see an example of how to use CascadeDeleteTagNamespace API. // A default retry strategy applies to this operation CascadeDeleteTagNamespace() func (client IdentityClient) CascadeDeleteTagNamespace(ctx context.Context, request CascadeDeleteTagNamespaceRequest) (response CascadeDeleteTagNamespaceResponse, err error) { var ociResponse common.OCIResponse @@ -852,7 +852,7 @@ func (client IdentityClient) cascadeDeleteTagNamespace(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainCompartment.go.html to see an example of how to use ChangeDomainCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainCompartment.go.html to see an example of how to use ChangeDomainCompartment API. // A default retry strategy applies to this operation ChangeDomainCompartment() func (client IdentityClient) ChangeDomainCompartment(ctx context.Context, request ChangeDomainCompartmentRequest) (response ChangeDomainCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -922,7 +922,7 @@ func (client IdentityClient) changeDomainCompartment(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainLicenseType.go.html to see an example of how to use ChangeDomainLicenseType API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeDomainLicenseType.go.html to see an example of how to use ChangeDomainLicenseType API. // A default retry strategy applies to this operation ChangeDomainLicenseType() func (client IdentityClient) ChangeDomainLicenseType(ctx context.Context, request ChangeDomainLicenseTypeRequest) (response ChangeDomainLicenseTypeResponse, err error) { var ociResponse common.OCIResponse @@ -984,12 +984,12 @@ func (client IdentityClient) changeDomainLicenseType(ctx context.Context, reques // ChangeTagNamespaceCompartment Moves the specified tag namespace to the specified compartment within the same tenancy. // To move the tag namespace, you must have the manage tag-namespaces permission on both compartments. -// For more information about IAM policies, see Details for IAM (https://docs.cloud.oracle.com/Content/Identity/policyreference/iampolicyreference.htm). +// For more information about IAM policies, see Details for IAM (https://docs.oracle.com/iaas/Content/Identity/policyreference/iampolicyreference.htm). // Moving a tag namespace moves all the tag key definitions contained in the tag namespace. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeTagNamespaceCompartment.go.html to see an example of how to use ChangeTagNamespaceCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ChangeTagNamespaceCompartment.go.html to see an example of how to use ChangeTagNamespaceCompartment API. // A default retry strategy applies to this operation ChangeTagNamespaceCompartment() func (client IdentityClient) ChangeTagNamespaceCompartment(ctx context.Context, request ChangeTagNamespaceCompartmentRequest) (response ChangeTagNamespaceCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -1050,7 +1050,7 @@ func (client IdentityClient) changeTagNamespaceCompartment(ctx context.Context, } // CreateAuthToken Creates a new auth token for the specified user. For information about what auth tokens are for, see -// Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/access/managing-user-credentials.htm). +// Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/access/managing-user-credentials.htm). // You must specify a *description* for the auth token (although it can be an empty string). It does not // have to be unique, and you can change it anytime with // UpdateAuthToken. @@ -1060,7 +1060,7 @@ func (client IdentityClient) changeTagNamespaceCompartment(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateAuthToken.go.html to see an example of how to use CreateAuthToken API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateAuthToken.go.html to see an example of how to use CreateAuthToken API. // A default retry strategy applies to this operation CreateAuthToken() func (client IdentityClient) CreateAuthToken(ctx context.Context, request CreateAuthTokenRequest) (response CreateAuthTokenResponse, err error) { var ociResponse common.OCIResponse @@ -1123,11 +1123,11 @@ func (client IdentityClient) createAuthToken(ctx context.Context, request common // CreateCompartment Creates a new compartment in the specified compartment. // Specify the parent compartment's OCID as the compartment ID in the request object. Remember that the tenancy // is simply the root compartment. For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must also specify a *name* for the compartment, which must be unique across all compartments in // your tenancy. You can use this name or the OCID when writing policies that apply // to the compartment. For more information about policies, see -// How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm). +// How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm). // You must also specify a *description* for the compartment (although it can be an empty string). It does // not have to be unique, and you can change it anytime with // UpdateCompartment. @@ -1136,7 +1136,7 @@ func (client IdentityClient) createAuthToken(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCompartment.go.html to see an example of how to use CreateCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCompartment.go.html to see an example of how to use CreateCompartment API. // A default retry strategy applies to this operation CreateCompartment() func (client IdentityClient) CreateCompartment(ctx context.Context, request CreateCompartmentRequest) (response CreateCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -1198,7 +1198,7 @@ func (client IdentityClient) createCompartment(ctx context.Context, request comm // CreateCustomerSecretKey Creates a new secret key for the specified user. Secret keys are used for authentication with the Object Storage Service's Amazon S3 // compatible API. The secret key consists of an Access Key/Secret Key pair. For information, see -// Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/access/managing-user-credentials.htm). +// Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/access/managing-user-credentials.htm). // You must specify a *description* for the secret key (although it can be an empty string). It does not // have to be unique, and you can change it anytime with // UpdateCustomerSecretKey. @@ -1208,7 +1208,7 @@ func (client IdentityClient) createCompartment(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCustomerSecretKey.go.html to see an example of how to use CreateCustomerSecretKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateCustomerSecretKey.go.html to see an example of how to use CreateCustomerSecretKey API. // A default retry strategy applies to this operation CreateCustomerSecretKey() func (client IdentityClient) CreateCustomerSecretKey(ctx context.Context, request CreateCustomerSecretKeyRequest) (response CreateCustomerSecretKeyResponse, err error) { var ociResponse common.OCIResponse @@ -1272,7 +1272,7 @@ func (client IdentityClient) createCustomerSecretKey(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDbCredential.go.html to see an example of how to use CreateDbCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDbCredential.go.html to see an example of how to use CreateDbCredential API. // A default retry strategy applies to this operation CreateDbCredential() func (client IdentityClient) CreateDbCredential(ctx context.Context, request CreateDbCredentialRequest) (response CreateDbCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -1341,7 +1341,7 @@ func (client IdentityClient) createDbCredential(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDomain.go.html to see an example of how to use CreateDomain API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDomain.go.html to see an example of how to use CreateDomain API. // A default retry strategy applies to this operation CreateDomain() func (client IdentityClient) CreateDomain(ctx context.Context, request CreateDomainRequest) (response CreateDomainResponse, err error) { var ociResponse common.OCIResponse @@ -1406,11 +1406,11 @@ func (client IdentityClient) createDomain(ctx context.Context, request common.OC // is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) // reside within the tenancy itself, unlike cloud resources such as compute instances, which typically // reside within compartments inside the tenancy. For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must also specify a *name* for the dynamic group, which must be unique across all dynamic groups in your // tenancy, and cannot be changed. Note that this name has to be also unique across all groups in your tenancy. // You can use this name or the OCID when writing policies that apply to the dynamic group. For more information -// about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm). +// about policies, see How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm). // You must also specify a *description* for the dynamic group (although it can be an empty string). It does not // have to be unique, and you can change it anytime with UpdateDynamicGroup. // After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the @@ -1418,7 +1418,7 @@ func (client IdentityClient) createDomain(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDynamicGroup.go.html to see an example of how to use CreateDynamicGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateDynamicGroup.go.html to see an example of how to use CreateDynamicGroup API. // A default retry strategy applies to this operation CreateDynamicGroup() func (client IdentityClient) CreateDynamicGroup(ctx context.Context, request CreateDynamicGroupRequest) (response CreateDynamicGroupResponse, err error) { var ociResponse common.OCIResponse @@ -1483,10 +1483,10 @@ func (client IdentityClient) createDynamicGroup(ctx context.Context, request com // is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) // reside within the tenancy itself, unlike cloud resources such as compute instances, which typically // reside within compartments inside the tenancy. For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must also specify a *name* for the group, which must be unique across all groups in your tenancy and // cannot be changed. You can use this name or the OCID when writing policies that apply to the group. For more -// information about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm). +// information about policies, see How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm). // You must also specify a *description* for the group (although it can be an empty string). It does not // have to be unique, and you can change it anytime with UpdateGroup. // After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the @@ -1497,7 +1497,7 @@ func (client IdentityClient) createDynamicGroup(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateGroup.go.html to see an example of how to use CreateGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateGroup.go.html to see an example of how to use CreateGroup API. // A default retry strategy applies to this operation CreateGroup() func (client IdentityClient) CreateGroup(ctx context.Context, request CreateGroupRequest) (response CreateGroupResponse, err error) { var ociResponse common.OCIResponse @@ -1557,12 +1557,12 @@ func (client IdentityClient) createGroup(ctx context.Context, request common.OCI return response, err } -// CreateIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// CreateIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Creates a new identity provider in your tenancy. For more information, see -// Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). +// Identity Providers and Federation (https://docs.oracle.com/iaas/Content/Identity/Concepts/federation.htm). // You must specify your tenancy's OCID as the compartment ID in the request object. // Remember that the tenancy is simply the root compartment. For information about -// OCIDs, see Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// OCIDs, see Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must also specify a *name* for the `IdentityProvider`, which must be unique // across all `IdentityProvider` objects in your tenancy and cannot be changed. // You must also specify a *description* for the `IdentityProvider` (although @@ -1575,7 +1575,7 @@ func (client IdentityClient) createGroup(ctx context.Context, request common.OCI // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdentityProvider.go.html to see an example of how to use CreateIdentityProvider API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdentityProvider.go.html to see an example of how to use CreateIdentityProvider API. // A default retry strategy applies to this operation CreateIdentityProvider() func (client IdentityClient) CreateIdentityProvider(ctx context.Context, request CreateIdentityProviderRequest) (response CreateIdentityProviderResponse, err error) { var ociResponse common.OCIResponse @@ -1635,13 +1635,13 @@ func (client IdentityClient) createIdentityProvider(ctx context.Context, request return response, err } -// CreateIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// CreateIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Creates a single mapping between an IdP group and an IAM Service // Group. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdpGroupMapping.go.html to see an example of how to use CreateIdpGroupMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateIdpGroupMapping.go.html to see an example of how to use CreateIdpGroupMapping API. // A default retry strategy applies to this operation CreateIdpGroupMapping() func (client IdentityClient) CreateIdpGroupMapping(ctx context.Context, request CreateIdpGroupMappingRequest) (response CreateIdpGroupMappingResponse, err error) { var ociResponse common.OCIResponse @@ -1705,7 +1705,7 @@ func (client IdentityClient) createIdpGroupMapping(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateMfaTotpDevice.go.html to see an example of how to use CreateMfaTotpDevice API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateMfaTotpDevice.go.html to see an example of how to use CreateMfaTotpDevice API. // A default retry strategy applies to this operation CreateMfaTotpDevice() func (client IdentityClient) CreateMfaTotpDevice(ctx context.Context, request CreateMfaTotpDeviceRequest) (response CreateMfaTotpDeviceResponse, err error) { var ociResponse common.OCIResponse @@ -1770,21 +1770,21 @@ func (client IdentityClient) createMfaTotpDevice(ctx context.Context, request co // is simply the root compartment). Notice that IAM resources (users, groups, compartments, and some policies) // reside within the tenancy itself, unlike cloud resources such as compute instances, which typically // reside within compartments inside the tenancy. For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must also specify a *name* for the network source, which must be unique across all network sources in your // tenancy, and cannot be changed. // You can use this name or the OCID when writing policies that apply to the network source. For more information -// about policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm). +// about policies, see How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm). // You must also specify a *description* for the network source (although it can be an empty string). It does not // have to be unique, and you can change it anytime with UpdateNetworkSource. // After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the // object, first make sure its `lifecycleState` has changed to ACTIVE. // After your network resource is created, you can use it in policy to restrict access to only requests made from an allowed -// IP address specified in your network source. For more information, see Managing Network Sources (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm). +// IP address specified in your network source. For more information, see Managing Network Sources (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingnetworksources.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateNetworkSource.go.html to see an example of how to use CreateNetworkSource API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateNetworkSource.go.html to see an example of how to use CreateNetworkSource API. // A default retry strategy applies to this operation CreateNetworkSource() func (client IdentityClient) CreateNetworkSource(ctx context.Context, request CreateNetworkSourceRequest) (response CreateNetworkSourceResponse, err error) { var ociResponse common.OCIResponse @@ -1848,7 +1848,7 @@ func (client IdentityClient) createNetworkSource(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOAuthClientCredential.go.html to see an example of how to use CreateOAuthClientCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOAuthClientCredential.go.html to see an example of how to use CreateOAuthClientCredential API. // A default retry strategy applies to this operation CreateOAuthClientCredential() func (client IdentityClient) CreateOAuthClientCredential(ctx context.Context, request CreateOAuthClientCredentialRequest) (response CreateOAuthClientCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -1909,7 +1909,7 @@ func (client IdentityClient) createOAuthClientCredential(ctx context.Context, re } // CreateOrResetUIPassword Creates a new Console one-time password for the specified user. For more information about user -// credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/usercred/usercredentials.htm). +// credentials, see User Credentials (https://docs.oracle.com/iaas/Content/Identity/usercred/usercredentials.htm). // Use this operation after creating a new user, or if a user forgets their password. The new one-time // password is returned to you in the response, and you must securely deliver it to the user. They'll // be prompted to change this password the next time they sign in to the Console. If they don't change @@ -1923,7 +1923,7 @@ func (client IdentityClient) createOAuthClientCredential(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOrResetUIPassword.go.html to see an example of how to use CreateOrResetUIPassword API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateOrResetUIPassword.go.html to see an example of how to use CreateOrResetUIPassword API. // A default retry strategy applies to this operation CreateOrResetUIPassword() func (client IdentityClient) CreateOrResetUIPassword(ctx context.Context, request CreateOrResetUIPasswordRequest) (response CreateOrResetUIPasswordResponse, err error) { var ociResponse common.OCIResponse @@ -1984,21 +1984,21 @@ func (client IdentityClient) createOrResetUIPassword(ctx context.Context, reques } // CreatePolicy Creates a new policy in the specified compartment (either the tenancy or another of your compartments). -// If you're new to policies, see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// If you're new to policies, see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). // You must specify a *name* for the policy, which must be unique across all policies in your tenancy // and cannot be changed. // You must also specify a *description* for the policy (although it can be an empty string). It does not // have to be unique, and you can change it anytime with UpdatePolicy. // You must specify one or more policy statements in the statements array. For information about writing -// policies, see How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm) and -// Common Policies (https://docs.cloud.oracle.com/Content/Identity/policiescommon/commonpolicies.htm). +// policies, see How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm) and +// Common Policies (https://docs.oracle.com/iaas/Content/Identity/policiescommon/commonpolicies.htm). // After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the // object, first make sure its `lifecycleState` has changed to ACTIVE. // New policies take effect typically within 10 seconds. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreatePolicy.go.html to see an example of how to use CreatePolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreatePolicy.go.html to see an example of how to use CreatePolicy API. // A default retry strategy applies to this operation CreatePolicy() func (client IdentityClient) CreatePolicy(ctx context.Context, request CreatePolicyRequest) (response CreatePolicyResponse, err error) { var ociResponse common.OCIResponse @@ -2062,7 +2062,7 @@ func (client IdentityClient) createPolicy(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateRegionSubscription.go.html to see an example of how to use CreateRegionSubscription API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateRegionSubscription.go.html to see an example of how to use CreateRegionSubscription API. // A default retry strategy applies to this operation CreateRegionSubscription() func (client IdentityClient) CreateRegionSubscription(ctx context.Context, request CreateRegionSubscriptionRequest) (response CreateRegionSubscriptionResponse, err error) { var ociResponse common.OCIResponse @@ -2129,7 +2129,7 @@ func (client IdentityClient) createRegionSubscription(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSmtpCredential.go.html to see an example of how to use CreateSmtpCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSmtpCredential.go.html to see an example of how to use CreateSmtpCredential API. // A default retry strategy applies to this operation CreateSmtpCredential() func (client IdentityClient) CreateSmtpCredential(ctx context.Context, request CreateSmtpCredentialRequest) (response CreateSmtpCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -2191,7 +2191,7 @@ func (client IdentityClient) createSmtpCredential(ctx context.Context, request c // CreateSwiftPassword **Deprecated. Use CreateAuthToken instead.** // Creates a new Swift password for the specified user. For information about what Swift passwords are for, see -// Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm). +// Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcredentials.htm). // You must specify a *description* for the Swift password (although it can be an empty string). It does not // have to be unique, and you can change it anytime with // UpdateSwiftPassword. @@ -2201,7 +2201,7 @@ func (client IdentityClient) createSmtpCredential(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSwiftPassword.go.html to see an example of how to use CreateSwiftPassword API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateSwiftPassword.go.html to see an example of how to use CreateSwiftPassword API. // A default retry strategy applies to this operation CreateSwiftPassword() func (client IdentityClient) CreateSwiftPassword(ctx context.Context, request CreateSwiftPasswordRequest) (response CreateSwiftPasswordResponse, err error) { var ociResponse common.OCIResponse @@ -2281,7 +2281,7 @@ func (client IdentityClient) createSwiftPassword(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTag.go.html to see an example of how to use CreateTag API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTag.go.html to see an example of how to use CreateTag API. // A default retry strategy applies to this operation CreateTag() func (client IdentityClient) CreateTag(ctx context.Context, request CreateTagRequest) (response CreateTagResponse, err error) { var ociResponse common.OCIResponse @@ -2350,7 +2350,7 @@ func (client IdentityClient) createTag(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagDefault.go.html to see an example of how to use CreateTagDefault API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagDefault.go.html to see an example of how to use CreateTagDefault API. // A default retry strategy applies to this operation CreateTagDefault() func (client IdentityClient) CreateTagDefault(ctx context.Context, request CreateTagDefaultRequest) (response CreateTagDefaultResponse, err error) { var ociResponse common.OCIResponse @@ -2424,7 +2424,7 @@ func (client IdentityClient) createTagDefault(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagNamespace.go.html to see an example of how to use CreateTagNamespace API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateTagNamespace.go.html to see an example of how to use CreateTagNamespace API. // A default retry strategy applies to this operation CreateTagNamespace() func (client IdentityClient) CreateTagNamespace(ctx context.Context, request CreateTagNamespaceRequest) (response CreateTagNamespaceResponse, err error) { var ociResponse common.OCIResponse @@ -2485,12 +2485,12 @@ func (client IdentityClient) createTagNamespace(ctx context.Context, request com } // CreateUser Creates a new user in your tenancy. For conceptual information about users, your tenancy, and other -// IAM Service components, see Overview of IAM (https://docs.cloud.oracle.com/Content/Identity/getstarted/identity-domains.htm). +// IAM Service components, see Overview of IAM (https://docs.oracle.com/iaas/Content/Identity/getstarted/identity-domains.htm). // You must specify your tenancy's OCID as the compartment ID in the request object (remember that the // tenancy is simply the root compartment). Notice that IAM resources (users, groups, compartments, and // some policies) reside within the tenancy itself, unlike cloud resources such as compute instances, // which typically reside within compartments inside the tenancy. For information about OCIDs, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // You must also specify a *name* for the user, which must be unique across all users in your tenancy // and cannot be changed. Allowed characters: No spaces. Only letters, numerals, hyphens, periods, // underscores, +, and @. If you specify a name that's already in use, you'll get a 409 error. @@ -2510,13 +2510,13 @@ func (client IdentityClient) createTagNamespace(ctx context.Context, request com // CreateOrResetUIPassword). // If the user needs to access the Oracle Cloud Infrastructure REST API, you need to upload a // public API signing key for that user (see -// Required Keys and OCIDs (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm) and also +// Required Keys and OCIDs (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm) and also // UploadApiKey). // **Important:** Make sure to inform the new user which compartment(s) they have access to. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateUser.go.html to see an example of how to use CreateUser API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/CreateUser.go.html to see an example of how to use CreateUser API. // A default retry strategy applies to this operation CreateUser() func (client IdentityClient) CreateUser(ctx context.Context, request CreateUserRequest) (response CreateUserResponse, err error) { var ociResponse common.OCIResponse @@ -2586,7 +2586,7 @@ func (client IdentityClient) createUser(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeactivateDomain.go.html to see an example of how to use DeactivateDomain API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeactivateDomain.go.html to see an example of how to use DeactivateDomain API. // A default retry strategy applies to this operation DeactivateDomain() func (client IdentityClient) DeactivateDomain(ctx context.Context, request DeactivateDomainRequest) (response DeactivateDomainResponse, err error) { var ociResponse common.OCIResponse @@ -2654,7 +2654,7 @@ func (client IdentityClient) deactivateDomain(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteApiKey.go.html to see an example of how to use DeleteApiKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteApiKey.go.html to see an example of how to use DeleteApiKey API. // A default retry strategy applies to this operation DeleteApiKey() func (client IdentityClient) DeleteApiKey(ctx context.Context, request DeleteApiKeyRequest) (response DeleteApiKeyResponse, err error) { var ociResponse common.OCIResponse @@ -2712,7 +2712,7 @@ func (client IdentityClient) deleteApiKey(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteAuthToken.go.html to see an example of how to use DeleteAuthToken API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteAuthToken.go.html to see an example of how to use DeleteAuthToken API. // A default retry strategy applies to this operation DeleteAuthToken() func (client IdentityClient) DeleteAuthToken(ctx context.Context, request DeleteAuthTokenRequest) (response DeleteAuthTokenResponse, err error) { var ociResponse common.OCIResponse @@ -2770,7 +2770,7 @@ func (client IdentityClient) deleteAuthToken(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCompartment.go.html to see an example of how to use DeleteCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCompartment.go.html to see an example of how to use DeleteCompartment API. // A default retry strategy applies to this operation DeleteCompartment() func (client IdentityClient) DeleteCompartment(ctx context.Context, request DeleteCompartmentRequest) (response DeleteCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -2828,7 +2828,7 @@ func (client IdentityClient) deleteCompartment(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCustomerSecretKey.go.html to see an example of how to use DeleteCustomerSecretKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteCustomerSecretKey.go.html to see an example of how to use DeleteCustomerSecretKey API. // A default retry strategy applies to this operation DeleteCustomerSecretKey() func (client IdentityClient) DeleteCustomerSecretKey(ctx context.Context, request DeleteCustomerSecretKeyRequest) (response DeleteCustomerSecretKeyResponse, err error) { var ociResponse common.OCIResponse @@ -2886,7 +2886,7 @@ func (client IdentityClient) deleteCustomerSecretKey(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDbCredential.go.html to see an example of how to use DeleteDbCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDbCredential.go.html to see an example of how to use DeleteDbCredential API. // A default retry strategy applies to this operation DeleteDbCredential() func (client IdentityClient) DeleteDbCredential(ctx context.Context, request DeleteDbCredentialRequest) (response DeleteDbCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -2950,7 +2950,7 @@ func (client IdentityClient) deleteDbCredential(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDomain.go.html to see an example of how to use DeleteDomain API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDomain.go.html to see an example of how to use DeleteDomain API. // A default retry strategy applies to this operation DeleteDomain() func (client IdentityClient) DeleteDomain(ctx context.Context, request DeleteDomainRequest) (response DeleteDomainResponse, err error) { var ociResponse common.OCIResponse @@ -3008,7 +3008,7 @@ func (client IdentityClient) deleteDomain(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDynamicGroup.go.html to see an example of how to use DeleteDynamicGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteDynamicGroup.go.html to see an example of how to use DeleteDynamicGroup API. // A default retry strategy applies to this operation DeleteDynamicGroup() func (client IdentityClient) DeleteDynamicGroup(ctx context.Context, request DeleteDynamicGroupRequest) (response DeleteDynamicGroupResponse, err error) { var ociResponse common.OCIResponse @@ -3066,7 +3066,7 @@ func (client IdentityClient) deleteDynamicGroup(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteGroup.go.html to see an example of how to use DeleteGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteGroup.go.html to see an example of how to use DeleteGroup API. // A default retry strategy applies to this operation DeleteGroup() func (client IdentityClient) DeleteGroup(ctx context.Context, request DeleteGroupRequest) (response DeleteGroupResponse, err error) { var ociResponse common.OCIResponse @@ -3120,13 +3120,13 @@ func (client IdentityClient) deleteGroup(ctx context.Context, request common.OCI return response, err } -// DeleteIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// DeleteIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Deletes the specified identity provider. The identity provider must not have // any group mappings (see IdpGroupMapping). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdentityProvider.go.html to see an example of how to use DeleteIdentityProvider API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdentityProvider.go.html to see an example of how to use DeleteIdentityProvider API. // A default retry strategy applies to this operation DeleteIdentityProvider() func (client IdentityClient) DeleteIdentityProvider(ctx context.Context, request DeleteIdentityProviderRequest) (response DeleteIdentityProviderResponse, err error) { var ociResponse common.OCIResponse @@ -3180,12 +3180,12 @@ func (client IdentityClient) deleteIdentityProvider(ctx context.Context, request return response, err } -// DeleteIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// DeleteIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Deletes the specified group mapping. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdpGroupMapping.go.html to see an example of how to use DeleteIdpGroupMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteIdpGroupMapping.go.html to see an example of how to use DeleteIdpGroupMapping API. // A default retry strategy applies to this operation DeleteIdpGroupMapping() func (client IdentityClient) DeleteIdpGroupMapping(ctx context.Context, request DeleteIdpGroupMappingRequest) (response DeleteIdpGroupMappingResponse, err error) { var ociResponse common.OCIResponse @@ -3243,7 +3243,7 @@ func (client IdentityClient) deleteIdpGroupMapping(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteMfaTotpDevice.go.html to see an example of how to use DeleteMfaTotpDevice API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteMfaTotpDevice.go.html to see an example of how to use DeleteMfaTotpDevice API. // A default retry strategy applies to this operation DeleteMfaTotpDevice() func (client IdentityClient) DeleteMfaTotpDevice(ctx context.Context, request DeleteMfaTotpDeviceRequest) (response DeleteMfaTotpDeviceResponse, err error) { var ociResponse common.OCIResponse @@ -3301,7 +3301,7 @@ func (client IdentityClient) deleteMfaTotpDevice(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteNetworkSource.go.html to see an example of how to use DeleteNetworkSource API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteNetworkSource.go.html to see an example of how to use DeleteNetworkSource API. // A default retry strategy applies to this operation DeleteNetworkSource() func (client IdentityClient) DeleteNetworkSource(ctx context.Context, request DeleteNetworkSourceRequest) (response DeleteNetworkSourceResponse, err error) { var ociResponse common.OCIResponse @@ -3359,7 +3359,7 @@ func (client IdentityClient) deleteNetworkSource(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteOAuthClientCredential.go.html to see an example of how to use DeleteOAuthClientCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteOAuthClientCredential.go.html to see an example of how to use DeleteOAuthClientCredential API. // A default retry strategy applies to this operation DeleteOAuthClientCredential() func (client IdentityClient) DeleteOAuthClientCredential(ctx context.Context, request DeleteOAuthClientCredentialRequest) (response DeleteOAuthClientCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -3417,7 +3417,7 @@ func (client IdentityClient) deleteOAuthClientCredential(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeletePolicy.go.html to see an example of how to use DeletePolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeletePolicy.go.html to see an example of how to use DeletePolicy API. // A default retry strategy applies to this operation DeletePolicy() func (client IdentityClient) DeletePolicy(ctx context.Context, request DeletePolicyRequest) (response DeletePolicyResponse, err error) { var ociResponse common.OCIResponse @@ -3475,7 +3475,7 @@ func (client IdentityClient) deletePolicy(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSmtpCredential.go.html to see an example of how to use DeleteSmtpCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSmtpCredential.go.html to see an example of how to use DeleteSmtpCredential API. // A default retry strategy applies to this operation DeleteSmtpCredential() func (client IdentityClient) DeleteSmtpCredential(ctx context.Context, request DeleteSmtpCredentialRequest) (response DeleteSmtpCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -3534,7 +3534,7 @@ func (client IdentityClient) deleteSmtpCredential(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSwiftPassword.go.html to see an example of how to use DeleteSwiftPassword API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteSwiftPassword.go.html to see an example of how to use DeleteSwiftPassword API. // A default retry strategy applies to this operation DeleteSwiftPassword() func (client IdentityClient) DeleteSwiftPassword(ctx context.Context, request DeleteSwiftPasswordRequest) (response DeleteSwiftPasswordResponse, err error) { var ociResponse common.OCIResponse @@ -3607,7 +3607,7 @@ func (client IdentityClient) deleteSwiftPassword(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTag.go.html to see an example of how to use DeleteTag API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTag.go.html to see an example of how to use DeleteTag API. // A default retry strategy applies to this operation DeleteTag() func (client IdentityClient) DeleteTag(ctx context.Context, request DeleteTagRequest) (response DeleteTagResponse, err error) { var ociResponse common.OCIResponse @@ -3665,7 +3665,7 @@ func (client IdentityClient) deleteTag(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagDefault.go.html to see an example of how to use DeleteTagDefault API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagDefault.go.html to see an example of how to use DeleteTagDefault API. // A default retry strategy applies to this operation DeleteTagDefault() func (client IdentityClient) DeleteTagDefault(ctx context.Context, request DeleteTagDefaultRequest) (response DeleteTagDefaultResponse, err error) { var ociResponse common.OCIResponse @@ -3727,7 +3727,7 @@ func (client IdentityClient) deleteTagDefault(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagNamespace.go.html to see an example of how to use DeleteTagNamespace API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteTagNamespace.go.html to see an example of how to use DeleteTagNamespace API. // A default retry strategy applies to this operation DeleteTagNamespace() func (client IdentityClient) DeleteTagNamespace(ctx context.Context, request DeleteTagNamespaceRequest) (response DeleteTagNamespaceResponse, err error) { var ociResponse common.OCIResponse @@ -3785,7 +3785,7 @@ func (client IdentityClient) deleteTagNamespace(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteUser.go.html to see an example of how to use DeleteUser API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/DeleteUser.go.html to see an example of how to use DeleteUser API. // A default retry strategy applies to this operation DeleteUser() func (client IdentityClient) DeleteUser(ctx context.Context, request DeleteUserRequest) (response DeleteUserResponse, err error) { var ociResponse common.OCIResponse @@ -3850,7 +3850,7 @@ func (client IdentityClient) deleteUser(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/EnableReplicationToRegion.go.html to see an example of how to use EnableReplicationToRegion API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/EnableReplicationToRegion.go.html to see an example of how to use EnableReplicationToRegion API. // A default retry strategy applies to this operation EnableReplicationToRegion() func (client IdentityClient) EnableReplicationToRegion(ctx context.Context, request EnableReplicationToRegionRequest) (response EnableReplicationToRegionResponse, err error) { var ociResponse common.OCIResponse @@ -3914,7 +3914,7 @@ func (client IdentityClient) enableReplicationToRegion(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GenerateTotpSeed.go.html to see an example of how to use GenerateTotpSeed API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GenerateTotpSeed.go.html to see an example of how to use GenerateTotpSeed API. // A default retry strategy applies to this operation GenerateTotpSeed() func (client IdentityClient) GenerateTotpSeed(ctx context.Context, request GenerateTotpSeedRequest) (response GenerateTotpSeedResponse, err error) { var ociResponse common.OCIResponse @@ -3974,7 +3974,7 @@ func (client IdentityClient) generateTotpSeed(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetAuthenticationPolicy.go.html to see an example of how to use GetAuthenticationPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetAuthenticationPolicy.go.html to see an example of how to use GetAuthenticationPolicy API. // A default retry strategy applies to this operation GetAuthenticationPolicy() func (client IdentityClient) GetAuthenticationPolicy(ctx context.Context, request GetAuthenticationPolicyRequest) (response GetAuthenticationPolicyResponse, err error) { var ociResponse common.OCIResponse @@ -4038,7 +4038,7 @@ func (client IdentityClient) getAuthenticationPolicy(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetCompartment.go.html to see an example of how to use GetCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetCompartment.go.html to see an example of how to use GetCompartment API. // A default retry strategy applies to this operation GetCompartment() func (client IdentityClient) GetCompartment(ctx context.Context, request GetCompartmentRequest) (response GetCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -4096,7 +4096,7 @@ func (client IdentityClient) getCompartment(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDomain.go.html to see an example of how to use GetDomain API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDomain.go.html to see an example of how to use GetDomain API. // A default retry strategy applies to this operation GetDomain() func (client IdentityClient) GetDomain(ctx context.Context, request GetDomainRequest) (response GetDomainResponse, err error) { var ociResponse common.OCIResponse @@ -4154,7 +4154,7 @@ func (client IdentityClient) getDomain(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDynamicGroup.go.html to see an example of how to use GetDynamicGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetDynamicGroup.go.html to see an example of how to use GetDynamicGroup API. // A default retry strategy applies to this operation GetDynamicGroup() func (client IdentityClient) GetDynamicGroup(ctx context.Context, request GetDynamicGroupRequest) (response GetDynamicGroupResponse, err error) { var ociResponse common.OCIResponse @@ -4215,7 +4215,7 @@ func (client IdentityClient) getDynamicGroup(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetGroup.go.html to see an example of how to use GetGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetGroup.go.html to see an example of how to use GetGroup API. // A default retry strategy applies to this operation GetGroup() func (client IdentityClient) GetGroup(ctx context.Context, request GetGroupRequest) (response GetGroupResponse, err error) { var ociResponse common.OCIResponse @@ -4273,7 +4273,7 @@ func (client IdentityClient) getGroup(ctx context.Context, request common.OCIReq // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIamWorkRequest.go.html to see an example of how to use GetIamWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIamWorkRequest.go.html to see an example of how to use GetIamWorkRequest API. // A default retry strategy applies to this operation GetIamWorkRequest() func (client IdentityClient) GetIamWorkRequest(ctx context.Context, request GetIamWorkRequestRequest) (response GetIamWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -4327,12 +4327,12 @@ func (client IdentityClient) getIamWorkRequest(ctx context.Context, request comm return response, err } -// GetIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// GetIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Gets the specified identity provider's information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdentityProvider.go.html to see an example of how to use GetIdentityProvider API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdentityProvider.go.html to see an example of how to use GetIdentityProvider API. // A default retry strategy applies to this operation GetIdentityProvider() func (client IdentityClient) GetIdentityProvider(ctx context.Context, request GetIdentityProviderRequest) (response GetIdentityProviderResponse, err error) { var ociResponse common.OCIResponse @@ -4386,12 +4386,12 @@ func (client IdentityClient) getIdentityProvider(ctx context.Context, request co return response, err } -// GetIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// GetIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Gets the specified group mapping. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdpGroupMapping.go.html to see an example of how to use GetIdpGroupMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetIdpGroupMapping.go.html to see an example of how to use GetIdpGroupMapping API. // A default retry strategy applies to this operation GetIdpGroupMapping() func (client IdentityClient) GetIdpGroupMapping(ctx context.Context, request GetIdpGroupMappingRequest) (response GetIdpGroupMappingResponse, err error) { var ociResponse common.OCIResponse @@ -4449,7 +4449,7 @@ func (client IdentityClient) getIdpGroupMapping(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetMfaTotpDevice.go.html to see an example of how to use GetMfaTotpDevice API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetMfaTotpDevice.go.html to see an example of how to use GetMfaTotpDevice API. // A default retry strategy applies to this operation GetMfaTotpDevice() func (client IdentityClient) GetMfaTotpDevice(ctx context.Context, request GetMfaTotpDeviceRequest) (response GetMfaTotpDeviceResponse, err error) { var ociResponse common.OCIResponse @@ -4507,7 +4507,7 @@ func (client IdentityClient) getMfaTotpDevice(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetNetworkSource.go.html to see an example of how to use GetNetworkSource API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetNetworkSource.go.html to see an example of how to use GetNetworkSource API. // A default retry strategy applies to this operation GetNetworkSource() func (client IdentityClient) GetNetworkSource(ctx context.Context, request GetNetworkSourceRequest) (response GetNetworkSourceResponse, err error) { var ociResponse common.OCIResponse @@ -4565,7 +4565,7 @@ func (client IdentityClient) getNetworkSource(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetPolicy.go.html to see an example of how to use GetPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetPolicy.go.html to see an example of how to use GetPolicy API. // A default retry strategy applies to this operation GetPolicy() func (client IdentityClient) GetPolicy(ctx context.Context, request GetPolicyRequest) (response GetPolicyResponse, err error) { var ociResponse common.OCIResponse @@ -4623,7 +4623,7 @@ func (client IdentityClient) getPolicy(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetStandardTagTemplate.go.html to see an example of how to use GetStandardTagTemplate API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetStandardTagTemplate.go.html to see an example of how to use GetStandardTagTemplate API. // A default retry strategy applies to this operation GetStandardTagTemplate() func (client IdentityClient) GetStandardTagTemplate(ctx context.Context, request GetStandardTagTemplateRequest) (response GetStandardTagTemplateResponse, err error) { var ociResponse common.OCIResponse @@ -4681,7 +4681,7 @@ func (client IdentityClient) getStandardTagTemplate(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTag.go.html to see an example of how to use GetTag API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTag.go.html to see an example of how to use GetTag API. // A default retry strategy applies to this operation GetTag() func (client IdentityClient) GetTag(ctx context.Context, request GetTagRequest) (response GetTagResponse, err error) { var ociResponse common.OCIResponse @@ -4739,7 +4739,7 @@ func (client IdentityClient) getTag(ctx context.Context, request common.OCIReque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagDefault.go.html to see an example of how to use GetTagDefault API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagDefault.go.html to see an example of how to use GetTagDefault API. // A default retry strategy applies to this operation GetTagDefault() func (client IdentityClient) GetTagDefault(ctx context.Context, request GetTagDefaultRequest) (response GetTagDefaultResponse, err error) { var ociResponse common.OCIResponse @@ -4797,7 +4797,7 @@ func (client IdentityClient) getTagDefault(ctx context.Context, request common.O // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagNamespace.go.html to see an example of how to use GetTagNamespace API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTagNamespace.go.html to see an example of how to use GetTagNamespace API. // A default retry strategy applies to this operation GetTagNamespace() func (client IdentityClient) GetTagNamespace(ctx context.Context, request GetTagNamespaceRequest) (response GetTagNamespaceResponse, err error) { var ociResponse common.OCIResponse @@ -4856,7 +4856,7 @@ func (client IdentityClient) getTagNamespace(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTaggingWorkRequest.go.html to see an example of how to use GetTaggingWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTaggingWorkRequest.go.html to see an example of how to use GetTaggingWorkRequest API. // A default retry strategy applies to this operation GetTaggingWorkRequest() func (client IdentityClient) GetTaggingWorkRequest(ctx context.Context, request GetTaggingWorkRequestRequest) (response GetTaggingWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -4914,7 +4914,7 @@ func (client IdentityClient) getTaggingWorkRequest(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTenancy.go.html to see an example of how to use GetTenancy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetTenancy.go.html to see an example of how to use GetTenancy API. // A default retry strategy applies to this operation GetTenancy() func (client IdentityClient) GetTenancy(ctx context.Context, request GetTenancyRequest) (response GetTenancyResponse, err error) { var ociResponse common.OCIResponse @@ -4972,7 +4972,7 @@ func (client IdentityClient) getTenancy(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUser.go.html to see an example of how to use GetUser API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUser.go.html to see an example of how to use GetUser API. // A default retry strategy applies to this operation GetUser() func (client IdentityClient) GetUser(ctx context.Context, request GetUserRequest) (response GetUserResponse, err error) { var ociResponse common.OCIResponse @@ -5030,7 +5030,7 @@ func (client IdentityClient) getUser(ctx context.Context, request common.OCIRequ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserGroupMembership.go.html to see an example of how to use GetUserGroupMembership API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserGroupMembership.go.html to see an example of how to use GetUserGroupMembership API. // A default retry strategy applies to this operation GetUserGroupMembership() func (client IdentityClient) GetUserGroupMembership(ctx context.Context, request GetUserGroupMembershipRequest) (response GetUserGroupMembershipResponse, err error) { var ociResponse common.OCIResponse @@ -5089,7 +5089,7 @@ func (client IdentityClient) getUserGroupMembership(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserUIPasswordInformation.go.html to see an example of how to use GetUserUIPasswordInformation API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetUserUIPasswordInformation.go.html to see an example of how to use GetUserUIPasswordInformation API. // A default retry strategy applies to this operation GetUserUIPasswordInformation() func (client IdentityClient) GetUserUIPasswordInformation(ctx context.Context, request GetUserUIPasswordInformationRequest) (response GetUserUIPasswordInformationResponse, err error) { var ociResponse common.OCIResponse @@ -5148,7 +5148,7 @@ func (client IdentityClient) getUserUIPasswordInformation(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. // A default retry strategy applies to this operation GetWorkRequest() func (client IdentityClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -5207,7 +5207,7 @@ func (client IdentityClient) getWorkRequest(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ImportStandardTags.go.html to see an example of how to use ImportStandardTags API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ImportStandardTags.go.html to see an example of how to use ImportStandardTags API. // A default retry strategy applies to this operation ImportStandardTags() func (client IdentityClient) ImportStandardTags(ctx context.Context, request ImportStandardTagsRequest) (response ImportStandardTagsResponse, err error) { var ociResponse common.OCIResponse @@ -5274,7 +5274,7 @@ func (client IdentityClient) importStandardTags(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAllowedDomainLicenseTypes.go.html to see an example of how to use ListAllowedDomainLicenseTypes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAllowedDomainLicenseTypes.go.html to see an example of how to use ListAllowedDomainLicenseTypes API. // A default retry strategy applies to this operation ListAllowedDomainLicenseTypes() func (client IdentityClient) ListAllowedDomainLicenseTypes(ctx context.Context, request ListAllowedDomainLicenseTypesRequest) (response ListAllowedDomainLicenseTypesResponse, err error) { var ociResponse common.OCIResponse @@ -5334,7 +5334,7 @@ func (client IdentityClient) listAllowedDomainLicenseTypes(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListApiKeys.go.html to see an example of how to use ListApiKeys API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListApiKeys.go.html to see an example of how to use ListApiKeys API. // A default retry strategy applies to this operation ListApiKeys() func (client IdentityClient) ListApiKeys(ctx context.Context, request ListApiKeysRequest) (response ListApiKeysResponse, err error) { var ociResponse common.OCIResponse @@ -5393,7 +5393,7 @@ func (client IdentityClient) listApiKeys(ctx context.Context, request common.OCI // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAuthTokens.go.html to see an example of how to use ListAuthTokens API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAuthTokens.go.html to see an example of how to use ListAuthTokens API. // A default retry strategy applies to this operation ListAuthTokens() func (client IdentityClient) ListAuthTokens(ctx context.Context, request ListAuthTokensRequest) (response ListAuthTokensResponse, err error) { var ociResponse common.OCIResponse @@ -5449,13 +5449,13 @@ func (client IdentityClient) listAuthTokens(ctx context.Context, request common. // ListAvailabilityDomains Lists the availability domains in your tenancy. Specify the OCID of either the tenancy or another // of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // Note that the order of the results returned can change if availability domains are added or removed; therefore, do not // create a dependency on the list order. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAvailabilityDomains.go.html to see an example of how to use ListAvailabilityDomains API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAvailabilityDomains.go.html to see an example of how to use ListAvailabilityDomains API. // A default retry strategy applies to this operation ListAvailabilityDomains() func (client IdentityClient) ListAvailabilityDomains(ctx context.Context, request ListAvailabilityDomainsRequest) (response ListAvailabilityDomainsResponse, err error) { var ociResponse common.OCIResponse @@ -5514,12 +5514,12 @@ func (client IdentityClient) listAvailabilityDomains(ctx context.Context, reques // and BulkMoveResources operations. The returned list of // resource-types provides the appropriate resource-type names to use with the bulk action operations along with // the type of identifying information you'll need to provide for each resource-type. Most resource-types just -// require an OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types, +// require an OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types, // such as buckets, require you to provide other identifying information. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkActionResourceTypes.go.html to see an example of how to use ListBulkActionResourceTypes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkActionResourceTypes.go.html to see an example of how to use ListBulkActionResourceTypes API. // A default retry strategy applies to this operation ListBulkActionResourceTypes() func (client IdentityClient) ListBulkActionResourceTypes(ctx context.Context, request ListBulkActionResourceTypesRequest) (response ListBulkActionResourceTypesResponse, err error) { var ociResponse common.OCIResponse @@ -5577,7 +5577,7 @@ func (client IdentityClient) listBulkActionResourceTypes(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkEditTagsResourceTypes.go.html to see an example of how to use ListBulkEditTagsResourceTypes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkEditTagsResourceTypes.go.html to see an example of how to use ListBulkEditTagsResourceTypes API. // A default retry strategy applies to this operation ListBulkEditTagsResourceTypes() func (client IdentityClient) ListBulkEditTagsResourceTypes(ctx context.Context, request ListBulkEditTagsResourceTypesRequest) (response ListBulkEditTagsResourceTypesResponse, err error) { var ociResponse common.OCIResponse @@ -5644,11 +5644,11 @@ func (client IdentityClient) listBulkEditTagsResourceTypes(ctx context.Context, // tenancy (root compartment). When set to true, the entire hierarchy of compartments can be returned. // To get a full list of all compartments and subcompartments in the tenancy (root compartment), // set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ANY. -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCompartments.go.html to see an example of how to use ListCompartments API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCompartments.go.html to see an example of how to use ListCompartments API. // A default retry strategy applies to this operation ListCompartments() func (client IdentityClient) ListCompartments(ctx context.Context, request ListCompartmentsRequest) (response ListCompartmentsResponse, err error) { var ociResponse common.OCIResponse @@ -5703,11 +5703,11 @@ func (client IdentityClient) listCompartments(ctx context.Context, request commo } // ListCostTrackingTags Lists all the tags enabled for cost-tracking in the specified tenancy. For information about -// cost-tracking tags, see Using Cost-tracking Tags (https://docs.cloud.oracle.com/Content/Tagging/Tasks/usingcosttrackingtags.htm). +// cost-tracking tags, see Using Cost-tracking Tags (https://docs.oracle.com/iaas/Content/Tagging/Tasks/usingcosttrackingtags.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCostTrackingTags.go.html to see an example of how to use ListCostTrackingTags API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCostTrackingTags.go.html to see an example of how to use ListCostTrackingTags API. // A default retry strategy applies to this operation ListCostTrackingTags() func (client IdentityClient) ListCostTrackingTags(ctx context.Context, request ListCostTrackingTagsRequest) (response ListCostTrackingTagsResponse, err error) { var ociResponse common.OCIResponse @@ -5766,7 +5766,7 @@ func (client IdentityClient) listCostTrackingTags(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCustomerSecretKeys.go.html to see an example of how to use ListCustomerSecretKeys API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCustomerSecretKeys.go.html to see an example of how to use ListCustomerSecretKeys API. // A default retry strategy applies to this operation ListCustomerSecretKeys() func (client IdentityClient) ListCustomerSecretKeys(ctx context.Context, request ListCustomerSecretKeysRequest) (response ListCustomerSecretKeysResponse, err error) { var ociResponse common.OCIResponse @@ -5824,7 +5824,7 @@ func (client IdentityClient) listCustomerSecretKeys(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDbCredentials.go.html to see an example of how to use ListDbCredentials API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDbCredentials.go.html to see an example of how to use ListDbCredentials API. // A default retry strategy applies to this operation ListDbCredentials() func (client IdentityClient) ListDbCredentials(ctx context.Context, request ListDbCredentialsRequest) (response ListDbCredentialsResponse, err error) { var ociResponse common.OCIResponse @@ -5882,7 +5882,7 @@ func (client IdentityClient) listDbCredentials(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDomains.go.html to see an example of how to use ListDomains API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDomains.go.html to see an example of how to use ListDomains API. // A default retry strategy applies to this operation ListDomains() func (client IdentityClient) ListDomains(ctx context.Context, request ListDomainsRequest) (response ListDomainsResponse, err error) { var ociResponse common.OCIResponse @@ -5938,11 +5938,11 @@ func (client IdentityClient) listDomains(ctx context.Context, request common.OCI // ListDynamicGroups Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for // the compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDynamicGroups.go.html to see an example of how to use ListDynamicGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDynamicGroups.go.html to see an example of how to use ListDynamicGroups API. // A default retry strategy applies to this operation ListDynamicGroups() func (client IdentityClient) ListDynamicGroups(ctx context.Context, request ListDynamicGroupsRequest) (response ListDynamicGroupsResponse, err error) { var ociResponse common.OCIResponse @@ -5998,11 +5998,11 @@ func (client IdentityClient) listDynamicGroups(ctx context.Context, request comm // ListFaultDomains Lists the Fault Domains in your tenancy. Specify the OCID of either the tenancy or another // of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListFaultDomains.go.html to see an example of how to use ListFaultDomains API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListFaultDomains.go.html to see an example of how to use ListFaultDomains API. // A default retry strategy applies to this operation ListFaultDomains() func (client IdentityClient) ListFaultDomains(ctx context.Context, request ListFaultDomainsRequest) (response ListFaultDomainsResponse, err error) { var ociResponse common.OCIResponse @@ -6058,11 +6058,11 @@ func (client IdentityClient) listFaultDomains(ctx context.Context, request commo // ListGroups Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for // the compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListGroups.go.html to see an example of how to use ListGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListGroups.go.html to see an example of how to use ListGroups API. // A default retry strategy applies to this operation ListGroups() func (client IdentityClient) ListGroups(ctx context.Context, request ListGroupsRequest) (response ListGroupsResponse, err error) { var ociResponse common.OCIResponse @@ -6120,7 +6120,7 @@ func (client IdentityClient) listGroups(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestErrors.go.html to see an example of how to use ListIamWorkRequestErrors API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestErrors.go.html to see an example of how to use ListIamWorkRequestErrors API. // A default retry strategy applies to this operation ListIamWorkRequestErrors() func (client IdentityClient) ListIamWorkRequestErrors(ctx context.Context, request ListIamWorkRequestErrorsRequest) (response ListIamWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse @@ -6178,7 +6178,7 @@ func (client IdentityClient) listIamWorkRequestErrors(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestLogs.go.html to see an example of how to use ListIamWorkRequestLogs API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestLogs.go.html to see an example of how to use ListIamWorkRequestLogs API. // A default retry strategy applies to this operation ListIamWorkRequestLogs() func (client IdentityClient) ListIamWorkRequestLogs(ctx context.Context, request ListIamWorkRequestLogsRequest) (response ListIamWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse @@ -6236,7 +6236,7 @@ func (client IdentityClient) listIamWorkRequestLogs(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequests.go.html to see an example of how to use ListIamWorkRequests API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequests.go.html to see an example of how to use ListIamWorkRequests API. // A default retry strategy applies to this operation ListIamWorkRequests() func (client IdentityClient) ListIamWorkRequests(ctx context.Context, request ListIamWorkRequestsRequest) (response ListIamWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -6290,12 +6290,12 @@ func (client IdentityClient) listIamWorkRequests(ctx context.Context, request co return response, err } -// ListIdentityProviderGroups **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// ListIdentityProviderGroups **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Lists the identity provider groups. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviderGroups.go.html to see an example of how to use ListIdentityProviderGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviderGroups.go.html to see an example of how to use ListIdentityProviderGroups API. // A default retry strategy applies to this operation ListIdentityProviderGroups() func (client IdentityClient) ListIdentityProviderGroups(ctx context.Context, request ListIdentityProviderGroupsRequest) (response ListIdentityProviderGroupsResponse, err error) { var ociResponse common.OCIResponse @@ -6365,15 +6365,15 @@ func (m *listidentityprovider) UnmarshalPolymorphicJSON(data []byte) (interface{ return res, nil } -// ListIdentityProviders **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// ListIdentityProviders **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for // identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the // compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviders.go.html to see an example of how to use ListIdentityProviders API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviders.go.html to see an example of how to use ListIdentityProviders API. // A default retry strategy applies to this operation ListIdentityProviders() func (client IdentityClient) ListIdentityProviders(ctx context.Context, request ListIdentityProvidersRequest) (response ListIdentityProvidersResponse, err error) { var ociResponse common.OCIResponse @@ -6427,12 +6427,12 @@ func (client IdentityClient) listIdentityProviders(ctx context.Context, request return response, err } -// ListIdpGroupMappings **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// ListIdpGroupMappings **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Lists the group mappings for the specified identity provider. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdpGroupMappings.go.html to see an example of how to use ListIdpGroupMappings API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdpGroupMappings.go.html to see an example of how to use ListIdpGroupMappings API. // A default retry strategy applies to this operation ListIdpGroupMappings() func (client IdentityClient) ListIdpGroupMappings(ctx context.Context, request ListIdpGroupMappingsRequest) (response ListIdpGroupMappingsResponse, err error) { var ociResponse common.OCIResponse @@ -6491,7 +6491,7 @@ func (client IdentityClient) listIdpGroupMappings(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListMfaTotpDevices.go.html to see an example of how to use ListMfaTotpDevices API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListMfaTotpDevices.go.html to see an example of how to use ListMfaTotpDevices API. // A default retry strategy applies to this operation ListMfaTotpDevices() func (client IdentityClient) ListMfaTotpDevices(ctx context.Context, request ListMfaTotpDevicesRequest) (response ListMfaTotpDevicesResponse, err error) { var ociResponse common.OCIResponse @@ -6547,11 +6547,11 @@ func (client IdentityClient) listMfaTotpDevices(ctx context.Context, request com // ListNetworkSources Lists the network sources in your tenancy. You must specify your tenancy's OCID as the value for // the compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListNetworkSources.go.html to see an example of how to use ListNetworkSources API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListNetworkSources.go.html to see an example of how to use ListNetworkSources API. // A default retry strategy applies to this operation ListNetworkSources() func (client IdentityClient) ListNetworkSources(ctx context.Context, request ListNetworkSourcesRequest) (response ListNetworkSourcesResponse, err error) { var ociResponse common.OCIResponse @@ -6609,7 +6609,7 @@ func (client IdentityClient) listNetworkSources(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListOAuthClientCredentials.go.html to see an example of how to use ListOAuthClientCredentials API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListOAuthClientCredentials.go.html to see an example of how to use ListOAuthClientCredentials API. // A default retry strategy applies to this operation ListOAuthClientCredentials() func (client IdentityClient) ListOAuthClientCredentials(ctx context.Context, request ListOAuthClientCredentialsRequest) (response ListOAuthClientCredentialsResponse, err error) { var ociResponse common.OCIResponse @@ -6664,13 +6664,13 @@ func (client IdentityClient) listOAuthClientCredentials(ctx context.Context, req } // ListPolicies Lists the policies in the specified compartment (either the tenancy or another of your compartments). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // To determine which policies apply to a particular group or compartment, you must view the individual // statements inside all your policies. There isn't a way to automatically obtain that information via the API. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListPolicies.go.html to see an example of how to use ListPolicies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListPolicies.go.html to see an example of how to use ListPolicies API. // A default retry strategy applies to this operation ListPolicies() func (client IdentityClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error) { var ociResponse common.OCIResponse @@ -6728,7 +6728,7 @@ func (client IdentityClient) listPolicies(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegionSubscriptions.go.html to see an example of how to use ListRegionSubscriptions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegionSubscriptions.go.html to see an example of how to use ListRegionSubscriptions API. // A default retry strategy applies to this operation ListRegionSubscriptions() func (client IdentityClient) ListRegionSubscriptions(ctx context.Context, request ListRegionSubscriptionsRequest) (response ListRegionSubscriptionsResponse, err error) { var ociResponse common.OCIResponse @@ -6786,7 +6786,7 @@ func (client IdentityClient) listRegionSubscriptions(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegions.go.html to see an example of how to use ListRegions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegions.go.html to see an example of how to use ListRegions API. // A default retry strategy applies to this operation ListRegions() func (client IdentityClient) ListRegions(ctx context.Context) (response ListRegionsResponse, err error) { var ociResponse common.OCIResponse @@ -6812,6 +6812,7 @@ func (client IdentityClient) ListRegions(ctx context.Context) (response ListRegi // listRegions performs the request (retry policy is not enabled without a request object) func (client IdentityClient) listRegions(ctx context.Context) (common.OCIResponse, error) { + httpRequest := common.MakeDefaultHTTPRequest(http.MethodGet, "/regions") var err error @@ -6835,7 +6836,7 @@ func (client IdentityClient) listRegions(ctx context.Context) (common.OCIRespons // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSmtpCredentials.go.html to see an example of how to use ListSmtpCredentials API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSmtpCredentials.go.html to see an example of how to use ListSmtpCredentials API. // A default retry strategy applies to this operation ListSmtpCredentials() func (client IdentityClient) ListSmtpCredentials(ctx context.Context, request ListSmtpCredentialsRequest) (response ListSmtpCredentialsResponse, err error) { var ociResponse common.OCIResponse @@ -6893,7 +6894,7 @@ func (client IdentityClient) listSmtpCredentials(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListStandardTagNamespaces.go.html to see an example of how to use ListStandardTagNamespaces API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListStandardTagNamespaces.go.html to see an example of how to use ListStandardTagNamespaces API. // A default retry strategy applies to this operation ListStandardTagNamespaces() func (client IdentityClient) ListStandardTagNamespaces(ctx context.Context, request ListStandardTagNamespacesRequest) (response ListStandardTagNamespacesResponse, err error) { var ociResponse common.OCIResponse @@ -6953,7 +6954,7 @@ func (client IdentityClient) listStandardTagNamespaces(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSwiftPasswords.go.html to see an example of how to use ListSwiftPasswords API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSwiftPasswords.go.html to see an example of how to use ListSwiftPasswords API. // A default retry strategy applies to this operation ListSwiftPasswords() func (client IdentityClient) ListSwiftPasswords(ctx context.Context, request ListSwiftPasswordsRequest) (response ListSwiftPasswordsResponse, err error) { var ociResponse common.OCIResponse @@ -7011,7 +7012,7 @@ func (client IdentityClient) listSwiftPasswords(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagDefaults.go.html to see an example of how to use ListTagDefaults API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagDefaults.go.html to see an example of how to use ListTagDefaults API. // A default retry strategy applies to this operation ListTagDefaults() func (client IdentityClient) ListTagDefaults(ctx context.Context, request ListTagDefaultsRequest) (response ListTagDefaultsResponse, err error) { var ociResponse common.OCIResponse @@ -7069,7 +7070,7 @@ func (client IdentityClient) listTagDefaults(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagNamespaces.go.html to see an example of how to use ListTagNamespaces API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagNamespaces.go.html to see an example of how to use ListTagNamespaces API. // A default retry strategy applies to this operation ListTagNamespaces() func (client IdentityClient) ListTagNamespaces(ctx context.Context, request ListTagNamespacesRequest) (response ListTagNamespacesResponse, err error) { var ociResponse common.OCIResponse @@ -7127,7 +7128,7 @@ func (client IdentityClient) listTagNamespaces(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestErrors.go.html to see an example of how to use ListTaggingWorkRequestErrors API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestErrors.go.html to see an example of how to use ListTaggingWorkRequestErrors API. // A default retry strategy applies to this operation ListTaggingWorkRequestErrors() func (client IdentityClient) ListTaggingWorkRequestErrors(ctx context.Context, request ListTaggingWorkRequestErrorsRequest) (response ListTaggingWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse @@ -7185,7 +7186,7 @@ func (client IdentityClient) listTaggingWorkRequestErrors(ctx context.Context, r // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestLogs.go.html to see an example of how to use ListTaggingWorkRequestLogs API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestLogs.go.html to see an example of how to use ListTaggingWorkRequestLogs API. // A default retry strategy applies to this operation ListTaggingWorkRequestLogs() func (client IdentityClient) ListTaggingWorkRequestLogs(ctx context.Context, request ListTaggingWorkRequestLogsRequest) (response ListTaggingWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse @@ -7243,7 +7244,7 @@ func (client IdentityClient) listTaggingWorkRequestLogs(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequests.go.html to see an example of how to use ListTaggingWorkRequests API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequests.go.html to see an example of how to use ListTaggingWorkRequests API. // A default retry strategy applies to this operation ListTaggingWorkRequests() func (client IdentityClient) ListTaggingWorkRequests(ctx context.Context, request ListTaggingWorkRequestsRequest) (response ListTaggingWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -7301,7 +7302,7 @@ func (client IdentityClient) listTaggingWorkRequests(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTags.go.html to see an example of how to use ListTags API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTags.go.html to see an example of how to use ListTags API. // A default retry strategy applies to this operation ListTags() func (client IdentityClient) ListTags(ctx context.Context, request ListTagsRequest) (response ListTagsResponse, err error) { var ociResponse common.OCIResponse @@ -7357,7 +7358,7 @@ func (client IdentityClient) listTags(ctx context.Context, request common.OCIReq // ListUserGroupMemberships Lists the `UserGroupMembership` objects in your tenancy. You must specify your tenancy's OCID // as the value for the compartment ID -// (see Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five)). +// (see Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five)). // You must also then filter the list in one of these ways: // - You can limit the results to just the memberships for a given user by specifying a `userId`. // - Similarly, you can limit the results to just the memberships for a given group by specifying a `groupId`. @@ -7367,7 +7368,7 @@ func (client IdentityClient) listTags(ctx context.Context, request common.OCIReq // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUserGroupMemberships.go.html to see an example of how to use ListUserGroupMemberships API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUserGroupMemberships.go.html to see an example of how to use ListUserGroupMemberships API. // A default retry strategy applies to this operation ListUserGroupMemberships() func (client IdentityClient) ListUserGroupMemberships(ctx context.Context, request ListUserGroupMembershipsRequest) (response ListUserGroupMembershipsResponse, err error) { var ociResponse common.OCIResponse @@ -7423,11 +7424,11 @@ func (client IdentityClient) listUserGroupMemberships(ctx context.Context, reque // ListUsers Lists the users in your tenancy. You must specify your tenancy's OCID as the value for the // compartment ID (remember that the tenancy is simply the root compartment). -// See Where to Get the Tenancy's OCID and User's OCID (https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five). +// See Where to Get the Tenancy's OCID and User's OCID (https://docs.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#five). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUsers.go.html to see an example of how to use ListUsers API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUsers.go.html to see an example of how to use ListUsers API. // A default retry strategy applies to this operation ListUsers() func (client IdentityClient) ListUsers(ctx context.Context, request ListUsersRequest) (response ListUsersResponse, err error) { var ociResponse common.OCIResponse @@ -7485,7 +7486,7 @@ func (client IdentityClient) listUsers(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. // A default retry strategy applies to this operation ListWorkRequests() func (client IdentityClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -7545,11 +7546,11 @@ func (client IdentityClient) listWorkRequests(ctx context.Context, request commo // **IMPORTANT**: After you move a compartment to a new parent compartment, the access policies of // the new parent take effect and the policies of the previous parent no longer apply. Ensure that you // are aware of the implications for the compartment contents before you move it. For more -// information, see Moving a Compartment (https://docs.cloud.oracle.com/Content/Identity/compartments/managingcompartments.htm#MoveCompartment). +// information, see Moving a Compartment (https://docs.oracle.com/iaas/Content/Identity/compartments/managingcompartments.htm#MoveCompartment). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/MoveCompartment.go.html to see an example of how to use MoveCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/MoveCompartment.go.html to see an example of how to use MoveCompartment API. // A default retry strategy applies to this operation MoveCompartment() func (client IdentityClient) MoveCompartment(ctx context.Context, request MoveCompartmentRequest) (response MoveCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -7613,7 +7614,7 @@ func (client IdentityClient) moveCompartment(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RecoverCompartment.go.html to see an example of how to use RecoverCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RecoverCompartment.go.html to see an example of how to use RecoverCompartment API. // A default retry strategy applies to this operation RecoverCompartment() func (client IdentityClient) RecoverCompartment(ctx context.Context, request RecoverCompartmentRequest) (response RecoverCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -7672,7 +7673,7 @@ func (client IdentityClient) recoverCompartment(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagDefaultLock.go.html to see an example of how to use RemoveTagDefaultLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagDefaultLock.go.html to see an example of how to use RemoveTagDefaultLock API. // A default retry strategy applies to this operation RemoveTagDefaultLock() func (client IdentityClient) RemoveTagDefaultLock(ctx context.Context, request RemoveTagDefaultLockRequest) (response RemoveTagDefaultLockResponse, err error) { var ociResponse common.OCIResponse @@ -7736,7 +7737,7 @@ func (client IdentityClient) removeTagDefaultLock(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagNamespaceLock.go.html to see an example of how to use RemoveTagNamespaceLock API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagNamespaceLock.go.html to see an example of how to use RemoveTagNamespaceLock API. // A default retry strategy applies to this operation RemoveTagNamespaceLock() func (client IdentityClient) RemoveTagNamespaceLock(ctx context.Context, request RemoveTagNamespaceLockRequest) (response RemoveTagNamespaceLockResponse, err error) { var ociResponse common.OCIResponse @@ -7800,7 +7801,7 @@ func (client IdentityClient) removeTagNamespaceLock(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveUserFromGroup.go.html to see an example of how to use RemoveUserFromGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveUserFromGroup.go.html to see an example of how to use RemoveUserFromGroup API. // A default retry strategy applies to this operation RemoveUserFromGroup() func (client IdentityClient) RemoveUserFromGroup(ctx context.Context, request RemoveUserFromGroupRequest) (response RemoveUserFromGroupResponse, err error) { var ociResponse common.OCIResponse @@ -7858,7 +7859,7 @@ func (client IdentityClient) removeUserFromGroup(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ResetIdpScimClient.go.html to see an example of how to use ResetIdpScimClient API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ResetIdpScimClient.go.html to see an example of how to use ResetIdpScimClient API. // A default retry strategy applies to this operation ResetIdpScimClient() func (client IdentityClient) ResetIdpScimClient(ctx context.Context, request ResetIdpScimClientRequest) (response ResetIdpScimClientResponse, err error) { var ociResponse common.OCIResponse @@ -7917,7 +7918,7 @@ func (client IdentityClient) resetIdpScimClient(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthToken.go.html to see an example of how to use UpdateAuthToken API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthToken.go.html to see an example of how to use UpdateAuthToken API. // A default retry strategy applies to this operation UpdateAuthToken() func (client IdentityClient) UpdateAuthToken(ctx context.Context, request UpdateAuthTokenRequest) (response UpdateAuthTokenResponse, err error) { var ociResponse common.OCIResponse @@ -7976,7 +7977,7 @@ func (client IdentityClient) updateAuthToken(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthenticationPolicy.go.html to see an example of how to use UpdateAuthenticationPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthenticationPolicy.go.html to see an example of how to use UpdateAuthenticationPolicy API. // A default retry strategy applies to this operation UpdateAuthenticationPolicy() func (client IdentityClient) UpdateAuthenticationPolicy(ctx context.Context, request UpdateAuthenticationPolicyRequest) (response UpdateAuthenticationPolicyResponse, err error) { var ociResponse common.OCIResponse @@ -8035,7 +8036,7 @@ func (client IdentityClient) updateAuthenticationPolicy(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCompartment.go.html to see an example of how to use UpdateCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCompartment.go.html to see an example of how to use UpdateCompartment API. // A default retry strategy applies to this operation UpdateCompartment() func (client IdentityClient) UpdateCompartment(ctx context.Context, request UpdateCompartmentRequest) (response UpdateCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -8094,7 +8095,7 @@ func (client IdentityClient) updateCompartment(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCustomerSecretKey.go.html to see an example of how to use UpdateCustomerSecretKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCustomerSecretKey.go.html to see an example of how to use UpdateCustomerSecretKey API. // A default retry strategy applies to this operation UpdateCustomerSecretKey() func (client IdentityClient) UpdateCustomerSecretKey(ctx context.Context, request UpdateCustomerSecretKeyRequest) (response UpdateCustomerSecretKeyResponse, err error) { var ociResponse common.OCIResponse @@ -8155,7 +8156,7 @@ func (client IdentityClient) updateCustomerSecretKey(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDomain.go.html to see an example of how to use UpdateDomain API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDomain.go.html to see an example of how to use UpdateDomain API. // A default retry strategy applies to this operation UpdateDomain() func (client IdentityClient) UpdateDomain(ctx context.Context, request UpdateDomainRequest) (response UpdateDomainResponse, err error) { var ociResponse common.OCIResponse @@ -8214,7 +8215,7 @@ func (client IdentityClient) updateDomain(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDynamicGroup.go.html to see an example of how to use UpdateDynamicGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDynamicGroup.go.html to see an example of how to use UpdateDynamicGroup API. // A default retry strategy applies to this operation UpdateDynamicGroup() func (client IdentityClient) UpdateDynamicGroup(ctx context.Context, request UpdateDynamicGroupRequest) (response UpdateDynamicGroupResponse, err error) { var ociResponse common.OCIResponse @@ -8273,7 +8274,7 @@ func (client IdentityClient) updateDynamicGroup(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateGroup.go.html to see an example of how to use UpdateGroup API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateGroup.go.html to see an example of how to use UpdateGroup API. // A default retry strategy applies to this operation UpdateGroup() func (client IdentityClient) UpdateGroup(ctx context.Context, request UpdateGroupRequest) (response UpdateGroupResponse, err error) { var ociResponse common.OCIResponse @@ -8328,12 +8329,12 @@ func (client IdentityClient) updateGroup(ctx context.Context, request common.OCI return response, err } -// UpdateIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// UpdateIdentityProvider **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Updates the specified identity provider. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdentityProvider.go.html to see an example of how to use UpdateIdentityProvider API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdentityProvider.go.html to see an example of how to use UpdateIdentityProvider API. // A default retry strategy applies to this operation UpdateIdentityProvider() func (client IdentityClient) UpdateIdentityProvider(ctx context.Context, request UpdateIdentityProviderRequest) (response UpdateIdentityProviderResponse, err error) { var ociResponse common.OCIResponse @@ -8388,12 +8389,12 @@ func (client IdentityClient) updateIdentityProvider(ctx context.Context, request return response, err } -// UpdateIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm). +// UpdateIdpGroupMapping **Deprecated.** For more information, see Deprecated IAM Service APIs (https://docs.oracle.com/iaas/Content/Identity/Reference/deprecatediamapis.htm). // Updates the specified group mapping. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdpGroupMapping.go.html to see an example of how to use UpdateIdpGroupMapping API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdpGroupMapping.go.html to see an example of how to use UpdateIdpGroupMapping API. // A default retry strategy applies to this operation UpdateIdpGroupMapping() func (client IdentityClient) UpdateIdpGroupMapping(ctx context.Context, request UpdateIdpGroupMappingRequest) (response UpdateIdpGroupMappingResponse, err error) { var ociResponse common.OCIResponse @@ -8452,7 +8453,7 @@ func (client IdentityClient) updateIdpGroupMapping(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateNetworkSource.go.html to see an example of how to use UpdateNetworkSource API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateNetworkSource.go.html to see an example of how to use UpdateNetworkSource API. // A default retry strategy applies to this operation UpdateNetworkSource() func (client IdentityClient) UpdateNetworkSource(ctx context.Context, request UpdateNetworkSourceRequest) (response UpdateNetworkSourceResponse, err error) { var ociResponse common.OCIResponse @@ -8511,7 +8512,7 @@ func (client IdentityClient) updateNetworkSource(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateOAuthClientCredential.go.html to see an example of how to use UpdateOAuthClientCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateOAuthClientCredential.go.html to see an example of how to use UpdateOAuthClientCredential API. // A default retry strategy applies to this operation UpdateOAuthClientCredential() func (client IdentityClient) UpdateOAuthClientCredential(ctx context.Context, request UpdateOAuthClientCredentialRequest) (response UpdateOAuthClientCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -8571,7 +8572,7 @@ func (client IdentityClient) updateOAuthClientCredential(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdatePolicy.go.html to see an example of how to use UpdatePolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdatePolicy.go.html to see an example of how to use UpdatePolicy API. // A default retry strategy applies to this operation UpdatePolicy() func (client IdentityClient) UpdatePolicy(ctx context.Context, request UpdatePolicyRequest) (response UpdatePolicyResponse, err error) { var ociResponse common.OCIResponse @@ -8630,7 +8631,7 @@ func (client IdentityClient) updatePolicy(ctx context.Context, request common.OC // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSmtpCredential.go.html to see an example of how to use UpdateSmtpCredential API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSmtpCredential.go.html to see an example of how to use UpdateSmtpCredential API. // A default retry strategy applies to this operation UpdateSmtpCredential() func (client IdentityClient) UpdateSmtpCredential(ctx context.Context, request UpdateSmtpCredentialRequest) (response UpdateSmtpCredentialResponse, err error) { var ociResponse common.OCIResponse @@ -8690,7 +8691,7 @@ func (client IdentityClient) updateSmtpCredential(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSwiftPassword.go.html to see an example of how to use UpdateSwiftPassword API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSwiftPassword.go.html to see an example of how to use UpdateSwiftPassword API. // A default retry strategy applies to this operation UpdateSwiftPassword() func (client IdentityClient) UpdateSwiftPassword(ctx context.Context, request UpdateSwiftPasswordRequest) (response UpdateSwiftPasswordResponse, err error) { var ociResponse common.OCIResponse @@ -8756,7 +8757,7 @@ func (client IdentityClient) updateSwiftPassword(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTag.go.html to see an example of how to use UpdateTag API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTag.go.html to see an example of how to use UpdateTag API. // A default retry strategy applies to this operation UpdateTag() func (client IdentityClient) UpdateTag(ctx context.Context, request UpdateTagRequest) (response UpdateTagResponse, err error) { var ociResponse common.OCIResponse @@ -8819,7 +8820,7 @@ func (client IdentityClient) updateTag(ctx context.Context, request common.OCIRe // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagDefault.go.html to see an example of how to use UpdateTagDefault API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagDefault.go.html to see an example of how to use UpdateTagDefault API. // A default retry strategy applies to this operation UpdateTagDefault() func (client IdentityClient) UpdateTagDefault(ctx context.Context, request UpdateTagDefaultRequest) (response UpdateTagDefaultResponse, err error) { var ociResponse common.OCIResponse @@ -8879,12 +8880,12 @@ func (client IdentityClient) updateTagDefault(ctx context.Context, request commo // namespace (changing `isRetired` from 'true' to 'false') does not reactivate tag definitions. // To reactivate the tag definitions, you must reactivate each one individually *after* you reactivate the namespace, // using UpdateTag. For more information about retiring tag namespaces, see -// Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). +// Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). // You can't add a namespace with the same name as a retired namespace in the same tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagNamespace.go.html to see an example of how to use UpdateTagNamespace API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagNamespace.go.html to see an example of how to use UpdateTagNamespace API. // A default retry strategy applies to this operation UpdateTagNamespace() func (client IdentityClient) UpdateTagNamespace(ctx context.Context, request UpdateTagNamespaceRequest) (response UpdateTagNamespaceResponse, err error) { var ociResponse common.OCIResponse @@ -8943,7 +8944,7 @@ func (client IdentityClient) updateTagNamespace(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUser.go.html to see an example of how to use UpdateUser API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUser.go.html to see an example of how to use UpdateUser API. // A default retry strategy applies to this operation UpdateUser() func (client IdentityClient) UpdateUser(ctx context.Context, request UpdateUserRequest) (response UpdateUserResponse, err error) { var ociResponse common.OCIResponse @@ -9002,7 +9003,7 @@ func (client IdentityClient) updateUser(ctx context.Context, request common.OCIR // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserCapabilities.go.html to see an example of how to use UpdateUserCapabilities API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserCapabilities.go.html to see an example of how to use UpdateUserCapabilities API. // A default retry strategy applies to this operation UpdateUserCapabilities() func (client IdentityClient) UpdateUserCapabilities(ctx context.Context, request UpdateUserCapabilitiesRequest) (response UpdateUserCapabilitiesResponse, err error) { var ociResponse common.OCIResponse @@ -9061,7 +9062,7 @@ func (client IdentityClient) updateUserCapabilities(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserState.go.html to see an example of how to use UpdateUserState API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserState.go.html to see an example of how to use UpdateUserState API. // A default retry strategy applies to this operation UpdateUserState() func (client IdentityClient) UpdateUserState(ctx context.Context, request UpdateUserStateRequest) (response UpdateUserStateResponse, err error) { var ociResponse common.OCIResponse @@ -9131,7 +9132,7 @@ func (client IdentityClient) updateUserState(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UploadApiKey.go.html to see an example of how to use UploadApiKey API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UploadApiKey.go.html to see an example of how to use UploadApiKey API. // A default retry strategy applies to this operation UploadApiKey() func (client IdentityClient) UploadApiKey(ctx context.Context, request UploadApiKeyRequest) (response UploadApiKeyResponse, err error) { var ociResponse common.OCIResponse diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go index 837114fc6b..5dcfc1b60d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -20,10 +20,10 @@ import ( // Saml2IdentityProvider // is a specific type of `IdentityProvider` that supports the SAML 2.0 protocol. Each // `IdentityProvider` object has its own OCID. For more information, see -// Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). +// Identity Providers and Federation (https://docs.oracle.com/iaas/Content/Identity/Concepts/federation.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string // values using the API. type IdentityProvider interface { @@ -66,12 +66,12 @@ type IdentityProvider interface { GetInactiveStatus() *int64 // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} } @@ -131,7 +131,7 @@ func (m *identityprovider) UnmarshalPolymorphicJSON(data []byte) (interface{}, e err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for IdentityProvider: %s.", m.Protocol) + common.Logf("Received unsupported enum value for IdentityProvider: %s.", m.Protocol) return *m, nil } } @@ -200,7 +200,7 @@ func (m identityprovider) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider_group_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider_group_summary.go index c4abea278b..b17ac7134a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider_group_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider_group_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -53,7 +53,7 @@ func (m IdentityProviderGroupSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/idp_group_mapping.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/idp_group_mapping.go index 72c40060fd..e991a858b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/idp_group_mapping.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/idp_group_mapping.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,7 +18,7 @@ import ( // IdpGroupMapping A mapping between a single group defined by the identity provider (IdP) you're federating with // and a single IAM Service Group in Oracle Cloud Infrastructure. // For more information about group mappings and what they're for, see -// Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). +// Identity Providers and Federation (https://docs.oracle.com/iaas/Content/Identity/Concepts/federation.htm). // A given IdP group can be mapped to zero, one, or multiple IAM Service groups, and vice versa. // But each `IdPGroupMapping` object is between only a single IdP group and IAM Service group. // Each `IdPGroupMapping` object has its own OCID. @@ -67,7 +67,7 @@ func (m IdpGroupMapping) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_details.go index 70ddf64c77..ed6e101d04 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m ImportStandardTagsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_request_response.go index d0dda2753d..406084171e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/import_standard_tags_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ImportStandardTags.go.html to see an example of how to use ImportStandardTagsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ImportStandardTags.go.html to see an example of how to use ImportStandardTagsRequest. type ImportStandardTagsRequest struct { // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -69,7 +69,7 @@ func (request ImportStandardTagsRequest) RetryPolicy() *common.RetryPolicy { func (request ImportStandardTagsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -84,7 +84,7 @@ type ImportStandardTagsResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_allowed_domain_license_types_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_allowed_domain_license_types_request_response.go index 0e1e3360d4..79caae2a69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_allowed_domain_license_types_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_allowed_domain_license_types_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAllowedDomainLicenseTypes.go.html to see an example of how to use ListAllowedDomainLicenseTypesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAllowedDomainLicenseTypes.go.html to see an example of how to use ListAllowedDomainLicenseTypesRequest. type ListAllowedDomainLicenseTypesRequest struct { // The license type of the identity domain. @@ -62,7 +62,7 @@ func (request ListAllowedDomainLicenseTypesRequest) RetryPolicy() *common.RetryP func (request ListAllowedDomainLicenseTypesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_api_keys_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_api_keys_request_response.go index 00facb47c5..8d29dbe3dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_api_keys_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_api_keys_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListApiKeys.go.html to see an example of how to use ListApiKeysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListApiKeys.go.html to see an example of how to use ListApiKeysRequest. type ListApiKeysRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request ListApiKeysRequest) RetryPolicy() *common.RetryPolicy { func (request ListApiKeysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_auth_tokens_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_auth_tokens_request_response.go index 7cce2a6143..9929ec647a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_auth_tokens_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_auth_tokens_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAuthTokens.go.html to see an example of how to use ListAuthTokensRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAuthTokens.go.html to see an example of how to use ListAuthTokensRequest. type ListAuthTokensRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request ListAuthTokensRequest) RetryPolicy() *common.RetryPolicy { func (request ListAuthTokensRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_availability_domains_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_availability_domains_request_response.go index 8888be3c08..1b8ec4f5a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_availability_domains_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_availability_domains_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAvailabilityDomains.go.html to see an example of how to use ListAvailabilityDomainsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListAvailabilityDomains.go.html to see an example of how to use ListAvailabilityDomainsRequest. type ListAvailabilityDomainsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -62,7 +62,7 @@ func (request ListAvailabilityDomainsRequest) RetryPolicy() *common.RetryPolicy func (request ListAvailabilityDomainsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_action_resource_types_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_action_resource_types_request_response.go index 5017bd3157..ecd9dafbff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_action_resource_types_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_action_resource_types_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkActionResourceTypes.go.html to see an example of how to use ListBulkActionResourceTypesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkActionResourceTypes.go.html to see an example of how to use ListBulkActionResourceTypesRequest. type ListBulkActionResourceTypesRequest struct { // The type of bulk action. @@ -71,7 +71,7 @@ func (request ListBulkActionResourceTypesRequest) ValidateEnumValue() (bool, err errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BulkActionType: %s. Supported values are: %s.", request.BulkActionType, strings.Join(GetListBulkActionResourceTypesBulkActionTypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_edit_tags_resource_types_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_edit_tags_resource_types_request_response.go index eea8a0144b..6d3a4de691 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_edit_tags_resource_types_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_bulk_edit_tags_resource_types_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkEditTagsResourceTypes.go.html to see an example of how to use ListBulkEditTagsResourceTypesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListBulkEditTagsResourceTypes.go.html to see an example of how to use ListBulkEditTagsResourceTypesRequest. type ListBulkEditTagsResourceTypesRequest struct { // The value of the `opc-next-page` response header from the previous "List" call. @@ -65,7 +65,7 @@ func (request ListBulkEditTagsResourceTypesRequest) RetryPolicy() *common.RetryP func (request ListBulkEditTagsResourceTypesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_compartments_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_compartments_request_response.go index 73e2fbbf05..003eb9e9d5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_compartments_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_compartments_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCompartments.go.html to see an example of how to use ListCompartmentsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCompartments.go.html to see an example of how to use ListCompartmentsRequest. type ListCompartmentsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -114,7 +114,7 @@ func (request ListCompartmentsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetCompartmentLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_cost_tracking_tags_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_cost_tracking_tags_request_response.go index f1d6883882..b64c5496ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_cost_tracking_tags_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_cost_tracking_tags_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCostTrackingTags.go.html to see an example of how to use ListCostTrackingTagsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCostTrackingTags.go.html to see an example of how to use ListCostTrackingTagsRequest. type ListCostTrackingTagsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -68,7 +68,7 @@ func (request ListCostTrackingTagsRequest) RetryPolicy() *common.RetryPolicy { func (request ListCostTrackingTagsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -89,7 +89,7 @@ type ListCostTrackingTagsResponse struct { // For pagination of a list of cost tracking tag. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. For important details about how pagination works, - // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_customer_secret_keys_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_customer_secret_keys_request_response.go index 235d1c34f3..d5dbaa2502 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_customer_secret_keys_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_customer_secret_keys_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCustomerSecretKeys.go.html to see an example of how to use ListCustomerSecretKeysRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListCustomerSecretKeys.go.html to see an example of how to use ListCustomerSecretKeysRequest. type ListCustomerSecretKeysRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request ListCustomerSecretKeysRequest) RetryPolicy() *common.RetryPolicy { func (request ListCustomerSecretKeysRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_db_credentials_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_db_credentials_request_response.go index 1179bea369..6f9681f5ff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_db_credentials_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_db_credentials_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDbCredentials.go.html to see an example of how to use ListDbCredentialsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDbCredentials.go.html to see an example of how to use ListDbCredentialsRequest. type ListDbCredentialsRequest struct { // The OCID of the user. @@ -96,7 +96,7 @@ func (request ListDbCredentialsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDbCredentialLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_domains_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_domains_request_response.go index f42dc5185b..c2db8dcee4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_domains_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_domains_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDomains.go.html to see an example of how to use ListDomainsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDomains.go.html to see an example of how to use ListDomainsRequest. type ListDomainsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -114,7 +114,7 @@ func (request ListDomainsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDomainLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_dynamic_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_dynamic_groups_request_response.go index a2a3133184..46a0c5f5c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_dynamic_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_dynamic_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDynamicGroups.go.html to see an example of how to use ListDynamicGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListDynamicGroups.go.html to see an example of how to use ListDynamicGroupsRequest. type ListDynamicGroupsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -96,7 +96,7 @@ func (request ListDynamicGroupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetDynamicGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_fault_domains_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_fault_domains_request_response.go index cf8253df99..3ff9805844 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_fault_domains_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_fault_domains_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListFaultDomains.go.html to see an example of how to use ListFaultDomainsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListFaultDomains.go.html to see an example of how to use ListFaultDomainsRequest. type ListFaultDomainsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -65,7 +65,7 @@ func (request ListFaultDomainsRequest) RetryPolicy() *common.RetryPolicy { func (request ListFaultDomainsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_groups_request_response.go index ef5f2ff702..7a19c383fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListGroups.go.html to see an example of how to use ListGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListGroups.go.html to see an example of how to use ListGroupsRequest. type ListGroupsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -96,7 +96,7 @@ func (request ListGroupsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetGroupLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_errors_request_response.go index 72620d2981..402424bdff 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestErrors.go.html to see an example of how to use ListIamWorkRequestErrorsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestErrors.go.html to see an example of how to use ListIamWorkRequestErrorsRequest. type ListIamWorkRequestErrorsRequest struct { // The OCID of the IAM work request. @@ -75,7 +75,7 @@ func (request ListIamWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListIamWorkRequestErrorsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -91,7 +91,7 @@ type ListIamWorkRequestErrorsResponse struct { // For list pagination. When this header appears in the response, additional pages of // results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_logs_request_response.go index 616e44183d..2b11c18af2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestLogs.go.html to see an example of how to use ListIamWorkRequestLogsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequestLogs.go.html to see an example of how to use ListIamWorkRequestLogsRequest. type ListIamWorkRequestLogsRequest struct { // The OCID of the IAM work request. @@ -75,7 +75,7 @@ func (request ListIamWorkRequestLogsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListIamWorkRequestLogsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_requests_request_response.go index 5f4267a5d7..89e8a14b73 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_iam_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequests.go.html to see an example of how to use ListIamWorkRequestsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIamWorkRequests.go.html to see an example of how to use ListIamWorkRequestsRequest. type ListIamWorkRequestsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -71,7 +71,7 @@ func (request ListIamWorkRequestsRequest) RetryPolicy() *common.RetryPolicy { func (request ListIamWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_provider_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_provider_groups_request_response.go index cacc610771..a8c1802ae4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_provider_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_provider_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviderGroups.go.html to see an example of how to use ListIdentityProviderGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviderGroups.go.html to see an example of how to use ListIdentityProviderGroupsRequest. type ListIdentityProviderGroupsRequest struct { // The OCID of the identity provider. @@ -77,7 +77,7 @@ func (request ListIdentityProviderGroupsRequest) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetIdentityProviderLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_providers_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_providers_request_response.go index 8bc5b68186..ccc752519f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_providers_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_identity_providers_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviders.go.html to see an example of how to use ListIdentityProvidersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdentityProviders.go.html to see an example of how to use ListIdentityProvidersRequest. type ListIdentityProvidersRequest struct { // The protocol used for federation. @@ -102,7 +102,7 @@ func (request ListIdentityProvidersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetIdentityProviderLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_idp_group_mappings_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_idp_group_mappings_request_response.go index 7131ce61e6..08247dd417 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_idp_group_mappings_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_idp_group_mappings_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdpGroupMappings.go.html to see an example of how to use ListIdpGroupMappingsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListIdpGroupMappings.go.html to see an example of how to use ListIdpGroupMappingsRequest. type ListIdpGroupMappingsRequest struct { // The OCID of the identity provider. @@ -68,7 +68,7 @@ func (request ListIdpGroupMappingsRequest) RetryPolicy() *common.RetryPolicy { func (request ListIdpGroupMappingsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_mfa_totp_devices_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_mfa_totp_devices_request_response.go index ba484dc6d2..efc5bd3238 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_mfa_totp_devices_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_mfa_totp_devices_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListMfaTotpDevices.go.html to see an example of how to use ListMfaTotpDevicesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListMfaTotpDevices.go.html to see an example of how to use ListMfaTotpDevicesRequest. type ListMfaTotpDevicesRequest struct { // The OCID of the user. @@ -87,7 +87,7 @@ func (request ListMfaTotpDevicesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListMfaTotpDevicesSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_network_sources_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_network_sources_request_response.go index ff73da6ab3..04d007a4a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_network_sources_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_network_sources_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListNetworkSources.go.html to see an example of how to use ListNetworkSourcesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListNetworkSources.go.html to see an example of how to use ListNetworkSourcesRequest. type ListNetworkSourcesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -96,7 +96,7 @@ func (request ListNetworkSourcesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetNetworkSourcesLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_o_auth_client_credentials_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_o_auth_client_credentials_request_response.go index 20e704fee5..d717948a51 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_o_auth_client_credentials_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_o_auth_client_credentials_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListOAuthClientCredentials.go.html to see an example of how to use ListOAuthClientCredentialsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListOAuthClientCredentials.go.html to see an example of how to use ListOAuthClientCredentialsRequest. type ListOAuthClientCredentialsRequest struct { // The OCID of the user. @@ -74,7 +74,7 @@ func (request ListOAuthClientCredentialsRequest) ValidateEnumValue() (bool, erro errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetOAuth2ClientCredentialSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_policies_request_response.go index b1c8b500e4..190cd0c67e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListPolicies.go.html to see an example of how to use ListPoliciesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListPolicies.go.html to see an example of how to use ListPoliciesRequest. type ListPoliciesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -96,7 +96,7 @@ func (request ListPoliciesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetPolicyLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_region_subscriptions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_region_subscriptions_request_response.go index 2828ffa61f..934ad121d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_region_subscriptions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_region_subscriptions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegionSubscriptions.go.html to see an example of how to use ListRegionSubscriptionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegionSubscriptions.go.html to see an example of how to use ListRegionSubscriptionsRequest. type ListRegionSubscriptionsRequest struct { // The OCID of the tenancy. @@ -62,7 +62,7 @@ func (request ListRegionSubscriptionsRequest) RetryPolicy() *common.RetryPolicy func (request ListRegionSubscriptionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_regions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_regions_request_response.go index 231dc0056f..d10ffa61c7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_regions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_regions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegions.go.html to see an example of how to use ListRegionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListRegions.go.html to see an example of how to use ListRegionsRequest. type ListRegionsRequest struct { // Unique Oracle-assigned identifier for the request. @@ -59,7 +59,7 @@ func (request ListRegionsRequest) RetryPolicy() *common.RetryPolicy { func (request ListRegionsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_smtp_credentials_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_smtp_credentials_request_response.go index 62c0c73085..7305df2f43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_smtp_credentials_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_smtp_credentials_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSmtpCredentials.go.html to see an example of how to use ListSmtpCredentialsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSmtpCredentials.go.html to see an example of how to use ListSmtpCredentialsRequest. type ListSmtpCredentialsRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request ListSmtpCredentialsRequest) RetryPolicy() *common.RetryPolicy { func (request ListSmtpCredentialsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_standard_tag_namespaces_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_standard_tag_namespaces_request_response.go index c224880976..a5a31456d4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_standard_tag_namespaces_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_standard_tag_namespaces_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListStandardTagNamespaces.go.html to see an example of how to use ListStandardTagNamespacesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListStandardTagNamespaces.go.html to see an example of how to use ListStandardTagNamespacesRequest. type ListStandardTagNamespacesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -68,7 +68,7 @@ func (request ListStandardTagNamespacesRequest) RetryPolicy() *common.RetryPolic func (request ListStandardTagNamespacesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_swift_passwords_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_swift_passwords_request_response.go index 69ff22d823..a6cc369984 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_swift_passwords_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_swift_passwords_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSwiftPasswords.go.html to see an example of how to use ListSwiftPasswordsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListSwiftPasswords.go.html to see an example of how to use ListSwiftPasswordsRequest. type ListSwiftPasswordsRequest struct { // The OCID of the user. @@ -62,7 +62,7 @@ func (request ListSwiftPasswordsRequest) RetryPolicy() *common.RetryPolicy { func (request ListSwiftPasswordsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_defaults_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_defaults_request_response.go index 1b14724745..b519e10ab8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_defaults_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_defaults_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagDefaults.go.html to see an example of how to use ListTagDefaultsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagDefaults.go.html to see an example of how to use ListTagDefaultsRequest. type ListTagDefaultsRequest struct { // The value of the `opc-next-page` response header from the previous "List" call. @@ -80,7 +80,7 @@ func (request ListTagDefaultsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetTagDefaultSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_namespaces_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_namespaces_request_response.go index d82639a5d2..f098c98e85 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_namespaces_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tag_namespaces_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagNamespaces.go.html to see an example of how to use ListTagNamespacesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTagNamespaces.go.html to see an example of how to use ListTagNamespacesRequest. type ListTagNamespacesRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -78,7 +78,7 @@ func (request ListTagNamespacesRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetTagNamespaceLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_errors_request_response.go index ccd6159c99..a2c59cfdaf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestErrors.go.html to see an example of how to use ListTaggingWorkRequestErrorsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestErrors.go.html to see an example of how to use ListTaggingWorkRequestErrorsRequest. type ListTaggingWorkRequestErrorsRequest struct { // The OCID of the work request. @@ -68,7 +68,7 @@ func (request ListTaggingWorkRequestErrorsRequest) RetryPolicy() *common.RetryPo func (request ListTaggingWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_logs_request_response.go index 4ae9548d5f..90b1fb1fa4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestLogs.go.html to see an example of how to use ListTaggingWorkRequestLogsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequestLogs.go.html to see an example of how to use ListTaggingWorkRequestLogsRequest. type ListTaggingWorkRequestLogsRequest struct { // The OCID of the work request. @@ -68,7 +68,7 @@ func (request ListTaggingWorkRequestLogsRequest) RetryPolicy() *common.RetryPoli func (request ListTaggingWorkRequestLogsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_requests_request_response.go index b62628a59f..e29a366ac3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tagging_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequests.go.html to see an example of how to use ListTaggingWorkRequestsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTaggingWorkRequests.go.html to see an example of how to use ListTaggingWorkRequestsRequest. type ListTaggingWorkRequestsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -71,7 +71,7 @@ func (request ListTaggingWorkRequestsRequest) RetryPolicy() *common.RetryPolicy func (request ListTaggingWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tags_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tags_request_response.go index ba4a3ba9be..e9090d4867 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tags_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_tags_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTags.go.html to see an example of how to use ListTagsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListTags.go.html to see an example of how to use ListTagsRequest. type ListTagsRequest struct { // The OCID of the tag namespace. @@ -74,7 +74,7 @@ func (request ListTagsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetTagLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_user_group_memberships_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_user_group_memberships_request_response.go index ea7d538c84..4002f50a87 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_user_group_memberships_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_user_group_memberships_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUserGroupMemberships.go.html to see an example of how to use ListUserGroupMembershipsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUserGroupMemberships.go.html to see an example of how to use ListUserGroupMembershipsRequest. type ListUserGroupMembershipsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -74,7 +74,7 @@ func (request ListUserGroupMembershipsRequest) RetryPolicy() *common.RetryPolicy func (request ListUserGroupMembershipsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_users_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_users_request_response.go index d131abc0d3..07500d299c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_users_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_users_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUsers.go.html to see an example of how to use ListUsersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListUsers.go.html to see an example of how to use ListUsersRequest. type ListUsersRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -102,7 +102,7 @@ func (request ListUsersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetUserLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_work_requests_request_response.go index 72200b4bb9..eabe0841d6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { // The OCID of the compartment (remember that the tenancy is simply the root compartment). @@ -71,7 +71,7 @@ func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device.go index 34faea12aa..f7b482d79b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -20,7 +20,7 @@ import ( // Console. To enable multi-factor authentication, the user must register a mobile device with a TOTP authenticator app // installed. The registration process creates the `MfaTotpDevice` object. The registration process requires // interaction with the Console and cannot be completed programmatically. For more information, see -// Managing Multi-Factor Authentication (https://docs.cloud.oracle.com/Content/Identity/mfa/understand-multi-factor-authentication.htm). +// Managing Multi-Factor Authentication (https://docs.oracle.com/iaas/Content/Identity/mfa/understand-multi-factor-authentication.htm). type MfaTotpDevice struct { // The OCID of the MFA TOTP device. @@ -71,7 +71,7 @@ func (m MfaTotpDevice) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device_summary.go index a046bea684..aa8c8e22e2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_device_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -62,7 +62,7 @@ func (m MfaTotpDeviceSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_token.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_token.go index fbe1c39ca2..02426f1505 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_token.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/mfa_totp_token.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m MfaTotpToken) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_details.go index e64cd8563d..a5471c513c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,7 +18,7 @@ import ( // MoveCompartmentDetails The representation of MoveCompartmentDetails type MoveCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the destination compartment + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment // into which to move the compartment. TargetCompartmentId *string `mandatory:"true" json:"targetCompartmentId"` } @@ -34,7 +34,7 @@ func (m MoveCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_request_response.go index 96ba79d5df..04ea141568 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/move_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/MoveCompartment.go.html to see an example of how to use MoveCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/MoveCompartment.go.html to see an example of how to use MoveCompartmentRequest. type MoveCompartmentRequest struct { // The OCID of the compartment. @@ -77,7 +77,7 @@ func (request MoveCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request MoveCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type MoveCompartmentResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_policy.go index af32170569..cbdec66247 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_policy.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m NetworkPolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources.go index 9400b2d93b..94506467bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,7 +17,7 @@ import ( // NetworkSources A network source specifies a list of source IP addresses that are allowed to make authorization requests. // Use the network source in policy statements to restrict access to only requests that come from the specified IPs. -// For more information, see Managing Network Sources (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm). +// For more information, see Managing Network Sources (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingnetworksources.htm). type NetworkSources struct { // The OCID of the network source. @@ -55,12 +55,12 @@ type NetworkSources struct { InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -79,7 +79,7 @@ func (m NetworkSources) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_summary.go index 7208159db2..c333c639b7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,7 +17,7 @@ import ( // NetworkSourcesSummary A network source specifies a list of source IP addresses that are allowed to make authorization requests. // Use the network source in policy statements to restrict access to only requests that come from the specified IPs. -// For more information, see Managing Network Sources (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm). +// For more information, see Managing Network Sources (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingnetworksources.htm). type NetworkSourcesSummary struct { // The OCID of the network source. @@ -52,12 +52,12 @@ type NetworkSourcesSummary struct { Services []string `mandatory:"false" json:"services"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -76,7 +76,7 @@ func (m NetworkSourcesSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_virtual_source_list.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_virtual_source_list.go index cb09e51603..a8ffdfb8e8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_virtual_source_list.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/network_sources_virtual_source_list.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m NetworkSourcesVirtualSourceList) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential.go index 5787cbb756..2f03be61b0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -67,7 +67,7 @@ func (m OAuth2ClientCredential) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetOAuth2ClientCredentialLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential_summary.go index 0c1e9b53be..37f1f4f0ad 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/o_auth2_client_credential_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -64,7 +64,7 @@ func (m OAuth2ClientCredentialSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetOAuth2ClientCredentialSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/password_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/password_policy.go index 62d899ee32..905607f3e9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/password_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/password_policy.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -48,7 +48,7 @@ func (m PasswordPolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/policy.go index 44ee0bf501..e6e97d4b16 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/policy.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,8 +17,8 @@ import ( // Policy A document that specifies the type of access a group has to the resources in a compartment. For information about // policies and other IAM Service components, see -// Overview of IAM (https://docs.cloud.oracle.com/Content/Identity/getstarted/identity-domains.htm). If you're new to policies, see -// Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// Overview of IAM (https://docs.oracle.com/iaas/Content/Identity/getstarted/identity-domains.htm). If you're new to policies, see +// Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). // The word "policy" is used by people in different ways: // - An individual statement written in the policy language // - A collection of statements in a single, named "policy" document (which has an Oracle Cloud ID (OCID) assigned to it) @@ -63,12 +63,12 @@ type Policy struct { VersionDate *common.SDKDate `mandatory:"false" json:"versionDate"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -87,7 +87,7 @@ func (m Policy) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/recover_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/recover_compartment_request_response.go index 544cd9aa3d..d2e01ed0b1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/recover_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/recover_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RecoverCompartment.go.html to see an example of how to use RecoverCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RecoverCompartment.go.html to see an example of how to use RecoverCompartmentRequest. type RecoverCompartmentRequest struct { // The OCID of the compartment. @@ -67,7 +67,7 @@ func (request RecoverCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request RecoverCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/region.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/region.go index c81a35e907..4f6a0d62c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/region.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/region.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,18 +17,18 @@ import ( // Region A localized geographic area, such as Phoenix, AZ. Oracle Cloud Infrastructure is hosted in regions and Availability // Domains. A region is composed of several Availability Domains. An Availability Domain is one or more data centers -// located within a region. For more information, see Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// located within a region. For more information, see Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). type Region struct { - // The key of the region. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) for + // The key of the region. See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) for // the full list of supported 3-letter region codes. // Example: `PHX` Key *string `mandatory:"false" json:"key"` - // The name of the region. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // The name of the region. See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` Name *string `mandatory:"false" json:"name"` @@ -45,7 +45,7 @@ func (m Region) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/region_subscription.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/region_subscription.go index 5d0db50a3f..33b288ec01 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/region_subscription.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/region_subscription.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -16,18 +16,18 @@ import ( ) // RegionSubscription An object that represents your tenancy's access to a particular region (i.e., a subscription), the status of that -// access, and whether that region is the home region. For more information, see Managing Regions (https://docs.cloud.oracle.com/Content/Identity/regions/managingregions.htm). +// access, and whether that region is the home region. For more information, see Managing Regions (https://docs.oracle.com/iaas/Content/Identity/regions/managingregions.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). type RegionSubscription struct { - // The region's key. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // The region's key. See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported 3-letter region codes. // Example: `PHX` RegionKey *string `mandatory:"true" json:"regionKey"` - // The region's name. See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // The region's name. See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported region names. // Example: `us-phoenix-1` RegionName *string `mandatory:"true" json:"regionName"` @@ -53,7 +53,7 @@ func (m RegionSubscription) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_lock_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_lock_details.go index c85fda2237..cf6c08ad74 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_lock_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_lock_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m RemoveLockDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_default_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_default_lock_request_response.go index c4e0d73af0..62fba2a889 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_default_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_default_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagDefaultLock.go.html to see an example of how to use RemoveTagDefaultLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagDefaultLock.go.html to see an example of how to use RemoveTagDefaultLockRequest. type RemoveTagDefaultLockRequest struct { // The OCID of the tag default. @@ -77,7 +77,7 @@ func (request RemoveTagDefaultLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveTagDefaultLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_namespace_lock_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_namespace_lock_request_response.go index 8fb92bdb1f..21e94447de 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_namespace_lock_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_tag_namespace_lock_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagNamespaceLock.go.html to see an example of how to use RemoveTagNamespaceLockRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveTagNamespaceLock.go.html to see an example of how to use RemoveTagNamespaceLockRequest. type RemoveTagNamespaceLockRequest struct { // The OCID of the tag namespace. @@ -77,7 +77,7 @@ func (request RemoveTagNamespaceLockRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveTagNamespaceLockRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_user_from_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_user_from_group_request_response.go index ad7765980c..23901dcd22 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_user_from_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/remove_user_from_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveUserFromGroup.go.html to see an example of how to use RemoveUserFromGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/RemoveUserFromGroup.go.html to see an example of how to use RemoveUserFromGroupRequest. type RemoveUserFromGroupRequest struct { // The OCID of the userGroupMembership. @@ -67,7 +67,7 @@ func (request RemoveUserFromGroupRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveUserFromGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/replicated_region_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/replicated_region_details.go index abe2b10247..18fca8190a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/replicated_region_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/replicated_region_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -19,7 +19,7 @@ import ( type ReplicatedRegionDetails struct { // A REPLICATION_ENABLED region, e.g. us-ashburn-1. - // See Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm) + // See Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) // for the full list of supported region names. Region *string `mandatory:"false" json:"region"` @@ -47,7 +47,7 @@ func (m ReplicatedRegionDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for State: %s. Supported values are: %s.", m.State, strings.Join(GetReplicatedRegionDetailsStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/reset_idp_scim_client_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/reset_idp_scim_client_request_response.go index ef63428b55..995c9dae24 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/reset_idp_scim_client_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/reset_idp_scim_client_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ResetIdpScimClient.go.html to see an example of how to use ResetIdpScimClientRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/ResetIdpScimClient.go.html to see an example of how to use ResetIdpScimClientRequest. type ResetIdpScimClientRequest struct { // The OCID of the identity provider. @@ -62,7 +62,7 @@ func (request ResetIdpScimClientRequest) RetryPolicy() *common.RetryPolicy { func (request ResetIdpScimClientRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/resource_lock.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/resource_lock.go index bf22290584..be0a2844d4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/resource_lock.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/resource_lock.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -51,7 +51,7 @@ func (m ResourceLock) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/saml2_identity_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/saml2_identity_provider.go index ef358a6267..fc717886c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/saml2_identity_provider.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/saml2_identity_provider.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,7 +18,7 @@ import ( // Saml2IdentityProvider A special type of IdentityProvider that // supports the SAML 2.0 protocol. For more information, see -// Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). +// Identity Providers and Federation (https://docs.oracle.com/iaas/Content/Identity/Concepts/federation.htm). type Saml2IdentityProvider struct { // The OCID of the `IdentityProvider`. @@ -67,12 +67,12 @@ type Saml2IdentityProvider struct { InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -152,7 +152,7 @@ func (m Saml2IdentityProvider) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetIdentityProviderLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/scim_client_credentials.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/scim_client_credentials.go index 067c040e4f..0eb6bbed61 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/scim_client_credentials.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/scim_client_credentials.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m ScimClientCredentials) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential.go index 2b83323037..36f1e8b706 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -20,7 +20,7 @@ import ( // A user can have up to 2 SMTP credentials at a time. // **Note:** The credential set is always an Oracle-generated SMTP user name and password pair; // you cannot designate the SMTP user name or the SMTP password. -// For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/access/managing-user-credentials.htm#SMTP). +// For more information, see Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/access/managing-user-credentials.htm#SMTP). type SmtpCredential struct { // The SMTP user name. @@ -70,7 +70,7 @@ func (m SmtpCredential) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSmtpCredentialLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential_summary.go index 431923e06b..fbb6703524 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/smtp_credential_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,7 +17,7 @@ import ( // SmtpCredentialSummary As the name suggests, an `SmtpCredentialSummary` object contains information about an `SmtpCredential`. // The SMTP credential is used for SMTP authentication with -// the Email Delivery Service (https://docs.cloud.oracle.com/Content/Email/Concepts/overview.htm). +// the Email Delivery Service (https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). type SmtpCredentialSummary struct { // The SMTP user name. @@ -64,7 +64,7 @@ func (m SmtpCredentialSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSmtpCredentialSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_definition_template.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_definition_template.go index 27871eca89..4482197eb8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_definition_template.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_definition_template.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -54,7 +54,7 @@ func (m StandardTagDefinitionTemplate) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EnumMutability: %s. Supported values are: %s.", m.EnumMutability, strings.Join(GetStandardTagDefinitionTemplateEnumMutabilityEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template.go index 19d3fe31a1..8b654057ea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -42,7 +42,7 @@ func (m StandardTagNamespaceTemplate) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template_summary.go index 8f0daddbee..749c7d2eef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/standard_tag_namespace_template_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m StandardTagNamespaceTemplateSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/swift_password.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/swift_password.go index 6ef916077e..89552443ee 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/swift_password.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/swift_password.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -20,7 +20,7 @@ import ( // Swift client with the Object Storage Service. This password is associated with // the user's Console login. Swift passwords never expire. A user can have up to two Swift passwords at a time. // **Note:** The password is always an Oracle-generated string; you can't change it to a string of your choice. -// For more information, see Managing User Credentials (https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcredentials.htm). +// For more information, see Managing User Credentials (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcredentials.htm). type SwiftPassword struct { // The Swift password. The value is available only in the response for `CreateSwiftPassword`, and not @@ -67,7 +67,7 @@ func (m SwiftPassword) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetSwiftPasswordLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag.go index a8922944e1..a0dbaff3dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -18,7 +18,7 @@ import ( // Tag A tag definition that belongs to a specific tag namespace. "Defined tags" must be set up in your tenancy before // you can apply them to resources. -// For more information, see Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm). +// For more information, see Managing Tags and Tag Namespaces (https://docs.oracle.com/iaas/Content/Identity/Concepts/taggingoverview.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values // using the API. type Tag struct { @@ -43,7 +43,7 @@ type Tag struct { Description *string `mandatory:"true" json:"description"` // Indicates whether the tag is retired. - // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). + // See Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). IsRetired *bool `mandatory:"true" json:"isRetired"` // Date and time the tag was created, in the format defined by RFC3339. @@ -51,12 +51,12 @@ type Tag struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -83,7 +83,7 @@ func (m Tag) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTagLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default.go index 1319bce764..ef1f06a63a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -21,7 +21,7 @@ import ( // specifies the tag and compartment details. // Tag defaults are inherited by child compartments. This means that if you set a tag default on the root compartment // for a tenancy, all resources that are created in the tenancy are tagged. For more information about -// using tag defaults, see Managing Tag Defaults (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagdefaults.htm). +// using tag defaults, see Managing Tag Defaults (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagdefaults.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. type TagDefault struct { @@ -78,7 +78,7 @@ func (m TagDefault) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTagDefaultLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default_summary.go index 7f03d0e1d4..701a41a003 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_default_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -69,7 +69,7 @@ func (m TagDefaultSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTagDefaultSummaryLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace.go index d41c9afd19..f5ad35eddf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -16,7 +16,7 @@ import ( ) // TagNamespace A managed container for defined tags. A tag namespace is unique in a tenancy. For more information, -// see Managing Tags and Tag Namespaces (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm). +// see Managing Tags and Tag Namespaces (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values // using the API. type TagNamespace struct { @@ -34,7 +34,7 @@ type TagNamespace struct { Description *string `mandatory:"true" json:"description"` // Whether the tag namespace is retired. - // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). + // See Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). IsRetired *bool `mandatory:"true" json:"isRetired"` // Date and time the tagNamespace was created, in the format defined by RFC3339. @@ -42,12 +42,12 @@ type TagNamespace struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -72,7 +72,7 @@ func (m TagNamespace) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTagNamespaceLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace_summary.go index f146a00b21..f2156b1977 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_namespace_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -31,17 +31,17 @@ type TagNamespaceSummary struct { Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Whether the tag namespace is retired. - // For more information, see Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). + // For more information, see Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). IsRetired *bool `mandatory:"false" json:"isRetired"` // The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. @@ -69,7 +69,7 @@ func (m TagNamespaceSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTagNamespaceLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_summary.go index bfe32aaacd..d2efd38584 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tag_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -32,17 +32,17 @@ type TagSummary struct { Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Whether the tag is retired. - // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). + // See Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). IsRetired *bool `mandatory:"false" json:"isRetired"` // The tag's current state. After creating a tag, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tag, make sure its `lifecycleState` is INACTIVE before using it. If you delete a tag, you cannot delete another tag until the deleted tag's `lifecycleState` changes from DELETING to DELETED. @@ -70,7 +70,7 @@ func (m TagSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetTagLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request.go index f40c8a55d9..289bd83467 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -67,7 +67,7 @@ func (m TaggingWorkRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_error_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_error_summary.go index de669982a9..db3717e356 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_error_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_error_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -40,7 +40,7 @@ func (m TaggingWorkRequestErrorSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_log_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_log_summary.go index efd4231414..0dde9389a0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_log_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_log_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ func (m TaggingWorkRequestLogSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_summary.go index fbeba89eab..7003f43b74 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tagging_work_request_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -66,7 +66,7 @@ func (m TaggingWorkRequestSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tenancy.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tenancy.go index 11f9b1b12f..8167b65025 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/tenancy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/tenancy.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -21,7 +21,7 @@ import ( // where you can create, organize, and administer your cloud resources. // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). type Tenancy struct { // The OCID of the tenancy. @@ -34,7 +34,7 @@ type Tenancy struct { Description *string `mandatory:"false" json:"description"` // The region key for the tenancy's home region. For the full list of supported regions, see - // Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). + // Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // Example: `PHX` HomeRegionKey *string `mandatory:"false" json:"homeRegionKey"` @@ -42,12 +42,12 @@ type Tenancy struct { UpiIdcsCompatibilityLayerEndpoint *string `mandatory:"false" json:"upiIdcsCompatibilityLayerEndpoint"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -63,7 +63,7 @@ func (m Tenancy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password.go index 4d1f178a2a..fcd2873cbb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,7 +17,7 @@ import ( // UiPassword A text password that enables a user to sign in to the Console, the user interface for interacting with Oracle // Cloud Infrastructure. -// For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/usercred/usercredentials.htm). +// For more information about user credentials, see User Credentials (https://docs.oracle.com/iaas/Content/Identity/usercred/usercredentials.htm). type UiPassword struct { // The user's password for the Console. @@ -52,7 +52,7 @@ func (m UiPassword) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetUiPasswordLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password_information.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password_information.go index 9b76b45512..560f9c2292 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password_information.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/ui_password_information.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -17,7 +17,7 @@ import ( // UiPasswordInformation Information about the UIPassword, which is a text password that enables a user to sign in to the Console, // the user interface for interacting with Oracle Cloud Infrastructure. -// For more information about user credentials, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/Concepts/usercredentials.htm). +// For more information about user credentials, see User Credentials (https://docs.oracle.com/iaas/Content/Identity/Concepts/usercredentials.htm). type UiPasswordInformation struct { // The OCID of the user. @@ -46,7 +46,7 @@ func (m UiPasswordInformation) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetUiPasswordInformationLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_details.go index 3d6072c1ce..fde6ef91d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m UpdateAuthTokenDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_request_response.go index f96197f1eb..16b0ac5782 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_auth_token_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthToken.go.html to see an example of how to use UpdateAuthTokenRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthToken.go.html to see an example of how to use UpdateAuthTokenRequest. type UpdateAuthTokenRequest struct { // The OCID of the user. @@ -73,7 +73,7 @@ func (request UpdateAuthTokenRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateAuthTokenRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_details.go index 7c60dfb0d3..e34a324c82 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m UpdateAuthenticationPolicyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_request_response.go index 041b6f058e..3626365b1f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_authentication_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthenticationPolicy.go.html to see an example of how to use UpdateAuthenticationPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateAuthenticationPolicy.go.html to see an example of how to use UpdateAuthenticationPolicyRequest. type UpdateAuthenticationPolicyRequest struct { // The OCID of the compartment. @@ -70,7 +70,7 @@ func (request UpdateAuthenticationPolicyRequest) RetryPolicy() *common.RetryPoli func (request UpdateAuthenticationPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_details.go index 18c791ef5f..80c262f81e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -26,12 +26,12 @@ type UpdateCompartmentDetails struct { Name *string `mandatory:"false" json:"name"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -47,7 +47,7 @@ func (m UpdateCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_request_response.go index 9a48377578..1fe3f2590f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCompartment.go.html to see an example of how to use UpdateCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCompartment.go.html to see an example of how to use UpdateCompartmentRequest. type UpdateCompartmentRequest struct { // The OCID of the compartment. @@ -70,7 +70,7 @@ func (request UpdateCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_details.go index 58cec4337d..c562931130 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m UpdateCustomerSecretKeyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_request_response.go index c40494183e..ee487a712f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_customer_secret_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCustomerSecretKey.go.html to see an example of how to use UpdateCustomerSecretKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateCustomerSecretKey.go.html to see an example of how to use UpdateCustomerSecretKeyRequest. type UpdateCustomerSecretKeyRequest struct { // The OCID of the user. @@ -73,7 +73,7 @@ func (request UpdateCustomerSecretKeyRequest) RetryPolicy() *common.RetryPolicy func (request UpdateCustomerSecretKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_details.go index 860fcd7361..2e4487723c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -28,12 +28,12 @@ type UpdateDomainDetails struct { IsHiddenOnLogin *bool `mandatory:"false" json:"isHiddenOnLogin"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -49,7 +49,7 @@ func (m UpdateDomainDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_request_response.go index 34a300eb6d..ce958b6c47 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_domain_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDomain.go.html to see an example of how to use UpdateDomainRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDomain.go.html to see an example of how to use UpdateDomainRequest. type UpdateDomainRequest struct { // The OCID of the identity domain. @@ -70,7 +70,7 @@ func (request UpdateDomainRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDomainRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -85,7 +85,7 @@ type UpdateDomainResponse struct { // particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_details.go index 612996a780..b77ffe8aa9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -23,16 +23,16 @@ type UpdateDynamicGroupDetails struct { Description *string `mandatory:"false" json:"description"` // The matching rule to dynamically match an instance certificate to this dynamic group. - // For rule syntax, see Managing Dynamic Groups (https://docs.cloud.oracle.com/Content/Identity/dynamicgroups/managingdynamicgroups.htm). + // For rule syntax, see Managing Dynamic Groups (https://docs.oracle.com/iaas/Content/Identity/dynamicgroups/managingdynamicgroups.htm). MatchingRule *string `mandatory:"false" json:"matchingRule"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -48,7 +48,7 @@ func (m UpdateDynamicGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_request_response.go index f929b75f14..2279345451 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_dynamic_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDynamicGroup.go.html to see an example of how to use UpdateDynamicGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateDynamicGroup.go.html to see an example of how to use UpdateDynamicGroupRequest. type UpdateDynamicGroupRequest struct { // The OCID of the dynamic group. @@ -70,7 +70,7 @@ func (request UpdateDynamicGroupRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateDynamicGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_details.go index 3e7a572461..11efb2b9bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -23,12 +23,12 @@ type UpdateGroupDetails struct { Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -44,7 +44,7 @@ func (m UpdateGroupDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_request_response.go index 0df2799bfb..c81fd7d119 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_group_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateGroup.go.html to see an example of how to use UpdateGroupRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateGroup.go.html to see an example of how to use UpdateGroupRequest. type UpdateGroupRequest struct { // The OCID of the group. @@ -70,7 +70,7 @@ func (request UpdateGroupRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateGroupRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go index d875f6be12..56a52b1fab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -24,12 +24,12 @@ type UpdateIdentityProviderDetails interface { GetDescription() *string // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` GetFreeformTags() map[string]string // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` GetDefinedTags() map[string]map[string]interface{} } @@ -75,7 +75,7 @@ func (m *updateidentityproviderdetails) UnmarshalPolymorphicJSON(data []byte) (i err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for UpdateIdentityProviderDetails: %s.", m.Protocol) + common.Logf("Received unsupported enum value for UpdateIdentityProviderDetails: %s.", m.Protocol) return *m, nil } } @@ -106,7 +106,7 @@ func (m updateidentityproviderdetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_request_response.go index 7b31b3bcbd..9919e2a2a0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdentityProvider.go.html to see an example of how to use UpdateIdentityProviderRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdentityProvider.go.html to see an example of how to use UpdateIdentityProviderRequest. type UpdateIdentityProviderRequest struct { // The OCID of the identity provider. @@ -70,7 +70,7 @@ func (request UpdateIdentityProviderRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateIdentityProviderRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_details.go index 084aa3f425..9ed36a5c51 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -36,7 +36,7 @@ func (m UpdateIdpGroupMappingDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_request_response.go index add37d182c..d1f9682e7e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_idp_group_mapping_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdpGroupMapping.go.html to see an example of how to use UpdateIdpGroupMappingRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateIdpGroupMapping.go.html to see an example of how to use UpdateIdpGroupMappingRequest. type UpdateIdpGroupMappingRequest struct { // The OCID of the identity provider. @@ -73,7 +73,7 @@ func (request UpdateIdpGroupMappingRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateIdpGroupMappingRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_details.go index 25d3a85ed0..638931e302 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -32,12 +32,12 @@ type UpdateNetworkSourceDetails struct { Services []string `mandatory:"false" json:"services"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -53,7 +53,7 @@ func (m UpdateNetworkSourceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_request_response.go index aa600d4f8a..994e6e5f62 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_network_source_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateNetworkSource.go.html to see an example of how to use UpdateNetworkSourceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateNetworkSource.go.html to see an example of how to use UpdateNetworkSourceRequest. type UpdateNetworkSourceRequest struct { // The OCID of the network source. @@ -70,7 +70,7 @@ func (request UpdateNetworkSourceRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateNetworkSourceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth2_client_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth2_client_credential_details.go index f57f1c092f..3f959ff1c9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth2_client_credential_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth2_client_credential_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -39,7 +39,7 @@ func (m UpdateOAuth2ClientCredentialDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth_client_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth_client_credential_request_response.go index 4effa4db43..0d097c3d7f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth_client_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_o_auth_client_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateOAuthClientCredential.go.html to see an example of how to use UpdateOAuthClientCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateOAuthClientCredential.go.html to see an example of how to use UpdateOAuthClientCredentialRequest. type UpdateOAuthClientCredentialRequest struct { // The OCID of the user. @@ -73,7 +73,7 @@ func (request UpdateOAuthClientCredentialRequest) RetryPolicy() *common.RetryPol func (request UpdateOAuthClientCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_details.go index c0e3cbbcdf..00cb511c66 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -22,8 +22,8 @@ type UpdatePolicyDetails struct { Description *string `mandatory:"false" json:"description"` // An array of policy statements written in the policy language. See - // How Policies Work (https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm) and - // Common Policies (https://docs.cloud.oracle.com/Content/Identity/policiescommon/commonpolicies.htm). + // How Policies Work (https://docs.oracle.com/iaas/Content/Identity/policieshow/how-policies-work.htm) and + // Common Policies (https://docs.oracle.com/iaas/Content/Identity/policiescommon/commonpolicies.htm). Statements []string `mandatory:"false" json:"statements"` // The version of the policy. If null or set to an empty string, when a request comes in for authorization, the @@ -32,12 +32,12 @@ type UpdatePolicyDetails struct { VersionDate *common.SDKDate `mandatory:"false" json:"versionDate"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -53,7 +53,7 @@ func (m UpdatePolicyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_request_response.go index f875535056..f137ba6c0f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdatePolicy.go.html to see an example of how to use UpdatePolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdatePolicy.go.html to see an example of how to use UpdatePolicyRequest. type UpdatePolicyRequest struct { // The OCID of the policy. @@ -70,7 +70,7 @@ func (request UpdatePolicyRequest) RetryPolicy() *common.RetryPolicy { func (request UpdatePolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_saml2_identity_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_saml2_identity_provider_details.go index 6200a16a20..cb96f0509d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_saml2_identity_provider_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_saml2_identity_provider_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -24,12 +24,12 @@ type UpdateSaml2IdentityProviderDetails struct { Description *string `mandatory:"false" json:"description"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -71,7 +71,7 @@ func (m UpdateSaml2IdentityProviderDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_details.go index 8042407144..e1069cc6a6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m UpdateSmtpCredentialDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_request_response.go index e8bad66027..6aad4fbaba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_smtp_credential_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSmtpCredential.go.html to see an example of how to use UpdateSmtpCredentialRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSmtpCredential.go.html to see an example of how to use UpdateSmtpCredentialRequest. type UpdateSmtpCredentialRequest struct { // The OCID of the user. @@ -73,7 +73,7 @@ func (request UpdateSmtpCredentialRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateSmtpCredentialRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_state_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_state_details.go index 413b9cddd5..03f186fee4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_state_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_state_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -33,7 +33,7 @@ func (m UpdateStateDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_details.go index 333bcf591b..7d3c3cffe6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -34,7 +34,7 @@ func (m UpdateSwiftPasswordDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_request_response.go index 17a0d1680e..5862b76344 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_swift_password_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSwiftPassword.go.html to see an example of how to use UpdateSwiftPasswordRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateSwiftPassword.go.html to see an example of how to use UpdateSwiftPasswordRequest. type UpdateSwiftPasswordRequest struct { // The OCID of the user. @@ -73,7 +73,7 @@ func (request UpdateSwiftPasswordRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateSwiftPasswordRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_details.go index ddb5904017..c2d7e86b0e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -41,7 +41,7 @@ func (m UpdateTagDefaultDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_request_response.go index 215f8533a9..d173a7c584 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_default_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagDefault.go.html to see an example of how to use UpdateTagDefaultRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagDefault.go.html to see an example of how to use UpdateTagDefaultRequest. type UpdateTagDefaultRequest struct { // The OCID of the tag default. @@ -73,7 +73,7 @@ func (request UpdateTagDefaultRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateTagDefaultRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_details.go index 55c1c8779b..03979aebab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -23,16 +23,16 @@ type UpdateTagDetails struct { Description *string `mandatory:"false" json:"description"` // Whether the tag is retired. - // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). + // See Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). IsRetired *bool `mandatory:"false" json:"isRetired"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -53,7 +53,7 @@ func (m UpdateTagDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_details.go index bad20e67ce..df612e6b4b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -22,16 +22,16 @@ type UpdateTagNamespaceDetails struct { Description *string `mandatory:"false" json:"description"` // Whether the tag namespace is retired. - // See Retiring Key Definitions and Namespace Definitions (https://docs.cloud.oracle.com/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). + // See Retiring Key Definitions and Namespace Definitions (https://docs.oracle.com/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#retiringkeys). IsRetired *bool `mandatory:"false" json:"isRetired"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -47,7 +47,7 @@ func (m UpdateTagNamespaceDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_request_response.go index 3c151a8837..6e825b10fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_namespace_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagNamespace.go.html to see an example of how to use UpdateTagNamespaceRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTagNamespace.go.html to see an example of how to use UpdateTagNamespaceRequest. type UpdateTagNamespaceRequest struct { // The OCID of the tag namespace. @@ -68,7 +68,7 @@ func (request UpdateTagNamespaceRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateTagNamespaceRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_request_response.go index 6efac826b7..6107f9ed90 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_tag_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTag.go.html to see an example of how to use UpdateTagRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateTag.go.html to see an example of how to use UpdateTagRequest. type UpdateTagRequest struct { // The OCID of the tag namespace. @@ -76,7 +76,7 @@ func (request UpdateTagRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateTagRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_details.go index 507616519b..3109c042a8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -51,7 +51,7 @@ func (m UpdateUserCapabilitiesDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_request_response.go index dcf91a89cb..3f8539d703 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_capabilities_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserCapabilities.go.html to see an example of how to use UpdateUserCapabilitiesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserCapabilities.go.html to see an example of how to use UpdateUserCapabilitiesRequest. type UpdateUserCapabilitiesRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request UpdateUserCapabilitiesRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateUserCapabilitiesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_details.go index 62c1e6bb2a..a3e9a08e96 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_details.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -30,12 +30,12 @@ type UpdateUserDetails struct { DbUserName *string `mandatory:"false" json:"dbUserName"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` } @@ -51,7 +51,7 @@ func (m UpdateUserDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_request_response.go index b33d4c655a..8be15a072a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUser.go.html to see an example of how to use UpdateUserRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUser.go.html to see an example of how to use UpdateUserRequest. type UpdateUserRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request UpdateUserRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateUserRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_state_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_state_request_response.go index 2811da2c3f..d9e3acbe47 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_state_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_user_state_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserState.go.html to see an example of how to use UpdateUserStateRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UpdateUserState.go.html to see an example of how to use UpdateUserStateRequest. type UpdateUserStateRequest struct { // The OCID of the user. @@ -70,7 +70,7 @@ func (request UpdateUserStateRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateUserStateRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/upload_api_key_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/upload_api_key_request_response.go index 733fb1666c..35ea518397 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/upload_api_key_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/upload_api_key_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UploadApiKey.go.html to see an example of how to use UploadApiKeyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/identity/UploadApiKey.go.html to see an example of how to use UploadApiKeyRequest. type UploadApiKeyRequest struct { // The OCID of the user. @@ -72,7 +72,7 @@ func (request UploadApiKeyRequest) RetryPolicy() *common.RetryPolicy { func (request UploadApiKeyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/user.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/user.go index 1cd1f07f63..6ec5a474a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/user.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/user.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -20,16 +20,16 @@ import ( // have one or more IAM Service credentials (ApiKey, // UIPassword, SwiftPassword and // AuthToken). -// For more information, see User Credentials (https://docs.cloud.oracle.com/Content/Identity/usercred/usercredentials.htm)). End users of your +// For more information, see User Credentials (https://docs.oracle.com/iaas/Content/Identity/usercred/usercredentials.htm)). End users of your // application are not typically IAM Service users, but for tenancies that have identity domains, they might be. -// For conceptual information about users and other IAM Service components, see Overview of IAM (https://docs.cloud.oracle.com/Content/Identity/getstarted/identity-domains.htm). +// For conceptual information about users and other IAM Service components, see Overview of IAM (https://docs.oracle.com/iaas/Content/Identity/getstarted/identity-domains.htm). // These users are created directly within the Oracle Cloud Infrastructure system, via the IAM service. // They are different from *federated users*, who authenticate themselves to the Oracle Cloud Infrastructure // Console via an identity provider. For more information, see -// Identity Providers and Federation (https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm). +// Identity Providers and Federation (https://docs.oracle.com/iaas/Content/Identity/Concepts/federation.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, -// see Get Started with Policies (https://docs.cloud.oracle.com/Content/Identity/policiesgs/get-started-with-policies.htm). +// see Get Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values // using the API. type User struct { @@ -84,12 +84,12 @@ type User struct { InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -130,7 +130,7 @@ func (m User) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_capabilities.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_capabilities.go index d927abbe92..9a4ecdca38 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_capabilities.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_capabilities.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -51,7 +51,7 @@ func (m UserCapabilities) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_group_membership.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_group_membership.go index 07ae1ab13d..bdac37cc6c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_group_membership.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/user_group_membership.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -57,7 +57,7 @@ func (m UserGroupMembership) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request.go index a9f9e24452..c8d3c2514c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -73,7 +73,7 @@ func (m WorkRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_error.go index 48aac2e50d..e2b2b1f59f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_error.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -40,7 +40,7 @@ func (m WorkRequestError) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_log_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_log_entry.go index beb3b9e296..56b9d5f99f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_log_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_log_entry.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -37,7 +37,7 @@ func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_resource.go index 786b16410c..c7cac8e2e3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_resource.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -45,7 +45,7 @@ func (m WorkRequestResource) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_summary.go index a3ca2d35e6..0e3064ecb1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/work_request_summary.go @@ -1,10 +1,10 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Identity and Access Management Service API // -// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.cloud.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.cloud.oracle.com/iaas/Content/Identity/home.htm). +// Use the Identity and Access Management Service API to manage users, groups, identity domains, compartments, policies, tagging, and limits. For information about managing users, groups, compartments, and policies, see Identity and Access Management (without identity domains) (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about tagging and service limits, see Tagging (https://docs.oracle.com/iaas/Content/Tagging/Concepts/taggingoverview.htm) and Service Limits (https://docs.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). For information about creating, modifying, and deleting identity domains, see Identity and Access Management (with identity domains) (https://docs.oracle.com/iaas/Content/Identity/home.htm). // package identity @@ -69,7 +69,7 @@ func (m WorkRequestSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/action.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/action.go index 821342bb74..e454ab48ea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/action.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/action.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -56,7 +56,7 @@ func (m *action) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for Action: %s.", m.Name) + common.Logf("Received unsupported enum value for Action: %s.", m.Name) return *m, nil } } @@ -72,7 +72,7 @@ func (m action) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_request_header_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_request_header_rule.go index 0f40809e5d..69adf6e500 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_request_header_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_request_header_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -49,7 +49,7 @@ func (m AddHttpRequestHeaderRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_response_header_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_response_header_rule.go index e0f84a8df5..32bc6d1205 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_response_header_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/add_http_response_header_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -50,7 +50,7 @@ func (m AddHttpResponseHeaderRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go index 6ef2883018..36599bb85a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -46,7 +46,7 @@ func (m AllowRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend.go index b69e7fc309..6af558fe92 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -17,7 +17,7 @@ import ( ) // Backend The configuration of a backend server that is a member of a load balancer backend set. -// For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). +// For more information, see Managing Backend Servers (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingbackendservers.htm). type Backend struct { // A read-only field showing the IP address and port that uniquely identify this backend server in the backend set. @@ -36,7 +36,7 @@ type Backend struct { // proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see - // How Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // How Load Balancing Policies Work (https://docs.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"true" json:"weight"` @@ -57,8 +57,8 @@ type Backend struct { Offline *bool `mandatory:"true" json:"offline"` // The maximum number of simultaneous connections the load balancer can make to the backend. - // If this is not set then the maximum number of simultaneous connections the load balancer - // can make to the backend is unlimited. + // If this is not set or set to 0 then the maximum number of simultaneous connections the + // load balancer can make to the backend is unlimited. // Example: `300` MaxConnections *int `mandatory:"false" json:"maxConnections"` } @@ -74,7 +74,7 @@ func (m Backend) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_details.go index b6a42ad3f1..b5455c8d5d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -31,13 +31,15 @@ type BackendDetails struct { // proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see - // How Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // How Load Balancing Policies Work (https://docs.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"false" json:"weight"` // The maximum number of simultaneous connections the load balancer can make to the backend. - // If this is not set then the maximum number of simultaneous connections the load balancer - // can make to the backend is unlimited. + // If this is not set or set to 0 then the maximum number of simultaneous connections the + // load balancer can make to the backend is unlimited. + // If setting maxConnections to some value other than 0 then that value must be greater + // or equal to 256. // Example: `300` MaxConnections *int `mandatory:"false" json:"maxConnections"` @@ -69,7 +71,7 @@ func (m BackendDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_health.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_health.go index d8ea7a59ce..0916e75519 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_health.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_health.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -44,7 +44,7 @@ func (m BackendHealth) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set.go index 167d87e5ad..81ab4703c0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // BackendSet The configuration of a load balancer backend set. // For more information on backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Managing Backend Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingbackendsets.htm). // **Note:** The `sessionPersistenceConfiguration` (application cookie stickiness) and `lbCookieSessionPersistenceConfiguration` // (LB cookie stickiness) attributes are mutually exclusive. To avoid returning an error, configure only one of these two // attributes per backend set. @@ -42,8 +42,9 @@ type BackendSet struct { // The maximum number of simultaneous connections the load balancer can make to any backend // in the backend set unless the backend has its own maxConnections setting. If this is not - // set then the number of simultaneous connections the load balancer can make to any backend - // in the backend set unless the backend has its own maxConnections setting is unlimited. + // set or set to 0 then the number of simultaneous connections the load balancer can make + // to any backend in the backend set unless the backend has its own maxConnections setting + // is unlimited. // Example: `300` BackendMaxConnections *int `mandatory:"false" json:"backendMaxConnections"` @@ -65,7 +66,7 @@ func (m BackendSet) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_details.go index 2708bed219..c5fc5e13cf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // BackendSetDetails The configuration details for a load balancer backend set. // For more information on backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Managing Backend Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingbackendsets.htm). // **Note:** The `sessionPersistenceConfiguration` (application cookie stickiness) and `lbCookieSessionPersistenceConfiguration` // (LB cookie stickiness) attributes are mutually exclusive. To avoid returning an error, configure only one of these two // attributes per backend set. @@ -35,8 +35,11 @@ type BackendSetDetails struct { // The maximum number of simultaneous connections the load balancer can make to any backend // in the backend set unless the backend has its own maxConnections setting. If this is not - // set then the number of simultaneous connections the load balancer can make to any backend - // in the backend set unless the backend has its own maxConnections setting is unlimited. + // set or set to 0 then the number of simultaneous connections the load balancer can make + // to any backend in the backend set unless the backend has its own maxConnections setting + // is unlimited. + // If setting backendMaxConnections to some value other than 0 then that value must be greater + // or equal to 256. // Example: `300` BackendMaxConnections *int `mandatory:"false" json:"backendMaxConnections"` @@ -58,7 +61,7 @@ func (m BackendSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_health.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_health.go index 0effeb82ca..7c92c4cf91 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_health.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/backend_set_health.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -64,7 +64,7 @@ func (m BackendSetHealth) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate.go index 32cd695c44..0db1c98766 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // Certificate The configuration details of a certificate bundle. // For more information on SSL certficate configuration, see -// Managing SSL Certificates (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingcertificates.htm). +// Managing SSL Certificates (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingcertificates.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type Certificate struct { @@ -62,7 +62,7 @@ func (m Certificate) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate_details.go index 4b1340fd29..3db0913090 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/certificate_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // CertificateDetails The configuration details for a certificate bundle. // For more information on SSL certficate configuration, see -// Managing SSL Certificates (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingcertificates.htm). +// Managing SSL Certificates (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingcertificates.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type CertificateDetails struct { @@ -76,7 +76,7 @@ func (m CertificateDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_details.go index 5b238e6d3c..b5fa5de8cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -20,7 +20,7 @@ import ( // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type ChangeLoadBalancerCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the load balancer to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the load balancer to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -35,7 +35,7 @@ func (m ChangeLoadBalancerCompartmentDetails) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_request_response.go index b3ce9aaa43..befc5088cb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/change_load_balancer_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ChangeLoadBalancerCompartment.go.html to see an example of how to use ChangeLoadBalancerCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ChangeLoadBalancerCompartment.go.html to see an example of how to use ChangeLoadBalancerCompartmentRequest. type ChangeLoadBalancerCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to move. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to move. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The configuration details for moving a load balancer to a different compartment. @@ -81,7 +81,7 @@ func (request ChangeLoadBalancerCompartmentRequest) RetryPolicy() *common.RetryP func (request ChangeLoadBalancerCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type ChangeLoadBalancerCompartmentResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/connection_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/connection_configuration.go index fdebbb7b62..139ed755a0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/connection_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/connection_configuration.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -22,7 +22,7 @@ type ConnectionConfiguration struct { // The maximum idle time, in seconds, allowed between two successive receive or two successive send operations // between the client and backend servers. A send operation does not reset the timer for receive operations. A // receive operation does not reset the timer for send operations. - // For more information, see Connection Configuration (https://docs.cloud.oracle.com/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration). + // For more information, see Connection Configuration (https://docs.oracle.com/iaas/Content/Balance/Reference/connectionreuse.htm#ConnectionConfiguration). // Example: `1200` IdleTimeout *int64 `mandatory:"true" json:"idleTimeout"` @@ -52,7 +52,7 @@ func (m ConnectionConfiguration) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/control_access_using_http_methods_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/control_access_using_http_methods_rule.go index 8e440278cd..10f7f3986c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/control_access_using_http_methods_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/control_access_using_http_methods_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -31,7 +31,7 @@ type ControlAccessUsingHttpMethodsRule struct { // By default, you can specify only the standard HTTP methods defined in the // HTTP Method Registry (http://www.iana.org/assignments/http-methods/http-methods.xhtml). You can also // see a list of supported standard HTTP methods in the Load Balancing service documentation at - // Managing Rule Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrulesets.htm). + // Managing Rule Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrulesets.htm). // Your backend application must be able to handle the methods specified in this list. // The list of HTTP methods is extensible. If you need to configure custom HTTP methods, contact // My Oracle Support (http://support.oracle.com/) to remove the restriction for your tenancy. @@ -56,7 +56,7 @@ func (m ControlAccessUsingHttpMethodsRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_details.go index 9bf0f762cc..f92c052690 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // CreateBackendDetails The configuration details for creating a backend server in a backend set. // For more information on backend server configuration, see -// Managing Backend Servers (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). +// Managing Backend Servers (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingbackendservers.htm). type CreateBackendDetails struct { // The IP address of the backend server. @@ -33,13 +33,15 @@ type CreateBackendDetails struct { // proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see - // How Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // How Load Balancing Policies Work (https://docs.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"false" json:"weight"` // The maximum number of simultaneous connections the load balancer can make to the backend. - // If this is not set then number of simultaneous connections the load balancer can make to - // the backend is unlimited. + // If this is not set or set to 0 then the maximum number of simultaneous connections the + // load balancer can make to the backend is unlimited. + // If setting maxConnections to some value other than 0 then that value must be greater + // or equal to 256. // Example: `300` MaxConnections *int `mandatory:"false" json:"maxConnections"` @@ -71,7 +73,7 @@ func (m CreateBackendDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_request_response.go index 5460a5024e..e0b8c77f36 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackend.go.html to see an example of how to use CreateBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackend.go.html to see an example of how to use CreateBackendRequest. type CreateBackendRequest struct { // The details to add a backend server to a backend set. CreateBackendDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to add the backend server to. @@ -85,7 +85,7 @@ func (request CreateBackendRequest) RetryPolicy() *common.RetryPolicy { func (request CreateBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type CreateBackendResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_details.go index 8773d77558..f9b2bb6911 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // CreateBackendSetDetails The configuration details for creating a backend set in a load balancer. // For more information on backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Managing Backend Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingbackendsets.htm). // **Note:** The `sessionPersistenceConfiguration` (application cookie stickiness) and `lbCookieSessionPersistenceConfiguration` // (LB cookie stickiness) attributes are mutually exclusive. To avoid returning an error, configure only one of these two // attributes per backend set. @@ -42,8 +42,11 @@ type CreateBackendSetDetails struct { // The maximum number of simultaneous connections the load balancer can make to any backend // in the backend set unless the backend has its own maxConnections setting. If this is not - // set then the number of simultaneous connections the load balancer can make to any backend - // in the backend set unless the backend has its own maxConnections setting is unlimited. + // set or set to 0 then the number of simultaneous connections the load balancer can make + // to any backend in the backend set unless the backend has its own maxConnections setting + // is unlimited. + // If setting backendMaxConnections to some value other than 0 then that value must be greater + // or equal to 256. // Example: `300` BackendMaxConnections *int `mandatory:"false" json:"backendMaxConnections"` @@ -65,7 +68,7 @@ func (m CreateBackendSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_request_response.go index 54f442eff6..3148a28ba8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSetRequest. type CreateBackendSetRequest struct { // The details for adding a backend set. CreateBackendSetDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a backend set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a backend set. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request CreateBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request CreateBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateBackendSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_details.go index 5217066afd..518cceb95f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // CreateCertificateDetails The configuration details for adding a certificate bundle to a listener. // For more information on SSL certficate configuration, see -// Managing SSL Certificates (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingcertificates.htm). +// Managing SSL Certificates (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingcertificates.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type CreateCertificateDetails struct { @@ -76,7 +76,7 @@ func (m CreateCertificateDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_request_response.go index 5bd88ea4d4..6ad9c123e5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_certificate_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateCertificate.go.html to see an example of how to use CreateCertificateRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateCertificate.go.html to see an example of how to use CreateCertificateRequest. type CreateCertificateRequest struct { // The details of the certificate bundle to add. CreateCertificateDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add the certificate bundle. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer on which to add the certificate bundle. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request CreateCertificateRequest) RetryPolicy() *common.RetryPolicy { func (request CreateCertificateRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateCertificateResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_details.go index 2890953bdc..13a48ac223 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -26,7 +26,7 @@ type CreateHostnameDetails struct { Name *string `mandatory:"true" json:"name"` // A virtual hostname. For more information about virtual hostname string construction, see - // Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm#routing). + // Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"true" json:"hostname"` } @@ -42,7 +42,7 @@ func (m CreateHostnameDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_request_response.go index 21fe71f4ce..f3678bccc3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_hostname_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateHostname.go.html to see an example of how to use CreateHostnameRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateHostname.go.html to see an example of how to use CreateHostnameRequest. type CreateHostnameRequest struct { // The details of the hostname resource to add to the specified load balancer. CreateHostnameDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the hostname to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to add the hostname to. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request CreateHostnameRequest) RetryPolicy() *common.RetryPolicy { func (request CreateHostnameRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateHostnameResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_details.go index bea5393999..2327923185 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // CreateListenerDetails The configuration details for adding a listener to a backend set. // For more information on listener configuration, see -// Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// Managing Load Balancer Listeners (https://docs.oracle.com/iaas/Content/Balance/Tasks/managinglisteners.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type CreateListenerDetails struct { @@ -30,8 +30,9 @@ type CreateListenerDetails struct { // Example: `80` Port *int `mandatory:"true" json:"port"` - // The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC. - // You can also use the ListProtocols operation to get a list of valid protocols. + // The protocol on which the listener accepts connection requests. + // To get a list of valid protocols, use the ListProtocols + // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` @@ -73,7 +74,7 @@ func (m CreateListenerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_request_response.go index 9e7dbc2085..3c048caba5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateListener.go.html to see an example of how to use CreateListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateListener.go.html to see an example of how to use CreateListenerRequest. type CreateListenerRequest struct { // Details to add a listener. CreateListenerDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a listener. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer on which to add a listener. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request CreateListenerRequest) RetryPolicy() *common.RetryPolicy { func (request CreateListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateListenerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_details.go index 2b35e90e87..09d4fe1a87 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -20,7 +20,7 @@ import ( // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type CreateLoadBalancerDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to create the load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -36,7 +36,7 @@ type CreateLoadBalancerDetails struct { // allowed would be `Flexible` ShapeName *string `mandatory:"true" json:"shapeName"` - // An array of subnet OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // An array of subnet OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). SubnetIds []string `mandatory:"true" json:"subnetIds"` // The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`. @@ -46,8 +46,8 @@ type CreateLoadBalancerDetails struct { // If "true", the service assigns a private IP address to the load balancer. // If "false", the service assigns a public IP address to the load balancer. // A public load balancer is accessible from the internet, depending on your VCN's - // security list rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm). For more information about public and - // private load balancers, see How Load Balancing Works (https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). + // security list rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and + // private load balancers, see How Load Balancing Works (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` @@ -64,6 +64,11 @@ type CreateLoadBalancerDetails struct { // Example: "ipMode":"IPV6" IpMode CreateLoadBalancerDetailsIpModeEnum `mandatory:"false" json:"ipMode,omitempty"` + // Applies to IPV6 LB creation only. + // Used to disambiguate which subnet prefix should be used to create an IPv6 LB. + // Example: "2002::1234:abcd:ffff:c0a8:101/64" + Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"` + // Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. // If "true", the load balancer will attach a unique request id header to every request // passed through from the load balancer to load balancer backends. This same request id @@ -98,7 +103,7 @@ type CreateLoadBalancerDetails struct { BackendSets map[string]BackendSetDetails `mandatory:"false" json:"backendSets"` - // An array of NSG OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with this load balancer. + // An array of NSG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. // The benefits of using NSGs with the load balancer include: // * NSGs define network security rules to govern ingress and egress traffic for the load balancer. @@ -114,18 +119,18 @@ type CreateLoadBalancerDetails struct { PathRouteSets map[string]PathRouteSetDetails `mandatory:"false" json:"pathRouteSets"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit", "usagetype" : "zpr"}}}` - ZprTags map[string]map[string]interface{} `mandatory:"false" json:"zprTags"` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` RuleSets map[string]RuleSetDetails `mandatory:"false" json:"ruleSets"` } @@ -144,7 +149,7 @@ func (m CreateLoadBalancerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMode: %s. Supported values are: %s.", m.IpMode, strings.Join(GetCreateLoadBalancerDetailsIpModeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_request_response.go index 870bf3dbee..847094890d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateLoadBalancer.go.html to see an example of how to use CreateLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateLoadBalancer.go.html to see an example of how to use CreateLoadBalancerRequest. type CreateLoadBalancerRequest struct { // The configuration details for creating a load balancer. @@ -69,7 +69,7 @@ func (request CreateLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request CreateLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -80,7 +80,7 @@ type CreateLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_details.go index 29191fc4ac..fdd786257d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -40,7 +40,7 @@ func (m CreatePathRouteSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_request_response.go index b3139a7b73..11ccaec3e2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_path_route_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreatePathRouteSet.go.html to see an example of how to use CreatePathRouteSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreatePathRouteSet.go.html to see an example of how to use CreatePathRouteSetRequest. type CreatePathRouteSetRequest struct { // The details of the path route set to add. CreatePathRouteSetDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to add the path route set to. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request CreatePathRouteSetRequest) RetryPolicy() *common.RetryPolicy { func (request CreatePathRouteSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreatePathRouteSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_details.go index 2830843043..bd1b1fed0f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -46,7 +46,7 @@ func (m CreateRoutingPolicyDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_request_response.go index 0adb2d8db0..a985fcdf41 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_routing_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRoutingPolicy.go.html to see an example of how to use CreateRoutingPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRoutingPolicy.go.html to see an example of how to use CreateRoutingPolicyRequest. type CreateRoutingPolicyRequest struct { // The details of the routing policy rules to add. CreateRoutingPolicyDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to add the routing policy rule list to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to add the routing policy rule list to. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request CreateRoutingPolicyRequest) RetryPolicy() *common.RetryPolicy { func (request CreateRoutingPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateRoutingPolicyResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go index 5a0e012c9f..9a01ea0a0e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -40,7 +40,7 @@ func (m CreateRuleSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_request_response.go index 42ea635287..85647f8403 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRuleSet.go.html to see an example of how to use CreateRuleSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRuleSet.go.html to see an example of how to use CreateRuleSetRequest. type CreateRuleSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The configuration details for the rule set to create. @@ -81,7 +81,7 @@ func (request CreateRuleSetRequest) RetryPolicy() *common.RetryPolicy { func (request CreateRuleSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateRuleSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_s_s_l_cipher_suite_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_s_s_l_cipher_suite_request_response.go index 699ed8572c..5f36a16024 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_s_s_l_cipher_suite_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_s_s_l_cipher_suite_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateSSLCipherSuite.go.html to see an example of how to use CreateSSLCipherSuiteRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateSSLCipherSuite.go.html to see an example of how to use CreateSSLCipherSuiteRequest. type CreateSSLCipherSuiteRequest struct { // The details of the SSL cipher suite to add. CreateSslCipherSuiteDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about @@ -81,7 +81,7 @@ func (request CreateSSLCipherSuiteRequest) RetryPolicy() *common.RetryPolicy { func (request CreateSSLCipherSuiteRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type CreateSSLCipherSuiteResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_ssl_cipher_suite_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_ssl_cipher_suite_details.go index e35914bd86..3f1154212d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_ssl_cipher_suite_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_ssl_cipher_suite_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -23,8 +23,8 @@ import ( // level, performance, and compatibility of your data traffic. // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. // Oracle created the following predefined cipher suites that you can specify when you define a resource's -// SSL configuration (https://docs.cloud.oracle.com/api/#/en/loadbalancer/20170115/datatypes/SSLConfigurationDetails). You can create custom -// cipher suites (https://docs.cloud.oracle.com/api/#/en/loadbalancer/20170115/SSLCipherSuite/CreateSSLCipherSuite) if the predefined cipher +// SSL configuration (https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/datatypes/SSLConfigurationDetails). You can create custom +// cipher suites (https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/SSLCipherSuite/CreateSSLCipherSuite) if the predefined cipher // suites do not meet your requirements. // // - __oci-default-ssl-cipher-suite-v1__ @@ -374,7 +374,7 @@ func (m CreateSslCipherSuiteDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_request_response.go index 9c21d2d901..9df9b23bf1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackendRequest. type DeleteBackendRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend server. @@ -79,7 +79,7 @@ func (request DeleteBackendRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -90,7 +90,7 @@ type DeleteBackendResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_set_request_response.go index 7e83e83674..5ae21be268 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSetRequest. type DeleteBackendSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to delete. @@ -75,7 +75,7 @@ func (request DeleteBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeleteBackendSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_certificate_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_certificate_request_response.go index 70d4fbb1a5..c9ba9e2416 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_certificate_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_certificate_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteCertificate.go.html to see an example of how to use DeleteCertificateRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteCertificate.go.html to see an example of how to use DeleteCertificateRequest. type DeleteCertificateRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundle + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundle // to be deleted. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` @@ -76,7 +76,7 @@ func (request DeleteCertificateRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteCertificateRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -87,7 +87,7 @@ type DeleteCertificateResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_hostname_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_hostname_request_response.go index 670b1addaa..fff3529c18 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_hostname_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_hostname_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteHostname.go.html to see an example of how to use DeleteHostnameRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteHostname.go.html to see an example of how to use DeleteHostnameRequest. type DeleteHostnameRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostname to delete. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostname to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the hostname resource to delete. @@ -75,7 +75,7 @@ func (request DeleteHostnameRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteHostnameRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeleteHostnameResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_listener_request_response.go index 89fe0daa19..b36977ecdb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteListener.go.html to see an example of how to use DeleteListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteListener.go.html to see an example of how to use DeleteListenerRequest. type DeleteListenerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to delete. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the listener to delete. @@ -75,7 +75,7 @@ func (request DeleteListenerRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeleteListenerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_load_balancer_request_response.go index 5f11520074..215b2c5731 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteLoadBalancer.go.html to see an example of how to use DeleteLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteLoadBalancer.go.html to see an example of how to use DeleteLoadBalancerRequest. type DeleteLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to delete. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -71,7 +71,7 @@ func (request DeleteLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -82,7 +82,7 @@ type DeleteLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_path_route_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_path_route_set_request_response.go index 1278c5bcd4..f32af8a755 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_path_route_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_path_route_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeletePathRouteSet.go.html to see an example of how to use DeletePathRouteSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeletePathRouteSet.go.html to see an example of how to use DeletePathRouteSetRequest. type DeletePathRouteSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to delete. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the path route set to delete. @@ -75,7 +75,7 @@ func (request DeletePathRouteSetRequest) RetryPolicy() *common.RetryPolicy { func (request DeletePathRouteSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeletePathRouteSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_routing_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_routing_policy_request_response.go index e413e02732..c40b5000d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_routing_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_routing_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRoutingPolicy.go.html to see an example of how to use DeleteRoutingPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRoutingPolicy.go.html to see an example of how to use DeleteRoutingPolicyRequest. type DeleteRoutingPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the routing policy to delete. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the routing policy to delete. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the routing policy to delete. @@ -75,7 +75,7 @@ func (request DeleteRoutingPolicyRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteRoutingPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeleteRoutingPolicyResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_rule_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_rule_set_request_response.go index 6fd1dab0d5..4202473930 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_rule_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_rule_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRuleSet.go.html to see an example of how to use DeleteRuleSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRuleSet.go.html to see an example of how to use DeleteRuleSetRequest. type DeleteRuleSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the rule set to delete. @@ -75,7 +75,7 @@ func (request DeleteRuleSetRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteRuleSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeleteRuleSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_s_s_l_cipher_suite_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_s_s_l_cipher_suite_request_response.go index f279533773..a03b677ff3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_s_s_l_cipher_suite_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/delete_s_s_l_cipher_suite_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteSSLCipherSuite.go.html to see an example of how to use DeleteSSLCipherSuiteRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteSSLCipherSuite.go.html to see an example of how to use DeleteSSLCipherSuiteRequest. type DeleteSSLCipherSuiteRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the SSL cipher suite to delete. @@ -75,7 +75,7 @@ func (request DeleteSSLCipherSuiteRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteSSLCipherSuiteRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -86,7 +86,7 @@ type DeleteSSLCipherSuiteResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_request_header_value_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_request_header_value_rule.go index 0b2dfd072b..419ad15ffd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_request_header_value_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_request_header_value_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -58,7 +58,7 @@ func (m ExtendHttpRequestHeaderValueRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_response_header_value_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_response_header_value_rule.go index c6b86d3311..14af3adbda 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_response_header_value_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/extend_http_response_header_value_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -58,7 +58,7 @@ func (m ExtendHttpResponseHeaderValueRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/forward_to_backend_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/forward_to_backend_set.go index 5b2b7a1833..46c5ac77cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/forward_to_backend_set.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/forward_to_backend_set.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -36,7 +36,7 @@ func (m ForwardToBackendSet) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_health_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_health_request_response.go index 4a5950c97f..704e68328d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_health_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_health_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealthRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealthRequest. type GetBackendHealthRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend server health status to be retrieved. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend server health status to be retrieved. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend server to retrieve the health status for. @@ -79,7 +79,7 @@ func (request GetBackendHealthRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendHealthRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_request_response.go index f473e3dc87..54bdb663e0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackend.go.html to see an example of how to use GetBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackend.go.html to see an example of how to use GetBackendRequest. type GetBackendRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set that includes the backend server. @@ -79,7 +79,7 @@ func (request GetBackendRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_health_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_health_request_response.go index b894f84137..6c81ac2b08 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_health_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_health_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealthRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealthRequest. type GetBackendSetHealthRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set health status to be retrieved. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set health status to be retrieved. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to retrieve the health status for. @@ -75,7 +75,7 @@ func (request GetBackendSetHealthRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendSetHealthRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_request_response.go index 8dbaf86ba1..b579b3c4d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSetRequest. type GetBackendSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to retrieve. @@ -75,7 +75,7 @@ func (request GetBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_health_checker_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_health_checker_request_response.go index c800dcb915..03f5746aef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_health_checker_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_health_checker_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthCheckerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthCheckerRequest. type GetHealthCheckerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be retrieved. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be retrieved. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the health check policy to be retrieved. @@ -75,7 +75,7 @@ func (request GetHealthCheckerRequest) RetryPolicy() *common.RetryPolicy { func (request GetHealthCheckerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_hostname_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_hostname_request_response.go index beddcafda9..52906d7753 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_hostname_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_hostname_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHostname.go.html to see an example of how to use GetHostnameRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHostname.go.html to see an example of how to use GetHostnameRequest. type GetHostnameRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the hostname resource to retrieve. @@ -75,7 +75,7 @@ func (request GetHostnameRequest) RetryPolicy() *common.RetryPolicy { func (request GetHostnameRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_health_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_health_request_response.go index ea7d9d095d..fc9391eee5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_health_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_health_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancerHealth.go.html to see an example of how to use GetLoadBalancerHealthRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancerHealth.go.html to see an example of how to use GetLoadBalancerHealthRequest. type GetLoadBalancerHealthRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to return health status for. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to return health status for. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -71,7 +71,7 @@ func (request GetLoadBalancerHealthRequest) RetryPolicy() *common.RetryPolicy { func (request GetLoadBalancerHealthRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_request_response.go index ca04fc8d7a..bc38fc6b3f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancer.go.html to see an example of how to use GetLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancer.go.html to see an example of how to use GetLoadBalancerRequest. type GetLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to retrieve. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -71,7 +71,7 @@ func (request GetLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request GetLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_path_route_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_path_route_set_request_response.go index b5610d5239..a97280c0f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_path_route_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_path_route_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetPathRouteSet.go.html to see an example of how to use GetPathRouteSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetPathRouteSet.go.html to see an example of how to use GetPathRouteSetRequest. type GetPathRouteSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the path route set to retrieve. @@ -75,7 +75,7 @@ func (request GetPathRouteSetRequest) RetryPolicy() *common.RetryPolicy { func (request GetPathRouteSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_routing_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_routing_policy_request_response.go index ce05660098..3a2ef92b3a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_routing_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_routing_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRoutingPolicy.go.html to see an example of how to use GetRoutingPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRoutingPolicy.go.html to see an example of how to use GetRoutingPolicyRequest. type GetRoutingPolicyRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the routing policy to retrieve. @@ -75,7 +75,7 @@ func (request GetRoutingPolicyRequest) RetryPolicy() *common.RetryPolicy { func (request GetRoutingPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_rule_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_rule_set_request_response.go index 29e8442dc1..bb26d06b24 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_rule_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_rule_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRuleSet.go.html to see an example of how to use GetRuleSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRuleSet.go.html to see an example of how to use GetRuleSetRequest. type GetRuleSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the rule set to retrieve. @@ -75,7 +75,7 @@ func (request GetRuleSetRequest) RetryPolicy() *common.RetryPolicy { func (request GetRuleSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_s_s_l_cipher_suite_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_s_s_l_cipher_suite_request_response.go index eb9acf5002..eb2c7c75f2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_s_s_l_cipher_suite_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_s_s_l_cipher_suite_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetSSLCipherSuite.go.html to see an example of how to use GetSSLCipherSuiteRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetSSLCipherSuite.go.html to see an example of how to use GetSSLCipherSuiteRequest. type GetSSLCipherSuiteRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the SSL cipher suite to retrieve. @@ -75,7 +75,7 @@ func (request GetSSLCipherSuiteRequest) RetryPolicy() *common.RetryPolicy { func (request GetSSLCipherSuiteRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_work_request_request_response.go index f0828b5f03..64cd247903 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request to retrieve. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request to retrieve. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -62,7 +62,7 @@ func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_check_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_check_result.go index a817ff083b..5778c5f00e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_check_result.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_check_result.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -19,7 +19,7 @@ import ( // HealthCheckResult Information about a single backend server health check result reported by a load balancer. type HealthCheckResult struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the subnet hosting the load balancer that reported this health check status. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet hosting the load balancer that reported this health check status. SubnetId *string `mandatory:"true" json:"subnetId"` // The IP address of the health check status report provider. This identifier helps you differentiate same-subnet @@ -49,7 +49,7 @@ func (m HealthCheckResult) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker.go index efba7256cd..60c45269e6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -17,7 +17,7 @@ import ( ) // HealthChecker The health check policy configuration. -// For more information, see Editing Health Check Policies (https://docs.cloud.oracle.com/Content/Balance/Tasks/editinghealthcheck.htm). +// For more information, see Editing Health Check Policies (https://docs.oracle.com/iaas/Content/Balance/Tasks/editinghealthcheck.htm). type HealthChecker struct { // The protocol the health check must use; either HTTP or TCP. @@ -77,7 +77,7 @@ func (m HealthChecker) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker_details.go index 77fd8e0798..5bb0aeb221 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/health_checker_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -75,7 +75,7 @@ func (m HealthCheckerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname.go index 37f6204416..2f866cf086 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -26,7 +26,7 @@ type Hostname struct { Name *string `mandatory:"true" json:"name"` // A virtual hostname. For more information about virtual hostname string construction, see - // Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm#routing). + // Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"true" json:"hostname"` } @@ -42,7 +42,7 @@ func (m Hostname) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname_details.go index e3703a4c52..912cfe23be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/hostname_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -24,7 +24,7 @@ type HostnameDetails struct { Name *string `mandatory:"true" json:"name"` // A virtual hostname. For more information about virtual hostname string construction, see - // Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm#routing). + // Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"true" json:"hostname"` } @@ -40,7 +40,7 @@ func (m HostnameDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/http_header_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/http_header_rule.go index 39a3aef234..3c5d351a17 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/http_header_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/http_header_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -47,7 +47,7 @@ func (m HttpHeaderRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_address.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_address.go index 4b8e1e7db6..c70cd03502 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_address.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_address.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -42,7 +42,7 @@ func (m IpAddress) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_based_max_connections_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_based_max_connections_rule.go index 3e18ea50f7..192a4a6f74 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_based_max_connections_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_based_max_connections_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -41,7 +41,7 @@ func (m IpBasedMaxConnectionsRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_max_connections.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_max_connections.go index 011294af2c..77f1d400d5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_max_connections.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ip_max_connections.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -41,7 +41,7 @@ func (m IpMaxConnections) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/lb_cookie_session_persistence_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/lb_cookie_session_persistence_configuration_details.go index 050ecd9f3a..89fe0d4019 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/lb_cookie_session_persistence_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/lb_cookie_session_persistence_configuration_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -19,7 +19,7 @@ import ( // LbCookieSessionPersistenceConfigurationDetails The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness). // Session persistence enables the Load Balancing service to direct all requests that originate from a single logical // client to a single backend web server. For more information, see -// Session Persistence (https://docs.cloud.oracle.com/Content/Balance/Reference/sessionpersistence.htm). +// Session Persistence (https://docs.oracle.com/iaas/Content/Balance/Reference/sessionpersistence.htm). // When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured // in the cookie enable session stickiness. This method is useful when you have applications and Web backend services // that cannot generate their own cookies. @@ -117,7 +117,7 @@ func (m LbCookieSessionPersistenceConfigurationDetails) ValidateEnumValue() (boo errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backend_sets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backend_sets_request_response.go index 1f3d055c7e..83ca2f7440 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backend_sets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backend_sets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSetsRequest. type ListBackendSetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend sets to retrieve. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend sets to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -71,7 +71,7 @@ func (request ListBackendSetsRequest) RetryPolicy() *common.RetryPolicy { func (request ListBackendSetsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backends_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backends_request_response.go index b4f17b6eb1..f7275a00dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backends_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_backends_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackends.go.html to see an example of how to use ListBackendsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackends.go.html to see an example of how to use ListBackendsRequest. type ListBackendsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend servers. @@ -75,7 +75,7 @@ func (request ListBackendsRequest) RetryPolicy() *common.RetryPolicy { func (request ListBackendsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_certificates_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_certificates_request_response.go index 88f5e41e73..c3e773a98a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_certificates_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_certificates_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListCertificates.go.html to see an example of how to use ListCertificatesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListCertificates.go.html to see an example of how to use ListCertificatesRequest. type ListCertificatesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundles + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundles // to be listed. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` @@ -72,7 +72,7 @@ func (request ListCertificatesRequest) RetryPolicy() *common.RetryPolicy { func (request ListCertificatesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_hostnames_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_hostnames_request_response.go index f7571c7ac7..ae52583171 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_hostnames_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_hostnames_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListHostnames.go.html to see an example of how to use ListHostnamesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListHostnames.go.html to see an example of how to use ListHostnamesRequest. type ListHostnamesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames // to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` @@ -72,7 +72,7 @@ func (request ListHostnamesRequest) RetryPolicy() *common.RetryPolicy { func (request ListHostnamesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_listener_rules_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_listener_rules_request_response.go index 49e790d1d1..fea8a36d14 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_listener_rules_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_listener_rules_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListListenerRules.go.html to see an example of how to use ListListenerRulesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListListenerRules.go.html to see an example of how to use ListListenerRulesRequest. type ListListenerRulesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the listener the rules are associated with. @@ -75,7 +75,7 @@ func (request ListListenerRulesRequest) RetryPolicy() *common.RetryPolicy { func (request ListListenerRulesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancer_healths_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancer_healths_request_response.go index 73a70e1dd4..710c70aea1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancer_healths_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancer_healths_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancerHealths.go.html to see an example of how to use ListLoadBalancerHealthsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancerHealths.go.html to see an example of how to use ListLoadBalancerHealthsRequest. type ListLoadBalancerHealthsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to return health status information for. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to return health status information for. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListLoadBalancerHealthsRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -72,7 +72,7 @@ func (request ListLoadBalancerHealthsRequest) RetryPolicy() *common.RetryPolicy func (request ListLoadBalancerHealthsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -88,7 +88,7 @@ type ListLoadBalancerHealthsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancers_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancers_request_response.go index ea2473c274..176d56ceb4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancers_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_load_balancers_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancers.go.html to see an example of how to use ListLoadBalancersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancers.go.html to see an example of how to use ListLoadBalancersRequest. type ListLoadBalancersRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListLoadBalancersRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -100,7 +100,7 @@ func (request ListLoadBalancersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", request.LifecycleState, strings.Join(GetLoadBalancerLifecycleStateEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -116,7 +116,7 @@ type ListLoadBalancersResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_path_route_sets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_path_route_sets_request_response.go index 67236fbf8a..306fe7e274 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_path_route_sets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_path_route_sets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPathRouteSets.go.html to see an example of how to use ListPathRouteSetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPathRouteSets.go.html to see an example of how to use ListPathRouteSetsRequest. type ListPathRouteSetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route sets + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route sets // to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` @@ -72,7 +72,7 @@ func (request ListPathRouteSetsRequest) RetryPolicy() *common.RetryPolicy { func (request ListPathRouteSetsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_policies_request_response.go index 128d037d47..18d84d7f9c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPolicies.go.html to see an example of how to use ListPoliciesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPolicies.go.html to see an example of how to use ListPoliciesRequest. type ListPoliciesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer policies to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer policies to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListPoliciesRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -72,7 +72,7 @@ func (request ListPoliciesRequest) RetryPolicy() *common.RetryPolicy { func (request ListPoliciesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -88,7 +88,7 @@ type ListPoliciesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_protocols_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_protocols_request_response.go index bf9e7d9eae..6b74fa7da4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_protocols_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_protocols_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListProtocols.go.html to see an example of how to use ListProtocolsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListProtocols.go.html to see an example of how to use ListProtocolsRequest. type ListProtocolsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer protocols to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer protocols to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListProtocolsRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -72,7 +72,7 @@ func (request ListProtocolsRequest) RetryPolicy() *common.RetryPolicy { func (request ListProtocolsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -88,7 +88,7 @@ type ListProtocolsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_routing_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_routing_policies_request_response.go index 4b5349d9f9..b2010cad58 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_routing_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_routing_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRoutingPolicies.go.html to see an example of how to use ListRoutingPoliciesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRoutingPolicies.go.html to see an example of how to use ListRoutingPoliciesRequest. type ListRoutingPoliciesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the routing policies. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the routing policies. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListRoutingPoliciesRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -81,7 +81,7 @@ func (request ListRoutingPoliciesRequest) RetryPolicy() *common.RetryPolicy { func (request ListRoutingPoliciesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -101,7 +101,7 @@ type ListRoutingPoliciesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Reflects the current version of the load balancer and the resources it contains. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_rule_sets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_rule_sets_request_response.go index 80918efeb8..3dcce4797f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_rule_sets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_rule_sets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRuleSets.go.html to see an example of how to use ListRuleSetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRuleSets.go.html to see an example of how to use ListRuleSetsRequest. type ListRuleSetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -71,7 +71,7 @@ func (request ListRuleSetsRequest) RetryPolicy() *common.RetryPolicy { func (request ListRuleSetsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_s_s_l_cipher_suites_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_s_s_l_cipher_suites_request_response.go index 673ed5195a..68f2024605 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_s_s_l_cipher_suites_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_s_s_l_cipher_suites_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListSSLCipherSuites.go.html to see an example of how to use ListSSLCipherSuitesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListSSLCipherSuites.go.html to see an example of how to use ListSSLCipherSuitesRequest. type ListSSLCipherSuitesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about @@ -71,7 +71,7 @@ func (request ListSSLCipherSuitesRequest) RetryPolicy() *common.RetryPolicy { func (request ListSSLCipherSuitesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_shapes_request_response.go index 7d8eee5b80..4bfcf8a954 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_shapes_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_shapes_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListShapes.go.html to see an example of how to use ListShapesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListShapes.go.html to see an example of how to use ListShapesRequest. type ListShapesRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer shapes to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer shapes to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListShapesRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -72,7 +72,7 @@ func (request ListShapesRequest) RetryPolicy() *common.RetryPolicy { func (request ListShapesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -88,7 +88,7 @@ type ListShapesResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_work_requests_request_response.go index 0d03fefaf3..4efd7f5377 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the work requests to retrieve. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the work requests to retrieve. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -26,12 +26,12 @@ type ListWorkRequestsRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `50` Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"` // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Example: `3` Page *string `mandatory:"false" contributesTo:"query" name:"page"` @@ -72,7 +72,7 @@ func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -88,7 +88,7 @@ type ListWorkRequestsResponse struct { // For list pagination. When this header appears in the response, additional pages // of results remain. For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener.go index 1e6cddab89..afac486c80 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // Listener The listener's configuration. // For more information on backend set configuration, see -// Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// Managing Load Balancer Listeners (https://docs.oracle.com/iaas/Content/Balance/Tasks/managinglisteners.htm). type Listener struct { // A friendly name for the listener. It must be unique and it cannot be changed. @@ -33,8 +33,9 @@ type Listener struct { // Example: `80` Port *int `mandatory:"true" json:"port"` - // The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC. - // You can also use the ListProtocols operation to get a list of valid protocols. + // The protocol on which the listener accepts connection requests. + // To get a list of valid protocols, use the ListProtocols + // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` @@ -71,7 +72,7 @@ func (m Listener) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_details.go index 9814c72eb9..e200bc2504 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -27,8 +27,9 @@ type ListenerDetails struct { // Example: `80` Port *int `mandatory:"true" json:"port"` - // The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC. - // You can also use the ListProtocols operation to get a list of valid protocols. + // The protocol on which the listener accepts connection requests. + // To get a list of valid protocols, use the ListProtocols + // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` @@ -65,7 +66,7 @@ func (m ListenerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_rule_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_rule_summary.go index f0de13d1be..6dbcf3ab99 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_rule_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/listener_rule_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -39,7 +39,7 @@ func (m ListenerRuleSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer.go index 02e7073163..e30ec589b6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -17,19 +17,19 @@ import ( ) // LoadBalancer The properties that define a load balancer. For more information, see -// Managing a Load Balancer (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingloadbalancer.htm). +// Managing a Load Balancer (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingloadbalancer.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // For information about endpoints and signing API requests, see -// About the API (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see -// SDKS and Other Tools (https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm). +// About the API (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see +// SDKS and Other Tools (https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm). type LoadBalancer struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name. It does not have to be unique, and it is changeable. @@ -58,8 +58,8 @@ type LoadBalancer struct { // If "true", the service assigns a private IP address to the load balancer. // If "false", the service assigns a public IP address to the load balancer. // A public load balancer is accessible from the internet, depending on your VCN's - // security list rules (https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm). For more information about public and - // private load balancers, see How Load Balancing Works (https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). + // security list rules (https://docs.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and + // private load balancers, see How Load Balancing Works (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` @@ -90,10 +90,10 @@ type LoadBalancer struct { // If this field is set to "" this field defaults to X-Request-Id. RequestIdHeader *string `mandatory:"false" json:"requestIdHeader"` - // An array of subnet OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // An array of subnet OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). SubnetIds []string `mandatory:"false" json:"subnetIds"` - // An array of NSG OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the load + // An array of NSG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load // balancer. // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. // The benefits of associating the load balancer with NSGs include: @@ -116,21 +116,21 @@ type LoadBalancer struct { PathRouteSets map[string]PathRouteSet `mandatory:"false" json:"pathRouteSets"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit", "usagetype" : "zpr"}}}` - ZprTags map[string]map[string]interface{} `mandatory:"false" json:"zprTags"` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` // System tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // System tags can be viewed by users, but can only be created by the system. // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` @@ -138,6 +138,12 @@ type LoadBalancer struct { RuleSets map[string]RuleSet `mandatory:"false" json:"ruleSets"` RoutingPolicies map[string]RoutingPolicy `mandatory:"false" json:"routingPolicies"` + + // Whether the load balancer has an IPv4 or IPv6 IP address. + // If "IPV4", the service assigns an IPv4 address and the load balancer supports IPv4 traffic. + // If "IPV6", the service assigns an IPv6 address and the load balancer supports IPv6 traffic. + // Example: "ipMode":"IPV6" + IpMode LoadBalancerIpModeEnum `mandatory:"false" json:"ipMode,omitempty"` } func (m LoadBalancer) String() string { @@ -153,8 +159,11 @@ func (m LoadBalancer) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", m.LifecycleState, strings.Join(GetLoadBalancerLifecycleStateEnumStringValues(), ","))) } + if _, ok := GetMappingLoadBalancerIpModeEnum(string(m.IpMode)); !ok && m.IpMode != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMode: %s. Supported values are: %s.", m.IpMode, strings.Join(GetLoadBalancerIpModeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -212,3 +221,45 @@ func GetMappingLoadBalancerLifecycleStateEnum(val string) (LoadBalancerLifecycle enum, ok := mappingLoadBalancerLifecycleStateEnumLowerCase[strings.ToLower(val)] return enum, ok } + +// LoadBalancerIpModeEnum Enum with underlying type: string +type LoadBalancerIpModeEnum string + +// Set of constants representing the allowable values for LoadBalancerIpModeEnum +const ( + LoadBalancerIpModeIpv4 LoadBalancerIpModeEnum = "IPV4" + LoadBalancerIpModeIpv6 LoadBalancerIpModeEnum = "IPV6" +) + +var mappingLoadBalancerIpModeEnum = map[string]LoadBalancerIpModeEnum{ + "IPV4": LoadBalancerIpModeIpv4, + "IPV6": LoadBalancerIpModeIpv6, +} + +var mappingLoadBalancerIpModeEnumLowerCase = map[string]LoadBalancerIpModeEnum{ + "ipv4": LoadBalancerIpModeIpv4, + "ipv6": LoadBalancerIpModeIpv6, +} + +// GetLoadBalancerIpModeEnumValues Enumerates the set of values for LoadBalancerIpModeEnum +func GetLoadBalancerIpModeEnumValues() []LoadBalancerIpModeEnum { + values := make([]LoadBalancerIpModeEnum, 0) + for _, v := range mappingLoadBalancerIpModeEnum { + values = append(values, v) + } + return values +} + +// GetLoadBalancerIpModeEnumStringValues Enumerates the set of values in String for LoadBalancerIpModeEnum +func GetLoadBalancerIpModeEnumStringValues() []string { + return []string{ + "IPV4", + "IPV6", + } +} + +// GetMappingLoadBalancerIpModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingLoadBalancerIpModeEnum(val string) (LoadBalancerIpModeEnum, bool) { + enum, ok := mappingLoadBalancerIpModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health.go index 32d93f1ae6..79108a8d84 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -68,7 +68,7 @@ func (m LoadBalancerHealth) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health_summary.go index 0b510a28ec..23fd73a5d2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_health_summary.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -19,7 +19,7 @@ import ( // LoadBalancerHealthSummary A health status summary for the specified load balancer. type LoadBalancerHealthSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer the health status is associated with. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer the health status is associated with. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` // The overall health status of the load balancer. @@ -50,7 +50,7 @@ func (m LoadBalancerHealthSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_policy.go index a637569e83..3cb13a57d0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_policy.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // LoadBalancerPolicy A policy that determines how traffic is distributed among backend servers. // For more information on load balancing policies, see -// How Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). +// How Load Balancing Policies Work (https://docs.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). type LoadBalancerPolicy struct { // The name of a load balancing policy. @@ -37,7 +37,7 @@ func (m LoadBalancerPolicy) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_protocol.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_protocol.go index b55b92af27..a00072f188 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_protocol.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_protocol.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -35,7 +35,7 @@ func (m LoadBalancerProtocol) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_shape.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_shape.go index 2fcbba6a29..0bcae1daaf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_shape.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/load_balancer_shape.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -38,7 +38,7 @@ func (m LoadBalancerShape) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go index e2f52b76e1..b5bdeec8dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -93,11 +93,11 @@ func (client *LoadBalancerClient) ConfigurationProvider() *common.ConfigurationP } // ChangeLoadBalancerCompartment Moves a load balancer into a different compartment within the same tenancy. For information about moving resources -// between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ChangeLoadBalancerCompartment.go.html to see an example of how to use ChangeLoadBalancerCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ChangeLoadBalancerCompartment.go.html to see an example of how to use ChangeLoadBalancerCompartment API. func (client LoadBalancerClient) ChangeLoadBalancerCompartment(ctx context.Context, request ChangeLoadBalancerCompartmentRequest) (response ChangeLoadBalancerCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -159,7 +159,7 @@ func (client LoadBalancerClient) changeLoadBalancerCompartment(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackend.go.html to see an example of how to use CreateBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackend.go.html to see an example of how to use CreateBackend API. func (client LoadBalancerClient) CreateBackend(ctx context.Context, request CreateBackendRequest) (response CreateBackendResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -221,7 +221,7 @@ func (client LoadBalancerClient) createBackend(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSet API. func (client LoadBalancerClient) CreateBackendSet(ctx context.Context, request CreateBackendSetRequest) (response CreateBackendSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -283,7 +283,7 @@ func (client LoadBalancerClient) createBackendSet(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateCertificate.go.html to see an example of how to use CreateCertificate API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateCertificate.go.html to see an example of how to use CreateCertificate API. func (client LoadBalancerClient) CreateCertificate(ctx context.Context, request CreateCertificateRequest) (response CreateCertificateResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -342,11 +342,11 @@ func (client LoadBalancerClient) createCertificate(ctx context.Context, request } // CreateHostname Adds a hostname resource to the specified load balancer. For more information, see -// Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm). +// Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateHostname.go.html to see an example of how to use CreateHostname API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateHostname.go.html to see an example of how to use CreateHostname API. func (client LoadBalancerClient) CreateHostname(ctx context.Context, request CreateHostnameRequest) (response CreateHostnameResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -408,7 +408,7 @@ func (client LoadBalancerClient) createHostname(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateListener.go.html to see an example of how to use CreateListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateListener.go.html to see an example of how to use CreateListener API. func (client LoadBalancerClient) CreateListener(ctx context.Context, request CreateListenerRequest) (response CreateListenerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -467,22 +467,22 @@ func (client LoadBalancerClient) createListener(ctx context.Context, request com } // CreateLoadBalancer Creates a new load balancer in the specified compartment. For general information about load balancers, -// see Overview of the Load Balancing Service (https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm). +// see Overview of the Load Balancing Service (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // For the purposes of access control, you must provide the OCID of the compartment where you want // the load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN // or backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN. // For information about access control and compartments, see -// Overview of the IAM Service (https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). +// Overview of the IAM Service (https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // You must specify a display name for the load balancer. It does not have to be unique, and you can change it. // For information about Availability Domains, see -// Regions and Availability Domains (https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). +// Regions and Availability Domains (https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). // To get a list of Availability Domains, use the `ListAvailabilityDomains` operation // in the Identity and Access Management Service API. // All Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned, // unique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID // in the response. You can also retrieve a resource's OCID by using a List API operation on that resource type, // or by viewing the resource in the Console. Fore more information, see -// Resource Identifiers (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). +// Resource Identifiers (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // After you send your request, the new object's state will temporarily be PROVISIONING. Before using the // object, first make sure its state has changed to RUNNING. // When you create a load balancer, the system assigns an IP address. @@ -490,7 +490,7 @@ func (client LoadBalancerClient) createListener(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateLoadBalancer.go.html to see an example of how to use CreateLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateLoadBalancer.go.html to see an example of how to use CreateLoadBalancer API. func (client LoadBalancerClient) CreateLoadBalancer(ctx context.Context, request CreateLoadBalancerRequest) (response CreateLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -549,11 +549,11 @@ func (client LoadBalancerClient) createLoadBalancer(ctx context.Context, request } // CreatePathRouteSet Adds a path route set to a load balancer. For more information, see -// Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm). +// Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreatePathRouteSet.go.html to see an example of how to use CreatePathRouteSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreatePathRouteSet.go.html to see an example of how to use CreatePathRouteSet API. func (client LoadBalancerClient) CreatePathRouteSet(ctx context.Context, request CreatePathRouteSetRequest) (response CreatePathRouteSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -612,11 +612,11 @@ func (client LoadBalancerClient) createPathRouteSet(ctx context.Context, request } // CreateRoutingPolicy Adds a routing policy to a load balancer. For more information, see -// Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm). +// Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRoutingPolicy.go.html to see an example of how to use CreateRoutingPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRoutingPolicy.go.html to see an example of how to use CreateRoutingPolicy API. func (client LoadBalancerClient) CreateRoutingPolicy(ctx context.Context, request CreateRoutingPolicyRequest) (response CreateRoutingPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -675,11 +675,11 @@ func (client LoadBalancerClient) createRoutingPolicy(ctx context.Context, reques } // CreateRuleSet Creates a new rule set associated with the specified load balancer. For more information, see -// Managing Rule Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrulesets.htm). +// Managing Rule Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrulesets.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRuleSet.go.html to see an example of how to use CreateRuleSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateRuleSet.go.html to see an example of how to use CreateRuleSet API. func (client LoadBalancerClient) CreateRuleSet(ctx context.Context, request CreateRuleSetRequest) (response CreateRuleSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -741,7 +741,7 @@ func (client LoadBalancerClient) createRuleSet(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateSSLCipherSuite.go.html to see an example of how to use CreateSSLCipherSuite API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/CreateSSLCipherSuite.go.html to see an example of how to use CreateSSLCipherSuite API. func (client LoadBalancerClient) CreateSSLCipherSuite(ctx context.Context, request CreateSSLCipherSuiteRequest) (response CreateSSLCipherSuiteResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -803,7 +803,7 @@ func (client LoadBalancerClient) createSSLCipherSuite(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackend API. func (client LoadBalancerClient) DeleteBackend(ctx context.Context, request DeleteBackendRequest) (response DeleteBackendResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -861,7 +861,7 @@ func (client LoadBalancerClient) deleteBackend(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSet API. func (client LoadBalancerClient) DeleteBackendSet(ctx context.Context, request DeleteBackendSetRequest) (response DeleteBackendSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -918,7 +918,7 @@ func (client LoadBalancerClient) deleteBackendSet(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteCertificate.go.html to see an example of how to use DeleteCertificate API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteCertificate.go.html to see an example of how to use DeleteCertificate API. func (client LoadBalancerClient) DeleteCertificate(ctx context.Context, request DeleteCertificateRequest) (response DeleteCertificateResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -975,7 +975,7 @@ func (client LoadBalancerClient) deleteCertificate(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteHostname.go.html to see an example of how to use DeleteHostname API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteHostname.go.html to see an example of how to use DeleteHostname API. func (client LoadBalancerClient) DeleteHostname(ctx context.Context, request DeleteHostnameRequest) (response DeleteHostnameResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1032,7 +1032,7 @@ func (client LoadBalancerClient) deleteHostname(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteListener.go.html to see an example of how to use DeleteListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteListener.go.html to see an example of how to use DeleteListener API. func (client LoadBalancerClient) DeleteListener(ctx context.Context, request DeleteListenerRequest) (response DeleteListenerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1089,7 +1089,7 @@ func (client LoadBalancerClient) deleteListener(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteLoadBalancer.go.html to see an example of how to use DeleteLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteLoadBalancer.go.html to see an example of how to use DeleteLoadBalancer API. func (client LoadBalancerClient) DeleteLoadBalancer(ctx context.Context, request DeleteLoadBalancerRequest) (response DeleteLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1148,7 +1148,7 @@ func (client LoadBalancerClient) deleteLoadBalancer(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeletePathRouteSet.go.html to see an example of how to use DeletePathRouteSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeletePathRouteSet.go.html to see an example of how to use DeletePathRouteSet API. func (client LoadBalancerClient) DeletePathRouteSet(ctx context.Context, request DeletePathRouteSetRequest) (response DeletePathRouteSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1207,7 +1207,7 @@ func (client LoadBalancerClient) deletePathRouteSet(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRoutingPolicy.go.html to see an example of how to use DeleteRoutingPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRoutingPolicy.go.html to see an example of how to use DeleteRoutingPolicy API. func (client LoadBalancerClient) DeleteRoutingPolicy(ctx context.Context, request DeleteRoutingPolicyRequest) (response DeleteRoutingPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1266,7 +1266,7 @@ func (client LoadBalancerClient) deleteRoutingPolicy(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRuleSet.go.html to see an example of how to use DeleteRuleSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteRuleSet.go.html to see an example of how to use DeleteRuleSet API. func (client LoadBalancerClient) DeleteRuleSet(ctx context.Context, request DeleteRuleSetRequest) (response DeleteRuleSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1323,7 +1323,7 @@ func (client LoadBalancerClient) deleteRuleSet(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteSSLCipherSuite.go.html to see an example of how to use DeleteSSLCipherSuite API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/DeleteSSLCipherSuite.go.html to see an example of how to use DeleteSSLCipherSuite API. func (client LoadBalancerClient) DeleteSSLCipherSuite(ctx context.Context, request DeleteSSLCipherSuiteRequest) (response DeleteSSLCipherSuiteResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1380,7 +1380,7 @@ func (client LoadBalancerClient) deleteSSLCipherSuite(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackend.go.html to see an example of how to use GetBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackend.go.html to see an example of how to use GetBackend API. func (client LoadBalancerClient) GetBackend(ctx context.Context, request GetBackendRequest) (response GetBackendResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1437,7 +1437,7 @@ func (client LoadBalancerClient) getBackend(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealth API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealth API. func (client LoadBalancerClient) GetBackendHealth(ctx context.Context, request GetBackendHealthRequest) (response GetBackendHealthResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1494,7 +1494,7 @@ func (client LoadBalancerClient) getBackendHealth(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSet API. func (client LoadBalancerClient) GetBackendSet(ctx context.Context, request GetBackendSetRequest) (response GetBackendSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1551,7 +1551,7 @@ func (client LoadBalancerClient) getBackendSet(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealth API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealth API. func (client LoadBalancerClient) GetBackendSetHealth(ctx context.Context, request GetBackendSetHealthRequest) (response GetBackendSetHealthResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1608,7 +1608,7 @@ func (client LoadBalancerClient) getBackendSetHealth(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthChecker API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthChecker API. func (client LoadBalancerClient) GetHealthChecker(ctx context.Context, request GetHealthCheckerRequest) (response GetHealthCheckerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1665,7 +1665,7 @@ func (client LoadBalancerClient) getHealthChecker(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHostname.go.html to see an example of how to use GetHostname API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetHostname.go.html to see an example of how to use GetHostname API. func (client LoadBalancerClient) GetHostname(ctx context.Context, request GetHostnameRequest) (response GetHostnameResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1722,7 +1722,7 @@ func (client LoadBalancerClient) getHostname(ctx context.Context, request common // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancer.go.html to see an example of how to use GetLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancer.go.html to see an example of how to use GetLoadBalancer API. func (client LoadBalancerClient) GetLoadBalancer(ctx context.Context, request GetLoadBalancerRequest) (response GetLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1779,7 +1779,7 @@ func (client LoadBalancerClient) getLoadBalancer(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancerHealth.go.html to see an example of how to use GetLoadBalancerHealth API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetLoadBalancerHealth.go.html to see an example of how to use GetLoadBalancerHealth API. func (client LoadBalancerClient) GetLoadBalancerHealth(ctx context.Context, request GetLoadBalancerHealthRequest) (response GetLoadBalancerHealthResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1836,7 +1836,7 @@ func (client LoadBalancerClient) getLoadBalancerHealth(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetPathRouteSet.go.html to see an example of how to use GetPathRouteSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetPathRouteSet.go.html to see an example of how to use GetPathRouteSet API. func (client LoadBalancerClient) GetPathRouteSet(ctx context.Context, request GetPathRouteSetRequest) (response GetPathRouteSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1893,7 +1893,7 @@ func (client LoadBalancerClient) getPathRouteSet(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRoutingPolicy.go.html to see an example of how to use GetRoutingPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRoutingPolicy.go.html to see an example of how to use GetRoutingPolicy API. func (client LoadBalancerClient) GetRoutingPolicy(ctx context.Context, request GetRoutingPolicyRequest) (response GetRoutingPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1950,7 +1950,7 @@ func (client LoadBalancerClient) getRoutingPolicy(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRuleSet.go.html to see an example of how to use GetRuleSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetRuleSet.go.html to see an example of how to use GetRuleSet API. func (client LoadBalancerClient) GetRuleSet(ctx context.Context, request GetRuleSetRequest) (response GetRuleSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2007,7 +2007,7 @@ func (client LoadBalancerClient) getRuleSet(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetSSLCipherSuite.go.html to see an example of how to use GetSSLCipherSuite API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetSSLCipherSuite.go.html to see an example of how to use GetSSLCipherSuite API. func (client LoadBalancerClient) GetSSLCipherSuite(ctx context.Context, request GetSSLCipherSuiteRequest) (response GetSSLCipherSuiteResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2064,7 +2064,7 @@ func (client LoadBalancerClient) getSSLCipherSuite(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. func (client LoadBalancerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2121,7 +2121,7 @@ func (client LoadBalancerClient) getWorkRequest(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSets API. func (client LoadBalancerClient) ListBackendSets(ctx context.Context, request ListBackendSetsRequest) (response ListBackendSetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2178,7 +2178,7 @@ func (client LoadBalancerClient) listBackendSets(ctx context.Context, request co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackends.go.html to see an example of how to use ListBackends API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListBackends.go.html to see an example of how to use ListBackends API. func (client LoadBalancerClient) ListBackends(ctx context.Context, request ListBackendsRequest) (response ListBackendsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2235,7 +2235,7 @@ func (client LoadBalancerClient) listBackends(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListCertificates.go.html to see an example of how to use ListCertificates API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListCertificates.go.html to see an example of how to use ListCertificates API. func (client LoadBalancerClient) ListCertificates(ctx context.Context, request ListCertificatesRequest) (response ListCertificatesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2292,7 +2292,7 @@ func (client LoadBalancerClient) listCertificates(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListHostnames.go.html to see an example of how to use ListHostnames API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListHostnames.go.html to see an example of how to use ListHostnames API. func (client LoadBalancerClient) ListHostnames(ctx context.Context, request ListHostnamesRequest) (response ListHostnamesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2354,7 +2354,7 @@ func (client LoadBalancerClient) listHostnames(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListListenerRules.go.html to see an example of how to use ListListenerRules API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListListenerRules.go.html to see an example of how to use ListListenerRules API. func (client LoadBalancerClient) ListListenerRules(ctx context.Context, request ListListenerRulesRequest) (response ListListenerRulesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2411,7 +2411,7 @@ func (client LoadBalancerClient) listListenerRules(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancerHealths.go.html to see an example of how to use ListLoadBalancerHealths API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancerHealths.go.html to see an example of how to use ListLoadBalancerHealths API. func (client LoadBalancerClient) ListLoadBalancerHealths(ctx context.Context, request ListLoadBalancerHealthsRequest) (response ListLoadBalancerHealthsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2468,7 +2468,7 @@ func (client LoadBalancerClient) listLoadBalancerHealths(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancers.go.html to see an example of how to use ListLoadBalancers API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListLoadBalancers.go.html to see an example of how to use ListLoadBalancers API. func (client LoadBalancerClient) ListLoadBalancers(ctx context.Context, request ListLoadBalancersRequest) (response ListLoadBalancersResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2525,7 +2525,7 @@ func (client LoadBalancerClient) listLoadBalancers(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPathRouteSets.go.html to see an example of how to use ListPathRouteSets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPathRouteSets.go.html to see an example of how to use ListPathRouteSets API. func (client LoadBalancerClient) ListPathRouteSets(ctx context.Context, request ListPathRouteSetsRequest) (response ListPathRouteSetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2582,7 +2582,7 @@ func (client LoadBalancerClient) listPathRouteSets(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPolicies.go.html to see an example of how to use ListPolicies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListPolicies.go.html to see an example of how to use ListPolicies API. func (client LoadBalancerClient) ListPolicies(ctx context.Context, request ListPoliciesRequest) (response ListPoliciesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2639,7 +2639,7 @@ func (client LoadBalancerClient) listPolicies(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListProtocols.go.html to see an example of how to use ListProtocols API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListProtocols.go.html to see an example of how to use ListProtocols API. func (client LoadBalancerClient) ListProtocols(ctx context.Context, request ListProtocolsRequest) (response ListProtocolsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2696,7 +2696,7 @@ func (client LoadBalancerClient) listProtocols(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRoutingPolicies.go.html to see an example of how to use ListRoutingPolicies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRoutingPolicies.go.html to see an example of how to use ListRoutingPolicies API. func (client LoadBalancerClient) ListRoutingPolicies(ctx context.Context, request ListRoutingPoliciesRequest) (response ListRoutingPoliciesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2753,7 +2753,7 @@ func (client LoadBalancerClient) listRoutingPolicies(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRuleSets.go.html to see an example of how to use ListRuleSets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListRuleSets.go.html to see an example of how to use ListRuleSets API. func (client LoadBalancerClient) ListRuleSets(ctx context.Context, request ListRuleSetsRequest) (response ListRuleSetsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2810,7 +2810,7 @@ func (client LoadBalancerClient) listRuleSets(ctx context.Context, request commo // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListSSLCipherSuites.go.html to see an example of how to use ListSSLCipherSuites API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListSSLCipherSuites.go.html to see an example of how to use ListSSLCipherSuites API. func (client LoadBalancerClient) ListSSLCipherSuites(ctx context.Context, request ListSSLCipherSuitesRequest) (response ListSSLCipherSuitesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2867,7 +2867,7 @@ func (client LoadBalancerClient) listSSLCipherSuites(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListShapes.go.html to see an example of how to use ListShapes API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListShapes.go.html to see an example of how to use ListShapes API. func (client LoadBalancerClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2924,7 +2924,7 @@ func (client LoadBalancerClient) listShapes(ctx context.Context, request common. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. func (client LoadBalancerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -2981,7 +2981,7 @@ func (client LoadBalancerClient) listWorkRequests(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackend API. func (client LoadBalancerClient) UpdateBackend(ctx context.Context, request UpdateBackendRequest) (response UpdateBackendResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3043,7 +3043,7 @@ func (client LoadBalancerClient) updateBackend(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSet API. func (client LoadBalancerClient) UpdateBackendSet(ctx context.Context, request UpdateBackendSetRequest) (response UpdateBackendSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3105,7 +3105,7 @@ func (client LoadBalancerClient) updateBackendSet(ctx context.Context, request c // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthChecker API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthChecker API. func (client LoadBalancerClient) UpdateHealthChecker(ctx context.Context, request UpdateHealthCheckerRequest) (response UpdateHealthCheckerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3168,7 +3168,7 @@ func (client LoadBalancerClient) updateHealthChecker(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHostname.go.html to see an example of how to use UpdateHostname API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHostname.go.html to see an example of how to use UpdateHostname API. func (client LoadBalancerClient) UpdateHostname(ctx context.Context, request UpdateHostnameRequest) (response UpdateHostnameResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3230,7 +3230,7 @@ func (client LoadBalancerClient) updateHostname(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateListener.go.html to see an example of how to use UpdateListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateListener.go.html to see an example of how to use UpdateListener API. func (client LoadBalancerClient) UpdateListener(ctx context.Context, request UpdateListenerRequest) (response UpdateListenerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3292,7 +3292,7 @@ func (client LoadBalancerClient) updateListener(ctx context.Context, request com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancer.go.html to see an example of how to use UpdateLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancer.go.html to see an example of how to use UpdateLoadBalancer API. func (client LoadBalancerClient) UpdateLoadBalancer(ctx context.Context, request UpdateLoadBalancerRequest) (response UpdateLoadBalancerResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3359,7 +3359,7 @@ func (client LoadBalancerClient) updateLoadBalancer(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancerShape.go.html to see an example of how to use UpdateLoadBalancerShape API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancerShape.go.html to see an example of how to use UpdateLoadBalancerShape API. func (client LoadBalancerClient) UpdateLoadBalancerShape(ctx context.Context, request UpdateLoadBalancerShapeRequest) (response UpdateLoadBalancerShapeResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3421,7 +3421,7 @@ func (client LoadBalancerClient) updateLoadBalancerShape(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroups API. func (client LoadBalancerClient) UpdateNetworkSecurityGroups(ctx context.Context, request UpdateNetworkSecurityGroupsRequest) (response UpdateNetworkSecurityGroupsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3487,7 +3487,7 @@ func (client LoadBalancerClient) updateNetworkSecurityGroups(ctx context.Context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdatePathRouteSet.go.html to see an example of how to use UpdatePathRouteSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdatePathRouteSet.go.html to see an example of how to use UpdatePathRouteSet API. func (client LoadBalancerClient) UpdatePathRouteSet(ctx context.Context, request UpdatePathRouteSetRequest) (response UpdatePathRouteSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3551,7 +3551,7 @@ func (client LoadBalancerClient) updatePathRouteSet(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRoutingPolicy.go.html to see an example of how to use UpdateRoutingPolicy API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRoutingPolicy.go.html to see an example of how to use UpdateRoutingPolicy API. func (client LoadBalancerClient) UpdateRoutingPolicy(ctx context.Context, request UpdateRoutingPolicyRequest) (response UpdateRoutingPolicyResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3615,7 +3615,7 @@ func (client LoadBalancerClient) updateRoutingPolicy(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRuleSet.go.html to see an example of how to use UpdateRuleSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRuleSet.go.html to see an example of how to use UpdateRuleSet API. func (client LoadBalancerClient) UpdateRuleSet(ctx context.Context, request UpdateRuleSetRequest) (response UpdateRuleSetResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -3677,7 +3677,7 @@ func (client LoadBalancerClient) updateRuleSet(ctx context.Context, request comm // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateSSLCipherSuite.go.html to see an example of how to use UpdateSSLCipherSuite API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateSSLCipherSuite.go.html to see an example of how to use UpdateSSLCipherSuite API. func (client LoadBalancerClient) UpdateSSLCipherSuite(ctx context.Context, request UpdateSSLCipherSuiteRequest) (response UpdateSSLCipherSuiteResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_condition.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_condition.go index ea0df6cb5d..371c2a775f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_condition.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_condition.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -50,7 +50,7 @@ func (m PathMatchCondition) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_type.go index 8da04ae051..058cd8448d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_match_type.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -27,7 +27,7 @@ type PathMatchType struct { // * **PREFIX_MATCH** - Looks for a `path` string that matches the beginning portion of the incoming URI path. // * **SUFFIX_MATCH** - Looks for a `path` string that matches the ending portion of the incoming URI path. // For a full description of how the system handles `matchType` in a path route set containing multiple rules, see - // Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm). + // Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). MatchType PathMatchTypeMatchTypeEnum `mandatory:"true" json:"matchType"` } @@ -45,7 +45,7 @@ func (m PathMatchType) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route.go index c03649f558..90557fe793 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -46,7 +46,7 @@ func (m PathRoute) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set.go index af98115686..0f69e7a9c1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -17,7 +17,7 @@ import ( ) // PathRouteSet A named set of path route rules. For more information, see -// Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm). +// Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type PathRouteSet struct { @@ -40,7 +40,7 @@ func (m PathRouteSet) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set_details.go index bf4ae86563..d43876a72f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/path_route_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -34,7 +34,7 @@ func (m PathRouteSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go index 13b2442142..0e40202c43 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -56,7 +56,7 @@ func (m RedirectRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_uri.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_uri.go index 495a93248f..fb35a970d3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_uri.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_uri.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -129,7 +129,7 @@ func (m RedirectUri) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_request_header_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_request_header_rule.go index a6dafcdf15..6c8eb15a2a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_request_header_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_request_header_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -40,7 +40,7 @@ func (m RemoveHttpRequestHeaderRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_response_header_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_response_header_rule.go index 6299ede008..511a2635bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_response_header_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/remove_http_response_header_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -40,7 +40,7 @@ func (m RemoveHttpResponseHeaderRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/reserved_ip.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/reserved_ip.go index cd56ab41b5..414699239b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/reserved_ip.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/reserved_ip.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -25,6 +25,7 @@ type ReservedIp struct { // field reservedIp to attach the Ip to Load balancer. Load balancer will be configured to listen to traffic on this IP. // Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer. // Example: "ocid1.publicip.oc1.phx.unique_ID" + // IPV6 example: "ocid1.ipv6.oc1.phx.unique_ID" Id *string `mandatory:"false" json:"id"` } @@ -39,7 +40,7 @@ func (m ReservedIp) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy.go index 24cadd47e6..64facbecdc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -45,7 +45,7 @@ func (m RoutingPolicy) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy_details.go index 29f24ac551..e7d70ff245 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_policy_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -35,7 +35,7 @@ func (m RoutingPolicyDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go index 1505b3c6ea..3ffeee12d6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -42,7 +42,7 @@ func (m RoutingRule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule.go index 67b2fa1177..fa49379fe7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -96,7 +96,7 @@ func (m *rule) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for Rule: %s.", m.Action) + common.Logf("Received unsupported enum value for Rule: %s.", m.Action) return *m, nil } } @@ -112,7 +112,7 @@ func (m rule) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_condition.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_condition.go index 8fe7aba84d..eae282cd13 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_condition.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_condition.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -68,7 +68,7 @@ func (m *rulecondition) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for RuleCondition: %s.", m.AttributeName) + common.Logf("Received unsupported enum value for RuleCondition: %s.", m.AttributeName) return *m, nil } } @@ -84,7 +84,7 @@ func (m rulecondition) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go index b1f10e854c..afec2a2668 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -19,7 +19,7 @@ import ( // RuleSet A named set of rules associated with a load balancer. Rules are objects that represent actions to apply to a listener, // such as adding, altering, or removing HTTP headers. For more information, see -// Managing Rule Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrulesets.htm). +// Managing Rule Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrulesets.htm). type RuleSet struct { // The name for this set of rules. It must be unique and it cannot be changed. Avoid entering @@ -42,7 +42,7 @@ func (m RuleSet) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go index 8a64959fa3..180f2455e2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -35,7 +35,7 @@ func (m RuleSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/session_persistence_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/session_persistence_configuration_details.go index 6af49e8da5..f154b1adcf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/session_persistence_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/session_persistence_configuration_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -20,7 +20,7 @@ import ( // cookie stickiness). // Session persistence enables the Load Balancing service to direct any number of requests that originate from a single // logical client to a single backend web server. For more information, see -// Session Persistence (https://docs.cloud.oracle.com/Content/Balance/Reference/sessionpersistence.htm). +// Session Persistence (https://docs.oracle.com/iaas/Content/Balance/Reference/sessionpersistence.htm). // With application cookie stickiness, the load balancer enables session persistence only when the response from a backend // application server includes a `Set-cookie` header with the user-specified cookie name. // To disable application cookie stickiness on a running load balancer, use the @@ -54,7 +54,7 @@ func (m SessionPersistenceConfigurationDetails) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/shape_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/shape_details.go index 7350819665..c37b5c7ce7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/shape_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/shape_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -43,7 +43,7 @@ func (m ShapeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_ip_address_condition.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_ip_address_condition.go index 509c9563b5..5471b7c998 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_ip_address_condition.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_ip_address_condition.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -37,7 +37,7 @@ func (m SourceIpAddressCondition) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_id_condition.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_id_condition.go index d6d7ffb480..cd7660d36e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_id_condition.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_id_condition.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -20,7 +20,7 @@ import ( // SourceVcnIdCondition An access control rule condition that requires a match on the specified source VCN OCID. type SourceVcnIdCondition struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the originating VCN that an incoming packet + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the originating VCN that an incoming packet // must match. // You can use this condition in conjunction with `SourceVcnIpAddressCondition`. // **NOTE:** If you define this condition for a rule without a `SourceVcnIpAddressCondition`, this condition @@ -39,7 +39,7 @@ func (m SourceVcnIdCondition) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_ip_address_condition.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_ip_address_condition.go index 2a9455f407..23b66ff2ba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_ip_address_condition.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/source_vcn_ip_address_condition.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -40,7 +40,7 @@ func (m SourceVcnIpAddressCondition) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite.go index 7241341ebb..a79eef0305 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -23,8 +23,8 @@ import ( // level, performance, and compatibility of your data traffic. // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. // Oracle created the following predefined cipher suites that you can specify when you define a resource's -// SSL configuration (https://docs.cloud.oracle.com/api/#/en/loadbalancer/20170115/datatypes/SSLConfigurationDetails). You can create custom -// cipher suites (https://docs.cloud.oracle.com/api/#/en/loadbalancer/20170115/SSLCipherSuite/CreateSSLCipherSuite) if the predefined cipher +// SSL configuration (https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/datatypes/SSLConfigurationDetails). You can create custom +// cipher suites (https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/SSLCipherSuite/CreateSSLCipherSuite) if the predefined cipher // suites do not meet your requirements. // // - __oci-default-ssl-cipher-suite-v1__ @@ -374,7 +374,7 @@ func (m SslCipherSuite) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite_details.go index 9aa981c2f7..05b6336aa4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_cipher_suite_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -23,8 +23,8 @@ import ( // level, performance, and compatibility of your data traffic. // **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. // Oracle created the following predefined cipher suites that you can specify when you define a resource's -// SSL configuration (https://docs.cloud.oracle.com/api/#/en/loadbalancer/20170115/datatypes/SSLConfigurationDetails). You can create custom -// cipher suites (https://docs.cloud.oracle.com/api/#/en/loadbalancer/20170115/SSLCipherSuite/CreateSSLCipherSuite) if the predefined cipher +// SSL configuration (https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/datatypes/SSLConfigurationDetails). You can create custom +// cipher suites (https://docs.oracle.com/iaas/api/#/en/loadbalancer/20170115/SSLCipherSuite/CreateSSLCipherSuite) if the predefined cipher // suites do not meet your requirements. // // - __oci-default-ssl-cipher-suite-v1__ @@ -374,7 +374,7 @@ func (m SslCipherSuiteDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration.go index 79925043d5..0199d9e162 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -113,7 +113,7 @@ func (m SslConfiguration) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ServerOrderPreference: %s. Supported values are: %s.", m.ServerOrderPreference, strings.Join(GetSslConfigurationServerOrderPreferenceEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration_details.go index 657cb4074a..01faeaa9ea 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/ssl_configuration_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -112,7 +112,7 @@ func (m SslConfigurationDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ServerOrderPreference: %s. Supported values are: %s.", m.ServerOrderPreference, strings.Join(GetSslConfigurationDetailsServerOrderPreferenceEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_details.go index 952f25d355..dfbd43332b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -23,7 +23,7 @@ type UpdateBackendDetails struct { // proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections // as a server weighted '1'. // For more information on load balancing policies, see - // How Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // How Load Balancing Policies Work (https://docs.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). // Example: `3` Weight *int `mandatory:"true" json:"weight"` @@ -44,8 +44,10 @@ type UpdateBackendDetails struct { Offline *bool `mandatory:"true" json:"offline"` // The maximum number of simultaneous connections the load balancer can make to the backend. - // If this is not set then the maximum number of simultaneous connections the load balancer - // can make to the backend is unlimited. + // If this is not set or set to 0 then the maximum number of simultaneous connections the + // load balancer can make to the backend is unlimited. + // If setting maxConnections to some value other than 0 then that value must be greater + // or equal to 256. // Example: `300` MaxConnections *int `mandatory:"false" json:"maxConnections"` } @@ -61,7 +63,7 @@ func (m UpdateBackendDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_request_response.go index f361930742..b371c21116 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackendRequest. type UpdateBackendRequest struct { // Details for updating a backend server. UpdateBackendDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and server. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the backend server. @@ -89,7 +89,7 @@ func (request UpdateBackendRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -100,7 +100,7 @@ type UpdateBackendResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_details.go index 13ab5a78fd..644500d04f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,7 +18,7 @@ import ( // UpdateBackendSetDetails The configuration details for updating a load balancer backend set. // For more information on backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Managing Backend Sets (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingbackendsets.htm). // **Note:** The `sessionPersistenceConfiguration` (application cookie stickiness) and `lbCookieSessionPersistenceConfiguration` // (LB cookie stickiness) attributes are mutually exclusive. To avoid returning an error, configure only one of these two // attributes per backend set. @@ -36,8 +36,11 @@ type UpdateBackendSetDetails struct { // The maximum number of simultaneous connections the load balancer can make to any backend // in the backend set unless the backend has its own maxConnections setting. If this is not - // set then the number of simultaneous connections the load balancer can make to any backend - // in the backend set unless the backend has its own maxConnections setting is unlimited. + // set or set to 0 then the number of simultaneous connections the load balancer can make + // to any backend in the backend set unless the backend has its own maxConnections setting + // is unlimited. + // If setting backendMaxConnections to some value other than 0 then that value must be greater + // or equal to 256. // Example: `300` BackendMaxConnections *int `mandatory:"false" json:"backendMaxConnections"` @@ -59,7 +62,7 @@ func (m UpdateBackendSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_request_response.go index e5de767aae..4aac577656 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSetRequest. type UpdateBackendSetRequest struct { // The details to update a backend set. UpdateBackendSetDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set to update. @@ -85,7 +85,7 @@ func (request UpdateBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdateBackendSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_details.go index a81b012613..836719d190 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -74,7 +74,7 @@ func (m UpdateHealthCheckerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_request_response.go index 8840a33082..bcc2aabe09 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_health_checker_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthCheckerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthCheckerRequest. type UpdateHealthCheckerRequest struct { // The health check policy configuration details. UpdateHealthCheckerDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be updated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the health check policy to be updated. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the backend set associated with the health check policy to be retrieved. @@ -85,7 +85,7 @@ func (request UpdateHealthCheckerRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateHealthCheckerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdateHealthCheckerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_details.go index b7ed08d84d..6ab64c76c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -18,11 +18,11 @@ import ( // UpdateHostnameDetails The configuration details for updating a virtual hostname. // For more information on virtual hostnames, see -// Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm). +// Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm). type UpdateHostnameDetails struct { // The virtual hostname to update. For more information about virtual hostname string construction, see - // Managing Request Routing (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm#routing). + // Managing Request Routing (https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm#routing). // Example: `app.example.com` Hostname *string `mandatory:"false" json:"hostname"` } @@ -38,7 +38,7 @@ func (m UpdateHostnameDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_request_response.go index efb6b8bbde..1bc3b54d1f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_hostname_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHostname.go.html to see an example of how to use UpdateHostnameRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateHostname.go.html to see an example of how to use UpdateHostnameRequest. type UpdateHostnameRequest struct { // The configuration details to update a virtual hostname. UpdateHostnameDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the virtual hostname + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the virtual hostname // to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` @@ -86,7 +86,7 @@ func (request UpdateHostnameRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateHostnameRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -97,7 +97,7 @@ type UpdateHostnameResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_details.go index 87d824005a..c8766263df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -27,8 +27,9 @@ type UpdateListenerDetails struct { // Example: `80` Port *int `mandatory:"true" json:"port"` - // The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC. - // You can also use the ListProtocols operation to get a list of valid protocols. + // The protocol on which the listener accepts connection requests. + // To get a list of valid protocols, use the ListProtocols + // operation. // Example: `HTTP` Protocol *string `mandatory:"true" json:"protocol"` @@ -65,7 +66,7 @@ func (m UpdateListenerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_request_response.go index 9b98c8a6ae..b31756ca3c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateListener.go.html to see an example of how to use UpdateListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateListener.go.html to see an example of how to use UpdateListenerRequest. type UpdateListenerRequest struct { // Details to update a listener. UpdateListenerDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the listener to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the listener to update. @@ -85,7 +85,7 @@ func (request UpdateListenerRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdateListenerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_details.go index 7c89f7b669..a6df12843c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -25,6 +25,19 @@ type UpdateLoadBalancerDetails struct { // Example: `example_load_balancer` DisplayName *string `mandatory:"false" json:"displayName"` + // Whether the load balancer has an IPv4 or IPv6 IP address. + // If "IPV4", the service assigns an IPv4 address and the load balancer supports IPv4 traffic. + // If "IPV6", the service assigns an IPv6 address and the load balancer supports IPv6 traffic. + // Example: "ipMode":"IPV6" + IpMode UpdateLoadBalancerDetailsIpModeEnum `mandatory:"false" json:"ipMode,omitempty"` + + // Used to disambiguate which subnet prefix should be used to create an IPv6 LB. + // Example: "2002::1234:abcd:ffff:c0a8:101/64" + Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"` + + // An array of reserved Ips. + ReservedIps []ReservedIp `mandatory:"false" json:"reservedIps"` + // Whether or not the load balancer has delete protection enabled. // If "true", the loadbalancer will be protected against deletion if configured to accept traffic. // If "false", the loadbalancer will not be protected against deletion. @@ -57,18 +70,18 @@ type UpdateLoadBalancerDetails struct { RequestIdHeader *string `mandatory:"false" json:"requestIdHeader"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace. // Example: `{"Oracle-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit", "usagetype" : "zpr"}}}` - ZprTags map[string]map[string]interface{} `mandatory:"false" json:"zprTags"` + SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` } func (m UpdateLoadBalancerDetails) String() string { @@ -81,8 +94,53 @@ func (m UpdateLoadBalancerDetails) String() string { func (m UpdateLoadBalancerDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} + if _, ok := GetMappingUpdateLoadBalancerDetailsIpModeEnum(string(m.IpMode)); !ok && m.IpMode != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpMode: %s. Supported values are: %s.", m.IpMode, strings.Join(GetUpdateLoadBalancerDetailsIpModeEnumStringValues(), ","))) + } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } + +// UpdateLoadBalancerDetailsIpModeEnum Enum with underlying type: string +type UpdateLoadBalancerDetailsIpModeEnum string + +// Set of constants representing the allowable values for UpdateLoadBalancerDetailsIpModeEnum +const ( + UpdateLoadBalancerDetailsIpModeIpv4 UpdateLoadBalancerDetailsIpModeEnum = "IPV4" + UpdateLoadBalancerDetailsIpModeIpv6 UpdateLoadBalancerDetailsIpModeEnum = "IPV6" +) + +var mappingUpdateLoadBalancerDetailsIpModeEnum = map[string]UpdateLoadBalancerDetailsIpModeEnum{ + "IPV4": UpdateLoadBalancerDetailsIpModeIpv4, + "IPV6": UpdateLoadBalancerDetailsIpModeIpv6, +} + +var mappingUpdateLoadBalancerDetailsIpModeEnumLowerCase = map[string]UpdateLoadBalancerDetailsIpModeEnum{ + "ipv4": UpdateLoadBalancerDetailsIpModeIpv4, + "ipv6": UpdateLoadBalancerDetailsIpModeIpv6, +} + +// GetUpdateLoadBalancerDetailsIpModeEnumValues Enumerates the set of values for UpdateLoadBalancerDetailsIpModeEnum +func GetUpdateLoadBalancerDetailsIpModeEnumValues() []UpdateLoadBalancerDetailsIpModeEnum { + values := make([]UpdateLoadBalancerDetailsIpModeEnum, 0) + for _, v := range mappingUpdateLoadBalancerDetailsIpModeEnum { + values = append(values, v) + } + return values +} + +// GetUpdateLoadBalancerDetailsIpModeEnumStringValues Enumerates the set of values in String for UpdateLoadBalancerDetailsIpModeEnum +func GetUpdateLoadBalancerDetailsIpModeEnumStringValues() []string { + return []string{ + "IPV4", + "IPV6", + } +} + +// GetMappingUpdateLoadBalancerDetailsIpModeEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingUpdateLoadBalancerDetailsIpModeEnum(val string) (UpdateLoadBalancerDetailsIpModeEnum, bool) { + enum, ok := mappingUpdateLoadBalancerDetailsIpModeEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_request_response.go index 17cd0b74d6..0d6dd2bc13 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancer.go.html to see an example of how to use UpdateLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancer.go.html to see an example of how to use UpdateLoadBalancerRequest. type UpdateLoadBalancerRequest struct { // The details for updating a load balancer's configuration. UpdateLoadBalancerDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request UpdateLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type UpdateLoadBalancerResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_details.go index 6fb88e7e24..f75d58e9a9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -46,7 +46,7 @@ func (m UpdateLoadBalancerShapeDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_request_response.go index 2636a6929c..60081f8263 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_load_balancer_shape_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancerShape.go.html to see an example of how to use UpdateLoadBalancerShapeRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateLoadBalancerShape.go.html to see an example of how to use UpdateLoadBalancerShapeRequest. type UpdateLoadBalancerShapeRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer whose shape will be updated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer whose shape will be updated. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The details for updating a load balancer's shape. This contains the new, desired shape. @@ -81,7 +81,7 @@ func (request UpdateLoadBalancerShapeRequest) RetryPolicy() *common.RetryPolicy func (request UpdateLoadBalancerShapeRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type UpdateLoadBalancerShapeResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_details.go index 13f2eb15d0..f87bcb9271 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -22,7 +22,7 @@ import ( // * If the load balancer has a list of NSGs configured and this list is empty, the operation removes all of the load balancer's NSG associations. type UpdateNetworkSecurityGroupsDetails struct { - // An array of NSG OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the load + // An array of NSG OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load // balancer. // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. // The benefits of associating the load balancer with NSGs include: @@ -43,7 +43,7 @@ func (m UpdateNetworkSecurityGroupsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_request_response.go index d890bbf20a..12f205b6a9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_network_security_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroupsRequest. type UpdateNetworkSecurityGroupsRequest struct { // The details for updating the NSGs associated with the specified load balancer. UpdateNetworkSecurityGroupsDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer to update the NSGs for. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer to update the NSGs for. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a @@ -81,7 +81,7 @@ func (request UpdateNetworkSecurityGroupsRequest) RetryPolicy() *common.RetryPol func (request UpdateNetworkSecurityGroupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -92,7 +92,7 @@ type UpdateNetworkSecurityGroupsResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_details.go index 48dbd2ff44..baaa0762e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -34,7 +34,7 @@ func (m UpdatePathRouteSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_request_response.go index 8f160fcfbf..19d5a6b760 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_path_route_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdatePathRouteSet.go.html to see an example of how to use UpdatePathRouteSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdatePathRouteSet.go.html to see an example of how to use UpdatePathRouteSetRequest. type UpdatePathRouteSetRequest struct { // The configuration details to update a path route set. UpdatePathRouteSetDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the path route set to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the path route set to update. @@ -85,7 +85,7 @@ func (request UpdatePathRouteSetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdatePathRouteSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdatePathRouteSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_details.go index d769265e15..9e04cf78c6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -40,7 +40,7 @@ func (m UpdateRoutingPolicyDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConditionLanguageVersion: %s. Supported values are: %s.", m.ConditionLanguageVersion, strings.Join(GetUpdateRoutingPolicyDetailsConditionLanguageVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_request_response.go index 3927eeb4ae..421980e5ce 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_routing_policy_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRoutingPolicy.go.html to see an example of how to use UpdateRoutingPolicyRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRoutingPolicy.go.html to see an example of how to use UpdateRoutingPolicyRequest. type UpdateRoutingPolicyRequest struct { // The configuration details needed to update a routing policy. UpdateRoutingPolicyDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer associated with the routing policy to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the routing policy to update. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the routing policy to update. @@ -85,7 +85,7 @@ func (request UpdateRoutingPolicyRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateRoutingPolicyRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdateRoutingPolicyResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go index b213a3d08e..39bf6ffed4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -35,7 +35,7 @@ func (m UpdateRuleSetDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_request_response.go index 54f5fec176..6991abb82c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRuleSet.go.html to see an example of how to use UpdateRuleSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateRuleSet.go.html to see an example of how to use UpdateRuleSetRequest. type UpdateRuleSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the specified load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the rule set to update. @@ -85,7 +85,7 @@ func (request UpdateRuleSetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateRuleSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdateRuleSetResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_s_s_l_cipher_suite_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_s_s_l_cipher_suite_request_response.go index fc0af690be..48dc56103f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_s_s_l_cipher_suite_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_s_s_l_cipher_suite_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateSSLCipherSuite.go.html to see an example of how to use UpdateSSLCipherSuiteRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/loadbalancer/UpdateSSLCipherSuite.go.html to see an example of how to use UpdateSSLCipherSuiteRequest. type UpdateSSLCipherSuiteRequest struct { // The configuration details to update an SSL cipher suite. UpdateSslCipherSuiteDetails `contributesTo:"body"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the associated load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"loadBalancerId"` // The name of the SSL cipher suite to update. @@ -85,7 +85,7 @@ func (request UpdateSSLCipherSuiteRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateSSLCipherSuiteRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -96,7 +96,7 @@ type UpdateSSLCipherSuiteResponse struct { // The underlying http response RawResponse *http.Response - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_ssl_cipher_suite_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_ssl_cipher_suite_details.go index 4fb3bde1f1..924fbdb33d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_ssl_cipher_suite_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_ssl_cipher_suite_details.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -140,7 +140,7 @@ func (m UpdateSslCipherSuiteDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request.go index 1d7491d93b..2d950efdce 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -19,13 +19,13 @@ import ( // WorkRequest Many of the API requests you use to create and configure load balancing do not take effect immediately. // In these cases, the request spawns an asynchronous work flow to fulfill the request. WorkRequest objects provide visibility // for in-progress work flows. -// For more information about work requests, see Viewing the State of a Work Request (https://docs.cloud.oracle.com/Content/Balance/Tasks/viewingworkrequest.htm). +// For more information about work requests, see Viewing the State of a Work Request (https://docs.oracle.com/iaas/Content/Balance/Tasks/viewingworkrequest.htm). type WorkRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the load balancer with which the work request + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer with which the work request // is associated. LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"` @@ -51,7 +51,7 @@ type WorkRequest struct { ErrorDetails []WorkRequestError `mandatory:"true" json:"errorDetails"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer. CompartmentId *string `mandatory:"false" json:"compartmentId"` // The date and time the work request was completed, in the format defined by RFC3339. @@ -73,7 +73,7 @@ func (m WorkRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request_error.go index d9429cb9f9..8f4eff0d7c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/work_request_error.go @@ -1,11 +1,11 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. // Load Balancing API // // API for the Load Balancing service. Use this API to manage load balancers, backend sets, and related items. For more -// information, see Overview of Load Balancing (https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). +// information, see Overview of Load Balancing (https://docs.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm). // package loadbalancer @@ -38,7 +38,7 @@ func (m WorkRequestError) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go index 24a5edbf50..a3d9c946e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/action_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_collection.go new file mode 100644 index 0000000000..9d31e4abc3 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AvailableMaintenanceScheduleStartTimeCollection List of items containing available start times on every day of the week +type AvailableMaintenanceScheduleStartTimeCollection struct { + + // List of available start times on every day of the week + Items []AvailableMaintenanceScheduleStartTimeSummary `mandatory:"true" json:"items"` +} + +func (m AvailableMaintenanceScheduleStartTimeCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AvailableMaintenanceScheduleStartTimeCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_summary.go new file mode 100644 index 0000000000..626bf74b92 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_maintenance_schedule_start_time_summary.go @@ -0,0 +1,109 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AvailableMaintenanceScheduleStartTimeSummary Information about the list of available start times on a particular day of the week. +// User can choose their preferred day of the week and start time for creating request/input +// for Create or Update LustreFileSystem operation. +type AvailableMaintenanceScheduleStartTimeSummary struct { + + // Day of the week + DayOfWeek AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum `mandatory:"true" json:"dayOfWeek"` + + // List of available start times. Each array item is of the format `HH:mm` + StartTimes []string `mandatory:"true" json:"startTimes"` +} + +func (m AvailableMaintenanceScheduleStartTimeSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AvailableMaintenanceScheduleStartTimeSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum(string(m.DayOfWeek)); !ok && m.DayOfWeek != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DayOfWeek: %s. Supported values are: %s.", m.DayOfWeek, strings.Join(GetAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum Enum with underlying type: string +type AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum string + +// Set of constants representing the allowable values for AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum +const ( + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekMonday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "MONDAY" + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekTuesday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "TUESDAY" + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekWednesday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "WEDNESDAY" + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekThursday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "THURSDAY" + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekFriday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "FRIDAY" + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekSaturday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "SATURDAY" + AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekSunday AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = "SUNDAY" +) + +var mappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum = map[string]AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum{ + "MONDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekMonday, + "TUESDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekTuesday, + "WEDNESDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekWednesday, + "THURSDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekThursday, + "FRIDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekFriday, + "SATURDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekSaturday, + "SUNDAY": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekSunday, +} + +var mappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumLowerCase = map[string]AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum{ + "monday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekMonday, + "tuesday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekTuesday, + "wednesday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekWednesday, + "thursday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekThursday, + "friday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekFriday, + "saturday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekSaturday, + "sunday": AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekSunday, +} + +// GetAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumValues Enumerates the set of values for AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum +func GetAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumValues() []AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum { + values := make([]AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum, 0) + for _, v := range mappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum { + values = append(values, v) + } + return values +} + +// GetAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumStringValues Enumerates the set of values in String for AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum +func GetAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumStringValues() []string { + return []string{ + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + } +} + +// GetMappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum(val string) (AvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnum, bool) { + enum, ok := mappingAvailableMaintenanceScheduleStartTimeSummaryDayOfWeekEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_collection.go new file mode 100644 index 0000000000..42680b45dc --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_collection.go @@ -0,0 +1,39 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AvailableOverrideMaintenanceStartTimeCollection List of items containing available start times on every day of the week +type AvailableOverrideMaintenanceStartTimeCollection struct { + + // List of available start times on every day of the week + Items []AvailableOverrideMaintenanceStartTimeSummary `mandatory:"true" json:"items"` +} + +func (m AvailableOverrideMaintenanceStartTimeCollection) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AvailableOverrideMaintenanceStartTimeCollection) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_summary.go new file mode 100644 index 0000000000..c9d9308106 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/available_override_maintenance_start_time_summary.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// AvailableOverrideMaintenanceStartTimeSummary Information about the list of available start times on a particular date. +// User can choose their preferred date and start time for creating request/input for Override operation. +type AvailableOverrideMaintenanceStartTimeSummary struct { + + // The date corresponding to the list of start times available. + // Example: `2024-04-25T00:00:00.000Z` + TimeDateAvailable *common.SDKTime `mandatory:"true" json:"timeDateAvailable"` + + // List of available start times. Each array item is of the format `HH:mm` + StartTimes []string `mandatory:"true" json:"startTimes"` +} + +func (m AvailableOverrideMaintenanceStartTimeSummary) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m AvailableOverrideMaintenanceStartTimeSummary) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go index e8f11d9f21..c04773293d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cancel_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go index 21bbc8ab46..0487d066b2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go index e52138834d..d5f806f08d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_lustre_file_system_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go index 29c2538e90..10e65a1b8a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go index f0e22e8831..f02347f67c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/change_object_storage_link_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go index c8237b50e9..598e62b663 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/cluster_placement_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go index 839243e316..8e7b425d0b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -72,6 +72,8 @@ type CreateLustreFileSystemDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group in which the Lustre file system exists. ClusterPlacementGroupId *string `mandatory:"false" json:"clusterPlacementGroupId"` + + MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"` } func (m CreateLustreFileSystemDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go index b62ba01282..65ade0993e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_lustre_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go index 780f3644b1..71ac70e6e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go index 5415864659..ee8519bb3f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/create_object_storage_link_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/date_and_time.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/date_and_time.go new file mode 100644 index 0000000000..84e94639d1 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/date_and_time.go @@ -0,0 +1,44 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// DateAndTime A generic object to show date and time in the below specified format +type DateAndTime struct { + + // A user-friendly date. + // Example: `2025-04-25` + Date *string `mandatory:"false" json:"date"` + + // A user-friendly time. The format is 'HH:MM', 'HH:MM' represents the time in UTC. + // Example: `22:00` + Time *string `mandatory:"false" json:"time"` +} + +func (m DateAndTime) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m DateAndTime) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go index 42f9289a34..8ab6a8953c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_lustre_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go index 65a8f851ba..1332ee48e3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/delete_object_storage_link_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go index c856c12a92..efc5ff1577 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_lustre_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go index 0d04382d9b..c17c669c69 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_object_storage_link_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go index df1abe6635..1820fdf1a5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_sync_job_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go index d1f1ccadbf..f4f23078e4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_maintenance_schedule_start_times_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_maintenance_schedule_start_times_request_response.go new file mode 100644 index 0000000000..1e7dbbddca --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_maintenance_schedule_start_times_request_response.go @@ -0,0 +1,274 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListAvailableMaintenanceScheduleStartTimesRequest wrapper for the ListAvailableMaintenanceScheduleStartTimes operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListAvailableMaintenanceScheduleStartTimes.go.html to see an example of how to use ListAvailableMaintenanceScheduleStartTimesRequest. +type ListAvailableMaintenanceScheduleStartTimesRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + Id *string `mandatory:"false" contributesTo:"query" name:"id"` + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` + + // The name of the availability domain. + // Example: `Uocm:PHX-AD-1` + AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"` + + // Day of the week filter + DayOfWeek ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum `mandatory:"false" contributesTo:"query" name:"dayOfWeek" omitEmpty:"true"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide only one sort order. + SortBy ListAvailableMaintenanceScheduleStartTimesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListAvailableMaintenanceScheduleStartTimesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListAvailableMaintenanceScheduleStartTimesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListAvailableMaintenanceScheduleStartTimesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListAvailableMaintenanceScheduleStartTimesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListAvailableMaintenanceScheduleStartTimesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListAvailableMaintenanceScheduleStartTimesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum(string(request.DayOfWeek)); !ok && request.DayOfWeek != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DayOfWeek: %s. Supported values are: %s.", request.DayOfWeek, strings.Join(GetListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumStringValues(), ","))) + } + if _, ok := GetMappingListAvailableMaintenanceScheduleStartTimesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAvailableMaintenanceScheduleStartTimesSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListAvailableMaintenanceScheduleStartTimesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAvailableMaintenanceScheduleStartTimesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListAvailableMaintenanceScheduleStartTimesResponse wrapper for the ListAvailableMaintenanceScheduleStartTimes operation +type ListAvailableMaintenanceScheduleStartTimesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of AvailableMaintenanceScheduleStartTimeCollection instances + AvailableMaintenanceScheduleStartTimeCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListAvailableMaintenanceScheduleStartTimesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListAvailableMaintenanceScheduleStartTimesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum Enum with underlying type: string +type ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum string + +// Set of constants representing the allowable values for ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum +const ( + ListAvailableMaintenanceScheduleStartTimesDayOfWeekMonday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "MONDAY" + ListAvailableMaintenanceScheduleStartTimesDayOfWeekTuesday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "TUESDAY" + ListAvailableMaintenanceScheduleStartTimesDayOfWeekWednesday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "WEDNESDAY" + ListAvailableMaintenanceScheduleStartTimesDayOfWeekThursday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "THURSDAY" + ListAvailableMaintenanceScheduleStartTimesDayOfWeekFriday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "FRIDAY" + ListAvailableMaintenanceScheduleStartTimesDayOfWeekSaturday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "SATURDAY" + ListAvailableMaintenanceScheduleStartTimesDayOfWeekSunday ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = "SUNDAY" +) + +var mappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum = map[string]ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum{ + "MONDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekMonday, + "TUESDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekTuesday, + "WEDNESDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekWednesday, + "THURSDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekThursday, + "FRIDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekFriday, + "SATURDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekSaturday, + "SUNDAY": ListAvailableMaintenanceScheduleStartTimesDayOfWeekSunday, +} + +var mappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumLowerCase = map[string]ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum{ + "monday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekMonday, + "tuesday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekTuesday, + "wednesday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekWednesday, + "thursday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekThursday, + "friday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekFriday, + "saturday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekSaturday, + "sunday": ListAvailableMaintenanceScheduleStartTimesDayOfWeekSunday, +} + +// GetListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumValues Enumerates the set of values for ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum +func GetListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumValues() []ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum { + values := make([]ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum, 0) + for _, v := range mappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum { + values = append(values, v) + } + return values +} + +// GetListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumStringValues Enumerates the set of values in String for ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum +func GetListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumStringValues() []string { + return []string{ + "MONDAY", + "TUESDAY", + "WEDNESDAY", + "THURSDAY", + "FRIDAY", + "SATURDAY", + "SUNDAY", + } +} + +// GetMappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum(val string) (ListAvailableMaintenanceScheduleStartTimesDayOfWeekEnum, bool) { + enum, ok := mappingListAvailableMaintenanceScheduleStartTimesDayOfWeekEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListAvailableMaintenanceScheduleStartTimesSortByEnum Enum with underlying type: string +type ListAvailableMaintenanceScheduleStartTimesSortByEnum string + +// Set of constants representing the allowable values for ListAvailableMaintenanceScheduleStartTimesSortByEnum +const ( + ListAvailableMaintenanceScheduleStartTimesSortByDayofweek ListAvailableMaintenanceScheduleStartTimesSortByEnum = "dayOfWeek" +) + +var mappingListAvailableMaintenanceScheduleStartTimesSortByEnum = map[string]ListAvailableMaintenanceScheduleStartTimesSortByEnum{ + "dayOfWeek": ListAvailableMaintenanceScheduleStartTimesSortByDayofweek, +} + +var mappingListAvailableMaintenanceScheduleStartTimesSortByEnumLowerCase = map[string]ListAvailableMaintenanceScheduleStartTimesSortByEnum{ + "dayofweek": ListAvailableMaintenanceScheduleStartTimesSortByDayofweek, +} + +// GetListAvailableMaintenanceScheduleStartTimesSortByEnumValues Enumerates the set of values for ListAvailableMaintenanceScheduleStartTimesSortByEnum +func GetListAvailableMaintenanceScheduleStartTimesSortByEnumValues() []ListAvailableMaintenanceScheduleStartTimesSortByEnum { + values := make([]ListAvailableMaintenanceScheduleStartTimesSortByEnum, 0) + for _, v := range mappingListAvailableMaintenanceScheduleStartTimesSortByEnum { + values = append(values, v) + } + return values +} + +// GetListAvailableMaintenanceScheduleStartTimesSortByEnumStringValues Enumerates the set of values in String for ListAvailableMaintenanceScheduleStartTimesSortByEnum +func GetListAvailableMaintenanceScheduleStartTimesSortByEnumStringValues() []string { + return []string{ + "dayOfWeek", + } +} + +// GetMappingListAvailableMaintenanceScheduleStartTimesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAvailableMaintenanceScheduleStartTimesSortByEnum(val string) (ListAvailableMaintenanceScheduleStartTimesSortByEnum, bool) { + enum, ok := mappingListAvailableMaintenanceScheduleStartTimesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListAvailableMaintenanceScheduleStartTimesSortOrderEnum Enum with underlying type: string +type ListAvailableMaintenanceScheduleStartTimesSortOrderEnum string + +// Set of constants representing the allowable values for ListAvailableMaintenanceScheduleStartTimesSortOrderEnum +const ( + ListAvailableMaintenanceScheduleStartTimesSortOrderAsc ListAvailableMaintenanceScheduleStartTimesSortOrderEnum = "ASC" + ListAvailableMaintenanceScheduleStartTimesSortOrderDesc ListAvailableMaintenanceScheduleStartTimesSortOrderEnum = "DESC" +) + +var mappingListAvailableMaintenanceScheduleStartTimesSortOrderEnum = map[string]ListAvailableMaintenanceScheduleStartTimesSortOrderEnum{ + "ASC": ListAvailableMaintenanceScheduleStartTimesSortOrderAsc, + "DESC": ListAvailableMaintenanceScheduleStartTimesSortOrderDesc, +} + +var mappingListAvailableMaintenanceScheduleStartTimesSortOrderEnumLowerCase = map[string]ListAvailableMaintenanceScheduleStartTimesSortOrderEnum{ + "asc": ListAvailableMaintenanceScheduleStartTimesSortOrderAsc, + "desc": ListAvailableMaintenanceScheduleStartTimesSortOrderDesc, +} + +// GetListAvailableMaintenanceScheduleStartTimesSortOrderEnumValues Enumerates the set of values for ListAvailableMaintenanceScheduleStartTimesSortOrderEnum +func GetListAvailableMaintenanceScheduleStartTimesSortOrderEnumValues() []ListAvailableMaintenanceScheduleStartTimesSortOrderEnum { + values := make([]ListAvailableMaintenanceScheduleStartTimesSortOrderEnum, 0) + for _, v := range mappingListAvailableMaintenanceScheduleStartTimesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListAvailableMaintenanceScheduleStartTimesSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableMaintenanceScheduleStartTimesSortOrderEnum +func GetListAvailableMaintenanceScheduleStartTimesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListAvailableMaintenanceScheduleStartTimesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAvailableMaintenanceScheduleStartTimesSortOrderEnum(val string) (ListAvailableMaintenanceScheduleStartTimesSortOrderEnum, bool) { + enum, ok := mappingListAvailableMaintenanceScheduleStartTimesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_override_maintenance_start_times_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_override_maintenance_start_times_request_response.go new file mode 100644 index 0000000000..af4d2b9534 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_available_override_maintenance_start_times_request_response.go @@ -0,0 +1,202 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// ListAvailableOverrideMaintenanceStartTimesRequest wrapper for the ListAvailableOverrideMaintenanceStartTimes operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListAvailableOverrideMaintenanceStartTimes.go.html to see an example of how to use ListAvailableOverrideMaintenanceStartTimesRequest. +type ListAvailableOverrideMaintenanceStartTimesRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + Id *string `mandatory:"true" contributesTo:"query" name:"id"` + + // For list pagination. The maximum number of results per page, or items to return in a + // paginated "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` + + // For list pagination. The value of the opc-next-page response header from the previous + // "List" call. For important details about how pagination works, see + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + Page *string `mandatory:"false" contributesTo:"query" name:"page"` + + // The field to sort by. You can provide only one sort order. + SortBy ListAvailableOverrideMaintenanceStartTimesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` + + // The sort order to use, either ascending (`ASC`) or descending (`DESC`). + SortOrder ListAvailableOverrideMaintenanceStartTimesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` + + // Date in format `YYYY-MM-DD` + Date *string `mandatory:"false" contributesTo:"query" name:"date"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request ListAvailableOverrideMaintenanceStartTimesRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request ListAvailableOverrideMaintenanceStartTimesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request ListAvailableOverrideMaintenanceStartTimesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request ListAvailableOverrideMaintenanceStartTimesRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request ListAvailableOverrideMaintenanceStartTimesRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingListAvailableOverrideMaintenanceStartTimesSortByEnum(string(request.SortBy)); !ok && request.SortBy != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListAvailableOverrideMaintenanceStartTimesSortByEnumStringValues(), ","))) + } + if _, ok := GetMappingListAvailableOverrideMaintenanceStartTimesSortOrderEnum(string(request.SortOrder)); !ok && request.SortOrder != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAvailableOverrideMaintenanceStartTimesSortOrderEnumStringValues(), ","))) + } + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// ListAvailableOverrideMaintenanceStartTimesResponse wrapper for the ListAvailableOverrideMaintenanceStartTimes operation +type ListAvailableOverrideMaintenanceStartTimesResponse struct { + + // The underlying http response + RawResponse *http.Response + + // A list of AvailableOverrideMaintenanceStartTimeCollection instances + AvailableOverrideMaintenanceStartTimeCollection `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` + + // For list pagination. When this header appears in the response, additional pages of results remain. For + // important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + OpcNextPage *string `presentIn:"header" name:"opc-next-page"` +} + +func (response ListAvailableOverrideMaintenanceStartTimesResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response ListAvailableOverrideMaintenanceStartTimesResponse) HTTPResponse() *http.Response { + return response.RawResponse +} + +// ListAvailableOverrideMaintenanceStartTimesSortByEnum Enum with underlying type: string +type ListAvailableOverrideMaintenanceStartTimesSortByEnum string + +// Set of constants representing the allowable values for ListAvailableOverrideMaintenanceStartTimesSortByEnum +const ( + ListAvailableOverrideMaintenanceStartTimesSortByDate ListAvailableOverrideMaintenanceStartTimesSortByEnum = "date" +) + +var mappingListAvailableOverrideMaintenanceStartTimesSortByEnum = map[string]ListAvailableOverrideMaintenanceStartTimesSortByEnum{ + "date": ListAvailableOverrideMaintenanceStartTimesSortByDate, +} + +var mappingListAvailableOverrideMaintenanceStartTimesSortByEnumLowerCase = map[string]ListAvailableOverrideMaintenanceStartTimesSortByEnum{ + "date": ListAvailableOverrideMaintenanceStartTimesSortByDate, +} + +// GetListAvailableOverrideMaintenanceStartTimesSortByEnumValues Enumerates the set of values for ListAvailableOverrideMaintenanceStartTimesSortByEnum +func GetListAvailableOverrideMaintenanceStartTimesSortByEnumValues() []ListAvailableOverrideMaintenanceStartTimesSortByEnum { + values := make([]ListAvailableOverrideMaintenanceStartTimesSortByEnum, 0) + for _, v := range mappingListAvailableOverrideMaintenanceStartTimesSortByEnum { + values = append(values, v) + } + return values +} + +// GetListAvailableOverrideMaintenanceStartTimesSortByEnumStringValues Enumerates the set of values in String for ListAvailableOverrideMaintenanceStartTimesSortByEnum +func GetListAvailableOverrideMaintenanceStartTimesSortByEnumStringValues() []string { + return []string{ + "date", + } +} + +// GetMappingListAvailableOverrideMaintenanceStartTimesSortByEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAvailableOverrideMaintenanceStartTimesSortByEnum(val string) (ListAvailableOverrideMaintenanceStartTimesSortByEnum, bool) { + enum, ok := mappingListAvailableOverrideMaintenanceStartTimesSortByEnumLowerCase[strings.ToLower(val)] + return enum, ok +} + +// ListAvailableOverrideMaintenanceStartTimesSortOrderEnum Enum with underlying type: string +type ListAvailableOverrideMaintenanceStartTimesSortOrderEnum string + +// Set of constants representing the allowable values for ListAvailableOverrideMaintenanceStartTimesSortOrderEnum +const ( + ListAvailableOverrideMaintenanceStartTimesSortOrderAsc ListAvailableOverrideMaintenanceStartTimesSortOrderEnum = "ASC" + ListAvailableOverrideMaintenanceStartTimesSortOrderDesc ListAvailableOverrideMaintenanceStartTimesSortOrderEnum = "DESC" +) + +var mappingListAvailableOverrideMaintenanceStartTimesSortOrderEnum = map[string]ListAvailableOverrideMaintenanceStartTimesSortOrderEnum{ + "ASC": ListAvailableOverrideMaintenanceStartTimesSortOrderAsc, + "DESC": ListAvailableOverrideMaintenanceStartTimesSortOrderDesc, +} + +var mappingListAvailableOverrideMaintenanceStartTimesSortOrderEnumLowerCase = map[string]ListAvailableOverrideMaintenanceStartTimesSortOrderEnum{ + "asc": ListAvailableOverrideMaintenanceStartTimesSortOrderAsc, + "desc": ListAvailableOverrideMaintenanceStartTimesSortOrderDesc, +} + +// GetListAvailableOverrideMaintenanceStartTimesSortOrderEnumValues Enumerates the set of values for ListAvailableOverrideMaintenanceStartTimesSortOrderEnum +func GetListAvailableOverrideMaintenanceStartTimesSortOrderEnumValues() []ListAvailableOverrideMaintenanceStartTimesSortOrderEnum { + values := make([]ListAvailableOverrideMaintenanceStartTimesSortOrderEnum, 0) + for _, v := range mappingListAvailableOverrideMaintenanceStartTimesSortOrderEnum { + values = append(values, v) + } + return values +} + +// GetListAvailableOverrideMaintenanceStartTimesSortOrderEnumStringValues Enumerates the set of values in String for ListAvailableOverrideMaintenanceStartTimesSortOrderEnum +func GetListAvailableOverrideMaintenanceStartTimesSortOrderEnumStringValues() []string { + return []string{ + "ASC", + "DESC", + } +} + +// GetMappingListAvailableOverrideMaintenanceStartTimesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingListAvailableOverrideMaintenanceStartTimesSortOrderEnum(val string) (ListAvailableOverrideMaintenanceStartTimesSortOrderEnum, bool) { + enum, ok := mappingListAvailableOverrideMaintenanceStartTimesSortOrderEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go index 446f864823..840ad133c4 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_lustre_file_systems_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go index 02c56cf8d0..1787e22bc8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_object_storage_links_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go index 1630840836..ea4cf6ac0d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_sync_jobs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go index 3e79fc829d..8158f642cd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go index f8c49d2a42..0334137a93 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go index 49e56868b1..92fa7bc89e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go index fdc26f1ec1..5e8ba62964 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -119,6 +119,8 @@ type LustreFileSystem struct { // File systems deleted earlier than this time will still incur charges until the billing cycle ends. // Example: `2016-08-25T21:10:29.600Z` TimeBillingCycleEnd *common.SDKTime `mandatory:"false" json:"timeBillingCycleEnd"` + + MaintenanceWindowMetadata *MaintenanceWindowMetadataDetails `mandatory:"false" json:"maintenanceWindowMetadata"` } func (m LustreFileSystem) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go index f201792f51..7d71aa3482 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go index afd694cbcf..d6675b6486 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustre_file_system_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go index 502e6cef14..8b8133dadc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/lustrefilestorage_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -746,6 +746,122 @@ func (client LustreFileStorageClient) getWorkRequest(ctx context.Context, reques return response, err } +// ListAvailableMaintenanceScheduleStartTimes Gets the list of available maintenance schedule start times for both Create and Update operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListAvailableMaintenanceScheduleStartTimes.go.html to see an example of how to use ListAvailableMaintenanceScheduleStartTimes API. +// A default retry strategy applies to this operation ListAvailableMaintenanceScheduleStartTimes() +func (client LustreFileStorageClient) ListAvailableMaintenanceScheduleStartTimes(ctx context.Context, request ListAvailableMaintenanceScheduleStartTimesRequest) (response ListAvailableMaintenanceScheduleStartTimesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listAvailableMaintenanceScheduleStartTimes, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListAvailableMaintenanceScheduleStartTimesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListAvailableMaintenanceScheduleStartTimesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListAvailableMaintenanceScheduleStartTimesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListAvailableMaintenanceScheduleStartTimesResponse") + } + return +} + +// listAvailableMaintenanceScheduleStartTimes implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listAvailableMaintenanceScheduleStartTimes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/availableMaintenanceScheduleStartTimes", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListAvailableMaintenanceScheduleStartTimesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/AvailableMaintenanceScheduleStartTimeCollection/ListAvailableMaintenanceScheduleStartTimes" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListAvailableMaintenanceScheduleStartTimes", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + +// ListAvailableOverrideMaintenanceStartTimes Gets the list of available maintenance start times for Override operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/ListAvailableOverrideMaintenanceStartTimes.go.html to see an example of how to use ListAvailableOverrideMaintenanceStartTimes API. +// A default retry strategy applies to this operation ListAvailableOverrideMaintenanceStartTimes() +func (client LustreFileStorageClient) ListAvailableOverrideMaintenanceStartTimes(ctx context.Context, request ListAvailableOverrideMaintenanceStartTimesRequest) (response ListAvailableOverrideMaintenanceStartTimesResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.listAvailableOverrideMaintenanceStartTimes, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = ListAvailableOverrideMaintenanceStartTimesResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = ListAvailableOverrideMaintenanceStartTimesResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(ListAvailableOverrideMaintenanceStartTimesResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into ListAvailableOverrideMaintenanceStartTimesResponse") + } + return +} + +// listAvailableOverrideMaintenanceStartTimes implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) listAvailableOverrideMaintenanceStartTimes(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/availableOverrideMaintenanceStartTimes", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response ListAvailableOverrideMaintenanceStartTimesResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/AvailableOverrideMaintenanceStartTimeCollection/ListAvailableOverrideMaintenanceStartTimes" + err = common.PostProcessServiceError(err, "LustreFileStorage", "ListAvailableOverrideMaintenanceStartTimes", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // ListLustreFileSystems Gets a list of Lustre file systems. // // # See also @@ -1094,6 +1210,64 @@ func (client LustreFileStorageClient) listWorkRequests(ctx context.Context, requ return response, err } +// OverrideMaintenance Overrides the upcoming maintenance to the value provided by user +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/OverrideMaintenance.go.html to see an example of how to use OverrideMaintenance API. +// A default retry strategy applies to this operation OverrideMaintenance() +func (client LustreFileStorageClient) OverrideMaintenance(ctx context.Context, request OverrideMaintenanceRequest) (response OverrideMaintenanceResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.overrideMaintenance, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = OverrideMaintenanceResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = OverrideMaintenanceResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(OverrideMaintenanceResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into OverrideMaintenanceResponse") + } + return +} + +// overrideMaintenance implements the OCIOperation interface (enables retrying operations) +func (client LustreFileStorageClient) overrideMaintenance(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/lustreFileSystems/{lustreFileSystemId}/actions/overrideMaintenance", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response OverrideMaintenanceResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/lustre/20250228/LustreFileSystem/OverrideMaintenance" + err = common.PostProcessServiceError(err, "LustreFileStorage", "OverrideMaintenance", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // StartExportToObject Starts the export of data from the Lustre file system to Object Storage. // The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource. // diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go index f62ff052dc..f6dac24274 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window_metadata_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window_metadata_details.go new file mode 100644 index 0000000000..e6b362d4f2 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/maintenance_window_metadata_details.go @@ -0,0 +1,42 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// MaintenanceWindowMetadataDetails The meta-data for maintenance window. +type MaintenanceWindowMetadataDetails struct { + ActiveOrNextPlannedMaintenance *DateAndTime `mandatory:"false" json:"activeOrNextPlannedMaintenance"` + + FinishedMaintenance *DateAndTime `mandatory:"false" json:"finishedMaintenance"` + + // whether or not an active maintenance is going on for the LustreFileSystem + IsMaintenanceInProgress *bool `mandatory:"false" json:"isMaintenanceInProgress"` +} + +func (m MaintenanceWindowMetadataDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m MaintenanceWindowMetadataDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go index 16e31255ba..999181ba15 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/network_security_group.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go index 71eda8baf7..9f0f724b78 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go index 2747def0a2..9e8c669a57 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go index 07b0e4c77c..60a08dad85 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/object_storage_link_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go index 89a10b20e7..0dc151a737 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go index a75fdba443..cb03c00e28 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/operation_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_details.go new file mode 100644 index 0000000000..3e41641f7e --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_details.go @@ -0,0 +1,37 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// File Storage with Lustre API +// +// Use the File Storage with Lustre API to manage Lustre file systems and related resources. For more information, see File Storage with Lustre (https://docs.oracle.com/iaas/Content/lustre/home.htm). +// + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// OverrideMaintenanceDetails The date and time at which upcoming maintenance needs to be set +type OverrideMaintenanceDetails struct { + DateTimeDetails *DateAndTime `mandatory:"false" json:"dateTimeDetails"` +} + +func (m OverrideMaintenanceDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m OverrideMaintenanceDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_request_response.go new file mode 100644 index 0000000000..b5cae4a42f --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/override_maintenance_request_response.go @@ -0,0 +1,103 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package lustrefilestorage + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// OverrideMaintenanceRequest wrapper for the OverrideMaintenance operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/lustrefilestorage/OverrideMaintenance.go.html to see an example of how to use OverrideMaintenanceRequest. +type OverrideMaintenanceRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Lustre file system. + LustreFileSystemId *string `mandatory:"true" contributesTo:"path" name:"lustreFileSystemId"` + + // The date and time at which upcoming maintenance needs to be set + OverrideMaintenanceDetails `contributesTo:"body"` + + // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + // `if-match` parameter to the value of the etag from a previous GET or POST response for + // that resource. The resource will be updated or deleted only if the etag you provide + // matches the resource's current etag value. + IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + // The only valid characters for request IDs are letters, numbers, + // underscore, and dash. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request OverrideMaintenanceRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request OverrideMaintenanceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request OverrideMaintenanceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request OverrideMaintenanceRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request OverrideMaintenanceRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// OverrideMaintenanceResponse wrapper for the OverrideMaintenance operation +type OverrideMaintenanceResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + // Use GetWorkRequest with this ID to track the status of the request. + OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response OverrideMaintenanceResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response OverrideMaintenanceResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go index f59acaec76..04ac462769 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/root_squash_configuration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go index c80482b9df..5474e5aa51 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sort_order.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go index 7b0e213234..5861cd7c77 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_export_to_object_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go index beb01e8c83..737b934b8d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/start_import_from_object_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go index 34c51040c6..eb1d5c5896 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_export_to_object_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go index d3584f2cf3..c86939a635 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/stop_import_from_object_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go index f32321970b..1ca1e72822 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/subnet.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go index d1ca401aa6..a235c2b58f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go index 2dc67d67c1..8ba539455a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go index 747ed97ac0..97516fb50f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/sync_job_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go index cc5b50e8b3..87798494b8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -50,6 +50,8 @@ type UpdateLustreFileSystemDetails struct { CapacityInGBs *int `mandatory:"false" json:"capacityInGBs"` RootSquashConfiguration *RootSquashConfiguration `mandatory:"false" json:"rootSquashConfiguration"` + + MaintenanceWindow *MaintenanceWindow `mandatory:"false" json:"maintenanceWindow"` } func (m UpdateLustreFileSystemDetails) String() string { diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go index f03549f60f..7cce89fde2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_lustre_file_system_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go index da048de359..3ba98f840e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go index 9f6373afba..fc4eb733ed 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/update_object_storage_link_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go index fc9723ce8a..7c171ff7be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go index 17707261e1..c841bc2e35 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go index c51f87a21b..4d7364755b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_error_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go index 60eb74e4ba..d058f0f760 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go index 3e5769127c..35136b81d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_log_entry_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go index 4dec939279..1528376522 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_resource.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go index 1c3a62c551..016b4815a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go index d15e1f82d1..aa504ce083 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/lustrefilestorage/work_request_summary_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2025, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/aggregated_datapoint.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/aggregated_datapoint.go index 2f2df73194..2e88f67ec5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/aggregated_datapoint.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/aggregated_datapoint.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -41,7 +41,7 @@ func (m AggregatedDatapoint) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm.go index 61ec35b3f5..aad3f5c250 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -20,17 +20,17 @@ import ( // Alarm The properties that define an alarm. // For information about alarms, see -// Alarms Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). +// Alarms Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // For information about endpoints and signing API requests, see -// About the API (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm). +// About the API (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). // For information about available SDKs and tools, see -// SDKS and Other Tools (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/sdks.htm). +// SDKS and Other Tools (https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm). type Alarm struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the alarm. It does not have to be unique, and it's changeable. @@ -38,10 +38,10 @@ type Alarm struct { // Example: `High CPU Utilization` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric // being evaluated by the alarm. MetricCompartmentId *string `mandatory:"true" json:"metricCompartmentId"` @@ -57,14 +57,14 @@ type Alarm struct { // interval values are supported for smaller time ranges. You can optionally // specify dimensions and grouping functions. // Also, you can customize the - // absence detection period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). + // absence detection period (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). // Supported grouping functions: `grouping()`, `groupBy()`. // For information about writing MQL expressions, see - // Editing the MQL Expression for a Query (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). + // Editing the MQL Expression for a Query (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). // For details about MQL, see - // Monitoring Query Language (MQL) Reference (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). + // Monitoring Query Language (MQL) Reference (https://docs.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). // For available dimensions, review the metric definition for the supported service. See - // Supported Services (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). + // Supported Services (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // Example of threshold alarm: // ----- // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 @@ -86,7 +86,7 @@ type Alarm struct { Severity AlarmSeverityEnum `mandatory:"true" json:"severity"` // A list of destinations for alarm notifications. - // Each destination is represented by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + // Each destination is represented by the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // of a related resource, such as a NotificationTopic. // Supported destination services: Notifications, Streaming. // Limit: One destination per supported destination service. @@ -138,7 +138,7 @@ type Alarm struct { PendingDuration *string `mandatory:"false" json:"pendingDuration"` // The human-readable content of the delivered alarm notification. - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // Oracle recommends providing guidance // to operators for resolving the alarm condition. Consider adding links to standard runbook // practices. Avoid entering confidential information. @@ -187,8 +187,8 @@ type Alarm struct { // The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion *string `mandatory:"false" json:"notificationVersion"` - // Customizable notification title (`title` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable notification title (`title` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle *string `mandatory:"false" json:"notificationTitle"` @@ -196,11 +196,11 @@ type Alarm struct { // Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. // For more information about the slack period, see - // About the Internal Reset Period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). + // About the Internal Reset Period (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration *string `mandatory:"false" json:"evaluationSlackDuration"` - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -228,7 +228,7 @@ func (m Alarm) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MessageFormat: %s. Supported values are: %s.", m.MessageFormat, strings.Join(GetAlarmMessageFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_collection.go index eb7398f579..6072f32c68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -21,7 +21,7 @@ import ( // AlarmDimensionStatesCollection The list of current alarm state entries for each metric stream that matches the filters. type AlarmDimensionStatesCollection struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm to retrieve alarm state entries for. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm to retrieve alarm state entries for. AlarmId *string `mandatory:"true" json:"alarmId"` // Whether the alarm is enabled. @@ -47,7 +47,7 @@ func (m AlarmDimensionStatesCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_entry.go index 55cbaffeca..20da02e251 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_dimension_states_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -21,8 +21,8 @@ import ( // AlarmDimensionStatesEntry A timestamped alarm state entry for a metric stream. type AlarmDimensionStatesEntry struct { - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -59,7 +59,7 @@ func (m AlarmDimensionStatesEntry) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_collection.go index e9672de896..b92d1858ae 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -21,7 +21,7 @@ import ( // AlarmHistoryCollection The configuration details for retrieving alarm history. type AlarmHistoryCollection struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm to retrieve history for. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm to retrieve history for. AlarmId *string `mandatory:"true" json:"alarmId"` // Whether the alarm is enabled. @@ -43,7 +43,7 @@ func (m AlarmHistoryCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_entry.go index 3dd2bfa198..f81c20822c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_history_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -22,8 +22,8 @@ import ( // If the entry corresponds to a state transition, such as OK to Firing, then the entry also includes a transition timestamp. type AlarmHistoryEntry struct { - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -56,7 +56,7 @@ func (m AlarmHistoryEntry) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_override.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_override.go index ce49d96f67..ef6fad4d14 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_override.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_override.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -43,7 +43,7 @@ type AlarmOverride struct { Severity AlarmSeverityEnum `mandatory:"false" json:"severity,omitempty"` // The human-readable content of the delivered alarm notification. - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // Oracle recommends providing guidance // to operators for resolving the alarm condition. Consider adding links to standard runbook // practices. Avoid entering confidential information. @@ -61,14 +61,14 @@ type AlarmOverride struct { // interval values are supported for smaller time ranges. You can optionally // specify dimensions and grouping functions. // Also, you can customize the - // absence detection period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). + // absence detection period (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). // Supported grouping functions: `grouping()`, `groupBy()`. // For information about writing MQL expressions, see - // Editing the MQL Expression for a Query (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). + // Editing the MQL Expression for a Query (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). // For details about MQL, see - // Monitoring Query Language (MQL) Reference (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). + // Monitoring Query Language (MQL) Reference (https://docs.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). // For available dimensions, review the metric definition for the supported service. See - // Supported Services (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). + // Supported Services (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // Example of threshold alarm: // ----- // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 @@ -100,7 +100,7 @@ func (m AlarmOverride) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Severity: %s. Supported values are: %s.", m.Severity, strings.Join(GetAlarmSeverityEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_status_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_status_summary.go index 0a889cff79..c75b461b4c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_status_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_status_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -20,17 +20,17 @@ import ( // AlarmStatusSummary A summary of properties for the specified alarm and its current evaluation status. // For information about alarms, see -// Alarms Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). +// Alarms Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // For information about endpoints and signing API requests, see -// About the API (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm). +// About the API (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). // For information about available SDKs and tools, see -// SDKS and Other Tools (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/sdks.htm). +// SDKS and Other Tools (https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm). type AlarmStatusSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id *string `mandatory:"true" json:"id"` // The configured name of the alarm. @@ -50,8 +50,8 @@ type AlarmStatusSummary struct { // Example: `2023-02-01T01:02:29.600Z` TimestampTriggered *common.SDKTime `mandatory:"true" json:"timestampTriggered"` - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -85,7 +85,7 @@ func (m AlarmStatusSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_summary.go index 72cfb01626..a79971175b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -20,17 +20,17 @@ import ( // AlarmSummary A summary of properties for the specified alarm. // For information about alarms, see -// Alarms Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). +// Alarms Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see -// Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // For information about endpoints and signing API requests, see -// About the API (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm). +// About the API (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). // For information about available SDKs and tools, see -// SDKS and Other Tools (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/sdks.htm). +// SDKS and Other Tools (https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm). type AlarmSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id *string `mandatory:"true" json:"id"` // A user-friendly name for the alarm. It does not have to be unique, and it's changeable. @@ -38,10 +38,10 @@ type AlarmSummary struct { // Example: `High CPU Utilization` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric // being evaluated by the alarm. MetricCompartmentId *string `mandatory:"true" json:"metricCompartmentId"` @@ -56,11 +56,11 @@ type AlarmSummary struct { // rule (threshold or absence). Supported values for interval depend on the specified time range. More // interval values are supported for smaller time ranges. Supported grouping functions: `grouping()`, `groupBy()`. // For information about writing MQL expressions, see - // Editing the MQL Expression for a Query (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). + // Editing the MQL Expression for a Query (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). // For details about MQL, see - // Monitoring Query Language (MQL) Reference (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). + // Monitoring Query Language (MQL) Reference (https://docs.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). // For available dimensions, review the metric definition for the supported service. See - // Supported Services (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). + // Supported Services (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // Example of threshold alarm: // ----- // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 @@ -76,7 +76,7 @@ type AlarmSummary struct { Severity AlarmSummarySeverityEnum `mandatory:"true" json:"severity"` // A list of destinations for alarm notifications. - // Each destination is represented by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + // Each destination is represented by the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // of a related resource, such as a NotificationTopic. // Supported destination services: Notifications, Streaming. // Limit: One destination per supported destination service. @@ -94,7 +94,7 @@ type AlarmSummary struct { Suppression *Suppression `mandatory:"false" json:"suppression"` // Whether the alarm sends a separate message for each metric stream. - // See Creating an Alarm That Splits Messages by Metric Stream (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). + // See Creating an Alarm That Splits Messages by Metric Stream (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). // Example: `true` IsNotificationsPerMetricDimensionEnabled *bool `mandatory:"false" json:"isNotificationsPerMetricDimensionEnabled"` @@ -120,8 +120,8 @@ type AlarmSummary struct { // The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion *string `mandatory:"false" json:"notificationVersion"` - // Customizable notification title (`title` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable notification title (`title` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle *string `mandatory:"false" json:"notificationTitle"` @@ -129,11 +129,11 @@ type AlarmSummary struct { // Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. // For more information about the slack period, see - // About the Internal Reset Period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). + // About the Internal Reset Period (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration *string `mandatory:"false" json:"evaluationSlackDuration"` - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -163,7 +163,7 @@ func (m AlarmSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression.go index 2cc28a200c..4608044d49 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -22,10 +22,10 @@ import ( // AlarmSuppression The configuration details for an alarm suppression. type AlarmSuppression struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId *string `mandatory:"true" json:"compartmentId"` AlarmSuppressionTarget AlarmSuppressionTarget `mandatory:"true" json:"alarmSuppressionTarget"` @@ -104,7 +104,7 @@ func (m AlarmSuppression) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_alarm_target.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_alarm_target.go index 21f1ae947f..5f91cc208b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_alarm_target.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_alarm_target.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -22,7 +22,7 @@ import ( // AlarmSuppressionAlarmTarget The alarm target of the alarm suppression. type AlarmSuppressionAlarmTarget struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId *string `mandatory:"true" json:"alarmId"` } @@ -37,7 +37,7 @@ func (m AlarmSuppressionAlarmTarget) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_collection.go index 94ab763d22..79c58e8f99 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -36,7 +36,7 @@ func (m AlarmSuppressionCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_compartment_target.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_compartment_target.go index 54178d3786..3a447d10cf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_compartment_target.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_compartment_target.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -22,7 +22,7 @@ import ( // AlarmSuppressionCompartmentTarget The compartment target of the alarm suppression. type AlarmSuppressionCompartmentTarget struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment or tenancy that is the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment or tenancy that is the // target of the alarm suppression. // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -45,7 +45,7 @@ func (m AlarmSuppressionCompartmentTarget) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item.go index 4e01aac5bf..39e7d8a724 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -22,7 +22,7 @@ import ( // AlarmSuppressionHistoryItem A summary of properties for the specified alarm suppression history item. type AlarmSuppressionHistoryItem struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. SuppressionId *string `mandatory:"true" json:"suppressionId"` AlarmSuppressionTarget AlarmSuppressionTarget `mandatory:"true" json:"alarmSuppressionTarget"` @@ -78,7 +78,7 @@ func (m AlarmSuppressionHistoryItem) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item_collection.go index 3da1e88710..77983ebe02 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_history_item_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -36,7 +36,7 @@ func (m AlarmSuppressionHistoryItemCollection) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_summary.go index c8a0fb6ec1..4662126fe7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -22,10 +22,10 @@ import ( // AlarmSuppressionSummary A summary of properties for the specified alarm suppression. type AlarmSuppressionSummary struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId *string `mandatory:"true" json:"compartmentId"` AlarmSuppressionTarget AlarmSuppressionTarget `mandatory:"true" json:"alarmSuppressionTarget"` @@ -104,7 +104,7 @@ func (m AlarmSuppressionSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_target.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_target.go index e56f123178..41a205c860 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_target.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/alarm_suppression_target.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -62,7 +62,7 @@ func (m *alarmsuppressiontarget) UnmarshalPolymorphicJSON(data []byte) (interfac err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for AlarmSuppressionTarget: %s.", m.TargetType) + common.Logf("Received unsupported enum value for AlarmSuppressionTarget: %s.", m.TargetType) return *m, nil } } @@ -78,7 +78,7 @@ func (m alarmsuppressiontarget) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_details.go index 8f55156f81..8d0870b6f7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -21,7 +21,7 @@ import ( // ChangeAlarmCompartmentDetails The configuration details for moving an alarm. type ChangeAlarmCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the alarm to. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the alarm to. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -36,7 +36,7 @@ func (m ChangeAlarmCompartmentDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_request_response.go index 642709f412..ad916ea0cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/change_alarm_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ChangeAlarmCompartment.go.html to see an example of how to use ChangeAlarmCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ChangeAlarmCompartment.go.html to see an example of how to use ChangeAlarmCompartmentRequest. type ChangeAlarmCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // The configuration details for moving an alarm. @@ -77,7 +77,7 @@ func (request ChangeAlarmCompartmentRequest) RetryPolicy() *common.RetryPolicy { func (request ChangeAlarmCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_details.go index b17f2a1fda..086902f6bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -27,10 +27,10 @@ type CreateAlarmDetails struct { // Example: `High CPU Utilization` DisplayName *string `mandatory:"true" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId *string `mandatory:"true" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric // being evaluated by the alarm. MetricCompartmentId *string `mandatory:"true" json:"metricCompartmentId"` @@ -46,14 +46,14 @@ type CreateAlarmDetails struct { // interval values are supported for smaller time ranges. You can optionally // specify dimensions and grouping functions. // Also, you can customize the - // absence detection period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). + // absence detection period (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). // Supported grouping functions: `grouping()`, `groupBy()`. // For information about writing MQL expressions, see - // Editing the MQL Expression for a Query (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). + // Editing the MQL Expression for a Query (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). // For details about MQL, see - // Monitoring Query Language (MQL) Reference (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). + // Monitoring Query Language (MQL) Reference (https://docs.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). // For available dimensions, review the metric definition for the supported service. See - // Supported Services (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). + // Supported Services (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // Example of threshold alarm: // ----- // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 @@ -75,7 +75,7 @@ type CreateAlarmDetails struct { Severity AlarmSeverityEnum `mandatory:"true" json:"severity"` // A list of destinations for alarm notifications. - // Each destination is represented by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + // Each destination is represented by the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // of a related resource, such as a NotificationTopic. // Supported destination services: Notifications, Streaming. // Limit: One destination per supported destination service. @@ -116,7 +116,7 @@ type CreateAlarmDetails struct { PendingDuration *string `mandatory:"false" json:"pendingDuration"` // The human-readable content of the delivered alarm notification. - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // Oracle recommends providing guidance // to operators for resolving the alarm condition. Consider adding links to standard runbook // practices. Avoid entering confidential information. @@ -166,8 +166,8 @@ type CreateAlarmDetails struct { // The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion *string `mandatory:"false" json:"notificationVersion"` - // Customizable notification title (`title` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable notification title (`title` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle *string `mandatory:"false" json:"notificationTitle"` @@ -175,11 +175,11 @@ type CreateAlarmDetails struct { // Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. // For more information about the slack period, see - // About the Internal Reset Period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). + // About the Internal Reset Period (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration *string `mandatory:"false" json:"evaluationSlackDuration"` - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -204,7 +204,7 @@ func (m CreateAlarmDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MessageFormat: %s. Supported values are: %s.", m.MessageFormat, strings.Join(GetCreateAlarmDetailsMessageFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_request_response.go index d3c6de834e..6da6c249fa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarm.go.html to see an example of how to use CreateAlarmRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarm.go.html to see an example of how to use CreateAlarmRequest. type CreateAlarmRequest struct { // Document for creating an alarm. @@ -69,7 +69,7 @@ func (request CreateAlarmRequest) RetryPolicy() *common.RetryPolicy { func (request CreateAlarmRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_details.go index 26d4d04ff3..4376d9fdd9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -89,7 +89,7 @@ func (m CreateAlarmSuppressionDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Level: %s. Supported values are: %s.", m.Level, strings.Join(GetAlarmSuppressionLevelEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_request_response.go index 92a970525b..8ff844f9ef 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/create_alarm_suppression_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarmSuppression.go.html to see an example of how to use CreateAlarmSuppressionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarmSuppression.go.html to see an example of how to use CreateAlarmSuppressionRequest. type CreateAlarmSuppressionRequest struct { // The details of the alarm suppression to be created @@ -69,7 +69,7 @@ func (request CreateAlarmSuppressionRequest) RetryPolicy() *common.RetryPolicy { func (request CreateAlarmSuppressionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/datapoint.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/datapoint.go index a107a8b9ef..0b4c8af554 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/datapoint.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/datapoint.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -46,7 +46,7 @@ func (m Datapoint) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_request_response.go index fc99722d48..394c7b0180 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarm.go.html to see an example of how to use DeleteAlarmRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarm.go.html to see an example of how to use DeleteAlarmRequest. type DeleteAlarmRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request DeleteAlarmRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteAlarmRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_suppression_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_suppression_request_response.go index fcb497bab3..f458f92158 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_suppression_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/delete_alarm_suppression_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarmSuppression.go.html to see an example of how to use DeleteAlarmSuppressionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarmSuppression.go.html to see an example of how to use DeleteAlarmSuppressionRequest. type DeleteAlarmSuppressionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. AlarmSuppressionId *string `mandatory:"true" contributesTo:"path" name:"alarmSuppressionId"` // Customer part of the request identifier token. If you need to contact Oracle about a particular @@ -67,7 +67,7 @@ func (request DeleteAlarmSuppressionRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteAlarmSuppressionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/failed_metric_record.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/failed_metric_record.go index 4cbc5663eb..615f00ad31 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/failed_metric_record.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/failed_metric_record.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -39,7 +39,7 @@ func (m FailedMetricRecord) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_history_request_response.go index 1386d75a8f..a0629d557f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmHistory.go.html to see an example of how to use GetAlarmHistoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmHistory.go.html to see an example of how to use GetAlarmHistoryRequest. type GetAlarmHistoryRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // Customer part of the request identifier token. If you need to contact Oracle about a particular @@ -33,12 +33,12 @@ type GetAlarmHistoryRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -91,7 +91,7 @@ func (request GetAlarmHistoryRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for AlarmHistorytype: %s. Supported values are: %s.", request.AlarmHistorytype, strings.Join(GetGetAlarmHistoryAlarmHistorytypeEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -111,7 +111,7 @@ type GetAlarmHistoryResponse struct { // For list pagination. When this header appears in the response, additional pages of results remain. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_request_response.go index 6f9f2b408d..49070d3d57 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarm.go.html to see an example of how to use GetAlarmRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarm.go.html to see an example of how to use GetAlarmRequest. type GetAlarmRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // Customer part of the request identifier token. If you need to contact Oracle about a particular @@ -62,7 +62,7 @@ func (request GetAlarmRequest) RetryPolicy() *common.RetryPolicy { func (request GetAlarmRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_suppression_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_suppression_request_response.go index 5f924583ed..ca8c017a3b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_suppression_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/get_alarm_suppression_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmSuppression.go.html to see an example of how to use GetAlarmSuppressionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmSuppression.go.html to see an example of how to use GetAlarmSuppressionRequest. type GetAlarmSuppressionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. AlarmSuppressionId *string `mandatory:"true" contributesTo:"path" name:"alarmSuppressionId"` // Customer part of the request identifier token. If you need to contact Oracle about a particular @@ -62,7 +62,7 @@ func (request GetAlarmSuppressionRequest) RetryPolicy() *common.RetryPolicy { func (request GetAlarmSuppressionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarm_suppressions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarm_suppressions_request_response.go index 83a7543eda..8f81eb39dd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarm_suppressions_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarm_suppressions_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,14 +15,14 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmSuppressions.go.html to see an example of how to use ListAlarmSuppressionsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmSuppressions.go.html to see an example of how to use ListAlarmSuppressionsRequest. type ListAlarmSuppressionsRequest struct { // Customer part of the request identifier token. If you need to contact Oracle about a particular // request, please provide the complete request ID. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId *string `mandatory:"false" contributesTo:"query" name:"alarmId"` // A filter to return only resources that match the given display name exactly. @@ -38,7 +38,7 @@ type ListAlarmSuppressionsRequest struct { // `DIMENSION` indicates a suppression configured for specified dimensions. Level AlarmSuppressionLevelEnum `mandatory:"false" contributesTo:"query" name:"level" omitEmpty:"true"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. // Use the tenancy OCID to search in the root compartment. // If targetType is not specified, searches all suppressions defined under the compartment. // If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. @@ -74,12 +74,12 @@ type ListAlarmSuppressionsRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -136,7 +136,7 @@ func (request ListAlarmSuppressionsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAlarmSuppressionsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -156,12 +156,12 @@ type ListAlarmSuppressionsResponse struct { // For list pagination. When this header appears in the response, next page of results remains. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, previous pages of results remains. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_request_response.go index 44c8c08c78..6ba7eb3654 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarms.go.html to see an example of how to use ListAlarmsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarms.go.html to see an example of how to use ListAlarmsRequest. type ListAlarmsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the // resources monitored by the metric that you are searching for. Use tenancyId to search in // the root compartment. // Example: `ocid1.compartment.oc1..exampleuniqueID` @@ -30,12 +30,12 @@ type ListAlarmsRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -108,7 +108,7 @@ func (request ListAlarmsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", request.SortOrder, strings.Join(GetListAlarmsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -124,7 +124,7 @@ type ListAlarmsResponse struct { // For list pagination. When this header appears in the response, additional pages of results remain. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_status_request_response.go index 2931e97b62..85df7d3b02 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_status_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_alarms_status_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmsStatus.go.html to see an example of how to use ListAlarmsStatusRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmsStatus.go.html to see an example of how to use ListAlarmsStatusRequest. type ListAlarmsStatusRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the // resources monitored by the metric that you are searching for. Use tenancyId to search in // the root compartment. // Example: `ocid1.compartment.oc1..exampleuniqueID` @@ -37,12 +37,12 @@ type ListAlarmsStatusRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -59,7 +59,7 @@ type ListAlarmsStatusRequest struct { // Example: `ASC` SortOrder ListAlarmsStatusSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` - // A filter to return only the resource with the specified OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // A filter to return only the resource with the specified OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // The resource must be monitored by the metric that you are searching for. // Example: `ocid1.instance.oc1.phx.exampleuniqueID` ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` @@ -69,7 +69,7 @@ type ListAlarmsStatusRequest struct { // Example: `logging-analytics` ServiceName *string `mandatory:"false" contributesTo:"query" name:"serviceName"` - // A filter to return only resources that match the given entity OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) exactly. + // A filter to return only resources that match the given entity OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) exactly. // The resource (entity) must be monitored by the metric that you are searching for. // Example: `ocid1.instance.oc1.phx.exampleuniqueID` EntityId *string `mandatory:"false" contributesTo:"query" name:"entityId"` @@ -125,7 +125,7 @@ func (request ListAlarmsStatusRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", request.Status, strings.Join(GetListAlarmsStatusStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -141,7 +141,7 @@ type ListAlarmsStatusResponse struct { // For list pagination. When this header appears in the response, additional pages of results remain. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_details.go index 141577d8c0..a0cbdf18c3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -76,7 +76,7 @@ func (m ListMetricsDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortOrder: %s. Supported values are: %s.", m.SortOrder, strings.Join(GetListMetricsDetailsSortOrderEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_request_response.go index 7b940c38d3..54297a9053 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/list_metrics_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListMetrics.go.html to see an example of how to use ListMetricsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListMetrics.go.html to see an example of how to use ListMetricsRequest. type ListMetricsRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the // resources monitored by the metric that you are searching for. Use tenancyId to search in // the root compartment. // Example: `ocid1.compartment.oc1..exampleuniqueID` @@ -33,12 +33,12 @@ type ListMetricsRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -87,7 +87,7 @@ func (request ListMetricsRequest) RetryPolicy() *common.RetryPolicy { func (request ListMetricsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -103,7 +103,7 @@ type ListMetricsResponse struct { // For list pagination. When this header appears in the response, additional pages of results remain. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric.go index 3358108c9a..62325b089c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -20,7 +20,7 @@ import ( // Metric The properties that define a metric. // For information about metrics, see -// Metrics Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). +// Metrics Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). type Metric struct { // The name of the metric. @@ -36,7 +36,7 @@ type Metric struct { // Example: `frontend-fleet` ResourceGroup *string `mandatory:"false" json:"resourceGroup"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing // the resources monitored by the metric. CompartmentId *string `mandatory:"false" json:"compartmentId"` @@ -57,7 +57,7 @@ func (m Metric) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data.go index 1d539d8711..bd67901759 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -20,7 +20,7 @@ import ( // MetricData The set of aggregated data returned for a metric. // For information about metrics, see -// Metrics Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). +// Metrics Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). // Limits information for returned data follows. // * Data points: 100,000. // * Metric streams* within data points: 2,000. @@ -32,7 +32,7 @@ import ( // Metric streams cannot be aggregated across metric groups. // A metric group is the combination of a given metric, metric namespace, and tenancy for the purpose of determining limits. // For more information about metric-related concepts, see -// Monitoring Concepts (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#concepts). +// Monitoring Concepts (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#concepts). type MetricData struct { // The reference provided in a metric definition to indicate the source service or @@ -40,7 +40,7 @@ type MetricData struct { // Example: `oci_computeagent` Namespace *string `mandatory:"true" json:"namespace"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the // resources that the aggregated data was returned from. CompartmentId *string `mandatory:"true" json:"compartmentId"` @@ -86,7 +86,7 @@ func (m MetricData) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data_details.go index 15ffcfe9c9..1fc88a1dc3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/metric_data_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -27,7 +27,7 @@ type MetricDataDetails struct { // Example: `my_namespace` Namespace *string `mandatory:"true" json:"namespace"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to use for metrics. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to use for metrics. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The name of the metric. @@ -71,7 +71,7 @@ func (m MetricDataDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go index 1b28044a0c..514740a6be 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -96,11 +96,11 @@ func (client *MonitoringClient) ConfigurationProvider() *common.ConfigurationPro // ChangeAlarmCompartment Moves an alarm into a different compartment within the same tenancy. // For more information, see -// Moving an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/change-compartment-alarm.htm). +// Moving an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/change-compartment-alarm.htm). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ChangeAlarmCompartment.go.html to see an example of how to use ChangeAlarmCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ChangeAlarmCompartment.go.html to see an example of how to use ChangeAlarmCompartment API. func (client MonitoringClient) ChangeAlarmCompartment(ctx context.Context, request ChangeAlarmCompartmentRequest) (response ChangeAlarmCompartmentResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -160,16 +160,16 @@ func (client MonitoringClient) changeAlarmCompartment(ctx context.Context, reque // CreateAlarm Creates a new alarm in the specified compartment. // For more information, see -// Creating an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm.htm). +// Creating an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarm.go.html to see an example of how to use CreateAlarm API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarm.go.html to see an example of how to use CreateAlarm API. func (client MonitoringClient) CreateAlarm(ctx context.Context, request CreateAlarmRequest) (response CreateAlarmResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -229,17 +229,17 @@ func (client MonitoringClient) createAlarm(ctx context.Context, request common.O // CreateAlarmSuppression Creates a new alarm suppression at the specified level (alarm-wide or dimension-specific). // For more information, see -// Adding an Alarm-wide Suppression (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/add-alarm-suppression.htm) and -// Adding a Dimension-Specific Alarm Suppression (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-suppression.htm). +// Adding an Alarm-wide Suppression (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/add-alarm-suppression.htm) and +// Adding a Dimension-Specific Alarm Suppression (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-suppression.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarmSuppression.go.html to see an example of how to use CreateAlarmSuppression API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/CreateAlarmSuppression.go.html to see an example of how to use CreateAlarmSuppression API. func (client MonitoringClient) CreateAlarmSuppression(ctx context.Context, request CreateAlarmSuppressionRequest) (response CreateAlarmSuppressionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -299,16 +299,16 @@ func (client MonitoringClient) createAlarmSuppression(ctx context.Context, reque // DeleteAlarm Deletes the specified alarm. // For more information, see -// Deleting an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/delete-alarm.htm). +// Deleting an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/delete-alarm.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarm.go.html to see an example of how to use DeleteAlarm API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarm.go.html to see an example of how to use DeleteAlarm API. func (client MonitoringClient) DeleteAlarm(ctx context.Context, request DeleteAlarmRequest) (response DeleteAlarmResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -362,17 +362,17 @@ func (client MonitoringClient) deleteAlarm(ctx context.Context, request common.O } // DeleteAlarmSuppression Deletes the specified alarm suppression. For more information, see -// Removing an Alarm-wide Suppression (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/remove-alarm-suppression.htm) and -// Removing a Dimension-Specific Alarm Suppression (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/delete-alarm-suppression.htm). +// Removing an Alarm-wide Suppression (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/remove-alarm-suppression.htm) and +// Removing a Dimension-Specific Alarm Suppression (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/delete-alarm-suppression.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarmSuppression.go.html to see an example of how to use DeleteAlarmSuppression API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/DeleteAlarmSuppression.go.html to see an example of how to use DeleteAlarmSuppression API. func (client MonitoringClient) DeleteAlarmSuppression(ctx context.Context, request DeleteAlarmSuppressionRequest) (response DeleteAlarmSuppressionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -427,16 +427,16 @@ func (client MonitoringClient) deleteAlarmSuppression(ctx context.Context, reque // GetAlarm Gets the specified alarm. // For more information, see -// Getting an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm.htm). +// Getting an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarm.go.html to see an example of how to use GetAlarm API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarm.go.html to see an example of how to use GetAlarm API. func (client MonitoringClient) GetAlarm(ctx context.Context, request GetAlarmRequest) (response GetAlarmResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -491,16 +491,16 @@ func (client MonitoringClient) getAlarm(ctx context.Context, request common.OCIR // GetAlarmHistory Get the history of the specified alarm. // For more information, see -// Getting History of an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-history.htm). +// Getting History of an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-history.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmHistory.go.html to see an example of how to use GetAlarmHistory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmHistory.go.html to see an example of how to use GetAlarmHistory API. func (client MonitoringClient) GetAlarmHistory(ctx context.Context, request GetAlarmHistoryRequest) (response GetAlarmHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -554,16 +554,16 @@ func (client MonitoringClient) getAlarmHistory(ctx context.Context, request comm } // GetAlarmSuppression Gets the specified alarm suppression. For more information, see -// Getting an Alarm-wide Suppression (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-suppression.htm). +// Getting an Alarm-wide Suppression (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-suppression.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmSuppression.go.html to see an example of how to use GetAlarmSuppression API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/GetAlarmSuppression.go.html to see an example of how to use GetAlarmSuppression API. func (client MonitoringClient) GetAlarmSuppression(ctx context.Context, request GetAlarmSuppressionRequest) (response GetAlarmSuppressionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -617,16 +617,16 @@ func (client MonitoringClient) getAlarmSuppression(ctx context.Context, request } // ListAlarmSuppressions Lists alarm suppressions for the specified alarm. For more information, see -// Listing Alarm Suppressions (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-suppression.htm). +// Listing Alarm Suppressions (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-suppression.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmSuppressions.go.html to see an example of how to use ListAlarmSuppressions API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmSuppressions.go.html to see an example of how to use ListAlarmSuppressions API. func (client MonitoringClient) ListAlarmSuppressions(ctx context.Context, request ListAlarmSuppressionsRequest) (response ListAlarmSuppressionsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -681,16 +681,16 @@ func (client MonitoringClient) listAlarmSuppressions(ctx context.Context, reques // ListAlarms Lists the alarms for the specified compartment. // For more information, see -// Listing Alarms (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm.htm). +// Listing Alarms (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarms.go.html to see an example of how to use ListAlarms API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarms.go.html to see an example of how to use ListAlarms API. func (client MonitoringClient) ListAlarms(ctx context.Context, request ListAlarmsRequest) (response ListAlarmsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -748,16 +748,16 @@ func (client MonitoringClient) listAlarms(ctx context.Context, request common.OC // To list alarm status for each metric stream, use RetrieveDimensionStates. // Optionally filter by resource or status value. // For more information, see -// Listing Alarm Statuses (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status.htm). +// Listing Alarm Statuses (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmsStatus.go.html to see an example of how to use ListAlarmsStatus API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListAlarmsStatus.go.html to see an example of how to use ListAlarmsStatus API. // A default retry strategy applies to this operation ListAlarmsStatus() func (client MonitoringClient) ListAlarmsStatus(ctx context.Context, request ListAlarmsStatusRequest) (response ListAlarmsStatusResponse, err error) { var ociResponse common.OCIResponse @@ -813,16 +813,16 @@ func (client MonitoringClient) listAlarmsStatus(ctx context.Context, request com // ListMetrics Returns metric definitions that match the criteria specified in the request. Compartment OCID required. // For more information, see -// Listing Metric Definitions (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-metric.htm). +// Listing Metric Definitions (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-metric.htm). // For information about metrics, see -// Metrics Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). +// Metrics Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // Transactions Per Second (TPS) per-tenancy limit for this operation: 10. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListMetrics.go.html to see an example of how to use ListMetrics API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/ListMetrics.go.html to see an example of how to use ListMetrics API. func (client MonitoringClient) ListMetrics(ctx context.Context, request ListMetricsRequest) (response ListMetricsResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -878,15 +878,15 @@ func (client MonitoringClient) listMetrics(ctx context.Context, request common.O // PostMetricData Publishes raw metric data points to the Monitoring service. // For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future). // For more information about publishing metrics, see -// Publishing Custom Metrics (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/publishingcustommetrics.htm) +// Publishing Custom Metrics (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/publishingcustommetrics.htm) // and -// Custom Metrics Walkthrough (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/custom-metrics-walkthrough.htm). +// Custom Metrics Walkthrough (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/custom-metrics-walkthrough.htm). // For information about developing a metric-posting client, see -// Developer Guide (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/devtoolslanding.htm). +// Developer Guide (https://docs.oracle.com/iaas/Content/API/Concepts/devtoolslanding.htm). // For an example client, see // MonitoringMetricPostExample.java (https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/MonitoringMetricPostExample.java). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // Per-call limits information follows. // * Dimensions per metric group*. Maximum: 20. Minimum: 1. // * Unique metric streams*. Maximum: 50. @@ -895,13 +895,13 @@ func (client MonitoringClient) listMetrics(ctx context.Context, request common.O // A dimension is a qualifier provided in a metric definition. // A metric stream is an individual set of aggregated data for a metric with zero or more dimension values. // For more information about metric-related concepts, see -// Monitoring Concepts (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#concepts). +// Monitoring Concepts (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#concepts). // **Note:** The endpoints for this operation differ from other Monitoring operations. Replace the string `telemetry` with `telemetry-ingestion` in the endpoint, as in the following example: // https://telemetry-ingestion.eu-frankfurt-1.oraclecloud.com // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/PostMetricData.go.html to see an example of how to use PostMetricData API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/PostMetricData.go.html to see an example of how to use PostMetricData API. func (client MonitoringClient) PostMetricData(ctx context.Context, request PostMetricDataRequest) (response PostMetricDataResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -956,16 +956,16 @@ func (client MonitoringClient) postMetricData(ctx context.Context, request commo // RemoveAlarmSuppression Removes any existing suppression for the specified alarm. // For more information, see -// Removing Suppression from an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/remove-alarm-suppression.htm). +// Removing Suppression from an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/remove-alarm-suppression.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RemoveAlarmSuppression.go.html to see an example of how to use RemoveAlarmSuppression API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RemoveAlarmSuppression.go.html to see an example of how to use RemoveAlarmSuppression API. func (client MonitoringClient) RemoveAlarmSuppression(ctx context.Context, request RemoveAlarmSuppressionRequest) (response RemoveAlarmSuppressionResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1021,16 +1021,16 @@ func (client MonitoringClient) removeAlarmSuppression(ctx context.Context, reque // RetrieveDimensionStates Lists the current alarm status of each metric stream, where status is derived from the metric stream's last associated transition. // Optionally filter by status value and one or more dimension key-value pairs. // For more information, see -// Listing Metric Stream Status in an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status-metric-stream.htm). +// Listing Metric Stream Status in an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status-metric-stream.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RetrieveDimensionStates.go.html to see an example of how to use RetrieveDimensionStates API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RetrieveDimensionStates.go.html to see an example of how to use RetrieveDimensionStates API. func (client MonitoringClient) RetrieveDimensionStates(ctx context.Context, request RetrieveDimensionStatesRequest) (response RetrieveDimensionStatesResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1084,16 +1084,16 @@ func (client MonitoringClient) retrieveDimensionStates(ctx context.Context, requ } // SummarizeAlarmSuppressionHistory Returns history of suppressions for the specified alarm, including both dimension-specific and and alarm-wide suppressions. For more information, see -// Getting Suppression History for an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/summarize-alarm-suppression-history.htm). +// Getting Suppression History for an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/summarize-alarm-suppression-history.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeAlarmSuppressionHistory.go.html to see an example of how to use SummarizeAlarmSuppressionHistory API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeAlarmSuppressionHistory.go.html to see an example of how to use SummarizeAlarmSuppressionHistory API. func (client MonitoringClient) SummarizeAlarmSuppressionHistory(ctx context.Context, request SummarizeAlarmSuppressionHistoryRequest) (response SummarizeAlarmSuppressionHistoryResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1148,16 +1148,16 @@ func (client MonitoringClient) summarizeAlarmSuppressionHistory(ctx context.Cont // SummarizeMetricsData Returns aggregated data that match the criteria specified in the request. Compartment OCID required. // For more information, see -// Querying Metric Data (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-landing.htm) +// Querying Metric Data (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-landing.htm) // and -// Creating a Query (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric.htm). +// Creating a Query (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // Transactions Per Second (TPS) per-tenancy limit for this operation: 10. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeMetricsData.go.html to see an example of how to use SummarizeMetricsData API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeMetricsData.go.html to see an example of how to use SummarizeMetricsData API. func (client MonitoringClient) SummarizeMetricsData(ctx context.Context, request SummarizeMetricsDataRequest) (response SummarizeMetricsDataResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() @@ -1212,16 +1212,16 @@ func (client MonitoringClient) summarizeMetricsData(ctx context.Context, request // UpdateAlarm Updates the specified alarm. // For more information, see -// Updating an Alarm (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm.htm). +// Updating an Alarm (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm.htm). // For important limits information, see -// Limits on Monitoring (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). +// Limits on Monitoring (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits). // This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. // Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, // or transactions, per second (TPS) for a given tenancy. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/UpdateAlarm.go.html to see an example of how to use UpdateAlarm API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/UpdateAlarm.go.html to see an example of how to use UpdateAlarm API. func (client MonitoringClient) UpdateAlarm(ctx context.Context, request UpdateAlarmRequest) (response UpdateAlarmResponse, err error) { var ociResponse common.OCIResponse policy := common.NoRetryPolicy() diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_details.go index aeb4b9f707..5490297445 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -48,7 +48,7 @@ func (m PostMetricDataDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for BatchAtomicity: %s. Supported values are: %s.", m.BatchAtomicity, strings.Join(GetPostMetricDataDetailsBatchAtomicityEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_request_response.go index 4275dc8338..3b329eb8bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/PostMetricData.go.html to see an example of how to use PostMetricDataRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/PostMetricData.go.html to see an example of how to use PostMetricDataRequest. type PostMetricDataRequest struct { // An array of metric objects containing raw metric data points to be posted to the Monitoring service. @@ -65,7 +65,7 @@ func (request PostMetricDataRequest) RetryPolicy() *common.RetryPolicy { func (request PostMetricDataRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_response_details.go index b91602e283..3c067e0573 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_response_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/post_metric_data_response_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -40,7 +40,7 @@ func (m PostMetricDataResponseDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/recurrence.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/recurrence.go index c5417b5e86..2ab0e67c50 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/recurrence.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/recurrence.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -45,7 +45,7 @@ func (m Recurrence) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/remove_alarm_suppression_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/remove_alarm_suppression_request_response.go index 08b00cf8e6..45e7dafded 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/remove_alarm_suppression_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/remove_alarm_suppression_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RemoveAlarmSuppression.go.html to see an example of how to use RemoveAlarmSuppressionRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RemoveAlarmSuppression.go.html to see an example of how to use RemoveAlarmSuppressionRequest. type RemoveAlarmSuppressionRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` @@ -67,7 +67,7 @@ func (request RemoveAlarmSuppressionRequest) RetryPolicy() *common.RetryPolicy { func (request RemoveAlarmSuppressionRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_details.go index 3a8651ba9e..9bec5f425d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -46,7 +46,7 @@ func (m RetrieveDimensionStatesDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetAlarmDimensionStatesEntryStatusEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_request_response.go index 3a17e5beed..ef13e344d6 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/retrieve_dimension_states_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RetrieveDimensionStates.go.html to see an example of how to use RetrieveDimensionStatesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/RetrieveDimensionStates.go.html to see an example of how to use RetrieveDimensionStatesRequest. type RetrieveDimensionStatesRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // Customer part of the request identifier token. If you need to contact Oracle about a particular @@ -27,12 +27,12 @@ type RetrieveDimensionStatesRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -77,7 +77,7 @@ func (request RetrieveDimensionStatesRequest) RetryPolicy() *common.RetryPolicy func (request RetrieveDimensionStatesRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -97,7 +97,7 @@ type RetrieveDimensionStatesResponse struct { // For list pagination. When this header appears in the response, additional pages of results remain. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_details.go index a3f952ff39..71068ff02b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -52,7 +52,7 @@ func (m SummarizeAlarmSuppressionHistoryDetails) ValidateEnumValue() (bool, erro errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_request_response.go index ee8ac684fc..f1d484e1ed 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_alarm_suppression_history_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeAlarmSuppressionHistory.go.html to see an example of how to use SummarizeAlarmSuppressionHistoryRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeAlarmSuppressionHistory.go.html to see an example of how to use SummarizeAlarmSuppressionHistoryRequest. type SummarizeAlarmSuppressionHistoryRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // Customer part of the request identifier token. If you need to contact Oracle about a particular @@ -27,12 +27,12 @@ type SummarizeAlarmSuppressionHistoryRequest struct { // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page, or items to return in a paginated "List" call. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). // Default: 1000 // Example: 500 Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` @@ -77,7 +77,7 @@ func (request SummarizeAlarmSuppressionHistoryRequest) RetryPolicy() *common.Ret func (request SummarizeAlarmSuppressionHistoryRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } @@ -97,12 +97,12 @@ type SummarizeAlarmSuppressionHistoryResponse struct { // For list pagination. When this header appears in the response, next page of results remains. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, previous pages of results remains. // For important details about how pagination works, see - // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_details.go index f3f7c1239f..62881b94c7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -34,9 +34,9 @@ type SummarizeMetricsDataDetails struct { // Supported grouping functions: `grouping()`, `groupBy()`. // Construct your query to avoid exceeding limits on returned data. See MetricData. // For details about Monitoring Query Language (MQL), see - // Monitoring Query Language (MQL) Reference (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). + // Monitoring Query Language (MQL) Reference (https://docs.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). // For available dimensions, review the metric definition for the supported service. See - // Supported Services (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). + // Supported Services (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // Example 1: `CpuUtilization[1m].sum()` // Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<instance_OCID>\"}.max()` Query *string `mandatory:"true" json:"query"` @@ -78,7 +78,7 @@ func (m SummarizeMetricsDataDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_request_response.go index 92af85be80..7c83cced3e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/summarize_metrics_data_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeMetricsData.go.html to see an example of how to use SummarizeMetricsDataRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/SummarizeMetricsData.go.html to see an example of how to use SummarizeMetricsDataRequest. type SummarizeMetricsDataRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the // resources monitored by the metric that you are searching for. Use tenancyId to search in // the root compartment. // Example: `ocid1.compartment.oc1..exampleuniqueID` @@ -75,7 +75,7 @@ func (request SummarizeMetricsDataRequest) RetryPolicy() *common.RetryPolicy { func (request SummarizeMetricsDataRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression.go index abd73ac69f..741b37c10f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -21,7 +21,7 @@ import ( // Suppression The configuration details for an alarm-wide suppression. // For dimension-specific suppressions, see AlarmSuppression. // For information about alarms, see -// Alarms Overview (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). +// Alarms Overview (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#AlarmsOverview). type Suppression struct { // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. @@ -52,7 +52,7 @@ func (m Suppression) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression_condition.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression_condition.go index 2d9c28f884..394a2493aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression_condition.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/suppression_condition.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -58,7 +58,7 @@ func (m *suppressioncondition) UnmarshalPolymorphicJSON(data []byte) (interface{ err = json.Unmarshal(data, &mm) return mm, err default: - common.Logf("Recieved unsupported enum value for SuppressionCondition: %s.", m.ConditionType) + common.Logf("Received unsupported enum value for SuppressionCondition: %s.", m.ConditionType) return *m, nil } } @@ -74,7 +74,7 @@ func (m suppressioncondition) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_details.go index f390c3cfc3..fe1c596bba 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -7,7 +7,7 @@ // Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. // Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. // For more information, see -// the Monitoring documentation (https://docs.cloud.oracle.com/iaas/Content/Monitoring/home.htm). +// the Monitoring documentation (https://docs.oracle.com/iaas/Content/Monitoring/home.htm). // package monitoring @@ -27,10 +27,10 @@ type UpdateAlarmDetails struct { // Example: `High CPU Utilization` DisplayName *string `mandatory:"false" json:"displayName"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId *string `mandatory:"false" json:"compartmentId"` - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric // being evaluated by the alarm. MetricCompartmentId *string `mandatory:"false" json:"metricCompartmentId"` @@ -60,14 +60,14 @@ type UpdateAlarmDetails struct { // interval values are supported for smaller time ranges. You can optionally // specify dimensions and grouping functions. // Also, you can customize the - // absence detection period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). + // absence detection period (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). // Supported grouping functions: `grouping()`, `groupBy()`. // For information about writing MQL expressions, see - // Editing the MQL Expression for a Query (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). + // Editing the MQL Expression for a Query (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). // For details about MQL, see - // Monitoring Query Language (MQL) Reference (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). + // Monitoring Query Language (MQL) Reference (https://docs.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). // For available dimensions, review the metric definition for the supported service. See - // Supported Services (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). + // Supported Services (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // Example of threshold alarm: // ----- // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 @@ -105,7 +105,7 @@ type UpdateAlarmDetails struct { Severity AlarmSeverityEnum `mandatory:"false" json:"severity,omitempty"` // The human-readable content of the delivered alarm notification. - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // Oracle recommends providing guidance // to operators for resolving the alarm condition. Consider adding links to standard runbook // practices. Avoid entering confidential information. @@ -123,7 +123,7 @@ type UpdateAlarmDetails struct { MessageFormat UpdateAlarmDetailsMessageFormatEnum `mandatory:"false" json:"messageFormat,omitempty"` // A list of destinations for alarm notifications. - // Each destination is represented by the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + // Each destination is represented by the OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) // of a related resource, such as a NotificationTopic. // Supported destination services: Notifications, Streaming. // Limit: One destination per supported destination service. @@ -165,8 +165,8 @@ type UpdateAlarmDetails struct { // The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion *string `mandatory:"false" json:"notificationVersion"` - // Customizable notification title (`title` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable notification title (`title` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle *string `mandatory:"false" json:"notificationTitle"` @@ -174,11 +174,11 @@ type UpdateAlarmDetails struct { // Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` // for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. // For more information about the slack period, see - // About the Internal Reset Period (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). + // About the Internal Reset Period (https://docs.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration *string `mandatory:"false" json:"evaluationSlackDuration"` - // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). - // Optionally include dynamic variables (https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). + // Customizable alarm summary (`alarmSummary` alarm message parameter (https://docs.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). + // Optionally include dynamic variables (https://docs.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). // The alarm summary appears within the body of the alarm message and in responses to // ListAlarmsStatus // GetAlarmHistory and @@ -203,7 +203,7 @@ func (m UpdateAlarmDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for MessageFormat: %s. Supported values are: %s.", m.MessageFormat, strings.Join(GetUpdateAlarmDetailsMessageFormatEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_request_response.go index e2142e03ad..b46d96e3bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/update_alarm_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/UpdateAlarm.go.html to see an example of how to use UpdateAlarmRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/monitoring/UpdateAlarm.go.html to see an example of how to use UpdateAlarmRequest. type UpdateAlarmRequest struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId *string `mandatory:"true" contributesTo:"path" name:"alarmId"` // Document for updating an alarm. @@ -70,7 +70,7 @@ func (request UpdateAlarmRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateAlarmRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/action_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/action_type.go index c67138c6ac..c8dcba09f5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/action_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/action_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend.go index b63b82e1c3..57b4efe5bd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,7 @@ import ( ) // Backend The configuration of a backend server that is a member of a network load balancer backend set. -// For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). +// For more information, see Backend Servers for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm). type Backend struct { // The communication port for the backend server. @@ -38,8 +38,8 @@ type Backend struct { // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections // as a server weighted '1'. - // For more information about load balancing policies, see - // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // For more information about network load balancing policies, see + // Network Load Balancer Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). // Example: `3` Weight *int `mandatory:"false" json:"weight"` @@ -70,7 +70,7 @@ func (m Backend) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_collection.go index 3a04e88510..1ac22ea70b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m BackendCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_details.go index 1dfb997ee0..62bd51b0eb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -38,7 +38,7 @@ type BackendDetails struct { // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections // as a server weighted '1'. // For more information about load balancing policies, see - // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // Network Load Balancer Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). // Example: `3` Weight *int `mandatory:"false" json:"weight"` @@ -69,7 +69,7 @@ func (m BackendDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_health.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_health.go index 0d477ef189..17c6887db0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_health.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_health.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -45,7 +45,7 @@ func (m BackendHealth) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_operational_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_operational_status.go new file mode 100644 index 0000000000..20998de4e9 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_operational_status.go @@ -0,0 +1,88 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +// NetworkLoadBalancer API +// +// This describes the network load balancer API. +// + +package networkloadbalancer + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// BackendOperationalStatus The operational status of the specified backend server. +type BackendOperationalStatus struct { + + // The operational status. + Status BackendOperationalStatusStatusEnum `mandatory:"true" json:"status"` +} + +func (m BackendOperationalStatus) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m BackendOperationalStatus) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if _, ok := GetMappingBackendOperationalStatusStatusEnum(string(m.Status)); !ok && m.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetBackendOperationalStatusStatusEnumStringValues(), ","))) + } + + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// BackendOperationalStatusStatusEnum Enum with underlying type: string +type BackendOperationalStatusStatusEnum string + +// Set of constants representing the allowable values for BackendOperationalStatusStatusEnum +const ( + BackendOperationalStatusStatusActive BackendOperationalStatusStatusEnum = "ACTIVE" + BackendOperationalStatusStatusStandby BackendOperationalStatusStatusEnum = "STANDBY" + BackendOperationalStatusStatusUnknown BackendOperationalStatusStatusEnum = "UNKNOWN" +) + +var mappingBackendOperationalStatusStatusEnum = map[string]BackendOperationalStatusStatusEnum{ + "ACTIVE": BackendOperationalStatusStatusActive, + "STANDBY": BackendOperationalStatusStatusStandby, + "UNKNOWN": BackendOperationalStatusStatusUnknown, +} + +var mappingBackendOperationalStatusStatusEnumLowerCase = map[string]BackendOperationalStatusStatusEnum{ + "active": BackendOperationalStatusStatusActive, + "standby": BackendOperationalStatusStatusStandby, + "unknown": BackendOperationalStatusStatusUnknown, +} + +// GetBackendOperationalStatusStatusEnumValues Enumerates the set of values for BackendOperationalStatusStatusEnum +func GetBackendOperationalStatusStatusEnumValues() []BackendOperationalStatusStatusEnum { + values := make([]BackendOperationalStatusStatusEnum, 0) + for _, v := range mappingBackendOperationalStatusStatusEnum { + values = append(values, v) + } + return values +} + +// GetBackendOperationalStatusStatusEnumStringValues Enumerates the set of values in String for BackendOperationalStatusStatusEnum +func GetBackendOperationalStatusStatusEnumStringValues() []string { + return []string{ + "ACTIVE", + "STANDBY", + "UNKNOWN", + } +} + +// GetMappingBackendOperationalStatusStatusEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingBackendOperationalStatusStatusEnum(val string) (BackendOperationalStatusStatusEnum, bool) { + enum, ok := mappingBackendOperationalStatusStatusEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set.go index bdc8a7ae67..36e8c4de90 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -17,7 +17,7 @@ import ( // BackendSet The configuration of a network load balancer backend set. // For more information about backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Backend Sets for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). // **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type BackendSet struct { @@ -45,6 +45,12 @@ type BackendSet struct { // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy. IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"` + // If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled. + IsInstantFailoverTcpResetEnabled *bool `mandatory:"false" json:"isInstantFailoverTcpResetEnabled"` + + // If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy. + AreOperationallyActiveBackendsPreferred *bool `mandatory:"false" json:"areOperationallyActiveBackendsPreferred"` + // IP version associated with the backend set. IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"` @@ -69,7 +75,7 @@ func (m BackendSet) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_collection.go index 7b92a31ee9..494d099481 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m BackendSetCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_details.go index dac452a982..b291e172fd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -17,7 +17,7 @@ import ( // BackendSetDetails The configuration of a network load balancer backend set. // For more information about backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Backend Sets for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). // **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type BackendSetDetails struct { HealthChecker *HealthChecker `mandatory:"true" json:"healthChecker"` @@ -41,6 +41,12 @@ type BackendSetDetails struct { // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy. IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"` + // If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled. + IsInstantFailoverTcpResetEnabled *bool `mandatory:"false" json:"isInstantFailoverTcpResetEnabled"` + + // If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy. + AreOperationallyActiveBackendsPreferred *bool `mandatory:"false" json:"areOperationallyActiveBackendsPreferred"` + // An array of backends. Backends []Backend `mandatory:"false" json:"backends"` } @@ -62,7 +68,7 @@ func (m BackendSetDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_health.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_health.go index 4eaf24dfd1..7f3dd647d2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_health.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_health.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -63,7 +63,7 @@ func (m BackendSetHealth) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_summary.go index cb1886532a..cd29ddd67e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_set_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -17,7 +17,7 @@ import ( // BackendSetSummary The configuration of a network load balancer backend set. // For more information about backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Backend Sets for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). // **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type BackendSetSummary struct { @@ -48,6 +48,12 @@ type BackendSetSummary struct { // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy. IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"` + // If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled. + IsInstantFailoverTcpResetEnabled *bool `mandatory:"false" json:"isInstantFailoverTcpResetEnabled"` + + // If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy. + AreOperationallyActiveBackendsPreferred *bool `mandatory:"false" json:"areOperationallyActiveBackendsPreferred"` + // IP version associated with the backend set. IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"` } @@ -69,7 +75,7 @@ func (m BackendSetSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_summary.go index 5bb9e19407..3ba18e8df2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/backend_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,7 @@ import ( ) // BackendSummary The configuration of a backend server that is a member of a network load balancer backend set. -// For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). +// For more information, see Backend Servers for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm). type BackendSummary struct { // The communication port for the backend server. @@ -38,8 +38,8 @@ type BackendSummary struct { // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections // as a server weighted '1'. - // For more information about load balancing policies, see - // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // For more information about network load balancing policies, see + // Network Load Balancer Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). // Example: `3` Weight *int `mandatory:"false" json:"weight"` @@ -70,7 +70,7 @@ func (m BackendSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_details.go index 60d5fdbabf..8ac96ab3a2 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -19,7 +19,7 @@ import ( // **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type ChangeNetworkLoadBalancerCompartmentDetails struct { - // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which to move the network load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to which to move the network load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` } @@ -34,7 +34,7 @@ func (m ChangeNetworkLoadBalancerCompartmentDetails) ValidateEnumValue() (bool, errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_request_response.go index becb43790c..dd23a37d1f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/change_network_load_balancer_compartment_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.go.html to see an example of how to use ChangeNetworkLoadBalancerCompartmentRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.go.html to see an example of how to use ChangeNetworkLoadBalancerCompartmentRequest. type ChangeNetworkLoadBalancerCompartmentRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The configuration details for moving a network load balancer to a different compartment. @@ -79,7 +79,7 @@ func (request ChangeNetworkLoadBalancerCompartmentRequest) RetryPolicy() *common func (request ChangeNetworkLoadBalancerCompartmentRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_details.go index 48c80bed4a..ff23b45452 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,7 @@ import ( ) // CreateBackendDetails The configuration of a backend server that is a member of a network load balancer backend set. -// For more information, see Managing Backend Servers (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). +// For more information, see Backend Servers for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm). type CreateBackendDetails struct { // The communication port for the backend server. @@ -38,8 +38,8 @@ type CreateBackendDetails struct { // The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections // as a server weighted '1'. - // For more information about load balancing policies, see - // How Network Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // For more information about network load balancer policies, see + // Network Load Balancer Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). // Example: `3` Weight *int `mandatory:"false" json:"weight"` @@ -70,7 +70,7 @@ func (m CreateBackendDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_request_response.go index f783a6daec..8f7553a5a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackend.go.html to see an example of how to use CreateBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackend.go.html to see an example of how to use CreateBackendRequest. type CreateBackendRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The details to add a backend server to a backend set. @@ -83,7 +83,7 @@ func (request CreateBackendRequest) RetryPolicy() *common.RetryPolicy { func (request CreateBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_details.go index 11daa6a981..73afe14375 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -17,7 +17,7 @@ import ( // CreateBackendSetDetails The configuration details for creating a backend set in a network load balancer. // For more information about backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Backend Sets for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). // **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type CreateBackendSetDetails struct { @@ -45,6 +45,12 @@ type CreateBackendSetDetails struct { // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy. IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"` + // If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled. + IsInstantFailoverTcpResetEnabled *bool `mandatory:"false" json:"isInstantFailoverTcpResetEnabled"` + + // If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy. + AreOperationallyActiveBackendsPreferred *bool `mandatory:"false" json:"areOperationallyActiveBackendsPreferred"` + // IP version associated with the backend set. IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"` @@ -69,7 +75,7 @@ func (m CreateBackendSetDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_request_response.go index a1e2948612..59672f034a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSetRequest. type CreateBackendSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The details for adding a backend set. @@ -79,7 +79,7 @@ func (request CreateBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request CreateBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_details.go index b73698b96c..5109116f75 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,8 +16,8 @@ import ( ) // CreateListenerDetails The configuration of the listener. -// For more information about backend set configuration, see -// Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// For more information about listener configuration, see +// Listeners for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/Listeners/listener-management.htm). type CreateListenerDetails struct { // A friendly name for the listener. It must be unique and it cannot be changed. @@ -75,7 +75,7 @@ func (m CreateListenerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_request_response.go index 08fb4614c7..39366982d8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateListener.go.html to see an example of how to use CreateListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateListener.go.html to see an example of how to use CreateListenerRequest. type CreateListenerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // Details to add a listener. @@ -79,7 +79,7 @@ func (request CreateListenerRequest) RetryPolicy() *common.RetryPolicy { func (request CreateListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_details.go index 27818037c7..859c5e9772 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,22 +16,22 @@ import ( ) // CreateNetworkLoadBalancerDetails The properties that define a network load balancer. For more information, see -// Managing a network load balancer (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingloadbalancer.htm). +// Introduction to Network Load Balancer (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, then // contact an administrator. If you are an administrator who writes policies to give users access, then see -// Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // For information about endpoints and signing API requests, see -// About the API (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see -// SDKS and Other Tools (https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm). +// About the API (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see +// SDKS and Other Tools (https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm). type CreateNetworkLoadBalancerDetails struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Network load balancer identifier, which can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` - // The subnet in which the network load balancer is spawned OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The subnet in which the network load balancer is spawned OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). SubnetId *string `mandatory:"true" json:"subnetId"` // This parameter can be enabled only if backends are compute OCIDs. When enabled, the skipSourceDestinationCheck parameter is automatically @@ -49,14 +49,14 @@ type CreateNetworkLoadBalancerDetails struct { // If "true", then the service assigns a private IP address to the network load balancer. // If "false", then the service assigns a public IP address to the network load balancer. // A public network load balancer is accessible from the internet, depending on the - // security list rules (https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and + // security list rules (https://docs.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and // private network load balancers, - // see How Network Load Balancing Works (https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). + // see Network Load Balancer Types (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#NetworkLoadBalancerTypes). // This value is true by default. // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` - // An array of network security groups OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load + // An array of network security groups OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the network load // balancer. // During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups. // The benefits of associating the network load balancer with network security groups include: @@ -97,7 +97,7 @@ type CreateNetworkLoadBalancerDetails struct { DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"oracle-zpr": {"td": {"value": "42", "mode": "audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` } @@ -116,7 +116,7 @@ func (m CreateNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NlbIpVersion: %s. Supported values are: %s.", m.NlbIpVersion, strings.Join(GetNlbIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_request_response.go index 75b4b9ddfc..828bc639e1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/create_network_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateNetworkLoadBalancer.go.html to see an example of how to use CreateNetworkLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateNetworkLoadBalancer.go.html to see an example of how to use CreateNetworkLoadBalancerRequest. type CreateNetworkLoadBalancerRequest struct { // Details for the new network load balancer. @@ -69,7 +69,7 @@ func (request CreateNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolic func (request CreateNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_request_response.go index 2a365d0907..8d4f412933 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackendRequest. type DeleteBackendRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set associated with the backend server. @@ -80,7 +80,7 @@ func (request DeleteBackendRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_set_request_response.go index 56b2972952..4412b3e6ac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSetRequest. type DeleteBackendSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set to delete. @@ -73,7 +73,7 @@ func (request DeleteBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_listener_request_response.go index 0a7b9caf1f..ccb2ffb37b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteListener.go.html to see an example of how to use DeleteListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteListener.go.html to see an example of how to use DeleteListenerRequest. type DeleteListenerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the listener to delete. @@ -73,7 +73,7 @@ func (request DeleteListenerRequest) RetryPolicy() *common.RetryPolicy { func (request DeleteListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_network_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_network_load_balancer_request_response.go index 47e6be97d2..ad5933028c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_network_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/delete_network_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteNetworkLoadBalancer.go.html to see an example of how to use DeleteNetworkLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteNetworkLoadBalancer.go.html to see an example of how to use DeleteNetworkLoadBalancerRequest. type DeleteNetworkLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // For optimistic concurrency control. In the PUT or DELETE call @@ -69,7 +69,7 @@ func (request DeleteNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolic func (request DeleteNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_classes.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_classes.go index 646318a7e7..f18d553266 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_classes.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_classes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_types.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_types.go index 8c591f1411..8304b114c1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_types.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_query_types.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_r_codes.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_r_codes.go index d5a1702f1d..05315b8769 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_r_codes.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_r_codes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_transport_protocols.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_transport_protocols.go index b3ee721586..8eaf778a68 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_transport_protocols.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_check_transport_protocols.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_checker_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_checker_details.go index b7bae47b61..e3d25eea71 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_checker_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/dns_health_checker_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -59,7 +59,7 @@ func (m DnsHealthCheckerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for QueryType: %s. Supported values are: %s.", m.QueryType, strings.Join(GetDnsHealthCheckQueryTypesEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_health_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_health_request_response.go index d1e4278888..694673d04d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_health_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_health_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealthRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealthRequest. type GetBackendHealthRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set associated with the backend server for which to retrieve the health status. @@ -73,7 +73,7 @@ func (request GetBackendHealthRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendHealthRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_operational_status_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_operational_status_request_response.go new file mode 100644 index 0000000000..76d5450498 --- /dev/null +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_operational_status_request_response.go @@ -0,0 +1,102 @@ +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. +// Code generated. DO NOT EDIT. + +package networkloadbalancer + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetBackendOperationalStatusRequest wrapper for the GetBackendOperationalStatus operation +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendOperationalStatus.go.html to see an example of how to use GetBackendOperationalStatusRequest. +type GetBackendOperationalStatusRequest struct { + + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` + + // The name of the backend set associated with the backend server for which to retrieve the operational status. + // Example: `example_backend_set` + BackendSetName *string `mandatory:"true" contributesTo:"path" name:"backendSetName"` + + // The name of the backend server to retrieve health status for. + // If the backend was created with an explicitly specified name, that name should be used here. + // If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. + // If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. + // Example: `10.0.0.3:8080` or `ocid1.privateip..oc1.<unique_ID>:8080` + BackendName *string `mandatory:"true" contributesTo:"path" name:"backendName"` + + // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a + // particular request, then provide the request identifier. + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetBackendOperationalStatusRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetBackendOperationalStatusRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetBackendOperationalStatusRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetBackendOperationalStatusRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetBackendOperationalStatusRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetBackendOperationalStatusResponse wrapper for the GetBackendOperationalStatus operation +type GetBackendOperationalStatusResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The BackendOperationalStatus instance + BackendOperationalStatus `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you must contact + // Oracle about a particular request, then provide the request identifier. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetBackendOperationalStatusResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetBackendOperationalStatusResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_request_response.go index d8aa3e21b0..097aa6e72e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackend.go.html to see an example of how to use GetBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackend.go.html to see an example of how to use GetBackendRequest. type GetBackendRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set that includes the backend server. @@ -79,7 +79,7 @@ func (request GetBackendRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_health_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_health_request_response.go index f0c58ba595..95c691da22 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_health_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_health_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealthRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealthRequest. type GetBackendSetHealthRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set for which to retrieve the health status. @@ -66,7 +66,7 @@ func (request GetBackendSetHealthRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendSetHealthRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_request_response.go index 1432595bc7..e3ad40ee48 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSetRequest. type GetBackendSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set to retrieve. @@ -72,7 +72,7 @@ func (request GetBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request GetBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_health_checker_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_health_checker_request_response.go index 064f2bb256..f396cac203 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_health_checker_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_health_checker_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthCheckerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthCheckerRequest. type GetHealthCheckerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set associated with the health check policy to be retrieved. @@ -79,7 +79,7 @@ func (request GetHealthCheckerRequest) RetryPolicy() *common.RetryPolicy { func (request GetHealthCheckerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_listener_request_response.go index 1467fd16f6..6f1ae8afcd 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetListener.go.html to see an example of how to use GetListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetListener.go.html to see an example of how to use GetListenerRequest. type GetListenerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the listener to get. @@ -72,7 +72,7 @@ func (request GetListenerRequest) RetryPolicy() *common.RetryPolicy { func (request GetListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_health_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_health_request_response.go index 724b1b54b6..988986b502 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_health_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_health_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancerHealth.go.html to see an example of how to use GetNetworkLoadBalancerHealthRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancerHealth.go.html to see an example of how to use GetNetworkLoadBalancerHealthRequest. type GetNetworkLoadBalancerHealthRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -62,7 +62,7 @@ func (request GetNetworkLoadBalancerHealthRequest) RetryPolicy() *common.RetryPo func (request GetNetworkLoadBalancerHealthRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_request_response.go index 012ede5677..3bed04b950 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_network_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancer.go.html to see an example of how to use GetNetworkLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancer.go.html to see an example of how to use GetNetworkLoadBalancerRequest. type GetNetworkLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The system returns the requested resource, with a 200 status, only if the resource has no etag @@ -68,7 +68,7 @@ func (request GetNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolicy { func (request GetNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_work_request_request_response.go index 70bb672a8b..6ea151fa89 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_work_request_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/get_work_request_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { // The identifier of the asynchronous request. @@ -62,7 +62,7 @@ func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy { func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/hcs_infra_ip_version.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/hcs_infra_ip_version.go index 615e1d44b6..4300f59b74 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/hcs_infra_ip_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/hcs_infra_ip_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_protocols.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_protocols.go index f89410881f..a90c10dcac 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_protocols.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_protocols.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_result.go index 0c52de86ec..7add2c8bc5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_result.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_check_result.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -40,7 +40,7 @@ func (m HealthCheckResult) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker.go index 307c0ad883..1669915e93 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,7 @@ import ( ) // HealthChecker The health check policy configuration. -// For more information, see Editing Health Check Policies (https://docs.cloud.oracle.com/Content/Balance/Tasks/editinghealthcheck.htm). +// For more information, see Editing Network Load Balancer Health Check Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-management.htm). type HealthChecker struct { // The protocol the health check must use; either HTTP or HTTPS, or UDP or TCP. @@ -78,7 +78,7 @@ func (m HealthChecker) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker_details.go index bf9eb16f05..df89667168 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/health_checker_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,7 +16,7 @@ import ( ) // HealthCheckerDetails The health check policy configuration. -// For more information, see Editing Health Check Policies (https://docs.cloud.oracle.com/Content/Balance/Tasks/editinghealthcheck.htm). +// For more information, see Editing Network Load Balancer Health Check Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm). type HealthCheckerDetails struct { // The protocol the health check must use; either HTTP or HTTPS, or UDP or TCP. @@ -78,7 +78,7 @@ func (m HealthCheckerDetails) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_address.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_address.go index 361bd49c2b..b68fef2fed 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_address.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_address.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -47,7 +47,7 @@ func (m IpAddress) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_version.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_version.go index 76cbbb0988..b9352c7bb8 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/ip_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/lifecycle_state.go index d1a115c66b..50b8cd85ce 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/lifecycle_state.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/lifecycle_state.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backend_sets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backend_sets_request_response.go index 46f49ad504..7d879c792c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backend_sets_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backend_sets_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSetsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSetsRequest. type ListBackendSetsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -32,12 +32,12 @@ type ListBackendSetsRequest struct { IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -90,7 +90,7 @@ func (request ListBackendSetsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListBackendSetsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backends_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backends_request_response.go index 263687451c..d5df7aec57 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backends_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_backends_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackends.go.html to see an example of how to use ListBackendsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackends.go.html to see an example of how to use ListBackendsRequest. type ListBackendsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The name of the backend set associated with the backend servers. @@ -36,12 +36,12 @@ type ListBackendsRequest struct { IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -94,7 +94,7 @@ func (request ListBackendsRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListBackendsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_listeners_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_listeners_request_response.go index 2bde176b87..dfc2327778 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_listeners_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_listeners_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListListeners.go.html to see an example of how to use ListListenersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListListeners.go.html to see an example of how to use ListListenersRequest. type ListListenersRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -32,12 +32,12 @@ type ListListenersRequest struct { IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -90,7 +90,7 @@ func (request ListListenersRequest) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListListenersSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancer_healths_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancer_healths_request_response.go index 4d81c13272..451fcb33e7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancer_healths_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancer_healths_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancerHealths.go.html to see an example of how to use ListNetworkLoadBalancerHealthsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancerHealths.go.html to see an example of how to use ListNetworkLoadBalancerHealthsRequest. type ListNetworkLoadBalancerHealthsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -33,12 +33,12 @@ type ListNetworkLoadBalancerHealthsRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but @@ -84,7 +84,7 @@ func (request ListNetworkLoadBalancerHealthsRequest) ValidateEnumValue() (bool, errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkLoadBalancerHealthsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_policies_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_policies_request_response.go index 5e2acc06ea..d26a7de021 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_policies_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_policies_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersPolicies.go.html to see an example of how to use ListNetworkLoadBalancersPoliciesRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersPolicies.go.html to see an example of how to use ListNetworkLoadBalancersPoliciesRequest. type ListNetworkLoadBalancersPoliciesRequest struct { // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -23,12 +23,12 @@ type ListNetworkLoadBalancersPoliciesRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -81,7 +81,7 @@ func (request ListNetworkLoadBalancersPoliciesRequest) ValidateEnumValue() (bool errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkLoadBalancersPoliciesSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_protocols_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_protocols_request_response.go index 097490b316..71ae038d76 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_protocols_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_protocols_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,7 +15,7 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersProtocols.go.html to see an example of how to use ListNetworkLoadBalancersProtocolsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersProtocols.go.html to see an example of how to use ListNetworkLoadBalancersProtocolsRequest. type ListNetworkLoadBalancersProtocolsRequest struct { // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -23,12 +23,12 @@ type ListNetworkLoadBalancersProtocolsRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -81,7 +81,7 @@ func (request ListNetworkLoadBalancersProtocolsRequest) ValidateEnumValue() (boo errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkLoadBalancersProtocolsSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_request_response.go index 4beb7be510..5769b8094a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_network_load_balancers_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancers.go.html to see an example of how to use ListNetworkLoadBalancersRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancers.go.html to see an example of how to use ListNetworkLoadBalancersRequest. type ListNetworkLoadBalancersRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A filter to return only resources that match the given lifecycle state. @@ -28,12 +28,12 @@ type ListNetworkLoadBalancersRequest struct { DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' (ascending) or 'desc' (descending). @@ -93,7 +93,7 @@ func (request ListNetworkLoadBalancersRequest) ValidateEnumValue() (bool, error) errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SortBy: %s. Supported values are: %s.", request.SortBy, strings.Join(GetListNetworkLoadBalancersSortByEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_errors_request_response.go index 6b813734d7..1512cb51df 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_errors_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_errors_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { // The identifier of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -30,11 +30,11 @@ type ListWorkRequestErrorsRequest struct { // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but @@ -74,7 +74,7 @@ func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_logs_request_response.go index 9ea3e0ad3c..7359c4cb79 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_logs_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_request_logs_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,13 +15,13 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { // The identifier of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -30,11 +30,11 @@ type ListWorkRequestLogsRequest struct { // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // Metadata about the request. This information will not be transmitted to the service, but @@ -74,7 +74,7 @@ func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_requests_request_response.go index 57830cf31a..8fdf665272 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_requests_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/list_work_requests_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancers to list. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The unique Oracle-assigned identifier for the request. If you must contact Oracle about a @@ -26,12 +26,12 @@ type ListWorkRequestsRequest struct { OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // For list pagination. The maximum number of results per page or items to return, in a paginated "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page from which to start retrieving results. // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. - // For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + // For important details about how pagination works, see List Pagination (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but @@ -71,7 +71,7 @@ func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy { func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener.go index 655a86a6ec..c69eafdb2e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,8 +16,8 @@ import ( ) // Listener The congfiguration of the listener. -// For more information about backend set configuration, see -// Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// For more information about listener configuration, see +// Listeners for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/Listeners/listener-management.htm). type Listener struct { // A friendly name for the listener. It must be unique and it cannot be changed. @@ -75,7 +75,7 @@ func (m Listener) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_collection.go index c970b15600..c409ea7fa0 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m ListenerCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_details.go index 3437ab6657..61796de363 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,8 +16,8 @@ import ( ) // ListenerDetails The listener's configuration. -// For more information about backend set configuration, see -// Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// For more information about listener configuration, see +// Listeners for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/Listeners/listener-management.htm). type ListenerDetails struct { // A friendly name for the listener. It must be unique and it cannot be changed. @@ -75,7 +75,7 @@ func (m ListenerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_protocols.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_protocols.go index f77bb18e51..5afa547325 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_protocols.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_protocols.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_summary.go index f50b9d26a9..e32ea60d5c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/listener_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,8 +16,8 @@ import ( ) // ListenerSummary The configuration of the listener. -// For more information about backend set configuration, see -// Managing Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// For more information about listener configuration, see +// Listeners for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/Listeners/listener-management.htm). type ListenerSummary struct { // A friendly name for the listener. It must be unique and it cannot be changed. @@ -75,7 +75,7 @@ func (m ListenerSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer.go index 07170a3466..f039d020d1 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,19 +16,19 @@ import ( ) // NetworkLoadBalancer The properties that define a network load balancer. For more information, see -// Managing a network load balancer (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingloadbalancer.htm). +// Introduction to Network Load Balancer (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm). // To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, // contact an administrator. If you are an administrator who writes policies to give users access, then see -// Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). +// Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). // For information about endpoints and signing API requests, see -// About the API (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see -// SDKS and Other Tools (https://docs.cloud.oracle.com/Content/API/Concepts/sdks.htm). +// About the API (https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see +// SDKS and Other Tools (https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm). type NetworkLoadBalancer struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name, which does not have to be unique, and can be changed. @@ -45,7 +45,7 @@ type NetworkLoadBalancer struct { // An array of IP addresses. IpAddresses []IpAddress `mandatory:"true" json:"ipAddresses"` - // The subnet in which the network load balancer is spawned OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The subnet in which the network load balancer is spawned OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). SubnetId *string `mandatory:"true" json:"subnetId"` // A message describing the current state in more detail. @@ -63,9 +63,9 @@ type NetworkLoadBalancer struct { // If "true", then the service assigns a private IP address to the network load balancer. // If "false", then the service assigns a public IP address to the network load balancer. // A public network load balancer is accessible from the internet, depending the - // security list rules (https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and + // security list rules (https://docs.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and // private network load balancers, - // see How Network Load Balancing Works (https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). + // see Network Load Balancer Types (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#NetworkLoadBalancerTypes). // This value is true by default. // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` @@ -78,7 +78,7 @@ type NetworkLoadBalancer struct { // This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. IsSymmetricHashEnabled *bool `mandatory:"false" json:"isSymmetricHashEnabled"` - // An array of network security groups OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load + // An array of network security groups OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the network load // balancer. // During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups. // The benefits of associating the network load balancer with network security groups include: @@ -95,17 +95,17 @@ type NetworkLoadBalancer struct { BackendSets map[string]BackendSet `mandatory:"false" json:"backendSets"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{ "oracle-zpr": { "td": { "value": "42", "mode": "audit" } } }` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -131,7 +131,7 @@ func (m NetworkLoadBalancer) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NlbIpVersion: %s. Supported values are: %s.", m.NlbIpVersion, strings.Join(GetNlbIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_collection.go index 14d219b25a..3bbe2cc37d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m NetworkLoadBalancerCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health.go index c30f4cf1fa..2cd36b625b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -67,7 +67,7 @@ func (m NetworkLoadBalancerHealth) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_collection.go index 739b773d2e..56c12b7c2e 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m NetworkLoadBalancerHealthCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_summary.go index 457ac44ffd..75045b6d4a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_health_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -18,7 +18,7 @@ import ( // NetworkLoadBalancerHealthSummary A health status summary for the specified network load balancer type NetworkLoadBalancerHealthSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer with which the health status is associated. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer with which the health status is associated. NetworkLoadBalancerId *string `mandatory:"true" json:"networkLoadBalancerId"` // The overall health status of the network load balancer. @@ -49,7 +49,7 @@ func (m NetworkLoadBalancerHealthSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_summary.go index b8db09cd65..2ae6ea47cc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancer_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -18,10 +18,10 @@ import ( // NetworkLoadBalancerSummary Network load balancer object to be used for list operations. type NetworkLoadBalancerSummary struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer. Id *string `mandatory:"true" json:"id"` - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the network load balancer. CompartmentId *string `mandatory:"true" json:"compartmentId"` // A user-friendly name, which does not have to be unique, and can be changed. @@ -38,7 +38,7 @@ type NetworkLoadBalancerSummary struct { // An array of IP addresses. IpAddresses []IpAddress `mandatory:"true" json:"ipAddresses"` - // The subnet in which the network load balancer is spawned OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). + // The subnet in which the network load balancer is spawned OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). SubnetId *string `mandatory:"true" json:"subnetId"` // A message describing the current state in more detail. @@ -56,9 +56,9 @@ type NetworkLoadBalancerSummary struct { // If "true", then the service assigns a private IP address to the network load balancer. // If "false", then the service assigns a public IP address to the network load balancer. // A public network load balancer is accessible from the internet, depending the - // security list rules (https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and + // security list rules (https://docs.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and // private network load balancers, - // see How Network Load Balancing Works (https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). + // see Network Load Balancer Types (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#NetworkLoadBalancerTypes). // This value is true by default. // Example: `true` IsPrivate *bool `mandatory:"false" json:"isPrivate"` @@ -71,7 +71,7 @@ type NetworkLoadBalancerSummary struct { // This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. IsSymmetricHashEnabled *bool `mandatory:"false" json:"isSymmetricHashEnabled"` - // An array of network security groups OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load + // An array of network security groups OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the network load // balancer. // During the creation of the network load balancer, the service adds the new load balancer to the specified network security groups. // The benefits of associating the network load balancer with network security groups include: @@ -88,17 +88,17 @@ type NetworkLoadBalancerSummary struct { BackendSets map[string]BackendSet `mandatory:"false" json:"backendSets"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{ "oracle-zpr": { "td": { "value": "42", "mode": "audit" } } }` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` @@ -124,7 +124,7 @@ func (m NetworkLoadBalancerSummary) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NlbIpVersion: %s. Supported values are: %s.", m.NlbIpVersion, strings.Join(GetNlbIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_collection.go index 093fadf6d2..01d1b24231 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m NetworkLoadBalancersPolicyCollection) ValidateEnumValue() (bool, error) errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_summary.go index 0118a72ea1..807933dd15 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_policy_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_collection.go index 4aa402a07b..67cd907c79 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -34,7 +34,7 @@ func (m NetworkLoadBalancersProtocolCollection) ValidateEnumValue() (bool, error errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_summary.go index 92dc5380a6..7004d3fad3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancers_protocol_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancing_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancing_policy.go index 55b1cd64d6..8dbb0f41fe 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancing_policy.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/network_load_balancing_policy.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go index 3e657977ea..b5d96a10ab 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -92,11 +92,11 @@ func (client *NetworkLoadBalancerClient) ConfigurationProvider() *common.Configu } // ChangeNetworkLoadBalancerCompartment Moves a network load balancer into a different compartment within the same tenancy. For information about moving resources -// between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// between compartments, see Moving Resources to a Different Compartment (https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.go.html to see an example of how to use ChangeNetworkLoadBalancerCompartment API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ChangeNetworkLoadBalancerCompartment.go.html to see an example of how to use ChangeNetworkLoadBalancerCompartment API. // A default retry strategy applies to this operation ChangeNetworkLoadBalancerCompartment() func (client NetworkLoadBalancerClient) ChangeNetworkLoadBalancerCompartment(ctx context.Context, request ChangeNetworkLoadBalancerCompartmentRequest) (response ChangeNetworkLoadBalancerCompartmentResponse, err error) { var ociResponse common.OCIResponse @@ -159,7 +159,7 @@ func (client NetworkLoadBalancerClient) changeNetworkLoadBalancerCompartment(ctx // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackend.go.html to see an example of how to use CreateBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackend.go.html to see an example of how to use CreateBackend API. // A default retry strategy applies to this operation CreateBackend() func (client NetworkLoadBalancerClient) CreateBackend(ctx context.Context, request CreateBackendRequest) (response CreateBackendResponse, err error) { var ociResponse common.OCIResponse @@ -222,7 +222,7 @@ func (client NetworkLoadBalancerClient) createBackend(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateBackendSet.go.html to see an example of how to use CreateBackendSet API. // A default retry strategy applies to this operation CreateBackendSet() func (client NetworkLoadBalancerClient) CreateBackendSet(ctx context.Context, request CreateBackendSetRequest) (response CreateBackendSetResponse, err error) { var ociResponse common.OCIResponse @@ -285,7 +285,7 @@ func (client NetworkLoadBalancerClient) createBackendSet(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateListener.go.html to see an example of how to use CreateListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateListener.go.html to see an example of how to use CreateListener API. // A default retry strategy applies to this operation CreateListener() func (client NetworkLoadBalancerClient) CreateListener(ctx context.Context, request CreateListenerRequest) (response CreateListenerResponse, err error) { var ociResponse common.OCIResponse @@ -348,7 +348,7 @@ func (client NetworkLoadBalancerClient) createListener(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateNetworkLoadBalancer.go.html to see an example of how to use CreateNetworkLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/CreateNetworkLoadBalancer.go.html to see an example of how to use CreateNetworkLoadBalancer API. // A default retry strategy applies to this operation CreateNetworkLoadBalancer() func (client NetworkLoadBalancerClient) CreateNetworkLoadBalancer(ctx context.Context, request CreateNetworkLoadBalancerRequest) (response CreateNetworkLoadBalancerResponse, err error) { var ociResponse common.OCIResponse @@ -411,7 +411,7 @@ func (client NetworkLoadBalancerClient) createNetworkLoadBalancer(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackend.go.html to see an example of how to use DeleteBackend API. // A default retry strategy applies to this operation DeleteBackend() func (client NetworkLoadBalancerClient) DeleteBackend(ctx context.Context, request DeleteBackendRequest) (response DeleteBackendResponse, err error) { var ociResponse common.OCIResponse @@ -470,7 +470,7 @@ func (client NetworkLoadBalancerClient) deleteBackend(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteBackendSet.go.html to see an example of how to use DeleteBackendSet API. // A default retry strategy applies to this operation DeleteBackendSet() func (client NetworkLoadBalancerClient) DeleteBackendSet(ctx context.Context, request DeleteBackendSetRequest) (response DeleteBackendSetResponse, err error) { var ociResponse common.OCIResponse @@ -528,7 +528,7 @@ func (client NetworkLoadBalancerClient) deleteBackendSet(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteListener.go.html to see an example of how to use DeleteListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteListener.go.html to see an example of how to use DeleteListener API. // A default retry strategy applies to this operation DeleteListener() func (client NetworkLoadBalancerClient) DeleteListener(ctx context.Context, request DeleteListenerRequest) (response DeleteListenerResponse, err error) { var ociResponse common.OCIResponse @@ -586,7 +586,7 @@ func (client NetworkLoadBalancerClient) deleteListener(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteNetworkLoadBalancer.go.html to see an example of how to use DeleteNetworkLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/DeleteNetworkLoadBalancer.go.html to see an example of how to use DeleteNetworkLoadBalancer API. // A default retry strategy applies to this operation DeleteNetworkLoadBalancer() func (client NetworkLoadBalancerClient) DeleteNetworkLoadBalancer(ctx context.Context, request DeleteNetworkLoadBalancerRequest) (response DeleteNetworkLoadBalancerResponse, err error) { var ociResponse common.OCIResponse @@ -644,7 +644,7 @@ func (client NetworkLoadBalancerClient) deleteNetworkLoadBalancer(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackend.go.html to see an example of how to use GetBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackend.go.html to see an example of how to use GetBackend API. // A default retry strategy applies to this operation GetBackend() func (client NetworkLoadBalancerClient) GetBackend(ctx context.Context, request GetBackendRequest) (response GetBackendResponse, err error) { var ociResponse common.OCIResponse @@ -702,7 +702,7 @@ func (client NetworkLoadBalancerClient) getBackend(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealth API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendHealth.go.html to see an example of how to use GetBackendHealth API. // A default retry strategy applies to this operation GetBackendHealth() func (client NetworkLoadBalancerClient) GetBackendHealth(ctx context.Context, request GetBackendHealthRequest) (response GetBackendHealthResponse, err error) { var ociResponse common.OCIResponse @@ -756,11 +756,69 @@ func (client NetworkLoadBalancerClient) getBackendHealth(ctx context.Context, re return response, err } +// GetBackendOperationalStatus Retrieves the current operational status of the specified backend server. +// +// # See also +// +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendOperationalStatus.go.html to see an example of how to use GetBackendOperationalStatus API. +// A default retry strategy applies to this operation GetBackendOperationalStatus() +func (client NetworkLoadBalancerClient) GetBackendOperationalStatus(ctx context.Context, request GetBackendOperationalStatusRequest) (response GetBackendOperationalStatusResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getBackendOperationalStatus, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetBackendOperationalStatusResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetBackendOperationalStatusResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetBackendOperationalStatusResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetBackendOperationalStatusResponse") + } + return +} + +// getBackendOperationalStatus implements the OCIOperation interface (enables retrying operations) +func (client NetworkLoadBalancerClient) getBackendOperationalStatus(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/networkLoadBalancers/{networkLoadBalancerId}/backendSets/{backendSetName}/backends/{backendName}/operationalStatus", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetBackendOperationalStatusResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/networkloadbalancer/20200501/BackendOperationalStatus/GetBackendOperationalStatus" + err = common.PostProcessServiceError(err, "NetworkLoadBalancer", "GetBackendOperationalStatus", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetBackendSet Retrieves the configuration information for the specified backend set. // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSet.go.html to see an example of how to use GetBackendSet API. // A default retry strategy applies to this operation GetBackendSet() func (client NetworkLoadBalancerClient) GetBackendSet(ctx context.Context, request GetBackendSetRequest) (response GetBackendSetResponse, err error) { var ociResponse common.OCIResponse @@ -818,7 +876,7 @@ func (client NetworkLoadBalancerClient) getBackendSet(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealth API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetBackendSetHealth.go.html to see an example of how to use GetBackendSetHealth API. // A default retry strategy applies to this operation GetBackendSetHealth() func (client NetworkLoadBalancerClient) GetBackendSetHealth(ctx context.Context, request GetBackendSetHealthRequest) (response GetBackendSetHealthResponse, err error) { var ociResponse common.OCIResponse @@ -876,7 +934,7 @@ func (client NetworkLoadBalancerClient) getBackendSetHealth(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthChecker API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetHealthChecker.go.html to see an example of how to use GetHealthChecker API. // A default retry strategy applies to this operation GetHealthChecker() func (client NetworkLoadBalancerClient) GetHealthChecker(ctx context.Context, request GetHealthCheckerRequest) (response GetHealthCheckerResponse, err error) { var ociResponse common.OCIResponse @@ -939,7 +997,7 @@ func (client NetworkLoadBalancerClient) getHealthChecker(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetListener.go.html to see an example of how to use GetListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetListener.go.html to see an example of how to use GetListener API. // A default retry strategy applies to this operation GetListener() func (client NetworkLoadBalancerClient) GetListener(ctx context.Context, request GetListenerRequest) (response GetListenerResponse, err error) { var ociResponse common.OCIResponse @@ -997,7 +1055,7 @@ func (client NetworkLoadBalancerClient) getListener(ctx context.Context, request // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancer.go.html to see an example of how to use GetNetworkLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancer.go.html to see an example of how to use GetNetworkLoadBalancer API. // A default retry strategy applies to this operation GetNetworkLoadBalancer() func (client NetworkLoadBalancerClient) GetNetworkLoadBalancer(ctx context.Context, request GetNetworkLoadBalancerRequest) (response GetNetworkLoadBalancerResponse, err error) { var ociResponse common.OCIResponse @@ -1055,7 +1113,7 @@ func (client NetworkLoadBalancerClient) getNetworkLoadBalancer(ctx context.Conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancerHealth.go.html to see an example of how to use GetNetworkLoadBalancerHealth API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetNetworkLoadBalancerHealth.go.html to see an example of how to use GetNetworkLoadBalancerHealth API. // A default retry strategy applies to this operation GetNetworkLoadBalancerHealth() func (client NetworkLoadBalancerClient) GetNetworkLoadBalancerHealth(ctx context.Context, request GetNetworkLoadBalancerHealthRequest) (response GetNetworkLoadBalancerHealthResponse, err error) { var ociResponse common.OCIResponse @@ -1113,7 +1171,7 @@ func (client NetworkLoadBalancerClient) getNetworkLoadBalancerHealth(ctx context // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. // A default retry strategy applies to this operation GetWorkRequest() func (client NetworkLoadBalancerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { var ociResponse common.OCIResponse @@ -1171,7 +1229,7 @@ func (client NetworkLoadBalancerClient) getWorkRequest(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSets API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackendSets.go.html to see an example of how to use ListBackendSets API. // A default retry strategy applies to this operation ListBackendSets() func (client NetworkLoadBalancerClient) ListBackendSets(ctx context.Context, request ListBackendSetsRequest) (response ListBackendSetsResponse, err error) { var ociResponse common.OCIResponse @@ -1229,7 +1287,7 @@ func (client NetworkLoadBalancerClient) listBackendSets(ctx context.Context, req // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackends.go.html to see an example of how to use ListBackends API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListBackends.go.html to see an example of how to use ListBackends API. // A default retry strategy applies to this operation ListBackends() func (client NetworkLoadBalancerClient) ListBackends(ctx context.Context, request ListBackendsRequest) (response ListBackendsResponse, err error) { var ociResponse common.OCIResponse @@ -1287,7 +1345,7 @@ func (client NetworkLoadBalancerClient) listBackends(ctx context.Context, reques // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListListeners.go.html to see an example of how to use ListListeners API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListListeners.go.html to see an example of how to use ListListeners API. // A default retry strategy applies to this operation ListListeners() func (client NetworkLoadBalancerClient) ListListeners(ctx context.Context, request ListListenersRequest) (response ListListenersResponse, err error) { var ociResponse common.OCIResponse @@ -1345,7 +1403,7 @@ func (client NetworkLoadBalancerClient) listListeners(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancerHealths.go.html to see an example of how to use ListNetworkLoadBalancerHealths API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancerHealths.go.html to see an example of how to use ListNetworkLoadBalancerHealths API. // A default retry strategy applies to this operation ListNetworkLoadBalancerHealths() func (client NetworkLoadBalancerClient) ListNetworkLoadBalancerHealths(ctx context.Context, request ListNetworkLoadBalancerHealthsRequest) (response ListNetworkLoadBalancerHealthsResponse, err error) { var ociResponse common.OCIResponse @@ -1403,7 +1461,7 @@ func (client NetworkLoadBalancerClient) listNetworkLoadBalancerHealths(ctx conte // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancers.go.html to see an example of how to use ListNetworkLoadBalancers API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancers.go.html to see an example of how to use ListNetworkLoadBalancers API. // A default retry strategy applies to this operation ListNetworkLoadBalancers() func (client NetworkLoadBalancerClient) ListNetworkLoadBalancers(ctx context.Context, request ListNetworkLoadBalancersRequest) (response ListNetworkLoadBalancersResponse, err error) { var ociResponse common.OCIResponse @@ -1461,7 +1519,7 @@ func (client NetworkLoadBalancerClient) listNetworkLoadBalancers(ctx context.Con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersPolicies.go.html to see an example of how to use ListNetworkLoadBalancersPolicies API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersPolicies.go.html to see an example of how to use ListNetworkLoadBalancersPolicies API. // A default retry strategy applies to this operation ListNetworkLoadBalancersPolicies() func (client NetworkLoadBalancerClient) ListNetworkLoadBalancersPolicies(ctx context.Context, request ListNetworkLoadBalancersPoliciesRequest) (response ListNetworkLoadBalancersPoliciesResponse, err error) { var ociResponse common.OCIResponse @@ -1520,7 +1578,7 @@ func (client NetworkLoadBalancerClient) listNetworkLoadBalancersPolicies(ctx con // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersProtocols.go.html to see an example of how to use ListNetworkLoadBalancersProtocols API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListNetworkLoadBalancersProtocols.go.html to see an example of how to use ListNetworkLoadBalancersProtocols API. // A default retry strategy applies to this operation ListNetworkLoadBalancersProtocols() func (client NetworkLoadBalancerClient) ListNetworkLoadBalancersProtocols(ctx context.Context, request ListNetworkLoadBalancersProtocolsRequest) (response ListNetworkLoadBalancersProtocolsResponse, err error) { var ociResponse common.OCIResponse @@ -1578,7 +1636,7 @@ func (client NetworkLoadBalancerClient) listNetworkLoadBalancersProtocols(ctx co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. // A default retry strategy applies to this operation ListWorkRequestErrors() func (client NetworkLoadBalancerClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { var ociResponse common.OCIResponse @@ -1636,7 +1694,7 @@ func (client NetworkLoadBalancerClient) listWorkRequestErrors(ctx context.Contex // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. // A default retry strategy applies to this operation ListWorkRequestLogs() func (client NetworkLoadBalancerClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { var ociResponse common.OCIResponse @@ -1694,7 +1752,7 @@ func (client NetworkLoadBalancerClient) listWorkRequestLogs(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. // A default retry strategy applies to this operation ListWorkRequests() func (client NetworkLoadBalancerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { var ociResponse common.OCIResponse @@ -1752,7 +1810,7 @@ func (client NetworkLoadBalancerClient) listWorkRequests(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackend API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackend API. // A default retry strategy applies to this operation UpdateBackend() func (client NetworkLoadBalancerClient) UpdateBackend(ctx context.Context, request UpdateBackendRequest) (response UpdateBackendResponse, err error) { var ociResponse common.OCIResponse @@ -1815,7 +1873,7 @@ func (client NetworkLoadBalancerClient) updateBackend(ctx context.Context, reque // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSet API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSet API. // A default retry strategy applies to this operation UpdateBackendSet() func (client NetworkLoadBalancerClient) UpdateBackendSet(ctx context.Context, request UpdateBackendSetRequest) (response UpdateBackendSetResponse, err error) { var ociResponse common.OCIResponse @@ -1878,7 +1936,7 @@ func (client NetworkLoadBalancerClient) updateBackendSet(ctx context.Context, re // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthChecker API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthChecker API. // A default retry strategy applies to this operation UpdateHealthChecker() func (client NetworkLoadBalancerClient) UpdateHealthChecker(ctx context.Context, request UpdateHealthCheckerRequest) (response UpdateHealthCheckerResponse, err error) { var ociResponse common.OCIResponse @@ -1941,7 +1999,7 @@ func (client NetworkLoadBalancerClient) updateHealthChecker(ctx context.Context, // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateListener.go.html to see an example of how to use UpdateListener API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateListener.go.html to see an example of how to use UpdateListener API. // A default retry strategy applies to this operation UpdateListener() func (client NetworkLoadBalancerClient) UpdateListener(ctx context.Context, request UpdateListenerRequest) (response UpdateListenerResponse, err error) { var ociResponse common.OCIResponse @@ -2004,7 +2062,7 @@ func (client NetworkLoadBalancerClient) updateListener(ctx context.Context, requ // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkLoadBalancer.go.html to see an example of how to use UpdateNetworkLoadBalancer API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkLoadBalancer.go.html to see an example of how to use UpdateNetworkLoadBalancer API. // A default retry strategy applies to this operation UpdateNetworkLoadBalancer() func (client NetworkLoadBalancerClient) UpdateNetworkLoadBalancer(ctx context.Context, request UpdateNetworkLoadBalancerRequest) (response UpdateNetworkLoadBalancerResponse, err error) { var ociResponse common.OCIResponse @@ -2062,7 +2120,7 @@ func (client NetworkLoadBalancerClient) updateNetworkLoadBalancer(ctx context.Co // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroups API. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroups API. // A default retry strategy applies to this operation UpdateNetworkSecurityGroups() func (client NetworkLoadBalancerClient) UpdateNetworkSecurityGroups(ctx context.Context, request UpdateNetworkSecurityGroupsRequest) (response UpdateNetworkSecurityGroupsResponse, err error) { var ociResponse common.OCIResponse diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/nlb_ip_version.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/nlb_ip_version.go index ef17a299b1..37ba3fd3d9 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/nlb_ip_version.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/nlb_ip_version.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_status.go index 80e1f6b5ee..2598d15853 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_status.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_status.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_type.go index 7f28e45daa..57efd1e53b 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_type.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/operation_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/reserved_ip.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/reserved_ip.go index d5db508937..86757d5b5c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/reserved_ip.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/reserved_ip.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -38,7 +38,7 @@ func (m ReservedIp) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/sort_order.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/sort_order.go index a313a5af0a..164b6bfa1d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/sort_order.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/sort_order.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_details.go index 8b2d0e942a..071bf6b6de 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -21,8 +21,8 @@ type UpdateBackendDetails struct { // The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger // proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections // as a server weighted '1'. - // For more information about load balancing policies, see - // How Load Balancing Policies Work (https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). + // For more information about network load balancer policies, see + // Network Load Balancer Policies (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). // Example: `3` Weight *int `mandatory:"false" json:"weight"` @@ -53,7 +53,7 @@ func (m UpdateBackendDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_request_response.go index a3b4dd95f4..eefd05d946 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackendRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackend.go.html to see an example of how to use UpdateBackendRequest. type UpdateBackendRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // Details for updating a backend server. @@ -90,7 +90,7 @@ func (request UpdateBackendRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBackendRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_details.go index ae52878708..6a4b47eced 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -17,7 +17,7 @@ import ( // UpdateBackendSetDetails The configuration details for updating a load balancer backend set. // For more information about backend set configuration, see -// Managing Backend Sets (https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). +// Backend Sets for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). // **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. type UpdateBackendSetDetails struct { @@ -38,6 +38,12 @@ type UpdateBackendSetDetails struct { // If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy. IsInstantFailoverEnabled *bool `mandatory:"false" json:"isInstantFailoverEnabled"` + // If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. + IsInstantFailoverTcpResetEnabled *bool `mandatory:"false" json:"isInstantFailoverTcpResetEnabled"` + + // If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy. + AreOperationallyActiveBackendsPreferred *bool `mandatory:"false" json:"areOperationallyActiveBackendsPreferred"` + // The IP version associated with the backend set. IpVersion IpVersionEnum `mandatory:"false" json:"ipVersion,omitempty"` @@ -61,7 +67,7 @@ func (m UpdateBackendSetDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_request_response.go index e1238852b7..78774b37a7 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_backend_set_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSetRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateBackendSet.go.html to see an example of how to use UpdateBackendSetRequest. type UpdateBackendSetRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The details to update a backend set. @@ -83,7 +83,7 @@ func (request UpdateBackendSetRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateBackendSetRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_details.go index 7c2e780513..153df7b280 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -76,7 +76,7 @@ func (m UpdateHealthCheckerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetHealthCheckProtocolsEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_request_response.go index c8eff6851d..475bfa29f5 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_health_checker_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthCheckerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateHealthChecker.go.html to see an example of how to use UpdateHealthCheckerRequest. type UpdateHealthCheckerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The health check policy configuration details. @@ -83,7 +83,7 @@ func (request UpdateHealthCheckerRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateHealthCheckerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_details.go index fdc59ed7db..c105342c6d 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -16,8 +16,8 @@ import ( ) // UpdateListenerDetails The configuration of the listener. -// For more information about backend set configuration, see -// Managing Network Load Balancer Listeners (https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). +// For more information about listeners, see +// Listeners for Network Load Balancers (https://docs.oracle.com/iaas/Content/NetworkLoadBalancer/Listeners/listener-management.htm). type UpdateListenerDetails struct { // The name of the associated backend set. @@ -71,7 +71,7 @@ func (m UpdateListenerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IpVersion: %s. Supported values are: %s.", m.IpVersion, strings.Join(GetIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_request_response.go index e1bdb06f82..f7ba7db290 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_listener_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateListener.go.html to see an example of how to use UpdateListenerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateListener.go.html to see an example of how to use UpdateListenerRequest. type UpdateListenerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // Details to update a listener. @@ -83,7 +83,7 @@ func (request UpdateListenerRequest) RetryPolicy() *common.RetryPolicy { func (request UpdateListenerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_details.go index 7031782437..ce2228fb5f 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -44,17 +44,17 @@ type UpdateNetworkLoadBalancerDetails struct { AssignedIpv6 *string `mandatory:"false" json:"assignedIpv6"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // ZPR tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. - // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). + // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"oracle-zpr": {"td": {"value": "42", "mode": "audit"}}}` SecurityAttributes map[string]map[string]interface{} `mandatory:"false" json:"securityAttributes"` } @@ -73,7 +73,7 @@ func (m UpdateNetworkLoadBalancerDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NlbIpVersion: %s. Supported values are: %s.", m.NlbIpVersion, strings.Join(GetNlbIpVersionEnumStringValues(), ","))) } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_request_response.go index dbd7c15a76..028886c322 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_load_balancer_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkLoadBalancer.go.html to see an example of how to use UpdateNetworkLoadBalancerRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkLoadBalancer.go.html to see an example of how to use UpdateNetworkLoadBalancerRequest. type UpdateNetworkLoadBalancerRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The information to be updated. @@ -72,7 +72,7 @@ func (request UpdateNetworkLoadBalancerRequest) RetryPolicy() *common.RetryPolic func (request UpdateNetworkLoadBalancerRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_details.go index fa37e22dee..4aa61f25aa 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_details.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_details.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -21,7 +21,7 @@ import ( // * If the network load balancer has a list of configured network security groups and this list is empty, then the operation removes all of the network security groups associated with the network load balancer. type UpdateNetworkSecurityGroupsDetails struct { - // An array of network security group OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) associated with the network load + // An array of network security group OCIDs (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the network load // balancer. // During the creation of the network load balancer, the service adds the new network load balancer to the specified network security groups. // The benefits of associating the network load balancer with network security groups include: @@ -42,7 +42,7 @@ func (m UpdateNetworkSecurityGroupsDetails) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_request_response.go index 95d12f4917..d1b6fa1a7a 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_request_response.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/update_network_security_groups_request_response.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -15,10 +15,10 @@ import ( // // # See also // -// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroupsRequest. +// Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkloadbalancer/UpdateNetworkSecurityGroups.go.html to see an example of how to use UpdateNetworkSecurityGroupsRequest. type UpdateNetworkSecurityGroupsRequest struct { - // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the network load balancer to update. + // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. NetworkLoadBalancerId *string `mandatory:"true" contributesTo:"path" name:"networkLoadBalancerId"` // The details for updating the network security groups associated with the specified network load balancer. @@ -79,7 +79,7 @@ func (request UpdateNetworkSecurityGroupsRequest) RetryPolicy() *common.RetryPol func (request UpdateNetworkSecurityGroupsRequest) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request.go index 919c53d3e1..1b3a4d9192 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -68,7 +68,7 @@ func (m WorkRequest) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_collection.go index d5921aee5a..0e9dd32ecc 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m WorkRequestCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error.go index d8772504b3..8895bd5dcf 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -19,7 +19,7 @@ import ( type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed here: - // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) + // (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human-readable description of the issue encountered. @@ -40,7 +40,7 @@ func (m WorkRequestError) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error_collection.go index d079c5a1c6..0df7bda7bb 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_error_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry.go index 0b25f0b0ad..abebfd4fe3 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -36,7 +36,7 @@ func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry_collection.go index 1e5627ca49..34a9073f63 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry_collection.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_log_entry_collection.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -33,7 +33,7 @@ func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error) { errMessage := []string{} if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_resource.go index 1203d73631..89b4aeec2c 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_resource.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_resource.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -48,7 +48,7 @@ func (m WorkRequestResource) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_summary.go index cddc5c4f1e..f250961909 100644 --- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_summary.go +++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/work_request_summary.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. // This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. // Code generated. DO NOT EDIT. @@ -68,7 +68,7 @@ func (m WorkRequestSummary) ValidateEnumValue() (bool, error) { } if len(errMessage) > 0 { - return true, fmt.Errorf(strings.Join(errMessage, "\n")) + return true, fmt.Errorf("%s", strings.Join(errMessage, "\n")) } return false, nil } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/collectorfunc.go b/vendor/github.com/prometheus/client_golang/prometheus/collectorfunc.go new file mode 100644 index 0000000000..9a71a15db1 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/collectorfunc.go @@ -0,0 +1,30 @@ +// Copyright 2025 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package prometheus + +// CollectorFunc is a convenient way to implement a Prometheus Collector +// without interface boilerplate. +// This implementation is based on DescribeByCollect method. +// familiarize yourself to it before using. +type CollectorFunc func(chan<- Metric) + +// Collect calls the defined CollectorFunc function with the provided Metrics channel +func (f CollectorFunc) Collect(ch chan<- Metric) { + f(ch) +} + +// Describe sends the descriptor information using DescribeByCollect +func (f CollectorFunc) Describe(ch chan<- *Desc) { + DescribeByCollect(f, ch) +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/desc.go b/vendor/github.com/prometheus/client_golang/prometheus/desc.go index 68ffe3c248..ad347113c0 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/desc.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/desc.go @@ -189,12 +189,15 @@ func (d *Desc) String() string { fmt.Sprintf("%s=%q", lp.GetName(), lp.GetValue()), ) } - vlStrings := make([]string, 0, len(d.variableLabels.names)) - for _, vl := range d.variableLabels.names { - if fn, ok := d.variableLabels.labelConstraints[vl]; ok && fn != nil { - vlStrings = append(vlStrings, fmt.Sprintf("c(%s)", vl)) - } else { - vlStrings = append(vlStrings, vl) + vlStrings := []string{} + if d.variableLabels != nil { + vlStrings = make([]string, 0, len(d.variableLabels.names)) + for _, vl := range d.variableLabels.names { + if fn, ok := d.variableLabels.labelConstraints[vl]; ok && fn != nil { + vlStrings = append(vlStrings, fmt.Sprintf("c(%s)", vl)) + } else { + vlStrings = append(vlStrings, vl) + } } } return fmt.Sprintf( diff --git a/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go b/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go index 5117464172..6b8684731c 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/go_collector_latest.go @@ -288,7 +288,7 @@ func NewGoCollector(opts ...func(o *internal.GoCollectorOptions)) Collector { } func attachOriginalName(desc, origName string) string { - return fmt.Sprintf("%s Sourced from %s", desc, origName) + return fmt.Sprintf("%s Sourced from %s.", desc, origName) } // Describe returns all descriptions of the collector. diff --git a/vendor/github.com/prometheus/client_golang/prometheus/histogram.go b/vendor/github.com/prometheus/client_golang/prometheus/histogram.go index 519db348a7..c453b754a7 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/histogram.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/histogram.go @@ -14,6 +14,7 @@ package prometheus import ( + "errors" "fmt" "math" "runtime" @@ -28,6 +29,11 @@ import ( "google.golang.org/protobuf/types/known/timestamppb" ) +const ( + nativeHistogramSchemaMaximum = 8 + nativeHistogramSchemaMinimum = -4 +) + // nativeHistogramBounds for the frac of observed values. Only relevant for // schema > 0. The position in the slice is the schema. (0 is never used, just // here for convenience of using the schema directly as the index.) @@ -330,11 +336,11 @@ func ExponentialBuckets(start, factor float64, count int) []float64 { // used for the Buckets field of HistogramOpts. // // The function panics if 'count' is 0 or negative, if 'min' is 0 or negative. -func ExponentialBucketsRange(min, max float64, count int) []float64 { +func ExponentialBucketsRange(minBucket, maxBucket float64, count int) []float64 { if count < 1 { panic("ExponentialBucketsRange count needs a positive count") } - if min <= 0 { + if minBucket <= 0 { panic("ExponentialBucketsRange min needs to be greater than 0") } @@ -342,12 +348,12 @@ func ExponentialBucketsRange(min, max float64, count int) []float64 { // max = min*growthFactor^(bucketCount-1) // We know max/min and highest bucket. Solve for growthFactor. - growthFactor := math.Pow(max/min, 1.0/float64(count-1)) + growthFactor := math.Pow(maxBucket/minBucket, 1.0/float64(count-1)) // Now that we know growthFactor, solve for each bucket. buckets := make([]float64, count) for i := 1; i <= count; i++ { - buckets[i-1] = min * math.Pow(growthFactor, float64(i-1)) + buckets[i-1] = minBucket * math.Pow(growthFactor, float64(i-1)) } return buckets } @@ -858,15 +864,35 @@ func (h *histogram) Write(out *dto.Metric) error { // findBucket returns the index of the bucket for the provided value, or // len(h.upperBounds) for the +Inf bucket. func (h *histogram) findBucket(v float64) int { - // TODO(beorn7): For small numbers of buckets (<30), a linear search is - // slightly faster than the binary search. If we really care, we could - // switch from one search strategy to the other depending on the number - // of buckets. - // - // Microbenchmarks (BenchmarkHistogramNoLabels): - // 11 buckets: 38.3 ns/op linear - binary 48.7 ns/op - // 100 buckets: 78.1 ns/op linear - binary 54.9 ns/op - // 300 buckets: 154 ns/op linear - binary 61.6 ns/op + n := len(h.upperBounds) + if n == 0 { + return 0 + } + + // Early exit: if v is less than or equal to the first upper bound, return 0 + if v <= h.upperBounds[0] { + return 0 + } + + // Early exit: if v is greater than the last upper bound, return len(h.upperBounds) + if v > h.upperBounds[n-1] { + return n + } + + // For small arrays, use simple linear search + // "magic number" 35 is result of tests on couple different (AWS and baremetal) servers + // see more details here: https://github.com/prometheus/client_golang/pull/1662 + if n < 35 { + for i, bound := range h.upperBounds { + if v <= bound { + return i + } + } + // If v is greater than all upper bounds, return len(h.upperBounds) + return n + } + + // For larger arrays, use stdlib's binary search return sort.SearchFloat64s(h.upperBounds, v) } @@ -1440,9 +1466,9 @@ func pickSchema(bucketFactor float64) int32 { floor := math.Floor(math.Log2(math.Log2(bucketFactor))) switch { case floor <= -8: - return 8 + return nativeHistogramSchemaMaximum case floor >= 4: - return -4 + return nativeHistogramSchemaMinimum default: return -int32(floor) } @@ -1835,3 +1861,196 @@ func (n *nativeExemplars) addExemplar(e *dto.Exemplar) { n.exemplars = append(n.exemplars[:nIdx], append([]*dto.Exemplar{e}, append(n.exemplars[nIdx:rIdx], n.exemplars[rIdx+1:]...)...)...) } } + +type constNativeHistogram struct { + desc *Desc + dto.Histogram + labelPairs []*dto.LabelPair +} + +func validateCount(sum float64, count uint64, negativeBuckets, positiveBuckets map[int]int64, zeroBucket uint64) error { + var bucketPopulationSum int64 + for _, v := range positiveBuckets { + bucketPopulationSum += v + } + for _, v := range negativeBuckets { + bucketPopulationSum += v + } + bucketPopulationSum += int64(zeroBucket) + + // If the sum of observations is NaN, the number of observations must be greater or equal to the sum of all bucket counts. + // Otherwise, the number of observations must be equal to the sum of all bucket counts . + + if math.IsNaN(sum) && bucketPopulationSum > int64(count) || + !math.IsNaN(sum) && bucketPopulationSum != int64(count) { + return errors.New("the sum of all bucket populations exceeds the count of observations") + } + return nil +} + +// NewConstNativeHistogram returns a metric representing a Prometheus native histogram with +// fixed values for the count, sum, and positive/negative/zero bucket counts. As those parameters +// cannot be changed, the returned value does not implement the Histogram +// interface (but only the Metric interface). Users of this package will not +// have much use for it in regular operations. However, when implementing custom +// OpenTelemetry Collectors, it is useful as a throw-away metric that is generated on the fly +// to send it to Prometheus in the Collect method. +// +// zeroBucket counts all (positive and negative) +// observations in the zero bucket (with an absolute value less or equal +// the current threshold). +// positiveBuckets and negativeBuckets are separate maps for negative and positive +// observations. The map's value is an int64, counting observations in +// that bucket. The map's key is the +// index of the bucket according to the used +// Schema. Index 0 is for an upper bound of 1 in positive buckets and for a lower bound of -1 in negative buckets. +// NewConstNativeHistogram returns an error if +// - the length of labelValues is not consistent with the variable labels in Desc or if Desc is invalid. +// - the schema passed is not between 8 and -4 +// - the sum of counts in all buckets including the zero bucket does not equal the count if sum is not NaN (or exceeds the count if sum is NaN) +// +// See https://opentelemetry.io/docs/specs/otel/compatibility/prometheus_and_openmetrics/#exponential-histograms for more details about the conversion from OTel to Prometheus. +func NewConstNativeHistogram( + desc *Desc, + count uint64, + sum float64, + positiveBuckets, negativeBuckets map[int]int64, + zeroBucket uint64, + schema int32, + zeroThreshold float64, + createdTimestamp time.Time, + labelValues ...string, +) (Metric, error) { + if desc.err != nil { + return nil, desc.err + } + if err := validateLabelValues(labelValues, len(desc.variableLabels.names)); err != nil { + return nil, err + } + if schema > nativeHistogramSchemaMaximum || schema < nativeHistogramSchemaMinimum { + return nil, errors.New("invalid native histogram schema") + } + if err := validateCount(sum, count, negativeBuckets, positiveBuckets, zeroBucket); err != nil { + return nil, err + } + + NegativeSpan, NegativeDelta := makeBucketsFromMap(negativeBuckets) + PositiveSpan, PositiveDelta := makeBucketsFromMap(positiveBuckets) + ret := &constNativeHistogram{ + desc: desc, + Histogram: dto.Histogram{ + CreatedTimestamp: timestamppb.New(createdTimestamp), + Schema: &schema, + ZeroThreshold: &zeroThreshold, + SampleCount: &count, + SampleSum: &sum, + + NegativeSpan: NegativeSpan, + NegativeDelta: NegativeDelta, + + PositiveSpan: PositiveSpan, + PositiveDelta: PositiveDelta, + + ZeroCount: proto.Uint64(zeroBucket), + }, + labelPairs: MakeLabelPairs(desc, labelValues), + } + if *ret.ZeroThreshold == 0 && *ret.ZeroCount == 0 && len(ret.PositiveSpan) == 0 && len(ret.NegativeSpan) == 0 { + ret.PositiveSpan = []*dto.BucketSpan{{ + Offset: proto.Int32(0), + Length: proto.Uint32(0), + }} + } + return ret, nil +} + +// MustNewConstNativeHistogram is a version of NewConstNativeHistogram that panics where +// NewConstNativeHistogram would have returned an error. +func MustNewConstNativeHistogram( + desc *Desc, + count uint64, + sum float64, + positiveBuckets, negativeBuckets map[int]int64, + zeroBucket uint64, + nativeHistogramSchema int32, + nativeHistogramZeroThreshold float64, + createdTimestamp time.Time, + labelValues ...string, +) Metric { + nativehistogram, err := NewConstNativeHistogram(desc, + count, + sum, + positiveBuckets, + negativeBuckets, + zeroBucket, + nativeHistogramSchema, + nativeHistogramZeroThreshold, + createdTimestamp, + labelValues...) + if err != nil { + panic(err) + } + return nativehistogram +} + +func (h *constNativeHistogram) Desc() *Desc { + return h.desc +} + +func (h *constNativeHistogram) Write(out *dto.Metric) error { + out.Histogram = &h.Histogram + out.Label = h.labelPairs + return nil +} + +func makeBucketsFromMap(buckets map[int]int64) ([]*dto.BucketSpan, []int64) { + if len(buckets) == 0 { + return nil, nil + } + var ii []int + for k := range buckets { + ii = append(ii, k) + } + sort.Ints(ii) + + var ( + spans []*dto.BucketSpan + deltas []int64 + prevCount int64 + nextI int + ) + + appendDelta := func(count int64) { + *spans[len(spans)-1].Length++ + deltas = append(deltas, count-prevCount) + prevCount = count + } + + for n, i := range ii { + count := buckets[i] + // Multiple spans with only small gaps in between are probably + // encoded more efficiently as one larger span with a few empty + // buckets. Needs some research to find the sweet spot. For now, + // we assume that gaps of one or two buckets should not create + // a new span. + iDelta := int32(i - nextI) + if n == 0 || iDelta > 2 { + // We have to create a new span, either because we are + // at the very beginning, or because we have found a gap + // of more than two buckets. + spans = append(spans, &dto.BucketSpan{ + Offset: proto.Int32(iDelta), + Length: proto.Uint32(0), + }) + } else { + // We have found a small gap (or no gap at all). + // Insert empty buckets as needed. + for j := int32(0); j < iDelta; j++ { + appendDelta(0) + } + } + appendDelta(count) + nextI = i + 1 + } + return spans, deltas +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go b/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go index a595a20362..8b016355ad 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go @@ -22,17 +22,18 @@ import ( "bytes" "fmt" "io" + "strconv" "strings" ) -func min(a, b int) int { +func minInt(a, b int) int { if a < b { return a } return b } -func max(a, b int) int { +func maxInt(a, b int) int { if a > b { return a } @@ -427,12 +428,12 @@ func (m *SequenceMatcher) GetGroupedOpCodes(n int) [][]OpCode { if codes[0].Tag == 'e' { c := codes[0] i1, i2, j1, j2 := c.I1, c.I2, c.J1, c.J2 - codes[0] = OpCode{c.Tag, max(i1, i2-n), i2, max(j1, j2-n), j2} + codes[0] = OpCode{c.Tag, maxInt(i1, i2-n), i2, maxInt(j1, j2-n), j2} } if codes[len(codes)-1].Tag == 'e' { c := codes[len(codes)-1] i1, i2, j1, j2 := c.I1, c.I2, c.J1, c.J2 - codes[len(codes)-1] = OpCode{c.Tag, i1, min(i2, i1+n), j1, min(j2, j1+n)} + codes[len(codes)-1] = OpCode{c.Tag, i1, minInt(i2, i1+n), j1, minInt(j2, j1+n)} } nn := n + n groups := [][]OpCode{} @@ -443,12 +444,12 @@ func (m *SequenceMatcher) GetGroupedOpCodes(n int) [][]OpCode { // there is a large range with no changes. if c.Tag == 'e' && i2-i1 > nn { group = append(group, OpCode{ - c.Tag, i1, min(i2, i1+n), - j1, min(j2, j1+n), + c.Tag, i1, minInt(i2, i1+n), + j1, minInt(j2, j1+n), }) groups = append(groups, group) group = []OpCode{} - i1, j1 = max(i1, i2-n), max(j1, j2-n) + i1, j1 = maxInt(i1, i2-n), maxInt(j1, j2-n) } group = append(group, OpCode{c.Tag, i1, i2, j1, j2}) } @@ -515,7 +516,7 @@ func (m *SequenceMatcher) QuickRatio() float64 { // is faster to compute than either .Ratio() or .QuickRatio(). func (m *SequenceMatcher) RealQuickRatio() float64 { la, lb := len(m.a), len(m.b) - return calculateRatio(min(la, lb), la+lb) + return calculateRatio(minInt(la, lb), la+lb) } // Convert range to the "ed" format @@ -524,7 +525,7 @@ func formatRangeUnified(start, stop int) string { beginning := start + 1 // lines start numbering with one length := stop - start if length == 1 { - return fmt.Sprintf("%d", beginning) + return strconv.Itoa(beginning) } if length == 0 { beginning-- // empty ranges begin at line just before the range diff --git a/vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go b/vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go index 97d17d6cb6..f7f97ef926 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/internal/go_runtime_metrics.go @@ -66,7 +66,8 @@ func RuntimeMetricsToProm(d *metrics.Description) (string, string, string, bool) name += "_total" } - valid := model.IsValidMetricName(model.LabelValue(namespace + "_" + subsystem + "_" + name)) + // Our current conversion moves to legacy naming, so use legacy validation. + valid := model.IsValidLegacyMetricName(namespace + "_" + subsystem + "_" + name) switch d.Kind { case metrics.KindUint64: case metrics.KindFloat64: diff --git a/vendor/github.com/prometheus/client_golang/prometheus/metric.go b/vendor/github.com/prometheus/client_golang/prometheus/metric.go index 9d9b81ab44..592eec3e24 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/metric.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/metric.go @@ -108,15 +108,23 @@ func BuildFQName(namespace, subsystem, name string) string { if name == "" { return "" } - switch { - case namespace != "" && subsystem != "": - return strings.Join([]string{namespace, subsystem, name}, "_") - case namespace != "": - return strings.Join([]string{namespace, name}, "_") - case subsystem != "": - return strings.Join([]string{subsystem, name}, "_") + + sb := strings.Builder{} + sb.Grow(len(namespace) + len(subsystem) + len(name) + 2) + + if namespace != "" { + sb.WriteString(namespace) + sb.WriteString("_") } - return name + + if subsystem != "" { + sb.WriteString(subsystem) + sb.WriteString("_") + } + + sb.WriteString(name) + + return sb.String() } type invalidMetric struct { diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector.go index 62a4e7ad9a..e7bce8b58e 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/process_collector.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector.go @@ -23,6 +23,7 @@ import ( type processCollector struct { collectFn func(chan<- Metric) + describeFn func(chan<- *Desc) pidFn func() (int, error) reportErrors bool cpuTotal *Desc @@ -122,26 +123,23 @@ func NewProcessCollector(opts ProcessCollectorOpts) Collector { // Set up process metric collection if supported by the runtime. if canCollectProcess() { c.collectFn = c.processCollect + c.describeFn = c.describe } else { - c.collectFn = func(ch chan<- Metric) { - c.reportError(ch, nil, errors.New("process metrics not supported on this platform")) - } + c.collectFn = c.errorCollectFn + c.describeFn = c.errorDescribeFn } return c } -// Describe returns all descriptions of the collector. -func (c *processCollector) Describe(ch chan<- *Desc) { - ch <- c.cpuTotal - ch <- c.openFDs - ch <- c.maxFDs - ch <- c.vsize - ch <- c.maxVsize - ch <- c.rss - ch <- c.startTime - ch <- c.inBytes - ch <- c.outBytes +func (c *processCollector) errorCollectFn(ch chan<- Metric) { + c.reportError(ch, nil, errors.New("process metrics not supported on this platform")) +} + +func (c *processCollector) errorDescribeFn(ch chan<- *Desc) { + if c.reportErrors { + ch <- NewInvalidDesc(errors.New("process metrics not supported on this platform")) + } } // Collect returns the current state of all metrics of the collector. @@ -149,6 +147,11 @@ func (c *processCollector) Collect(ch chan<- Metric) { c.collectFn(ch) } +// Describe returns all descriptions of the collector. +func (c *processCollector) Describe(ch chan<- *Desc) { + c.describeFn(ch) +} + func (c *processCollector) reportError(ch chan<- Metric, desc *Desc, err error) { if !c.reportErrors { return diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go new file mode 100644 index 0000000000..0a61b98461 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_darwin.go @@ -0,0 +1,130 @@ +// Copyright 2024 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build darwin && !ios + +package prometheus + +import ( + "errors" + "fmt" + "os" + "syscall" + "time" + + "golang.org/x/sys/unix" +) + +// notImplementedErr is returned by stub functions that replace cgo functions, when cgo +// isn't available. +var notImplementedErr = errors.New("not implemented") + +type memoryInfo struct { + vsize uint64 // Virtual memory size in bytes + rss uint64 // Resident memory size in bytes +} + +func canCollectProcess() bool { + return true +} + +func getSoftLimit(which int) (uint64, error) { + rlimit := syscall.Rlimit{} + + if err := syscall.Getrlimit(which, &rlimit); err != nil { + return 0, err + } + + return rlimit.Cur, nil +} + +func getOpenFileCount() (float64, error) { + // Alternately, the undocumented proc_pidinfo(PROC_PIDLISTFDS) can be used to + // return a list of open fds, but that requires a way to call C APIs. The + // benefits, however, include fewer system calls and not failing when at the + // open file soft limit. + + if dir, err := os.Open("/dev/fd"); err != nil { + return 0.0, err + } else { + defer dir.Close() + + // Avoid ReadDir(), as it calls stat(2) on each descriptor. Not only is + // that info not used, but KQUEUE descriptors fail stat(2), which causes + // the whole method to fail. + if names, err := dir.Readdirnames(0); err != nil { + return 0.0, err + } else { + // Subtract 1 to ignore the open /dev/fd descriptor above. + return float64(len(names) - 1), nil + } + } +} + +func (c *processCollector) processCollect(ch chan<- Metric) { + if procs, err := unix.SysctlKinfoProcSlice("kern.proc.pid", os.Getpid()); err == nil { + if len(procs) == 1 { + startTime := float64(procs[0].Proc.P_starttime.Nano() / 1e9) + ch <- MustNewConstMetric(c.startTime, GaugeValue, startTime) + } else { + err = fmt.Errorf("sysctl() returned %d proc structs (expected 1)", len(procs)) + c.reportError(ch, c.startTime, err) + } + } else { + c.reportError(ch, c.startTime, err) + } + + // The proc structure returned by kern.proc.pid above has an Rusage member, + // but it is not filled in, so it needs to be fetched by getrusage(2). For + // that call, the UTime, STime, and Maxrss members are filled out, but not + // Ixrss, Idrss, or Isrss for the memory usage. Memory stats will require + // access to the C API to call task_info(TASK_BASIC_INFO). + rusage := unix.Rusage{} + + if err := unix.Getrusage(syscall.RUSAGE_SELF, &rusage); err == nil { + cpuTime := time.Duration(rusage.Stime.Nano() + rusage.Utime.Nano()).Seconds() + ch <- MustNewConstMetric(c.cpuTotal, CounterValue, cpuTime) + } else { + c.reportError(ch, c.cpuTotal, err) + } + + if memInfo, err := getMemory(); err == nil { + ch <- MustNewConstMetric(c.rss, GaugeValue, float64(memInfo.rss)) + ch <- MustNewConstMetric(c.vsize, GaugeValue, float64(memInfo.vsize)) + } else if !errors.Is(err, notImplementedErr) { + // Don't report an error when support is not compiled in. + c.reportError(ch, c.rss, err) + c.reportError(ch, c.vsize, err) + } + + if fds, err := getOpenFileCount(); err == nil { + ch <- MustNewConstMetric(c.openFDs, GaugeValue, fds) + } else { + c.reportError(ch, c.openFDs, err) + } + + if openFiles, err := getSoftLimit(syscall.RLIMIT_NOFILE); err == nil { + ch <- MustNewConstMetric(c.maxFDs, GaugeValue, float64(openFiles)) + } else { + c.reportError(ch, c.maxFDs, err) + } + + if addressSpace, err := getSoftLimit(syscall.RLIMIT_AS); err == nil { + ch <- MustNewConstMetric(c.maxVsize, GaugeValue, float64(addressSpace)) + } else { + c.reportError(ch, c.maxVsize, err) + } + + // TODO: socket(PF_SYSTEM) to fetch "com.apple.network.statistics" might + // be able to get the per-process network send/receive counts. +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c new file mode 100644 index 0000000000..d00a24315d --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.c @@ -0,0 +1,84 @@ +// Copyright 2024 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build darwin && !ios && cgo + +#include +#include +#include + +// The compiler warns that mach/shared_memory_server.h is deprecated, and to use +// mach/shared_region.h instead. But that doesn't define +// SHARED_DATA_REGION_SIZE or SHARED_TEXT_REGION_SIZE, so redefine them here and +// avoid a warning message when running tests. +#define GLOBAL_SHARED_TEXT_SEGMENT 0x90000000U +#define SHARED_DATA_REGION_SIZE 0x10000000 +#define SHARED_TEXT_REGION_SIZE 0x10000000 + + +int get_memory_info(unsigned long long *rss, unsigned long long *vsize) +{ + // This is lightly adapted from how ps(1) obtains its memory info. + // https://github.com/apple-oss-distributions/adv_cmds/blob/8744084ea0ff41ca4bb96b0f9c22407d0e48e9b7/ps/tasks.c#L109 + + kern_return_t error; + task_t task = MACH_PORT_NULL; + mach_task_basic_info_data_t info; + mach_msg_type_number_t info_count = MACH_TASK_BASIC_INFO_COUNT; + + error = task_info( + mach_task_self(), + MACH_TASK_BASIC_INFO, + (task_info_t) &info, + &info_count ); + + if( error != KERN_SUCCESS ) + { + return error; + } + + *rss = info.resident_size; + *vsize = info.virtual_size; + + { + vm_region_basic_info_data_64_t b_info; + mach_vm_address_t address = GLOBAL_SHARED_TEXT_SEGMENT; + mach_vm_size_t size; + mach_port_t object_name; + + /* + * try to determine if this task has the split libraries + * mapped in... if so, adjust its virtual size down by + * the 2 segments that are used for split libraries + */ + info_count = VM_REGION_BASIC_INFO_COUNT_64; + + error = mach_vm_region( + mach_task_self(), + &address, + &size, + VM_REGION_BASIC_INFO_64, + (vm_region_info_t) &b_info, + &info_count, + &object_name); + + if (error == KERN_SUCCESS) { + if (b_info.reserved && size == (SHARED_TEXT_REGION_SIZE) && + *vsize > (SHARED_TEXT_REGION_SIZE + SHARED_DATA_REGION_SIZE)) { + *vsize -= (SHARED_TEXT_REGION_SIZE + SHARED_DATA_REGION_SIZE); + } + } + } + + return 0; +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.go new file mode 100644 index 0000000000..9ac53f9992 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_cgo_darwin.go @@ -0,0 +1,51 @@ +// Copyright 2024 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build darwin && !ios && cgo + +package prometheus + +/* +int get_memory_info(unsigned long long *rss, unsigned long long *vs); +*/ +import "C" +import "fmt" + +func getMemory() (*memoryInfo, error) { + var rss, vsize C.ulonglong + + if err := C.get_memory_info(&rss, &vsize); err != 0 { + return nil, fmt.Errorf("task_info() failed with 0x%x", int(err)) + } + + return &memoryInfo{vsize: uint64(vsize), rss: uint64(rss)}, nil +} + +// describe returns all descriptions of the collector for Darwin. +// Ensure that this list of descriptors is kept in sync with the metrics collected +// in the processCollect method. Any changes to the metrics in processCollect +// (such as adding or removing metrics) should be reflected in this list of descriptors. +func (c *processCollector) describe(ch chan<- *Desc) { + ch <- c.cpuTotal + ch <- c.openFDs + ch <- c.maxFDs + ch <- c.maxVsize + ch <- c.startTime + ch <- c.rss + ch <- c.vsize + + /* the process could be collected but not implemented yet + ch <- c.inBytes + ch <- c.outBytes + */ +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_nocgo_darwin.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_nocgo_darwin.go new file mode 100644 index 0000000000..8ddb0995d6 --- /dev/null +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_mem_nocgo_darwin.go @@ -0,0 +1,39 @@ +// Copyright 2024 The Prometheus Authors +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//go:build darwin && !ios && !cgo + +package prometheus + +func getMemory() (*memoryInfo, error) { + return nil, notImplementedErr +} + +// describe returns all descriptions of the collector for Darwin. +// Ensure that this list of descriptors is kept in sync with the metrics collected +// in the processCollect method. Any changes to the metrics in processCollect +// (such as adding or removing metrics) should be reflected in this list of descriptors. +func (c *processCollector) describe(ch chan<- *Desc) { + ch <- c.cpuTotal + ch <- c.openFDs + ch <- c.maxFDs + ch <- c.maxVsize + ch <- c.startTime + + /* the process could be collected but not implemented yet + ch <- c.rss + ch <- c.vsize + ch <- c.inBytes + ch <- c.outBytes + */ +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_wasip1.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_not_supported.go similarity index 55% rename from vendor/github.com/prometheus/client_golang/prometheus/process_collector_wasip1.go rename to vendor/github.com/prometheus/client_golang/prometheus/process_collector_not_supported.go index d8d9a6d7a2..7732b7f376 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_wasip1.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_not_supported.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build wasip1 -// +build wasip1 +//go:build wasip1 || js || ios +// +build wasip1 js ios package prometheus @@ -20,7 +20,14 @@ func canCollectProcess() bool { return false } -func (*processCollector) processCollect(chan<- Metric) { - // noop on this platform - return +func (c *processCollector) processCollect(ch chan<- Metric) { + c.errorCollectFn(ch) +} + +// describe returns all descriptions of the collector for wasip1 and js. +// Ensure that this list of descriptors is kept in sync with the metrics collected +// in the processCollect method. Any changes to the metrics in processCollect +// (such as adding or removing metrics) should be reflected in this list of descriptors. +func (c *processCollector) describe(ch chan<- *Desc) { + c.errorDescribeFn(ch) } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_other.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_procfsenabled.go similarity index 77% rename from vendor/github.com/prometheus/client_golang/prometheus/process_collector_other.go rename to vendor/github.com/prometheus/client_golang/prometheus/process_collector_procfsenabled.go index 14d56d2d06..9f4b130bef 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_other.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_procfsenabled.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !windows && !js && !wasip1 -// +build !windows,!js,!wasip1 +//go:build !windows && !js && !wasip1 && !darwin +// +build !windows,!js,!wasip1,!darwin package prometheus @@ -78,3 +78,19 @@ func (c *processCollector) processCollect(ch chan<- Metric) { c.reportError(ch, nil, err) } } + +// describe returns all descriptions of the collector for others than windows, js, wasip1 and darwin. +// Ensure that this list of descriptors is kept in sync with the metrics collected +// in the processCollect method. Any changes to the metrics in processCollect +// (such as adding or removing metrics) should be reflected in this list of descriptors. +func (c *processCollector) describe(ch chan<- *Desc) { + ch <- c.cpuTotal + ch <- c.openFDs + ch <- c.maxFDs + ch <- c.vsize + ch <- c.maxVsize + ch <- c.rss + ch <- c.startTime + ch <- c.inBytes + ch <- c.outBytes +} diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go index f973398df2..fa474289ef 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/process_collector_windows.go @@ -79,14 +79,10 @@ func getProcessHandleCount(handle windows.Handle) (uint32, error) { } func (c *processCollector) processCollect(ch chan<- Metric) { - h, err := windows.GetCurrentProcess() - if err != nil { - c.reportError(ch, nil, err) - return - } + h := windows.CurrentProcess() var startTime, exitTime, kernelTime, userTime windows.Filetime - err = windows.GetProcessTimes(h, &startTime, &exitTime, &kernelTime, &userTime) + err := windows.GetProcessTimes(h, &startTime, &exitTime, &kernelTime, &userTime) if err != nil { c.reportError(ch, nil, err) return @@ -111,6 +107,19 @@ func (c *processCollector) processCollect(ch chan<- Metric) { ch <- MustNewConstMetric(c.maxFDs, GaugeValue, float64(16*1024*1024)) // Windows has a hard-coded max limit, not per-process. } +// describe returns all descriptions of the collector for windows. +// Ensure that this list of descriptors is kept in sync with the metrics collected +// in the processCollect method. Any changes to the metrics in processCollect +// (such as adding or removing metrics) should be reflected in this list of descriptors. +func (c *processCollector) describe(ch chan<- *Desc) { + ch <- c.cpuTotal + ch <- c.openFDs + ch <- c.maxFDs + ch <- c.vsize + ch <- c.rss + ch <- c.startTime +} + func fileTimeToSeconds(ft windows.Filetime) float64 { return float64(uint64(ft.HighDateTime)<<32+uint64(ft.LowDateTime)) / 1e7 } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/promhttp/http.go b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/http.go index e598e66e68..763d99e362 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/promhttp/http.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/http.go @@ -41,11 +41,11 @@ import ( "sync" "time" - "github.com/klauspost/compress/zstd" "github.com/prometheus/common/expfmt" "github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil" "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/client_golang/prometheus/promhttp/internal" ) const ( @@ -65,7 +65,13 @@ const ( Zstd Compression = "zstd" ) -var defaultCompressionFormats = []Compression{Identity, Gzip, Zstd} +func defaultCompressionFormats() []Compression { + if internal.NewZstdWriter != nil { + return []Compression{Identity, Gzip, Zstd} + } else { + return []Compression{Identity, Gzip} + } +} var gzipPool = sync.Pool{ New: func() interface{} { @@ -138,7 +144,7 @@ func HandlerForTransactional(reg prometheus.TransactionalGatherer, opts HandlerO // Select compression formats to offer based on default or user choice. var compressions []string if !opts.DisableCompression { - offers := defaultCompressionFormats + offers := defaultCompressionFormats() if len(opts.OfferedCompressions) > 0 { offers = opts.OfferedCompressions } @@ -207,7 +213,13 @@ func HandlerForTransactional(reg prometheus.TransactionalGatherer, opts HandlerO if encodingHeader != string(Identity) { rsp.Header().Set(contentEncodingHeader, encodingHeader) } - enc := expfmt.NewEncoder(w, contentType) + + var enc expfmt.Encoder + if opts.EnableOpenMetricsTextCreatedSamples { + enc = expfmt.NewEncoder(w, contentType, expfmt.WithCreatedLines()) + } else { + enc = expfmt.NewEncoder(w, contentType) + } // handleError handles the error according to opts.ErrorHandling // and returns true if we have to abort after the handling. @@ -408,6 +420,21 @@ type HandlerOpts struct { // (which changes the identity of the resulting series on the Prometheus // server). EnableOpenMetrics bool + // EnableOpenMetricsTextCreatedSamples specifies if this handler should add, extra, synthetic + // Created Timestamps for counters, histograms and summaries, which for the current + // version of OpenMetrics are defined as extra series with the same name and "_created" + // suffix. See also the OpenMetrics specification for more details + // https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#counter-1 + // + // Created timestamps are used to improve the accuracy of reset detection, + // but the way it's designed in OpenMetrics 1.0 it also dramatically increases cardinality + // if the scraper does not handle those metrics correctly (converting to created timestamp + // instead of leaving those series as-is). New OpenMetrics versions might improve + // this situation. + // + // Prometheus introduced the feature flag 'created-timestamp-zero-ingestion' + // in version 2.50.0 to handle this situation. + EnableOpenMetricsTextCreatedSamples bool // ProcessStartTime allows setting process start timevalue that will be exposed // with "Process-Start-Time-Unix" response header along with the metrics // payload. This allow callers to have efficient transformations to cumulative @@ -445,14 +472,12 @@ func negotiateEncodingWriter(r *http.Request, rw io.Writer, compressions []strin switch selected { case "zstd": - // TODO(mrueg): Replace klauspost/compress with stdlib implementation once https://github.com/golang/go/issues/62513 is implemented. - z, err := zstd.NewWriter(rw, zstd.WithEncoderLevel(zstd.SpeedFastest)) - if err != nil { - return nil, "", func() {}, err + if internal.NewZstdWriter == nil { + // The content encoding was not implemented yet. + return nil, "", func() {}, fmt.Errorf("content compression format not recognized: %s. Valid formats are: %s", selected, defaultCompressionFormats()) } - - z.Reset(rw) - return z, selected, func() { _ = z.Close() }, nil + writer, closeWriter, err := internal.NewZstdWriter(rw) + return writer, selected, closeWriter, err case "gzip": gz := gzipPool.Get().(*gzip.Writer) gz.Reset(rw) @@ -462,6 +487,6 @@ func negotiateEncodingWriter(r *http.Request, rw io.Writer, compressions []strin return rw, selected, func() {}, nil default: // The content encoding was not implemented yet. - return nil, "", func() {}, fmt.Errorf("content compression format not recognized: %s. Valid formats are: %s", selected, defaultCompressionFormats) + return nil, "", func() {}, fmt.Errorf("content compression format not recognized: %s. Valid formats are: %s", selected, defaultCompressionFormats()) } } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_js.go b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/internal/compression.go similarity index 70% rename from vendor/github.com/prometheus/client_golang/prometheus/process_collector_js.go rename to vendor/github.com/prometheus/client_golang/prometheus/promhttp/internal/compression.go index b1e363d6cf..c5039590f7 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/process_collector_js.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/internal/compression.go @@ -1,4 +1,4 @@ -// Copyright 2019 The Prometheus Authors +// Copyright 2025 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -11,16 +11,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build js -// +build js +package internal -package prometheus +import ( + "io" +) -func canCollectProcess() bool { - return false -} - -func (c *processCollector) processCollect(ch chan<- Metric) { - // noop on this platform - return -} +// NewZstdWriter enables zstd write support if non-nil. +var NewZstdWriter func(rw io.Writer) (_ io.Writer, closeWriter func(), _ error) diff --git a/vendor/github.com/prometheus/client_golang/prometheus/summary.go b/vendor/github.com/prometheus/client_golang/prometheus/summary.go index 1ab0e47965..ac5203c6fa 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/summary.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/summary.go @@ -243,6 +243,7 @@ func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary { s := &summary{ desc: desc, + now: opts.now, objectives: opts.Objectives, sortedObjectives: make([]float64, 0, len(opts.Objectives)), @@ -280,6 +281,8 @@ type summary struct { desc *Desc + now func() time.Time + objectives map[float64]float64 sortedObjectives []float64 @@ -307,7 +310,7 @@ func (s *summary) Observe(v float64) { s.bufMtx.Lock() defer s.bufMtx.Unlock() - now := time.Now() + now := s.now() if now.After(s.hotBufExpTime) { s.asyncFlush(now) } @@ -326,7 +329,7 @@ func (s *summary) Write(out *dto.Metric) error { s.bufMtx.Lock() s.mtx.Lock() // Swap bufs even if hotBuf is empty to set new hotBufExpTime. - s.swapBufs(time.Now()) + s.swapBufs(s.now()) s.bufMtx.Unlock() s.flushColdBuf() diff --git a/vendor/github.com/prometheus/client_golang/prometheus/testutil/promlint/validations/duplicate_validations.go b/vendor/github.com/prometheus/client_golang/prometheus/testutil/promlint/validations/duplicate_validations.go index fdc1e62394..68645ed0a9 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/testutil/promlint/validations/duplicate_validations.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/testutil/promlint/validations/duplicate_validations.go @@ -14,7 +14,7 @@ package validations import ( - "fmt" + "errors" "reflect" dto "github.com/prometheus/client_model/go" @@ -27,7 +27,7 @@ func LintDuplicateMetric(mf *dto.MetricFamily) []error { for i, m := range mf.Metric { for _, k := range mf.Metric[i+1:] { if reflect.DeepEqual(m.Label, k.Label) { - problems = append(problems, fmt.Errorf("metric not unique")) + problems = append(problems, errors.New("metric not unique")) break } } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/testutil/testutil.go b/vendor/github.com/prometheus/client_golang/prometheus/testutil/testutil.go index 6f1200180a..1258508e4f 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/testutil/testutil.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/testutil/testutil.go @@ -39,6 +39,7 @@ package testutil import ( "bytes" + "errors" "fmt" "io" "net/http" @@ -46,6 +47,7 @@ import ( "github.com/kylelemons/godebug/diff" dto "github.com/prometheus/client_model/go" "github.com/prometheus/common/expfmt" + "github.com/prometheus/common/model" "google.golang.org/protobuf/proto" "github.com/prometheus/client_golang/prometheus" @@ -300,20 +302,20 @@ func compareMetricFamilies(got, expected []*dto.MetricFamily, metricNames ...str // result. func compare(got, want []*dto.MetricFamily) error { var gotBuf, wantBuf bytes.Buffer - enc := expfmt.NewEncoder(&gotBuf, expfmt.NewFormat(expfmt.TypeTextPlain)) + enc := expfmt.NewEncoder(&gotBuf, expfmt.NewFormat(expfmt.TypeTextPlain).WithEscapingScheme(model.NoEscaping)) for _, mf := range got { if err := enc.Encode(mf); err != nil { return fmt.Errorf("encoding gathered metrics failed: %w", err) } } - enc = expfmt.NewEncoder(&wantBuf, expfmt.NewFormat(expfmt.TypeTextPlain)) + enc = expfmt.NewEncoder(&wantBuf, expfmt.NewFormat(expfmt.TypeTextPlain).WithEscapingScheme(model.NoEscaping)) for _, mf := range want { if err := enc.Encode(mf); err != nil { return fmt.Errorf("encoding expected metrics failed: %w", err) } } if diffErr := diff.Diff(gotBuf.String(), wantBuf.String()); diffErr != "" { - return fmt.Errorf(diffErr) + return errors.New(diffErr) } return nil } diff --git a/vendor/github.com/prometheus/common/expfmt/openmetrics_create.go b/vendor/github.com/prometheus/common/expfmt/openmetrics_create.go index f1c495dd60..a21ed4ec1f 100644 --- a/vendor/github.com/prometheus/common/expfmt/openmetrics_create.go +++ b/vendor/github.com/prometheus/common/expfmt/openmetrics_create.go @@ -38,7 +38,7 @@ type EncoderOption func(*encoderOption) // WithCreatedLines is an EncoderOption that configures the OpenMetrics encoder // to include _created lines (See -// https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#counter-1). +// https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#counter-1). // Created timestamps can improve the accuracy of series reset detection, but // come with a bandwidth cost. // @@ -102,7 +102,7 @@ func WithUnit() EncoderOption { // // - According to the OM specs, the `# UNIT` line is optional, but if populated, // the unit has to be present in the metric name as its suffix: -// (see https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#unit). +// (see https://github.com/prometheus/OpenMetrics/blob/v1.0.0/specification/OpenMetrics.md#unit). // However, in order to accommodate any potential scenario where such a change in the // metric name is not desirable, the users are here given the choice of either explicitly // opt in, in case they wish for the unit to be included in the output AND in the metric name diff --git a/vendor/github.com/prometheus/common/model/metric.go b/vendor/github.com/prometheus/common/model/metric.go index 0daca836af..5766107cf9 100644 --- a/vendor/github.com/prometheus/common/model/metric.go +++ b/vendor/github.com/prometheus/common/model/metric.go @@ -28,13 +28,13 @@ import ( var ( // NameValidationScheme determines the method of name validation to be used by - // all calls to IsValidMetricName() and LabelName IsValid(). Setting UTF-8 mode - // in isolation from other components that don't support UTF-8 may result in - // bugs or other undefined behavior. This value is intended to be set by - // UTF-8-aware binaries as part of their startup. To avoid need for locking, - // this value should be set once, ideally in an init(), before multiple - // goroutines are started. - NameValidationScheme = LegacyValidation + // all calls to IsValidMetricName() and LabelName IsValid(). Setting UTF-8 + // mode in isolation from other components that don't support UTF-8 may result + // in bugs or other undefined behavior. This value can be set to + // LegacyValidation during startup if a binary is not UTF-8-aware binaries. To + // avoid need for locking, this value should be set once, ideally in an + // init(), before multiple goroutines are started. + NameValidationScheme = UTF8Validation // NameEscapingScheme defines the default way that names will be escaped when // presented to systems that do not support UTF-8 names. If the Content-Type diff --git a/vendor/github.com/youmark/pkcs8/.gitignore b/vendor/github.com/youmark/pkcs8/.gitignore new file mode 100644 index 0000000000..836562412f --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/.gitignore @@ -0,0 +1,23 @@ +# Compiled Object files, Static and Dynamic libs (Shared Objects) +*.o +*.a +*.so + +# Folders +_obj +_test + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +_testmain.go + +*.exe +*.test diff --git a/vendor/github.com/youmark/pkcs8/LICENSE b/vendor/github.com/youmark/pkcs8/LICENSE new file mode 100644 index 0000000000..c939f44810 --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 youmark + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +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 diff --git a/vendor/github.com/youmark/pkcs8/README b/vendor/github.com/youmark/pkcs8/README new file mode 100644 index 0000000000..376fcaf64e --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/README @@ -0,0 +1 @@ +pkcs8 package: implement PKCS#8 private key parsing and conversion as defined in RFC5208 and RFC5958 diff --git a/vendor/github.com/youmark/pkcs8/README.md b/vendor/github.com/youmark/pkcs8/README.md new file mode 100644 index 0000000000..ef6c762571 --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/README.md @@ -0,0 +1,22 @@ +pkcs8 +=== +OpenSSL can generate private keys in both "traditional format" and PKCS#8 format. Newer applications are advised to use more secure PKCS#8 format. Go standard crypto package provides a [function](http://golang.org/pkg/crypto/x509/#ParsePKCS8PrivateKey) to parse private key in PKCS#8 format. There is a limitation to this function. It can only handle unencrypted PKCS#8 private keys. To use this function, the user has to save the private key in file without encryption, which is a bad practice to leave private keys unprotected on file systems. In addition, Go standard package lacks the functions to convert RSA/ECDSA private keys into PKCS#8 format. + +pkcs8 package fills the gap here. It implements functions to process private keys in PKCS#8 format, as defined in [RFC5208](https://tools.ietf.org/html/rfc5208) and [RFC5958](https://tools.ietf.org/html/rfc5958). It can handle both unencrypted PKCS#8 PrivateKeyInfo format and EncryptedPrivateKeyInfo format with PKCS#5 (v2.0) algorithms. + + +[**Godoc**](http://godoc.org/github.com/youmark/pkcs8) + +## Installation +Supports Go 1.10+. Release v1.1 is the last release supporting Go 1.9 + +```text +go get github.com/youmark/pkcs8 +``` +## dependency +This package depends on golang.org/x/crypto/pbkdf2 and golang.org/x/crypto/scrypt packages. Use the following command to retrieve them +```text +go get golang.org/x/crypto/pbkdf2 +go get golang.org/x/crypto/scrypt +``` + diff --git a/vendor/github.com/youmark/pkcs8/cipher.go b/vendor/github.com/youmark/pkcs8/cipher.go new file mode 100644 index 0000000000..2946c93e89 --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/cipher.go @@ -0,0 +1,60 @@ +package pkcs8 + +import ( + "bytes" + "crypto/cipher" + "encoding/asn1" +) + +type cipherWithBlock struct { + oid asn1.ObjectIdentifier + ivSize int + keySize int + newBlock func(key []byte) (cipher.Block, error) +} + +func (c cipherWithBlock) IVSize() int { + return c.ivSize +} + +func (c cipherWithBlock) KeySize() int { + return c.keySize +} + +func (c cipherWithBlock) OID() asn1.ObjectIdentifier { + return c.oid +} + +func (c cipherWithBlock) Encrypt(key, iv, plaintext []byte) ([]byte, error) { + block, err := c.newBlock(key) + if err != nil { + return nil, err + } + return cbcEncrypt(block, key, iv, plaintext) +} + +func (c cipherWithBlock) Decrypt(key, iv, ciphertext []byte) ([]byte, error) { + block, err := c.newBlock(key) + if err != nil { + return nil, err + } + return cbcDecrypt(block, key, iv, ciphertext) +} + +func cbcEncrypt(block cipher.Block, key, iv, plaintext []byte) ([]byte, error) { + mode := cipher.NewCBCEncrypter(block, iv) + paddingLen := block.BlockSize() - (len(plaintext) % block.BlockSize()) + ciphertext := make([]byte, len(plaintext)+paddingLen) + copy(ciphertext, plaintext) + copy(ciphertext[len(plaintext):], bytes.Repeat([]byte{byte(paddingLen)}, paddingLen)) + mode.CryptBlocks(ciphertext, ciphertext) + return ciphertext, nil +} + +func cbcDecrypt(block cipher.Block, key, iv, ciphertext []byte) ([]byte, error) { + mode := cipher.NewCBCDecrypter(block, iv) + plaintext := make([]byte, len(ciphertext)) + mode.CryptBlocks(plaintext, ciphertext) + // TODO: remove padding + return plaintext, nil +} diff --git a/vendor/github.com/youmark/pkcs8/cipher_3des.go b/vendor/github.com/youmark/pkcs8/cipher_3des.go new file mode 100644 index 0000000000..5629664409 --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/cipher_3des.go @@ -0,0 +1,24 @@ +package pkcs8 + +import ( + "crypto/des" + "encoding/asn1" +) + +var ( + oidDESEDE3CBC = asn1.ObjectIdentifier{1, 2, 840, 113549, 3, 7} +) + +func init() { + RegisterCipher(oidDESEDE3CBC, func() Cipher { + return TripleDESCBC + }) +} + +// TripleDESCBC is the 168-bit key 3DES cipher in CBC mode. +var TripleDESCBC = cipherWithBlock{ + ivSize: des.BlockSize, + keySize: 24, + newBlock: des.NewTripleDESCipher, + oid: oidDESEDE3CBC, +} diff --git a/vendor/github.com/youmark/pkcs8/cipher_aes.go b/vendor/github.com/youmark/pkcs8/cipher_aes.go new file mode 100644 index 0000000000..c0372d1eeb --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/cipher_aes.go @@ -0,0 +1,84 @@ +package pkcs8 + +import ( + "crypto/aes" + "encoding/asn1" +) + +var ( + oidAES128CBC = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 1, 2} + oidAES128GCM = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 1, 6} + oidAES192CBC = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 1, 22} + oidAES192GCM = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 1, 26} + oidAES256CBC = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 1, 42} + oidAES256GCM = asn1.ObjectIdentifier{2, 16, 840, 1, 101, 3, 4, 1, 46} +) + +func init() { + RegisterCipher(oidAES128CBC, func() Cipher { + return AES128CBC + }) + RegisterCipher(oidAES128GCM, func() Cipher { + return AES128GCM + }) + RegisterCipher(oidAES192CBC, func() Cipher { + return AES192CBC + }) + RegisterCipher(oidAES192GCM, func() Cipher { + return AES192GCM + }) + RegisterCipher(oidAES256CBC, func() Cipher { + return AES256CBC + }) + RegisterCipher(oidAES256GCM, func() Cipher { + return AES256GCM + }) +} + +// AES128CBC is the 128-bit key AES cipher in CBC mode. +var AES128CBC = cipherWithBlock{ + ivSize: aes.BlockSize, + keySize: 16, + newBlock: aes.NewCipher, + oid: oidAES128CBC, +} + +// AES128GCM is the 128-bit key AES cipher in GCM mode. +var AES128GCM = cipherWithBlock{ + ivSize: aes.BlockSize, + keySize: 16, + newBlock: aes.NewCipher, + oid: oidAES128GCM, +} + +// AES192CBC is the 192-bit key AES cipher in CBC mode. +var AES192CBC = cipherWithBlock{ + ivSize: aes.BlockSize, + keySize: 24, + newBlock: aes.NewCipher, + oid: oidAES192CBC, +} + +// AES192GCM is the 912-bit key AES cipher in GCM mode. +var AES192GCM = cipherWithBlock{ + ivSize: aes.BlockSize, + keySize: 24, + newBlock: aes.NewCipher, + oid: oidAES192GCM, +} + +// AES256CBC is the 256-bit key AES cipher in CBC mode. +var AES256CBC = cipherWithBlock{ + ivSize: aes.BlockSize, + keySize: 32, + newBlock: aes.NewCipher, + oid: oidAES256CBC, +} + +// AES256GCM is the 256-bit key AES cipher in GCM mode. +var AES256GCM = cipherWithBlock{ + ivSize: aes.BlockSize, + keySize: 32, + newBlock: aes.NewCipher, + oid: oidAES256GCM, +} diff --git a/vendor/github.com/youmark/pkcs8/kdf_pbkdf2.go b/vendor/github.com/youmark/pkcs8/kdf_pbkdf2.go new file mode 100644 index 0000000000..79697dd82b --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/kdf_pbkdf2.go @@ -0,0 +1,91 @@ +package pkcs8 + +import ( + "crypto" + "crypto/sha1" + "crypto/sha256" + "crypto/x509/pkix" + "encoding/asn1" + "errors" + "hash" + + "golang.org/x/crypto/pbkdf2" +) + +var ( + oidPKCS5PBKDF2 = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 5, 12} + oidHMACWithSHA1 = asn1.ObjectIdentifier{1, 2, 840, 113549, 2, 7} + oidHMACWithSHA256 = asn1.ObjectIdentifier{1, 2, 840, 113549, 2, 9} +) + +func init() { + RegisterKDF(oidPKCS5PBKDF2, func() KDFParameters { + return new(pbkdf2Params) + }) +} + +func newHashFromPRF(ai pkix.AlgorithmIdentifier) (func() hash.Hash, error) { + switch { + case len(ai.Algorithm) == 0 || ai.Algorithm.Equal(oidHMACWithSHA1): + return sha1.New, nil + case ai.Algorithm.Equal(oidHMACWithSHA256): + return sha256.New, nil + default: + return nil, errors.New("pkcs8: unsupported hash function") + } +} + +func newPRFParamFromHash(h crypto.Hash) (pkix.AlgorithmIdentifier, error) { + switch h { + case crypto.SHA1: + return pkix.AlgorithmIdentifier{ + Algorithm: oidHMACWithSHA1, + Parameters: asn1.RawValue{Tag: asn1.TagNull}}, nil + case crypto.SHA256: + return pkix.AlgorithmIdentifier{ + Algorithm: oidHMACWithSHA256, + Parameters: asn1.RawValue{Tag: asn1.TagNull}}, nil + } + return pkix.AlgorithmIdentifier{}, errors.New("pkcs8: unsupported hash function") +} + +type pbkdf2Params struct { + Salt []byte + IterationCount int + PRF pkix.AlgorithmIdentifier `asn1:"optional"` +} + +func (p pbkdf2Params) DeriveKey(password []byte, size int) (key []byte, err error) { + h, err := newHashFromPRF(p.PRF) + if err != nil { + return nil, err + } + return pbkdf2.Key(password, p.Salt, p.IterationCount, size, h), nil +} + +// PBKDF2Opts contains options for the PBKDF2 key derivation function. +type PBKDF2Opts struct { + SaltSize int + IterationCount int + HMACHash crypto.Hash +} + +func (p PBKDF2Opts) DeriveKey(password, salt []byte, size int) ( + key []byte, params KDFParameters, err error) { + + key = pbkdf2.Key(password, salt, p.IterationCount, size, p.HMACHash.New) + prfParam, err := newPRFParamFromHash(p.HMACHash) + if err != nil { + return nil, nil, err + } + params = pbkdf2Params{salt, p.IterationCount, prfParam} + return key, params, nil +} + +func (p PBKDF2Opts) GetSaltSize() int { + return p.SaltSize +} + +func (p PBKDF2Opts) OID() asn1.ObjectIdentifier { + return oidPKCS5PBKDF2 +} diff --git a/vendor/github.com/youmark/pkcs8/kdf_scrypt.go b/vendor/github.com/youmark/pkcs8/kdf_scrypt.go new file mode 100644 index 0000000000..36c4f4f595 --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/kdf_scrypt.go @@ -0,0 +1,62 @@ +package pkcs8 + +import ( + "encoding/asn1" + + "golang.org/x/crypto/scrypt" +) + +var ( + oidScrypt = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 11591, 4, 11} +) + +func init() { + RegisterKDF(oidScrypt, func() KDFParameters { + return new(scryptParams) + }) +} + +type scryptParams struct { + Salt []byte + CostParameter int + BlockSize int + ParallelizationParameter int +} + +func (p scryptParams) DeriveKey(password []byte, size int) (key []byte, err error) { + return scrypt.Key(password, p.Salt, p.CostParameter, p.BlockSize, + p.ParallelizationParameter, size) +} + +// ScryptOpts contains options for the scrypt key derivation function. +type ScryptOpts struct { + SaltSize int + CostParameter int + BlockSize int + ParallelizationParameter int +} + +func (p ScryptOpts) DeriveKey(password, salt []byte, size int) ( + key []byte, params KDFParameters, err error) { + + key, err = scrypt.Key(password, salt, p.CostParameter, p.BlockSize, + p.ParallelizationParameter, size) + if err != nil { + return nil, nil, err + } + params = scryptParams{ + BlockSize: p.BlockSize, + CostParameter: p.CostParameter, + ParallelizationParameter: p.ParallelizationParameter, + Salt: salt, + } + return key, params, nil +} + +func (p ScryptOpts) GetSaltSize() int { + return p.SaltSize +} + +func (p ScryptOpts) OID() asn1.ObjectIdentifier { + return oidScrypt +} diff --git a/vendor/github.com/youmark/pkcs8/pkcs8.go b/vendor/github.com/youmark/pkcs8/pkcs8.go new file mode 100644 index 0000000000..f27f627523 --- /dev/null +++ b/vendor/github.com/youmark/pkcs8/pkcs8.go @@ -0,0 +1,309 @@ +// Package pkcs8 implements functions to parse and convert private keys in PKCS#8 format, as defined in RFC5208 and RFC5958 +package pkcs8 + +import ( + "crypto" + "crypto/ecdsa" + "crypto/rand" + "crypto/rsa" + "crypto/x509" + "crypto/x509/pkix" + "encoding/asn1" + "errors" + "fmt" +) + +// DefaultOpts are the default options for encrypting a key if none are given. +// The defaults can be changed by the library user. +var DefaultOpts = &Opts{ + Cipher: AES256CBC, + KDFOpts: PBKDF2Opts{ + SaltSize: 8, + IterationCount: 10000, + HMACHash: crypto.SHA256, + }, +} + +// KDFOpts contains options for a key derivation function. +// An implementation of this interface must be specified when encrypting a PKCS#8 key. +type KDFOpts interface { + // DeriveKey derives a key of size bytes from the given password and salt. + // It returns the key and the ASN.1-encodable parameters used. + DeriveKey(password, salt []byte, size int) (key []byte, params KDFParameters, err error) + // GetSaltSize returns the salt size specified. + GetSaltSize() int + // OID returns the OID of the KDF specified. + OID() asn1.ObjectIdentifier +} + +// KDFParameters contains parameters (salt, etc.) for a key deriviation function. +// It must be a ASN.1-decodable structure. +// An implementation of this interface is created when decoding an encrypted PKCS#8 key. +type KDFParameters interface { + // DeriveKey derives a key of size bytes from the given password. + // It uses the salt from the decoded parameters. + DeriveKey(password []byte, size int) (key []byte, err error) +} + +var kdfs = make(map[string]func() KDFParameters) + +// RegisterKDF registers a function that returns a new instance of the given KDF +// parameters. This allows the library to support client-provided KDFs. +func RegisterKDF(oid asn1.ObjectIdentifier, params func() KDFParameters) { + kdfs[oid.String()] = params +} + +// Cipher represents a cipher for encrypting the key material. +type Cipher interface { + // IVSize returns the IV size of the cipher, in bytes. + IVSize() int + // KeySize returns the key size of the cipher, in bytes. + KeySize() int + // Encrypt encrypts the key material. + Encrypt(key, iv, plaintext []byte) ([]byte, error) + // Decrypt decrypts the key material. + Decrypt(key, iv, ciphertext []byte) ([]byte, error) + // OID returns the OID of the cipher specified. + OID() asn1.ObjectIdentifier +} + +var ciphers = make(map[string]func() Cipher) + +// RegisterCipher registers a function that returns a new instance of the given +// cipher. This allows the library to support client-provided ciphers. +func RegisterCipher(oid asn1.ObjectIdentifier, cipher func() Cipher) { + ciphers[oid.String()] = cipher +} + +// Opts contains options for encrypting a PKCS#8 key. +type Opts struct { + Cipher Cipher + KDFOpts KDFOpts +} + +// Unecrypted PKCS8 +var ( + oidPBES2 = asn1.ObjectIdentifier{1, 2, 840, 113549, 1, 5, 13} +) + +type encryptedPrivateKeyInfo struct { + EncryptionAlgorithm pkix.AlgorithmIdentifier + EncryptedData []byte +} + +type pbes2Params struct { + KeyDerivationFunc pkix.AlgorithmIdentifier + EncryptionScheme pkix.AlgorithmIdentifier +} + +type privateKeyInfo struct { + Version int + PrivateKeyAlgorithm pkix.AlgorithmIdentifier + PrivateKey []byte +} + +func parseKeyDerivationFunc(keyDerivationFunc pkix.AlgorithmIdentifier) (KDFParameters, error) { + oid := keyDerivationFunc.Algorithm.String() + newParams, ok := kdfs[oid] + if !ok { + return nil, fmt.Errorf("pkcs8: unsupported KDF (OID: %s)", oid) + } + params := newParams() + _, err := asn1.Unmarshal(keyDerivationFunc.Parameters.FullBytes, params) + if err != nil { + return nil, errors.New("pkcs8: invalid KDF parameters") + } + return params, nil +} + +func parseEncryptionScheme(encryptionScheme pkix.AlgorithmIdentifier) (Cipher, []byte, error) { + oid := encryptionScheme.Algorithm.String() + newCipher, ok := ciphers[oid] + if !ok { + return nil, nil, fmt.Errorf("pkcs8: unsupported cipher (OID: %s)", oid) + } + cipher := newCipher() + var iv []byte + if _, err := asn1.Unmarshal(encryptionScheme.Parameters.FullBytes, &iv); err != nil { + return nil, nil, errors.New("pkcs8: invalid cipher parameters") + } + return cipher, iv, nil +} + +// ParsePrivateKey parses a DER-encoded PKCS#8 private key. +// Password can be nil. +// This is equivalent to ParsePKCS8PrivateKey. +func ParsePrivateKey(der []byte, password []byte) (interface{}, KDFParameters, error) { + // No password provided, assume the private key is unencrypted + if len(password) == 0 { + privateKey, err := x509.ParsePKCS8PrivateKey(der) + return privateKey, nil, err + } + + // Use the password provided to decrypt the private key + var privKey encryptedPrivateKeyInfo + if _, err := asn1.Unmarshal(der, &privKey); err != nil { + return nil, nil, errors.New("pkcs8: only PKCS #5 v2.0 supported") + } + + if !privKey.EncryptionAlgorithm.Algorithm.Equal(oidPBES2) { + return nil, nil, errors.New("pkcs8: only PBES2 supported") + } + + var params pbes2Params + if _, err := asn1.Unmarshal(privKey.EncryptionAlgorithm.Parameters.FullBytes, ¶ms); err != nil { + return nil, nil, errors.New("pkcs8: invalid PBES2 parameters") + } + + cipher, iv, err := parseEncryptionScheme(params.EncryptionScheme) + if err != nil { + return nil, nil, err + } + + kdfParams, err := parseKeyDerivationFunc(params.KeyDerivationFunc) + if err != nil { + return nil, nil, err + } + + keySize := cipher.KeySize() + symkey, err := kdfParams.DeriveKey(password, keySize) + if err != nil { + return nil, nil, err + } + + encryptedKey := privKey.EncryptedData + decryptedKey, err := cipher.Decrypt(symkey, iv, encryptedKey) + if err != nil { + return nil, nil, err + } + + key, err := x509.ParsePKCS8PrivateKey(decryptedKey) + if err != nil { + return nil, nil, errors.New("pkcs8: incorrect password") + } + return key, kdfParams, nil +} + +// MarshalPrivateKey encodes a private key into DER-encoded PKCS#8 with the given options. +// Password can be nil. +func MarshalPrivateKey(priv interface{}, password []byte, opts *Opts) ([]byte, error) { + if len(password) == 0 { + return x509.MarshalPKCS8PrivateKey(priv) + } + + if opts == nil { + opts = DefaultOpts + } + + // Convert private key into PKCS8 format + pkey, err := x509.MarshalPKCS8PrivateKey(priv) + if err != nil { + return nil, err + } + + encAlg := opts.Cipher + salt := make([]byte, opts.KDFOpts.GetSaltSize()) + _, err = rand.Read(salt) + if err != nil { + return nil, err + } + iv := make([]byte, encAlg.IVSize()) + _, err = rand.Read(iv) + if err != nil { + return nil, err + } + key, kdfParams, err := opts.KDFOpts.DeriveKey(password, salt, encAlg.KeySize()) + if err != nil { + return nil, err + } + + encryptedKey, err := encAlg.Encrypt(key, iv, pkey) + if err != nil { + return nil, err + } + + marshalledParams, err := asn1.Marshal(kdfParams) + if err != nil { + return nil, err + } + keyDerivationFunc := pkix.AlgorithmIdentifier{ + Algorithm: opts.KDFOpts.OID(), + Parameters: asn1.RawValue{FullBytes: marshalledParams}, + } + marshalledIV, err := asn1.Marshal(iv) + if err != nil { + return nil, err + } + encryptionScheme := pkix.AlgorithmIdentifier{ + Algorithm: encAlg.OID(), + Parameters: asn1.RawValue{FullBytes: marshalledIV}, + } + + encryptionAlgorithmParams := pbes2Params{ + EncryptionScheme: encryptionScheme, + KeyDerivationFunc: keyDerivationFunc, + } + marshalledEncryptionAlgorithmParams, err := asn1.Marshal(encryptionAlgorithmParams) + if err != nil { + return nil, err + } + encryptionAlgorithm := pkix.AlgorithmIdentifier{ + Algorithm: oidPBES2, + Parameters: asn1.RawValue{FullBytes: marshalledEncryptionAlgorithmParams}, + } + + encryptedPkey := encryptedPrivateKeyInfo{ + EncryptionAlgorithm: encryptionAlgorithm, + EncryptedData: encryptedKey, + } + + return asn1.Marshal(encryptedPkey) +} + +// ParsePKCS8PrivateKey parses encrypted/unencrypted private keys in PKCS#8 format. To parse encrypted private keys, a password of []byte type should be provided to the function as the second parameter. +func ParsePKCS8PrivateKey(der []byte, v ...[]byte) (interface{}, error) { + var password []byte + if len(v) > 0 { + password = v[0] + } + privateKey, _, err := ParsePrivateKey(der, password) + return privateKey, err +} + +// ParsePKCS8PrivateKeyRSA parses encrypted/unencrypted private keys in PKCS#8 format. To parse encrypted private keys, a password of []byte type should be provided to the function as the second parameter. +func ParsePKCS8PrivateKeyRSA(der []byte, v ...[]byte) (*rsa.PrivateKey, error) { + key, err := ParsePKCS8PrivateKey(der, v...) + if err != nil { + return nil, err + } + typedKey, ok := key.(*rsa.PrivateKey) + if !ok { + return nil, errors.New("key block is not of type RSA") + } + return typedKey, nil +} + +// ParsePKCS8PrivateKeyECDSA parses encrypted/unencrypted private keys in PKCS#8 format. To parse encrypted private keys, a password of []byte type should be provided to the function as the second parameter. +func ParsePKCS8PrivateKeyECDSA(der []byte, v ...[]byte) (*ecdsa.PrivateKey, error) { + key, err := ParsePKCS8PrivateKey(der, v...) + if err != nil { + return nil, err + } + typedKey, ok := key.(*ecdsa.PrivateKey) + if !ok { + return nil, errors.New("key block is not of type ECDSA") + } + return typedKey, nil +} + +// ConvertPrivateKeyToPKCS8 converts the private key into PKCS#8 format. +// To encrypt the private key, the password of []byte type should be provided as the second parameter. +// +// The only supported key types are RSA and ECDSA (*rsa.PrivateKey or *ecdsa.PrivateKey for priv) +func ConvertPrivateKeyToPKCS8(priv interface{}, v ...[]byte) ([]byte, error) { + var password []byte + if len(v) > 0 { + password = v[0] + } + return MarshalPrivateKey(priv, password, nil) +} diff --git a/vendor/golang.org/x/crypto/bcrypt/bcrypt.go b/vendor/golang.org/x/crypto/bcrypt/bcrypt.go index dc9311870a..3e7f8df871 100644 --- a/vendor/golang.org/x/crypto/bcrypt/bcrypt.go +++ b/vendor/golang.org/x/crypto/bcrypt/bcrypt.go @@ -50,7 +50,7 @@ func (ih InvalidHashPrefixError) Error() string { type InvalidCostError int func (ic InvalidCostError) Error() string { - return fmt.Sprintf("crypto/bcrypt: cost %d is outside allowed range (%d,%d)", int(ic), MinCost, MaxCost) + return fmt.Sprintf("crypto/bcrypt: cost %d is outside allowed inclusive range %d..%d", int(ic), MinCost, MaxCost) } const ( diff --git a/vendor/golang.org/x/crypto/cryptobyte/asn1.go b/vendor/golang.org/x/crypto/cryptobyte/asn1.go index 2492f796af..d25979d9f5 100644 --- a/vendor/golang.org/x/crypto/cryptobyte/asn1.go +++ b/vendor/golang.org/x/crypto/cryptobyte/asn1.go @@ -234,7 +234,7 @@ func (b *Builder) AddASN1(tag asn1.Tag, f BuilderContinuation) { // Identifiers with the low five bits set indicate high-tag-number format // (two or more octets), which we don't support. if tag&0x1f == 0x1f { - b.err = fmt.Errorf("cryptobyte: high-tag number identifier octects not supported: 0x%x", tag) + b.err = fmt.Errorf("cryptobyte: high-tag number identifier octets not supported: 0x%x", tag) return } b.AddUint8(uint8(tag)) diff --git a/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go b/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go index bd896bdc76..8d99551fee 100644 --- a/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go +++ b/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build (!amd64 && !ppc64le && !ppc64 && !s390x) || !gc || purego +//go:build (!amd64 && !loong64 && !ppc64le && !ppc64 && !s390x) || !gc || purego package poly1305 diff --git a/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.go b/vendor/golang.org/x/crypto/internal/poly1305/sum_asm.go similarity index 94% rename from vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.go rename to vendor/golang.org/x/crypto/internal/poly1305/sum_asm.go index 164cd47d32..315b84ac39 100644 --- a/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.go +++ b/vendor/golang.org/x/crypto/internal/poly1305/sum_asm.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build gc && !purego +//go:build gc && !purego && (amd64 || loong64 || ppc64 || ppc64le) package poly1305 diff --git a/vendor/golang.org/x/crypto/internal/poly1305/sum_loong64.s b/vendor/golang.org/x/crypto/internal/poly1305/sum_loong64.s new file mode 100644 index 0000000000..bc8361da40 --- /dev/null +++ b/vendor/golang.org/x/crypto/internal/poly1305/sum_loong64.s @@ -0,0 +1,123 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build gc && !purego + +// func update(state *macState, msg []byte) +TEXT ·update(SB), $0-32 + MOVV state+0(FP), R4 + MOVV msg_base+8(FP), R5 + MOVV msg_len+16(FP), R6 + + MOVV $0x10, R7 + + MOVV (R4), R8 // h0 + MOVV 8(R4), R9 // h1 + MOVV 16(R4), R10 // h2 + MOVV 24(R4), R11 // r0 + MOVV 32(R4), R12 // r1 + + BLT R6, R7, bytes_between_0_and_15 + +loop: + MOVV (R5), R14 // msg[0:8] + MOVV 8(R5), R16 // msg[8:16] + ADDV R14, R8, R8 // h0 (x1 + y1 = z1', if z1' < x1 then z1' overflow) + ADDV R16, R9, R27 + SGTU R14, R8, R24 // h0.carry + SGTU R9, R27, R28 + ADDV R27, R24, R9 // h1 + SGTU R27, R9, R24 + OR R24, R28, R24 // h1.carry + ADDV $0x01, R24, R24 + ADDV R10, R24, R10 // h2 + + ADDV $16, R5, R5 // msg = msg[16:] + +multiply: + MULV R8, R11, R14 // h0r0.lo + MULHVU R8, R11, R15 // h0r0.hi + MULV R9, R11, R13 // h1r0.lo + MULHVU R9, R11, R16 // h1r0.hi + ADDV R13, R15, R15 + SGTU R13, R15, R24 + ADDV R24, R16, R16 + MULV R10, R11, R25 + ADDV R16, R25, R25 + MULV R8, R12, R13 // h0r1.lo + MULHVU R8, R12, R16 // h0r1.hi + ADDV R13, R15, R15 + SGTU R13, R15, R24 + ADDV R24, R16, R16 + MOVV R16, R8 + MULV R10, R12, R26 // h2r1 + MULV R9, R12, R13 // h1r1.lo + MULHVU R9, R12, R16 // h1r1.hi + ADDV R13, R25, R25 + ADDV R16, R26, R27 + SGTU R13, R25, R24 + ADDV R27, R24, R26 + ADDV R8, R25, R25 + SGTU R8, R25, R24 + ADDV R24, R26, R26 + AND $3, R25, R10 + AND $-4, R25, R17 + ADDV R17, R14, R8 + ADDV R26, R15, R27 + SGTU R17, R8, R24 + SGTU R26, R27, R28 + ADDV R27, R24, R9 + SGTU R27, R9, R24 + OR R24, R28, R24 + ADDV R24, R10, R10 + SLLV $62, R26, R27 + SRLV $2, R25, R28 + SRLV $2, R26, R26 + OR R27, R28, R25 + ADDV R25, R8, R8 + ADDV R26, R9, R27 + SGTU R25, R8, R24 + SGTU R26, R27, R28 + ADDV R27, R24, R9 + SGTU R27, R9, R24 + OR R24, R28, R24 + ADDV R24, R10, R10 + + SUBV $16, R6, R6 + BGE R6, R7, loop + +bytes_between_0_and_15: + BEQ R6, R0, done + MOVV $1, R14 + XOR R15, R15 + ADDV R6, R5, R5 + +flush_buffer: + MOVBU -1(R5), R25 + SRLV $56, R14, R24 + SLLV $8, R15, R28 + SLLV $8, R14, R14 + OR R24, R28, R15 + XOR R25, R14, R14 + SUBV $1, R6, R6 + SUBV $1, R5, R5 + BNE R6, R0, flush_buffer + + ADDV R14, R8, R8 + SGTU R14, R8, R24 + ADDV R15, R9, R27 + SGTU R15, R27, R28 + ADDV R27, R24, R9 + SGTU R27, R9, R24 + OR R24, R28, R24 + ADDV R10, R24, R10 + + MOVV $16, R6 + JMP multiply + +done: + MOVV R8, (R4) + MOVV R9, 8(R4) + MOVV R10, 16(R4) + RET diff --git a/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go b/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go deleted file mode 100644 index 1a1679aaad..0000000000 --- a/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build gc && !purego && (ppc64 || ppc64le) - -package poly1305 - -//go:noescape -func update(state *macState, msg []byte) - -// mac is a wrapper for macGeneric that redirects calls that would have gone to -// updateGeneric to update. -// -// Its Write and Sum methods are otherwise identical to the macGeneric ones, but -// using function pointers would carry a major performance cost. -type mac struct{ macGeneric } - -func (h *mac) Write(p []byte) (int, error) { - nn := len(p) - if h.offset > 0 { - n := copy(h.buffer[h.offset:], p) - if h.offset+n < TagSize { - h.offset += n - return nn, nil - } - p = p[n:] - h.offset = 0 - update(&h.macState, h.buffer[:]) - } - if n := len(p) - (len(p) % TagSize); n > 0 { - update(&h.macState, p[:n]) - p = p[n:] - } - if len(p) > 0 { - h.offset += copy(h.buffer[h.offset:], p) - } - return nn, nil -} - -func (h *mac) Sum(out *[16]byte) { - state := h.macState - if h.offset > 0 { - update(&state, h.buffer[:h.offset]) - } - finalize(out, &state.h, &state.s) -} diff --git a/vendor/golang.org/x/crypto/openpgp/s2k/s2k.go b/vendor/golang.org/x/crypto/openpgp/s2k/s2k.go index fa1a919079..490cb633ce 100644 --- a/vendor/golang.org/x/crypto/openpgp/s2k/s2k.go +++ b/vendor/golang.org/x/crypto/openpgp/s2k/s2k.go @@ -53,7 +53,7 @@ func (c *Config) hash() crypto.Hash { func (c *Config) encodedCount() uint8 { if c == nil || c.S2KCount == 0 { - return 96 // The common case. Correspoding to 65536 + return 96 // The common case. Corresponding to 65536 } i := c.S2KCount diff --git a/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go b/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go index 3685b34458..75df77406d 100644 --- a/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go +++ b/vendor/golang.org/x/crypto/salsa20/salsa/hsalsa20.go @@ -3,6 +3,10 @@ // license that can be found in the LICENSE file. // Package salsa provides low-level access to functions in the Salsa family. +// +// Deprecated: this package exposes unsafe low-level operations. New applications +// should consider using the AEAD construction in golang.org/x/crypto/chacha20poly1305 +// instead. Existing users should migrate to golang.org/x/crypto/salsa20. package salsa import "math/bits" diff --git a/vendor/golang.org/x/mod/semver/semver.go b/vendor/golang.org/x/mod/semver/semver.go index 9a2dfd33a7..628f8fd687 100644 --- a/vendor/golang.org/x/mod/semver/semver.go +++ b/vendor/golang.org/x/mod/semver/semver.go @@ -22,7 +22,10 @@ // as shorthands for vMAJOR.0.0 and vMAJOR.MINOR.0. package semver -import "sort" +import ( + "slices" + "strings" +) // parsed returns the parsed form of a semantic version string. type parsed struct { @@ -154,19 +157,22 @@ func Max(v, w string) string { // ByVersion implements [sort.Interface] for sorting semantic version strings. type ByVersion []string -func (vs ByVersion) Len() int { return len(vs) } -func (vs ByVersion) Swap(i, j int) { vs[i], vs[j] = vs[j], vs[i] } -func (vs ByVersion) Less(i, j int) bool { - cmp := Compare(vs[i], vs[j]) - if cmp != 0 { - return cmp < 0 - } - return vs[i] < vs[j] -} +func (vs ByVersion) Len() int { return len(vs) } +func (vs ByVersion) Swap(i, j int) { vs[i], vs[j] = vs[j], vs[i] } +func (vs ByVersion) Less(i, j int) bool { return compareVersion(vs[i], vs[j]) < 0 } -// Sort sorts a list of semantic version strings using [ByVersion]. +// Sort sorts a list of semantic version strings using [Compare] and falls back +// to use [strings.Compare] if both versions are considered equal. func Sort(list []string) { - sort.Sort(ByVersion(list)) + slices.SortFunc(list, compareVersion) +} + +func compareVersion(a, b string) int { + cmp := Compare(a, b) + if cmp != 0 { + return cmp + } + return strings.Compare(a, b) } func parse(v string) (p parsed, ok bool) { diff --git a/vendor/golang.org/x/net/context/context.go b/vendor/golang.org/x/net/context/context.go index cf66309c4a..24cea68820 100644 --- a/vendor/golang.org/x/net/context/context.go +++ b/vendor/golang.org/x/net/context/context.go @@ -2,55 +2,117 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package context defines the Context type, which carries deadlines, -// cancelation signals, and other request-scoped values across API boundaries -// and between processes. -// As of Go 1.7 this package is available in the standard library under the -// name context. https://golang.org/pkg/context. -// -// Incoming requests to a server should create a Context, and outgoing calls to -// servers should accept a Context. The chain of function calls between must -// propagate the Context, optionally replacing it with a modified copy created -// using WithDeadline, WithTimeout, WithCancel, or WithValue. -// -// Programs that use Contexts should follow these rules to keep interfaces -// consistent across packages and enable static analysis tools to check context -// propagation: -// -// Do not store Contexts inside a struct type; instead, pass a Context -// explicitly to each function that needs it. The Context should be the first -// parameter, typically named ctx: -// -// func DoSomething(ctx context.Context, arg Arg) error { -// // ... use ctx ... -// } +// Package context has been superseded by the standard library [context] package. // -// Do not pass a nil Context, even if a function permits it. Pass context.TODO -// if you are unsure about which Context to use. +// Deprecated: Use the standard library context package instead. +package context + +import ( + "context" // standard library's context, as of Go 1.7 + "time" +) + +// A Context carries a deadline, a cancellation signal, and other values across +// API boundaries. // -// Use context Values only for request-scoped data that transits processes and -// APIs, not for passing optional parameters to functions. +// Context's methods may be called by multiple goroutines simultaneously. +// +//go:fix inline +type Context = context.Context + +// Canceled is the error returned by [Context.Err] when the context is canceled +// for some reason other than its deadline passing. // -// The same Context may be passed to functions running in different goroutines; -// Contexts are safe for simultaneous use by multiple goroutines. +//go:fix inline +var Canceled = context.Canceled + +// DeadlineExceeded is the error returned by [Context.Err] when the context is canceled +// due to its deadline passing. // -// See http://blog.golang.org/context for example code for a server that uses -// Contexts. -package context // import "golang.org/x/net/context" +//go:fix inline +var DeadlineExceeded = context.DeadlineExceeded // Background returns a non-nil, empty Context. It is never canceled, has no // values, and has no deadline. It is typically used by the main function, // initialization, and tests, and as the top-level Context for incoming // requests. -func Background() Context { - return background -} +// +//go:fix inline +func Background() Context { return context.Background() } // TODO returns a non-nil, empty Context. Code should use context.TODO when // it's unclear which Context to use or it is not yet available (because the // surrounding function has not yet been extended to accept a Context -// parameter). TODO is recognized by static analysis tools that determine -// whether Contexts are propagated correctly in a program. -func TODO() Context { - return todo +// parameter). +// +//go:fix inline +func TODO() Context { return context.TODO() } + +// A CancelFunc tells an operation to abandon its work. +// A CancelFunc does not wait for the work to stop. +// A CancelFunc may be called by multiple goroutines simultaneously. +// After the first call, subsequent calls to a CancelFunc do nothing. +type CancelFunc = context.CancelFunc + +// WithCancel returns a derived context that points to the parent context +// but has a new Done channel. The returned context's Done channel is closed +// when the returned cancel function is called or when the parent context's +// Done channel is closed, whichever happens first. +// +// Canceling this context releases resources associated with it, so code should +// call cancel as soon as the operations running in this [Context] complete. +// +//go:fix inline +func WithCancel(parent Context) (ctx Context, cancel CancelFunc) { + return context.WithCancel(parent) +} + +// WithDeadline returns a derived context that points to the parent context +// but has the deadline adjusted to be no later than d. If the parent's +// deadline is already earlier than d, WithDeadline(parent, d) is semantically +// equivalent to parent. The returned [Context.Done] channel is closed when +// the deadline expires, when the returned cancel function is called, +// or when the parent context's Done channel is closed, whichever happens first. +// +// Canceling this context releases resources associated with it, so code should +// call cancel as soon as the operations running in this [Context] complete. +// +//go:fix inline +func WithDeadline(parent Context, d time.Time) (Context, CancelFunc) { + return context.WithDeadline(parent, d) +} + +// WithTimeout returns WithDeadline(parent, time.Now().Add(timeout)). +// +// Canceling this context releases resources associated with it, so code should +// call cancel as soon as the operations running in this [Context] complete: +// +// func slowOperationWithTimeout(ctx context.Context) (Result, error) { +// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) +// defer cancel() // releases resources if slowOperation completes before timeout elapses +// return slowOperation(ctx) +// } +// +//go:fix inline +func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { + return context.WithTimeout(parent, timeout) +} + +// WithValue returns a derived context that points to the parent Context. +// In the derived context, the value associated with key is val. +// +// Use context Values only for request-scoped data that transits processes and +// APIs, not for passing optional parameters to functions. +// +// The provided key must be comparable and should not be of type +// string or any other built-in type to avoid collisions between +// packages using context. Users of WithValue should define their own +// types for keys. To avoid allocating when assigning to an +// interface{}, context keys often have concrete type +// struct{}. Alternatively, exported context key variables' static +// type should be a pointer or interface. +// +//go:fix inline +func WithValue(parent Context, key, val interface{}) Context { + return context.WithValue(parent, key, val) } diff --git a/vendor/golang.org/x/net/context/go17.go b/vendor/golang.org/x/net/context/go17.go deleted file mode 100644 index 0c1b867937..0000000000 --- a/vendor/golang.org/x/net/context/go17.go +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2016 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.7 - -package context - -import ( - "context" // standard library's context, as of Go 1.7 - "time" -) - -var ( - todo = context.TODO() - background = context.Background() -) - -// Canceled is the error returned by Context.Err when the context is canceled. -var Canceled = context.Canceled - -// DeadlineExceeded is the error returned by Context.Err when the context's -// deadline passes. -var DeadlineExceeded = context.DeadlineExceeded - -// WithCancel returns a copy of parent with a new Done channel. The returned -// context's Done channel is closed when the returned cancel function is called -// or when the parent context's Done channel is closed, whichever happens first. -// -// Canceling this context releases resources associated with it, so code should -// call cancel as soon as the operations running in this Context complete. -func WithCancel(parent Context) (ctx Context, cancel CancelFunc) { - ctx, f := context.WithCancel(parent) - return ctx, f -} - -// WithDeadline returns a copy of the parent context with the deadline adjusted -// to be no later than d. If the parent's deadline is already earlier than d, -// WithDeadline(parent, d) is semantically equivalent to parent. The returned -// context's Done channel is closed when the deadline expires, when the returned -// cancel function is called, or when the parent context's Done channel is -// closed, whichever happens first. -// -// Canceling this context releases resources associated with it, so code should -// call cancel as soon as the operations running in this Context complete. -func WithDeadline(parent Context, deadline time.Time) (Context, CancelFunc) { - ctx, f := context.WithDeadline(parent, deadline) - return ctx, f -} - -// WithTimeout returns WithDeadline(parent, time.Now().Add(timeout)). -// -// Canceling this context releases resources associated with it, so code should -// call cancel as soon as the operations running in this Context complete: -// -// func slowOperationWithTimeout(ctx context.Context) (Result, error) { -// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) -// defer cancel() // releases resources if slowOperation completes before timeout elapses -// return slowOperation(ctx) -// } -func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { - return WithDeadline(parent, time.Now().Add(timeout)) -} - -// WithValue returns a copy of parent in which the value associated with key is -// val. -// -// Use context Values only for request-scoped data that transits processes and -// APIs, not for passing optional parameters to functions. -func WithValue(parent Context, key interface{}, val interface{}) Context { - return context.WithValue(parent, key, val) -} diff --git a/vendor/golang.org/x/net/context/go19.go b/vendor/golang.org/x/net/context/go19.go deleted file mode 100644 index e31e35a904..0000000000 --- a/vendor/golang.org/x/net/context/go19.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.9 - -package context - -import "context" // standard library's context, as of Go 1.7 - -// A Context carries a deadline, a cancelation signal, and other values across -// API boundaries. -// -// Context's methods may be called by multiple goroutines simultaneously. -type Context = context.Context - -// A CancelFunc tells an operation to abandon its work. -// A CancelFunc does not wait for the work to stop. -// After the first call, subsequent calls to a CancelFunc do nothing. -type CancelFunc = context.CancelFunc diff --git a/vendor/golang.org/x/net/context/pre_go17.go b/vendor/golang.org/x/net/context/pre_go17.go deleted file mode 100644 index 065ff3dfa5..0000000000 --- a/vendor/golang.org/x/net/context/pre_go17.go +++ /dev/null @@ -1,300 +0,0 @@ -// Copyright 2014 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.7 - -package context - -import ( - "errors" - "fmt" - "sync" - "time" -) - -// An emptyCtx is never canceled, has no values, and has no deadline. It is not -// struct{}, since vars of this type must have distinct addresses. -type emptyCtx int - -func (*emptyCtx) Deadline() (deadline time.Time, ok bool) { - return -} - -func (*emptyCtx) Done() <-chan struct{} { - return nil -} - -func (*emptyCtx) Err() error { - return nil -} - -func (*emptyCtx) Value(key interface{}) interface{} { - return nil -} - -func (e *emptyCtx) String() string { - switch e { - case background: - return "context.Background" - case todo: - return "context.TODO" - } - return "unknown empty Context" -} - -var ( - background = new(emptyCtx) - todo = new(emptyCtx) -) - -// Canceled is the error returned by Context.Err when the context is canceled. -var Canceled = errors.New("context canceled") - -// DeadlineExceeded is the error returned by Context.Err when the context's -// deadline passes. -var DeadlineExceeded = errors.New("context deadline exceeded") - -// WithCancel returns a copy of parent with a new Done channel. The returned -// context's Done channel is closed when the returned cancel function is called -// or when the parent context's Done channel is closed, whichever happens first. -// -// Canceling this context releases resources associated with it, so code should -// call cancel as soon as the operations running in this Context complete. -func WithCancel(parent Context) (ctx Context, cancel CancelFunc) { - c := newCancelCtx(parent) - propagateCancel(parent, c) - return c, func() { c.cancel(true, Canceled) } -} - -// newCancelCtx returns an initialized cancelCtx. -func newCancelCtx(parent Context) *cancelCtx { - return &cancelCtx{ - Context: parent, - done: make(chan struct{}), - } -} - -// propagateCancel arranges for child to be canceled when parent is. -func propagateCancel(parent Context, child canceler) { - if parent.Done() == nil { - return // parent is never canceled - } - if p, ok := parentCancelCtx(parent); ok { - p.mu.Lock() - if p.err != nil { - // parent has already been canceled - child.cancel(false, p.err) - } else { - if p.children == nil { - p.children = make(map[canceler]bool) - } - p.children[child] = true - } - p.mu.Unlock() - } else { - go func() { - select { - case <-parent.Done(): - child.cancel(false, parent.Err()) - case <-child.Done(): - } - }() - } -} - -// parentCancelCtx follows a chain of parent references until it finds a -// *cancelCtx. This function understands how each of the concrete types in this -// package represents its parent. -func parentCancelCtx(parent Context) (*cancelCtx, bool) { - for { - switch c := parent.(type) { - case *cancelCtx: - return c, true - case *timerCtx: - return c.cancelCtx, true - case *valueCtx: - parent = c.Context - default: - return nil, false - } - } -} - -// removeChild removes a context from its parent. -func removeChild(parent Context, child canceler) { - p, ok := parentCancelCtx(parent) - if !ok { - return - } - p.mu.Lock() - if p.children != nil { - delete(p.children, child) - } - p.mu.Unlock() -} - -// A canceler is a context type that can be canceled directly. The -// implementations are *cancelCtx and *timerCtx. -type canceler interface { - cancel(removeFromParent bool, err error) - Done() <-chan struct{} -} - -// A cancelCtx can be canceled. When canceled, it also cancels any children -// that implement canceler. -type cancelCtx struct { - Context - - done chan struct{} // closed by the first cancel call. - - mu sync.Mutex - children map[canceler]bool // set to nil by the first cancel call - err error // set to non-nil by the first cancel call -} - -func (c *cancelCtx) Done() <-chan struct{} { - return c.done -} - -func (c *cancelCtx) Err() error { - c.mu.Lock() - defer c.mu.Unlock() - return c.err -} - -func (c *cancelCtx) String() string { - return fmt.Sprintf("%v.WithCancel", c.Context) -} - -// cancel closes c.done, cancels each of c's children, and, if -// removeFromParent is true, removes c from its parent's children. -func (c *cancelCtx) cancel(removeFromParent bool, err error) { - if err == nil { - panic("context: internal error: missing cancel error") - } - c.mu.Lock() - if c.err != nil { - c.mu.Unlock() - return // already canceled - } - c.err = err - close(c.done) - for child := range c.children { - // NOTE: acquiring the child's lock while holding parent's lock. - child.cancel(false, err) - } - c.children = nil - c.mu.Unlock() - - if removeFromParent { - removeChild(c.Context, c) - } -} - -// WithDeadline returns a copy of the parent context with the deadline adjusted -// to be no later than d. If the parent's deadline is already earlier than d, -// WithDeadline(parent, d) is semantically equivalent to parent. The returned -// context's Done channel is closed when the deadline expires, when the returned -// cancel function is called, or when the parent context's Done channel is -// closed, whichever happens first. -// -// Canceling this context releases resources associated with it, so code should -// call cancel as soon as the operations running in this Context complete. -func WithDeadline(parent Context, deadline time.Time) (Context, CancelFunc) { - if cur, ok := parent.Deadline(); ok && cur.Before(deadline) { - // The current deadline is already sooner than the new one. - return WithCancel(parent) - } - c := &timerCtx{ - cancelCtx: newCancelCtx(parent), - deadline: deadline, - } - propagateCancel(parent, c) - d := deadline.Sub(time.Now()) - if d <= 0 { - c.cancel(true, DeadlineExceeded) // deadline has already passed - return c, func() { c.cancel(true, Canceled) } - } - c.mu.Lock() - defer c.mu.Unlock() - if c.err == nil { - c.timer = time.AfterFunc(d, func() { - c.cancel(true, DeadlineExceeded) - }) - } - return c, func() { c.cancel(true, Canceled) } -} - -// A timerCtx carries a timer and a deadline. It embeds a cancelCtx to -// implement Done and Err. It implements cancel by stopping its timer then -// delegating to cancelCtx.cancel. -type timerCtx struct { - *cancelCtx - timer *time.Timer // Under cancelCtx.mu. - - deadline time.Time -} - -func (c *timerCtx) Deadline() (deadline time.Time, ok bool) { - return c.deadline, true -} - -func (c *timerCtx) String() string { - return fmt.Sprintf("%v.WithDeadline(%s [%s])", c.cancelCtx.Context, c.deadline, c.deadline.Sub(time.Now())) -} - -func (c *timerCtx) cancel(removeFromParent bool, err error) { - c.cancelCtx.cancel(false, err) - if removeFromParent { - // Remove this timerCtx from its parent cancelCtx's children. - removeChild(c.cancelCtx.Context, c) - } - c.mu.Lock() - if c.timer != nil { - c.timer.Stop() - c.timer = nil - } - c.mu.Unlock() -} - -// WithTimeout returns WithDeadline(parent, time.Now().Add(timeout)). -// -// Canceling this context releases resources associated with it, so code should -// call cancel as soon as the operations running in this Context complete: -// -// func slowOperationWithTimeout(ctx context.Context) (Result, error) { -// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) -// defer cancel() // releases resources if slowOperation completes before timeout elapses -// return slowOperation(ctx) -// } -func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { - return WithDeadline(parent, time.Now().Add(timeout)) -} - -// WithValue returns a copy of parent in which the value associated with key is -// val. -// -// Use context Values only for request-scoped data that transits processes and -// APIs, not for passing optional parameters to functions. -func WithValue(parent Context, key interface{}, val interface{}) Context { - return &valueCtx{parent, key, val} -} - -// A valueCtx carries a key-value pair. It implements Value for that key and -// delegates all other calls to the embedded Context. -type valueCtx struct { - Context - key, val interface{} -} - -func (c *valueCtx) String() string { - return fmt.Sprintf("%v.WithValue(%#v, %#v)", c.Context, c.key, c.val) -} - -func (c *valueCtx) Value(key interface{}) interface{} { - if c.key == key { - return c.val - } - return c.Context.Value(key) -} diff --git a/vendor/golang.org/x/net/context/pre_go19.go b/vendor/golang.org/x/net/context/pre_go19.go deleted file mode 100644 index ec5a638033..0000000000 --- a/vendor/golang.org/x/net/context/pre_go19.go +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2014 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.9 - -package context - -import "time" - -// A Context carries a deadline, a cancelation signal, and other values across -// API boundaries. -// -// Context's methods may be called by multiple goroutines simultaneously. -type Context interface { - // Deadline returns the time when work done on behalf of this context - // should be canceled. Deadline returns ok==false when no deadline is - // set. Successive calls to Deadline return the same results. - Deadline() (deadline time.Time, ok bool) - - // Done returns a channel that's closed when work done on behalf of this - // context should be canceled. Done may return nil if this context can - // never be canceled. Successive calls to Done return the same value. - // - // WithCancel arranges for Done to be closed when cancel is called; - // WithDeadline arranges for Done to be closed when the deadline - // expires; WithTimeout arranges for Done to be closed when the timeout - // elapses. - // - // Done is provided for use in select statements: - // - // // Stream generates values with DoSomething and sends them to out - // // until DoSomething returns an error or ctx.Done is closed. - // func Stream(ctx context.Context, out chan<- Value) error { - // for { - // v, err := DoSomething(ctx) - // if err != nil { - // return err - // } - // select { - // case <-ctx.Done(): - // return ctx.Err() - // case out <- v: - // } - // } - // } - // - // See http://blog.golang.org/pipelines for more examples of how to use - // a Done channel for cancelation. - Done() <-chan struct{} - - // Err returns a non-nil error value after Done is closed. Err returns - // Canceled if the context was canceled or DeadlineExceeded if the - // context's deadline passed. No other values for Err are defined. - // After Done is closed, successive calls to Err return the same value. - Err() error - - // Value returns the value associated with this context for key, or nil - // if no value is associated with key. Successive calls to Value with - // the same key returns the same result. - // - // Use context values only for request-scoped data that transits - // processes and API boundaries, not for passing optional parameters to - // functions. - // - // A key identifies a specific value in a Context. Functions that wish - // to store values in Context typically allocate a key in a global - // variable then use that key as the argument to context.WithValue and - // Context.Value. A key can be any type that supports equality; - // packages should define keys as an unexported type to avoid - // collisions. - // - // Packages that define a Context key should provide type-safe accessors - // for the values stores using that key: - // - // // Package user defines a User type that's stored in Contexts. - // package user - // - // import "golang.org/x/net/context" - // - // // User is the type of value stored in the Contexts. - // type User struct {...} - // - // // key is an unexported type for keys defined in this package. - // // This prevents collisions with keys defined in other packages. - // type key int - // - // // userKey is the key for user.User values in Contexts. It is - // // unexported; clients use user.NewContext and user.FromContext - // // instead of using this key directly. - // var userKey key = 0 - // - // // NewContext returns a new Context that carries value u. - // func NewContext(ctx context.Context, u *User) context.Context { - // return context.WithValue(ctx, userKey, u) - // } - // - // // FromContext returns the User value stored in ctx, if any. - // func FromContext(ctx context.Context) (*User, bool) { - // u, ok := ctx.Value(userKey).(*User) - // return u, ok - // } - Value(key interface{}) interface{} -} - -// A CancelFunc tells an operation to abandon its work. -// A CancelFunc does not wait for the work to stop. -// After the first call, subsequent calls to a CancelFunc do nothing. -type CancelFunc func() diff --git a/vendor/golang.org/x/net/html/atom/table.go b/vendor/golang.org/x/net/html/atom/table.go index 2a938864cb..b460e6f722 100644 --- a/vendor/golang.org/x/net/html/atom/table.go +++ b/vendor/golang.org/x/net/html/atom/table.go @@ -11,23 +11,23 @@ const ( AcceptCharset Atom = 0x1a0e Accesskey Atom = 0x2c09 Acronym Atom = 0xaa07 - Action Atom = 0x27206 - Address Atom = 0x6f307 + Action Atom = 0x26506 + Address Atom = 0x6f107 Align Atom = 0xb105 - Allowfullscreen Atom = 0x2080f + Allowfullscreen Atom = 0x3280f Allowpaymentrequest Atom = 0xc113 Allowusermedia Atom = 0xdd0e Alt Atom = 0xf303 Annotation Atom = 0x1c90a AnnotationXml Atom = 0x1c90e - Applet Atom = 0x31906 - Area Atom = 0x35604 - Article Atom = 0x3fc07 + Applet Atom = 0x30806 + Area Atom = 0x35004 + Article Atom = 0x3f607 As Atom = 0x3c02 Aside Atom = 0x10705 Async Atom = 0xff05 Audio Atom = 0x11505 - Autocomplete Atom = 0x2780c + Autocomplete Atom = 0x26b0c Autofocus Atom = 0x12109 Autoplay Atom = 0x13c08 B Atom = 0x101 @@ -43,34 +43,34 @@ const ( Br Atom = 0x202 Button Atom = 0x19106 Canvas Atom = 0x10306 - Caption Atom = 0x23107 - Center Atom = 0x22006 - Challenge Atom = 0x29b09 + Caption Atom = 0x22407 + Center Atom = 0x21306 + Challenge Atom = 0x28e09 Charset Atom = 0x2107 - Checked Atom = 0x47907 + Checked Atom = 0x5b507 Cite Atom = 0x19c04 - Class Atom = 0x56405 - Code Atom = 0x5c504 + Class Atom = 0x55805 + Code Atom = 0x5ee04 Col Atom = 0x1ab03 Colgroup Atom = 0x1ab08 Color Atom = 0x1bf05 Cols Atom = 0x1c404 Colspan Atom = 0x1c407 Command Atom = 0x1d707 - Content Atom = 0x58b07 - Contenteditable Atom = 0x58b0f - Contextmenu Atom = 0x3800b + Content Atom = 0x57b07 + Contenteditable Atom = 0x57b0f + Contextmenu Atom = 0x37a0b Controls Atom = 0x1de08 - Coords Atom = 0x1ea06 - Crossorigin Atom = 0x1fb0b - Data Atom = 0x4a504 - Datalist Atom = 0x4a508 - Datetime Atom = 0x2b808 - Dd Atom = 0x2d702 + Coords Atom = 0x1f006 + Crossorigin Atom = 0x1fa0b + Data Atom = 0x49904 + Datalist Atom = 0x49908 + Datetime Atom = 0x2ab08 + Dd Atom = 0x2bf02 Default Atom = 0x10a07 - Defer Atom = 0x5c705 - Del Atom = 0x45203 - Desc Atom = 0x56104 + Defer Atom = 0x5f005 + Del Atom = 0x44c03 + Desc Atom = 0x55504 Details Atom = 0x7207 Dfn Atom = 0x8703 Dialog Atom = 0xbb06 @@ -78,106 +78,106 @@ const ( Dirname Atom = 0x9307 Disabled Atom = 0x16408 Div Atom = 0x16b03 - Dl Atom = 0x5e602 - Download Atom = 0x46308 + Dl Atom = 0x5d602 + Download Atom = 0x45d08 Draggable Atom = 0x17a09 - Dropzone Atom = 0x40508 - Dt Atom = 0x64b02 + Dropzone Atom = 0x3ff08 + Dt Atom = 0x64002 Em Atom = 0x6e02 Embed Atom = 0x6e05 - Enctype Atom = 0x28d07 - Face Atom = 0x21e04 - Fieldset Atom = 0x22608 - Figcaption Atom = 0x22e0a - Figure Atom = 0x24806 + Enctype Atom = 0x28007 + Face Atom = 0x21104 + Fieldset Atom = 0x21908 + Figcaption Atom = 0x2210a + Figure Atom = 0x23b06 Font Atom = 0x3f04 Footer Atom = 0xf606 - For Atom = 0x25403 - ForeignObject Atom = 0x2540d - Foreignobject Atom = 0x2610d - Form Atom = 0x26e04 - Formaction Atom = 0x26e0a - Formenctype Atom = 0x2890b - Formmethod Atom = 0x2a40a - Formnovalidate Atom = 0x2ae0e - Formtarget Atom = 0x2c00a + For Atom = 0x24703 + ForeignObject Atom = 0x2470d + Foreignobject Atom = 0x2540d + Form Atom = 0x26104 + Formaction Atom = 0x2610a + Formenctype Atom = 0x27c0b + Formmethod Atom = 0x2970a + Formnovalidate Atom = 0x2a10e + Formtarget Atom = 0x2b30a Frame Atom = 0x8b05 Frameset Atom = 0x8b08 H1 Atom = 0x15c02 - H2 Atom = 0x2de02 - H3 Atom = 0x30d02 - H4 Atom = 0x34502 - H5 Atom = 0x34f02 - H6 Atom = 0x64d02 - Head Atom = 0x33104 - Header Atom = 0x33106 - Headers Atom = 0x33107 + H2 Atom = 0x56102 + H3 Atom = 0x2cd02 + H4 Atom = 0x2fc02 + H5 Atom = 0x33f02 + H6 Atom = 0x34902 + Head Atom = 0x32004 + Header Atom = 0x32006 + Headers Atom = 0x32007 Height Atom = 0x5206 - Hgroup Atom = 0x2ca06 - Hidden Atom = 0x2d506 - High Atom = 0x2db04 + Hgroup Atom = 0x64206 + Hidden Atom = 0x2bd06 + High Atom = 0x2ca04 Hr Atom = 0x15702 - Href Atom = 0x2e004 - Hreflang Atom = 0x2e008 + Href Atom = 0x2cf04 + Hreflang Atom = 0x2cf08 Html Atom = 0x5604 - HttpEquiv Atom = 0x2e80a + HttpEquiv Atom = 0x2d70a I Atom = 0x601 - Icon Atom = 0x58a04 + Icon Atom = 0x57a04 Id Atom = 0x10902 - Iframe Atom = 0x2fc06 - Image Atom = 0x30205 - Img Atom = 0x30703 - Input Atom = 0x44b05 - Inputmode Atom = 0x44b09 - Ins Atom = 0x20403 - Integrity Atom = 0x23f09 + Iframe Atom = 0x2eb06 + Image Atom = 0x2f105 + Img Atom = 0x2f603 + Input Atom = 0x44505 + Inputmode Atom = 0x44509 + Ins Atom = 0x20303 + Integrity Atom = 0x23209 Is Atom = 0x16502 - Isindex Atom = 0x30f07 - Ismap Atom = 0x31605 - Itemid Atom = 0x38b06 + Isindex Atom = 0x2fe07 + Ismap Atom = 0x30505 + Itemid Atom = 0x38506 Itemprop Atom = 0x19d08 - Itemref Atom = 0x3cd07 - Itemscope Atom = 0x67109 - Itemtype Atom = 0x31f08 + Itemref Atom = 0x3c707 + Itemscope Atom = 0x66f09 + Itemtype Atom = 0x30e08 Kbd Atom = 0xb903 Keygen Atom = 0x3206 Keytype Atom = 0xd607 Kind Atom = 0x17704 Label Atom = 0x5905 - Lang Atom = 0x2e404 + Lang Atom = 0x2d304 Legend Atom = 0x18106 Li Atom = 0xb202 Link Atom = 0x17404 - List Atom = 0x4a904 - Listing Atom = 0x4a907 + List Atom = 0x49d04 + Listing Atom = 0x49d07 Loop Atom = 0x5d04 Low Atom = 0xc303 Main Atom = 0x1004 Malignmark Atom = 0xb00a - Manifest Atom = 0x6d708 - Map Atom = 0x31803 + Manifest Atom = 0x6d508 + Map Atom = 0x30703 Mark Atom = 0xb604 - Marquee Atom = 0x32707 - Math Atom = 0x32e04 - Max Atom = 0x33d03 - Maxlength Atom = 0x33d09 + Marquee Atom = 0x31607 + Math Atom = 0x31d04 + Max Atom = 0x33703 + Maxlength Atom = 0x33709 Media Atom = 0xe605 Mediagroup Atom = 0xe60a - Menu Atom = 0x38704 - Menuitem Atom = 0x38708 - Meta Atom = 0x4b804 + Menu Atom = 0x38104 + Menuitem Atom = 0x38108 + Meta Atom = 0x4ac04 Meter Atom = 0x9805 - Method Atom = 0x2a806 - Mglyph Atom = 0x30806 - Mi Atom = 0x34702 - Min Atom = 0x34703 - Minlength Atom = 0x34709 - Mn Atom = 0x2b102 + Method Atom = 0x29b06 + Mglyph Atom = 0x2f706 + Mi Atom = 0x34102 + Min Atom = 0x34103 + Minlength Atom = 0x34109 + Mn Atom = 0x2a402 Mo Atom = 0xa402 - Ms Atom = 0x67402 - Mtext Atom = 0x35105 - Multiple Atom = 0x35f08 - Muted Atom = 0x36705 + Ms Atom = 0x67202 + Mtext Atom = 0x34b05 + Multiple Atom = 0x35908 + Muted Atom = 0x36105 Name Atom = 0x9604 Nav Atom = 0x1303 Nobr Atom = 0x3704 @@ -185,101 +185,101 @@ const ( Noframes Atom = 0x8908 Nomodule Atom = 0xa208 Nonce Atom = 0x1a605 - Noscript Atom = 0x21608 - Novalidate Atom = 0x2b20a - Object Atom = 0x26806 + Noscript Atom = 0x2c208 + Novalidate Atom = 0x2a50a + Object Atom = 0x25b06 Ol Atom = 0x13702 Onabort Atom = 0x19507 - Onafterprint Atom = 0x2360c - Onautocomplete Atom = 0x2760e - Onautocompleteerror Atom = 0x27613 - Onauxclick Atom = 0x61f0a - Onbeforeprint Atom = 0x69e0d - Onbeforeunload Atom = 0x6e70e - Onblur Atom = 0x56d06 + Onafterprint Atom = 0x2290c + Onautocomplete Atom = 0x2690e + Onautocompleteerror Atom = 0x26913 + Onauxclick Atom = 0x6140a + Onbeforeprint Atom = 0x69c0d + Onbeforeunload Atom = 0x6e50e + Onblur Atom = 0x1ea06 Oncancel Atom = 0x11908 Oncanplay Atom = 0x14d09 Oncanplaythrough Atom = 0x14d10 - Onchange Atom = 0x41b08 - Onclick Atom = 0x2f507 - Onclose Atom = 0x36c07 - Oncontextmenu Atom = 0x37e0d - Oncopy Atom = 0x39106 - Oncuechange Atom = 0x3970b - Oncut Atom = 0x3a205 - Ondblclick Atom = 0x3a70a - Ondrag Atom = 0x3b106 - Ondragend Atom = 0x3b109 - Ondragenter Atom = 0x3ba0b - Ondragexit Atom = 0x3c50a - Ondragleave Atom = 0x3df0b - Ondragover Atom = 0x3ea0a - Ondragstart Atom = 0x3f40b - Ondrop Atom = 0x40306 - Ondurationchange Atom = 0x41310 - Onemptied Atom = 0x40a09 - Onended Atom = 0x42307 - Onerror Atom = 0x42a07 - Onfocus Atom = 0x43107 - Onhashchange Atom = 0x43d0c - Oninput Atom = 0x44907 - Oninvalid Atom = 0x45509 - Onkeydown Atom = 0x45e09 - Onkeypress Atom = 0x46b0a - Onkeyup Atom = 0x48007 - Onlanguagechange Atom = 0x48d10 - Onload Atom = 0x49d06 - Onloadeddata Atom = 0x49d0c - Onloadedmetadata Atom = 0x4b010 - Onloadend Atom = 0x4c609 - Onloadstart Atom = 0x4cf0b - Onmessage Atom = 0x4da09 - Onmessageerror Atom = 0x4da0e - Onmousedown Atom = 0x4e80b - Onmouseenter Atom = 0x4f30c - Onmouseleave Atom = 0x4ff0c - Onmousemove Atom = 0x50b0b - Onmouseout Atom = 0x5160a - Onmouseover Atom = 0x5230b - Onmouseup Atom = 0x52e09 - Onmousewheel Atom = 0x53c0c - Onoffline Atom = 0x54809 - Ononline Atom = 0x55108 - Onpagehide Atom = 0x5590a - Onpageshow Atom = 0x5730a - Onpaste Atom = 0x57f07 - Onpause Atom = 0x59a07 - Onplay Atom = 0x5a406 - Onplaying Atom = 0x5a409 - Onpopstate Atom = 0x5ad0a - Onprogress Atom = 0x5b70a - Onratechange Atom = 0x5cc0c - Onrejectionhandled Atom = 0x5d812 - Onreset Atom = 0x5ea07 - Onresize Atom = 0x5f108 - Onscroll Atom = 0x60008 - Onsecuritypolicyviolation Atom = 0x60819 - Onseeked Atom = 0x62908 - Onseeking Atom = 0x63109 - Onselect Atom = 0x63a08 - Onshow Atom = 0x64406 - Onsort Atom = 0x64f06 - Onstalled Atom = 0x65909 - Onstorage Atom = 0x66209 - Onsubmit Atom = 0x66b08 - Onsuspend Atom = 0x67b09 + Onchange Atom = 0x41508 + Onclick Atom = 0x2e407 + Onclose Atom = 0x36607 + Oncontextmenu Atom = 0x3780d + Oncopy Atom = 0x38b06 + Oncuechange Atom = 0x3910b + Oncut Atom = 0x39c05 + Ondblclick Atom = 0x3a10a + Ondrag Atom = 0x3ab06 + Ondragend Atom = 0x3ab09 + Ondragenter Atom = 0x3b40b + Ondragexit Atom = 0x3bf0a + Ondragleave Atom = 0x3d90b + Ondragover Atom = 0x3e40a + Ondragstart Atom = 0x3ee0b + Ondrop Atom = 0x3fd06 + Ondurationchange Atom = 0x40d10 + Onemptied Atom = 0x40409 + Onended Atom = 0x41d07 + Onerror Atom = 0x42407 + Onfocus Atom = 0x42b07 + Onhashchange Atom = 0x4370c + Oninput Atom = 0x44307 + Oninvalid Atom = 0x44f09 + Onkeydown Atom = 0x45809 + Onkeypress Atom = 0x4650a + Onkeyup Atom = 0x47407 + Onlanguagechange Atom = 0x48110 + Onload Atom = 0x49106 + Onloadeddata Atom = 0x4910c + Onloadedmetadata Atom = 0x4a410 + Onloadend Atom = 0x4ba09 + Onloadstart Atom = 0x4c30b + Onmessage Atom = 0x4ce09 + Onmessageerror Atom = 0x4ce0e + Onmousedown Atom = 0x4dc0b + Onmouseenter Atom = 0x4e70c + Onmouseleave Atom = 0x4f30c + Onmousemove Atom = 0x4ff0b + Onmouseout Atom = 0x50a0a + Onmouseover Atom = 0x5170b + Onmouseup Atom = 0x52209 + Onmousewheel Atom = 0x5300c + Onoffline Atom = 0x53c09 + Ononline Atom = 0x54508 + Onpagehide Atom = 0x54d0a + Onpageshow Atom = 0x5630a + Onpaste Atom = 0x56f07 + Onpause Atom = 0x58a07 + Onplay Atom = 0x59406 + Onplaying Atom = 0x59409 + Onpopstate Atom = 0x59d0a + Onprogress Atom = 0x5a70a + Onratechange Atom = 0x5bc0c + Onrejectionhandled Atom = 0x5c812 + Onreset Atom = 0x5da07 + Onresize Atom = 0x5e108 + Onscroll Atom = 0x5f508 + Onsecuritypolicyviolation Atom = 0x5fd19 + Onseeked Atom = 0x61e08 + Onseeking Atom = 0x62609 + Onselect Atom = 0x62f08 + Onshow Atom = 0x63906 + Onsort Atom = 0x64d06 + Onstalled Atom = 0x65709 + Onstorage Atom = 0x66009 + Onsubmit Atom = 0x66908 + Onsuspend Atom = 0x67909 Ontimeupdate Atom = 0x400c - Ontoggle Atom = 0x68408 - Onunhandledrejection Atom = 0x68c14 - Onunload Atom = 0x6ab08 - Onvolumechange Atom = 0x6b30e - Onwaiting Atom = 0x6c109 - Onwheel Atom = 0x6ca07 + Ontoggle Atom = 0x68208 + Onunhandledrejection Atom = 0x68a14 + Onunload Atom = 0x6a908 + Onvolumechange Atom = 0x6b10e + Onwaiting Atom = 0x6bf09 + Onwheel Atom = 0x6c807 Open Atom = 0x1a304 Optgroup Atom = 0x5f08 - Optimum Atom = 0x6d107 - Option Atom = 0x6e306 - Output Atom = 0x51d06 + Optimum Atom = 0x6cf07 + Option Atom = 0x6e106 + Output Atom = 0x51106 P Atom = 0xc01 Param Atom = 0xc05 Pattern Atom = 0x6607 @@ -288,466 +288,468 @@ const ( Placeholder Atom = 0x1310b Plaintext Atom = 0x1b209 Playsinline Atom = 0x1400b - Poster Atom = 0x2cf06 - Pre Atom = 0x47003 - Preload Atom = 0x48607 - Progress Atom = 0x5b908 - Prompt Atom = 0x53606 - Public Atom = 0x58606 + Poster Atom = 0x64706 + Pre Atom = 0x46a03 + Preload Atom = 0x47a07 + Progress Atom = 0x5a908 + Prompt Atom = 0x52a06 + Public Atom = 0x57606 Q Atom = 0xcf01 Radiogroup Atom = 0x30a Rb Atom = 0x3a02 - Readonly Atom = 0x35708 - Referrerpolicy Atom = 0x3d10e - Rel Atom = 0x48703 - Required Atom = 0x24c08 + Readonly Atom = 0x35108 + Referrerpolicy Atom = 0x3cb0e + Rel Atom = 0x47b03 + Required Atom = 0x23f08 Reversed Atom = 0x8008 Rows Atom = 0x9c04 Rowspan Atom = 0x9c07 - Rp Atom = 0x23c02 + Rp Atom = 0x22f02 Rt Atom = 0x19a02 Rtc Atom = 0x19a03 Ruby Atom = 0xfb04 S Atom = 0x2501 Samp Atom = 0x7804 Sandbox Atom = 0x12907 - Scope Atom = 0x67505 - Scoped Atom = 0x67506 - Script Atom = 0x21806 - Seamless Atom = 0x37108 - Section Atom = 0x56807 - Select Atom = 0x63c06 - Selected Atom = 0x63c08 - Shape Atom = 0x1e505 - Size Atom = 0x5f504 - Sizes Atom = 0x5f505 - Slot Atom = 0x1ef04 - Small Atom = 0x20605 - Sortable Atom = 0x65108 - Sorted Atom = 0x33706 - Source Atom = 0x37806 - Spacer Atom = 0x43706 + Scope Atom = 0x67305 + Scoped Atom = 0x67306 + Script Atom = 0x2c406 + Seamless Atom = 0x36b08 + Search Atom = 0x55c06 + Section Atom = 0x1e507 + Select Atom = 0x63106 + Selected Atom = 0x63108 + Shape Atom = 0x1f505 + Size Atom = 0x5e504 + Sizes Atom = 0x5e505 + Slot Atom = 0x20504 + Small Atom = 0x32605 + Sortable Atom = 0x64f08 + Sorted Atom = 0x37206 + Source Atom = 0x43106 + Spacer Atom = 0x46e06 Span Atom = 0x9f04 - Spellcheck Atom = 0x4740a - Src Atom = 0x5c003 - Srcdoc Atom = 0x5c006 - Srclang Atom = 0x5f907 - Srcset Atom = 0x6f906 - Start Atom = 0x3fa05 - Step Atom = 0x58304 + Spellcheck Atom = 0x5b00a + Src Atom = 0x5e903 + Srcdoc Atom = 0x5e906 + Srclang Atom = 0x6f707 + Srcset Atom = 0x6fe06 + Start Atom = 0x3f405 + Step Atom = 0x57304 Strike Atom = 0xd206 - Strong Atom = 0x6dd06 - Style Atom = 0x6ff05 - Sub Atom = 0x66d03 - Summary Atom = 0x70407 - Sup Atom = 0x70b03 - Svg Atom = 0x70e03 - System Atom = 0x71106 - Tabindex Atom = 0x4be08 - Table Atom = 0x59505 - Target Atom = 0x2c406 + Strong Atom = 0x6db06 + Style Atom = 0x70405 + Sub Atom = 0x66b03 + Summary Atom = 0x70907 + Sup Atom = 0x71003 + Svg Atom = 0x71303 + System Atom = 0x71606 + Tabindex Atom = 0x4b208 + Table Atom = 0x58505 + Target Atom = 0x2b706 Tbody Atom = 0x2705 Td Atom = 0x9202 - Template Atom = 0x71408 - Textarea Atom = 0x35208 + Template Atom = 0x71908 + Textarea Atom = 0x34c08 Tfoot Atom = 0xf505 Th Atom = 0x15602 - Thead Atom = 0x33005 + Thead Atom = 0x31f05 Time Atom = 0x4204 Title Atom = 0x11005 Tr Atom = 0xcc02 Track Atom = 0x1ba05 - Translate Atom = 0x1f209 + Translate Atom = 0x20809 Tt Atom = 0x6802 Type Atom = 0xd904 - Typemustmatch Atom = 0x2900d + Typemustmatch Atom = 0x2830d U Atom = 0xb01 Ul Atom = 0xa702 Updateviacache Atom = 0x460e - Usemap Atom = 0x59e06 + Usemap Atom = 0x58e06 Value Atom = 0x1505 Var Atom = 0x16d03 - Video Atom = 0x2f105 - Wbr Atom = 0x57c03 - Width Atom = 0x64905 - Workertype Atom = 0x71c0a - Wrap Atom = 0x72604 + Video Atom = 0x2e005 + Wbr Atom = 0x56c03 + Width Atom = 0x63e05 + Workertype Atom = 0x7210a + Wrap Atom = 0x72b04 Xmp Atom = 0x12f03 ) -const hash0 = 0x81cdf10e +const hash0 = 0x84f70e16 const maxAtomLen = 25 var table = [1 << 9]Atom{ - 0x1: 0xe60a, // mediagroup - 0x2: 0x2e404, // lang - 0x4: 0x2c09, // accesskey - 0x5: 0x8b08, // frameset - 0x7: 0x63a08, // onselect - 0x8: 0x71106, // system - 0xa: 0x64905, // width - 0xc: 0x2890b, // formenctype - 0xd: 0x13702, // ol - 0xe: 0x3970b, // oncuechange - 0x10: 0x14b03, // bdo - 0x11: 0x11505, // audio - 0x12: 0x17a09, // draggable - 0x14: 0x2f105, // video - 0x15: 0x2b102, // mn - 0x16: 0x38704, // menu - 0x17: 0x2cf06, // poster - 0x19: 0xf606, // footer - 0x1a: 0x2a806, // method - 0x1b: 0x2b808, // datetime - 0x1c: 0x19507, // onabort - 0x1d: 0x460e, // updateviacache - 0x1e: 0xff05, // async - 0x1f: 0x49d06, // onload - 0x21: 0x11908, // oncancel - 0x22: 0x62908, // onseeked - 0x23: 0x30205, // image - 0x24: 0x5d812, // onrejectionhandled - 0x26: 0x17404, // link - 0x27: 0x51d06, // output - 0x28: 0x33104, // head - 0x29: 0x4ff0c, // onmouseleave - 0x2a: 0x57f07, // onpaste - 0x2b: 0x5a409, // onplaying - 0x2c: 0x1c407, // colspan - 0x2f: 0x1bf05, // color - 0x30: 0x5f504, // size - 0x31: 0x2e80a, // http-equiv - 0x33: 0x601, // i - 0x34: 0x5590a, // onpagehide - 0x35: 0x68c14, // onunhandledrejection - 0x37: 0x42a07, // onerror - 0x3a: 0x3b08, // basefont - 0x3f: 0x1303, // nav - 0x40: 0x17704, // kind - 0x41: 0x35708, // readonly - 0x42: 0x30806, // mglyph - 0x44: 0xb202, // li - 0x46: 0x2d506, // hidden - 0x47: 0x70e03, // svg - 0x48: 0x58304, // step - 0x49: 0x23f09, // integrity - 0x4a: 0x58606, // public - 0x4c: 0x1ab03, // col - 0x4d: 0x1870a, // blockquote - 0x4e: 0x34f02, // h5 - 0x50: 0x5b908, // progress - 0x51: 0x5f505, // sizes - 0x52: 0x34502, // h4 - 0x56: 0x33005, // thead - 0x57: 0xd607, // keytype - 0x58: 0x5b70a, // onprogress - 0x59: 0x44b09, // inputmode - 0x5a: 0x3b109, // ondragend - 0x5d: 0x3a205, // oncut - 0x5e: 0x43706, // spacer - 0x5f: 0x1ab08, // colgroup - 0x62: 0x16502, // is - 0x65: 0x3c02, // as - 0x66: 0x54809, // onoffline - 0x67: 0x33706, // sorted - 0x69: 0x48d10, // onlanguagechange - 0x6c: 0x43d0c, // onhashchange - 0x6d: 0x9604, // name - 0x6e: 0xf505, // tfoot - 0x6f: 0x56104, // desc - 0x70: 0x33d03, // max - 0x72: 0x1ea06, // coords - 0x73: 0x30d02, // h3 - 0x74: 0x6e70e, // onbeforeunload - 0x75: 0x9c04, // rows - 0x76: 0x63c06, // select - 0x77: 0x9805, // meter - 0x78: 0x38b06, // itemid - 0x79: 0x53c0c, // onmousewheel - 0x7a: 0x5c006, // srcdoc - 0x7d: 0x1ba05, // track - 0x7f: 0x31f08, // itemtype - 0x82: 0xa402, // mo - 0x83: 0x41b08, // onchange - 0x84: 0x33107, // headers - 0x85: 0x5cc0c, // onratechange - 0x86: 0x60819, // onsecuritypolicyviolation - 0x88: 0x4a508, // datalist - 0x89: 0x4e80b, // onmousedown - 0x8a: 0x1ef04, // slot - 0x8b: 0x4b010, // onloadedmetadata - 0x8c: 0x1a06, // accept - 0x8d: 0x26806, // object - 0x91: 0x6b30e, // onvolumechange - 0x92: 0x2107, // charset - 0x93: 0x27613, // onautocompleteerror - 0x94: 0xc113, // allowpaymentrequest - 0x95: 0x2804, // body - 0x96: 0x10a07, // default - 0x97: 0x63c08, // selected - 0x98: 0x21e04, // face - 0x99: 0x1e505, // shape - 0x9b: 0x68408, // ontoggle - 0x9e: 0x64b02, // dt - 0x9f: 0xb604, // mark - 0xa1: 0xb01, // u - 0xa4: 0x6ab08, // onunload - 0xa5: 0x5d04, // loop - 0xa6: 0x16408, // disabled - 0xaa: 0x42307, // onended - 0xab: 0xb00a, // malignmark - 0xad: 0x67b09, // onsuspend - 0xae: 0x35105, // mtext - 0xaf: 0x64f06, // onsort - 0xb0: 0x19d08, // itemprop - 0xb3: 0x67109, // itemscope - 0xb4: 0x17305, // blink - 0xb6: 0x3b106, // ondrag - 0xb7: 0xa702, // ul - 0xb8: 0x26e04, // form - 0xb9: 0x12907, // sandbox - 0xba: 0x8b05, // frame - 0xbb: 0x1505, // value - 0xbc: 0x66209, // onstorage - 0xbf: 0xaa07, // acronym - 0xc0: 0x19a02, // rt - 0xc2: 0x202, // br - 0xc3: 0x22608, // fieldset - 0xc4: 0x2900d, // typemustmatch - 0xc5: 0xa208, // nomodule - 0xc6: 0x6c07, // noembed - 0xc7: 0x69e0d, // onbeforeprint - 0xc8: 0x19106, // button - 0xc9: 0x2f507, // onclick - 0xca: 0x70407, // summary - 0xcd: 0xfb04, // ruby - 0xce: 0x56405, // class - 0xcf: 0x3f40b, // ondragstart - 0xd0: 0x23107, // caption - 0xd4: 0xdd0e, // allowusermedia - 0xd5: 0x4cf0b, // onloadstart - 0xd9: 0x16b03, // div - 0xda: 0x4a904, // list - 0xdb: 0x32e04, // math - 0xdc: 0x44b05, // input - 0xdf: 0x3ea0a, // ondragover - 0xe0: 0x2de02, // h2 - 0xe2: 0x1b209, // plaintext - 0xe4: 0x4f30c, // onmouseenter - 0xe7: 0x47907, // checked - 0xe8: 0x47003, // pre - 0xea: 0x35f08, // multiple - 0xeb: 0xba03, // bdi - 0xec: 0x33d09, // maxlength - 0xed: 0xcf01, // q - 0xee: 0x61f0a, // onauxclick - 0xf0: 0x57c03, // wbr - 0xf2: 0x3b04, // base - 0xf3: 0x6e306, // option - 0xf5: 0x41310, // ondurationchange - 0xf7: 0x8908, // noframes - 0xf9: 0x40508, // dropzone - 0xfb: 0x67505, // scope - 0xfc: 0x8008, // reversed - 0xfd: 0x3ba0b, // ondragenter - 0xfe: 0x3fa05, // start - 0xff: 0x12f03, // xmp - 0x100: 0x5f907, // srclang - 0x101: 0x30703, // img - 0x104: 0x101, // b - 0x105: 0x25403, // for - 0x106: 0x10705, // aside - 0x107: 0x44907, // oninput - 0x108: 0x35604, // area - 0x109: 0x2a40a, // formmethod - 0x10a: 0x72604, // wrap - 0x10c: 0x23c02, // rp - 0x10d: 0x46b0a, // onkeypress - 0x10e: 0x6802, // tt - 0x110: 0x34702, // mi - 0x111: 0x36705, // muted - 0x112: 0xf303, // alt - 0x113: 0x5c504, // code - 0x114: 0x6e02, // em - 0x115: 0x3c50a, // ondragexit - 0x117: 0x9f04, // span - 0x119: 0x6d708, // manifest - 0x11a: 0x38708, // menuitem - 0x11b: 0x58b07, // content - 0x11d: 0x6c109, // onwaiting - 0x11f: 0x4c609, // onloadend - 0x121: 0x37e0d, // oncontextmenu - 0x123: 0x56d06, // onblur - 0x124: 0x3fc07, // article - 0x125: 0x9303, // dir - 0x126: 0xef04, // ping - 0x127: 0x24c08, // required - 0x128: 0x45509, // oninvalid - 0x129: 0xb105, // align - 0x12b: 0x58a04, // icon - 0x12c: 0x64d02, // h6 - 0x12d: 0x1c404, // cols - 0x12e: 0x22e0a, // figcaption - 0x12f: 0x45e09, // onkeydown - 0x130: 0x66b08, // onsubmit - 0x131: 0x14d09, // oncanplay - 0x132: 0x70b03, // sup - 0x133: 0xc01, // p - 0x135: 0x40a09, // onemptied - 0x136: 0x39106, // oncopy - 0x137: 0x19c04, // cite - 0x138: 0x3a70a, // ondblclick - 0x13a: 0x50b0b, // onmousemove - 0x13c: 0x66d03, // sub - 0x13d: 0x48703, // rel - 0x13e: 0x5f08, // optgroup - 0x142: 0x9c07, // rowspan - 0x143: 0x37806, // source - 0x144: 0x21608, // noscript - 0x145: 0x1a304, // open - 0x146: 0x20403, // ins - 0x147: 0x2540d, // foreignObject - 0x148: 0x5ad0a, // onpopstate - 0x14a: 0x28d07, // enctype - 0x14b: 0x2760e, // onautocomplete - 0x14c: 0x35208, // textarea - 0x14e: 0x2780c, // autocomplete - 0x14f: 0x15702, // hr - 0x150: 0x1de08, // controls - 0x151: 0x10902, // id - 0x153: 0x2360c, // onafterprint - 0x155: 0x2610d, // foreignobject - 0x156: 0x32707, // marquee - 0x157: 0x59a07, // onpause - 0x158: 0x5e602, // dl - 0x159: 0x5206, // height - 0x15a: 0x34703, // min - 0x15b: 0x9307, // dirname - 0x15c: 0x1f209, // translate - 0x15d: 0x5604, // html - 0x15e: 0x34709, // minlength - 0x15f: 0x48607, // preload - 0x160: 0x71408, // template - 0x161: 0x3df0b, // ondragleave - 0x162: 0x3a02, // rb - 0x164: 0x5c003, // src - 0x165: 0x6dd06, // strong - 0x167: 0x7804, // samp - 0x168: 0x6f307, // address - 0x169: 0x55108, // ononline - 0x16b: 0x1310b, // placeholder - 0x16c: 0x2c406, // target - 0x16d: 0x20605, // small - 0x16e: 0x6ca07, // onwheel - 0x16f: 0x1c90a, // annotation - 0x170: 0x4740a, // spellcheck - 0x171: 0x7207, // details - 0x172: 0x10306, // canvas - 0x173: 0x12109, // autofocus - 0x174: 0xc05, // param - 0x176: 0x46308, // download - 0x177: 0x45203, // del - 0x178: 0x36c07, // onclose - 0x179: 0xb903, // kbd - 0x17a: 0x31906, // applet - 0x17b: 0x2e004, // href - 0x17c: 0x5f108, // onresize - 0x17e: 0x49d0c, // onloadeddata - 0x180: 0xcc02, // tr - 0x181: 0x2c00a, // formtarget - 0x182: 0x11005, // title - 0x183: 0x6ff05, // style - 0x184: 0xd206, // strike - 0x185: 0x59e06, // usemap - 0x186: 0x2fc06, // iframe - 0x187: 0x1004, // main - 0x189: 0x7b07, // picture - 0x18c: 0x31605, // ismap - 0x18e: 0x4a504, // data - 0x18f: 0x5905, // label - 0x191: 0x3d10e, // referrerpolicy - 0x192: 0x15602, // th - 0x194: 0x53606, // prompt - 0x195: 0x56807, // section - 0x197: 0x6d107, // optimum - 0x198: 0x2db04, // high - 0x199: 0x15c02, // h1 - 0x19a: 0x65909, // onstalled - 0x19b: 0x16d03, // var - 0x19c: 0x4204, // time - 0x19e: 0x67402, // ms - 0x19f: 0x33106, // header - 0x1a0: 0x4da09, // onmessage - 0x1a1: 0x1a605, // nonce - 0x1a2: 0x26e0a, // formaction - 0x1a3: 0x22006, // center - 0x1a4: 0x3704, // nobr - 0x1a5: 0x59505, // table - 0x1a6: 0x4a907, // listing - 0x1a7: 0x18106, // legend - 0x1a9: 0x29b09, // challenge - 0x1aa: 0x24806, // figure - 0x1ab: 0xe605, // media - 0x1ae: 0xd904, // type - 0x1af: 0x3f04, // font - 0x1b0: 0x4da0e, // onmessageerror - 0x1b1: 0x37108, // seamless - 0x1b2: 0x8703, // dfn - 0x1b3: 0x5c705, // defer - 0x1b4: 0xc303, // low - 0x1b5: 0x19a03, // rtc - 0x1b6: 0x5230b, // onmouseover - 0x1b7: 0x2b20a, // novalidate - 0x1b8: 0x71c0a, // workertype - 0x1ba: 0x3cd07, // itemref - 0x1bd: 0x1, // a - 0x1be: 0x31803, // map - 0x1bf: 0x400c, // ontimeupdate - 0x1c0: 0x15e07, // bgsound - 0x1c1: 0x3206, // keygen - 0x1c2: 0x2705, // tbody - 0x1c5: 0x64406, // onshow - 0x1c7: 0x2501, // s - 0x1c8: 0x6607, // pattern - 0x1cc: 0x14d10, // oncanplaythrough - 0x1ce: 0x2d702, // dd - 0x1cf: 0x6f906, // srcset - 0x1d0: 0x17003, // big - 0x1d2: 0x65108, // sortable - 0x1d3: 0x48007, // onkeyup - 0x1d5: 0x5a406, // onplay - 0x1d7: 0x4b804, // meta - 0x1d8: 0x40306, // ondrop - 0x1da: 0x60008, // onscroll - 0x1db: 0x1fb0b, // crossorigin - 0x1dc: 0x5730a, // onpageshow - 0x1dd: 0x4, // abbr - 0x1de: 0x9202, // td - 0x1df: 0x58b0f, // contenteditable - 0x1e0: 0x27206, // action - 0x1e1: 0x1400b, // playsinline - 0x1e2: 0x43107, // onfocus - 0x1e3: 0x2e008, // hreflang - 0x1e5: 0x5160a, // onmouseout - 0x1e6: 0x5ea07, // onreset - 0x1e7: 0x13c08, // autoplay - 0x1e8: 0x63109, // onseeking - 0x1ea: 0x67506, // scoped - 0x1ec: 0x30a, // radiogroup - 0x1ee: 0x3800b, // contextmenu - 0x1ef: 0x52e09, // onmouseup - 0x1f1: 0x2ca06, // hgroup - 0x1f2: 0x2080f, // allowfullscreen - 0x1f3: 0x4be08, // tabindex - 0x1f6: 0x30f07, // isindex - 0x1f7: 0x1a0e, // accept-charset - 0x1f8: 0x2ae0e, // formnovalidate - 0x1fb: 0x1c90e, // annotation-xml - 0x1fc: 0x6e05, // embed - 0x1fd: 0x21806, // script - 0x1fe: 0xbb06, // dialog - 0x1ff: 0x1d707, // command + 0x1: 0x3ff08, // dropzone + 0x2: 0x3b08, // basefont + 0x3: 0x23209, // integrity + 0x4: 0x43106, // source + 0x5: 0x2c09, // accesskey + 0x6: 0x1a06, // accept + 0x7: 0x6c807, // onwheel + 0xb: 0x47407, // onkeyup + 0xc: 0x32007, // headers + 0xd: 0x67306, // scoped + 0xe: 0x67909, // onsuspend + 0xf: 0x8908, // noframes + 0x10: 0x1fa0b, // crossorigin + 0x11: 0x2e407, // onclick + 0x12: 0x3f405, // start + 0x13: 0x37a0b, // contextmenu + 0x14: 0x5e903, // src + 0x15: 0x1c404, // cols + 0x16: 0xbb06, // dialog + 0x17: 0x47a07, // preload + 0x18: 0x3c707, // itemref + 0x1b: 0x2f105, // image + 0x1d: 0x4ba09, // onloadend + 0x1e: 0x45d08, // download + 0x1f: 0x46a03, // pre + 0x23: 0x2970a, // formmethod + 0x24: 0x71303, // svg + 0x25: 0xcf01, // q + 0x26: 0x64002, // dt + 0x27: 0x1de08, // controls + 0x2a: 0x2804, // body + 0x2b: 0xd206, // strike + 0x2c: 0x3910b, // oncuechange + 0x2d: 0x4c30b, // onloadstart + 0x2e: 0x2fe07, // isindex + 0x2f: 0xb202, // li + 0x30: 0x1400b, // playsinline + 0x31: 0x34102, // mi + 0x32: 0x30806, // applet + 0x33: 0x4ce09, // onmessage + 0x35: 0x13702, // ol + 0x36: 0x1a304, // open + 0x39: 0x14d09, // oncanplay + 0x3a: 0x6bf09, // onwaiting + 0x3b: 0x11908, // oncancel + 0x3c: 0x6a908, // onunload + 0x3e: 0x53c09, // onoffline + 0x3f: 0x1a0e, // accept-charset + 0x40: 0x32004, // head + 0x42: 0x3ab09, // ondragend + 0x43: 0x1310b, // placeholder + 0x44: 0x2b30a, // formtarget + 0x45: 0x2540d, // foreignobject + 0x47: 0x400c, // ontimeupdate + 0x48: 0xdd0e, // allowusermedia + 0x4a: 0x69c0d, // onbeforeprint + 0x4b: 0x5604, // html + 0x4c: 0x9f04, // span + 0x4d: 0x64206, // hgroup + 0x4e: 0x16408, // disabled + 0x4f: 0x4204, // time + 0x51: 0x42b07, // onfocus + 0x53: 0xb00a, // malignmark + 0x55: 0x4650a, // onkeypress + 0x56: 0x55805, // class + 0x57: 0x1ab08, // colgroup + 0x58: 0x33709, // maxlength + 0x59: 0x5a908, // progress + 0x5b: 0x70405, // style + 0x5c: 0x2a10e, // formnovalidate + 0x5e: 0x38b06, // oncopy + 0x60: 0x26104, // form + 0x61: 0xf606, // footer + 0x64: 0x30a, // radiogroup + 0x66: 0xfb04, // ruby + 0x67: 0x4ff0b, // onmousemove + 0x68: 0x19d08, // itemprop + 0x69: 0x2d70a, // http-equiv + 0x6a: 0x15602, // th + 0x6c: 0x6e02, // em + 0x6d: 0x38108, // menuitem + 0x6e: 0x63106, // select + 0x6f: 0x48110, // onlanguagechange + 0x70: 0x31f05, // thead + 0x71: 0x15c02, // h1 + 0x72: 0x5e906, // srcdoc + 0x75: 0x9604, // name + 0x76: 0x19106, // button + 0x77: 0x55504, // desc + 0x78: 0x17704, // kind + 0x79: 0x1bf05, // color + 0x7c: 0x58e06, // usemap + 0x7d: 0x30e08, // itemtype + 0x7f: 0x6d508, // manifest + 0x81: 0x5300c, // onmousewheel + 0x82: 0x4dc0b, // onmousedown + 0x84: 0xc05, // param + 0x85: 0x2e005, // video + 0x86: 0x4910c, // onloadeddata + 0x87: 0x6f107, // address + 0x8c: 0xef04, // ping + 0x8d: 0x24703, // for + 0x8f: 0x62f08, // onselect + 0x90: 0x30703, // map + 0x92: 0xc01, // p + 0x93: 0x8008, // reversed + 0x94: 0x54d0a, // onpagehide + 0x95: 0x3206, // keygen + 0x96: 0x34109, // minlength + 0x97: 0x3e40a, // ondragover + 0x98: 0x42407, // onerror + 0x9a: 0x2107, // charset + 0x9b: 0x29b06, // method + 0x9c: 0x101, // b + 0x9d: 0x68208, // ontoggle + 0x9e: 0x2bd06, // hidden + 0xa0: 0x3f607, // article + 0xa2: 0x63906, // onshow + 0xa3: 0x64d06, // onsort + 0xa5: 0x57b0f, // contenteditable + 0xa6: 0x66908, // onsubmit + 0xa8: 0x44f09, // oninvalid + 0xaa: 0x202, // br + 0xab: 0x10902, // id + 0xac: 0x5d04, // loop + 0xad: 0x5630a, // onpageshow + 0xb0: 0x2cf04, // href + 0xb2: 0x2210a, // figcaption + 0xb3: 0x2690e, // onautocomplete + 0xb4: 0x49106, // onload + 0xb6: 0x9c04, // rows + 0xb7: 0x1a605, // nonce + 0xb8: 0x68a14, // onunhandledrejection + 0xbb: 0x21306, // center + 0xbc: 0x59406, // onplay + 0xbd: 0x33f02, // h5 + 0xbe: 0x49d07, // listing + 0xbf: 0x57606, // public + 0xc2: 0x23b06, // figure + 0xc3: 0x57a04, // icon + 0xc4: 0x1ab03, // col + 0xc5: 0x47b03, // rel + 0xc6: 0xe605, // media + 0xc7: 0x12109, // autofocus + 0xc8: 0x19a02, // rt + 0xca: 0x2d304, // lang + 0xcc: 0x49908, // datalist + 0xce: 0x2eb06, // iframe + 0xcf: 0x36105, // muted + 0xd0: 0x6140a, // onauxclick + 0xd2: 0x3c02, // as + 0xd6: 0x3fd06, // ondrop + 0xd7: 0x1c90a, // annotation + 0xd8: 0x21908, // fieldset + 0xdb: 0x2cf08, // hreflang + 0xdc: 0x4e70c, // onmouseenter + 0xdd: 0x2a402, // mn + 0xde: 0xe60a, // mediagroup + 0xdf: 0x9805, // meter + 0xe0: 0x56c03, // wbr + 0xe2: 0x63e05, // width + 0xe3: 0x2290c, // onafterprint + 0xe4: 0x30505, // ismap + 0xe5: 0x1505, // value + 0xe7: 0x1303, // nav + 0xe8: 0x54508, // ononline + 0xe9: 0xb604, // mark + 0xea: 0xc303, // low + 0xeb: 0x3ee0b, // ondragstart + 0xef: 0x12f03, // xmp + 0xf0: 0x22407, // caption + 0xf1: 0xd904, // type + 0xf2: 0x70907, // summary + 0xf3: 0x6802, // tt + 0xf4: 0x20809, // translate + 0xf5: 0x1870a, // blockquote + 0xf8: 0x15702, // hr + 0xfa: 0x2705, // tbody + 0xfc: 0x7b07, // picture + 0xfd: 0x5206, // height + 0xfe: 0x19c04, // cite + 0xff: 0x2501, // s + 0x101: 0xff05, // async + 0x102: 0x56f07, // onpaste + 0x103: 0x19507, // onabort + 0x104: 0x2b706, // target + 0x105: 0x14b03, // bdo + 0x106: 0x1f006, // coords + 0x107: 0x5e108, // onresize + 0x108: 0x71908, // template + 0x10a: 0x3a02, // rb + 0x10b: 0x2a50a, // novalidate + 0x10c: 0x460e, // updateviacache + 0x10d: 0x71003, // sup + 0x10e: 0x6c07, // noembed + 0x10f: 0x16b03, // div + 0x110: 0x6f707, // srclang + 0x111: 0x17a09, // draggable + 0x112: 0x67305, // scope + 0x113: 0x5905, // label + 0x114: 0x22f02, // rp + 0x115: 0x23f08, // required + 0x116: 0x3780d, // oncontextmenu + 0x117: 0x5e504, // size + 0x118: 0x5b00a, // spellcheck + 0x119: 0x3f04, // font + 0x11a: 0x9c07, // rowspan + 0x11b: 0x10a07, // default + 0x11d: 0x44307, // oninput + 0x11e: 0x38506, // itemid + 0x11f: 0x5ee04, // code + 0x120: 0xaa07, // acronym + 0x121: 0x3b04, // base + 0x125: 0x2470d, // foreignObject + 0x126: 0x2ca04, // high + 0x127: 0x3cb0e, // referrerpolicy + 0x128: 0x33703, // max + 0x129: 0x59d0a, // onpopstate + 0x12a: 0x2fc02, // h4 + 0x12b: 0x4ac04, // meta + 0x12c: 0x17305, // blink + 0x12e: 0x5f508, // onscroll + 0x12f: 0x59409, // onplaying + 0x130: 0xc113, // allowpaymentrequest + 0x131: 0x19a03, // rtc + 0x132: 0x72b04, // wrap + 0x134: 0x8b08, // frameset + 0x135: 0x32605, // small + 0x137: 0x32006, // header + 0x138: 0x40409, // onemptied + 0x139: 0x34902, // h6 + 0x13a: 0x35908, // multiple + 0x13c: 0x52a06, // prompt + 0x13f: 0x28e09, // challenge + 0x141: 0x4370c, // onhashchange + 0x142: 0x57b07, // content + 0x143: 0x1c90e, // annotation-xml + 0x144: 0x36607, // onclose + 0x145: 0x14d10, // oncanplaythrough + 0x148: 0x5170b, // onmouseover + 0x149: 0x64f08, // sortable + 0x14a: 0xa402, // mo + 0x14b: 0x2cd02, // h3 + 0x14c: 0x2c406, // script + 0x14d: 0x41d07, // onended + 0x14f: 0x64706, // poster + 0x150: 0x7210a, // workertype + 0x153: 0x1f505, // shape + 0x154: 0x4, // abbr + 0x155: 0x1, // a + 0x156: 0x2bf02, // dd + 0x157: 0x71606, // system + 0x158: 0x4ce0e, // onmessageerror + 0x159: 0x36b08, // seamless + 0x15a: 0x2610a, // formaction + 0x15b: 0x6e106, // option + 0x15c: 0x31d04, // math + 0x15d: 0x62609, // onseeking + 0x15e: 0x39c05, // oncut + 0x15f: 0x44c03, // del + 0x160: 0x11005, // title + 0x161: 0x11505, // audio + 0x162: 0x63108, // selected + 0x165: 0x3b40b, // ondragenter + 0x166: 0x46e06, // spacer + 0x167: 0x4a410, // onloadedmetadata + 0x168: 0x44505, // input + 0x16a: 0x58505, // table + 0x16b: 0x41508, // onchange + 0x16e: 0x5f005, // defer + 0x171: 0x50a0a, // onmouseout + 0x172: 0x20504, // slot + 0x175: 0x3704, // nobr + 0x177: 0x1d707, // command + 0x17a: 0x7207, // details + 0x17b: 0x38104, // menu + 0x17c: 0xb903, // kbd + 0x17d: 0x57304, // step + 0x17e: 0x20303, // ins + 0x17f: 0x13c08, // autoplay + 0x182: 0x34103, // min + 0x183: 0x17404, // link + 0x185: 0x40d10, // ondurationchange + 0x186: 0x9202, // td + 0x187: 0x8b05, // frame + 0x18a: 0x2ab08, // datetime + 0x18b: 0x44509, // inputmode + 0x18c: 0x35108, // readonly + 0x18d: 0x21104, // face + 0x18f: 0x5e505, // sizes + 0x191: 0x4b208, // tabindex + 0x192: 0x6db06, // strong + 0x193: 0xba03, // bdi + 0x194: 0x6fe06, // srcset + 0x196: 0x67202, // ms + 0x197: 0x5b507, // checked + 0x198: 0xb105, // align + 0x199: 0x1e507, // section + 0x19b: 0x6e05, // embed + 0x19d: 0x15e07, // bgsound + 0x1a2: 0x49d04, // list + 0x1a3: 0x61e08, // onseeked + 0x1a4: 0x66009, // onstorage + 0x1a5: 0x2f603, // img + 0x1a6: 0xf505, // tfoot + 0x1a9: 0x26913, // onautocompleteerror + 0x1aa: 0x5fd19, // onsecuritypolicyviolation + 0x1ad: 0x9303, // dir + 0x1ae: 0x9307, // dirname + 0x1b0: 0x5a70a, // onprogress + 0x1b2: 0x65709, // onstalled + 0x1b5: 0x66f09, // itemscope + 0x1b6: 0x49904, // data + 0x1b7: 0x3d90b, // ondragleave + 0x1b8: 0x56102, // h2 + 0x1b9: 0x2f706, // mglyph + 0x1ba: 0x16502, // is + 0x1bb: 0x6e50e, // onbeforeunload + 0x1bc: 0x2830d, // typemustmatch + 0x1bd: 0x3ab06, // ondrag + 0x1be: 0x5da07, // onreset + 0x1c0: 0x51106, // output + 0x1c1: 0x12907, // sandbox + 0x1c2: 0x1b209, // plaintext + 0x1c4: 0x34c08, // textarea + 0x1c7: 0xd607, // keytype + 0x1c8: 0x34b05, // mtext + 0x1c9: 0x6b10e, // onvolumechange + 0x1ca: 0x1ea06, // onblur + 0x1cb: 0x58a07, // onpause + 0x1cd: 0x5bc0c, // onratechange + 0x1ce: 0x10705, // aside + 0x1cf: 0x6cf07, // optimum + 0x1d1: 0x45809, // onkeydown + 0x1d2: 0x1c407, // colspan + 0x1d3: 0x1004, // main + 0x1d4: 0x66b03, // sub + 0x1d5: 0x25b06, // object + 0x1d6: 0x55c06, // search + 0x1d7: 0x37206, // sorted + 0x1d8: 0x17003, // big + 0x1d9: 0xb01, // u + 0x1db: 0x26b0c, // autocomplete + 0x1dc: 0xcc02, // tr + 0x1dd: 0xf303, // alt + 0x1df: 0x7804, // samp + 0x1e0: 0x5c812, // onrejectionhandled + 0x1e1: 0x4f30c, // onmouseleave + 0x1e2: 0x28007, // enctype + 0x1e3: 0xa208, // nomodule + 0x1e5: 0x3280f, // allowfullscreen + 0x1e6: 0x5f08, // optgroup + 0x1e8: 0x27c0b, // formenctype + 0x1e9: 0x18106, // legend + 0x1ea: 0x10306, // canvas + 0x1eb: 0x6607, // pattern + 0x1ec: 0x2c208, // noscript + 0x1ed: 0x601, // i + 0x1ee: 0x5d602, // dl + 0x1ef: 0xa702, // ul + 0x1f2: 0x52209, // onmouseup + 0x1f4: 0x1ba05, // track + 0x1f7: 0x3a10a, // ondblclick + 0x1f8: 0x3bf0a, // ondragexit + 0x1fa: 0x8703, // dfn + 0x1fc: 0x26506, // action + 0x1fd: 0x35004, // area + 0x1fe: 0x31607, // marquee + 0x1ff: 0x16d03, // var } const atomText = "abbradiogrouparamainavalueaccept-charsetbodyaccesskeygenobrb" + @@ -758,26 +760,26 @@ const atomText = "abbradiogrouparamainavalueaccept-charsetbodyaccesskeygenobrb" "dboxmplaceholderautoplaysinlinebdoncanplaythrough1bgsoundisa" + "bledivarbigblinkindraggablegendblockquotebuttonabortcitempro" + "penoncecolgrouplaintextrackcolorcolspannotation-xmlcommandco" + - "ntrolshapecoordslotranslatecrossoriginsmallowfullscreenoscri" + - "ptfacenterfieldsetfigcaptionafterprintegrityfigurequiredfore" + - "ignObjectforeignobjectformactionautocompleteerrorformenctype" + - "mustmatchallengeformmethodformnovalidatetimeformtargethgroup" + - "osterhiddenhigh2hreflanghttp-equivideonclickiframeimageimgly" + - "ph3isindexismappletitemtypemarqueematheadersortedmaxlength4m" + - "inlength5mtextareadonlymultiplemutedoncloseamlessourceoncont" + - "extmenuitemidoncopyoncuechangeoncutondblclickondragendondrag" + - "enterondragexitemreferrerpolicyondragleaveondragoverondragst" + - "articleondropzonemptiedondurationchangeonendedonerroronfocus" + - "paceronhashchangeoninputmodeloninvalidonkeydownloadonkeypres" + - "spellcheckedonkeyupreloadonlanguagechangeonloadeddatalisting" + - "onloadedmetadatabindexonloadendonloadstartonmessageerroronmo" + - "usedownonmouseenteronmouseleaveonmousemoveonmouseoutputonmou" + - "seoveronmouseupromptonmousewheelonofflineononlineonpagehides" + - "classectionbluronpageshowbronpastepublicontenteditableonpaus" + - "emaponplayingonpopstateonprogressrcdocodeferonratechangeonre" + - "jectionhandledonresetonresizesrclangonscrollonsecuritypolicy" + - "violationauxclickonseekedonseekingonselectedonshowidth6onsor" + - "tableonstalledonstorageonsubmitemscopedonsuspendontoggleonun" + - "handledrejectionbeforeprintonunloadonvolumechangeonwaitingon" + - "wheeloptimumanifestrongoptionbeforeunloaddressrcsetstylesumm" + - "arysupsvgsystemplateworkertypewrap" + "ntrolsectionblurcoordshapecrossoriginslotranslatefacenterfie" + + "ldsetfigcaptionafterprintegrityfigurequiredforeignObjectfore" + + "ignobjectformactionautocompleteerrorformenctypemustmatchalle" + + "ngeformmethodformnovalidatetimeformtargethiddenoscripthigh3h" + + "reflanghttp-equivideonclickiframeimageimglyph4isindexismappl" + + "etitemtypemarqueematheadersmallowfullscreenmaxlength5minleng" + + "th6mtextareadonlymultiplemutedoncloseamlessortedoncontextmen" + + "uitemidoncopyoncuechangeoncutondblclickondragendondragentero" + + "ndragexitemreferrerpolicyondragleaveondragoverondragstarticl" + + "eondropzonemptiedondurationchangeonendedonerroronfocusourceo" + + "nhashchangeoninputmodeloninvalidonkeydownloadonkeypresspacer" + + "onkeyupreloadonlanguagechangeonloadeddatalistingonloadedmeta" + + "databindexonloadendonloadstartonmessageerroronmousedownonmou" + + "seenteronmouseleaveonmousemoveonmouseoutputonmouseoveronmous" + + "eupromptonmousewheelonofflineononlineonpagehidesclassearch2o" + + "npageshowbronpastepublicontenteditableonpausemaponplayingonp" + + "opstateonprogresspellcheckedonratechangeonrejectionhandledon" + + "resetonresizesrcdocodeferonscrollonsecuritypolicyviolationau" + + "xclickonseekedonseekingonselectedonshowidthgrouposteronsorta" + + "bleonstalledonstorageonsubmitemscopedonsuspendontoggleonunha" + + "ndledrejectionbeforeprintonunloadonvolumechangeonwaitingonwh" + + "eeloptimumanifestrongoptionbeforeunloaddressrclangsrcsetstyl" + + "esummarysupsvgsystemplateworkertypewrap" diff --git a/vendor/golang.org/x/net/html/escape.go b/vendor/golang.org/x/net/html/escape.go index 04c6bec210..12f2273706 100644 --- a/vendor/golang.org/x/net/html/escape.go +++ b/vendor/golang.org/x/net/html/escape.go @@ -299,7 +299,7 @@ func escape(w writer, s string) error { case '\r': esc = " " default: - panic("unrecognized escape character") + panic("html: unrecognized escape character") } s = s[i+1:] if _, err := w.WriteString(esc); err != nil { diff --git a/vendor/golang.org/x/net/html/parse.go b/vendor/golang.org/x/net/html/parse.go index 643c674e37..88fc0056a3 100644 --- a/vendor/golang.org/x/net/html/parse.go +++ b/vendor/golang.org/x/net/html/parse.go @@ -136,7 +136,7 @@ func (p *parser) indexOfElementInScope(s scope, matchTags ...a.Atom) int { return -1 } default: - panic("unreachable") + panic(fmt.Sprintf("html: internal error: indexOfElementInScope unknown scope: %d", s)) } } switch s { @@ -179,7 +179,7 @@ func (p *parser) clearStackToContext(s scope) { return } default: - panic("unreachable") + panic(fmt.Sprintf("html: internal error: clearStackToContext unknown scope: %d", s)) } } } @@ -231,7 +231,14 @@ func (p *parser) addChild(n *Node) { } if n.Type == ElementNode { - p.oe = append(p.oe, n) + p.insertOpenElement(n) + } +} + +func (p *parser) insertOpenElement(n *Node) { + p.oe = append(p.oe, n) + if len(p.oe) > 512 { + panic("html: open stack of elements exceeds 512 nodes") } } @@ -810,7 +817,7 @@ func afterHeadIM(p *parser) bool { p.im = inFramesetIM return true case a.Base, a.Basefont, a.Bgsound, a.Link, a.Meta, a.Noframes, a.Script, a.Style, a.Template, a.Title: - p.oe = append(p.oe, p.head) + p.insertOpenElement(p.head) defer p.oe.remove(p.head) return inHeadIM(p) case a.Head: @@ -924,7 +931,7 @@ func inBodyIM(p *parser) bool { p.addElement() p.im = inFramesetIM return true - case a.Address, a.Article, a.Aside, a.Blockquote, a.Center, a.Details, a.Dialog, a.Dir, a.Div, a.Dl, a.Fieldset, a.Figcaption, a.Figure, a.Footer, a.Header, a.Hgroup, a.Main, a.Menu, a.Nav, a.Ol, a.P, a.Section, a.Summary, a.Ul: + case a.Address, a.Article, a.Aside, a.Blockquote, a.Center, a.Details, a.Dialog, a.Dir, a.Div, a.Dl, a.Fieldset, a.Figcaption, a.Figure, a.Footer, a.Header, a.Hgroup, a.Main, a.Menu, a.Nav, a.Ol, a.P, a.Search, a.Section, a.Summary, a.Ul: p.popUntil(buttonScope, a.P) p.addElement() case a.H1, a.H2, a.H3, a.H4, a.H5, a.H6: @@ -1136,7 +1143,7 @@ func inBodyIM(p *parser) bool { return false } return true - case a.Address, a.Article, a.Aside, a.Blockquote, a.Button, a.Center, a.Details, a.Dialog, a.Dir, a.Div, a.Dl, a.Fieldset, a.Figcaption, a.Figure, a.Footer, a.Header, a.Hgroup, a.Listing, a.Main, a.Menu, a.Nav, a.Ol, a.Pre, a.Section, a.Summary, a.Ul: + case a.Address, a.Article, a.Aside, a.Blockquote, a.Button, a.Center, a.Details, a.Dialog, a.Dir, a.Div, a.Dl, a.Fieldset, a.Figcaption, a.Figure, a.Footer, a.Header, a.Hgroup, a.Listing, a.Main, a.Menu, a.Nav, a.Ol, a.Pre, a.Search, a.Section, a.Summary, a.Ul: p.popUntil(defaultScope, p.tok.DataAtom) case a.Form: if p.oe.contains(a.Template) { @@ -1678,7 +1685,7 @@ func inTableBodyIM(p *parser) bool { return inTableIM(p) } -// Section 12.2.6.4.14. +// Section 13.2.6.4.14. func inRowIM(p *parser) bool { switch p.tok.Type { case StartTagToken: @@ -1690,7 +1697,9 @@ func inRowIM(p *parser) bool { p.im = inCellIM return true case a.Caption, a.Col, a.Colgroup, a.Tbody, a.Tfoot, a.Thead, a.Tr: - if p.popUntil(tableScope, a.Tr) { + if p.elementInScope(tableScope, a.Tr) { + p.clearStackToContext(tableRowScope) + p.oe.pop() p.im = inTableBodyIM return false } @@ -1700,22 +1709,28 @@ func inRowIM(p *parser) bool { case EndTagToken: switch p.tok.DataAtom { case a.Tr: - if p.popUntil(tableScope, a.Tr) { + if p.elementInScope(tableScope, a.Tr) { + p.clearStackToContext(tableRowScope) + p.oe.pop() p.im = inTableBodyIM return true } // Ignore the token. return true case a.Table: - if p.popUntil(tableScope, a.Tr) { + if p.elementInScope(tableScope, a.Tr) { + p.clearStackToContext(tableRowScope) + p.oe.pop() p.im = inTableBodyIM return false } // Ignore the token. return true case a.Tbody, a.Tfoot, a.Thead: - if p.elementInScope(tableScope, p.tok.DataAtom) { - p.parseImpliedToken(EndTagToken, a.Tr, a.Tr.String()) + if p.elementInScope(tableScope, p.tok.DataAtom) && p.elementInScope(tableScope, a.Tr) { + p.clearStackToContext(tableRowScope) + p.oe.pop() + p.im = inTableBodyIM return false } // Ignore the token. @@ -2222,16 +2237,20 @@ func parseForeignContent(p *parser) bool { p.acknowledgeSelfClosingTag() } case EndTagToken: + if strings.EqualFold(p.oe[len(p.oe)-1].Data, p.tok.Data) { + p.oe = p.oe[:len(p.oe)-1] + return true + } for i := len(p.oe) - 1; i >= 0; i-- { - if p.oe[i].Namespace == "" { - return p.im(p) - } if strings.EqualFold(p.oe[i].Data, p.tok.Data) { p.oe = p.oe[:i] + return true + } + if i > 0 && p.oe[i-1].Namespace == "" { break } } - return true + return p.im(p) default: // Ignore the token. } @@ -2312,9 +2331,13 @@ func (p *parser) parseCurrentToken() { } } -func (p *parser) parse() error { +func (p *parser) parse() (err error) { + defer func() { + if panicErr := recover(); panicErr != nil { + err = fmt.Errorf("%s", panicErr) + } + }() // Iterate until EOF. Any other error will cause an early return. - var err error for err != io.EOF { // CDATA sections are allowed only in foreign content. n := p.oe.top() @@ -2343,6 +2366,8 @@ func (p *parser) parse() error { // s. Conversely, explicit s in r's data can be silently dropped, // with no corresponding node in the resulting tree. // +// Parse will reject HTML that is nested deeper than 512 elements. +// // The input is assumed to be UTF-8 encoded. func Parse(r io.Reader) (*Node, error) { return ParseWithOptions(r) diff --git a/vendor/golang.org/x/net/html/render.go b/vendor/golang.org/x/net/html/render.go index e8c1233455..0157d89e1f 100644 --- a/vendor/golang.org/x/net/html/render.go +++ b/vendor/golang.org/x/net/html/render.go @@ -184,7 +184,7 @@ func render1(w writer, n *Node) error { return err } - // Add initial newline where there is danger of a newline beging ignored. + // Add initial newline where there is danger of a newline being ignored. if c := n.FirstChild; c != nil && c.Type == TextNode && strings.HasPrefix(c.Data, "\n") { switch n.Data { case "pre", "listing", "textarea": diff --git a/vendor/golang.org/x/net/html/token.go b/vendor/golang.org/x/net/html/token.go index 3c57880d69..6598c1f7b3 100644 --- a/vendor/golang.org/x/net/html/token.go +++ b/vendor/golang.org/x/net/html/token.go @@ -839,8 +839,22 @@ func (z *Tokenizer) readStartTag() TokenType { if raw { z.rawTag = strings.ToLower(string(z.buf[z.data.start:z.data.end])) } - // Look for a self-closing token like "
". - if z.err == nil && z.buf[z.raw.end-2] == '/' { + // Look for a self-closing token (e.g.
). + // + // Originally, we did this by just checking that the last character of the + // tag (ignoring the closing bracket) was a solidus (/) character, but this + // is not always accurate. + // + // We need to be careful that we don't misinterpret a non-self-closing tag + // as self-closing, as can happen if the tag contains unquoted attribute + // values (i.e.

). + // + // To avoid this, we check that the last non-bracket character of the tag + // (z.raw.end-2) isn't the same character as the last non-quote character of + // the last attribute of the tag (z.pendingAttr[1].end-1), if the tag has + // attributes. + nAttrs := len(z.attr) + if z.err == nil && z.buf[z.raw.end-2] == '/' && (nAttrs == 0 || z.raw.end-2 != z.attr[nAttrs-1][1].end-1) { return SelfClosingTagToken } return StartTagToken diff --git a/vendor/golang.org/x/net/http2/config.go b/vendor/golang.org/x/net/http2/config.go index ca645d9a1a..8a7a89d016 100644 --- a/vendor/golang.org/x/net/http2/config.go +++ b/vendor/golang.org/x/net/http2/config.go @@ -27,6 +27,7 @@ import ( // - If the resulting value is zero or out of range, use a default. type http2Config struct { MaxConcurrentStreams uint32 + StrictMaxConcurrentRequests bool MaxDecoderHeaderTableSize uint32 MaxEncoderHeaderTableSize uint32 MaxReadFrameSize uint32 @@ -55,7 +56,7 @@ func configFromServer(h1 *http.Server, h2 *Server) http2Config { PermitProhibitedCipherSuites: h2.PermitProhibitedCipherSuites, CountError: h2.CountError, } - fillNetHTTPServerConfig(&conf, h1) + fillNetHTTPConfig(&conf, h1.HTTP2) setConfigDefaults(&conf, true) return conf } @@ -64,12 +65,13 @@ func configFromServer(h1 *http.Server, h2 *Server) http2Config { // (the net/http Transport). func configFromTransport(h2 *Transport) http2Config { conf := http2Config{ - MaxEncoderHeaderTableSize: h2.MaxEncoderHeaderTableSize, - MaxDecoderHeaderTableSize: h2.MaxDecoderHeaderTableSize, - MaxReadFrameSize: h2.MaxReadFrameSize, - SendPingTimeout: h2.ReadIdleTimeout, - PingTimeout: h2.PingTimeout, - WriteByteTimeout: h2.WriteByteTimeout, + StrictMaxConcurrentRequests: h2.StrictMaxConcurrentStreams, + MaxEncoderHeaderTableSize: h2.MaxEncoderHeaderTableSize, + MaxDecoderHeaderTableSize: h2.MaxDecoderHeaderTableSize, + MaxReadFrameSize: h2.MaxReadFrameSize, + SendPingTimeout: h2.ReadIdleTimeout, + PingTimeout: h2.PingTimeout, + WriteByteTimeout: h2.WriteByteTimeout, } // Unlike most config fields, where out-of-range values revert to the default, @@ -81,7 +83,7 @@ func configFromTransport(h2 *Transport) http2Config { } if h2.t1 != nil { - fillNetHTTPTransportConfig(&conf, h2.t1) + fillNetHTTPConfig(&conf, h2.t1.HTTP2) } setConfigDefaults(&conf, false) return conf @@ -120,3 +122,48 @@ func adjustHTTP1MaxHeaderSize(n int64) int64 { const typicalHeaders = 10 // conservative return n + typicalHeaders*perFieldOverhead } + +func fillNetHTTPConfig(conf *http2Config, h2 *http.HTTP2Config) { + if h2 == nil { + return + } + if h2.MaxConcurrentStreams != 0 { + conf.MaxConcurrentStreams = uint32(h2.MaxConcurrentStreams) + } + if http2ConfigStrictMaxConcurrentRequests(h2) { + conf.StrictMaxConcurrentRequests = true + } + if h2.MaxEncoderHeaderTableSize != 0 { + conf.MaxEncoderHeaderTableSize = uint32(h2.MaxEncoderHeaderTableSize) + } + if h2.MaxDecoderHeaderTableSize != 0 { + conf.MaxDecoderHeaderTableSize = uint32(h2.MaxDecoderHeaderTableSize) + } + if h2.MaxConcurrentStreams != 0 { + conf.MaxConcurrentStreams = uint32(h2.MaxConcurrentStreams) + } + if h2.MaxReadFrameSize != 0 { + conf.MaxReadFrameSize = uint32(h2.MaxReadFrameSize) + } + if h2.MaxReceiveBufferPerConnection != 0 { + conf.MaxUploadBufferPerConnection = int32(h2.MaxReceiveBufferPerConnection) + } + if h2.MaxReceiveBufferPerStream != 0 { + conf.MaxUploadBufferPerStream = int32(h2.MaxReceiveBufferPerStream) + } + if h2.SendPingTimeout != 0 { + conf.SendPingTimeout = h2.SendPingTimeout + } + if h2.PingTimeout != 0 { + conf.PingTimeout = h2.PingTimeout + } + if h2.WriteByteTimeout != 0 { + conf.WriteByteTimeout = h2.WriteByteTimeout + } + if h2.PermitProhibitedCipherSuites { + conf.PermitProhibitedCipherSuites = true + } + if h2.CountError != nil { + conf.CountError = h2.CountError + } +} diff --git a/vendor/golang.org/x/net/http2/config_go124.go b/vendor/golang.org/x/net/http2/config_go124.go deleted file mode 100644 index 5b516c55ff..0000000000 --- a/vendor/golang.org/x/net/http2/config_go124.go +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.24 - -package http2 - -import "net/http" - -// fillNetHTTPServerConfig sets fields in conf from srv.HTTP2. -func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) { - fillNetHTTPConfig(conf, srv.HTTP2) -} - -// fillNetHTTPTransportConfig sets fields in conf from tr.HTTP2. -func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) { - fillNetHTTPConfig(conf, tr.HTTP2) -} - -func fillNetHTTPConfig(conf *http2Config, h2 *http.HTTP2Config) { - if h2 == nil { - return - } - if h2.MaxConcurrentStreams != 0 { - conf.MaxConcurrentStreams = uint32(h2.MaxConcurrentStreams) - } - if h2.MaxEncoderHeaderTableSize != 0 { - conf.MaxEncoderHeaderTableSize = uint32(h2.MaxEncoderHeaderTableSize) - } - if h2.MaxDecoderHeaderTableSize != 0 { - conf.MaxDecoderHeaderTableSize = uint32(h2.MaxDecoderHeaderTableSize) - } - if h2.MaxConcurrentStreams != 0 { - conf.MaxConcurrentStreams = uint32(h2.MaxConcurrentStreams) - } - if h2.MaxReadFrameSize != 0 { - conf.MaxReadFrameSize = uint32(h2.MaxReadFrameSize) - } - if h2.MaxReceiveBufferPerConnection != 0 { - conf.MaxUploadBufferPerConnection = int32(h2.MaxReceiveBufferPerConnection) - } - if h2.MaxReceiveBufferPerStream != 0 { - conf.MaxUploadBufferPerStream = int32(h2.MaxReceiveBufferPerStream) - } - if h2.SendPingTimeout != 0 { - conf.SendPingTimeout = h2.SendPingTimeout - } - if h2.PingTimeout != 0 { - conf.PingTimeout = h2.PingTimeout - } - if h2.WriteByteTimeout != 0 { - conf.WriteByteTimeout = h2.WriteByteTimeout - } - if h2.PermitProhibitedCipherSuites { - conf.PermitProhibitedCipherSuites = true - } - if h2.CountError != nil { - conf.CountError = h2.CountError - } -} diff --git a/vendor/golang.org/x/net/http2/config_go125.go b/vendor/golang.org/x/net/http2/config_go125.go new file mode 100644 index 0000000000..b4373fe33c --- /dev/null +++ b/vendor/golang.org/x/net/http2/config_go125.go @@ -0,0 +1,15 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !go1.26 + +package http2 + +import ( + "net/http" +) + +func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool { + return false +} diff --git a/vendor/golang.org/x/net/http2/config_go126.go b/vendor/golang.org/x/net/http2/config_go126.go new file mode 100644 index 0000000000..6b071c149d --- /dev/null +++ b/vendor/golang.org/x/net/http2/config_go126.go @@ -0,0 +1,15 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build go1.26 + +package http2 + +import ( + "net/http" +) + +func http2ConfigStrictMaxConcurrentRequests(h2 *http.HTTP2Config) bool { + return h2.StrictMaxConcurrentRequests +} diff --git a/vendor/golang.org/x/net/http2/config_pre_go124.go b/vendor/golang.org/x/net/http2/config_pre_go124.go deleted file mode 100644 index 060fd6c64c..0000000000 --- a/vendor/golang.org/x/net/http2/config_pre_go124.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.24 - -package http2 - -import "net/http" - -// Pre-Go 1.24 fallback. -// The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24. - -func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {} - -func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {} diff --git a/vendor/golang.org/x/net/http2/frame.go b/vendor/golang.org/x/net/http2/frame.go index 81faec7e75..9a4bd123c9 100644 --- a/vendor/golang.org/x/net/http2/frame.go +++ b/vendor/golang.org/x/net/http2/frame.go @@ -39,7 +39,7 @@ const ( FrameContinuation FrameType = 0x9 ) -var frameName = map[FrameType]string{ +var frameNames = [...]string{ FrameData: "DATA", FrameHeaders: "HEADERS", FramePriority: "PRIORITY", @@ -53,10 +53,10 @@ var frameName = map[FrameType]string{ } func (t FrameType) String() string { - if s, ok := frameName[t]; ok { - return s + if int(t) < len(frameNames) { + return frameNames[t] } - return fmt.Sprintf("UNKNOWN_FRAME_TYPE_%d", uint8(t)) + return fmt.Sprintf("UNKNOWN_FRAME_TYPE_%d", t) } // Flags is a bitmask of HTTP/2 flags. @@ -124,7 +124,7 @@ var flagName = map[FrameType]map[Flags]string{ // might be 0). type frameParser func(fc *frameCache, fh FrameHeader, countError func(string), payload []byte) (Frame, error) -var frameParsers = map[FrameType]frameParser{ +var frameParsers = [...]frameParser{ FrameData: parseDataFrame, FrameHeaders: parseHeadersFrame, FramePriority: parsePriorityFrame, @@ -138,8 +138,8 @@ var frameParsers = map[FrameType]frameParser{ } func typeFrameParser(t FrameType) frameParser { - if f := frameParsers[t]; f != nil { - return f + if int(t) < len(frameParsers) { + return frameParsers[t] } return parseUnknownFrame } @@ -225,6 +225,11 @@ var fhBytes = sync.Pool{ }, } +func invalidHTTP1LookingFrameHeader() FrameHeader { + fh, _ := readFrameHeader(make([]byte, frameHeaderLen), strings.NewReader("HTTP/1.1 ")) + return fh +} + // ReadFrameHeader reads 9 bytes from r and returns a FrameHeader. // Most users should use Framer.ReadFrame instead. func ReadFrameHeader(r io.Reader) (FrameHeader, error) { @@ -275,6 +280,8 @@ type Framer struct { // lastHeaderStream is non-zero if the last frame was an // unfinished HEADERS/CONTINUATION. lastHeaderStream uint32 + // lastFrameType holds the type of the last frame for verifying frame order. + lastFrameType FrameType maxReadSize uint32 headerBuf [frameHeaderLen]byte @@ -342,7 +349,7 @@ func (fr *Framer) maxHeaderListSize() uint32 { func (f *Framer) startWrite(ftype FrameType, flags Flags, streamID uint32) { // Write the FrameHeader. f.wbuf = append(f.wbuf[:0], - 0, // 3 bytes of length, filled in in endWrite + 0, // 3 bytes of length, filled in endWrite 0, 0, byte(ftype), @@ -483,30 +490,47 @@ func terminalReadFrameError(err error) bool { return err != nil } -// ReadFrame reads a single frame. The returned Frame is only valid -// until the next call to ReadFrame. +// ReadFrameHeader reads the header of the next frame. +// It reads the 9-byte fixed frame header, and does not read any portion of the +// frame payload. The caller is responsible for consuming the payload, either +// with ReadFrameForHeader or directly from the Framer's io.Reader. // -// If the frame is larger than previously set with SetMaxReadFrameSize, the -// returned error is ErrFrameTooLarge. Other errors may be of type -// ConnectionError, StreamError, or anything else from the underlying -// reader. +// If the frame is larger than previously set with SetMaxReadFrameSize, it +// returns the frame header and ErrFrameTooLarge. // -// If ReadFrame returns an error and a non-nil Frame, the Frame's StreamID -// indicates the stream responsible for the error. -func (fr *Framer) ReadFrame() (Frame, error) { +// If the returned FrameHeader.StreamID is non-zero, it indicates the stream +// responsible for the error. +func (fr *Framer) ReadFrameHeader() (FrameHeader, error) { fr.errDetail = nil - if fr.lastFrame != nil { - fr.lastFrame.invalidate() - } fh, err := readFrameHeader(fr.headerBuf[:], fr.r) if err != nil { - return nil, err + return fh, err } if fh.Length > fr.maxReadSize { - return nil, ErrFrameTooLarge + if fh == invalidHTTP1LookingFrameHeader() { + return fh, fmt.Errorf("http2: failed reading the frame payload: %w, note that the frame header looked like an HTTP/1.1 header", ErrFrameTooLarge) + } + return fh, ErrFrameTooLarge + } + if err := fr.checkFrameOrder(fh); err != nil { + return fh, err + } + return fh, nil +} + +// ReadFrameForHeader reads the payload for the frame with the given FrameHeader. +// +// It behaves identically to ReadFrame, other than not checking the maximum +// frame size. +func (fr *Framer) ReadFrameForHeader(fh FrameHeader) (Frame, error) { + if fr.lastFrame != nil { + fr.lastFrame.invalidate() } payload := fr.getReadBuf(fh.Length) if _, err := io.ReadFull(fr.r, payload); err != nil { + if fh == invalidHTTP1LookingFrameHeader() { + return nil, fmt.Errorf("http2: failed reading the frame payload: %w, note that the frame header looked like an HTTP/1.1 header", err) + } return nil, err } f, err := typeFrameParser(fh.Type)(fr.frameCache, fh, fr.countError, payload) @@ -516,9 +540,7 @@ func (fr *Framer) ReadFrame() (Frame, error) { } return nil, err } - if err := fr.checkFrameOrder(f); err != nil { - return nil, err - } + fr.lastFrame = f if fr.logReads { fr.debugReadLoggerf("http2: Framer %p: read %v", fr, summarizeFrame(f)) } @@ -528,6 +550,24 @@ func (fr *Framer) ReadFrame() (Frame, error) { return f, nil } +// ReadFrame reads a single frame. The returned Frame is only valid +// until the next call to ReadFrame or ReadFrameBodyForHeader. +// +// If the frame is larger than previously set with SetMaxReadFrameSize, the +// returned error is ErrFrameTooLarge. Other errors may be of type +// ConnectionError, StreamError, or anything else from the underlying +// reader. +// +// If ReadFrame returns an error and a non-nil Frame, the Frame's StreamID +// indicates the stream responsible for the error. +func (fr *Framer) ReadFrame() (Frame, error) { + fh, err := fr.ReadFrameHeader() + if err != nil { + return nil, err + } + return fr.ReadFrameForHeader(fh) +} + // connError returns ConnectionError(code) but first // stashes away a public reason to the caller can optionally relay it // to the peer before hanging up on them. This might help others debug @@ -540,20 +580,19 @@ func (fr *Framer) connError(code ErrCode, reason string) error { // checkFrameOrder reports an error if f is an invalid frame to return // next from ReadFrame. Mostly it checks whether HEADERS and // CONTINUATION frames are contiguous. -func (fr *Framer) checkFrameOrder(f Frame) error { - last := fr.lastFrame - fr.lastFrame = f +func (fr *Framer) checkFrameOrder(fh FrameHeader) error { + lastType := fr.lastFrameType + fr.lastFrameType = fh.Type if fr.AllowIllegalReads { return nil } - fh := f.Header() if fr.lastHeaderStream != 0 { if fh.Type != FrameContinuation { return fr.connError(ErrCodeProtocol, fmt.Sprintf("got %s for stream %d; expected CONTINUATION following %s for stream %d", fh.Type, fh.StreamID, - last.Header().Type, fr.lastHeaderStream)) + lastType, fr.lastHeaderStream)) } if fh.StreamID != fr.lastHeaderStream { return fr.connError(ErrCodeProtocol, @@ -1141,7 +1180,16 @@ type PriorityFrame struct { PriorityParam } -// PriorityParam are the stream prioritzation parameters. +var defaultRFC9218Priority = PriorityParam{ + incremental: 0, + urgency: 3, +} + +// Note that HTTP/2 has had two different prioritization schemes, and +// PriorityParam struct below is a superset of both schemes. The exported +// symbols are from RFC 7540 and the non-exported ones are from RFC 9218. + +// PriorityParam are the stream prioritization parameters. type PriorityParam struct { // StreamDep is a 31-bit stream identifier for the // stream that this stream depends on. Zero means no @@ -1156,6 +1204,20 @@ type PriorityParam struct { // the spec, "Add one to the value to obtain a weight between // 1 and 256." Weight uint8 + + // "The urgency (u) parameter value is Integer (see Section 3.3.1 of + // [STRUCTURED-FIELDS]), between 0 and 7 inclusive, in descending order of + // priority. The default is 3." + urgency uint8 + + // "The incremental (i) parameter value is Boolean (see Section 3.3.6 of + // [STRUCTURED-FIELDS]). It indicates if an HTTP response can be processed + // incrementally, i.e., provide some meaningful output as chunks of the + // response arrive." + // + // We use uint8 (i.e. 0 is false, 1 is true) instead of bool so we can + // avoid unnecessary type conversions and because either type takes 1 byte. + incremental uint8 } func (p PriorityParam) IsZero() bool { diff --git a/vendor/golang.org/x/net/http2/gotrack.go b/vendor/golang.org/x/net/http2/gotrack.go index 9933c9f8c7..9921ca096d 100644 --- a/vendor/golang.org/x/net/http2/gotrack.go +++ b/vendor/golang.org/x/net/http2/gotrack.go @@ -15,21 +15,32 @@ import ( "runtime" "strconv" "sync" + "sync/atomic" ) var DebugGoroutines = os.Getenv("DEBUG_HTTP2_GOROUTINES") == "1" +// Setting DebugGoroutines to false during a test to disable goroutine debugging +// results in race detector complaints when a test leaves goroutines running before +// returning. Tests shouldn't do this, of course, but when they do it generally shows +// up as infrequent, hard-to-debug flakes. (See #66519.) +// +// Disable goroutine debugging during individual tests with an atomic bool. +// (Note that it's safe to enable/disable debugging mid-test, so the actual race condition +// here is harmless.) +var disableDebugGoroutines atomic.Bool + type goroutineLock uint64 func newGoroutineLock() goroutineLock { - if !DebugGoroutines { + if !DebugGoroutines || disableDebugGoroutines.Load() { return 0 } return goroutineLock(curGoroutineID()) } func (g goroutineLock) check() { - if !DebugGoroutines { + if !DebugGoroutines || disableDebugGoroutines.Load() { return } if curGoroutineID() != uint64(g) { @@ -38,7 +49,7 @@ func (g goroutineLock) check() { } func (g goroutineLock) checkNotOn() { - if !DebugGoroutines { + if !DebugGoroutines || disableDebugGoroutines.Load() { return } if curGoroutineID() == uint64(g) { diff --git a/vendor/golang.org/x/net/http2/http2.go b/vendor/golang.org/x/net/http2/http2.go index c7601c909f..105fe12fef 100644 --- a/vendor/golang.org/x/net/http2/http2.go +++ b/vendor/golang.org/x/net/http2/http2.go @@ -11,13 +11,10 @@ // requires Go 1.6 or later) // // See https://http2.github.io/ for more information on HTTP/2. -// -// See https://http2.golang.org/ for a test server running this code. package http2 // import "golang.org/x/net/http2" import ( "bufio" - "context" "crypto/tls" "errors" "fmt" @@ -34,11 +31,18 @@ import ( ) var ( - VerboseLogs bool - logFrameWrites bool - logFrameReads bool - inTests bool - disableExtendedConnectProtocol bool + VerboseLogs bool + logFrameWrites bool + logFrameReads bool + + // Enabling extended CONNECT by causes browsers to attempt to use + // WebSockets-over-HTTP/2. This results in problems when the server's websocket + // package doesn't support extended CONNECT. + // + // Disable extended CONNECT by default for now. + // + // Issue #71128. + disableExtendedConnectProtocol = true ) func init() { @@ -51,8 +55,8 @@ func init() { logFrameWrites = true logFrameReads = true } - if strings.Contains(e, "http2xconnect=0") { - disableExtendedConnectProtocol = true + if strings.Contains(e, "http2xconnect=1") { + disableExtendedConnectProtocol = false } } @@ -249,15 +253,13 @@ func (cw closeWaiter) Wait() { // idle memory usage with many connections. type bufferedWriter struct { _ incomparable - group synctestGroupInterface // immutable - conn net.Conn // immutable - bw *bufio.Writer // non-nil when data is buffered - byteTimeout time.Duration // immutable, WriteByteTimeout + conn net.Conn // immutable + bw *bufio.Writer // non-nil when data is buffered + byteTimeout time.Duration // immutable, WriteByteTimeout } -func newBufferedWriter(group synctestGroupInterface, conn net.Conn, timeout time.Duration) *bufferedWriter { +func newBufferedWriter(conn net.Conn, timeout time.Duration) *bufferedWriter { return &bufferedWriter{ - group: group, conn: conn, byteTimeout: timeout, } @@ -308,24 +310,18 @@ func (w *bufferedWriter) Flush() error { type bufferedWriterTimeoutWriter bufferedWriter func (w *bufferedWriterTimeoutWriter) Write(p []byte) (n int, err error) { - return writeWithByteTimeout(w.group, w.conn, w.byteTimeout, p) + return writeWithByteTimeout(w.conn, w.byteTimeout, p) } // writeWithByteTimeout writes to conn. // If more than timeout passes without any bytes being written to the connection, // the write fails. -func writeWithByteTimeout(group synctestGroupInterface, conn net.Conn, timeout time.Duration, p []byte) (n int, err error) { +func writeWithByteTimeout(conn net.Conn, timeout time.Duration, p []byte) (n int, err error) { if timeout <= 0 { return conn.Write(p) } for { - var now time.Time - if group == nil { - now = time.Now() - } else { - now = group.Now() - } - conn.SetWriteDeadline(now.Add(timeout)) + conn.SetWriteDeadline(time.Now().Add(timeout)) nn, err := conn.Write(p[n:]) n += nn if n == len(p) || nn == 0 || !errors.Is(err, os.ErrDeadlineExceeded) { @@ -407,35 +403,7 @@ func (s *sorter) SortStrings(ss []string) { s.v = save } -// validPseudoPath reports whether v is a valid :path pseudo-header -// value. It must be either: -// -// - a non-empty string starting with '/' -// - the string '*', for OPTIONS requests. -// -// For now this is only used a quick check for deciding when to clean -// up Opaque URLs before sending requests from the Transport. -// See golang.org/issue/16847 -// -// We used to enforce that the path also didn't start with "//", but -// Google's GFE accepts such paths and Chrome sends them, so ignore -// that part of the spec. See golang.org/issue/19103. -func validPseudoPath(v string) bool { - return (len(v) > 0 && v[0] == '/') || v == "*" -} - // incomparable is a zero-width, non-comparable type. Adding it to a struct // makes that struct also non-comparable, and generally doesn't add // any size (as long as it's first). type incomparable [0]func() - -// synctestGroupInterface is the methods of synctestGroup used by Server and Transport. -// It's defined as an interface here to let us keep synctestGroup entirely test-only -// and not a part of non-test builds. -type synctestGroupInterface interface { - Join() - Now() time.Time - NewTimer(d time.Duration) timer - AfterFunc(d time.Duration, f func()) timer - ContextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) -} diff --git a/vendor/golang.org/x/net/http2/server.go b/vendor/golang.org/x/net/http2/server.go index b55547aec6..bdc5520ebd 100644 --- a/vendor/golang.org/x/net/http2/server.go +++ b/vendor/golang.org/x/net/http2/server.go @@ -50,6 +50,7 @@ import ( "golang.org/x/net/http/httpguts" "golang.org/x/net/http2/hpack" + "golang.org/x/net/internal/httpcommon" ) const ( @@ -175,44 +176,15 @@ type Server struct { // so that we don't embed a Mutex in this struct, which will make the // struct non-copyable, which might break some callers. state *serverInternalState - - // Synchronization group used for testing. - // Outside of tests, this is nil. - group synctestGroupInterface -} - -func (s *Server) markNewGoroutine() { - if s.group != nil { - s.group.Join() - } -} - -func (s *Server) now() time.Time { - if s.group != nil { - return s.group.Now() - } - return time.Now() -} - -// newTimer creates a new time.Timer, or a synthetic timer in tests. -func (s *Server) newTimer(d time.Duration) timer { - if s.group != nil { - return s.group.NewTimer(d) - } - return timeTimer{time.NewTimer(d)} -} - -// afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests. -func (s *Server) afterFunc(d time.Duration, f func()) timer { - if s.group != nil { - return s.group.AfterFunc(d, f) - } - return timeTimer{time.AfterFunc(d, f)} } type serverInternalState struct { mu sync.Mutex activeConns map[*serverConn]struct{} + + // Pool of error channels. This is per-Server rather than global + // because channels can't be reused across synctest bubbles. + errChanPool sync.Pool } func (s *serverInternalState) registerConn(sc *serverConn) { @@ -244,6 +216,27 @@ func (s *serverInternalState) startGracefulShutdown() { s.mu.Unlock() } +// Global error channel pool used for uninitialized Servers. +// We use a per-Server pool when possible to avoid using channels across synctest bubbles. +var errChanPool = sync.Pool{ + New: func() any { return make(chan error, 1) }, +} + +func (s *serverInternalState) getErrChan() chan error { + if s == nil { + return errChanPool.Get().(chan error) // Server used without calling ConfigureServer + } + return s.errChanPool.Get().(chan error) +} + +func (s *serverInternalState) putErrChan(ch chan error) { + if s == nil { + errChanPool.Put(ch) // Server used without calling ConfigureServer + return + } + s.errChanPool.Put(ch) +} + // ConfigureServer adds HTTP/2 support to a net/http Server. // // The configuration conf may be nil. @@ -256,7 +249,10 @@ func ConfigureServer(s *http.Server, conf *Server) error { if conf == nil { conf = new(Server) } - conf.state = &serverInternalState{activeConns: make(map[*serverConn]struct{})} + conf.state = &serverInternalState{ + activeConns: make(map[*serverConn]struct{}), + errChanPool: sync.Pool{New: func() any { return make(chan error, 1) }}, + } if h1, h2 := s, conf; h2.IdleTimeout == 0 { if h1.IdleTimeout != 0 { h2.IdleTimeout = h1.IdleTimeout @@ -422,6 +418,9 @@ func (o *ServeConnOpts) handler() http.Handler { // // The opts parameter is optional. If nil, default values are used. func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { + if opts == nil { + opts = &ServeConnOpts{} + } s.serveConn(c, opts, nil) } @@ -437,7 +436,7 @@ func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverCon conn: c, baseCtx: baseCtx, remoteAddrStr: c.RemoteAddr().String(), - bw: newBufferedWriter(s.group, c, conf.WriteByteTimeout), + bw: newBufferedWriter(c, conf.WriteByteTimeout), handler: opts.handler(), streams: make(map[uint32]*stream), readFrameCh: make(chan readFrameResult), @@ -637,11 +636,11 @@ type serverConn struct { pingSent bool sentPingData [8]byte goAwayCode ErrCode - shutdownTimer timer // nil until used - idleTimer timer // nil if unused + shutdownTimer *time.Timer // nil until used + idleTimer *time.Timer // nil if unused readIdleTimeout time.Duration pingTimeout time.Duration - readIdleTimer timer // nil if unused + readIdleTimer *time.Timer // nil if unused // Owned by the writeFrameAsync goroutine: headerWriteBuf bytes.Buffer @@ -686,12 +685,12 @@ type stream struct { flow outflow // limits writing from Handler to client inflow inflow // what the client is allowed to POST/etc to us state streamState - resetQueued bool // RST_STREAM queued for write; set by sc.resetStream - gotTrailerHeader bool // HEADER frame for trailers was seen - wroteHeaders bool // whether we wrote headers (not status 100) - readDeadline timer // nil if unused - writeDeadline timer // nil if unused - closeErr error // set before cw is closed + resetQueued bool // RST_STREAM queued for write; set by sc.resetStream + gotTrailerHeader bool // HEADER frame for trailers was seen + wroteHeaders bool // whether we wrote headers (not status 100) + readDeadline *time.Timer // nil if unused + writeDeadline *time.Timer // nil if unused + closeErr error // set before cw is closed trailer http.Header // accumulated trailers reqTrailer http.Header // handler's Request.Trailer @@ -812,8 +811,7 @@ const maxCachedCanonicalHeadersKeysSize = 2048 func (sc *serverConn) canonicalHeader(v string) string { sc.serveG.check() - buildCommonHeaderMapsOnce() - cv, ok := commonCanonHeader[v] + cv, ok := httpcommon.CachedCanonicalHeader(v) if ok { return cv } @@ -848,7 +846,6 @@ type readFrameResult struct { // consumer is done with the frame. // It's run on its own goroutine. func (sc *serverConn) readFrames() { - sc.srv.markNewGoroutine() gate := make(chan struct{}) gateDone := func() { gate <- struct{}{} } for { @@ -881,7 +878,6 @@ type frameWriteResult struct { // At most one goroutine can be running writeFrameAsync at a time per // serverConn. func (sc *serverConn) writeFrameAsync(wr FrameWriteRequest, wd *writeData) { - sc.srv.markNewGoroutine() var err error if wd == nil { err = wr.write.writeFrame(sc) @@ -965,22 +961,22 @@ func (sc *serverConn) serve(conf http2Config) { sc.setConnState(http.StateIdle) if sc.srv.IdleTimeout > 0 { - sc.idleTimer = sc.srv.afterFunc(sc.srv.IdleTimeout, sc.onIdleTimer) + sc.idleTimer = time.AfterFunc(sc.srv.IdleTimeout, sc.onIdleTimer) defer sc.idleTimer.Stop() } if conf.SendPingTimeout > 0 { sc.readIdleTimeout = conf.SendPingTimeout - sc.readIdleTimer = sc.srv.afterFunc(conf.SendPingTimeout, sc.onReadIdleTimer) + sc.readIdleTimer = time.AfterFunc(conf.SendPingTimeout, sc.onReadIdleTimer) defer sc.readIdleTimer.Stop() } go sc.readFrames() // closed by defer sc.conn.Close above - settingsTimer := sc.srv.afterFunc(firstSettingsTimeout, sc.onSettingsTimer) + settingsTimer := time.AfterFunc(firstSettingsTimeout, sc.onSettingsTimer) defer settingsTimer.Stop() - lastFrameTime := sc.srv.now() + lastFrameTime := time.Now() loopNum := 0 for { loopNum++ @@ -994,7 +990,7 @@ func (sc *serverConn) serve(conf http2Config) { case res := <-sc.wroteFrameCh: sc.wroteFrame(res) case res := <-sc.readFrameCh: - lastFrameTime = sc.srv.now() + lastFrameTime = time.Now() // Process any written frames before reading new frames from the client since a // written frame could have triggered a new stream to be started. if sc.writingFrameAsync { @@ -1068,13 +1064,16 @@ func (sc *serverConn) serve(conf http2Config) { func (sc *serverConn) handlePingTimer(lastFrameReadTime time.Time) { if sc.pingSent { - sc.vlogf("timeout waiting for PING response") + sc.logf("timeout waiting for PING response") + if f := sc.countErrorFunc; f != nil { + f("conn_close_lost_ping") + } sc.conn.Close() return } pingAt := lastFrameReadTime.Add(sc.readIdleTimeout) - now := sc.srv.now() + now := time.Now() if pingAt.After(now) { // We received frames since arming the ping timer. // Reset it for the next possible timeout. @@ -1138,10 +1137,10 @@ func (sc *serverConn) readPreface() error { errc <- nil } }() - timer := sc.srv.newTimer(prefaceTimeout) // TODO: configurable on *Server? + timer := time.NewTimer(prefaceTimeout) // TODO: configurable on *Server? defer timer.Stop() select { - case <-timer.C(): + case <-timer.C: return errPrefaceTimeout case err := <-errc: if err == nil { @@ -1153,10 +1152,6 @@ func (sc *serverConn) readPreface() error { } } -var errChanPool = sync.Pool{ - New: func() interface{} { return make(chan error, 1) }, -} - var writeDataPool = sync.Pool{ New: func() interface{} { return new(writeData) }, } @@ -1164,7 +1159,7 @@ var writeDataPool = sync.Pool{ // writeDataFromHandler writes DATA response frames from a handler on // the given stream. func (sc *serverConn) writeDataFromHandler(stream *stream, data []byte, endStream bool) error { - ch := errChanPool.Get().(chan error) + ch := sc.srv.state.getErrChan() writeArg := writeDataPool.Get().(*writeData) *writeArg = writeData{stream.id, data, endStream} err := sc.writeFrameFromHandler(FrameWriteRequest{ @@ -1196,7 +1191,7 @@ func (sc *serverConn) writeDataFromHandler(stream *stream, data []byte, endStrea return errStreamClosed } } - errChanPool.Put(ch) + sc.srv.state.putErrChan(ch) if frameWriteDone { writeDataPool.Put(writeArg) } @@ -1510,7 +1505,7 @@ func (sc *serverConn) goAway(code ErrCode) { func (sc *serverConn) shutDownIn(d time.Duration) { sc.serveG.check() - sc.shutdownTimer = sc.srv.afterFunc(d, sc.onShutdownTimer) + sc.shutdownTimer = time.AfterFunc(d, sc.onShutdownTimer) } func (sc *serverConn) resetStream(se StreamError) { @@ -2115,7 +2110,7 @@ func (sc *serverConn) processHeaders(f *MetaHeadersFrame) error { // (in Go 1.8), though. That's a more sane option anyway. if sc.hs.ReadTimeout > 0 { sc.conn.SetReadDeadline(time.Time{}) - st.readDeadline = sc.srv.afterFunc(sc.hs.ReadTimeout, st.onReadTimeout) + st.readDeadline = time.AfterFunc(sc.hs.ReadTimeout, st.onReadTimeout) } return sc.scheduleHandler(id, rw, req, handler) @@ -2213,7 +2208,7 @@ func (sc *serverConn) newStream(id, pusherID uint32, state streamState) *stream st.flow.add(sc.initialStreamSendWindowSize) st.inflow.init(sc.initialStreamRecvWindowSize) if sc.hs.WriteTimeout > 0 { - st.writeDeadline = sc.srv.afterFunc(sc.hs.WriteTimeout, st.onWriteTimeout) + st.writeDeadline = time.AfterFunc(sc.hs.WriteTimeout, st.onWriteTimeout) } sc.streams[id] = st @@ -2233,25 +2228,25 @@ func (sc *serverConn) newStream(id, pusherID uint32, state streamState) *stream func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*responseWriter, *http.Request, error) { sc.serveG.check() - rp := requestParam{ - method: f.PseudoValue("method"), - scheme: f.PseudoValue("scheme"), - authority: f.PseudoValue("authority"), - path: f.PseudoValue("path"), - protocol: f.PseudoValue("protocol"), + rp := httpcommon.ServerRequestParam{ + Method: f.PseudoValue("method"), + Scheme: f.PseudoValue("scheme"), + Authority: f.PseudoValue("authority"), + Path: f.PseudoValue("path"), + Protocol: f.PseudoValue("protocol"), } // extended connect is disabled, so we should not see :protocol - if disableExtendedConnectProtocol && rp.protocol != "" { + if disableExtendedConnectProtocol && rp.Protocol != "" { return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol)) } - isConnect := rp.method == "CONNECT" + isConnect := rp.Method == "CONNECT" if isConnect { - if rp.protocol == "" && (rp.path != "" || rp.scheme != "" || rp.authority == "") { + if rp.Protocol == "" && (rp.Path != "" || rp.Scheme != "" || rp.Authority == "") { return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol)) } - } else if rp.method == "" || rp.path == "" || (rp.scheme != "https" && rp.scheme != "http") { + } else if rp.Method == "" || rp.Path == "" || (rp.Scheme != "https" && rp.Scheme != "http") { // See 8.1.2.6 Malformed Requests and Responses: // // Malformed requests or responses that are detected @@ -2265,15 +2260,16 @@ func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*res return nil, nil, sc.countError("bad_path_method", streamError(f.StreamID, ErrCodeProtocol)) } - rp.header = make(http.Header) + header := make(http.Header) + rp.Header = header for _, hf := range f.RegularFields() { - rp.header.Add(sc.canonicalHeader(hf.Name), hf.Value) + header.Add(sc.canonicalHeader(hf.Name), hf.Value) } - if rp.authority == "" { - rp.authority = rp.header.Get("Host") + if rp.Authority == "" { + rp.Authority = header.Get("Host") } - if rp.protocol != "" { - rp.header.Set(":protocol", rp.protocol) + if rp.Protocol != "" { + header.Set(":protocol", rp.Protocol) } rw, req, err := sc.newWriterAndRequestNoBody(st, rp) @@ -2282,7 +2278,7 @@ func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*res } bodyOpen := !f.StreamEnded() if bodyOpen { - if vv, ok := rp.header["Content-Length"]; ok { + if vv, ok := rp.Header["Content-Length"]; ok { if cl, err := strconv.ParseUint(vv[0], 10, 63); err == nil { req.ContentLength = int64(cl) } else { @@ -2298,84 +2294,38 @@ func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*res return rw, req, nil } -type requestParam struct { - method string - scheme, authority, path string - protocol string - header http.Header -} - -func (sc *serverConn) newWriterAndRequestNoBody(st *stream, rp requestParam) (*responseWriter, *http.Request, error) { +func (sc *serverConn) newWriterAndRequestNoBody(st *stream, rp httpcommon.ServerRequestParam) (*responseWriter, *http.Request, error) { sc.serveG.check() var tlsState *tls.ConnectionState // nil if not scheme https - if rp.scheme == "https" { + if rp.Scheme == "https" { tlsState = sc.tlsState } - needsContinue := httpguts.HeaderValuesContainsToken(rp.header["Expect"], "100-continue") - if needsContinue { - rp.header.Del("Expect") - } - // Merge Cookie headers into one "; "-delimited value. - if cookies := rp.header["Cookie"]; len(cookies) > 1 { - rp.header.Set("Cookie", strings.Join(cookies, "; ")) - } - - // Setup Trailers - var trailer http.Header - for _, v := range rp.header["Trailer"] { - for _, key := range strings.Split(v, ",") { - key = http.CanonicalHeaderKey(textproto.TrimString(key)) - switch key { - case "Transfer-Encoding", "Trailer", "Content-Length": - // Bogus. (copy of http1 rules) - // Ignore. - default: - if trailer == nil { - trailer = make(http.Header) - } - trailer[key] = nil - } - } - } - delete(rp.header, "Trailer") - - var url_ *url.URL - var requestURI string - if rp.method == "CONNECT" && rp.protocol == "" { - url_ = &url.URL{Host: rp.authority} - requestURI = rp.authority // mimic HTTP/1 server behavior - } else { - var err error - url_, err = url.ParseRequestURI(rp.path) - if err != nil { - return nil, nil, sc.countError("bad_path", streamError(st.id, ErrCodeProtocol)) - } - requestURI = rp.path + res := httpcommon.NewServerRequest(rp) + if res.InvalidReason != "" { + return nil, nil, sc.countError(res.InvalidReason, streamError(st.id, ErrCodeProtocol)) } body := &requestBody{ conn: sc, stream: st, - needsContinue: needsContinue, + needsContinue: res.NeedsContinue, } - req := &http.Request{ - Method: rp.method, - URL: url_, + req := (&http.Request{ + Method: rp.Method, + URL: res.URL, RemoteAddr: sc.remoteAddrStr, - Header: rp.header, - RequestURI: requestURI, + Header: rp.Header, + RequestURI: res.RequestURI, Proto: "HTTP/2.0", ProtoMajor: 2, ProtoMinor: 0, TLS: tlsState, - Host: rp.authority, + Host: rp.Authority, Body: body, - Trailer: trailer, - } - req = req.WithContext(st.ctx) - + Trailer: res.Trailer, + }).WithContext(st.ctx) rw := sc.newResponseWriter(st, req) return rw, req, nil } @@ -2447,7 +2397,6 @@ func (sc *serverConn) handlerDone() { // Run on its own goroutine. func (sc *serverConn) runHandler(rw *responseWriter, req *http.Request, handler func(http.ResponseWriter, *http.Request)) { - sc.srv.markNewGoroutine() defer sc.sendServeMsg(handlerDoneMsg) didPanic := true defer func() { @@ -2496,7 +2445,7 @@ func (sc *serverConn) writeHeaders(st *stream, headerData *writeResHeaders) erro // waiting for this frame to be written, so an http.Flush mid-handler // writes out the correct value of keys, before a handler later potentially // mutates it. - errc = errChanPool.Get().(chan error) + errc = sc.srv.state.getErrChan() } if err := sc.writeFrameFromHandler(FrameWriteRequest{ write: headerData, @@ -2508,7 +2457,7 @@ func (sc *serverConn) writeHeaders(st *stream, headerData *writeResHeaders) erro if errc != nil { select { case err := <-errc: - errChanPool.Put(errc) + sc.srv.state.putErrChan(errc) return err case <-sc.doneServing: return errClientDisconnected @@ -2615,7 +2564,7 @@ func (b *requestBody) Read(p []byte) (n int, err error) { if err == io.EOF { b.sawEOF = true } - if b.conn == nil && inTests { + if b.conn == nil { return } b.conn.noteBodyReadFromHandler(b.stream, n, err) @@ -2744,7 +2693,7 @@ func (rws *responseWriterState) writeChunk(p []byte) (n int, err error) { var date string if _, ok := rws.snapHeader["Date"]; !ok { // TODO(bradfitz): be faster here, like net/http? measure. - date = rws.conn.srv.now().UTC().Format(http.TimeFormat) + date = time.Now().UTC().Format(http.TimeFormat) } for _, v := range rws.snapHeader["Trailer"] { @@ -2866,7 +2815,7 @@ func (rws *responseWriterState) promoteUndeclaredTrailers() { func (w *responseWriter) SetReadDeadline(deadline time.Time) error { st := w.rws.stream - if !deadline.IsZero() && deadline.Before(w.rws.conn.srv.now()) { + if !deadline.IsZero() && deadline.Before(time.Now()) { // If we're setting a deadline in the past, reset the stream immediately // so writes after SetWriteDeadline returns will fail. st.onReadTimeout() @@ -2882,9 +2831,9 @@ func (w *responseWriter) SetReadDeadline(deadline time.Time) error { if deadline.IsZero() { st.readDeadline = nil } else if st.readDeadline == nil { - st.readDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onReadTimeout) + st.readDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onReadTimeout) } else { - st.readDeadline.Reset(deadline.Sub(sc.srv.now())) + st.readDeadline.Reset(deadline.Sub(time.Now())) } }) return nil @@ -2892,7 +2841,7 @@ func (w *responseWriter) SetReadDeadline(deadline time.Time) error { func (w *responseWriter) SetWriteDeadline(deadline time.Time) error { st := w.rws.stream - if !deadline.IsZero() && deadline.Before(w.rws.conn.srv.now()) { + if !deadline.IsZero() && deadline.Before(time.Now()) { // If we're setting a deadline in the past, reset the stream immediately // so writes after SetWriteDeadline returns will fail. st.onWriteTimeout() @@ -2908,9 +2857,9 @@ func (w *responseWriter) SetWriteDeadline(deadline time.Time) error { if deadline.IsZero() { st.writeDeadline = nil } else if st.writeDeadline == nil { - st.writeDeadline = sc.srv.afterFunc(deadline.Sub(sc.srv.now()), st.onWriteTimeout) + st.writeDeadline = time.AfterFunc(deadline.Sub(time.Now()), st.onWriteTimeout) } else { - st.writeDeadline.Reset(deadline.Sub(sc.srv.now())) + st.writeDeadline.Reset(deadline.Sub(time.Now())) } }) return nil @@ -3189,7 +3138,7 @@ func (w *responseWriter) Push(target string, opts *http.PushOptions) error { method: opts.Method, url: u, header: cloneHeader(opts.Header), - done: errChanPool.Get().(chan error), + done: sc.srv.state.getErrChan(), } select { @@ -3206,7 +3155,7 @@ func (w *responseWriter) Push(target string, opts *http.PushOptions) error { case <-st.cw: return errStreamClosed case err := <-msg.done: - errChanPool.Put(msg.done) + sc.srv.state.putErrChan(msg.done) return err } } @@ -3270,12 +3219,12 @@ func (sc *serverConn) startPush(msg *startPushRequest) { // we start in "half closed (remote)" for simplicity. // See further comments at the definition of stateHalfClosedRemote. promised := sc.newStream(promisedID, msg.parent.id, stateHalfClosedRemote) - rw, req, err := sc.newWriterAndRequestNoBody(promised, requestParam{ - method: msg.method, - scheme: msg.url.Scheme, - authority: msg.url.Host, - path: msg.url.RequestURI(), - header: cloneHeader(msg.header), // clone since handler runs concurrently with writing the PUSH_PROMISE + rw, req, err := sc.newWriterAndRequestNoBody(promised, httpcommon.ServerRequestParam{ + Method: msg.method, + Scheme: msg.url.Scheme, + Authority: msg.url.Host, + Path: msg.url.RequestURI(), + Header: cloneHeader(msg.header), // clone since handler runs concurrently with writing the PUSH_PROMISE }) if err != nil { // Should not happen, since we've already validated msg.url. diff --git a/vendor/golang.org/x/net/http2/timer.go b/vendor/golang.org/x/net/http2/timer.go deleted file mode 100644 index 0b1c17b812..0000000000 --- a/vendor/golang.org/x/net/http2/timer.go +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. -package http2 - -import "time" - -// A timer is a time.Timer, as an interface which can be replaced in tests. -type timer = interface { - C() <-chan time.Time - Reset(d time.Duration) bool - Stop() bool -} - -// timeTimer adapts a time.Timer to the timer interface. -type timeTimer struct { - *time.Timer -} - -func (t timeTimer) C() <-chan time.Time { return t.Timer.C } diff --git a/vendor/golang.org/x/net/http2/transport.go b/vendor/golang.org/x/net/http2/transport.go index b2e2ed3373..1965913e54 100644 --- a/vendor/golang.org/x/net/http2/transport.go +++ b/vendor/golang.org/x/net/http2/transport.go @@ -9,6 +9,7 @@ package http2 import ( "bufio" "bytes" + "compress/flate" "compress/gzip" "context" "crypto/rand" @@ -25,7 +26,6 @@ import ( "net/http" "net/http/httptrace" "net/textproto" - "sort" "strconv" "strings" "sync" @@ -35,6 +35,7 @@ import ( "golang.org/x/net/http/httpguts" "golang.org/x/net/http2/hpack" "golang.org/x/net/idna" + "golang.org/x/net/internal/httpcommon" ) const ( @@ -193,50 +194,6 @@ type Transport struct { type transportTestHooks struct { newclientconn func(*ClientConn) - group synctestGroupInterface -} - -func (t *Transport) markNewGoroutine() { - if t != nil && t.transportTestHooks != nil { - t.transportTestHooks.group.Join() - } -} - -func (t *Transport) now() time.Time { - if t != nil && t.transportTestHooks != nil { - return t.transportTestHooks.group.Now() - } - return time.Now() -} - -func (t *Transport) timeSince(when time.Time) time.Duration { - if t != nil && t.transportTestHooks != nil { - return t.now().Sub(when) - } - return time.Since(when) -} - -// newTimer creates a new time.Timer, or a synthetic timer in tests. -func (t *Transport) newTimer(d time.Duration) timer { - if t.transportTestHooks != nil { - return t.transportTestHooks.group.NewTimer(d) - } - return timeTimer{time.NewTimer(d)} -} - -// afterFunc creates a new time.AfterFunc timer, or a synthetic timer in tests. -func (t *Transport) afterFunc(d time.Duration, f func()) timer { - if t.transportTestHooks != nil { - return t.transportTestHooks.group.AfterFunc(d, f) - } - return timeTimer{time.AfterFunc(d, f)} -} - -func (t *Transport) contextWithTimeout(ctx context.Context, d time.Duration) (context.Context, context.CancelFunc) { - if t.transportTestHooks != nil { - return t.transportTestHooks.group.ContextWithTimeout(ctx, d) - } - return context.WithTimeout(ctx, d) } func (t *Transport) maxHeaderListSize() uint32 { @@ -366,7 +323,7 @@ type ClientConn struct { readerErr error // set before readerDone is closed idleTimeout time.Duration // or 0 for never - idleTimer timer + idleTimer *time.Timer mu sync.Mutex // guards following cond *sync.Cond // hold mu; broadcast on flow/closed changes @@ -399,6 +356,7 @@ type ClientConn struct { readIdleTimeout time.Duration pingTimeout time.Duration extendedConnectAllowed bool + strictMaxConcurrentStreams bool // rstStreamPingsBlocked works around an unfortunate gRPC behavior. // gRPC strictly limits the number of PING frames that it will receive. @@ -534,14 +492,12 @@ func (cs *clientStream) closeReqBodyLocked() { cs.reqBodyClosed = make(chan struct{}) reqBodyClosed := cs.reqBodyClosed go func() { - cs.cc.t.markNewGoroutine() cs.reqBody.Close() close(reqBodyClosed) }() } type stickyErrWriter struct { - group synctestGroupInterface conn net.Conn timeout time.Duration err *error @@ -551,7 +507,7 @@ func (sew stickyErrWriter) Write(p []byte) (n int, err error) { if *sew.err != nil { return 0, *sew.err } - n, err = writeWithByteTimeout(sew.group, sew.conn, sew.timeout, p) + n, err = writeWithByteTimeout(sew.conn, sew.timeout, p) *sew.err = err return n, err } @@ -650,9 +606,9 @@ func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Res backoff := float64(uint(1) << (uint(retry) - 1)) backoff += backoff * (0.1 * mathrand.Float64()) d := time.Second * time.Duration(backoff) - tm := t.newTimer(d) + tm := time.NewTimer(d) select { - case <-tm.C(): + case <-tm.C: t.vlogf("RoundTrip retrying after failure: %v", roundTripErr) continue case <-req.Context().Done(): @@ -699,6 +655,7 @@ var ( errClientConnUnusable = errors.New("http2: client conn not usable") errClientConnNotEstablished = errors.New("http2: client conn could not be established") errClientConnGotGoAway = errors.New("http2: Transport received Server's graceful shutdown GOAWAY") + errClientConnForceClosed = errors.New("http2: client connection force closed via ClientConn.Close") ) // shouldRetryRequest is called by RoundTrip when a request fails to get @@ -829,7 +786,8 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro initialWindowSize: 65535, // spec default initialStreamRecvWindowSize: conf.MaxUploadBufferPerStream, maxConcurrentStreams: initialMaxConcurrentStreams, // "infinite", per spec. Use a smaller value until we have received server settings. - peerMaxHeaderListSize: 0xffffffffffffffff, // "infinite", per spec. Use 2^64-1 instead. + strictMaxConcurrentStreams: conf.StrictMaxConcurrentRequests, + peerMaxHeaderListSize: 0xffffffffffffffff, // "infinite", per spec. Use 2^64-1 instead. streams: make(map[uint32]*clientStream), singleUse: singleUse, seenSettingsChan: make(chan struct{}), @@ -838,14 +796,11 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro pingTimeout: conf.PingTimeout, pings: make(map[[8]byte]chan struct{}), reqHeaderMu: make(chan struct{}, 1), - lastActive: t.now(), + lastActive: time.Now(), } - var group synctestGroupInterface if t.transportTestHooks != nil { - t.markNewGoroutine() t.transportTestHooks.newclientconn(cc) c = cc.tconn - group = t.group } if VerboseLogs { t.vlogf("http2: Transport creating client conn %p to %v", cc, c.RemoteAddr()) @@ -857,7 +812,6 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro // TODO: adjust this writer size to account for frame size + // MTU + crypto/tls record padding. cc.bw = bufio.NewWriter(stickyErrWriter{ - group: group, conn: c, timeout: conf.WriteByteTimeout, err: &cc.werr, @@ -906,7 +860,7 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro // Start the idle timer after the connection is fully initialized. if d := t.idleConnTimeout(); d != 0 { cc.idleTimeout = d - cc.idleTimer = t.afterFunc(d, cc.onIdleTimeout) + cc.idleTimer = time.AfterFunc(d, cc.onIdleTimeout) } go cc.readLoop() @@ -917,7 +871,7 @@ func (cc *ClientConn) healthCheck() { pingTimeout := cc.pingTimeout // We don't need to periodically ping in the health check, because the readLoop of ClientConn will // trigger the healthCheck again if there is no frame received. - ctx, cancel := cc.t.contextWithTimeout(context.Background(), pingTimeout) + ctx, cancel := context.WithTimeout(context.Background(), pingTimeout) defer cancel() cc.vlogf("http2: Transport sending health check") err := cc.Ping(ctx) @@ -1067,7 +1021,7 @@ func (cc *ClientConn) idleStateLocked() (st clientConnIdleState) { return } var maxConcurrentOkay bool - if cc.t.StrictMaxConcurrentStreams { + if cc.strictMaxConcurrentStreams { // We'll tell the caller we can take a new request to // prevent the caller from dialing a new TCP // connection, but then we'll block later before @@ -1120,7 +1074,7 @@ func (cc *ClientConn) tooIdleLocked() bool { // times are compared based on their wall time. We don't want // to reuse a connection that's been sitting idle during // VM/laptop suspend if monotonic time was also frozen. - return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && cc.t.timeSince(cc.lastIdle.Round(0)) > cc.idleTimeout + return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && time.Since(cc.lastIdle.Round(0)) > cc.idleTimeout } // onIdleTimeout is called from a time.AfterFunc goroutine. It will @@ -1186,7 +1140,6 @@ func (cc *ClientConn) Shutdown(ctx context.Context) error { done := make(chan struct{}) cancelled := false // guarded by cc.mu go func() { - cc.t.markNewGoroutine() cc.mu.Lock() defer cc.mu.Unlock() for { @@ -1257,8 +1210,7 @@ func (cc *ClientConn) closeForError(err error) { // // In-flight requests are interrupted. For a graceful shutdown, use Shutdown instead. func (cc *ClientConn) Close() error { - err := errors.New("http2: client connection force closed via ClientConn.Close") - cc.closeForError(err) + cc.closeForError(errClientConnForceClosed) return nil } @@ -1275,23 +1227,6 @@ func (cc *ClientConn) closeForLostPing() { // exported. At least they'll be DeepEqual for h1-vs-h2 comparisons tests. var errRequestCanceled = errors.New("net/http: request canceled") -func commaSeparatedTrailers(req *http.Request) (string, error) { - keys := make([]string, 0, len(req.Trailer)) - for k := range req.Trailer { - k = canonicalHeader(k) - switch k { - case "Transfer-Encoding", "Trailer", "Content-Length": - return "", fmt.Errorf("invalid Trailer key %q", k) - } - keys = append(keys, k) - } - if len(keys) > 0 { - sort.Strings(keys) - return strings.Join(keys, ","), nil - } - return "", nil -} - func (cc *ClientConn) responseHeaderTimeout() time.Duration { if cc.t.t1 != nil { return cc.t.t1.ResponseHeaderTimeout @@ -1303,22 +1238,6 @@ func (cc *ClientConn) responseHeaderTimeout() time.Duration { return 0 } -// checkConnHeaders checks whether req has any invalid connection-level headers. -// per RFC 7540 section 8.1.2.2: Connection-Specific Header Fields. -// Certain headers are special-cased as okay but not transmitted later. -func checkConnHeaders(req *http.Request) error { - if v := req.Header.Get("Upgrade"); v != "" { - return fmt.Errorf("http2: invalid Upgrade request header: %q", req.Header["Upgrade"]) - } - if vv := req.Header["Transfer-Encoding"]; len(vv) > 0 && (len(vv) > 1 || vv[0] != "" && vv[0] != "chunked") { - return fmt.Errorf("http2: invalid Transfer-Encoding request header: %q", vv) - } - if vv := req.Header["Connection"]; len(vv) > 0 && (len(vv) > 1 || vv[0] != "" && !asciiEqualFold(vv[0], "close") && !asciiEqualFold(vv[0], "keep-alive")) { - return fmt.Errorf("http2: invalid Connection request header: %q", vv) - } - return nil -} - // actualContentLength returns a sanitized version of // req.ContentLength, where 0 actually means zero (not unknown) and -1 // means unknown. @@ -1364,25 +1283,7 @@ func (cc *ClientConn) roundTrip(req *http.Request, streamf func(*clientStream)) donec: make(chan struct{}), } - // TODO(bradfitz): this is a copy of the logic in net/http. Unify somewhere? - if !cc.t.disableCompression() && - req.Header.Get("Accept-Encoding") == "" && - req.Header.Get("Range") == "" && - !cs.isHead { - // Request gzip only, not deflate. Deflate is ambiguous and - // not as universally supported anyway. - // See: https://zlib.net/zlib_faq.html#faq39 - // - // Note that we don't request this for HEAD requests, - // due to a bug in nginx: - // http://trac.nginx.org/nginx/ticket/358 - // https://golang.org/issue/5522 - // - // We don't request gzip if the request is for a range, since - // auto-decoding a portion of a gzipped document will just fail - // anyway. See https://golang.org/issue/8923 - cs.requestedGzip = true - } + cs.requestedGzip = httpcommon.IsRequestGzip(req.Method, req.Header, cc.t.disableCompression()) go cs.doRequest(req, streamf) @@ -1478,7 +1379,6 @@ func (cc *ClientConn) roundTrip(req *http.Request, streamf func(*clientStream)) // // It sends the request and performs post-request cleanup (closing Request.Body, etc.). func (cs *clientStream) doRequest(req *http.Request, streamf func(*clientStream)) { - cs.cc.t.markNewGoroutine() err := cs.writeRequest(req, streamf) cs.cleanupWriteRequest(err) } @@ -1496,10 +1396,6 @@ func (cs *clientStream) writeRequest(req *http.Request, streamf func(*clientStre cc := cs.cc ctx := cs.ctx - if err := checkConnHeaders(req); err != nil { - return err - } - // wait for setting frames to be received, a server can change this value later, // but we just wait for the first settings frame var isExtendedConnect bool @@ -1613,9 +1509,9 @@ func (cs *clientStream) writeRequest(req *http.Request, streamf func(*clientStre var respHeaderTimer <-chan time.Time var respHeaderRecv chan struct{} if d := cc.responseHeaderTimeout(); d != 0 { - timer := cc.t.newTimer(d) + timer := time.NewTimer(d) defer timer.Stop() - respHeaderTimer = timer.C() + respHeaderTimer = timer.C respHeaderRecv = cs.respHeaderRecv } // Wait until the peer half-closes its end of the stream, @@ -1663,26 +1559,39 @@ func (cs *clientStream) encodeAndWriteHeaders(req *http.Request) error { // we send: HEADERS{1}, CONTINUATION{0,} + DATA{0,} (DATA is // sent by writeRequestBody below, along with any Trailers, // again in form HEADERS{1}, CONTINUATION{0,}) - trailers, err := commaSeparatedTrailers(req) - if err != nil { - return err - } - hasTrailers := trailers != "" - contentLen := actualContentLength(req) - hasBody := contentLen != 0 - hdrs, err := cc.encodeHeaders(req, cs.requestedGzip, trailers, contentLen) + cc.hbuf.Reset() + res, err := encodeRequestHeaders(req, cs.requestedGzip, cc.peerMaxHeaderListSize, func(name, value string) { + cc.writeHeader(name, value) + }) if err != nil { - return err + return fmt.Errorf("http2: %w", err) } + hdrs := cc.hbuf.Bytes() // Write the request. - endStream := !hasBody && !hasTrailers + endStream := !res.HasBody && !res.HasTrailers cs.sentHeaders = true err = cc.writeHeaders(cs.ID, endStream, int(cc.maxFrameSize), hdrs) traceWroteHeaders(cs.trace) return err } +func encodeRequestHeaders(req *http.Request, addGzipHeader bool, peerMaxHeaderListSize uint64, headerf func(name, value string)) (httpcommon.EncodeHeadersResult, error) { + return httpcommon.EncodeHeaders(req.Context(), httpcommon.EncodeHeadersParam{ + Request: httpcommon.Request{ + Header: req.Header, + Trailer: req.Trailer, + URL: req.URL, + Host: req.Host, + Method: req.Method, + ActualContentLength: actualContentLength(req), + }, + AddGzipHeader: addGzipHeader, + PeerMaxHeaderListSize: peerMaxHeaderListSize, + DefaultUserAgent: defaultUserAgent, + }, headerf) +} + // cleanupWriteRequest performs post-request tasks. // // If err (the result of writeRequest) is non-nil and the stream is not closed, @@ -1795,7 +1704,7 @@ func (cc *ClientConn) awaitOpenSlotForStreamLocked(cs *clientStream) error { // Return a fatal error which aborts the retry loop. return errClientConnNotEstablished } - cc.lastActive = cc.t.now() + cc.lastActive = time.Now() if cc.closed || !cc.canTakeNewRequestLocked() { return errClientConnUnusable } @@ -2070,218 +1979,6 @@ func (cs *clientStream) awaitFlowControl(maxBytes int) (taken int32, err error) } } -func validateHeaders(hdrs http.Header) string { - for k, vv := range hdrs { - if !httpguts.ValidHeaderFieldName(k) && k != ":protocol" { - return fmt.Sprintf("name %q", k) - } - for _, v := range vv { - if !httpguts.ValidHeaderFieldValue(v) { - // Don't include the value in the error, - // because it may be sensitive. - return fmt.Sprintf("value for header %q", k) - } - } - } - return "" -} - -var errNilRequestURL = errors.New("http2: Request.URI is nil") - -func isNormalConnect(req *http.Request) bool { - return req.Method == "CONNECT" && req.Header.Get(":protocol") == "" -} - -// requires cc.wmu be held. -func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trailers string, contentLength int64) ([]byte, error) { - cc.hbuf.Reset() - if req.URL == nil { - return nil, errNilRequestURL - } - - host := req.Host - if host == "" { - host = req.URL.Host - } - host, err := httpguts.PunycodeHostPort(host) - if err != nil { - return nil, err - } - if !httpguts.ValidHostHeader(host) { - return nil, errors.New("http2: invalid Host header") - } - - var path string - if !isNormalConnect(req) { - path = req.URL.RequestURI() - if !validPseudoPath(path) { - orig := path - path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host) - if !validPseudoPath(path) { - if req.URL.Opaque != "" { - return nil, fmt.Errorf("invalid request :path %q from URL.Opaque = %q", orig, req.URL.Opaque) - } else { - return nil, fmt.Errorf("invalid request :path %q", orig) - } - } - } - } - - // Check for any invalid headers+trailers and return an error before we - // potentially pollute our hpack state. (We want to be able to - // continue to reuse the hpack encoder for future requests) - if err := validateHeaders(req.Header); err != "" { - return nil, fmt.Errorf("invalid HTTP header %s", err) - } - if err := validateHeaders(req.Trailer); err != "" { - return nil, fmt.Errorf("invalid HTTP trailer %s", err) - } - - enumerateHeaders := func(f func(name, value string)) { - // 8.1.2.3 Request Pseudo-Header Fields - // The :path pseudo-header field includes the path and query parts of the - // target URI (the path-absolute production and optionally a '?' character - // followed by the query production, see Sections 3.3 and 3.4 of - // [RFC3986]). - f(":authority", host) - m := req.Method - if m == "" { - m = http.MethodGet - } - f(":method", m) - if !isNormalConnect(req) { - f(":path", path) - f(":scheme", req.URL.Scheme) - } - if trailers != "" { - f("trailer", trailers) - } - - var didUA bool - for k, vv := range req.Header { - if asciiEqualFold(k, "host") || asciiEqualFold(k, "content-length") { - // Host is :authority, already sent. - // Content-Length is automatic, set below. - continue - } else if asciiEqualFold(k, "connection") || - asciiEqualFold(k, "proxy-connection") || - asciiEqualFold(k, "transfer-encoding") || - asciiEqualFold(k, "upgrade") || - asciiEqualFold(k, "keep-alive") { - // Per 8.1.2.2 Connection-Specific Header - // Fields, don't send connection-specific - // fields. We have already checked if any - // are error-worthy so just ignore the rest. - continue - } else if asciiEqualFold(k, "user-agent") { - // Match Go's http1 behavior: at most one - // User-Agent. If set to nil or empty string, - // then omit it. Otherwise if not mentioned, - // include the default (below). - didUA = true - if len(vv) < 1 { - continue - } - vv = vv[:1] - if vv[0] == "" { - continue - } - } else if asciiEqualFold(k, "cookie") { - // Per 8.1.2.5 To allow for better compression efficiency, the - // Cookie header field MAY be split into separate header fields, - // each with one or more cookie-pairs. - for _, v := range vv { - for { - p := strings.IndexByte(v, ';') - if p < 0 { - break - } - f("cookie", v[:p]) - p++ - // strip space after semicolon if any. - for p+1 <= len(v) && v[p] == ' ' { - p++ - } - v = v[p:] - } - if len(v) > 0 { - f("cookie", v) - } - } - continue - } - - for _, v := range vv { - f(k, v) - } - } - if shouldSendReqContentLength(req.Method, contentLength) { - f("content-length", strconv.FormatInt(contentLength, 10)) - } - if addGzipHeader { - f("accept-encoding", "gzip") - } - if !didUA { - f("user-agent", defaultUserAgent) - } - } - - // Do a first pass over the headers counting bytes to ensure - // we don't exceed cc.peerMaxHeaderListSize. This is done as a - // separate pass before encoding the headers to prevent - // modifying the hpack state. - hlSize := uint64(0) - enumerateHeaders(func(name, value string) { - hf := hpack.HeaderField{Name: name, Value: value} - hlSize += uint64(hf.Size()) - }) - - if hlSize > cc.peerMaxHeaderListSize { - return nil, errRequestHeaderListSize - } - - trace := httptrace.ContextClientTrace(req.Context()) - traceHeaders := traceHasWroteHeaderField(trace) - - // Header list size is ok. Write the headers. - enumerateHeaders(func(name, value string) { - name, ascii := lowerHeader(name) - if !ascii { - // Skip writing invalid headers. Per RFC 7540, Section 8.1.2, header - // field names have to be ASCII characters (just as in HTTP/1.x). - return - } - cc.writeHeader(name, value) - if traceHeaders { - traceWroteHeaderField(trace, name, value) - } - }) - - return cc.hbuf.Bytes(), nil -} - -// shouldSendReqContentLength reports whether the http2.Transport should send -// a "content-length" request header. This logic is basically a copy of the net/http -// transferWriter.shouldSendContentLength. -// The contentLength is the corrected contentLength (so 0 means actually 0, not unknown). -// -1 means unknown. -func shouldSendReqContentLength(method string, contentLength int64) bool { - if contentLength > 0 { - return true - } - if contentLength < 0 { - return false - } - // For zero bodies, whether we send a content-length depends on the method. - // It also kinda doesn't matter for http2 either way, with END_STREAM. - switch method { - case "POST", "PUT", "PATCH": - return true - default: - return false - } -} - // requires cc.wmu be held. func (cc *ClientConn) encodeTrailers(trailer http.Header) ([]byte, error) { cc.hbuf.Reset() @@ -2298,7 +1995,7 @@ func (cc *ClientConn) encodeTrailers(trailer http.Header) ([]byte, error) { } for k, vv := range trailer { - lowKey, ascii := lowerHeader(k) + lowKey, ascii := httpcommon.LowerHeader(k) if !ascii { // Skip writing invalid headers. Per RFC 7540, Section 8.1.2, header // field names have to be ASCII characters (just as in HTTP/1.x). @@ -2346,10 +2043,10 @@ func (cc *ClientConn) forgetStreamID(id uint32) { if len(cc.streams) != slen-1 { panic("forgetting unknown stream id") } - cc.lastActive = cc.t.now() + cc.lastActive = time.Now() if len(cc.streams) == 0 && cc.idleTimer != nil { cc.idleTimer.Reset(cc.idleTimeout) - cc.lastIdle = cc.t.now() + cc.lastIdle = time.Now() } // Wake up writeRequestBody via clientStream.awaitFlowControl and // wake up RoundTrip if there is a pending request. @@ -2375,7 +2072,6 @@ type clientConnReadLoop struct { // readLoop runs in its own goroutine and reads and dispatches frames. func (cc *ClientConn) readLoop() { - cc.t.markNewGoroutine() rl := &clientConnReadLoop{cc: cc} defer rl.cleanup() cc.readerErr = rl.run() @@ -2442,9 +2138,9 @@ func (rl *clientConnReadLoop) cleanup() { if cc.idleTimeout > 0 && unusedWaitTime > cc.idleTimeout { unusedWaitTime = cc.idleTimeout } - idleTime := cc.t.now().Sub(cc.lastActive) + idleTime := time.Now().Sub(cc.lastActive) if atomic.LoadUint32(&cc.atomicReused) == 0 && idleTime < unusedWaitTime && !cc.closedOnIdle { - cc.idleTimer = cc.t.afterFunc(unusedWaitTime-idleTime, func() { + cc.idleTimer = time.AfterFunc(unusedWaitTime-idleTime, func() { cc.t.connPool().MarkDead(cc) }) } else { @@ -2464,6 +2160,13 @@ func (rl *clientConnReadLoop) cleanup() { } cc.cond.Broadcast() cc.mu.Unlock() + + if !cc.seenSettings { + // If we have a pending request that wants extended CONNECT, + // let it continue and fail with the connection error. + cc.extendedConnectAllowed = true + close(cc.seenSettingsChan) + } } // countReadFrameError calls Transport.CountError with a string @@ -2497,9 +2200,9 @@ func (rl *clientConnReadLoop) run() error { cc := rl.cc gotSettings := false readIdleTimeout := cc.readIdleTimeout - var t timer + var t *time.Timer if readIdleTimeout != 0 { - t = cc.t.afterFunc(readIdleTimeout, cc.healthCheck) + t = time.AfterFunc(readIdleTimeout, cc.healthCheck) } for { f, err := cc.fr.ReadFrame() @@ -2556,9 +2259,6 @@ func (rl *clientConnReadLoop) run() error { if VerboseLogs { cc.vlogf("http2: Transport conn %p received error from processing frame %v: %v", cc, summarizeFrame(f), err) } - if !cc.seenSettings { - close(cc.seenSettingsChan) - } return err } } @@ -2653,7 +2353,7 @@ func (rl *clientConnReadLoop) handleResponse(cs *clientStream, f *MetaHeadersFra Status: status + " " + http.StatusText(statusCode), } for _, hf := range regularFields { - key := canonicalHeader(hf.Name) + key := httpcommon.CanonicalHeader(hf.Name) if key == "Trailer" { t := res.Trailer if t == nil { @@ -2661,7 +2361,7 @@ func (rl *clientConnReadLoop) handleResponse(cs *clientStream, f *MetaHeadersFra res.Trailer = t } foreachHeaderElement(hf.Value, func(v string) { - t[canonicalHeader(v)] = nil + t[httpcommon.CanonicalHeader(v)] = nil }) } else { vv := header[key] @@ -2785,7 +2485,7 @@ func (rl *clientConnReadLoop) processTrailers(cs *clientStream, f *MetaHeadersFr trailer := make(http.Header) for _, hf := range f.RegularFields() { - key := canonicalHeader(hf.Name) + key := httpcommon.CanonicalHeader(hf.Name) trailer[key] = append(trailer[key], hf.Value) } cs.trailer = trailer @@ -3248,7 +2948,6 @@ func (cc *ClientConn) Ping(ctx context.Context) error { var pingError error errc := make(chan struct{}) go func() { - cc.t.markNewGoroutine() cc.wmu.Lock() defer cc.wmu.Unlock() if pingError = cc.fr.WritePing(false, p); pingError != nil { @@ -3331,7 +3030,7 @@ func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, ping bool, var ( errResponseHeaderListSize = errors.New("http2: response header list larger than advertised limit") - errRequestHeaderListSize = errors.New("http2: request header list larger than peer's advertised limit") + errRequestHeaderListSize = httpcommon.ErrRequestHeaderListSize ) func (cc *ClientConn) logf(format string, args ...interface{}) { @@ -3378,35 +3077,102 @@ type erringRoundTripper struct{ err error } func (rt erringRoundTripper) RoundTripErr() error { return rt.err } func (rt erringRoundTripper) RoundTrip(*http.Request) (*http.Response, error) { return nil, rt.err } +var errConcurrentReadOnResBody = errors.New("http2: concurrent read on response body") + // gzipReader wraps a response body so it can lazily -// call gzip.NewReader on the first call to Read +// get gzip.Reader from the pool on the first call to Read. +// After Close is called it puts gzip.Reader to the pool immediately +// if there is no Read in progress or later when Read completes. type gzipReader struct { _ incomparable body io.ReadCloser // underlying Response.Body - zr *gzip.Reader // lazily-initialized gzip reader - zerr error // sticky error + mu sync.Mutex // guards zr and zerr + zr *gzip.Reader // stores gzip reader from the pool between reads + zerr error // sticky gzip reader init error or sentinel value to detect concurrent read and read after close } -func (gz *gzipReader) Read(p []byte) (n int, err error) { +type eofReader struct{} + +func (eofReader) Read([]byte) (int, error) { return 0, io.EOF } +func (eofReader) ReadByte() (byte, error) { return 0, io.EOF } + +var gzipPool = sync.Pool{New: func() any { return new(gzip.Reader) }} + +// gzipPoolGet gets a gzip.Reader from the pool and resets it to read from r. +func gzipPoolGet(r io.Reader) (*gzip.Reader, error) { + zr := gzipPool.Get().(*gzip.Reader) + if err := zr.Reset(r); err != nil { + gzipPoolPut(zr) + return nil, err + } + return zr, nil +} + +// gzipPoolPut puts a gzip.Reader back into the pool. +func gzipPoolPut(zr *gzip.Reader) { + // Reset will allocate bufio.Reader if we pass it anything + // other than a flate.Reader, so ensure that it's getting one. + var r flate.Reader = eofReader{} + zr.Reset(r) + gzipPool.Put(zr) +} + +// acquire returns a gzip.Reader for reading response body. +// The reader must be released after use. +func (gz *gzipReader) acquire() (*gzip.Reader, error) { + gz.mu.Lock() + defer gz.mu.Unlock() if gz.zerr != nil { - return 0, gz.zerr + return nil, gz.zerr } if gz.zr == nil { - gz.zr, err = gzip.NewReader(gz.body) - if err != nil { - gz.zerr = err - return 0, err + gz.zr, gz.zerr = gzipPoolGet(gz.body) + if gz.zerr != nil { + return nil, gz.zerr } } - return gz.zr.Read(p) + ret := gz.zr + gz.zr, gz.zerr = nil, errConcurrentReadOnResBody + return ret, nil } -func (gz *gzipReader) Close() error { - if err := gz.body.Close(); err != nil { - return err +// release returns the gzip.Reader to the pool if Close was called during Read. +func (gz *gzipReader) release(zr *gzip.Reader) { + gz.mu.Lock() + defer gz.mu.Unlock() + if gz.zerr == errConcurrentReadOnResBody { + gz.zr, gz.zerr = zr, nil + } else { // fs.ErrClosed + gzipPoolPut(zr) + } +} + +// close returns the gzip.Reader to the pool immediately or +// signals release to do so after Read completes. +func (gz *gzipReader) close() { + gz.mu.Lock() + defer gz.mu.Unlock() + if gz.zerr == nil && gz.zr != nil { + gzipPoolPut(gz.zr) + gz.zr = nil } gz.zerr = fs.ErrClosed - return nil +} + +func (gz *gzipReader) Read(p []byte) (n int, err error) { + zr, err := gz.acquire() + if err != nil { + return 0, err + } + defer gz.release(zr) + + return zr.Read(p) +} + +func (gz *gzipReader) Close() error { + gz.close() + + return gz.body.Close() } type errorReader struct{ err error } @@ -3478,7 +3244,7 @@ func traceGotConn(req *http.Request, cc *ClientConn, reused bool) { cc.mu.Lock() ci.WasIdle = len(cc.streams) == 0 && reused if ci.WasIdle && !cc.lastActive.IsZero() { - ci.IdleTime = cc.t.timeSince(cc.lastActive) + ci.IdleTime = time.Since(cc.lastActive) } cc.mu.Unlock() @@ -3515,16 +3281,6 @@ func traceFirstResponseByte(trace *httptrace.ClientTrace) { } } -func traceHasWroteHeaderField(trace *httptrace.ClientTrace) bool { - return trace != nil && trace.WroteHeaderField != nil -} - -func traceWroteHeaderField(trace *httptrace.ClientTrace, k, v string) { - if trace != nil && trace.WroteHeaderField != nil { - trace.WroteHeaderField(k, []string{v}) - } -} - func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error { if trace != nil { return trace.Got1xxResponse diff --git a/vendor/golang.org/x/net/http2/write.go b/vendor/golang.org/x/net/http2/write.go index 6ff6bee7e9..fdb35b9477 100644 --- a/vendor/golang.org/x/net/http2/write.go +++ b/vendor/golang.org/x/net/http2/write.go @@ -13,6 +13,7 @@ import ( "golang.org/x/net/http/httpguts" "golang.org/x/net/http2/hpack" + "golang.org/x/net/internal/httpcommon" ) // writeFramer is implemented by any type that is used to write frames. @@ -351,7 +352,7 @@ func encodeHeaders(enc *hpack.Encoder, h http.Header, keys []string) { } for _, k := range keys { vv := h[k] - k, ascii := lowerHeader(k) + k, ascii := httpcommon.LowerHeader(k) if !ascii { // Skip writing invalid headers. Per RFC 7540, Section 8.1.2, header // field names have to be ASCII characters (just as in HTTP/1.x). diff --git a/vendor/golang.org/x/net/http2/writesched.go b/vendor/golang.org/x/net/http2/writesched.go index cc893adc29..7de27be525 100644 --- a/vendor/golang.org/x/net/http2/writesched.go +++ b/vendor/golang.org/x/net/http2/writesched.go @@ -42,6 +42,8 @@ type OpenStreamOptions struct { // PusherID is zero if the stream was initiated by the client. Otherwise, // PusherID names the stream that pushed the newly opened stream. PusherID uint32 + // priority is used to set the priority of the newly opened stream. + priority PriorityParam } // FrameWriteRequest is a request to write a frame. @@ -183,45 +185,75 @@ func (wr *FrameWriteRequest) replyToWriter(err error) { } // writeQueue is used by implementations of WriteScheduler. +// +// Each writeQueue contains a queue of FrameWriteRequests, meant to store all +// FrameWriteRequests associated with a given stream. This is implemented as a +// two-stage queue: currQueue[currPos:] and nextQueue. Removing an item is done +// by incrementing currPos of currQueue. Adding an item is done by appending it +// to the nextQueue. If currQueue is empty when trying to remove an item, we +// can swap currQueue and nextQueue to remedy the situation. +// This two-stage queue is analogous to the use of two lists in Okasaki's +// purely functional queue but without the overhead of reversing the list when +// swapping stages. +// +// writeQueue also contains prev and next, this can be used by implementations +// of WriteScheduler to construct data structures that represent the order of +// writing between different streams (e.g. circular linked list). type writeQueue struct { - s []FrameWriteRequest + currQueue []FrameWriteRequest + nextQueue []FrameWriteRequest + currPos int + prev, next *writeQueue } -func (q *writeQueue) empty() bool { return len(q.s) == 0 } +func (q *writeQueue) empty() bool { + return (len(q.currQueue) - q.currPos + len(q.nextQueue)) == 0 +} func (q *writeQueue) push(wr FrameWriteRequest) { - q.s = append(q.s, wr) + q.nextQueue = append(q.nextQueue, wr) } func (q *writeQueue) shift() FrameWriteRequest { - if len(q.s) == 0 { + if q.empty() { panic("invalid use of queue") } - wr := q.s[0] - // TODO: less copy-happy queue. - copy(q.s, q.s[1:]) - q.s[len(q.s)-1] = FrameWriteRequest{} - q.s = q.s[:len(q.s)-1] + if q.currPos >= len(q.currQueue) { + q.currQueue, q.currPos, q.nextQueue = q.nextQueue, 0, q.currQueue[:0] + } + wr := q.currQueue[q.currPos] + q.currQueue[q.currPos] = FrameWriteRequest{} + q.currPos++ return wr } +func (q *writeQueue) peek() *FrameWriteRequest { + if q.currPos < len(q.currQueue) { + return &q.currQueue[q.currPos] + } + if len(q.nextQueue) > 0 { + return &q.nextQueue[0] + } + return nil +} + // consume consumes up to n bytes from q.s[0]. If the frame is // entirely consumed, it is removed from the queue. If the frame // is partially consumed, the frame is kept with the consumed // bytes removed. Returns true iff any bytes were consumed. func (q *writeQueue) consume(n int32) (FrameWriteRequest, bool) { - if len(q.s) == 0 { + if q.empty() { return FrameWriteRequest{}, false } - consumed, rest, numresult := q.s[0].Consume(n) + consumed, rest, numresult := q.peek().Consume(n) switch numresult { case 0: return FrameWriteRequest{}, false case 1: q.shift() case 2: - q.s[0] = rest + *q.peek() = rest } return consumed, true } @@ -230,10 +262,15 @@ type writeQueuePool []*writeQueue // put inserts an unused writeQueue into the pool. func (p *writeQueuePool) put(q *writeQueue) { - for i := range q.s { - q.s[i] = FrameWriteRequest{} + for i := range q.currQueue { + q.currQueue[i] = FrameWriteRequest{} + } + for i := range q.nextQueue { + q.nextQueue[i] = FrameWriteRequest{} } - q.s = q.s[:0] + q.currQueue = q.currQueue[:0] + q.nextQueue = q.nextQueue[:0] + q.currPos = 0 *p = append(*p, q) } diff --git a/vendor/golang.org/x/net/http2/writesched_priority.go b/vendor/golang.org/x/net/http2/writesched_priority_rfc7540.go similarity index 77% rename from vendor/golang.org/x/net/http2/writesched_priority.go rename to vendor/golang.org/x/net/http2/writesched_priority_rfc7540.go index f6783339d1..4e33c29a24 100644 --- a/vendor/golang.org/x/net/http2/writesched_priority.go +++ b/vendor/golang.org/x/net/http2/writesched_priority_rfc7540.go @@ -11,7 +11,7 @@ import ( ) // RFC 7540, Section 5.3.5: the default weight is 16. -const priorityDefaultWeight = 15 // 16 = 15 + 1 +const priorityDefaultWeightRFC7540 = 15 // 16 = 15 + 1 // PriorityWriteSchedulerConfig configures a priorityWriteScheduler. type PriorityWriteSchedulerConfig struct { @@ -66,8 +66,8 @@ func NewPriorityWriteScheduler(cfg *PriorityWriteSchedulerConfig) WriteScheduler } } - ws := &priorityWriteScheduler{ - nodes: make(map[uint32]*priorityNode), + ws := &priorityWriteSchedulerRFC7540{ + nodes: make(map[uint32]*priorityNodeRFC7540), maxClosedNodesInTree: cfg.MaxClosedNodesInTree, maxIdleNodesInTree: cfg.MaxIdleNodesInTree, enableWriteThrottle: cfg.ThrottleOutOfOrderWrites, @@ -81,32 +81,32 @@ func NewPriorityWriteScheduler(cfg *PriorityWriteSchedulerConfig) WriteScheduler return ws } -type priorityNodeState int +type priorityNodeStateRFC7540 int const ( - priorityNodeOpen priorityNodeState = iota - priorityNodeClosed - priorityNodeIdle + priorityNodeOpenRFC7540 priorityNodeStateRFC7540 = iota + priorityNodeClosedRFC7540 + priorityNodeIdleRFC7540 ) -// priorityNode is a node in an HTTP/2 priority tree. +// priorityNodeRFC7540 is a node in an HTTP/2 priority tree. // Each node is associated with a single stream ID. // See RFC 7540, Section 5.3. -type priorityNode struct { - q writeQueue // queue of pending frames to write - id uint32 // id of the stream, or 0 for the root of the tree - weight uint8 // the actual weight is weight+1, so the value is in [1,256] - state priorityNodeState // open | closed | idle - bytes int64 // number of bytes written by this node, or 0 if closed - subtreeBytes int64 // sum(node.bytes) of all nodes in this subtree +type priorityNodeRFC7540 struct { + q writeQueue // queue of pending frames to write + id uint32 // id of the stream, or 0 for the root of the tree + weight uint8 // the actual weight is weight+1, so the value is in [1,256] + state priorityNodeStateRFC7540 // open | closed | idle + bytes int64 // number of bytes written by this node, or 0 if closed + subtreeBytes int64 // sum(node.bytes) of all nodes in this subtree // These links form the priority tree. - parent *priorityNode - kids *priorityNode // start of the kids list - prev, next *priorityNode // doubly-linked list of siblings + parent *priorityNodeRFC7540 + kids *priorityNodeRFC7540 // start of the kids list + prev, next *priorityNodeRFC7540 // doubly-linked list of siblings } -func (n *priorityNode) setParent(parent *priorityNode) { +func (n *priorityNodeRFC7540) setParent(parent *priorityNodeRFC7540) { if n == parent { panic("setParent to self") } @@ -141,7 +141,7 @@ func (n *priorityNode) setParent(parent *priorityNode) { } } -func (n *priorityNode) addBytes(b int64) { +func (n *priorityNodeRFC7540) addBytes(b int64) { n.bytes += b for ; n != nil; n = n.parent { n.subtreeBytes += b @@ -154,7 +154,7 @@ func (n *priorityNode) addBytes(b int64) { // // f(n, openParent) takes two arguments: the node to visit, n, and a bool that is true // if any ancestor p of n is still open (ignoring the root node). -func (n *priorityNode) walkReadyInOrder(openParent bool, tmp *[]*priorityNode, f func(*priorityNode, bool) bool) bool { +func (n *priorityNodeRFC7540) walkReadyInOrder(openParent bool, tmp *[]*priorityNodeRFC7540, f func(*priorityNodeRFC7540, bool) bool) bool { if !n.q.empty() && f(n, openParent) { return true } @@ -165,7 +165,7 @@ func (n *priorityNode) walkReadyInOrder(openParent bool, tmp *[]*priorityNode, f // Don't consider the root "open" when updating openParent since // we can't send data frames on the root stream (only control frames). if n.id != 0 { - openParent = openParent || (n.state == priorityNodeOpen) + openParent = openParent || (n.state == priorityNodeOpenRFC7540) } // Common case: only one kid or all kids have the same weight. @@ -195,7 +195,7 @@ func (n *priorityNode) walkReadyInOrder(openParent bool, tmp *[]*priorityNode, f *tmp = append(*tmp, n.kids) n.kids.setParent(nil) } - sort.Sort(sortPriorityNodeSiblings(*tmp)) + sort.Sort(sortPriorityNodeSiblingsRFC7540(*tmp)) for i := len(*tmp) - 1; i >= 0; i-- { (*tmp)[i].setParent(n) // setParent inserts at the head of n.kids } @@ -207,15 +207,15 @@ func (n *priorityNode) walkReadyInOrder(openParent bool, tmp *[]*priorityNode, f return false } -type sortPriorityNodeSiblings []*priorityNode +type sortPriorityNodeSiblingsRFC7540 []*priorityNodeRFC7540 -func (z sortPriorityNodeSiblings) Len() int { return len(z) } -func (z sortPriorityNodeSiblings) Swap(i, k int) { z[i], z[k] = z[k], z[i] } -func (z sortPriorityNodeSiblings) Less(i, k int) bool { +func (z sortPriorityNodeSiblingsRFC7540) Len() int { return len(z) } +func (z sortPriorityNodeSiblingsRFC7540) Swap(i, k int) { z[i], z[k] = z[k], z[i] } +func (z sortPriorityNodeSiblingsRFC7540) Less(i, k int) bool { // Prefer the subtree that has sent fewer bytes relative to its weight. // See sections 5.3.2 and 5.3.4. - wi, bi := float64(z[i].weight+1), float64(z[i].subtreeBytes) - wk, bk := float64(z[k].weight+1), float64(z[k].subtreeBytes) + wi, bi := float64(z[i].weight)+1, float64(z[i].subtreeBytes) + wk, bk := float64(z[k].weight)+1, float64(z[k].subtreeBytes) if bi == 0 && bk == 0 { return wi >= wk } @@ -225,13 +225,13 @@ func (z sortPriorityNodeSiblings) Less(i, k int) bool { return bi/bk <= wi/wk } -type priorityWriteScheduler struct { +type priorityWriteSchedulerRFC7540 struct { // root is the root of the priority tree, where root.id = 0. // The root queues control frames that are not associated with any stream. - root priorityNode + root priorityNodeRFC7540 // nodes maps stream ids to priority tree nodes. - nodes map[uint32]*priorityNode + nodes map[uint32]*priorityNodeRFC7540 // maxID is the maximum stream id in nodes. maxID uint32 @@ -239,7 +239,7 @@ type priorityWriteScheduler struct { // lists of nodes that have been closed or are idle, but are kept in // the tree for improved prioritization. When the lengths exceed either // maxClosedNodesInTree or maxIdleNodesInTree, old nodes are discarded. - closedNodes, idleNodes []*priorityNode + closedNodes, idleNodes []*priorityNodeRFC7540 // From the config. maxClosedNodesInTree int @@ -248,19 +248,19 @@ type priorityWriteScheduler struct { enableWriteThrottle bool // tmp is scratch space for priorityNode.walkReadyInOrder to reduce allocations. - tmp []*priorityNode + tmp []*priorityNodeRFC7540 // pool of empty queues for reuse. queuePool writeQueuePool } -func (ws *priorityWriteScheduler) OpenStream(streamID uint32, options OpenStreamOptions) { +func (ws *priorityWriteSchedulerRFC7540) OpenStream(streamID uint32, options OpenStreamOptions) { // The stream may be currently idle but cannot be opened or closed. if curr := ws.nodes[streamID]; curr != nil { - if curr.state != priorityNodeIdle { + if curr.state != priorityNodeIdleRFC7540 { panic(fmt.Sprintf("stream %d already opened", streamID)) } - curr.state = priorityNodeOpen + curr.state = priorityNodeOpenRFC7540 return } @@ -272,11 +272,11 @@ func (ws *priorityWriteScheduler) OpenStream(streamID uint32, options OpenStream if parent == nil { parent = &ws.root } - n := &priorityNode{ + n := &priorityNodeRFC7540{ q: *ws.queuePool.get(), id: streamID, - weight: priorityDefaultWeight, - state: priorityNodeOpen, + weight: priorityDefaultWeightRFC7540, + state: priorityNodeOpenRFC7540, } n.setParent(parent) ws.nodes[streamID] = n @@ -285,24 +285,23 @@ func (ws *priorityWriteScheduler) OpenStream(streamID uint32, options OpenStream } } -func (ws *priorityWriteScheduler) CloseStream(streamID uint32) { +func (ws *priorityWriteSchedulerRFC7540) CloseStream(streamID uint32) { if streamID == 0 { panic("violation of WriteScheduler interface: cannot close stream 0") } if ws.nodes[streamID] == nil { panic(fmt.Sprintf("violation of WriteScheduler interface: unknown stream %d", streamID)) } - if ws.nodes[streamID].state != priorityNodeOpen { + if ws.nodes[streamID].state != priorityNodeOpenRFC7540 { panic(fmt.Sprintf("violation of WriteScheduler interface: stream %d already closed", streamID)) } n := ws.nodes[streamID] - n.state = priorityNodeClosed + n.state = priorityNodeClosedRFC7540 n.addBytes(-n.bytes) q := n.q ws.queuePool.put(&q) - n.q.s = nil if ws.maxClosedNodesInTree > 0 { ws.addClosedOrIdleNode(&ws.closedNodes, ws.maxClosedNodesInTree, n) } else { @@ -310,7 +309,7 @@ func (ws *priorityWriteScheduler) CloseStream(streamID uint32) { } } -func (ws *priorityWriteScheduler) AdjustStream(streamID uint32, priority PriorityParam) { +func (ws *priorityWriteSchedulerRFC7540) AdjustStream(streamID uint32, priority PriorityParam) { if streamID == 0 { panic("adjustPriority on root") } @@ -324,11 +323,11 @@ func (ws *priorityWriteScheduler) AdjustStream(streamID uint32, priority Priorit return } ws.maxID = streamID - n = &priorityNode{ + n = &priorityNodeRFC7540{ q: *ws.queuePool.get(), id: streamID, - weight: priorityDefaultWeight, - state: priorityNodeIdle, + weight: priorityDefaultWeightRFC7540, + state: priorityNodeIdleRFC7540, } n.setParent(&ws.root) ws.nodes[streamID] = n @@ -340,7 +339,7 @@ func (ws *priorityWriteScheduler) AdjustStream(streamID uint32, priority Priorit parent := ws.nodes[priority.StreamDep] if parent == nil { n.setParent(&ws.root) - n.weight = priorityDefaultWeight + n.weight = priorityDefaultWeightRFC7540 return } @@ -381,8 +380,8 @@ func (ws *priorityWriteScheduler) AdjustStream(streamID uint32, priority Priorit n.weight = priority.Weight } -func (ws *priorityWriteScheduler) Push(wr FrameWriteRequest) { - var n *priorityNode +func (ws *priorityWriteSchedulerRFC7540) Push(wr FrameWriteRequest) { + var n *priorityNodeRFC7540 if wr.isControl() { n = &ws.root } else { @@ -401,8 +400,8 @@ func (ws *priorityWriteScheduler) Push(wr FrameWriteRequest) { n.q.push(wr) } -func (ws *priorityWriteScheduler) Pop() (wr FrameWriteRequest, ok bool) { - ws.root.walkReadyInOrder(false, &ws.tmp, func(n *priorityNode, openParent bool) bool { +func (ws *priorityWriteSchedulerRFC7540) Pop() (wr FrameWriteRequest, ok bool) { + ws.root.walkReadyInOrder(false, &ws.tmp, func(n *priorityNodeRFC7540, openParent bool) bool { limit := int32(math.MaxInt32) if openParent { limit = ws.writeThrottleLimit @@ -428,7 +427,7 @@ func (ws *priorityWriteScheduler) Pop() (wr FrameWriteRequest, ok bool) { return wr, ok } -func (ws *priorityWriteScheduler) addClosedOrIdleNode(list *[]*priorityNode, maxSize int, n *priorityNode) { +func (ws *priorityWriteSchedulerRFC7540) addClosedOrIdleNode(list *[]*priorityNodeRFC7540, maxSize int, n *priorityNodeRFC7540) { if maxSize == 0 { return } @@ -442,7 +441,7 @@ func (ws *priorityWriteScheduler) addClosedOrIdleNode(list *[]*priorityNode, max *list = append(*list, n) } -func (ws *priorityWriteScheduler) removeNode(n *priorityNode) { +func (ws *priorityWriteSchedulerRFC7540) removeNode(n *priorityNodeRFC7540) { for n.kids != nil { n.kids.setParent(n.parent) } diff --git a/vendor/golang.org/x/net/http2/writesched_priority_rfc9218.go b/vendor/golang.org/x/net/http2/writesched_priority_rfc9218.go new file mode 100644 index 0000000000..cb4cadc32d --- /dev/null +++ b/vendor/golang.org/x/net/http2/writesched_priority_rfc9218.go @@ -0,0 +1,209 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package http2 + +import ( + "fmt" + "math" +) + +type streamMetadata struct { + location *writeQueue + priority PriorityParam +} + +type priorityWriteSchedulerRFC9218 struct { + // control contains control frames (SETTINGS, PING, etc.). + control writeQueue + + // heads contain the head of a circular list of streams. + // We put these heads within a nested array that represents urgency and + // incremental, as defined in + // https://www.rfc-editor.org/rfc/rfc9218.html#name-priority-parameters. + // 8 represents u=0 up to u=7, and 2 represents i=false and i=true. + heads [8][2]*writeQueue + + // streams contains a mapping between each stream ID and their metadata, so + // we can quickly locate them when needing to, for example, adjust their + // priority. + streams map[uint32]streamMetadata + + // queuePool are empty queues for reuse. + queuePool writeQueuePool + + // prioritizeIncremental is used to determine whether we should prioritize + // incremental streams or not, when urgency is the same in a given Pop() + // call. + prioritizeIncremental bool +} + +func newPriorityWriteSchedulerRFC9218() WriteScheduler { + ws := &priorityWriteSchedulerRFC9218{ + streams: make(map[uint32]streamMetadata), + } + return ws +} + +func (ws *priorityWriteSchedulerRFC9218) OpenStream(streamID uint32, opt OpenStreamOptions) { + if ws.streams[streamID].location != nil { + panic(fmt.Errorf("stream %d already opened", streamID)) + } + q := ws.queuePool.get() + ws.streams[streamID] = streamMetadata{ + location: q, + priority: opt.priority, + } + + u, i := opt.priority.urgency, opt.priority.incremental + if ws.heads[u][i] == nil { + ws.heads[u][i] = q + q.next = q + q.prev = q + } else { + // Queues are stored in a ring. + // Insert the new stream before ws.head, putting it at the end of the list. + q.prev = ws.heads[u][i].prev + q.next = ws.heads[u][i] + q.prev.next = q + q.next.prev = q + } +} + +func (ws *priorityWriteSchedulerRFC9218) CloseStream(streamID uint32) { + metadata := ws.streams[streamID] + q, u, i := metadata.location, metadata.priority.urgency, metadata.priority.incremental + if q == nil { + return + } + if q.next == q { + // This was the only open stream. + ws.heads[u][i] = nil + } else { + q.prev.next = q.next + q.next.prev = q.prev + if ws.heads[u][i] == q { + ws.heads[u][i] = q.next + } + } + delete(ws.streams, streamID) + ws.queuePool.put(q) +} + +func (ws *priorityWriteSchedulerRFC9218) AdjustStream(streamID uint32, priority PriorityParam) { + metadata := ws.streams[streamID] + q, u, i := metadata.location, metadata.priority.urgency, metadata.priority.incremental + if q == nil { + return + } + + // Remove stream from current location. + if q.next == q { + // This was the only open stream. + ws.heads[u][i] = nil + } else { + q.prev.next = q.next + q.next.prev = q.prev + if ws.heads[u][i] == q { + ws.heads[u][i] = q.next + } + } + + // Insert stream to the new queue. + u, i = priority.urgency, priority.incremental + if ws.heads[u][i] == nil { + ws.heads[u][i] = q + q.next = q + q.prev = q + } else { + // Queues are stored in a ring. + // Insert the new stream before ws.head, putting it at the end of the list. + q.prev = ws.heads[u][i].prev + q.next = ws.heads[u][i] + q.prev.next = q + q.next.prev = q + } + + // Update the metadata. + ws.streams[streamID] = streamMetadata{ + location: q, + priority: priority, + } +} + +func (ws *priorityWriteSchedulerRFC9218) Push(wr FrameWriteRequest) { + if wr.isControl() { + ws.control.push(wr) + return + } + q := ws.streams[wr.StreamID()].location + if q == nil { + // This is a closed stream. + // wr should not be a HEADERS or DATA frame. + // We push the request onto the control queue. + if wr.DataSize() > 0 { + panic("add DATA on non-open stream") + } + ws.control.push(wr) + return + } + q.push(wr) +} + +func (ws *priorityWriteSchedulerRFC9218) Pop() (FrameWriteRequest, bool) { + // Control and RST_STREAM frames first. + if !ws.control.empty() { + return ws.control.shift(), true + } + + // On the next Pop(), we want to prioritize incremental if we prioritized + // non-incremental request of the same urgency this time. Vice-versa. + // i.e. when there are incremental and non-incremental requests at the same + // priority, we give 50% of our bandwidth to the incremental ones in + // aggregate and 50% to the first non-incremental one (since + // non-incremental streams do not use round-robin writes). + ws.prioritizeIncremental = !ws.prioritizeIncremental + + // Always prioritize lowest u (i.e. highest urgency level). + for u := range ws.heads { + for i := range ws.heads[u] { + // When we want to prioritize incremental, we try to pop i=true + // first before i=false when u is the same. + if ws.prioritizeIncremental { + i = (i + 1) % 2 + } + q := ws.heads[u][i] + if q == nil { + continue + } + for { + if wr, ok := q.consume(math.MaxInt32); ok { + if i == 1 { + // For incremental streams, we update head to q.next so + // we can round-robin between multiple streams that can + // immediately benefit from partial writes. + ws.heads[u][i] = q.next + } else { + // For non-incremental streams, we try to finish one to + // completion rather than doing round-robin. However, + // we update head here so that if q.consume() is !ok + // (e.g. the stream has no more frame to consume), head + // is updated to the next q that has frames to consume + // on future iterations. This way, we do not prioritize + // writing to unavailable stream on next Pop() calls, + // preventing head-of-line blocking. + ws.heads[u][i] = q + } + return wr, true + } + q = q.next + if q == ws.heads[u][i] { + break + } + } + + } + } + return FrameWriteRequest{}, false +} diff --git a/vendor/golang.org/x/net/http2/writesched_roundrobin.go b/vendor/golang.org/x/net/http2/writesched_roundrobin.go index 54fe86322d..737cff9ecb 100644 --- a/vendor/golang.org/x/net/http2/writesched_roundrobin.go +++ b/vendor/golang.org/x/net/http2/writesched_roundrobin.go @@ -25,7 +25,7 @@ type roundRobinWriteScheduler struct { } // newRoundRobinWriteScheduler constructs a new write scheduler. -// The round robin scheduler priorizes control frames +// The round robin scheduler prioritizes control frames // like SETTINGS and PING over DATA frames. // When there are no control frames to send, it performs a round-robin // selection from the ready streams. diff --git a/vendor/golang.org/x/net/internal/httpcommon/ascii.go b/vendor/golang.org/x/net/internal/httpcommon/ascii.go new file mode 100644 index 0000000000..ed14da5afc --- /dev/null +++ b/vendor/golang.org/x/net/internal/httpcommon/ascii.go @@ -0,0 +1,53 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package httpcommon + +import "strings" + +// The HTTP protocols are defined in terms of ASCII, not Unicode. This file +// contains helper functions which may use Unicode-aware functions which would +// otherwise be unsafe and could introduce vulnerabilities if used improperly. + +// asciiEqualFold is strings.EqualFold, ASCII only. It reports whether s and t +// are equal, ASCII-case-insensitively. +func asciiEqualFold(s, t string) bool { + if len(s) != len(t) { + return false + } + for i := 0; i < len(s); i++ { + if lower(s[i]) != lower(t[i]) { + return false + } + } + return true +} + +// lower returns the ASCII lowercase version of b. +func lower(b byte) byte { + if 'A' <= b && b <= 'Z' { + return b + ('a' - 'A') + } + return b +} + +// isASCIIPrint returns whether s is ASCII and printable according to +// https://tools.ietf.org/html/rfc20#section-4.2. +func isASCIIPrint(s string) bool { + for i := 0; i < len(s); i++ { + if s[i] < ' ' || s[i] > '~' { + return false + } + } + return true +} + +// asciiToLower returns the lowercase version of s if s is ASCII and printable, +// and whether or not it was. +func asciiToLower(s string) (lower string, ok bool) { + if !isASCIIPrint(s) { + return "", false + } + return strings.ToLower(s), true +} diff --git a/vendor/golang.org/x/net/http2/headermap.go b/vendor/golang.org/x/net/internal/httpcommon/headermap.go similarity index 74% rename from vendor/golang.org/x/net/http2/headermap.go rename to vendor/golang.org/x/net/internal/httpcommon/headermap.go index 149b3dd20e..92483d8e41 100644 --- a/vendor/golang.org/x/net/http2/headermap.go +++ b/vendor/golang.org/x/net/internal/httpcommon/headermap.go @@ -1,11 +1,11 @@ -// Copyright 2014 The Go Authors. All rights reserved. +// Copyright 2025 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package http2 +package httpcommon import ( - "net/http" + "net/textproto" "sync" ) @@ -82,13 +82,15 @@ func buildCommonHeaderMaps() { commonLowerHeader = make(map[string]string, len(common)) commonCanonHeader = make(map[string]string, len(common)) for _, v := range common { - chk := http.CanonicalHeaderKey(v) + chk := textproto.CanonicalMIMEHeaderKey(v) commonLowerHeader[chk] = v commonCanonHeader[v] = chk } } -func lowerHeader(v string) (lower string, ascii bool) { +// LowerHeader returns the lowercase form of a header name, +// used on the wire for HTTP/2 and HTTP/3 requests. +func LowerHeader(v string) (lower string, ascii bool) { buildCommonHeaderMapsOnce() if s, ok := commonLowerHeader[v]; ok { return s, true @@ -96,10 +98,18 @@ func lowerHeader(v string) (lower string, ascii bool) { return asciiToLower(v) } -func canonicalHeader(v string) string { +// CanonicalHeader canonicalizes a header name. (For example, "host" becomes "Host".) +func CanonicalHeader(v string) string { buildCommonHeaderMapsOnce() if s, ok := commonCanonHeader[v]; ok { return s } - return http.CanonicalHeaderKey(v) + return textproto.CanonicalMIMEHeaderKey(v) +} + +// CachedCanonicalHeader returns the canonical form of a well-known header name. +func CachedCanonicalHeader(v string) (string, bool) { + buildCommonHeaderMapsOnce() + s, ok := commonCanonHeader[v] + return s, ok } diff --git a/vendor/golang.org/x/net/internal/httpcommon/request.go b/vendor/golang.org/x/net/internal/httpcommon/request.go new file mode 100644 index 0000000000..1e10f89ebf --- /dev/null +++ b/vendor/golang.org/x/net/internal/httpcommon/request.go @@ -0,0 +1,467 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package httpcommon + +import ( + "context" + "errors" + "fmt" + "net/http/httptrace" + "net/textproto" + "net/url" + "sort" + "strconv" + "strings" + + "golang.org/x/net/http/httpguts" + "golang.org/x/net/http2/hpack" +) + +var ( + ErrRequestHeaderListSize = errors.New("request header list larger than peer's advertised limit") +) + +// Request is a subset of http.Request. +// It'd be simpler to pass an *http.Request, of course, but we can't depend on net/http +// without creating a dependency cycle. +type Request struct { + URL *url.URL + Method string + Host string + Header map[string][]string + Trailer map[string][]string + ActualContentLength int64 // 0 means 0, -1 means unknown +} + +// EncodeHeadersParam is parameters to EncodeHeaders. +type EncodeHeadersParam struct { + Request Request + + // AddGzipHeader indicates that an "accept-encoding: gzip" header should be + // added to the request. + AddGzipHeader bool + + // PeerMaxHeaderListSize, when non-zero, is the peer's MAX_HEADER_LIST_SIZE setting. + PeerMaxHeaderListSize uint64 + + // DefaultUserAgent is the User-Agent header to send when the request + // neither contains a User-Agent nor disables it. + DefaultUserAgent string +} + +// EncodeHeadersResult is the result of EncodeHeaders. +type EncodeHeadersResult struct { + HasBody bool + HasTrailers bool +} + +// EncodeHeaders constructs request headers common to HTTP/2 and HTTP/3. +// It validates a request and calls headerf with each pseudo-header and header +// for the request. +// The headerf function is called with the validated, canonicalized header name. +func EncodeHeaders(ctx context.Context, param EncodeHeadersParam, headerf func(name, value string)) (res EncodeHeadersResult, _ error) { + req := param.Request + + // Check for invalid connection-level headers. + if err := checkConnHeaders(req.Header); err != nil { + return res, err + } + + if req.URL == nil { + return res, errors.New("Request.URL is nil") + } + + host := req.Host + if host == "" { + host = req.URL.Host + } + host, err := httpguts.PunycodeHostPort(host) + if err != nil { + return res, err + } + if !httpguts.ValidHostHeader(host) { + return res, errors.New("invalid Host header") + } + + // isNormalConnect is true if this is a non-extended CONNECT request. + isNormalConnect := false + var protocol string + if vv := req.Header[":protocol"]; len(vv) > 0 { + protocol = vv[0] + } + if req.Method == "CONNECT" && protocol == "" { + isNormalConnect = true + } else if protocol != "" && req.Method != "CONNECT" { + return res, errors.New("invalid :protocol header in non-CONNECT request") + } + + // Validate the path, except for non-extended CONNECT requests which have no path. + var path string + if !isNormalConnect { + path = req.URL.RequestURI() + if !validPseudoPath(path) { + orig := path + path = strings.TrimPrefix(path, req.URL.Scheme+"://"+host) + if !validPseudoPath(path) { + if req.URL.Opaque != "" { + return res, fmt.Errorf("invalid request :path %q from URL.Opaque = %q", orig, req.URL.Opaque) + } else { + return res, fmt.Errorf("invalid request :path %q", orig) + } + } + } + } + + // Check for any invalid headers+trailers and return an error before we + // potentially pollute our hpack state. (We want to be able to + // continue to reuse the hpack encoder for future requests) + if err := validateHeaders(req.Header); err != "" { + return res, fmt.Errorf("invalid HTTP header %s", err) + } + if err := validateHeaders(req.Trailer); err != "" { + return res, fmt.Errorf("invalid HTTP trailer %s", err) + } + + trailers, err := commaSeparatedTrailers(req.Trailer) + if err != nil { + return res, err + } + + enumerateHeaders := func(f func(name, value string)) { + // 8.1.2.3 Request Pseudo-Header Fields + // The :path pseudo-header field includes the path and query parts of the + // target URI (the path-absolute production and optionally a '?' character + // followed by the query production, see Sections 3.3 and 3.4 of + // [RFC3986]). + f(":authority", host) + m := req.Method + if m == "" { + m = "GET" + } + f(":method", m) + if !isNormalConnect { + f(":path", path) + f(":scheme", req.URL.Scheme) + } + if protocol != "" { + f(":protocol", protocol) + } + if trailers != "" { + f("trailer", trailers) + } + + var didUA bool + for k, vv := range req.Header { + if asciiEqualFold(k, "host") || asciiEqualFold(k, "content-length") { + // Host is :authority, already sent. + // Content-Length is automatic, set below. + continue + } else if asciiEqualFold(k, "connection") || + asciiEqualFold(k, "proxy-connection") || + asciiEqualFold(k, "transfer-encoding") || + asciiEqualFold(k, "upgrade") || + asciiEqualFold(k, "keep-alive") { + // Per 8.1.2.2 Connection-Specific Header + // Fields, don't send connection-specific + // fields. We have already checked if any + // are error-worthy so just ignore the rest. + continue + } else if asciiEqualFold(k, "user-agent") { + // Match Go's http1 behavior: at most one + // User-Agent. If set to nil or empty string, + // then omit it. Otherwise if not mentioned, + // include the default (below). + didUA = true + if len(vv) < 1 { + continue + } + vv = vv[:1] + if vv[0] == "" { + continue + } + } else if asciiEqualFold(k, "cookie") { + // Per 8.1.2.5 To allow for better compression efficiency, the + // Cookie header field MAY be split into separate header fields, + // each with one or more cookie-pairs. + for _, v := range vv { + for { + p := strings.IndexByte(v, ';') + if p < 0 { + break + } + f("cookie", v[:p]) + p++ + // strip space after semicolon if any. + for p+1 <= len(v) && v[p] == ' ' { + p++ + } + v = v[p:] + } + if len(v) > 0 { + f("cookie", v) + } + } + continue + } else if k == ":protocol" { + // :protocol pseudo-header was already sent above. + continue + } + + for _, v := range vv { + f(k, v) + } + } + if shouldSendReqContentLength(req.Method, req.ActualContentLength) { + f("content-length", strconv.FormatInt(req.ActualContentLength, 10)) + } + if param.AddGzipHeader { + f("accept-encoding", "gzip") + } + if !didUA { + f("user-agent", param.DefaultUserAgent) + } + } + + // Do a first pass over the headers counting bytes to ensure + // we don't exceed cc.peerMaxHeaderListSize. This is done as a + // separate pass before encoding the headers to prevent + // modifying the hpack state. + if param.PeerMaxHeaderListSize > 0 { + hlSize := uint64(0) + enumerateHeaders(func(name, value string) { + hf := hpack.HeaderField{Name: name, Value: value} + hlSize += uint64(hf.Size()) + }) + + if hlSize > param.PeerMaxHeaderListSize { + return res, ErrRequestHeaderListSize + } + } + + trace := httptrace.ContextClientTrace(ctx) + + // Header list size is ok. Write the headers. + enumerateHeaders(func(name, value string) { + name, ascii := LowerHeader(name) + if !ascii { + // Skip writing invalid headers. Per RFC 7540, Section 8.1.2, header + // field names have to be ASCII characters (just as in HTTP/1.x). + return + } + + headerf(name, value) + + if trace != nil && trace.WroteHeaderField != nil { + trace.WroteHeaderField(name, []string{value}) + } + }) + + res.HasBody = req.ActualContentLength != 0 + res.HasTrailers = trailers != "" + return res, nil +} + +// IsRequestGzip reports whether we should add an Accept-Encoding: gzip header +// for a request. +func IsRequestGzip(method string, header map[string][]string, disableCompression bool) bool { + // TODO(bradfitz): this is a copy of the logic in net/http. Unify somewhere? + if !disableCompression && + len(header["Accept-Encoding"]) == 0 && + len(header["Range"]) == 0 && + method != "HEAD" { + // Request gzip only, not deflate. Deflate is ambiguous and + // not as universally supported anyway. + // See: https://zlib.net/zlib_faq.html#faq39 + // + // Note that we don't request this for HEAD requests, + // due to a bug in nginx: + // http://trac.nginx.org/nginx/ticket/358 + // https://golang.org/issue/5522 + // + // We don't request gzip if the request is for a range, since + // auto-decoding a portion of a gzipped document will just fail + // anyway. See https://golang.org/issue/8923 + return true + } + return false +} + +// checkConnHeaders checks whether req has any invalid connection-level headers. +// +// https://www.rfc-editor.org/rfc/rfc9114.html#section-4.2-3 +// https://www.rfc-editor.org/rfc/rfc9113.html#section-8.2.2-1 +// +// Certain headers are special-cased as okay but not transmitted later. +// For example, we allow "Transfer-Encoding: chunked", but drop the header when encoding. +func checkConnHeaders(h map[string][]string) error { + if vv := h["Upgrade"]; len(vv) > 0 && (vv[0] != "" && vv[0] != "chunked") { + return fmt.Errorf("invalid Upgrade request header: %q", vv) + } + if vv := h["Transfer-Encoding"]; len(vv) > 0 && (len(vv) > 1 || vv[0] != "" && vv[0] != "chunked") { + return fmt.Errorf("invalid Transfer-Encoding request header: %q", vv) + } + if vv := h["Connection"]; len(vv) > 0 && (len(vv) > 1 || vv[0] != "" && !asciiEqualFold(vv[0], "close") && !asciiEqualFold(vv[0], "keep-alive")) { + return fmt.Errorf("invalid Connection request header: %q", vv) + } + return nil +} + +func commaSeparatedTrailers(trailer map[string][]string) (string, error) { + keys := make([]string, 0, len(trailer)) + for k := range trailer { + k = CanonicalHeader(k) + switch k { + case "Transfer-Encoding", "Trailer", "Content-Length": + return "", fmt.Errorf("invalid Trailer key %q", k) + } + keys = append(keys, k) + } + if len(keys) > 0 { + sort.Strings(keys) + return strings.Join(keys, ","), nil + } + return "", nil +} + +// validPseudoPath reports whether v is a valid :path pseudo-header +// value. It must be either: +// +// - a non-empty string starting with '/' +// - the string '*', for OPTIONS requests. +// +// For now this is only used a quick check for deciding when to clean +// up Opaque URLs before sending requests from the Transport. +// See golang.org/issue/16847 +// +// We used to enforce that the path also didn't start with "//", but +// Google's GFE accepts such paths and Chrome sends them, so ignore +// that part of the spec. See golang.org/issue/19103. +func validPseudoPath(v string) bool { + return (len(v) > 0 && v[0] == '/') || v == "*" +} + +func validateHeaders(hdrs map[string][]string) string { + for k, vv := range hdrs { + if !httpguts.ValidHeaderFieldName(k) && k != ":protocol" { + return fmt.Sprintf("name %q", k) + } + for _, v := range vv { + if !httpguts.ValidHeaderFieldValue(v) { + // Don't include the value in the error, + // because it may be sensitive. + return fmt.Sprintf("value for header %q", k) + } + } + } + return "" +} + +// shouldSendReqContentLength reports whether we should send +// a "content-length" request header. This logic is basically a copy of the net/http +// transferWriter.shouldSendContentLength. +// The contentLength is the corrected contentLength (so 0 means actually 0, not unknown). +// -1 means unknown. +func shouldSendReqContentLength(method string, contentLength int64) bool { + if contentLength > 0 { + return true + } + if contentLength < 0 { + return false + } + // For zero bodies, whether we send a content-length depends on the method. + // It also kinda doesn't matter for http2 either way, with END_STREAM. + switch method { + case "POST", "PUT", "PATCH": + return true + default: + return false + } +} + +// ServerRequestParam is parameters to NewServerRequest. +type ServerRequestParam struct { + Method string + Scheme, Authority, Path string + Protocol string + Header map[string][]string +} + +// ServerRequestResult is the result of NewServerRequest. +type ServerRequestResult struct { + // Various http.Request fields. + URL *url.URL + RequestURI string + Trailer map[string][]string + + NeedsContinue bool // client provided an "Expect: 100-continue" header + + // If the request should be rejected, this is a short string suitable for passing + // to the http2 package's CountError function. + // It might be a bit odd to return errors this way rather than returning an error, + // but this ensures we don't forget to include a CountError reason. + InvalidReason string +} + +func NewServerRequest(rp ServerRequestParam) ServerRequestResult { + needsContinue := httpguts.HeaderValuesContainsToken(rp.Header["Expect"], "100-continue") + if needsContinue { + delete(rp.Header, "Expect") + } + // Merge Cookie headers into one "; "-delimited value. + if cookies := rp.Header["Cookie"]; len(cookies) > 1 { + rp.Header["Cookie"] = []string{strings.Join(cookies, "; ")} + } + + // Setup Trailers + var trailer map[string][]string + for _, v := range rp.Header["Trailer"] { + for _, key := range strings.Split(v, ",") { + key = textproto.CanonicalMIMEHeaderKey(textproto.TrimString(key)) + switch key { + case "Transfer-Encoding", "Trailer", "Content-Length": + // Bogus. (copy of http1 rules) + // Ignore. + default: + if trailer == nil { + trailer = make(map[string][]string) + } + trailer[key] = nil + } + } + } + delete(rp.Header, "Trailer") + + // "':authority' MUST NOT include the deprecated userinfo subcomponent + // for "http" or "https" schemed URIs." + // https://www.rfc-editor.org/rfc/rfc9113.html#section-8.3.1-2.3.8 + if strings.IndexByte(rp.Authority, '@') != -1 && (rp.Scheme == "http" || rp.Scheme == "https") { + return ServerRequestResult{ + InvalidReason: "userinfo_in_authority", + } + } + + var url_ *url.URL + var requestURI string + if rp.Method == "CONNECT" && rp.Protocol == "" { + url_ = &url.URL{Host: rp.Authority} + requestURI = rp.Authority // mimic HTTP/1 server behavior + } else { + var err error + url_, err = url.ParseRequestURI(rp.Path) + if err != nil { + return ServerRequestResult{ + InvalidReason: "bad_path", + } + } + requestURI = rp.Path + } + + return ServerRequestResult{ + URL: url_, + NeedsContinue: needsContinue, + RequestURI: requestURI, + Trailer: trailer, + } +} diff --git a/vendor/golang.org/x/net/internal/socks/socks.go b/vendor/golang.org/x/net/internal/socks/socks.go index 84fcc32b63..8eedb84cec 100644 --- a/vendor/golang.org/x/net/internal/socks/socks.go +++ b/vendor/golang.org/x/net/internal/socks/socks.go @@ -297,7 +297,7 @@ func (up *UsernamePassword) Authenticate(ctx context.Context, rw io.ReadWriter, b = append(b, up.Username...) b = append(b, byte(len(up.Password))) b = append(b, up.Password...) - // TODO(mikio): handle IO deadlines and cancelation if + // TODO(mikio): handle IO deadlines and cancellation if // necessary if _, err := rw.Write(b); err != nil { return err diff --git a/vendor/golang.org/x/net/proxy/per_host.go b/vendor/golang.org/x/net/proxy/per_host.go index d7d4b8b6e3..32bdf435ec 100644 --- a/vendor/golang.org/x/net/proxy/per_host.go +++ b/vendor/golang.org/x/net/proxy/per_host.go @@ -7,6 +7,7 @@ package proxy import ( "context" "net" + "net/netip" "strings" ) @@ -57,7 +58,8 @@ func (p *PerHost) DialContext(ctx context.Context, network, addr string) (c net. } func (p *PerHost) dialerForRequest(host string) Dialer { - if ip := net.ParseIP(host); ip != nil { + if nip, err := netip.ParseAddr(host); err == nil { + ip := net.IP(nip.AsSlice()) for _, net := range p.bypassNetworks { if net.Contains(ip) { return p.bypass @@ -108,8 +110,8 @@ func (p *PerHost) AddFromString(s string) { } continue } - if ip := net.ParseIP(host); ip != nil { - p.AddIP(ip) + if nip, err := netip.ParseAddr(host); err == nil { + p.AddIP(net.IP(nip.AsSlice())) continue } if strings.HasPrefix(host, "*.") { diff --git a/vendor/golang.org/x/net/trace/events.go b/vendor/golang.org/x/net/trace/events.go index c646a6952e..3aaffdd1f7 100644 --- a/vendor/golang.org/x/net/trace/events.go +++ b/vendor/golang.org/x/net/trace/events.go @@ -508,7 +508,7 @@ const eventsHTML = ` {{$el.When}} {{$el.ElapsedTime}} - {{$el.Title}} + {{$el.Title}} {{if $.Expanded}} diff --git a/vendor/golang.org/x/net/websocket/websocket.go b/vendor/golang.org/x/net/websocket/websocket.go index ac76165ceb..3448d20395 100644 --- a/vendor/golang.org/x/net/websocket/websocket.go +++ b/vendor/golang.org/x/net/websocket/websocket.go @@ -6,9 +6,10 @@ // as specified in RFC 6455. // // This package currently lacks some features found in an alternative -// and more actively maintained WebSocket package: +// and more actively maintained WebSocket packages: // -// https://pkg.go.dev/github.com/coder/websocket +// - [github.com/gorilla/websocket] +// - [github.com/coder/websocket] package websocket // import "golang.org/x/net/websocket" import ( diff --git a/vendor/golang.org/x/oauth2/oauth2.go b/vendor/golang.org/x/oauth2/oauth2.go index 74f052aa9f..eacdd7fd93 100644 --- a/vendor/golang.org/x/oauth2/oauth2.go +++ b/vendor/golang.org/x/oauth2/oauth2.go @@ -288,7 +288,7 @@ func (tf *tokenRefresher) Token() (*Token, error) { if tf.refreshToken != tk.RefreshToken { tf.refreshToken = tk.RefreshToken } - return tk, err + return tk, nil } // reuseTokenSource is a TokenSource that holds a single token in memory @@ -356,11 +356,15 @@ func NewClient(ctx context.Context, src TokenSource) *http.Client { if src == nil { return internal.ContextClient(ctx) } + cc := internal.ContextClient(ctx) return &http.Client{ Transport: &Transport{ - Base: internal.ContextClient(ctx).Transport, + Base: cc.Transport, Source: ReuseTokenSource(nil, src), }, + CheckRedirect: cc.CheckRedirect, + Jar: cc.Jar, + Timeout: cc.Timeout, } } diff --git a/vendor/golang.org/x/oauth2/pkce.go b/vendor/golang.org/x/oauth2/pkce.go index 50593b6dfe..6a95da975c 100644 --- a/vendor/golang.org/x/oauth2/pkce.go +++ b/vendor/golang.org/x/oauth2/pkce.go @@ -21,7 +21,7 @@ const ( // // A fresh verifier should be generated for each authorization. // S256ChallengeOption(verifier) should then be passed to Config.AuthCodeURL -// (or Config.DeviceAccess) and VerifierOption(verifier) to Config.Exchange +// (or Config.DeviceAuth) and VerifierOption(verifier) to Config.Exchange // (or Config.DeviceAccessToken). func GenerateVerifier() string { // "RECOMMENDED that the output of a suitable random number generator be @@ -51,7 +51,7 @@ func S256ChallengeFromVerifier(verifier string) string { } // S256ChallengeOption derives a PKCE code challenge derived from verifier with -// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAccess +// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAuth // only. func S256ChallengeOption(verifier string) AuthCodeOption { return challengeOption{ diff --git a/vendor/golang.org/x/sync/errgroup/errgroup.go b/vendor/golang.org/x/sync/errgroup/errgroup.go index b8322598ae..2f45dbc86e 100644 --- a/vendor/golang.org/x/sync/errgroup/errgroup.go +++ b/vendor/golang.org/x/sync/errgroup/errgroup.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. // Package errgroup provides synchronization, error propagation, and Context -// cancelation for groups of goroutines working on subtasks of a common task. +// cancellation for groups of goroutines working on subtasks of a common task. // // [errgroup.Group] is related to [sync.WaitGroup] but adds handling of tasks // returning errors. @@ -18,7 +18,7 @@ import ( type token struct{} // A Group is a collection of goroutines working on subtasks that are part of -// the same overall task. +// the same overall task. A Group should not be reused for different tasks. // // A zero Group is valid, has no limit on the number of active goroutines, // and does not cancel on error. @@ -46,7 +46,7 @@ func (g *Group) done() { // returns a non-nil error or the first time Wait returns, whichever occurs // first. func WithContext(ctx context.Context) (*Group, context.Context) { - ctx, cancel := withCancelCause(ctx) + ctx, cancel := context.WithCancelCause(ctx) return &Group{cancel: cancel}, ctx } @@ -61,11 +61,14 @@ func (g *Group) Wait() error { } // Go calls the given function in a new goroutine. +// +// The first call to Go must happen before a Wait. // It blocks until the new goroutine can be added without the number of -// active goroutines in the group exceeding the configured limit. +// goroutines in the group exceeding the configured limit. // -// The first call to return a non-nil error cancels the group's context, if the -// group was created by calling WithContext. The error will be returned by Wait. +// The first goroutine in the group that returns a non-nil error will +// cancel the associated Context, if any. The error will be returned +// by Wait. func (g *Group) Go(f func() error) { if g.sem != nil { g.sem <- token{} @@ -75,6 +78,18 @@ func (g *Group) Go(f func() error) { go func() { defer g.done() + // It is tempting to propagate panics from f() + // up to the goroutine that calls Wait, but + // it creates more problems than it solves: + // - it delays panics arbitrarily, + // making bugs harder to detect; + // - it turns f's panic stack into a mere value, + // hiding it from crash-monitoring tools; + // - it risks deadlocks that hide the panic entirely, + // if f's panic leaves the program in a state + // that prevents the Wait call from being reached. + // See #53757, #74275, #74304, #74306. + if err := f(); err != nil { g.errOnce.Do(func() { g.err = err diff --git a/vendor/golang.org/x/sync/errgroup/go120.go b/vendor/golang.org/x/sync/errgroup/go120.go deleted file mode 100644 index f93c740b63..0000000000 --- a/vendor/golang.org/x/sync/errgroup/go120.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2023 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.20 - -package errgroup - -import "context" - -func withCancelCause(parent context.Context) (context.Context, func(error)) { - return context.WithCancelCause(parent) -} diff --git a/vendor/golang.org/x/sync/errgroup/pre_go120.go b/vendor/golang.org/x/sync/errgroup/pre_go120.go deleted file mode 100644 index 88ce33434e..0000000000 --- a/vendor/golang.org/x/sync/errgroup/pre_go120.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2023 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.20 - -package errgroup - -import "context" - -func withCancelCause(parent context.Context) (context.Context, func(error)) { - ctx, cancel := context.WithCancel(parent) - return ctx, func(error) { cancel() } -} diff --git a/vendor/golang.org/x/sys/cpu/cpu.go b/vendor/golang.org/x/sys/cpu/cpu.go index 9c105f23af..34c9ae76ef 100644 --- a/vendor/golang.org/x/sys/cpu/cpu.go +++ b/vendor/golang.org/x/sys/cpu/cpu.go @@ -92,6 +92,9 @@ var ARM64 struct { HasSHA2 bool // SHA2 hardware implementation HasCRC32 bool // CRC32 hardware implementation HasATOMICS bool // Atomic memory operation instruction set + HasHPDS bool // Hierarchical permission disables in translations tables + HasLOR bool // Limited ordering regions + HasPAN bool // Privileged access never HasFPHP bool // Half precision floating-point instruction set HasASIMDHP bool // Advanced SIMD half precision instruction set HasCPUID bool // CPUID identification scheme registers @@ -149,6 +152,18 @@ var ARM struct { _ CacheLinePad } +// The booleans in Loong64 contain the correspondingly named cpu feature bit. +// The struct is padded to avoid false sharing. +var Loong64 struct { + _ CacheLinePad + HasLSX bool // support 128-bit vector extension + HasLASX bool // support 256-bit vector extension + HasCRC32 bool // support CRC instruction + HasLAM_BH bool // support AM{SWAP/ADD}[_DB].{B/H} instruction + HasLAMCAS bool // support AMCAS[_DB].{B/H/W/D} instruction + _ CacheLinePad +} + // MIPS64X contains the supported CPU features of the current mips64/mips64le // platforms. If the current platform is not mips64/mips64le or the current // operating system is not Linux then all feature flags are false. @@ -220,6 +235,17 @@ var RISCV64 struct { HasZba bool // Address generation instructions extension HasZbb bool // Basic bit-manipulation extension HasZbs bool // Single-bit instructions extension + HasZvbb bool // Vector Basic Bit-manipulation + HasZvbc bool // Vector Carryless Multiplication + HasZvkb bool // Vector Cryptography Bit-manipulation + HasZvkt bool // Vector Data-Independent Execution Latency + HasZvkg bool // Vector GCM/GMAC + HasZvkn bool // NIST Algorithm Suite (AES/SHA256/SHA512) + HasZvknc bool // NIST Algorithm Suite with carryless multiply + HasZvkng bool // NIST Algorithm Suite with GCM + HasZvks bool // ShangMi Algorithm Suite + HasZvksc bool // ShangMi Algorithm Suite with carryless multiplication + HasZvksg bool // ShangMi Algorithm Suite with GCM _ CacheLinePad } diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_arm64.go index af2aa99f9f..f449c679fe 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_arm64.go @@ -65,10 +65,10 @@ func setMinimalFeatures() { func readARM64Registers() { Initialized = true - parseARM64SystemRegisters(getisar0(), getisar1(), getpfr0()) + parseARM64SystemRegisters(getisar0(), getisar1(), getmmfr1(), getpfr0()) } -func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) { +func parseARM64SystemRegisters(isar0, isar1, mmfr1, pfr0 uint64) { // ID_AA64ISAR0_EL1 switch extractBits(isar0, 4, 7) { case 1: @@ -152,6 +152,22 @@ func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) { ARM64.HasI8MM = true } + // ID_AA64MMFR1_EL1 + switch extractBits(mmfr1, 12, 15) { + case 1, 2: + ARM64.HasHPDS = true + } + + switch extractBits(mmfr1, 16, 19) { + case 1: + ARM64.HasLOR = true + } + + switch extractBits(mmfr1, 20, 23) { + case 1, 2, 3: + ARM64.HasPAN = true + } + // ID_AA64PFR0_EL1 switch extractBits(pfr0, 16, 19) { case 0: diff --git a/vendor/golang.org/x/sys/cpu/cpu_arm64.s b/vendor/golang.org/x/sys/cpu/cpu_arm64.s index 22cc99844a..a4f24b3b0c 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_arm64.s +++ b/vendor/golang.org/x/sys/cpu/cpu_arm64.s @@ -9,31 +9,34 @@ // func getisar0() uint64 TEXT ·getisar0(SB),NOSPLIT,$0-8 // get Instruction Set Attributes 0 into x0 - // mrs x0, ID_AA64ISAR0_EL1 = d5380600 - WORD $0xd5380600 + MRS ID_AA64ISAR0_EL1, R0 MOVD R0, ret+0(FP) RET // func getisar1() uint64 TEXT ·getisar1(SB),NOSPLIT,$0-8 // get Instruction Set Attributes 1 into x0 - // mrs x0, ID_AA64ISAR1_EL1 = d5380620 - WORD $0xd5380620 + MRS ID_AA64ISAR1_EL1, R0 + MOVD R0, ret+0(FP) + RET + +// func getmmfr1() uint64 +TEXT ·getmmfr1(SB),NOSPLIT,$0-8 + // get Memory Model Feature Register 1 into x0 + MRS ID_AA64MMFR1_EL1, R0 MOVD R0, ret+0(FP) RET // func getpfr0() uint64 TEXT ·getpfr0(SB),NOSPLIT,$0-8 // get Processor Feature Register 0 into x0 - // mrs x0, ID_AA64PFR0_EL1 = d5380400 - WORD $0xd5380400 + MRS ID_AA64PFR0_EL1, R0 MOVD R0, ret+0(FP) RET // func getzfr0() uint64 TEXT ·getzfr0(SB),NOSPLIT,$0-8 // get SVE Feature Register 0 into x0 - // mrs x0, ID_AA64ZFR0_EL1 = d5380480 - WORD $0xd5380480 + MRS ID_AA64ZFR0_EL1, R0 MOVD R0, ret+0(FP) RET diff --git a/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go index 6ac6e1efb2..e3fc5a8d31 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go @@ -8,5 +8,6 @@ package cpu func getisar0() uint64 func getisar1() uint64 +func getmmfr1() uint64 func getpfr0() uint64 func getzfr0() uint64 diff --git a/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go index 7f1946780b..8df2079e15 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go @@ -8,4 +8,5 @@ package cpu func getisar0() uint64 { return 0 } func getisar1() uint64 { return 0 } +func getmmfr1() uint64 { return 0 } func getpfr0() uint64 { return 0 } diff --git a/vendor/golang.org/x/sys/cpu/cpu_linux_loong64.go b/vendor/golang.org/x/sys/cpu/cpu_linux_loong64.go new file mode 100644 index 0000000000..4f34114329 --- /dev/null +++ b/vendor/golang.org/x/sys/cpu/cpu_linux_loong64.go @@ -0,0 +1,22 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package cpu + +// HWCAP bits. These are exposed by the Linux kernel. +const ( + hwcap_LOONGARCH_LSX = 1 << 4 + hwcap_LOONGARCH_LASX = 1 << 5 +) + +func doinit() { + // TODO: Features that require kernel support like LSX and LASX can + // be detected here once needed in std library or by the compiler. + Loong64.HasLSX = hwcIsSet(hwCap, hwcap_LOONGARCH_LSX) + Loong64.HasLASX = hwcIsSet(hwCap, hwcap_LOONGARCH_LASX) +} + +func hwcIsSet(hwc uint, val uint) bool { + return hwc&val != 0 +} diff --git a/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go b/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go index 7d902b6847..a428dec9cd 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go +++ b/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x && !riscv64 +//go:build linux && !arm && !arm64 && !loong64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x && !riscv64 package cpu diff --git a/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go b/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go index cb4a0c5728..ad741536f3 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go @@ -58,6 +58,15 @@ const ( riscv_HWPROBE_EXT_ZBA = 0x8 riscv_HWPROBE_EXT_ZBB = 0x10 riscv_HWPROBE_EXT_ZBS = 0x20 + riscv_HWPROBE_EXT_ZVBB = 0x20000 + riscv_HWPROBE_EXT_ZVBC = 0x40000 + riscv_HWPROBE_EXT_ZVKB = 0x80000 + riscv_HWPROBE_EXT_ZVKG = 0x100000 + riscv_HWPROBE_EXT_ZVKNED = 0x200000 + riscv_HWPROBE_EXT_ZVKNHB = 0x800000 + riscv_HWPROBE_EXT_ZVKSED = 0x1000000 + riscv_HWPROBE_EXT_ZVKSH = 0x2000000 + riscv_HWPROBE_EXT_ZVKT = 0x4000000 riscv_HWPROBE_KEY_CPUPERF_0 = 0x5 riscv_HWPROBE_MISALIGNED_FAST = 0x3 riscv_HWPROBE_MISALIGNED_MASK = 0x7 @@ -99,6 +108,20 @@ func doinit() { RISCV64.HasZba = isSet(v, riscv_HWPROBE_EXT_ZBA) RISCV64.HasZbb = isSet(v, riscv_HWPROBE_EXT_ZBB) RISCV64.HasZbs = isSet(v, riscv_HWPROBE_EXT_ZBS) + RISCV64.HasZvbb = isSet(v, riscv_HWPROBE_EXT_ZVBB) + RISCV64.HasZvbc = isSet(v, riscv_HWPROBE_EXT_ZVBC) + RISCV64.HasZvkb = isSet(v, riscv_HWPROBE_EXT_ZVKB) + RISCV64.HasZvkg = isSet(v, riscv_HWPROBE_EXT_ZVKG) + RISCV64.HasZvkt = isSet(v, riscv_HWPROBE_EXT_ZVKT) + // Cryptography shorthand extensions + RISCV64.HasZvkn = isSet(v, riscv_HWPROBE_EXT_ZVKNED) && + isSet(v, riscv_HWPROBE_EXT_ZVKNHB) && RISCV64.HasZvkb && RISCV64.HasZvkt + RISCV64.HasZvknc = RISCV64.HasZvkn && RISCV64.HasZvbc + RISCV64.HasZvkng = RISCV64.HasZvkn && RISCV64.HasZvkg + RISCV64.HasZvks = isSet(v, riscv_HWPROBE_EXT_ZVKSED) && + isSet(v, riscv_HWPROBE_EXT_ZVKSH) && RISCV64.HasZvkb && RISCV64.HasZvkt + RISCV64.HasZvksc = RISCV64.HasZvks && RISCV64.HasZvbc + RISCV64.HasZvksg = RISCV64.HasZvks && RISCV64.HasZvkg } if pairs[1].key != -1 { v := pairs[1].value & riscv_HWPROBE_MISALIGNED_MASK diff --git a/vendor/golang.org/x/sys/cpu/cpu_loong64.go b/vendor/golang.org/x/sys/cpu/cpu_loong64.go index 558635850c..45ecb29ae7 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_loong64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_loong64.go @@ -8,5 +8,43 @@ package cpu const cacheLineSize = 64 +// Bit fields for CPUCFG registers, Related reference documents: +// https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_cpucfg +const ( + // CPUCFG1 bits + cpucfg1_CRC32 = 1 << 25 + + // CPUCFG2 bits + cpucfg2_LAM_BH = 1 << 27 + cpucfg2_LAMCAS = 1 << 28 +) + func initOptions() { + options = []option{ + {Name: "lsx", Feature: &Loong64.HasLSX}, + {Name: "lasx", Feature: &Loong64.HasLASX}, + {Name: "crc32", Feature: &Loong64.HasCRC32}, + {Name: "lam_bh", Feature: &Loong64.HasLAM_BH}, + {Name: "lamcas", Feature: &Loong64.HasLAMCAS}, + } + + // The CPUCFG data on Loong64 only reflects the hardware capabilities, + // not the kernel support status, so features such as LSX and LASX that + // require kernel support cannot be obtained from the CPUCFG data. + // + // These features only require hardware capability support and do not + // require kernel specific support, so they can be obtained directly + // through CPUCFG + cfg1 := get_cpucfg(1) + cfg2 := get_cpucfg(2) + + Loong64.HasCRC32 = cfgIsSet(cfg1, cpucfg1_CRC32) + Loong64.HasLAMCAS = cfgIsSet(cfg2, cpucfg2_LAMCAS) + Loong64.HasLAM_BH = cfgIsSet(cfg2, cpucfg2_LAM_BH) +} + +func get_cpucfg(reg uint32) uint32 + +func cfgIsSet(cfg uint32, val uint32) bool { + return cfg&val != 0 } diff --git a/vendor/golang.org/x/sys/cpu/cpu_loong64.s b/vendor/golang.org/x/sys/cpu/cpu_loong64.s new file mode 100644 index 0000000000..71cbaf1ce2 --- /dev/null +++ b/vendor/golang.org/x/sys/cpu/cpu_loong64.s @@ -0,0 +1,13 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "textflag.h" + +// func get_cpucfg(reg uint32) uint32 +TEXT ·get_cpucfg(SB), NOSPLIT|NOFRAME, $0 + MOVW reg+0(FP), R5 + // CPUCFG R5, R4 = 0x00006ca4 + WORD $0x00006ca4 + MOVW R4, ret+8(FP) + RET diff --git a/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go index ebfb3fc8e7..19aea0633e 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_netbsd_arm64.go @@ -167,7 +167,7 @@ func doinit() { setMinimalFeatures() return } - parseARM64SystemRegisters(cpuid.aa64isar0, cpuid.aa64isar1, cpuid.aa64pfr0) + parseARM64SystemRegisters(cpuid.aa64isar0, cpuid.aa64isar1, cpuid.aa64mmfr1, cpuid.aa64pfr0) Initialized = true } diff --git a/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go b/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go index 85b64d5ccb..87fd3a7780 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_openbsd_arm64.go @@ -59,7 +59,7 @@ func doinit() { if !ok { return } - parseARM64SystemRegisters(isar0, isar1, 0) + parseARM64SystemRegisters(isar0, isar1, 0, 0) Initialized = true } diff --git a/vendor/golang.org/x/sys/cpu/cpu_riscv64.go b/vendor/golang.org/x/sys/cpu/cpu_riscv64.go index aca3199c91..0f617aef54 100644 --- a/vendor/golang.org/x/sys/cpu/cpu_riscv64.go +++ b/vendor/golang.org/x/sys/cpu/cpu_riscv64.go @@ -16,5 +16,17 @@ func initOptions() { {Name: "zba", Feature: &RISCV64.HasZba}, {Name: "zbb", Feature: &RISCV64.HasZbb}, {Name: "zbs", Feature: &RISCV64.HasZbs}, + // RISC-V Cryptography Extensions + {Name: "zvbb", Feature: &RISCV64.HasZvbb}, + {Name: "zvbc", Feature: &RISCV64.HasZvbc}, + {Name: "zvkb", Feature: &RISCV64.HasZvkb}, + {Name: "zvkg", Feature: &RISCV64.HasZvkg}, + {Name: "zvkt", Feature: &RISCV64.HasZvkt}, + {Name: "zvkn", Feature: &RISCV64.HasZvkn}, + {Name: "zvknc", Feature: &RISCV64.HasZvknc}, + {Name: "zvkng", Feature: &RISCV64.HasZvkng}, + {Name: "zvks", Feature: &RISCV64.HasZvks}, + {Name: "zvksc", Feature: &RISCV64.HasZvksc}, + {Name: "zvksg", Feature: &RISCV64.HasZvksg}, } } diff --git a/vendor/golang.org/x/sys/cpu/parse.go b/vendor/golang.org/x/sys/cpu/parse.go index 762b63d688..56a7e1a176 100644 --- a/vendor/golang.org/x/sys/cpu/parse.go +++ b/vendor/golang.org/x/sys/cpu/parse.go @@ -13,7 +13,7 @@ import "strconv" // https://golang.org/cl/209597. func parseRelease(rel string) (major, minor, patch int, ok bool) { // Strip anything after a dash or plus. - for i := 0; i < len(rel); i++ { + for i := range len(rel) { if rel[i] == '-' || rel[i] == '+' { rel = rel[:i] break @@ -21,7 +21,7 @@ func parseRelease(rel string) (major, minor, patch int, ok bool) { } next := func() (int, bool) { - for i := 0; i < len(rel); i++ { + for i := range len(rel) { if rel[i] == '.' { ver, err := strconv.Atoi(rel[:i]) rel = rel[i+1:] diff --git a/vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go b/vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go deleted file mode 100644 index 73687de748..0000000000 --- a/vendor/golang.org/x/sys/plan9/pwd_go15_plan9.go +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright 2015 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.5 - -package plan9 - -import "syscall" - -func fixwd() { - syscall.Fixwd() -} - -func Getwd() (wd string, err error) { - return syscall.Getwd() -} - -func Chdir(path string) error { - return syscall.Chdir(path) -} diff --git a/vendor/golang.org/x/sys/plan9/pwd_plan9.go b/vendor/golang.org/x/sys/plan9/pwd_plan9.go index fb94582184..7a76489db1 100644 --- a/vendor/golang.org/x/sys/plan9/pwd_plan9.go +++ b/vendor/golang.org/x/sys/plan9/pwd_plan9.go @@ -2,22 +2,18 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !go1.5 - package plan9 +import "syscall" + func fixwd() { + syscall.Fixwd() } func Getwd() (wd string, err error) { - fd, err := open(".", O_RDONLY) - if err != nil { - return "", err - } - defer Close(fd) - return Fd2path(fd) + return syscall.Getwd() } func Chdir(path string) error { - return chdir(path) + return syscall.Chdir(path) } diff --git a/vendor/golang.org/x/sys/unix/affinity_linux.go b/vendor/golang.org/x/sys/unix/affinity_linux.go index 6e5c81acd0..3ea470387b 100644 --- a/vendor/golang.org/x/sys/unix/affinity_linux.go +++ b/vendor/golang.org/x/sys/unix/affinity_linux.go @@ -38,8 +38,15 @@ func SchedSetaffinity(pid int, set *CPUSet) error { // Zero clears the set s, so that it contains no CPUs. func (s *CPUSet) Zero() { + clear(s[:]) +} + +// Fill adds all possible CPU bits to the set s. On Linux, [SchedSetaffinity] +// will silently ignore any invalid CPU bits in [CPUSet] so this is an +// efficient way of resetting the CPU affinity of a process. +func (s *CPUSet) Fill() { for i := range s { - s[i] = 0 + s[i] = ^cpuMask(0) } } diff --git a/vendor/golang.org/x/sys/unix/fdset.go b/vendor/golang.org/x/sys/unix/fdset.go index 9e83d18cd0..62ed12645f 100644 --- a/vendor/golang.org/x/sys/unix/fdset.go +++ b/vendor/golang.org/x/sys/unix/fdset.go @@ -23,7 +23,5 @@ func (fds *FdSet) IsSet(fd int) bool { // Zero clears the set fds. func (fds *FdSet) Zero() { - for i := range fds.Bits { - fds.Bits[i] = 0 - } + clear(fds.Bits[:]) } diff --git a/vendor/golang.org/x/sys/unix/ifreq_linux.go b/vendor/golang.org/x/sys/unix/ifreq_linux.go index 848840ae4c..309f5a2b0c 100644 --- a/vendor/golang.org/x/sys/unix/ifreq_linux.go +++ b/vendor/golang.org/x/sys/unix/ifreq_linux.go @@ -111,9 +111,7 @@ func (ifr *Ifreq) SetUint32(v uint32) { // clear zeroes the ifreq's union field to prevent trailing garbage data from // being sent to the kernel if an ifreq is reused. func (ifr *Ifreq) clear() { - for i := range ifr.raw.Ifru { - ifr.raw.Ifru[i] = 0 - } + clear(ifr.raw.Ifru[:]) } // TODO(mdlayher): export as IfreqData? For now we can provide helpers such as diff --git a/vendor/golang.org/x/sys/unix/mkall.sh b/vendor/golang.org/x/sys/unix/mkall.sh index e6f31d374d..d0ed611912 100644 --- a/vendor/golang.org/x/sys/unix/mkall.sh +++ b/vendor/golang.org/x/sys/unix/mkall.sh @@ -49,6 +49,7 @@ esac if [[ "$GOOS" = "linux" ]]; then # Use the Docker-based build system # Files generated through docker (use $cmd so you can Ctl-C the build or run) + set -e $cmd docker build --tag generate:$GOOS $GOOS $cmd docker run --interactive --tty --volume $(cd -- "$(dirname -- "$0")/.." && pwd):/build generate:$GOOS exit diff --git a/vendor/golang.org/x/sys/unix/mkerrors.sh b/vendor/golang.org/x/sys/unix/mkerrors.sh index 6ab02b6c31..42517077c4 100644 --- a/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -226,6 +226,7 @@ struct ltchars { #include #include #include +#include #include #include #include @@ -349,6 +350,9 @@ struct ltchars { #define _HIDIOCGRAWPHYS HIDIOCGRAWPHYS(_HIDIOCGRAWPHYS_LEN) #define _HIDIOCGRAWUNIQ HIDIOCGRAWUNIQ(_HIDIOCGRAWUNIQ_LEN) +// Renamed in v6.16, commit c6d732c38f93 ("net: ethtool: remove duplicate defines for family info") +#define ETHTOOL_FAMILY_NAME ETHTOOL_GENL_NAME +#define ETHTOOL_FAMILY_VERSION ETHTOOL_GENL_VERSION ' includes_NetBSD=' @@ -526,6 +530,7 @@ ccflags="$@" $2 ~ /^O[CNPFPL][A-Z]+[^_][A-Z]+$/ || $2 ~ /^(NL|CR|TAB|BS|VT|FF)DLY$/ || $2 ~ /^(NL|CR|TAB|BS|VT|FF)[0-9]$/ || + $2 ~ /^(DT|EI|ELF|EV|NN|NT|PF|SHF|SHN|SHT|STB|STT|VER)_/ || $2 ~ /^O?XTABS$/ || $2 ~ /^TC[IO](ON|OFF)$/ || $2 ~ /^IN_/ || diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go index 099867deed..7838ca5db2 100644 --- a/vendor/golang.org/x/sys/unix/syscall_darwin.go +++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go @@ -602,6 +602,95 @@ func Connectx(fd int, srcIf uint32, srcAddr, dstAddr Sockaddr, associd SaeAssocI return } +const minIovec = 8 + +func Readv(fd int, iovs [][]byte) (n int, err error) { + iovecs := make([]Iovec, 0, minIovec) + iovecs = appendBytes(iovecs, iovs) + n, err = readv(fd, iovecs) + readvRacedetect(iovecs, n, err) + return n, err +} + +func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) { + iovecs := make([]Iovec, 0, minIovec) + iovecs = appendBytes(iovecs, iovs) + n, err = preadv(fd, iovecs, offset) + readvRacedetect(iovecs, n, err) + return n, err +} + +func Writev(fd int, iovs [][]byte) (n int, err error) { + iovecs := make([]Iovec, 0, minIovec) + iovecs = appendBytes(iovecs, iovs) + if raceenabled { + raceReleaseMerge(unsafe.Pointer(&ioSync)) + } + n, err = writev(fd, iovecs) + writevRacedetect(iovecs, n) + return n, err +} + +func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) { + iovecs := make([]Iovec, 0, minIovec) + iovecs = appendBytes(iovecs, iovs) + if raceenabled { + raceReleaseMerge(unsafe.Pointer(&ioSync)) + } + n, err = pwritev(fd, iovecs, offset) + writevRacedetect(iovecs, n) + return n, err +} + +func appendBytes(vecs []Iovec, bs [][]byte) []Iovec { + for _, b := range bs { + var v Iovec + v.SetLen(len(b)) + if len(b) > 0 { + v.Base = &b[0] + } else { + v.Base = (*byte)(unsafe.Pointer(&_zero)) + } + vecs = append(vecs, v) + } + return vecs +} + +func writevRacedetect(iovecs []Iovec, n int) { + if !raceenabled { + return + } + for i := 0; n > 0 && i < len(iovecs); i++ { + m := int(iovecs[i].Len) + if m > n { + m = n + } + n -= m + if m > 0 { + raceReadRange(unsafe.Pointer(iovecs[i].Base), m) + } + } +} + +func readvRacedetect(iovecs []Iovec, n int, err error) { + if !raceenabled { + return + } + for i := 0; n > 0 && i < len(iovecs); i++ { + m := int(iovecs[i].Len) + if m > n { + m = n + } + n -= m + if m > 0 { + raceWriteRange(unsafe.Pointer(iovecs[i].Base), m) + } + } + if err == nil { + raceAcquire(unsafe.Pointer(&ioSync)) + } +} + //sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error) //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) @@ -705,3 +794,7 @@ func Connectx(fd int, srcIf uint32, srcAddr, dstAddr Sockaddr, associd SaeAssocI //sys write(fd int, p []byte) (n int, err error) //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) //sys munmap(addr uintptr, length uintptr) (err error) +//sys readv(fd int, iovecs []Iovec) (n int, err error) +//sys preadv(fd int, iovecs []Iovec, offset int64) (n int, err error) +//sys writev(fd int, iovecs []Iovec) (n int, err error) +//sys pwritev(fd int, iovecs []Iovec, offset int64) (n int, err error) diff --git a/vendor/golang.org/x/sys/unix/syscall_linux.go b/vendor/golang.org/x/sys/unix/syscall_linux.go index 230a94549a..06c0eea6fb 100644 --- a/vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/vendor/golang.org/x/sys/unix/syscall_linux.go @@ -13,6 +13,7 @@ package unix import ( "encoding/binary" + "slices" "strconv" "syscall" "time" @@ -417,7 +418,7 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { return nil, 0, EINVAL } sa.raw.Family = AF_UNIX - for i := 0; i < n; i++ { + for i := range n { sa.raw.Path[i] = int8(name[i]) } // length is family (uint16), name, NUL. @@ -507,7 +508,7 @@ func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) { psm := (*[2]byte)(unsafe.Pointer(&sa.raw.Psm)) psm[0] = byte(sa.PSM) psm[1] = byte(sa.PSM >> 8) - for i := 0; i < len(sa.Addr); i++ { + for i := range len(sa.Addr) { sa.raw.Bdaddr[i] = sa.Addr[len(sa.Addr)-1-i] } cid := (*[2]byte)(unsafe.Pointer(&sa.raw.Cid)) @@ -589,11 +590,11 @@ func (sa *SockaddrCAN) sockaddr() (unsafe.Pointer, _Socklen, error) { sa.raw.Family = AF_CAN sa.raw.Ifindex = int32(sa.Ifindex) rx := (*[4]byte)(unsafe.Pointer(&sa.RxID)) - for i := 0; i < 4; i++ { + for i := range 4 { sa.raw.Addr[i] = rx[i] } tx := (*[4]byte)(unsafe.Pointer(&sa.TxID)) - for i := 0; i < 4; i++ { + for i := range 4 { sa.raw.Addr[i+4] = tx[i] } return unsafe.Pointer(&sa.raw), SizeofSockaddrCAN, nil @@ -618,11 +619,11 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) { sa.raw.Family = AF_CAN sa.raw.Ifindex = int32(sa.Ifindex) n := (*[8]byte)(unsafe.Pointer(&sa.Name)) - for i := 0; i < 8; i++ { + for i := range 8 { sa.raw.Addr[i] = n[i] } p := (*[4]byte)(unsafe.Pointer(&sa.PGN)) - for i := 0; i < 4; i++ { + for i := range 4 { sa.raw.Addr[i+8] = p[i] } sa.raw.Addr[12] = sa.Addr @@ -800,9 +801,7 @@ func (sa *SockaddrPPPoE) sockaddr() (unsafe.Pointer, _Socklen, error) { // one. The kernel expects SID to be in network byte order. binary.BigEndian.PutUint16(sa.raw[6:8], sa.SID) copy(sa.raw[8:14], sa.Remote) - for i := 14; i < 14+IFNAMSIZ; i++ { - sa.raw[i] = 0 - } + clear(sa.raw[14 : 14+IFNAMSIZ]) copy(sa.raw[14:], sa.Dev) return unsafe.Pointer(&sa.raw), SizeofSockaddrPPPoX, nil } @@ -911,7 +910,7 @@ func (sa *SockaddrIUCV) sockaddr() (unsafe.Pointer, _Socklen, error) { // These are EBCDIC encoded by the kernel, but we still need to pad them // with blanks. Initializing with blanks allows the caller to feed in either // a padded or an unpadded string. - for i := 0; i < 8; i++ { + for i := range 8 { sa.raw.Nodeid[i] = ' ' sa.raw.User_id[i] = ' ' sa.raw.Name[i] = ' ' @@ -1148,7 +1147,7 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { var user [8]byte var name [8]byte - for i := 0; i < 8; i++ { + for i := range 8 { user[i] = byte(pp.User_id[i]) name[i] = byte(pp.Name[i]) } @@ -1173,11 +1172,11 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { Ifindex: int(pp.Ifindex), } name := (*[8]byte)(unsafe.Pointer(&sa.Name)) - for i := 0; i < 8; i++ { + for i := range 8 { name[i] = pp.Addr[i] } pgn := (*[4]byte)(unsafe.Pointer(&sa.PGN)) - for i := 0; i < 4; i++ { + for i := range 4 { pgn[i] = pp.Addr[i+8] } addr := (*[1]byte)(unsafe.Pointer(&sa.Addr)) @@ -1188,11 +1187,11 @@ func anyToSockaddr(fd int, rsa *RawSockaddrAny) (Sockaddr, error) { Ifindex: int(pp.Ifindex), } rx := (*[4]byte)(unsafe.Pointer(&sa.RxID)) - for i := 0; i < 4; i++ { + for i := range 4 { rx[i] = pp.Addr[i] } tx := (*[4]byte)(unsafe.Pointer(&sa.TxID)) - for i := 0; i < 4; i++ { + for i := range 4 { tx[i] = pp.Addr[i+4] } return sa, nil @@ -2216,10 +2215,7 @@ func readvRacedetect(iovecs []Iovec, n int, err error) { return } for i := 0; n > 0 && i < len(iovecs); i++ { - m := int(iovecs[i].Len) - if m > n { - m = n - } + m := min(int(iovecs[i].Len), n) n -= m if m > 0 { raceWriteRange(unsafe.Pointer(iovecs[i].Base), m) @@ -2270,10 +2266,7 @@ func writevRacedetect(iovecs []Iovec, n int) { return } for i := 0; n > 0 && i < len(iovecs); i++ { - m := int(iovecs[i].Len) - if m > n { - m = n - } + m := min(int(iovecs[i].Len), n) n -= m if m > 0 { raceReadRange(unsafe.Pointer(iovecs[i].Base), m) @@ -2320,12 +2313,7 @@ func isGroupMember(gid int) bool { return false } - for _, g := range groups { - if g == gid { - return true - } - } - return false + return slices.Contains(groups, gid) } func isCapDacOverrideSet() bool { @@ -2655,3 +2643,9 @@ func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) { //sys Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error) //sys Mseal(b []byte, flags uint) (err error) + +//sys setMemPolicy(mode int, mask *CPUSet, size int) (err error) = SYS_SET_MEMPOLICY + +func SetMemPolicy(mode int, mask *CPUSet) error { + return setMemPolicy(mode, mask, _CPU_SETSIZE) +} diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd.go b/vendor/golang.org/x/sys/unix/syscall_netbsd.go index 88162099af..34a4676973 100644 --- a/vendor/golang.org/x/sys/unix/syscall_netbsd.go +++ b/vendor/golang.org/x/sys/unix/syscall_netbsd.go @@ -248,6 +248,23 @@ func Statvfs(path string, buf *Statvfs_t) (err error) { return Statvfs1(path, buf, ST_WAIT) } +func Getvfsstat(buf []Statvfs_t, flags int) (n int, err error) { + var ( + _p0 unsafe.Pointer + bufsize uintptr + ) + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + bufsize = unsafe.Sizeof(Statvfs_t{}) * uintptr(len(buf)) + } + r0, _, e1 := Syscall(SYS_GETVFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = e1 + } + return +} + /* * Exposed directly */ diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go index abc3955477..18a3d9bdab 100644 --- a/vendor/golang.org/x/sys/unix/syscall_solaris.go +++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go @@ -629,7 +629,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e //sys Kill(pid int, signum syscall.Signal) (err error) //sys Lchown(path string, uid int, gid int) (err error) //sys Link(path string, link string) (err error) -//sys Listen(s int, backlog int) (err error) = libsocket.__xnet_llisten +//sys Listen(s int, backlog int) (err error) = libsocket.__xnet_listen //sys Lstat(path string, stat *Stat_t) (err error) //sys Madvise(b []byte, advice int) (err error) //sys Mkdir(path string, mode uint32) (err error) diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux.go b/vendor/golang.org/x/sys/unix/zerrors_linux.go index 4f432bfe8f..d0a75da572 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux.go @@ -319,6 +319,7 @@ const ( AUDIT_INTEGRITY_POLICY_RULE = 0x70f AUDIT_INTEGRITY_RULE = 0x70d AUDIT_INTEGRITY_STATUS = 0x70a + AUDIT_INTEGRITY_USERSPACE = 0x710 AUDIT_IPC = 0x517 AUDIT_IPC_SET_PERM = 0x51f AUDIT_IPE_ACCESS = 0x58c @@ -327,6 +328,8 @@ const ( AUDIT_KERNEL = 0x7d0 AUDIT_KERNEL_OTHER = 0x524 AUDIT_KERN_MODULE = 0x532 + AUDIT_LANDLOCK_ACCESS = 0x58f + AUDIT_LANDLOCK_DOMAIN = 0x590 AUDIT_LAST_FEATURE = 0x1 AUDIT_LAST_KERN_ANOM_MSG = 0x707 AUDIT_LAST_USER_MSG = 0x4af @@ -491,6 +494,7 @@ const ( BPF_F_BEFORE = 0x8 BPF_F_ID = 0x20 BPF_F_NETFILTER_IP_DEFRAG = 0x1 + BPF_F_PREORDER = 0x40 BPF_F_QUERY_EFFECTIVE = 0x1 BPF_F_REDIRECT_FLAGS = 0x19 BPF_F_REPLACE = 0x4 @@ -527,6 +531,7 @@ const ( BPF_LDX = 0x1 BPF_LEN = 0x80 BPF_LL_OFF = -0x200000 + BPF_LOAD_ACQ = 0x100 BPF_LSH = 0x60 BPF_MAJOR_VERSION = 0x1 BPF_MAXINSNS = 0x1000 @@ -554,6 +559,7 @@ const ( BPF_RET = 0x6 BPF_RSH = 0x70 BPF_ST = 0x2 + BPF_STORE_REL = 0x110 BPF_STX = 0x3 BPF_SUB = 0x10 BPF_TAG_SIZE = 0x8 @@ -843,24 +849,90 @@ const ( DM_UUID_FLAG = 0x4000 DM_UUID_LEN = 0x81 DM_VERSION = 0xc138fd00 - DM_VERSION_EXTRA = "-ioctl (2023-03-01)" + DM_VERSION_EXTRA = "-ioctl (2025-04-28)" DM_VERSION_MAJOR = 0x4 - DM_VERSION_MINOR = 0x30 + DM_VERSION_MINOR = 0x32 DM_VERSION_PATCHLEVEL = 0x0 + DT_ADDRRNGHI = 0x6ffffeff + DT_ADDRRNGLO = 0x6ffffe00 DT_BLK = 0x6 DT_CHR = 0x2 + DT_DEBUG = 0x15 DT_DIR = 0x4 + DT_ENCODING = 0x20 DT_FIFO = 0x1 + DT_FINI = 0xd + DT_FLAGS_1 = 0x6ffffffb + DT_GNU_HASH = 0x6ffffef5 + DT_HASH = 0x4 + DT_HIOS = 0x6ffff000 + DT_HIPROC = 0x7fffffff + DT_INIT = 0xc + DT_JMPREL = 0x17 DT_LNK = 0xa + DT_LOOS = 0x6000000d + DT_LOPROC = 0x70000000 + DT_NEEDED = 0x1 + DT_NULL = 0x0 + DT_PLTGOT = 0x3 + DT_PLTREL = 0x14 + DT_PLTRELSZ = 0x2 DT_REG = 0x8 + DT_REL = 0x11 + DT_RELA = 0x7 + DT_RELACOUNT = 0x6ffffff9 + DT_RELAENT = 0x9 + DT_RELASZ = 0x8 + DT_RELCOUNT = 0x6ffffffa + DT_RELENT = 0x13 + DT_RELSZ = 0x12 + DT_RPATH = 0xf DT_SOCK = 0xc + DT_SONAME = 0xe + DT_STRSZ = 0xa + DT_STRTAB = 0x5 + DT_SYMBOLIC = 0x10 + DT_SYMENT = 0xb + DT_SYMTAB = 0x6 + DT_TEXTREL = 0x16 DT_UNKNOWN = 0x0 + DT_VALRNGHI = 0x6ffffdff + DT_VALRNGLO = 0x6ffffd00 + DT_VERDEF = 0x6ffffffc + DT_VERDEFNUM = 0x6ffffffd + DT_VERNEED = 0x6ffffffe + DT_VERNEEDNUM = 0x6fffffff + DT_VERSYM = 0x6ffffff0 DT_WHT = 0xe ECHO = 0x8 ECRYPTFS_SUPER_MAGIC = 0xf15f EFD_SEMAPHORE = 0x1 EFIVARFS_MAGIC = 0xde5e81e4 EFS_SUPER_MAGIC = 0x414a53 + EI_CLASS = 0x4 + EI_DATA = 0x5 + EI_MAG0 = 0x0 + EI_MAG1 = 0x1 + EI_MAG2 = 0x2 + EI_MAG3 = 0x3 + EI_NIDENT = 0x10 + EI_OSABI = 0x7 + EI_PAD = 0x8 + EI_VERSION = 0x6 + ELFCLASS32 = 0x1 + ELFCLASS64 = 0x2 + ELFCLASSNONE = 0x0 + ELFCLASSNUM = 0x3 + ELFDATA2LSB = 0x1 + ELFDATA2MSB = 0x2 + ELFDATANONE = 0x0 + ELFMAG = "\177ELF" + ELFMAG0 = 0x7f + ELFMAG1 = 'E' + ELFMAG2 = 'L' + ELFMAG3 = 'F' + ELFOSABI_LINUX = 0x3 + ELFOSABI_NONE = 0x0 EM_386 = 0x3 EM_486 = 0x6 EM_68K = 0x4 @@ -936,11 +1008,10 @@ const ( EPOLL_CTL_MOD = 0x3 EPOLL_IOC_TYPE = 0x8a EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2 - ESP_V4_FLOW = 0xa - ESP_V6_FLOW = 0xc - ETHER_FLOW = 0x12 ETHTOOL_BUSINFO_LEN = 0x20 ETHTOOL_EROMVERS_LEN = 0x20 + ETHTOOL_FAMILY_NAME = "ethtool" + ETHTOOL_FAMILY_VERSION = 0x1 ETHTOOL_FEC_AUTO = 0x2 ETHTOOL_FEC_BASER = 0x10 ETHTOOL_FEC_LLRS = 0x20 @@ -1147,14 +1218,24 @@ const ( ETH_P_WCCP = 0x883e ETH_P_X25 = 0x805 ETH_P_XDSA = 0xf8 + ET_CORE = 0x4 + ET_DYN = 0x3 + ET_EXEC = 0x2 + ET_HIPROC = 0xffff + ET_LOPROC = 0xff00 + ET_NONE = 0x0 + ET_REL = 0x1 EV_ABS = 0x3 EV_CNT = 0x20 + EV_CURRENT = 0x1 EV_FF = 0x15 EV_FF_STATUS = 0x17 EV_KEY = 0x1 EV_LED = 0x11 EV_MAX = 0x1f EV_MSC = 0x4 + EV_NONE = 0x0 + EV_NUM = 0x2 EV_PWR = 0x16 EV_REL = 0x2 EV_REP = 0x14 @@ -1203,13 +1284,18 @@ const ( FAN_DENY = 0x2 FAN_ENABLE_AUDIT = 0x40 FAN_EPIDFD = -0x2 + FAN_ERRNO_BITS = 0x8 + FAN_ERRNO_MASK = 0xff + FAN_ERRNO_SHIFT = 0x18 FAN_EVENT_INFO_TYPE_DFID = 0x3 FAN_EVENT_INFO_TYPE_DFID_NAME = 0x2 FAN_EVENT_INFO_TYPE_ERROR = 0x5 FAN_EVENT_INFO_TYPE_FID = 0x1 + FAN_EVENT_INFO_TYPE_MNT = 0x7 FAN_EVENT_INFO_TYPE_NEW_DFID_NAME = 0xc FAN_EVENT_INFO_TYPE_OLD_DFID_NAME = 0xa FAN_EVENT_INFO_TYPE_PIDFD = 0x4 + FAN_EVENT_INFO_TYPE_RANGE = 0x6 FAN_EVENT_METADATA_LEN = 0x18 FAN_EVENT_ON_CHILD = 0x8000000 FAN_FS_ERROR = 0x8000 @@ -1224,9 +1310,12 @@ const ( FAN_MARK_IGNORED_SURV_MODIFY = 0x40 FAN_MARK_IGNORE_SURV = 0x440 FAN_MARK_INODE = 0x0 + FAN_MARK_MNTNS = 0x110 FAN_MARK_MOUNT = 0x10 FAN_MARK_ONLYDIR = 0x8 FAN_MARK_REMOVE = 0x2 + FAN_MNT_ATTACH = 0x1000000 + FAN_MNT_DETACH = 0x2000000 FAN_MODIFY = 0x2 FAN_MOVE = 0xc0 FAN_MOVED_FROM = 0x40 @@ -1240,6 +1329,7 @@ const ( FAN_OPEN_EXEC = 0x1000 FAN_OPEN_EXEC_PERM = 0x40000 FAN_OPEN_PERM = 0x10000 + FAN_PRE_ACCESS = 0x100000 FAN_Q_OVERFLOW = 0x4000 FAN_RENAME = 0x10000000 FAN_REPORT_DFID_NAME = 0xc00 @@ -1247,6 +1337,7 @@ const ( FAN_REPORT_DIR_FID = 0x400 FAN_REPORT_FD_ERROR = 0x2000 FAN_REPORT_FID = 0x200 + FAN_REPORT_MNT = 0x4000 FAN_REPORT_NAME = 0x800 FAN_REPORT_PIDFD = 0x80 FAN_REPORT_TARGET_FID = 0x1000 @@ -1266,6 +1357,7 @@ const ( FIB_RULE_PERMANENT = 0x1 FIB_RULE_UNRESOLVED = 0x4 FIDEDUPERANGE = 0xc0189436 + FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED = 0x1 FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8 FSCRYPT_KEY_DESC_PREFIX = "fscrypt:" FSCRYPT_KEY_DESC_PREFIX_SIZE = 0x8 @@ -1574,7 +1666,6 @@ const ( IPV6_DONTFRAG = 0x3e IPV6_DROP_MEMBERSHIP = 0x15 IPV6_DSTOPTS = 0x3b - IPV6_FLOW = 0x11 IPV6_FREEBIND = 0x4e IPV6_HDRINCL = 0x24 IPV6_HOPLIMIT = 0x34 @@ -1625,7 +1716,6 @@ const ( IPV6_TRANSPARENT = 0x4b IPV6_UNICAST_HOPS = 0x10 IPV6_UNICAST_IF = 0x4c - IPV6_USER_FLOW = 0xe IPV6_V6ONLY = 0x1a IPV6_VERSION = 0x60 IPV6_VERSION_MASK = 0xf0 @@ -1687,7 +1777,6 @@ const ( IP_TTL = 0x2 IP_UNBLOCK_SOURCE = 0x25 IP_UNICAST_IF = 0x32 - IP_USER_FLOW = 0xd IP_XFRM_POLICY = 0x11 ISOFS_SUPER_MAGIC = 0x9660 ISTRIP = 0x20 @@ -1809,7 +1898,11 @@ const ( LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2 LANDLOCK_ACCESS_NET_BIND_TCP = 0x1 LANDLOCK_ACCESS_NET_CONNECT_TCP = 0x2 + LANDLOCK_CREATE_RULESET_ERRATA = 0x2 LANDLOCK_CREATE_RULESET_VERSION = 0x1 + LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON = 0x2 + LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF = 0x1 + LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF = 0x4 LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET = 0x1 LANDLOCK_SCOPE_SIGNAL = 0x2 LINUX_REBOOT_CMD_CAD_OFF = 0x0 @@ -2259,7 +2352,167 @@ const ( NLM_F_REPLACE = 0x100 NLM_F_REQUEST = 0x1 NLM_F_ROOT = 0x100 + NN_386_IOPERM = "LINUX" + NN_386_TLS = "LINUX" + NN_ARC_V2 = "LINUX" + NN_ARM_FPMR = "LINUX" + NN_ARM_GCS = "LINUX" + NN_ARM_HW_BREAK = "LINUX" + NN_ARM_HW_WATCH = "LINUX" + NN_ARM_PACA_KEYS = "LINUX" + NN_ARM_PACG_KEYS = "LINUX" + NN_ARM_PAC_ENABLED_KEYS = "LINUX" + NN_ARM_PAC_MASK = "LINUX" + NN_ARM_POE = "LINUX" + NN_ARM_SSVE = "LINUX" + NN_ARM_SVE = "LINUX" + NN_ARM_SYSTEM_CALL = "LINUX" + NN_ARM_TAGGED_ADDR_CTRL = "LINUX" + NN_ARM_TLS = "LINUX" + NN_ARM_VFP = "LINUX" + NN_ARM_ZA = "LINUX" + NN_ARM_ZT = "LINUX" + NN_AUXV = "CORE" + NN_FILE = "CORE" + NN_GNU_PROPERTY_TYPE_0 = "GNU" + NN_LOONGARCH_CPUCFG = "LINUX" + NN_LOONGARCH_CSR = "LINUX" + NN_LOONGARCH_HW_BREAK = "LINUX" + NN_LOONGARCH_HW_WATCH = "LINUX" + NN_LOONGARCH_LASX = "LINUX" + NN_LOONGARCH_LBT = "LINUX" + NN_LOONGARCH_LSX = "LINUX" + NN_MIPS_DSP = "LINUX" + NN_MIPS_FP_MODE = "LINUX" + NN_MIPS_MSA = "LINUX" + NN_PPC_DEXCR = "LINUX" + NN_PPC_DSCR = "LINUX" + NN_PPC_EBB = "LINUX" + NN_PPC_HASHKEYR = "LINUX" + NN_PPC_PKEY = "LINUX" + NN_PPC_PMU = "LINUX" + NN_PPC_PPR = "LINUX" + NN_PPC_SPE = "LINUX" + NN_PPC_TAR = "LINUX" + NN_PPC_TM_CDSCR = "LINUX" + NN_PPC_TM_CFPR = "LINUX" + NN_PPC_TM_CGPR = "LINUX" + NN_PPC_TM_CPPR = "LINUX" + NN_PPC_TM_CTAR = "LINUX" + NN_PPC_TM_CVMX = "LINUX" + NN_PPC_TM_CVSX = "LINUX" + NN_PPC_TM_SPR = "LINUX" + NN_PPC_VMX = "LINUX" + NN_PPC_VSX = "LINUX" + NN_PRFPREG = "CORE" + NN_PRPSINFO = "CORE" + NN_PRSTATUS = "CORE" + NN_PRXFPREG = "LINUX" + NN_RISCV_CSR = "LINUX" + NN_RISCV_TAGGED_ADDR_CTRL = "LINUX" + NN_RISCV_VECTOR = "LINUX" + NN_S390_CTRS = "LINUX" + NN_S390_GS_BC = "LINUX" + NN_S390_GS_CB = "LINUX" + NN_S390_HIGH_GPRS = "LINUX" + NN_S390_LAST_BREAK = "LINUX" + NN_S390_PREFIX = "LINUX" + NN_S390_PV_CPU_DATA = "LINUX" + NN_S390_RI_CB = "LINUX" + NN_S390_SYSTEM_CALL = "LINUX" + NN_S390_TDB = "LINUX" + NN_S390_TIMER = "LINUX" + NN_S390_TODCMP = "LINUX" + NN_S390_TODPREG = "LINUX" + NN_S390_VXRS_HIGH = "LINUX" + NN_S390_VXRS_LOW = "LINUX" + NN_SIGINFO = "CORE" + NN_TASKSTRUCT = "CORE" + NN_VMCOREDD = "LINUX" + NN_X86_SHSTK = "LINUX" + NN_X86_XSAVE_LAYOUT = "LINUX" + NN_X86_XSTATE = "LINUX" NSFS_MAGIC = 0x6e736673 + NT_386_IOPERM = 0x201 + NT_386_TLS = 0x200 + NT_ARC_V2 = 0x600 + NT_ARM_FPMR = 0x40e + NT_ARM_GCS = 0x410 + NT_ARM_HW_BREAK = 0x402 + NT_ARM_HW_WATCH = 0x403 + NT_ARM_PACA_KEYS = 0x407 + NT_ARM_PACG_KEYS = 0x408 + NT_ARM_PAC_ENABLED_KEYS = 0x40a + NT_ARM_PAC_MASK = 0x406 + NT_ARM_POE = 0x40f + NT_ARM_SSVE = 0x40b + NT_ARM_SVE = 0x405 + NT_ARM_SYSTEM_CALL = 0x404 + NT_ARM_TAGGED_ADDR_CTRL = 0x409 + NT_ARM_TLS = 0x401 + NT_ARM_VFP = 0x400 + NT_ARM_ZA = 0x40c + NT_ARM_ZT = 0x40d + NT_AUXV = 0x6 + NT_FILE = 0x46494c45 + NT_GNU_PROPERTY_TYPE_0 = 0x5 + NT_LOONGARCH_CPUCFG = 0xa00 + NT_LOONGARCH_CSR = 0xa01 + NT_LOONGARCH_HW_BREAK = 0xa05 + NT_LOONGARCH_HW_WATCH = 0xa06 + NT_LOONGARCH_LASX = 0xa03 + NT_LOONGARCH_LBT = 0xa04 + NT_LOONGARCH_LSX = 0xa02 + NT_MIPS_DSP = 0x800 + NT_MIPS_FP_MODE = 0x801 + NT_MIPS_MSA = 0x802 + NT_PPC_DEXCR = 0x111 + NT_PPC_DSCR = 0x105 + NT_PPC_EBB = 0x106 + NT_PPC_HASHKEYR = 0x112 + NT_PPC_PKEY = 0x110 + NT_PPC_PMU = 0x107 + NT_PPC_PPR = 0x104 + NT_PPC_SPE = 0x101 + NT_PPC_TAR = 0x103 + NT_PPC_TM_CDSCR = 0x10f + NT_PPC_TM_CFPR = 0x109 + NT_PPC_TM_CGPR = 0x108 + NT_PPC_TM_CPPR = 0x10e + NT_PPC_TM_CTAR = 0x10d + NT_PPC_TM_CVMX = 0x10a + NT_PPC_TM_CVSX = 0x10b + NT_PPC_TM_SPR = 0x10c + NT_PPC_VMX = 0x100 + NT_PPC_VSX = 0x102 + NT_PRFPREG = 0x2 + NT_PRPSINFO = 0x3 + NT_PRSTATUS = 0x1 + NT_PRXFPREG = 0x46e62b7f + NT_RISCV_CSR = 0x900 + NT_RISCV_TAGGED_ADDR_CTRL = 0x902 + NT_RISCV_VECTOR = 0x901 + NT_S390_CTRS = 0x304 + NT_S390_GS_BC = 0x30c + NT_S390_GS_CB = 0x30b + NT_S390_HIGH_GPRS = 0x300 + NT_S390_LAST_BREAK = 0x306 + NT_S390_PREFIX = 0x305 + NT_S390_PV_CPU_DATA = 0x30e + NT_S390_RI_CB = 0x30d + NT_S390_SYSTEM_CALL = 0x307 + NT_S390_TDB = 0x308 + NT_S390_TIMER = 0x301 + NT_S390_TODCMP = 0x302 + NT_S390_TODPREG = 0x303 + NT_S390_VXRS_HIGH = 0x30a + NT_S390_VXRS_LOW = 0x309 + NT_SIGINFO = 0x53494749 + NT_TASKSTRUCT = 0x4 + NT_VMCOREDD = 0x700 + NT_X86_SHSTK = 0x204 + NT_X86_XSAVE_LAYOUT = 0x205 + NT_X86_XSTATE = 0x202 OCFS2_SUPER_MAGIC = 0x7461636f OCRNL = 0x8 OFDEL = 0x80 @@ -2446,6 +2699,59 @@ const ( PERF_RECORD_MISC_USER = 0x2 PERF_SAMPLE_BRANCH_PLM_ALL = 0x7 PERF_SAMPLE_WEIGHT_TYPE = 0x1004000 + PF_ALG = 0x26 + PF_APPLETALK = 0x5 + PF_ASH = 0x12 + PF_ATMPVC = 0x8 + PF_ATMSVC = 0x14 + PF_AX25 = 0x3 + PF_BLUETOOTH = 0x1f + PF_BRIDGE = 0x7 + PF_CAIF = 0x25 + PF_CAN = 0x1d + PF_DECnet = 0xc + PF_ECONET = 0x13 + PF_FILE = 0x1 + PF_IB = 0x1b + PF_IEEE802154 = 0x24 + PF_INET = 0x2 + PF_INET6 = 0xa + PF_IPX = 0x4 + PF_IRDA = 0x17 + PF_ISDN = 0x22 + PF_IUCV = 0x20 + PF_KCM = 0x29 + PF_KEY = 0xf + PF_LLC = 0x1a + PF_LOCAL = 0x1 + PF_MAX = 0x2e + PF_MCTP = 0x2d + PF_MPLS = 0x1c + PF_NETBEUI = 0xd + PF_NETLINK = 0x10 + PF_NETROM = 0x6 + PF_NFC = 0x27 + PF_PACKET = 0x11 + PF_PHONET = 0x23 + PF_PPPOX = 0x18 + PF_QIPCRTR = 0x2a + PF_R = 0x4 + PF_RDS = 0x15 + PF_ROSE = 0xb + PF_ROUTE = 0x10 + PF_RXRPC = 0x21 + PF_SECURITY = 0xe + PF_SMC = 0x2b + PF_SNA = 0x16 + PF_TIPC = 0x1e + PF_UNIX = 0x1 + PF_UNSPEC = 0x0 + PF_VSOCK = 0x28 + PF_W = 0x2 + PF_WANPIPE = 0x19 + PF_X = 0x1 + PF_X25 = 0x9 + PF_XDP = 0x2c PID_FS_MAGIC = 0x50494446 PIPEFS_MAGIC = 0x50495045 PPPIOCGNPMODE = 0xc008744c @@ -2485,6 +2791,10 @@ const ( PR_FP_EXC_UND = 0x40000 PR_FP_MODE_FR = 0x1 PR_FP_MODE_FRE = 0x2 + PR_FUTEX_HASH = 0x4e + PR_FUTEX_HASH_GET_IMMUTABLE = 0x3 + PR_FUTEX_HASH_GET_SLOTS = 0x2 + PR_FUTEX_HASH_SET_SLOTS = 0x1 PR_GET_AUXV = 0x41555856 PR_GET_CHILD_SUBREAPER = 0x25 PR_GET_DUMPABLE = 0x3 @@ -2644,6 +2954,10 @@ const ( PR_TAGGED_ADDR_ENABLE = 0x1 PR_TASK_PERF_EVENTS_DISABLE = 0x1f PR_TASK_PERF_EVENTS_ENABLE = 0x20 + PR_TIMER_CREATE_RESTORE_IDS = 0x4d + PR_TIMER_CREATE_RESTORE_IDS_GET = 0x2 + PR_TIMER_CREATE_RESTORE_IDS_OFF = 0x0 + PR_TIMER_CREATE_RESTORE_IDS_ON = 0x1 PR_TIMING_STATISTICAL = 0x0 PR_TIMING_TIMESTAMP = 0x1 PR_TSC_ENABLE = 0x1 @@ -2724,6 +3038,7 @@ const ( PTRACE_SETREGSET = 0x4205 PTRACE_SETSIGINFO = 0x4203 PTRACE_SETSIGMASK = 0x420b + PTRACE_SET_SYSCALL_INFO = 0x4212 PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG = 0x4210 PTRACE_SINGLESTEP = 0x9 PTRACE_SYSCALL = 0x18 @@ -2732,6 +3047,23 @@ const ( PTRACE_SYSCALL_INFO_NONE = 0x0 PTRACE_SYSCALL_INFO_SECCOMP = 0x3 PTRACE_TRACEME = 0x0 + PT_AARCH64_MEMTAG_MTE = 0x70000002 + PT_DYNAMIC = 0x2 + PT_GNU_EH_FRAME = 0x6474e550 + PT_GNU_PROPERTY = 0x6474e553 + PT_GNU_RELRO = 0x6474e552 + PT_GNU_STACK = 0x6474e551 + PT_HIOS = 0x6fffffff + PT_HIPROC = 0x7fffffff + PT_INTERP = 0x3 + PT_LOAD = 0x1 + PT_LOOS = 0x60000000 + PT_LOPROC = 0x70000000 + PT_NOTE = 0x4 + PT_NULL = 0x0 + PT_PHDR = 0x6 + PT_SHLIB = 0x5 + PT_TLS = 0x7 P_ALL = 0x0 P_PGID = 0x2 P_PID = 0x1 @@ -2787,7 +3119,7 @@ const ( RTAX_UNSPEC = 0x0 RTAX_WINDOW = 0x3 RTA_ALIGNTO = 0x4 - RTA_MAX = 0x1e + RTA_MAX = 0x1f RTCF_DIRECTSRC = 0x4000000 RTCF_DOREDIRECT = 0x1000000 RTCF_LOG = 0x2000000 @@ -2864,10 +3196,12 @@ const ( RTM_DELACTION = 0x31 RTM_DELADDR = 0x15 RTM_DELADDRLABEL = 0x49 + RTM_DELANYCAST = 0x3d RTM_DELCHAIN = 0x65 RTM_DELLINK = 0x11 RTM_DELLINKPROP = 0x6d RTM_DELMDB = 0x55 + RTM_DELMULTICAST = 0x39 RTM_DELNEIGH = 0x1d RTM_DELNETCONF = 0x51 RTM_DELNEXTHOP = 0x69 @@ -2917,11 +3251,13 @@ const ( RTM_NEWACTION = 0x30 RTM_NEWADDR = 0x14 RTM_NEWADDRLABEL = 0x48 + RTM_NEWANYCAST = 0x3c RTM_NEWCACHEREPORT = 0x60 RTM_NEWCHAIN = 0x64 RTM_NEWLINK = 0x10 RTM_NEWLINKPROP = 0x6c RTM_NEWMDB = 0x54 + RTM_NEWMULTICAST = 0x38 RTM_NEWNDUSEROPT = 0x44 RTM_NEWNEIGH = 0x1c RTM_NEWNEIGHTBL = 0x40 @@ -2970,6 +3306,7 @@ const ( RTPROT_NTK = 0xf RTPROT_OPENR = 0x63 RTPROT_OSPF = 0xbc + RTPROT_OVN = 0x54 RTPROT_RA = 0x9 RTPROT_REDIRECT = 0x1 RTPROT_RIP = 0xbd @@ -2987,11 +3324,12 @@ const ( RUSAGE_THREAD = 0x1 RWF_APPEND = 0x10 RWF_ATOMIC = 0x40 + RWF_DONTCACHE = 0x80 RWF_DSYNC = 0x2 RWF_HIPRI = 0x1 RWF_NOAPPEND = 0x20 RWF_NOWAIT = 0x8 - RWF_SUPPORTED = 0x7f + RWF_SUPPORTED = 0xff RWF_SYNC = 0x4 RWF_WRITE_LIFE_NOT_SET = 0x0 SCHED_BATCH = 0x3 @@ -3059,6 +3397,47 @@ const ( SEEK_MAX = 0x4 SEEK_SET = 0x0 SELINUX_MAGIC = 0xf97cff8c + SHF_ALLOC = 0x2 + SHF_EXCLUDE = 0x8000000 + SHF_EXECINSTR = 0x4 + SHF_GROUP = 0x200 + SHF_INFO_LINK = 0x40 + SHF_LINK_ORDER = 0x80 + SHF_MASKOS = 0xff00000 + SHF_MASKPROC = 0xf0000000 + SHF_MERGE = 0x10 + SHF_ORDERED = 0x4000000 + SHF_OS_NONCONFORMING = 0x100 + SHF_RELA_LIVEPATCH = 0x100000 + SHF_RO_AFTER_INIT = 0x200000 + SHF_STRINGS = 0x20 + SHF_TLS = 0x400 + SHF_WRITE = 0x1 + SHN_ABS = 0xfff1 + SHN_COMMON = 0xfff2 + SHN_HIPROC = 0xff1f + SHN_HIRESERVE = 0xffff + SHN_LIVEPATCH = 0xff20 + SHN_LOPROC = 0xff00 + SHN_LORESERVE = 0xff00 + SHN_UNDEF = 0x0 + SHT_DYNAMIC = 0x6 + SHT_DYNSYM = 0xb + SHT_HASH = 0x5 + SHT_HIPROC = 0x7fffffff + SHT_HIUSER = 0xffffffff + SHT_LOPROC = 0x70000000 + SHT_LOUSER = 0x80000000 + SHT_NOBITS = 0x8 + SHT_NOTE = 0x7 + SHT_NULL = 0x0 + SHT_NUM = 0xc + SHT_PROGBITS = 0x1 + SHT_REL = 0x9 + SHT_RELA = 0x4 + SHT_SHLIB = 0xa + SHT_STRTAB = 0x3 + SHT_SYMTAB = 0x2 SHUT_RD = 0x0 SHUT_RDWR = 0x2 SHUT_WR = 0x1 @@ -3271,6 +3650,7 @@ const ( STATX_BTIME = 0x800 STATX_CTIME = 0x80 STATX_DIOALIGN = 0x2000 + STATX_DIO_READ_ALIGN = 0x20000 STATX_GID = 0x10 STATX_INO = 0x100 STATX_MNT_ID = 0x1000 @@ -3284,6 +3664,16 @@ const ( STATX_UID = 0x8 STATX_WRITE_ATOMIC = 0x10000 STATX__RESERVED = 0x80000000 + STB_GLOBAL = 0x1 + STB_LOCAL = 0x0 + STB_WEAK = 0x2 + STT_COMMON = 0x5 + STT_FILE = 0x4 + STT_FUNC = 0x2 + STT_NOTYPE = 0x0 + STT_OBJECT = 0x1 + STT_SECTION = 0x3 + STT_TLS = 0x6 SYNC_FILE_RANGE_WAIT_AFTER = 0x4 SYNC_FILE_RANGE_WAIT_BEFORE = 0x1 SYNC_FILE_RANGE_WRITE = 0x2 @@ -3322,7 +3712,7 @@ const ( TASKSTATS_GENL_NAME = "TASKSTATS" TASKSTATS_GENL_VERSION = 0x1 TASKSTATS_TYPE_MAX = 0x6 - TASKSTATS_VERSION = 0xe + TASKSTATS_VERSION = 0x10 TCIFLUSH = 0x0 TCIOFF = 0x2 TCIOFLUSH = 0x2 @@ -3392,8 +3782,6 @@ const ( TCP_TX_DELAY = 0x25 TCP_ULP = 0x1f TCP_USER_TIMEOUT = 0x12 - TCP_V4_FLOW = 0x1 - TCP_V6_FLOW = 0x5 TCP_WINDOW_CLAMP = 0xa TCP_ZEROCOPY_RECEIVE = 0x23 TFD_TIMER_ABSTIME = 0x1 @@ -3503,6 +3891,7 @@ const ( TP_STATUS_WRONG_FORMAT = 0x4 TRACEFS_MAGIC = 0x74726163 TS_COMM_LEN = 0x20 + UBI_IOCECNFO = 0xc01c6f06 UDF_SUPER_MAGIC = 0x15013346 UDP_CORK = 0x1 UDP_ENCAP = 0x64 @@ -3515,14 +3904,14 @@ const ( UDP_NO_CHECK6_RX = 0x66 UDP_NO_CHECK6_TX = 0x65 UDP_SEGMENT = 0x67 - UDP_V4_FLOW = 0x2 - UDP_V6_FLOW = 0x6 UMOUNT_NOFOLLOW = 0x8 USBDEVICE_SUPER_MAGIC = 0x9fa2 UTIME_NOW = 0x3fffffff UTIME_OMIT = 0x3ffffffe V9FS_MAGIC = 0x1021997 VERASE = 0x2 + VER_FLG_BASE = 0x1 + VER_FLG_WEAK = 0x2 VINTR = 0x0 VKILL = 0x3 VLNEXT = 0xf @@ -3559,7 +3948,7 @@ const ( WDIOS_TEMPPANIC = 0x4 WDIOS_UNKNOWN = -0x1 WEXITED = 0x4 - WGALLOWEDIP_A_MAX = 0x3 + WGALLOWEDIP_A_MAX = 0x4 WGDEVICE_A_MAX = 0x8 WGPEER_A_MAX = 0xa WG_CMD_MAX = 0x1 @@ -3673,6 +4062,7 @@ const ( XDP_SHARED_UMEM = 0x1 XDP_STATISTICS = 0x7 XDP_TXMD_FLAGS_CHECKSUM = 0x2 + XDP_TXMD_FLAGS_LAUNCH_TIME = 0x4 XDP_TXMD_FLAGS_TIMESTAMP = 0x1 XDP_TX_METADATA = 0x2 XDP_TX_RING = 0x3 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 75207613c7..1c37f9fbc4 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_386.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -360,6 +361,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -372,6 +374,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index c68acda535..6f54d34aef 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -361,6 +362,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -373,6 +375,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index a8c607ab86..783ec5c126 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -366,6 +367,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -378,6 +380,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index 18563dd8d3..ca83d3ba16 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -359,6 +360,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -371,6 +373,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go index 22912cdaa9..607e611c0c 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -353,6 +354,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -365,6 +367,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go index 29344eb37a..b9cb5bd3c0 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x200 @@ -359,6 +360,7 @@ const ( SO_OOBINLINE = 0x100 SO_PASSCRED = 0x11 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x12 @@ -371,6 +373,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go index 20d51fb96a..65b078a638 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x200 @@ -359,6 +360,7 @@ const ( SO_OOBINLINE = 0x100 SO_PASSCRED = 0x11 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x12 @@ -371,6 +373,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go index 321b60902a..5298a3033d 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x200 @@ -359,6 +360,7 @@ const ( SO_OOBINLINE = 0x100 SO_PASSCRED = 0x11 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x12 @@ -371,6 +373,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go index 9bacdf1e27..7bc557c876 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x200 @@ -359,6 +360,7 @@ const ( SO_OOBINLINE = 0x100 SO_PASSCRED = 0x11 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x12 @@ -371,6 +373,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go index c224272615..152399bb04 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go @@ -68,6 +68,7 @@ const ( CS8 = 0x300 CSIZE = 0x300 CSTOPB = 0x400 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x40 @@ -414,6 +415,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x14 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x15 @@ -426,6 +428,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x10 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x12 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x12 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index 6270c8ee13..1a1ce2409c 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go @@ -68,6 +68,7 @@ const ( CS8 = 0x300 CSIZE = 0x300 CSTOPB = 0x400 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x40 @@ -418,6 +419,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x14 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x15 @@ -430,6 +432,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x10 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x12 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x12 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index 9966c1941f..4231a1fb57 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go @@ -68,6 +68,7 @@ const ( CS8 = 0x300 CSIZE = 0x300 CSTOPB = 0x400 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x40 @@ -418,6 +419,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x14 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x15 @@ -430,6 +432,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x10 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x12 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x12 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go index 848e5fcc42..21c0e95266 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -350,6 +351,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -362,6 +364,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go index 669b2adb80..f00d1cd7cf 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go @@ -68,6 +68,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0xfd12 ECCGETLAYOUT = 0x81484d11 ECCGETSTATS = 0x80104d12 ECHOCTL = 0x200 @@ -422,6 +423,7 @@ const ( SO_OOBINLINE = 0xa SO_PASSCRED = 0x10 SO_PASSPIDFD = 0x4c + SO_PASSRIGHTS = 0x53 SO_PASSSEC = 0x22 SO_PEEK_OFF = 0x2a SO_PEERCRED = 0x11 @@ -434,6 +436,7 @@ const ( SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 SO_RCVMARK = 0x4b + SO_RCVPRIORITY = 0x52 SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 diff --git a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go index 4834e57514..bc8d539e6a 100644 --- a/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go @@ -71,6 +71,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTOPB = 0x40 + DM_MPATH_PROBE_PATHS = 0x2000fd12 ECCGETLAYOUT = 0x41484d11 ECCGETSTATS = 0x40104d12 ECHOCTL = 0x200 @@ -461,6 +462,7 @@ const ( SO_OOBINLINE = 0x100 SO_PASSCRED = 0x2 SO_PASSPIDFD = 0x55 + SO_PASSRIGHTS = 0x5c SO_PASSSEC = 0x1f SO_PEEK_OFF = 0x26 SO_PEERCRED = 0x40 @@ -473,6 +475,7 @@ const ( SO_RCVBUFFORCE = 0x100b SO_RCVLOWAT = 0x800 SO_RCVMARK = 0x54 + SO_RCVPRIORITY = 0x5b SO_RCVTIMEO = 0x2000 SO_RCVTIMEO_NEW = 0x44 SO_RCVTIMEO_OLD = 0x2000 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go index 24b346e1a3..813c05b664 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go @@ -2512,6 +2512,90 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func readv(fd int, iovecs []Iovec) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall(libc_readv_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_readv_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_readv readv "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func preadv(fd int, iovecs []Iovec, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall6(libc_preadv_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_preadv_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_preadv preadv "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func writev(fd int, iovecs []Iovec) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall(libc_writev_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_writev_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_writev writev "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pwritev(fd int, iovecs []Iovec, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall6(libc_pwritev_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pwritev_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pwritev pwritev "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := syscall_syscall(libc_fstat64_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s index ebd213100b..fda328582b 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s @@ -738,6 +738,26 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_readv_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_readv(SB) +GLOBL ·libc_readv_trampoline_addr(SB), RODATA, $8 +DATA ·libc_readv_trampoline_addr(SB)/8, $libc_readv_trampoline<>(SB) + +TEXT libc_preadv_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_preadv(SB) +GLOBL ·libc_preadv_trampoline_addr(SB), RODATA, $8 +DATA ·libc_preadv_trampoline_addr(SB)/8, $libc_preadv_trampoline<>(SB) + +TEXT libc_writev_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_writev(SB) +GLOBL ·libc_writev_trampoline_addr(SB), RODATA, $8 +DATA ·libc_writev_trampoline_addr(SB)/8, $libc_writev_trampoline<>(SB) + +TEXT libc_pwritev_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pwritev(SB) +GLOBL ·libc_pwritev_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pwritev_trampoline_addr(SB)/8, $libc_pwritev_trampoline<>(SB) + TEXT libc_fstat64_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_fstat64(SB) GLOBL ·libc_fstat64_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go index 824b9c2d5e..e6f58f3c6f 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go @@ -2512,6 +2512,90 @@ var libc_munmap_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func readv(fd int, iovecs []Iovec) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall(libc_readv_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_readv_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_readv readv "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func preadv(fd int, iovecs []Iovec, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall6(libc_preadv_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_preadv_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_preadv preadv "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func writev(fd int, iovecs []Iovec) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall(libc_writev_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_writev_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_writev writev "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pwritev(fd int, iovecs []Iovec, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(iovecs) > 0 { + _p0 = unsafe.Pointer(&iovecs[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := syscall_syscall6(libc_pwritev_trampoline_addr, uintptr(fd), uintptr(_p0), uintptr(len(iovecs)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_pwritev_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_pwritev pwritev "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := syscall_syscall(libc_fstat_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { diff --git a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s index 4f178a2293..7f8998b905 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +++ b/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s @@ -738,6 +738,26 @@ TEXT libc_munmap_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_munmap_trampoline_addr(SB), RODATA, $8 DATA ·libc_munmap_trampoline_addr(SB)/8, $libc_munmap_trampoline<>(SB) +TEXT libc_readv_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_readv(SB) +GLOBL ·libc_readv_trampoline_addr(SB), RODATA, $8 +DATA ·libc_readv_trampoline_addr(SB)/8, $libc_readv_trampoline<>(SB) + +TEXT libc_preadv_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_preadv(SB) +GLOBL ·libc_preadv_trampoline_addr(SB), RODATA, $8 +DATA ·libc_preadv_trampoline_addr(SB)/8, $libc_preadv_trampoline<>(SB) + +TEXT libc_writev_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_writev(SB) +GLOBL ·libc_writev_trampoline_addr(SB), RODATA, $8 +DATA ·libc_writev_trampoline_addr(SB)/8, $libc_writev_trampoline<>(SB) + +TEXT libc_pwritev_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_pwritev(SB) +GLOBL ·libc_pwritev_trampoline_addr(SB), RODATA, $8 +DATA ·libc_pwritev_trampoline_addr(SB)/8, $libc_pwritev_trampoline<>(SB) + TEXT libc_fstat_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_fstat(SB) GLOBL ·libc_fstat_trampoline_addr(SB), RODATA, $8 diff --git a/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/vendor/golang.org/x/sys/unix/zsyscall_linux.go index 5cc1e8eb2f..8935d10a31 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_linux.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_linux.go @@ -2238,3 +2238,13 @@ func Mseal(b []byte, flags uint) (err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setMemPolicy(mode int, mask *CPUSet, size int) (err error) { + _, _, e1 := Syscall(SYS_SET_MEMPOLICY, uintptr(mode), uintptr(unsafe.Pointer(mask)), uintptr(size)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go index c6545413c4..b4609c20c2 100644 --- a/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go @@ -72,7 +72,7 @@ import ( //go:cgo_import_dynamic libc_kill kill "libc.so" //go:cgo_import_dynamic libc_lchown lchown "libc.so" //go:cgo_import_dynamic libc_link link "libc.so" -//go:cgo_import_dynamic libc___xnet_llisten __xnet_llisten "libsocket.so" +//go:cgo_import_dynamic libc___xnet_listen __xnet_listen "libsocket.so" //go:cgo_import_dynamic libc_lstat lstat "libc.so" //go:cgo_import_dynamic libc_madvise madvise "libc.so" //go:cgo_import_dynamic libc_mkdir mkdir "libc.so" @@ -221,7 +221,7 @@ import ( //go:linkname procKill libc_kill //go:linkname procLchown libc_lchown //go:linkname procLink libc_link -//go:linkname proc__xnet_llisten libc___xnet_llisten +//go:linkname proc__xnet_listen libc___xnet_listen //go:linkname procLstat libc_lstat //go:linkname procMadvise libc_madvise //go:linkname procMkdir libc_mkdir @@ -371,7 +371,7 @@ var ( procKill, procLchown, procLink, - proc__xnet_llisten, + proc__xnet_listen, procLstat, procMadvise, procMkdir, @@ -1178,7 +1178,7 @@ func Link(path string, link string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Listen(s int, backlog int) (err error) { - _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_llisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0) + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_listen)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0) if e1 != 0 { err = errnoErr(e1) } diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go index c79aaff306..aca56ee494 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go @@ -462,4 +462,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go index 5eb450695e..2ea1ef58c3 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go @@ -385,4 +385,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go index 05e5029744..d22c8af319 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go @@ -426,4 +426,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go index 38c53ec51b..5ee264ae97 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go @@ -329,4 +329,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go index 31d2e71a18..f9f03ebf5f 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go @@ -325,4 +325,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go index f4184a336b..87c2118e84 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go @@ -446,4 +446,5 @@ const ( SYS_GETXATTRAT = 4464 SYS_LISTXATTRAT = 4465 SYS_REMOVEXATTRAT = 4466 + SYS_OPEN_TREE_ATTR = 4467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go index 05b9962278..391ad102fb 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go @@ -376,4 +376,5 @@ const ( SYS_GETXATTRAT = 5464 SYS_LISTXATTRAT = 5465 SYS_REMOVEXATTRAT = 5466 + SYS_OPEN_TREE_ATTR = 5467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go index 43a256e9e6..5656157757 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go @@ -376,4 +376,5 @@ const ( SYS_GETXATTRAT = 5464 SYS_LISTXATTRAT = 5465 SYS_REMOVEXATTRAT = 5466 + SYS_OPEN_TREE_ATTR = 5467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go index eea5ddfc22..0482b52e3c 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go @@ -446,4 +446,5 @@ const ( SYS_GETXATTRAT = 4464 SYS_LISTXATTRAT = 4465 SYS_REMOVEXATTRAT = 4466 + SYS_OPEN_TREE_ATTR = 4467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go index 0d777bfbb1..71806f08f3 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go @@ -453,4 +453,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go index b446365025..e35a710582 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go @@ -425,4 +425,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go index 0c7d21c188..2aea476705 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go @@ -425,4 +425,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go index 8405391698..6c9bb4e560 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go @@ -330,4 +330,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go index fcf1b790d6..680bc9915a 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go @@ -391,4 +391,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go index 52d15b5f9d..620f271052 100644 --- a/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go @@ -404,4 +404,5 @@ const ( SYS_GETXATTRAT = 464 SYS_LISTXATTRAT = 465 SYS_REMOVEXATTRAT = 466 + SYS_OPEN_TREE_ATTR = 467 ) diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux.go b/vendor/golang.org/x/sys/unix/ztypes_linux.go index a46abe6472..c1a4670171 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux.go @@ -114,8 +114,10 @@ type Statx_t struct { Atomic_write_unit_min uint32 Atomic_write_unit_max uint32 Atomic_write_segments_max uint32 + Dio_read_offset_align uint32 + Atomic_write_unit_max_opt uint32 _ [1]uint32 - _ [9]uint64 + _ [8]uint64 } type Fsid struct { @@ -199,7 +201,8 @@ type FscryptAddKeyArg struct { Key_spec FscryptKeySpecifier Raw_size uint32 Key_id uint32 - _ [8]uint32 + Flags uint32 + _ [7]uint32 } type FscryptRemoveKeyArg struct { @@ -629,6 +632,8 @@ const ( IFA_FLAGS = 0x8 IFA_RT_PRIORITY = 0x9 IFA_TARGET_NETNSID = 0xa + IFAL_LABEL = 0x2 + IFAL_ADDRESS = 0x1 RT_SCOPE_UNIVERSE = 0x0 RT_SCOPE_SITE = 0xc8 RT_SCOPE_LINK = 0xfd @@ -686,6 +691,7 @@ const ( SizeofRtAttr = 0x4 SizeofIfInfomsg = 0x10 SizeofIfAddrmsg = 0x8 + SizeofIfAddrlblmsg = 0xc SizeofIfaCacheinfo = 0x10 SizeofRtMsg = 0xc SizeofRtNexthop = 0x8 @@ -737,6 +743,15 @@ type IfAddrmsg struct { Index uint32 } +type IfAddrlblmsg struct { + Family uint8 + _ uint8 + Prefixlen uint8 + Flags uint8 + Index uint32 + Seq uint32 +} + type IfaCacheinfo struct { Prefered uint32 Valid uint32 @@ -2226,8 +2241,11 @@ const ( NFT_PAYLOAD_LL_HEADER = 0x0 NFT_PAYLOAD_NETWORK_HEADER = 0x1 NFT_PAYLOAD_TRANSPORT_HEADER = 0x2 + NFT_PAYLOAD_INNER_HEADER = 0x3 + NFT_PAYLOAD_TUN_HEADER = 0x4 NFT_PAYLOAD_CSUM_NONE = 0x0 NFT_PAYLOAD_CSUM_INET = 0x1 + NFT_PAYLOAD_CSUM_SCTP = 0x2 NFT_PAYLOAD_L4CSUM_PSEUDOHDR = 0x1 NFTA_PAYLOAD_UNSPEC = 0x0 NFTA_PAYLOAD_DREG = 0x1 @@ -2314,6 +2332,11 @@ const ( NFT_CT_AVGPKT = 0x10 NFT_CT_ZONE = 0x11 NFT_CT_EVENTMASK = 0x12 + NFT_CT_SRC_IP = 0x13 + NFT_CT_DST_IP = 0x14 + NFT_CT_SRC_IP6 = 0x15 + NFT_CT_DST_IP6 = 0x16 + NFT_CT_ID = 0x17 NFTA_CT_UNSPEC = 0x0 NFTA_CT_DREG = 0x1 NFTA_CT_KEY = 0x2 @@ -2594,8 +2617,8 @@ const ( SOF_TIMESTAMPING_BIND_PHC = 0x8000 SOF_TIMESTAMPING_OPT_ID_TCP = 0x10000 - SOF_TIMESTAMPING_LAST = 0x20000 - SOF_TIMESTAMPING_MASK = 0x3ffff + SOF_TIMESTAMPING_LAST = 0x40000 + SOF_TIMESTAMPING_MASK = 0x7ffff SCM_TSTAMP_SND = 0x0 SCM_TSTAMP_SCHED = 0x1 @@ -3041,6 +3064,23 @@ const ( ) const ( + TCA_UNSPEC = 0x0 + TCA_KIND = 0x1 + TCA_OPTIONS = 0x2 + TCA_STATS = 0x3 + TCA_XSTATS = 0x4 + TCA_RATE = 0x5 + TCA_FCNT = 0x6 + TCA_STATS2 = 0x7 + TCA_STAB = 0x8 + TCA_PAD = 0x9 + TCA_DUMP_INVISIBLE = 0xa + TCA_CHAIN = 0xb + TCA_HW_OFFLOAD = 0xc + TCA_INGRESS_BLOCK = 0xd + TCA_EGRESS_BLOCK = 0xe + TCA_DUMP_FLAGS = 0xf + TCA_EXT_WARN_MSG = 0x10 RTNLGRP_NONE = 0x0 RTNLGRP_LINK = 0x1 RTNLGRP_NOTIFY = 0x2 @@ -3075,6 +3115,18 @@ const ( RTNLGRP_IPV6_MROUTE_R = 0x1f RTNLGRP_NEXTHOP = 0x20 RTNLGRP_BRVLAN = 0x21 + RTNLGRP_MCTP_IFADDR = 0x22 + RTNLGRP_TUNNEL = 0x23 + RTNLGRP_STATS = 0x24 + RTNLGRP_IPV4_MCADDR = 0x25 + RTNLGRP_IPV6_MCADDR = 0x26 + RTNLGRP_IPV6_ACADDR = 0x27 + TCA_ROOT_UNSPEC = 0x0 + TCA_ROOT_TAB = 0x1 + TCA_ROOT_FLAGS = 0x2 + TCA_ROOT_COUNT = 0x3 + TCA_ROOT_TIME_DELTA = 0x4 + TCA_ROOT_EXT_WARN_MSG = 0x5 ) type CapUserHeader struct { @@ -3538,6 +3590,8 @@ type Nhmsg struct { Flags uint32 } +const SizeofNhmsg = 0x8 + type NexthopGrp struct { Id uint32 Weight uint8 @@ -3545,6 +3599,8 @@ type NexthopGrp struct { Resvd2 uint16 } +const SizeofNexthopGrp = 0x8 + const ( NHA_UNSPEC = 0x0 NHA_ID = 0x1 @@ -3802,7 +3858,16 @@ const ( ETHTOOL_MSG_PSE_GET = 0x24 ETHTOOL_MSG_PSE_SET = 0x25 ETHTOOL_MSG_RSS_GET = 0x26 - ETHTOOL_MSG_USER_MAX = 0x2d + ETHTOOL_MSG_PLCA_GET_CFG = 0x27 + ETHTOOL_MSG_PLCA_SET_CFG = 0x28 + ETHTOOL_MSG_PLCA_GET_STATUS = 0x29 + ETHTOOL_MSG_MM_GET = 0x2a + ETHTOOL_MSG_MM_SET = 0x2b + ETHTOOL_MSG_MODULE_FW_FLASH_ACT = 0x2c + ETHTOOL_MSG_PHY_GET = 0x2d + ETHTOOL_MSG_TSCONFIG_GET = 0x2e + ETHTOOL_MSG_TSCONFIG_SET = 0x2f + ETHTOOL_MSG_USER_MAX = 0x2f ETHTOOL_MSG_KERNEL_NONE = 0x0 ETHTOOL_MSG_STRSET_GET_REPLY = 0x1 ETHTOOL_MSG_LINKINFO_GET_REPLY = 0x2 @@ -3842,7 +3907,17 @@ const ( ETHTOOL_MSG_MODULE_NTF = 0x24 ETHTOOL_MSG_PSE_GET_REPLY = 0x25 ETHTOOL_MSG_RSS_GET_REPLY = 0x26 - ETHTOOL_MSG_KERNEL_MAX = 0x2e + ETHTOOL_MSG_PLCA_GET_CFG_REPLY = 0x27 + ETHTOOL_MSG_PLCA_GET_STATUS_REPLY = 0x28 + ETHTOOL_MSG_PLCA_NTF = 0x29 + ETHTOOL_MSG_MM_GET_REPLY = 0x2a + ETHTOOL_MSG_MM_NTF = 0x2b + ETHTOOL_MSG_MODULE_FW_FLASH_NTF = 0x2c + ETHTOOL_MSG_PHY_GET_REPLY = 0x2d + ETHTOOL_MSG_PHY_NTF = 0x2e + ETHTOOL_MSG_TSCONFIG_GET_REPLY = 0x2f + ETHTOOL_MSG_TSCONFIG_SET_REPLY = 0x30 + ETHTOOL_MSG_KERNEL_MAX = 0x30 ETHTOOL_FLAG_COMPACT_BITSETS = 0x1 ETHTOOL_FLAG_OMIT_REPLY = 0x2 ETHTOOL_FLAG_STATS = 0x4 @@ -3949,7 +4024,12 @@ const ( ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 0xb ETHTOOL_A_RINGS_CQE_SIZE = 0xc ETHTOOL_A_RINGS_TX_PUSH = 0xd - ETHTOOL_A_RINGS_MAX = 0x10 + ETHTOOL_A_RINGS_RX_PUSH = 0xe + ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN = 0xf + ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN_MAX = 0x10 + ETHTOOL_A_RINGS_HDS_THRESH = 0x11 + ETHTOOL_A_RINGS_HDS_THRESH_MAX = 0x12 + ETHTOOL_A_RINGS_MAX = 0x12 ETHTOOL_A_CHANNELS_UNSPEC = 0x0 ETHTOOL_A_CHANNELS_HEADER = 0x1 ETHTOOL_A_CHANNELS_RX_MAX = 0x2 @@ -4015,7 +4095,9 @@ const ( ETHTOOL_A_TSINFO_TX_TYPES = 0x3 ETHTOOL_A_TSINFO_RX_FILTERS = 0x4 ETHTOOL_A_TSINFO_PHC_INDEX = 0x5 - ETHTOOL_A_TSINFO_MAX = 0x6 + ETHTOOL_A_TSINFO_STATS = 0x6 + ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 0x7 + ETHTOOL_A_TSINFO_MAX = 0x9 ETHTOOL_A_CABLE_TEST_UNSPEC = 0x0 ETHTOOL_A_CABLE_TEST_HEADER = 0x1 ETHTOOL_A_CABLE_TEST_MAX = 0x1 @@ -4101,6 +4183,19 @@ const ( ETHTOOL_A_TUNNEL_INFO_MAX = 0x2 ) +const ( + TCP_V4_FLOW = 0x1 + UDP_V4_FLOW = 0x2 + TCP_V6_FLOW = 0x5 + UDP_V6_FLOW = 0x6 + ESP_V4_FLOW = 0xa + ESP_V6_FLOW = 0xc + IP_USER_FLOW = 0xd + IPV6_USER_FLOW = 0xe + IPV6_FLOW = 0x11 + ETHER_FLOW = 0x12 +) + const SPEED_UNKNOWN = -0x1 type EthtoolDrvinfo struct { @@ -4613,6 +4708,7 @@ const ( NL80211_ATTR_AKM_SUITES = 0x4c NL80211_ATTR_AP_ISOLATE = 0x60 NL80211_ATTR_AP_SETTINGS_FLAGS = 0x135 + NL80211_ATTR_ASSOC_SPP_AMSDU = 0x14a NL80211_ATTR_AUTH_DATA = 0x9c NL80211_ATTR_AUTH_TYPE = 0x35 NL80211_ATTR_BANDS = 0xef @@ -4623,6 +4719,7 @@ const ( NL80211_ATTR_BSS_BASIC_RATES = 0x24 NL80211_ATTR_BSS = 0x2f NL80211_ATTR_BSS_CTS_PROT = 0x1c + NL80211_ATTR_BSS_DUMP_INCLUDE_USE_DATA = 0x147 NL80211_ATTR_BSS_HT_OPMODE = 0x6d NL80211_ATTR_BSSID = 0xf5 NL80211_ATTR_BSS_SELECT = 0xe3 @@ -4682,6 +4779,7 @@ const ( NL80211_ATTR_DTIM_PERIOD = 0xd NL80211_ATTR_DURATION = 0x57 NL80211_ATTR_EHT_CAPABILITY = 0x136 + NL80211_ATTR_EMA_RNR_ELEMS = 0x145 NL80211_ATTR_EML_CAPABILITY = 0x13d NL80211_ATTR_EXT_CAPA = 0xa9 NL80211_ATTR_EXT_CAPA_MASK = 0xaa @@ -4717,6 +4815,7 @@ const ( NL80211_ATTR_HIDDEN_SSID = 0x7e NL80211_ATTR_HT_CAPABILITY = 0x1f NL80211_ATTR_HT_CAPABILITY_MASK = 0x94 + NL80211_ATTR_HW_TIMESTAMP_ENABLED = 0x144 NL80211_ATTR_IE_ASSOC_RESP = 0x80 NL80211_ATTR_IE = 0x2a NL80211_ATTR_IE_PROBE_RESP = 0x7f @@ -4747,9 +4846,10 @@ const ( NL80211_ATTR_MAC_HINT = 0xc8 NL80211_ATTR_MAC_MASK = 0xd7 NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca - NL80211_ATTR_MAX = 0x14d + NL80211_ATTR_MAX = 0x151 NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4 NL80211_ATTR_MAX_CSA_COUNTERS = 0xce + NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS = 0x143 NL80211_ATTR_MAX_MATCH_SETS = 0x85 NL80211_ATTR_MAX_NUM_AKM_SUITES = 0x13c NL80211_ATTR_MAX_NUM_PMKIDS = 0x56 @@ -4774,9 +4874,12 @@ const ( NL80211_ATTR_MGMT_SUBTYPE = 0x29 NL80211_ATTR_MLD_ADDR = 0x13a NL80211_ATTR_MLD_CAPA_AND_OPS = 0x13e + NL80211_ATTR_MLO_LINK_DISABLED = 0x146 NL80211_ATTR_MLO_LINK_ID = 0x139 NL80211_ATTR_MLO_LINKS = 0x138 NL80211_ATTR_MLO_SUPPORT = 0x13b + NL80211_ATTR_MLO_TTLM_DLINK = 0x148 + NL80211_ATTR_MLO_TTLM_ULINK = 0x149 NL80211_ATTR_MNTR_FLAGS = 0x17 NL80211_ATTR_MPATH_INFO = 0x1b NL80211_ATTR_MPATH_NEXT_HOP = 0x1a @@ -4809,12 +4912,14 @@ const ( NL80211_ATTR_PORT_AUTHORIZED = 0x103 NL80211_ATTR_POWER_RULE_MAX_ANT_GAIN = 0x5 NL80211_ATTR_POWER_RULE_MAX_EIRP = 0x6 + NL80211_ATTR_POWER_RULE_PSD = 0x8 NL80211_ATTR_PREV_BSSID = 0x4f NL80211_ATTR_PRIVACY = 0x46 NL80211_ATTR_PROBE_RESP = 0x91 NL80211_ATTR_PROBE_RESP_OFFLOAD = 0x90 NL80211_ATTR_PROTOCOL_FEATURES = 0xad NL80211_ATTR_PS_STATE = 0x5d + NL80211_ATTR_PUNCT_BITMAP = 0x142 NL80211_ATTR_QOS_MAP = 0xc7 NL80211_ATTR_RADAR_BACKGROUND = 0x134 NL80211_ATTR_RADAR_EVENT = 0xa8 @@ -4943,7 +5048,9 @@ const ( NL80211_ATTR_WIPHY_FREQ = 0x26 NL80211_ATTR_WIPHY_FREQ_HINT = 0xc9 NL80211_ATTR_WIPHY_FREQ_OFFSET = 0x122 + NL80211_ATTR_WIPHY_INTERFACE_COMBINATIONS = 0x14c NL80211_ATTR_WIPHY_NAME = 0x2 + NL80211_ATTR_WIPHY_RADIOS = 0x14b NL80211_ATTR_WIPHY_RETRY_LONG = 0x3e NL80211_ATTR_WIPHY_RETRY_SHORT = 0x3d NL80211_ATTR_WIPHY_RTS_THRESHOLD = 0x40 @@ -4978,6 +5085,8 @@ const ( NL80211_BAND_ATTR_IFTYPE_DATA = 0x9 NL80211_BAND_ATTR_MAX = 0xd NL80211_BAND_ATTR_RATES = 0x2 + NL80211_BAND_ATTR_S1G_CAPA = 0xd + NL80211_BAND_ATTR_S1G_MCS_NSS_SET = 0xc NL80211_BAND_ATTR_VHT_CAPA = 0x8 NL80211_BAND_ATTR_VHT_MCS_SET = 0x7 NL80211_BAND_IFTYPE_ATTR_EHT_CAP_MAC = 0x8 @@ -5001,6 +5110,10 @@ const ( NL80211_BSS_BEACON_INTERVAL = 0x4 NL80211_BSS_BEACON_TSF = 0xd NL80211_BSS_BSSID = 0x1 + NL80211_BSS_CANNOT_USE_6GHZ_PWR_MISMATCH = 0x2 + NL80211_BSS_CANNOT_USE_NSTR_NONPRIMARY = 0x1 + NL80211_BSS_CANNOT_USE_REASONS = 0x18 + NL80211_BSS_CANNOT_USE_UHB_PWR_MISMATCH = 0x2 NL80211_BSS_CAPABILITY = 0x5 NL80211_BSS_CHAIN_SIGNAL = 0x13 NL80211_BSS_CHAN_WIDTH_10 = 0x1 @@ -5032,6 +5145,9 @@ const ( NL80211_BSS_STATUS = 0x9 NL80211_BSS_STATUS_IBSS_JOINED = 0x2 NL80211_BSS_TSF = 0x3 + NL80211_BSS_USE_FOR = 0x17 + NL80211_BSS_USE_FOR_MLD_LINK = 0x2 + NL80211_BSS_USE_FOR_NORMAL = 0x1 NL80211_CHAN_HT20 = 0x1 NL80211_CHAN_HT40MINUS = 0x2 NL80211_CHAN_HT40PLUS = 0x3 @@ -5117,7 +5233,8 @@ const ( NL80211_CMD_LEAVE_IBSS = 0x2c NL80211_CMD_LEAVE_MESH = 0x45 NL80211_CMD_LEAVE_OCB = 0x6d - NL80211_CMD_MAX = 0x9b + NL80211_CMD_LINKS_REMOVED = 0x9a + NL80211_CMD_MAX = 0x9d NL80211_CMD_MICHAEL_MIC_FAILURE = 0x29 NL80211_CMD_MODIFY_LINK_STA = 0x97 NL80211_CMD_NAN_MATCH = 0x78 @@ -5161,6 +5278,7 @@ const ( NL80211_CMD_SET_COALESCE = 0x65 NL80211_CMD_SET_CQM = 0x3f NL80211_CMD_SET_FILS_AAD = 0x92 + NL80211_CMD_SET_HW_TIMESTAMP = 0x99 NL80211_CMD_SET_INTERFACE = 0x6 NL80211_CMD_SET_KEY = 0xa NL80211_CMD_SET_MAC_ACL = 0x5d @@ -5180,6 +5298,7 @@ const ( NL80211_CMD_SET_SAR_SPECS = 0x8c NL80211_CMD_SET_STATION = 0x12 NL80211_CMD_SET_TID_CONFIG = 0x89 + NL80211_CMD_SET_TID_TO_LINK_MAPPING = 0x9b NL80211_CMD_SET_TX_BITRATE_MASK = 0x39 NL80211_CMD_SET_WDS_PEER = 0x42 NL80211_CMD_SET_WIPHY = 0x2 @@ -5247,6 +5366,7 @@ const ( NL80211_EXT_FEATURE_AIRTIME_FAIRNESS = 0x21 NL80211_EXT_FEATURE_AP_PMKSA_CACHING = 0x22 NL80211_EXT_FEATURE_AQL = 0x28 + NL80211_EXT_FEATURE_AUTH_AND_DEAUTH_RANDOM_TA = 0x40 NL80211_EXT_FEATURE_BEACON_PROTECTION_CLIENT = 0x2e NL80211_EXT_FEATURE_BEACON_PROTECTION = 0x29 NL80211_EXT_FEATURE_BEACON_RATE_HE = 0x36 @@ -5262,6 +5382,7 @@ const ( NL80211_EXT_FEATURE_CQM_RSSI_LIST = 0xd NL80211_EXT_FEATURE_DATA_ACK_SIGNAL_SUPPORT = 0x1b NL80211_EXT_FEATURE_DEL_IBSS_STA = 0x2c + NL80211_EXT_FEATURE_DFS_CONCURRENT = 0x43 NL80211_EXT_FEATURE_DFS_OFFLOAD = 0x19 NL80211_EXT_FEATURE_ENABLE_FTM_RESPONDER = 0x20 NL80211_EXT_FEATURE_EXT_KEY_ID = 0x24 @@ -5281,9 +5402,12 @@ const ( NL80211_EXT_FEATURE_OCE_PROBE_REQ_DEFERRAL_SUPPRESSION = 0x14 NL80211_EXT_FEATURE_OCE_PROBE_REQ_HIGH_TX_RATE = 0x13 NL80211_EXT_FEATURE_OPERATING_CHANNEL_VALIDATION = 0x31 + NL80211_EXT_FEATURE_OWE_OFFLOAD_AP = 0x42 + NL80211_EXT_FEATURE_OWE_OFFLOAD = 0x41 NL80211_EXT_FEATURE_POWERED_ADDR_CHANGE = 0x3d NL80211_EXT_FEATURE_PROTECTED_TWT = 0x2b NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE = 0x39 + NL80211_EXT_FEATURE_PUNCT = 0x3e NL80211_EXT_FEATURE_RADAR_BACKGROUND = 0x3c NL80211_EXT_FEATURE_RRM = 0x1 NL80211_EXT_FEATURE_SAE_OFFLOAD_AP = 0x33 @@ -5295,8 +5419,10 @@ const ( NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD = 0x23 NL80211_EXT_FEATURE_SCHED_SCAN_RELATIVE_RSSI = 0xc NL80211_EXT_FEATURE_SECURE_LTF = 0x37 + NL80211_EXT_FEATURE_SECURE_NAN = 0x3f NL80211_EXT_FEATURE_SECURE_RTT = 0x38 NL80211_EXT_FEATURE_SET_SCAN_DWELL = 0x5 + NL80211_EXT_FEATURE_SPP_AMSDU_SUPPORT = 0x44 NL80211_EXT_FEATURE_STA_TX_PWR = 0x25 NL80211_EXT_FEATURE_TXQS = 0x1c NL80211_EXT_FEATURE_UNSOL_BCAST_PROBE_RESP = 0x35 @@ -5343,7 +5469,10 @@ const ( NL80211_FREQUENCY_ATTR_2MHZ = 0x16 NL80211_FREQUENCY_ATTR_4MHZ = 0x17 NL80211_FREQUENCY_ATTR_8MHZ = 0x18 + NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP = 0x21 + NL80211_FREQUENCY_ATTR_CAN_MONITOR = 0x20 NL80211_FREQUENCY_ATTR_DFS_CAC_TIME = 0xd + NL80211_FREQUENCY_ATTR_DFS_CONCURRENT = 0x1d NL80211_FREQUENCY_ATTR_DFS_STATE = 0x7 NL80211_FREQUENCY_ATTR_DFS_TIME = 0x8 NL80211_FREQUENCY_ATTR_DISABLED = 0x2 @@ -5351,12 +5480,14 @@ const ( NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf - NL80211_FREQUENCY_ATTR_MAX = 0x21 + NL80211_FREQUENCY_ATTR_MAX = 0x22 NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6 NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11 NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc NL80211_FREQUENCY_ATTR_NO_20MHZ = 0x10 NL80211_FREQUENCY_ATTR_NO_320MHZ = 0x1a + NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT = 0x1f + NL80211_FREQUENCY_ATTR_NO_6GHZ_VLP_CLIENT = 0x1e NL80211_FREQUENCY_ATTR_NO_80MHZ = 0xb NL80211_FREQUENCY_ATTR_NO_EHT = 0x1b NL80211_FREQUENCY_ATTR_NO_HE = 0x13 @@ -5364,8 +5495,11 @@ const ( NL80211_FREQUENCY_ATTR_NO_HT40_PLUS = 0xa NL80211_FREQUENCY_ATTR_NO_IBSS = 0x3 NL80211_FREQUENCY_ATTR_NO_IR = 0x3 + NL80211_FREQUENCY_ATTR_NO_UHB_AFC_CLIENT = 0x1f + NL80211_FREQUENCY_ATTR_NO_UHB_VLP_CLIENT = 0x1e NL80211_FREQUENCY_ATTR_OFFSET = 0x14 NL80211_FREQUENCY_ATTR_PASSIVE_SCAN = 0x3 + NL80211_FREQUENCY_ATTR_PSD = 0x1c NL80211_FREQUENCY_ATTR_RADAR = 0x5 NL80211_FREQUENCY_ATTR_WMM = 0x12 NL80211_FTM_RESP_ATTR_CIVICLOC = 0x3 @@ -5430,6 +5564,7 @@ const ( NL80211_IFTYPE_STATION = 0x2 NL80211_IFTYPE_UNSPECIFIED = 0x0 NL80211_IFTYPE_WDS = 0x5 + NL80211_KCK_EXT_LEN_32 = 0x20 NL80211_KCK_EXT_LEN = 0x18 NL80211_KCK_LEN = 0x10 NL80211_KEK_EXT_LEN = 0x20 @@ -5458,9 +5593,10 @@ const ( NL80211_MAX_SUPP_HT_RATES = 0x4d NL80211_MAX_SUPP_RATES = 0x20 NL80211_MAX_SUPP_REG_RULES = 0x80 + NL80211_MAX_SUPP_SELECTORS = 0x80 NL80211_MBSSID_CONFIG_ATTR_EMA = 0x5 NL80211_MBSSID_CONFIG_ATTR_INDEX = 0x3 - NL80211_MBSSID_CONFIG_ATTR_MAX = 0x5 + NL80211_MBSSID_CONFIG_ATTR_MAX = 0x6 NL80211_MBSSID_CONFIG_ATTR_MAX_EMA_PROFILE_PERIODICITY = 0x2 NL80211_MBSSID_CONFIG_ATTR_MAX_INTERFACES = 0x1 NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX = 0x4 @@ -5703,11 +5839,16 @@ const ( NL80211_RADAR_PRE_CAC_EXPIRED = 0x4 NL80211_RATE_INFO_10_MHZ_WIDTH = 0xb NL80211_RATE_INFO_160_MHZ_WIDTH = 0xa + NL80211_RATE_INFO_16_MHZ_WIDTH = 0x1d + NL80211_RATE_INFO_1_MHZ_WIDTH = 0x19 + NL80211_RATE_INFO_2_MHZ_WIDTH = 0x1a NL80211_RATE_INFO_320_MHZ_WIDTH = 0x12 NL80211_RATE_INFO_40_MHZ_WIDTH = 0x3 + NL80211_RATE_INFO_4_MHZ_WIDTH = 0x1b NL80211_RATE_INFO_5_MHZ_WIDTH = 0xc NL80211_RATE_INFO_80_MHZ_WIDTH = 0x8 NL80211_RATE_INFO_80P80_MHZ_WIDTH = 0x9 + NL80211_RATE_INFO_8_MHZ_WIDTH = 0x1c NL80211_RATE_INFO_BITRATE32 = 0x5 NL80211_RATE_INFO_BITRATE = 0x1 NL80211_RATE_INFO_EHT_GI_0_8 = 0x0 @@ -5753,6 +5894,8 @@ const ( NL80211_RATE_INFO_HE_RU_ALLOC = 0x11 NL80211_RATE_INFO_MAX = 0x1d NL80211_RATE_INFO_MCS = 0x2 + NL80211_RATE_INFO_S1G_MCS = 0x17 + NL80211_RATE_INFO_S1G_NSS = 0x18 NL80211_RATE_INFO_SHORT_GI = 0x4 NL80211_RATE_INFO_VHT_MCS = 0x6 NL80211_RATE_INFO_VHT_NSS = 0x7 @@ -5770,14 +5913,19 @@ const ( NL80211_REKEY_DATA_KEK = 0x1 NL80211_REKEY_DATA_REPLAY_CTR = 0x3 NL80211_REPLAY_CTR_LEN = 0x8 + NL80211_RRF_ALLOW_6GHZ_VLP_AP = 0x1000000 NL80211_RRF_AUTO_BW = 0x800 NL80211_RRF_DFS = 0x10 + NL80211_RRF_DFS_CONCURRENT = 0x200000 NL80211_RRF_GO_CONCURRENT = 0x1000 NL80211_RRF_IR_CONCURRENT = 0x1000 NL80211_RRF_NO_160MHZ = 0x10000 NL80211_RRF_NO_320MHZ = 0x40000 + NL80211_RRF_NO_6GHZ_AFC_CLIENT = 0x800000 + NL80211_RRF_NO_6GHZ_VLP_CLIENT = 0x400000 NL80211_RRF_NO_80MHZ = 0x8000 NL80211_RRF_NO_CCK = 0x2 + NL80211_RRF_NO_EHT = 0x80000 NL80211_RRF_NO_HE = 0x20000 NL80211_RRF_NO_HT40 = 0x6000 NL80211_RRF_NO_HT40MINUS = 0x2000 @@ -5788,7 +5936,10 @@ const ( NL80211_RRF_NO_IR = 0x80 NL80211_RRF_NO_OFDM = 0x1 NL80211_RRF_NO_OUTDOOR = 0x8 + NL80211_RRF_NO_UHB_AFC_CLIENT = 0x800000 + NL80211_RRF_NO_UHB_VLP_CLIENT = 0x400000 NL80211_RRF_PASSIVE_SCAN = 0x80 + NL80211_RRF_PSD = 0x100000 NL80211_RRF_PTMP_ONLY = 0x40 NL80211_RRF_PTP_ONLY = 0x20 NL80211_RXMGMT_FLAG_ANSWERED = 0x1 @@ -5849,6 +6000,7 @@ const ( NL80211_STA_FLAG_MAX_OLD_API = 0x6 NL80211_STA_FLAG_MFP = 0x4 NL80211_STA_FLAG_SHORT_PREAMBLE = 0x2 + NL80211_STA_FLAG_SPP_AMSDU = 0x8 NL80211_STA_FLAG_TDLS_PEER = 0x6 NL80211_STA_FLAG_WME = 0x3 NL80211_STA_INFO_ACK_SIGNAL_AVG = 0x23 @@ -6007,6 +6159,13 @@ const ( NL80211_VHT_CAPABILITY_LEN = 0xc NL80211_VHT_NSS_MAX = 0x8 NL80211_WIPHY_NAME_MAXLEN = 0x40 + NL80211_WIPHY_RADIO_ATTR_FREQ_RANGE = 0x2 + NL80211_WIPHY_RADIO_ATTR_INDEX = 0x1 + NL80211_WIPHY_RADIO_ATTR_INTERFACE_COMBINATION = 0x3 + NL80211_WIPHY_RADIO_ATTR_MAX = 0x4 + NL80211_WIPHY_RADIO_FREQ_ATTR_END = 0x2 + NL80211_WIPHY_RADIO_FREQ_ATTR_MAX = 0x2 + NL80211_WIPHY_RADIO_FREQ_ATTR_START = 0x1 NL80211_WMMR_AIFSN = 0x3 NL80211_WMMR_CW_MAX = 0x2 NL80211_WMMR_CW_MIN = 0x1 @@ -6038,6 +6197,7 @@ const ( NL80211_WOWLAN_TRIG_PKT_PATTERN = 0x4 NL80211_WOWLAN_TRIG_RFKILL_RELEASE = 0x9 NL80211_WOWLAN_TRIG_TCP_CONNECTION = 0xe + NL80211_WOWLAN_TRIG_UNPROTECTED_DEAUTH_DISASSOC = 0x14 NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211 = 0xa NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211_LEN = 0xb NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023 = 0xc @@ -6176,3 +6336,30 @@ type SockDiagReq struct { } const RTM_NEWNVLAN = 0x70 + +const ( + MPOL_BIND = 0x2 + MPOL_DEFAULT = 0x0 + MPOL_F_ADDR = 0x2 + MPOL_F_MEMS_ALLOWED = 0x4 + MPOL_F_MOF = 0x8 + MPOL_F_MORON = 0x10 + MPOL_F_NODE = 0x1 + MPOL_F_NUMA_BALANCING = 0x2000 + MPOL_F_RELATIVE_NODES = 0x4000 + MPOL_F_SHARED = 0x1 + MPOL_F_STATIC_NODES = 0x8000 + MPOL_INTERLEAVE = 0x3 + MPOL_LOCAL = 0x4 + MPOL_MAX = 0x7 + MPOL_MF_INTERNAL = 0x10 + MPOL_MF_LAZY = 0x8 + MPOL_MF_MOVE_ALL = 0x4 + MPOL_MF_MOVE = 0x2 + MPOL_MF_STRICT = 0x1 + MPOL_MF_VALID = 0x7 + MPOL_MODE_FLAGS = 0xe000 + MPOL_PREFERRED = 0x1 + MPOL_PREFERRED_MANY = 0x5 + MPOL_WEIGHTED_INTERLEAVE = 0x6 +) diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go index fd402da43f..485f2d3a1b 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_386.go @@ -282,7 +282,7 @@ type Taskstats struct { Ac_exitcode uint32 Ac_flag uint8 Ac_nice uint8 - _ [4]byte + _ [6]byte Cpu_count uint64 Cpu_delay_total uint64 Blkio_count uint64 @@ -338,6 +338,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint32 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go index eb7a5e1864..ecbd1ad8bc 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go @@ -351,6 +351,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go index d78ac108b6..02f0463a44 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go @@ -91,7 +91,7 @@ type Stat_t struct { Gid uint32 Rdev uint64 _ uint16 - _ [4]byte + _ [6]byte Size int64 Blksize int32 _ [4]byte @@ -273,7 +273,7 @@ type Taskstats struct { Ac_exitcode uint32 Ac_flag uint8 Ac_nice uint8 - _ [4]byte + _ [6]byte Cpu_count uint64 Cpu_delay_total uint64 Blkio_count uint64 @@ -329,6 +329,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint32 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go index cd06d47f1f..6f4d400d24 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go @@ -330,6 +330,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go index 2f28fe26c1..cd532cfa55 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go @@ -331,6 +331,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go index 71d6cac2f1..4133620851 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go @@ -278,7 +278,7 @@ type Taskstats struct { Ac_exitcode uint32 Ac_flag uint8 Ac_nice uint8 - _ [4]byte + _ [6]byte Cpu_count uint64 Cpu_delay_total uint64 Blkio_count uint64 @@ -334,6 +334,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint32 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go index 8596d45356..eaa37eb718 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go @@ -333,6 +333,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go index cd60ea1866..98ae6a1e4a 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go @@ -333,6 +333,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go index b0ae420c48..cae1961594 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go @@ -278,7 +278,7 @@ type Taskstats struct { Ac_exitcode uint32 Ac_flag uint8 Ac_nice uint8 - _ [4]byte + _ [6]byte Cpu_count uint64 Cpu_delay_total uint64 Blkio_count uint64 @@ -334,6 +334,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint32 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go index 8359728759..6ce3b4e028 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go @@ -90,7 +90,7 @@ type Stat_t struct { Gid uint32 Rdev uint64 _ uint16 - _ [4]byte + _ [6]byte Size int64 Blksize int32 _ [4]byte @@ -285,7 +285,7 @@ type Taskstats struct { Ac_exitcode uint32 Ac_flag uint8 Ac_nice uint8 - _ [4]byte + _ [6]byte Cpu_count uint64 Cpu_delay_total uint64 Blkio_count uint64 @@ -341,6 +341,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint32 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go index 69eb6a5c68..c7429c6a14 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go @@ -340,6 +340,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go index 5f583cb62b..4bf4baf4ca 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go @@ -340,6 +340,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go index ad05b51a60..e9709d70af 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go @@ -358,6 +358,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go index cf3ce90037..fb44268ca7 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go @@ -353,6 +353,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go index 590b56739c..9c38265c74 100644 --- a/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +++ b/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go @@ -335,6 +335,22 @@ type Taskstats struct { Wpcopy_delay_total uint64 Irq_count uint64 Irq_delay_total uint64 + Cpu_delay_max uint64 + Cpu_delay_min uint64 + Blkio_delay_max uint64 + Blkio_delay_min uint64 + Swapin_delay_max uint64 + Swapin_delay_min uint64 + Freepages_delay_max uint64 + Freepages_delay_min uint64 + Thrashing_delay_max uint64 + Thrashing_delay_min uint64 + Compact_delay_max uint64 + Compact_delay_min uint64 + Wpcopy_delay_max uint64 + Wpcopy_delay_min uint64 + Irq_delay_max uint64 + Irq_delay_min uint64 } type cpuMask uint64 diff --git a/vendor/golang.org/x/sys/windows/registry/key.go b/vendor/golang.org/x/sys/windows/registry/key.go index fd8632444e..39aeeb644f 100644 --- a/vendor/golang.org/x/sys/windows/registry/key.go +++ b/vendor/golang.org/x/sys/windows/registry/key.go @@ -164,7 +164,12 @@ loopItems: func CreateKey(k Key, path string, access uint32) (newk Key, openedExisting bool, err error) { var h syscall.Handle var d uint32 - err = regCreateKeyEx(syscall.Handle(k), syscall.StringToUTF16Ptr(path), + var pathPointer *uint16 + pathPointer, err = syscall.UTF16PtrFromString(path) + if err != nil { + return 0, false, err + } + err = regCreateKeyEx(syscall.Handle(k), pathPointer, 0, nil, _REG_OPTION_NON_VOLATILE, access, nil, &h, &d) if err != nil { return 0, false, err @@ -174,7 +179,11 @@ func CreateKey(k Key, path string, access uint32) (newk Key, openedExisting bool // DeleteKey deletes the subkey path of key k and its values. func DeleteKey(k Key, path string) error { - return regDeleteKey(syscall.Handle(k), syscall.StringToUTF16Ptr(path)) + pathPointer, err := syscall.UTF16PtrFromString(path) + if err != nil { + return err + } + return regDeleteKey(syscall.Handle(k), pathPointer) } // A KeyInfo describes the statistics of a key. It is returned by Stat. diff --git a/vendor/golang.org/x/sys/windows/registry/value.go b/vendor/golang.org/x/sys/windows/registry/value.go index 74db26b94d..a1bcbb2362 100644 --- a/vendor/golang.org/x/sys/windows/registry/value.go +++ b/vendor/golang.org/x/sys/windows/registry/value.go @@ -340,7 +340,11 @@ func (k Key) SetBinaryValue(name string, value []byte) error { // DeleteValue removes a named value from the key k. func (k Key) DeleteValue(name string) error { - return regDeleteValue(syscall.Handle(k), syscall.StringToUTF16Ptr(name)) + namePointer, err := syscall.UTF16PtrFromString(name) + if err != nil { + return err + } + return regDeleteValue(syscall.Handle(k), namePointer) } // ReadValueNames returns the value names of key k. diff --git a/vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go b/vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go index fc1835d8a2..bc1ce4360b 100644 --- a/vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go +++ b/vendor/golang.org/x/sys/windows/registry/zsyscall_windows.go @@ -52,7 +52,7 @@ var ( ) func regConnectRegistry(machinename *uint16, key syscall.Handle, result *syscall.Handle) (regerrno error) { - r0, _, _ := syscall.Syscall(procRegConnectRegistryW.Addr(), 3, uintptr(unsafe.Pointer(machinename)), uintptr(key), uintptr(unsafe.Pointer(result))) + r0, _, _ := syscall.SyscallN(procRegConnectRegistryW.Addr(), uintptr(unsafe.Pointer(machinename)), uintptr(key), uintptr(unsafe.Pointer(result))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -60,7 +60,7 @@ func regConnectRegistry(machinename *uint16, key syscall.Handle, result *syscall } func regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class *uint16, options uint32, desired uint32, sa *syscall.SecurityAttributes, result *syscall.Handle, disposition *uint32) (regerrno error) { - r0, _, _ := syscall.Syscall9(procRegCreateKeyExW.Addr(), 9, uintptr(key), uintptr(unsafe.Pointer(subkey)), uintptr(reserved), uintptr(unsafe.Pointer(class)), uintptr(options), uintptr(desired), uintptr(unsafe.Pointer(sa)), uintptr(unsafe.Pointer(result)), uintptr(unsafe.Pointer(disposition))) + r0, _, _ := syscall.SyscallN(procRegCreateKeyExW.Addr(), uintptr(key), uintptr(unsafe.Pointer(subkey)), uintptr(reserved), uintptr(unsafe.Pointer(class)), uintptr(options), uintptr(desired), uintptr(unsafe.Pointer(sa)), uintptr(unsafe.Pointer(result)), uintptr(unsafe.Pointer(disposition))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -68,7 +68,7 @@ func regCreateKeyEx(key syscall.Handle, subkey *uint16, reserved uint32, class * } func regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) { - r0, _, _ := syscall.Syscall(procRegDeleteKeyW.Addr(), 2, uintptr(key), uintptr(unsafe.Pointer(subkey)), 0) + r0, _, _ := syscall.SyscallN(procRegDeleteKeyW.Addr(), uintptr(key), uintptr(unsafe.Pointer(subkey))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -76,7 +76,7 @@ func regDeleteKey(key syscall.Handle, subkey *uint16) (regerrno error) { } func regDeleteValue(key syscall.Handle, name *uint16) (regerrno error) { - r0, _, _ := syscall.Syscall(procRegDeleteValueW.Addr(), 2, uintptr(key), uintptr(unsafe.Pointer(name)), 0) + r0, _, _ := syscall.SyscallN(procRegDeleteValueW.Addr(), uintptr(key), uintptr(unsafe.Pointer(name))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -84,7 +84,7 @@ func regDeleteValue(key syscall.Handle, name *uint16) (regerrno error) { } func regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, buflen *uint32) (regerrno error) { - r0, _, _ := syscall.Syscall9(procRegEnumValueW.Addr(), 8, uintptr(key), uintptr(index), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(nameLen)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(valtype)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(buflen)), 0) + r0, _, _ := syscall.SyscallN(procRegEnumValueW.Addr(), uintptr(key), uintptr(index), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(nameLen)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(valtype)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(buflen))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -92,7 +92,7 @@ func regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint3 } func regLoadMUIString(key syscall.Handle, name *uint16, buf *uint16, buflen uint32, buflenCopied *uint32, flags uint32, dir *uint16) (regerrno error) { - r0, _, _ := syscall.Syscall9(procRegLoadMUIStringW.Addr(), 7, uintptr(key), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(buf)), uintptr(buflen), uintptr(unsafe.Pointer(buflenCopied)), uintptr(flags), uintptr(unsafe.Pointer(dir)), 0, 0) + r0, _, _ := syscall.SyscallN(procRegLoadMUIStringW.Addr(), uintptr(key), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(buf)), uintptr(buflen), uintptr(unsafe.Pointer(buflenCopied)), uintptr(flags), uintptr(unsafe.Pointer(dir))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -100,7 +100,7 @@ func regLoadMUIString(key syscall.Handle, name *uint16, buf *uint16, buflen uint } func regSetValueEx(key syscall.Handle, valueName *uint16, reserved uint32, vtype uint32, buf *byte, bufsize uint32) (regerrno error) { - r0, _, _ := syscall.Syscall6(procRegSetValueExW.Addr(), 6, uintptr(key), uintptr(unsafe.Pointer(valueName)), uintptr(reserved), uintptr(vtype), uintptr(unsafe.Pointer(buf)), uintptr(bufsize)) + r0, _, _ := syscall.SyscallN(procRegSetValueExW.Addr(), uintptr(key), uintptr(unsafe.Pointer(valueName)), uintptr(reserved), uintptr(vtype), uintptr(unsafe.Pointer(buf)), uintptr(bufsize)) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -108,7 +108,7 @@ func regSetValueEx(key syscall.Handle, valueName *uint16, reserved uint32, vtype } func expandEnvironmentStrings(src *uint16, dst *uint16, size uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procExpandEnvironmentStringsW.Addr(), 3, uintptr(unsafe.Pointer(src)), uintptr(unsafe.Pointer(dst)), uintptr(size)) + r0, _, e1 := syscall.SyscallN(procExpandEnvironmentStringsW.Addr(), uintptr(unsafe.Pointer(src)), uintptr(unsafe.Pointer(dst)), uintptr(size)) n = uint32(r0) if n == 0 { err = errnoErr(e1) diff --git a/vendor/golang.org/x/sys/windows/security_windows.go b/vendor/golang.org/x/sys/windows/security_windows.go index b6e1ab76f8..a8b0364c7c 100644 --- a/vendor/golang.org/x/sys/windows/security_windows.go +++ b/vendor/golang.org/x/sys/windows/security_windows.go @@ -1303,7 +1303,10 @@ func (selfRelativeSD *SECURITY_DESCRIPTOR) ToAbsolute() (absoluteSD *SECURITY_DE return nil, err } if absoluteSDSize > 0 { - absoluteSD = (*SECURITY_DESCRIPTOR)(unsafe.Pointer(&make([]byte, absoluteSDSize)[0])) + absoluteSD = new(SECURITY_DESCRIPTOR) + if unsafe.Sizeof(*absoluteSD) < uintptr(absoluteSDSize) { + panic("sizeof(SECURITY_DESCRIPTOR) too small") + } } var ( dacl *ACL @@ -1312,19 +1315,55 @@ func (selfRelativeSD *SECURITY_DESCRIPTOR) ToAbsolute() (absoluteSD *SECURITY_DE group *SID ) if daclSize > 0 { - dacl = (*ACL)(unsafe.Pointer(&make([]byte, daclSize)[0])) + dacl = (*ACL)(unsafe.Pointer(unsafe.SliceData(make([]byte, daclSize)))) } if saclSize > 0 { - sacl = (*ACL)(unsafe.Pointer(&make([]byte, saclSize)[0])) + sacl = (*ACL)(unsafe.Pointer(unsafe.SliceData(make([]byte, saclSize)))) } if ownerSize > 0 { - owner = (*SID)(unsafe.Pointer(&make([]byte, ownerSize)[0])) + owner = (*SID)(unsafe.Pointer(unsafe.SliceData(make([]byte, ownerSize)))) } if groupSize > 0 { - group = (*SID)(unsafe.Pointer(&make([]byte, groupSize)[0])) + group = (*SID)(unsafe.Pointer(unsafe.SliceData(make([]byte, groupSize)))) } + // We call into Windows via makeAbsoluteSD, which sets up + // pointers within absoluteSD that point to other chunks of memory + // we pass into makeAbsoluteSD, and that happens outside the view of the GC. + // We therefore take some care here to then verify the pointers are as we expect + // and set them explicitly in view of the GC. See https://go.dev/issue/73199. + // TODO: consider weak pointers once Go 1.24 is appropriate. See suggestion in https://go.dev/cl/663575. err = makeAbsoluteSD(selfRelativeSD, absoluteSD, &absoluteSDSize, dacl, &daclSize, sacl, &saclSize, owner, &ownerSize, group, &groupSize) + if err != nil { + // Don't return absoluteSD, which might be partially initialized. + return nil, err + } + // Before using any fields, verify absoluteSD is in the format we expect according to Windows. + // See https://learn.microsoft.com/en-us/windows/win32/secauthz/absolute-and-self-relative-security-descriptors + absControl, _, err := absoluteSD.Control() + if err != nil { + panic("absoluteSD: " + err.Error()) + } + if absControl&SE_SELF_RELATIVE != 0 { + panic("absoluteSD not in absolute format") + } + if absoluteSD.dacl != dacl { + panic("dacl pointer mismatch") + } + if absoluteSD.sacl != sacl { + panic("sacl pointer mismatch") + } + if absoluteSD.owner != owner { + panic("owner pointer mismatch") + } + if absoluteSD.group != group { + panic("group pointer mismatch") + } + absoluteSD.dacl = dacl + absoluteSD.sacl = sacl + absoluteSD.owner = owner + absoluteSD.group = group + return } diff --git a/vendor/golang.org/x/sys/windows/syscall_windows.go b/vendor/golang.org/x/sys/windows/syscall_windows.go index 4a32543868..69439df2a4 100644 --- a/vendor/golang.org/x/sys/windows/syscall_windows.go +++ b/vendor/golang.org/x/sys/windows/syscall_windows.go @@ -321,6 +321,8 @@ func NewCallbackCDecl(fn interface{}) uintptr { //sys SetConsoleOutputCP(cp uint32) (err error) = kernel32.SetConsoleOutputCP //sys WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) = kernel32.WriteConsoleW //sys ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW +//sys GetNumberOfConsoleInputEvents(console Handle, numevents *uint32) (err error) = kernel32.GetNumberOfConsoleInputEvents +//sys FlushConsoleInputBuffer(console Handle) (err error) = kernel32.FlushConsoleInputBuffer //sys resizePseudoConsole(pconsole Handle, size uint32) (hr error) = kernel32.ResizePseudoConsole //sys CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, err error) [failretval==InvalidHandle] = kernel32.CreateToolhelp32Snapshot //sys Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) = kernel32.Module32FirstW @@ -870,6 +872,7 @@ const socket_error = uintptr(^uint32(0)) //sys WSARecvFrom(s Handle, bufs *WSABuf, bufcnt uint32, recvd *uint32, flags *uint32, from *RawSockaddrAny, fromlen *int32, overlapped *Overlapped, croutine *byte) (err error) [failretval==socket_error] = ws2_32.WSARecvFrom //sys WSASendTo(s Handle, bufs *WSABuf, bufcnt uint32, sent *uint32, flags uint32, to *RawSockaddrAny, tolen int32, overlapped *Overlapped, croutine *byte) (err error) [failretval==socket_error] = ws2_32.WSASendTo //sys WSASocket(af int32, typ int32, protocol int32, protoInfo *WSAProtocolInfo, group uint32, flags uint32) (handle Handle, err error) [failretval==InvalidHandle] = ws2_32.WSASocketW +//sys WSADuplicateSocket(s Handle, processID uint32, info *WSAProtocolInfo) (err error) [failretval!=0] = ws2_32.WSADuplicateSocketW //sys GetHostByName(name string) (h *Hostent, err error) [failretval==nil] = ws2_32.gethostbyname //sys GetServByName(name string, proto string) (s *Servent, err error) [failretval==nil] = ws2_32.getservbyname //sys Ntohs(netshort uint16) (u uint16) = ws2_32.ntohs @@ -889,8 +892,12 @@ const socket_error = uintptr(^uint32(0)) //sys MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar //sys getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) = iphlpapi.GetBestInterfaceEx //sys GetIfEntry2Ex(level uint32, row *MibIfRow2) (errcode error) = iphlpapi.GetIfEntry2Ex +//sys GetIpForwardEntry2(row *MibIpForwardRow2) (errcode error) = iphlpapi.GetIpForwardEntry2 +//sys GetIpForwardTable2(family uint16, table **MibIpForwardTable2) (errcode error) = iphlpapi.GetIpForwardTable2 //sys GetUnicastIpAddressEntry(row *MibUnicastIpAddressRow) (errcode error) = iphlpapi.GetUnicastIpAddressEntry +//sys FreeMibTable(memory unsafe.Pointer) = iphlpapi.FreeMibTable //sys NotifyIpInterfaceChange(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) = iphlpapi.NotifyIpInterfaceChange +//sys NotifyRouteChange2(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) = iphlpapi.NotifyRouteChange2 //sys NotifyUnicastIpAddressChange(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) = iphlpapi.NotifyUnicastIpAddressChange //sys CancelMibChangeNotify2(notificationHandle Handle) (errcode error) = iphlpapi.CancelMibChangeNotify2 @@ -913,6 +920,17 @@ type RawSockaddrInet6 struct { Scope_id uint32 } +// RawSockaddrInet is a union that contains an IPv4, an IPv6 address, or an address family. See +// https://learn.microsoft.com/en-us/windows/win32/api/ws2ipdef/ns-ws2ipdef-sockaddr_inet. +// +// A [*RawSockaddrInet] may be converted to a [*RawSockaddrInet4] or [*RawSockaddrInet6] using +// unsafe, depending on the address family. +type RawSockaddrInet struct { + Family uint16 + Port uint16 + Data [6]uint32 +} + type RawSockaddr struct { Family uint16 Data [14]int8 @@ -1698,8 +1716,9 @@ func NewNTUnicodeString(s string) (*NTUnicodeString, error) { // Slice returns a uint16 slice that aliases the data in the NTUnicodeString. func (s *NTUnicodeString) Slice() []uint16 { - slice := unsafe.Slice(s.Buffer, s.MaximumLength) - return slice[:s.Length] + // Note: this rounds the length down, if it happens + // to (incorrectly) be odd. Probably safer than rounding up. + return unsafe.Slice(s.Buffer, s.MaximumLength/2)[:s.Length/2] } func (s *NTUnicodeString) String() string { diff --git a/vendor/golang.org/x/sys/windows/types_windows.go b/vendor/golang.org/x/sys/windows/types_windows.go index 9d138de5fe..6e4f50eb48 100644 --- a/vendor/golang.org/x/sys/windows/types_windows.go +++ b/vendor/golang.org/x/sys/windows/types_windows.go @@ -65,6 +65,22 @@ var signals = [...]string{ 15: "terminated", } +// File flags for [os.OpenFile]. The O_ prefix is used to indicate +// that these flags are specific to the OpenFile function. +const ( + O_FILE_FLAG_OPEN_NO_RECALL = FILE_FLAG_OPEN_NO_RECALL + O_FILE_FLAG_OPEN_REPARSE_POINT = FILE_FLAG_OPEN_REPARSE_POINT + O_FILE_FLAG_SESSION_AWARE = FILE_FLAG_SESSION_AWARE + O_FILE_FLAG_POSIX_SEMANTICS = FILE_FLAG_POSIX_SEMANTICS + O_FILE_FLAG_BACKUP_SEMANTICS = FILE_FLAG_BACKUP_SEMANTICS + O_FILE_FLAG_DELETE_ON_CLOSE = FILE_FLAG_DELETE_ON_CLOSE + O_FILE_FLAG_SEQUENTIAL_SCAN = FILE_FLAG_SEQUENTIAL_SCAN + O_FILE_FLAG_RANDOM_ACCESS = FILE_FLAG_RANDOM_ACCESS + O_FILE_FLAG_NO_BUFFERING = FILE_FLAG_NO_BUFFERING + O_FILE_FLAG_OVERLAPPED = FILE_FLAG_OVERLAPPED + O_FILE_FLAG_WRITE_THROUGH = FILE_FLAG_WRITE_THROUGH +) + const ( FILE_READ_DATA = 0x00000001 FILE_READ_ATTRIBUTES = 0x00000080 @@ -1074,6 +1090,7 @@ const ( IP_ADD_MEMBERSHIP = 0xc IP_DROP_MEMBERSHIP = 0xd IP_PKTINFO = 0x13 + IP_MTU_DISCOVER = 0x47 IPV6_V6ONLY = 0x1b IPV6_UNICAST_HOPS = 0x4 @@ -1083,6 +1100,7 @@ const ( IPV6_JOIN_GROUP = 0xc IPV6_LEAVE_GROUP = 0xd IPV6_PKTINFO = 0x13 + IPV6_MTU_DISCOVER = 0x47 MSG_OOB = 0x1 MSG_PEEK = 0x2 @@ -1132,6 +1150,15 @@ const ( WSASYS_STATUS_LEN = 128 ) +// enum PMTUD_STATE from ws2ipdef.h +const ( + IP_PMTUDISC_NOT_SET = 0 + IP_PMTUDISC_DO = 1 + IP_PMTUDISC_DONT = 2 + IP_PMTUDISC_PROBE = 3 + IP_PMTUDISC_MAX = 4 +) + type WSABuf struct { Len uint32 Buf *byte @@ -1146,6 +1173,22 @@ type WSAMsg struct { Flags uint32 } +type WSACMSGHDR struct { + Len uintptr + Level int32 + Type int32 +} + +type IN_PKTINFO struct { + Addr [4]byte + Ifindex uint32 +} + +type IN6_PKTINFO struct { + Addr [16]byte + Ifindex uint32 +} + // Flags for WSASocket const ( WSA_FLAG_OVERLAPPED = 0x01 @@ -1949,6 +1992,12 @@ const ( SYMBOLIC_LINK_FLAG_DIRECTORY = 0x1 ) +// FILE_ZERO_DATA_INFORMATION from winioctl.h +type FileZeroDataInformation struct { + FileOffset int64 + BeyondFinalZero int64 +} + const ( ComputerNameNetBIOS = 0 ComputerNameDnsHostname = 1 @@ -2271,6 +2320,82 @@ type MibIfRow2 struct { OutQLen uint64 } +// IP_ADDRESS_PREFIX stores an IP address prefix. See +// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-ip_address_prefix. +type IpAddressPrefix struct { + Prefix RawSockaddrInet + PrefixLength uint8 +} + +// NL_ROUTE_ORIGIN enumeration from nldef.h or +// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_route_origin. +const ( + NlroManual = 0 + NlroWellKnown = 1 + NlroDHCP = 2 + NlroRouterAdvertisement = 3 + Nlro6to4 = 4 +) + +// NL_ROUTE_ORIGIN enumeration from nldef.h or +// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_route_protocol. +const ( + MIB_IPPROTO_OTHER = 1 + MIB_IPPROTO_LOCAL = 2 + MIB_IPPROTO_NETMGMT = 3 + MIB_IPPROTO_ICMP = 4 + MIB_IPPROTO_EGP = 5 + MIB_IPPROTO_GGP = 6 + MIB_IPPROTO_HELLO = 7 + MIB_IPPROTO_RIP = 8 + MIB_IPPROTO_IS_IS = 9 + MIB_IPPROTO_ES_IS = 10 + MIB_IPPROTO_CISCO = 11 + MIB_IPPROTO_BBN = 12 + MIB_IPPROTO_OSPF = 13 + MIB_IPPROTO_BGP = 14 + MIB_IPPROTO_IDPR = 15 + MIB_IPPROTO_EIGRP = 16 + MIB_IPPROTO_DVMRP = 17 + MIB_IPPROTO_RPL = 18 + MIB_IPPROTO_DHCP = 19 + MIB_IPPROTO_NT_AUTOSTATIC = 10002 + MIB_IPPROTO_NT_STATIC = 10006 + MIB_IPPROTO_NT_STATIC_NON_DOD = 10007 +) + +// MIB_IPFORWARD_ROW2 stores information about an IP route entry. See +// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_ipforward_row2. +type MibIpForwardRow2 struct { + InterfaceLuid uint64 + InterfaceIndex uint32 + DestinationPrefix IpAddressPrefix + NextHop RawSockaddrInet + SitePrefixLength uint8 + ValidLifetime uint32 + PreferredLifetime uint32 + Metric uint32 + Protocol uint32 + Loopback uint8 + AutoconfigureAddress uint8 + Publish uint8 + Immortal uint8 + Age uint32 + Origin uint32 +} + +// MIB_IPFORWARD_TABLE2 contains a table of IP route entries. See +// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_ipforward_table2. +type MibIpForwardTable2 struct { + NumEntries uint32 + Table [1]MibIpForwardRow2 +} + +// Rows returns the IP route entries in the table. +func (t *MibIpForwardTable2) Rows() []MibIpForwardRow2 { + return unsafe.Slice(&t.Table[0], t.NumEntries) +} + // MIB_UNICASTIPADDRESS_ROW stores information about a unicast IP address. See // https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_unicastipaddress_row. type MibUnicastIpAddressRow struct { @@ -2673,6 +2798,8 @@ type CommTimeouts struct { // NTUnicodeString is a UTF-16 string for NT native APIs, corresponding to UNICODE_STRING. type NTUnicodeString struct { + // Note: Length and MaximumLength are in *bytes*, not uint16s. + // They should always be even. Length uint16 MaximumLength uint16 Buffer *uint16 @@ -3601,3 +3728,213 @@ const ( KLF_NOTELLSHELL = 0x00000080 KLF_SETFORPROCESS = 0x00000100 ) + +// Virtual Key codes +// https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes +const ( + VK_LBUTTON = 0x01 + VK_RBUTTON = 0x02 + VK_CANCEL = 0x03 + VK_MBUTTON = 0x04 + VK_XBUTTON1 = 0x05 + VK_XBUTTON2 = 0x06 + VK_BACK = 0x08 + VK_TAB = 0x09 + VK_CLEAR = 0x0C + VK_RETURN = 0x0D + VK_SHIFT = 0x10 + VK_CONTROL = 0x11 + VK_MENU = 0x12 + VK_PAUSE = 0x13 + VK_CAPITAL = 0x14 + VK_KANA = 0x15 + VK_HANGEUL = 0x15 + VK_HANGUL = 0x15 + VK_IME_ON = 0x16 + VK_JUNJA = 0x17 + VK_FINAL = 0x18 + VK_HANJA = 0x19 + VK_KANJI = 0x19 + VK_IME_OFF = 0x1A + VK_ESCAPE = 0x1B + VK_CONVERT = 0x1C + VK_NONCONVERT = 0x1D + VK_ACCEPT = 0x1E + VK_MODECHANGE = 0x1F + VK_SPACE = 0x20 + VK_PRIOR = 0x21 + VK_NEXT = 0x22 + VK_END = 0x23 + VK_HOME = 0x24 + VK_LEFT = 0x25 + VK_UP = 0x26 + VK_RIGHT = 0x27 + VK_DOWN = 0x28 + VK_SELECT = 0x29 + VK_PRINT = 0x2A + VK_EXECUTE = 0x2B + VK_SNAPSHOT = 0x2C + VK_INSERT = 0x2D + VK_DELETE = 0x2E + VK_HELP = 0x2F + VK_LWIN = 0x5B + VK_RWIN = 0x5C + VK_APPS = 0x5D + VK_SLEEP = 0x5F + VK_NUMPAD0 = 0x60 + VK_NUMPAD1 = 0x61 + VK_NUMPAD2 = 0x62 + VK_NUMPAD3 = 0x63 + VK_NUMPAD4 = 0x64 + VK_NUMPAD5 = 0x65 + VK_NUMPAD6 = 0x66 + VK_NUMPAD7 = 0x67 + VK_NUMPAD8 = 0x68 + VK_NUMPAD9 = 0x69 + VK_MULTIPLY = 0x6A + VK_ADD = 0x6B + VK_SEPARATOR = 0x6C + VK_SUBTRACT = 0x6D + VK_DECIMAL = 0x6E + VK_DIVIDE = 0x6F + VK_F1 = 0x70 + VK_F2 = 0x71 + VK_F3 = 0x72 + VK_F4 = 0x73 + VK_F5 = 0x74 + VK_F6 = 0x75 + VK_F7 = 0x76 + VK_F8 = 0x77 + VK_F9 = 0x78 + VK_F10 = 0x79 + VK_F11 = 0x7A + VK_F12 = 0x7B + VK_F13 = 0x7C + VK_F14 = 0x7D + VK_F15 = 0x7E + VK_F16 = 0x7F + VK_F17 = 0x80 + VK_F18 = 0x81 + VK_F19 = 0x82 + VK_F20 = 0x83 + VK_F21 = 0x84 + VK_F22 = 0x85 + VK_F23 = 0x86 + VK_F24 = 0x87 + VK_NUMLOCK = 0x90 + VK_SCROLL = 0x91 + VK_OEM_NEC_EQUAL = 0x92 + VK_OEM_FJ_JISHO = 0x92 + VK_OEM_FJ_MASSHOU = 0x93 + VK_OEM_FJ_TOUROKU = 0x94 + VK_OEM_FJ_LOYA = 0x95 + VK_OEM_FJ_ROYA = 0x96 + VK_LSHIFT = 0xA0 + VK_RSHIFT = 0xA1 + VK_LCONTROL = 0xA2 + VK_RCONTROL = 0xA3 + VK_LMENU = 0xA4 + VK_RMENU = 0xA5 + VK_BROWSER_BACK = 0xA6 + VK_BROWSER_FORWARD = 0xA7 + VK_BROWSER_REFRESH = 0xA8 + VK_BROWSER_STOP = 0xA9 + VK_BROWSER_SEARCH = 0xAA + VK_BROWSER_FAVORITES = 0xAB + VK_BROWSER_HOME = 0xAC + VK_VOLUME_MUTE = 0xAD + VK_VOLUME_DOWN = 0xAE + VK_VOLUME_UP = 0xAF + VK_MEDIA_NEXT_TRACK = 0xB0 + VK_MEDIA_PREV_TRACK = 0xB1 + VK_MEDIA_STOP = 0xB2 + VK_MEDIA_PLAY_PAUSE = 0xB3 + VK_LAUNCH_MAIL = 0xB4 + VK_LAUNCH_MEDIA_SELECT = 0xB5 + VK_LAUNCH_APP1 = 0xB6 + VK_LAUNCH_APP2 = 0xB7 + VK_OEM_1 = 0xBA + VK_OEM_PLUS = 0xBB + VK_OEM_COMMA = 0xBC + VK_OEM_MINUS = 0xBD + VK_OEM_PERIOD = 0xBE + VK_OEM_2 = 0xBF + VK_OEM_3 = 0xC0 + VK_OEM_4 = 0xDB + VK_OEM_5 = 0xDC + VK_OEM_6 = 0xDD + VK_OEM_7 = 0xDE + VK_OEM_8 = 0xDF + VK_OEM_AX = 0xE1 + VK_OEM_102 = 0xE2 + VK_ICO_HELP = 0xE3 + VK_ICO_00 = 0xE4 + VK_PROCESSKEY = 0xE5 + VK_ICO_CLEAR = 0xE6 + VK_OEM_RESET = 0xE9 + VK_OEM_JUMP = 0xEA + VK_OEM_PA1 = 0xEB + VK_OEM_PA2 = 0xEC + VK_OEM_PA3 = 0xED + VK_OEM_WSCTRL = 0xEE + VK_OEM_CUSEL = 0xEF + VK_OEM_ATTN = 0xF0 + VK_OEM_FINISH = 0xF1 + VK_OEM_COPY = 0xF2 + VK_OEM_AUTO = 0xF3 + VK_OEM_ENLW = 0xF4 + VK_OEM_BACKTAB = 0xF5 + VK_ATTN = 0xF6 + VK_CRSEL = 0xF7 + VK_EXSEL = 0xF8 + VK_EREOF = 0xF9 + VK_PLAY = 0xFA + VK_ZOOM = 0xFB + VK_NONAME = 0xFC + VK_PA1 = 0xFD + VK_OEM_CLEAR = 0xFE +) + +// Mouse button constants. +// https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str +const ( + FROM_LEFT_1ST_BUTTON_PRESSED = 0x0001 + RIGHTMOST_BUTTON_PRESSED = 0x0002 + FROM_LEFT_2ND_BUTTON_PRESSED = 0x0004 + FROM_LEFT_3RD_BUTTON_PRESSED = 0x0008 + FROM_LEFT_4TH_BUTTON_PRESSED = 0x0010 +) + +// Control key state constaints. +// https://docs.microsoft.com/en-us/windows/console/key-event-record-str +// https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str +const ( + CAPSLOCK_ON = 0x0080 + ENHANCED_KEY = 0x0100 + LEFT_ALT_PRESSED = 0x0002 + LEFT_CTRL_PRESSED = 0x0008 + NUMLOCK_ON = 0x0020 + RIGHT_ALT_PRESSED = 0x0001 + RIGHT_CTRL_PRESSED = 0x0004 + SCROLLLOCK_ON = 0x0040 + SHIFT_PRESSED = 0x0010 +) + +// Mouse event record event flags. +// https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str +const ( + MOUSE_MOVED = 0x0001 + DOUBLE_CLICK = 0x0002 + MOUSE_WHEELED = 0x0004 + MOUSE_HWHEELED = 0x0008 +) + +// Input Record Event Types +// https://learn.microsoft.com/en-us/windows/console/input-record-str +const ( + FOCUS_EVENT = 0x0010 + KEY_EVENT = 0x0001 + MENU_EVENT = 0x0008 + MOUSE_EVENT = 0x0002 + WINDOW_BUFFER_SIZE_EVENT = 0x0004 +) diff --git a/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/vendor/golang.org/x/sys/windows/zsyscall_windows.go index 01c0716c2c..f25b7308a1 100644 --- a/vendor/golang.org/x/sys/windows/zsyscall_windows.go +++ b/vendor/golang.org/x/sys/windows/zsyscall_windows.go @@ -182,13 +182,17 @@ var ( procDwmGetWindowAttribute = moddwmapi.NewProc("DwmGetWindowAttribute") procDwmSetWindowAttribute = moddwmapi.NewProc("DwmSetWindowAttribute") procCancelMibChangeNotify2 = modiphlpapi.NewProc("CancelMibChangeNotify2") + procFreeMibTable = modiphlpapi.NewProc("FreeMibTable") procGetAdaptersAddresses = modiphlpapi.NewProc("GetAdaptersAddresses") procGetAdaptersInfo = modiphlpapi.NewProc("GetAdaptersInfo") procGetBestInterfaceEx = modiphlpapi.NewProc("GetBestInterfaceEx") procGetIfEntry = modiphlpapi.NewProc("GetIfEntry") procGetIfEntry2Ex = modiphlpapi.NewProc("GetIfEntry2Ex") + procGetIpForwardEntry2 = modiphlpapi.NewProc("GetIpForwardEntry2") + procGetIpForwardTable2 = modiphlpapi.NewProc("GetIpForwardTable2") procGetUnicastIpAddressEntry = modiphlpapi.NewProc("GetUnicastIpAddressEntry") procNotifyIpInterfaceChange = modiphlpapi.NewProc("NotifyIpInterfaceChange") + procNotifyRouteChange2 = modiphlpapi.NewProc("NotifyRouteChange2") procNotifyUnicastIpAddressChange = modiphlpapi.NewProc("NotifyUnicastIpAddressChange") procAddDllDirectory = modkernel32.NewProc("AddDllDirectory") procAssignProcessToJobObject = modkernel32.NewProc("AssignProcessToJobObject") @@ -238,6 +242,7 @@ var ( procFindResourceW = modkernel32.NewProc("FindResourceW") procFindVolumeClose = modkernel32.NewProc("FindVolumeClose") procFindVolumeMountPointClose = modkernel32.NewProc("FindVolumeMountPointClose") + procFlushConsoleInputBuffer = modkernel32.NewProc("FlushConsoleInputBuffer") procFlushFileBuffers = modkernel32.NewProc("FlushFileBuffers") procFlushViewOfFile = modkernel32.NewProc("FlushViewOfFile") procFormatMessageW = modkernel32.NewProc("FormatMessageW") @@ -284,6 +289,7 @@ var ( procGetNamedPipeHandleStateW = modkernel32.NewProc("GetNamedPipeHandleStateW") procGetNamedPipeInfo = modkernel32.NewProc("GetNamedPipeInfo") procGetNamedPipeServerProcessId = modkernel32.NewProc("GetNamedPipeServerProcessId") + procGetNumberOfConsoleInputEvents = modkernel32.NewProc("GetNumberOfConsoleInputEvents") procGetOverlappedResult = modkernel32.NewProc("GetOverlappedResult") procGetPriorityClass = modkernel32.NewProc("GetPriorityClass") procGetProcAddress = modkernel32.NewProc("GetProcAddress") @@ -511,6 +517,7 @@ var ( procFreeAddrInfoW = modws2_32.NewProc("FreeAddrInfoW") procGetAddrInfoW = modws2_32.NewProc("GetAddrInfoW") procWSACleanup = modws2_32.NewProc("WSACleanup") + procWSADuplicateSocketW = modws2_32.NewProc("WSADuplicateSocketW") procWSAEnumProtocolsW = modws2_32.NewProc("WSAEnumProtocolsW") procWSAGetOverlappedResult = modws2_32.NewProc("WSAGetOverlappedResult") procWSAIoctl = modws2_32.NewProc("WSAIoctl") @@ -545,25 +552,25 @@ var ( ) func cm_Get_DevNode_Status(status *uint32, problemNumber *uint32, devInst DEVINST, flags uint32) (ret CONFIGRET) { - r0, _, _ := syscall.Syscall6(procCM_Get_DevNode_Status.Addr(), 4, uintptr(unsafe.Pointer(status)), uintptr(unsafe.Pointer(problemNumber)), uintptr(devInst), uintptr(flags), 0, 0) + r0, _, _ := syscall.SyscallN(procCM_Get_DevNode_Status.Addr(), uintptr(unsafe.Pointer(status)), uintptr(unsafe.Pointer(problemNumber)), uintptr(devInst), uintptr(flags)) ret = CONFIGRET(r0) return } func cm_Get_Device_Interface_List(interfaceClass *GUID, deviceID *uint16, buffer *uint16, bufferLen uint32, flags uint32) (ret CONFIGRET) { - r0, _, _ := syscall.Syscall6(procCM_Get_Device_Interface_ListW.Addr(), 5, uintptr(unsafe.Pointer(interfaceClass)), uintptr(unsafe.Pointer(deviceID)), uintptr(unsafe.Pointer(buffer)), uintptr(bufferLen), uintptr(flags), 0) + r0, _, _ := syscall.SyscallN(procCM_Get_Device_Interface_ListW.Addr(), uintptr(unsafe.Pointer(interfaceClass)), uintptr(unsafe.Pointer(deviceID)), uintptr(unsafe.Pointer(buffer)), uintptr(bufferLen), uintptr(flags)) ret = CONFIGRET(r0) return } func cm_Get_Device_Interface_List_Size(len *uint32, interfaceClass *GUID, deviceID *uint16, flags uint32) (ret CONFIGRET) { - r0, _, _ := syscall.Syscall6(procCM_Get_Device_Interface_List_SizeW.Addr(), 4, uintptr(unsafe.Pointer(len)), uintptr(unsafe.Pointer(interfaceClass)), uintptr(unsafe.Pointer(deviceID)), uintptr(flags), 0, 0) + r0, _, _ := syscall.SyscallN(procCM_Get_Device_Interface_List_SizeW.Addr(), uintptr(unsafe.Pointer(len)), uintptr(unsafe.Pointer(interfaceClass)), uintptr(unsafe.Pointer(deviceID)), uintptr(flags)) ret = CONFIGRET(r0) return } func cm_MapCrToWin32Err(configRet CONFIGRET, defaultWin32Error Errno) (ret Errno) { - r0, _, _ := syscall.Syscall(procCM_MapCrToWin32Err.Addr(), 2, uintptr(configRet), uintptr(defaultWin32Error), 0) + r0, _, _ := syscall.SyscallN(procCM_MapCrToWin32Err.Addr(), uintptr(configRet), uintptr(defaultWin32Error)) ret = Errno(r0) return } @@ -573,7 +580,7 @@ func AdjustTokenGroups(token Token, resetToDefault bool, newstate *Tokengroups, if resetToDefault { _p0 = 1 } - r1, _, e1 := syscall.Syscall6(procAdjustTokenGroups.Addr(), 6, uintptr(token), uintptr(_p0), uintptr(unsafe.Pointer(newstate)), uintptr(buflen), uintptr(unsafe.Pointer(prevstate)), uintptr(unsafe.Pointer(returnlen))) + r1, _, e1 := syscall.SyscallN(procAdjustTokenGroups.Addr(), uintptr(token), uintptr(_p0), uintptr(unsafe.Pointer(newstate)), uintptr(buflen), uintptr(unsafe.Pointer(prevstate)), uintptr(unsafe.Pointer(returnlen))) if r1 == 0 { err = errnoErr(e1) } @@ -585,7 +592,7 @@ func AdjustTokenPrivileges(token Token, disableAllPrivileges bool, newstate *Tok if disableAllPrivileges { _p0 = 1 } - r1, _, e1 := syscall.Syscall6(procAdjustTokenPrivileges.Addr(), 6, uintptr(token), uintptr(_p0), uintptr(unsafe.Pointer(newstate)), uintptr(buflen), uintptr(unsafe.Pointer(prevstate)), uintptr(unsafe.Pointer(returnlen))) + r1, _, e1 := syscall.SyscallN(procAdjustTokenPrivileges.Addr(), uintptr(token), uintptr(_p0), uintptr(unsafe.Pointer(newstate)), uintptr(buflen), uintptr(unsafe.Pointer(prevstate)), uintptr(unsafe.Pointer(returnlen))) if r1 == 0 { err = errnoErr(e1) } @@ -593,7 +600,7 @@ func AdjustTokenPrivileges(token Token, disableAllPrivileges bool, newstate *Tok } func AllocateAndInitializeSid(identAuth *SidIdentifierAuthority, subAuth byte, subAuth0 uint32, subAuth1 uint32, subAuth2 uint32, subAuth3 uint32, subAuth4 uint32, subAuth5 uint32, subAuth6 uint32, subAuth7 uint32, sid **SID) (err error) { - r1, _, e1 := syscall.Syscall12(procAllocateAndInitializeSid.Addr(), 11, uintptr(unsafe.Pointer(identAuth)), uintptr(subAuth), uintptr(subAuth0), uintptr(subAuth1), uintptr(subAuth2), uintptr(subAuth3), uintptr(subAuth4), uintptr(subAuth5), uintptr(subAuth6), uintptr(subAuth7), uintptr(unsafe.Pointer(sid)), 0) + r1, _, e1 := syscall.SyscallN(procAllocateAndInitializeSid.Addr(), uintptr(unsafe.Pointer(identAuth)), uintptr(subAuth), uintptr(subAuth0), uintptr(subAuth1), uintptr(subAuth2), uintptr(subAuth3), uintptr(subAuth4), uintptr(subAuth5), uintptr(subAuth6), uintptr(subAuth7), uintptr(unsafe.Pointer(sid))) if r1 == 0 { err = errnoErr(e1) } @@ -601,7 +608,7 @@ func AllocateAndInitializeSid(identAuth *SidIdentifierAuthority, subAuth byte, s } func buildSecurityDescriptor(owner *TRUSTEE, group *TRUSTEE, countAccessEntries uint32, accessEntries *EXPLICIT_ACCESS, countAuditEntries uint32, auditEntries *EXPLICIT_ACCESS, oldSecurityDescriptor *SECURITY_DESCRIPTOR, sizeNewSecurityDescriptor *uint32, newSecurityDescriptor **SECURITY_DESCRIPTOR) (ret error) { - r0, _, _ := syscall.Syscall9(procBuildSecurityDescriptorW.Addr(), 9, uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(countAccessEntries), uintptr(unsafe.Pointer(accessEntries)), uintptr(countAuditEntries), uintptr(unsafe.Pointer(auditEntries)), uintptr(unsafe.Pointer(oldSecurityDescriptor)), uintptr(unsafe.Pointer(sizeNewSecurityDescriptor)), uintptr(unsafe.Pointer(newSecurityDescriptor))) + r0, _, _ := syscall.SyscallN(procBuildSecurityDescriptorW.Addr(), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(countAccessEntries), uintptr(unsafe.Pointer(accessEntries)), uintptr(countAuditEntries), uintptr(unsafe.Pointer(auditEntries)), uintptr(unsafe.Pointer(oldSecurityDescriptor)), uintptr(unsafe.Pointer(sizeNewSecurityDescriptor)), uintptr(unsafe.Pointer(newSecurityDescriptor))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -609,7 +616,7 @@ func buildSecurityDescriptor(owner *TRUSTEE, group *TRUSTEE, countAccessEntries } func ChangeServiceConfig2(service Handle, infoLevel uint32, info *byte) (err error) { - r1, _, e1 := syscall.Syscall(procChangeServiceConfig2W.Addr(), 3, uintptr(service), uintptr(infoLevel), uintptr(unsafe.Pointer(info))) + r1, _, e1 := syscall.SyscallN(procChangeServiceConfig2W.Addr(), uintptr(service), uintptr(infoLevel), uintptr(unsafe.Pointer(info))) if r1 == 0 { err = errnoErr(e1) } @@ -617,7 +624,7 @@ func ChangeServiceConfig2(service Handle, infoLevel uint32, info *byte) (err err } func ChangeServiceConfig(service Handle, serviceType uint32, startType uint32, errorControl uint32, binaryPathName *uint16, loadOrderGroup *uint16, tagId *uint32, dependencies *uint16, serviceStartName *uint16, password *uint16, displayName *uint16) (err error) { - r1, _, e1 := syscall.Syscall12(procChangeServiceConfigW.Addr(), 11, uintptr(service), uintptr(serviceType), uintptr(startType), uintptr(errorControl), uintptr(unsafe.Pointer(binaryPathName)), uintptr(unsafe.Pointer(loadOrderGroup)), uintptr(unsafe.Pointer(tagId)), uintptr(unsafe.Pointer(dependencies)), uintptr(unsafe.Pointer(serviceStartName)), uintptr(unsafe.Pointer(password)), uintptr(unsafe.Pointer(displayName)), 0) + r1, _, e1 := syscall.SyscallN(procChangeServiceConfigW.Addr(), uintptr(service), uintptr(serviceType), uintptr(startType), uintptr(errorControl), uintptr(unsafe.Pointer(binaryPathName)), uintptr(unsafe.Pointer(loadOrderGroup)), uintptr(unsafe.Pointer(tagId)), uintptr(unsafe.Pointer(dependencies)), uintptr(unsafe.Pointer(serviceStartName)), uintptr(unsafe.Pointer(password)), uintptr(unsafe.Pointer(displayName))) if r1 == 0 { err = errnoErr(e1) } @@ -625,7 +632,7 @@ func ChangeServiceConfig(service Handle, serviceType uint32, startType uint32, e } func checkTokenMembership(tokenHandle Token, sidToCheck *SID, isMember *int32) (err error) { - r1, _, e1 := syscall.Syscall(procCheckTokenMembership.Addr(), 3, uintptr(tokenHandle), uintptr(unsafe.Pointer(sidToCheck)), uintptr(unsafe.Pointer(isMember))) + r1, _, e1 := syscall.SyscallN(procCheckTokenMembership.Addr(), uintptr(tokenHandle), uintptr(unsafe.Pointer(sidToCheck)), uintptr(unsafe.Pointer(isMember))) if r1 == 0 { err = errnoErr(e1) } @@ -633,7 +640,7 @@ func checkTokenMembership(tokenHandle Token, sidToCheck *SID, isMember *int32) ( } func CloseServiceHandle(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procCloseServiceHandle.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procCloseServiceHandle.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -641,7 +648,7 @@ func CloseServiceHandle(handle Handle) (err error) { } func ControlService(service Handle, control uint32, status *SERVICE_STATUS) (err error) { - r1, _, e1 := syscall.Syscall(procControlService.Addr(), 3, uintptr(service), uintptr(control), uintptr(unsafe.Pointer(status))) + r1, _, e1 := syscall.SyscallN(procControlService.Addr(), uintptr(service), uintptr(control), uintptr(unsafe.Pointer(status))) if r1 == 0 { err = errnoErr(e1) } @@ -649,7 +656,7 @@ func ControlService(service Handle, control uint32, status *SERVICE_STATUS) (err } func convertSecurityDescriptorToStringSecurityDescriptor(sd *SECURITY_DESCRIPTOR, revision uint32, securityInformation SECURITY_INFORMATION, str **uint16, strLen *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procConvertSecurityDescriptorToStringSecurityDescriptorW.Addr(), 5, uintptr(unsafe.Pointer(sd)), uintptr(revision), uintptr(securityInformation), uintptr(unsafe.Pointer(str)), uintptr(unsafe.Pointer(strLen)), 0) + r1, _, e1 := syscall.SyscallN(procConvertSecurityDescriptorToStringSecurityDescriptorW.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(revision), uintptr(securityInformation), uintptr(unsafe.Pointer(str)), uintptr(unsafe.Pointer(strLen))) if r1 == 0 { err = errnoErr(e1) } @@ -657,7 +664,7 @@ func convertSecurityDescriptorToStringSecurityDescriptor(sd *SECURITY_DESCRIPTOR } func ConvertSidToStringSid(sid *SID, stringSid **uint16) (err error) { - r1, _, e1 := syscall.Syscall(procConvertSidToStringSidW.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(stringSid)), 0) + r1, _, e1 := syscall.SyscallN(procConvertSidToStringSidW.Addr(), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(stringSid))) if r1 == 0 { err = errnoErr(e1) } @@ -674,7 +681,7 @@ func convertStringSecurityDescriptorToSecurityDescriptor(str string, revision ui } func _convertStringSecurityDescriptorToSecurityDescriptor(str *uint16, revision uint32, sd **SECURITY_DESCRIPTOR, size *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procConvertStringSecurityDescriptorToSecurityDescriptorW.Addr(), 4, uintptr(unsafe.Pointer(str)), uintptr(revision), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(size)), 0, 0) + r1, _, e1 := syscall.SyscallN(procConvertStringSecurityDescriptorToSecurityDescriptorW.Addr(), uintptr(unsafe.Pointer(str)), uintptr(revision), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(size))) if r1 == 0 { err = errnoErr(e1) } @@ -682,7 +689,7 @@ func _convertStringSecurityDescriptorToSecurityDescriptor(str *uint16, revision } func ConvertStringSidToSid(stringSid *uint16, sid **SID) (err error) { - r1, _, e1 := syscall.Syscall(procConvertStringSidToSidW.Addr(), 2, uintptr(unsafe.Pointer(stringSid)), uintptr(unsafe.Pointer(sid)), 0) + r1, _, e1 := syscall.SyscallN(procConvertStringSidToSidW.Addr(), uintptr(unsafe.Pointer(stringSid)), uintptr(unsafe.Pointer(sid))) if r1 == 0 { err = errnoErr(e1) } @@ -690,7 +697,7 @@ func ConvertStringSidToSid(stringSid *uint16, sid **SID) (err error) { } func CopySid(destSidLen uint32, destSid *SID, srcSid *SID) (err error) { - r1, _, e1 := syscall.Syscall(procCopySid.Addr(), 3, uintptr(destSidLen), uintptr(unsafe.Pointer(destSid)), uintptr(unsafe.Pointer(srcSid))) + r1, _, e1 := syscall.SyscallN(procCopySid.Addr(), uintptr(destSidLen), uintptr(unsafe.Pointer(destSid)), uintptr(unsafe.Pointer(srcSid))) if r1 == 0 { err = errnoErr(e1) } @@ -702,7 +709,7 @@ func CreateProcessAsUser(token Token, appName *uint16, commandLine *uint16, proc if inheritHandles { _p0 = 1 } - r1, _, e1 := syscall.Syscall12(procCreateProcessAsUserW.Addr(), 11, uintptr(token), uintptr(unsafe.Pointer(appName)), uintptr(unsafe.Pointer(commandLine)), uintptr(unsafe.Pointer(procSecurity)), uintptr(unsafe.Pointer(threadSecurity)), uintptr(_p0), uintptr(creationFlags), uintptr(unsafe.Pointer(env)), uintptr(unsafe.Pointer(currentDir)), uintptr(unsafe.Pointer(startupInfo)), uintptr(unsafe.Pointer(outProcInfo)), 0) + r1, _, e1 := syscall.SyscallN(procCreateProcessAsUserW.Addr(), uintptr(token), uintptr(unsafe.Pointer(appName)), uintptr(unsafe.Pointer(commandLine)), uintptr(unsafe.Pointer(procSecurity)), uintptr(unsafe.Pointer(threadSecurity)), uintptr(_p0), uintptr(creationFlags), uintptr(unsafe.Pointer(env)), uintptr(unsafe.Pointer(currentDir)), uintptr(unsafe.Pointer(startupInfo)), uintptr(unsafe.Pointer(outProcInfo))) if r1 == 0 { err = errnoErr(e1) } @@ -710,7 +717,7 @@ func CreateProcessAsUser(token Token, appName *uint16, commandLine *uint16, proc } func CreateService(mgr Handle, serviceName *uint16, displayName *uint16, access uint32, srvType uint32, startType uint32, errCtl uint32, pathName *uint16, loadOrderGroup *uint16, tagId *uint32, dependencies *uint16, serviceStartName *uint16, password *uint16) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall15(procCreateServiceW.Addr(), 13, uintptr(mgr), uintptr(unsafe.Pointer(serviceName)), uintptr(unsafe.Pointer(displayName)), uintptr(access), uintptr(srvType), uintptr(startType), uintptr(errCtl), uintptr(unsafe.Pointer(pathName)), uintptr(unsafe.Pointer(loadOrderGroup)), uintptr(unsafe.Pointer(tagId)), uintptr(unsafe.Pointer(dependencies)), uintptr(unsafe.Pointer(serviceStartName)), uintptr(unsafe.Pointer(password)), 0, 0) + r0, _, e1 := syscall.SyscallN(procCreateServiceW.Addr(), uintptr(mgr), uintptr(unsafe.Pointer(serviceName)), uintptr(unsafe.Pointer(displayName)), uintptr(access), uintptr(srvType), uintptr(startType), uintptr(errCtl), uintptr(unsafe.Pointer(pathName)), uintptr(unsafe.Pointer(loadOrderGroup)), uintptr(unsafe.Pointer(tagId)), uintptr(unsafe.Pointer(dependencies)), uintptr(unsafe.Pointer(serviceStartName)), uintptr(unsafe.Pointer(password))) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -719,7 +726,7 @@ func CreateService(mgr Handle, serviceName *uint16, displayName *uint16, access } func createWellKnownSid(sidType WELL_KNOWN_SID_TYPE, domainSid *SID, sid *SID, sizeSid *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procCreateWellKnownSid.Addr(), 4, uintptr(sidType), uintptr(unsafe.Pointer(domainSid)), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(sizeSid)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCreateWellKnownSid.Addr(), uintptr(sidType), uintptr(unsafe.Pointer(domainSid)), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(sizeSid))) if r1 == 0 { err = errnoErr(e1) } @@ -727,7 +734,7 @@ func createWellKnownSid(sidType WELL_KNOWN_SID_TYPE, domainSid *SID, sid *SID, s } func CryptAcquireContext(provhandle *Handle, container *uint16, provider *uint16, provtype uint32, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procCryptAcquireContextW.Addr(), 5, uintptr(unsafe.Pointer(provhandle)), uintptr(unsafe.Pointer(container)), uintptr(unsafe.Pointer(provider)), uintptr(provtype), uintptr(flags), 0) + r1, _, e1 := syscall.SyscallN(procCryptAcquireContextW.Addr(), uintptr(unsafe.Pointer(provhandle)), uintptr(unsafe.Pointer(container)), uintptr(unsafe.Pointer(provider)), uintptr(provtype), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -735,7 +742,7 @@ func CryptAcquireContext(provhandle *Handle, container *uint16, provider *uint16 } func CryptGenRandom(provhandle Handle, buflen uint32, buf *byte) (err error) { - r1, _, e1 := syscall.Syscall(procCryptGenRandom.Addr(), 3, uintptr(provhandle), uintptr(buflen), uintptr(unsafe.Pointer(buf))) + r1, _, e1 := syscall.SyscallN(procCryptGenRandom.Addr(), uintptr(provhandle), uintptr(buflen), uintptr(unsafe.Pointer(buf))) if r1 == 0 { err = errnoErr(e1) } @@ -743,7 +750,7 @@ func CryptGenRandom(provhandle Handle, buflen uint32, buf *byte) (err error) { } func CryptReleaseContext(provhandle Handle, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procCryptReleaseContext.Addr(), 2, uintptr(provhandle), uintptr(flags), 0) + r1, _, e1 := syscall.SyscallN(procCryptReleaseContext.Addr(), uintptr(provhandle), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -751,7 +758,7 @@ func CryptReleaseContext(provhandle Handle, flags uint32) (err error) { } func DeleteService(service Handle) (err error) { - r1, _, e1 := syscall.Syscall(procDeleteService.Addr(), 1, uintptr(service), 0, 0) + r1, _, e1 := syscall.SyscallN(procDeleteService.Addr(), uintptr(service)) if r1 == 0 { err = errnoErr(e1) } @@ -759,7 +766,7 @@ func DeleteService(service Handle) (err error) { } func DeregisterEventSource(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procDeregisterEventSource.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procDeregisterEventSource.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -767,7 +774,7 @@ func DeregisterEventSource(handle Handle) (err error) { } func DuplicateTokenEx(existingToken Token, desiredAccess uint32, tokenAttributes *SecurityAttributes, impersonationLevel uint32, tokenType uint32, newToken *Token) (err error) { - r1, _, e1 := syscall.Syscall6(procDuplicateTokenEx.Addr(), 6, uintptr(existingToken), uintptr(desiredAccess), uintptr(unsafe.Pointer(tokenAttributes)), uintptr(impersonationLevel), uintptr(tokenType), uintptr(unsafe.Pointer(newToken))) + r1, _, e1 := syscall.SyscallN(procDuplicateTokenEx.Addr(), uintptr(existingToken), uintptr(desiredAccess), uintptr(unsafe.Pointer(tokenAttributes)), uintptr(impersonationLevel), uintptr(tokenType), uintptr(unsafe.Pointer(newToken))) if r1 == 0 { err = errnoErr(e1) } @@ -775,7 +782,7 @@ func DuplicateTokenEx(existingToken Token, desiredAccess uint32, tokenAttributes } func EnumDependentServices(service Handle, activityState uint32, services *ENUM_SERVICE_STATUS, buffSize uint32, bytesNeeded *uint32, servicesReturned *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procEnumDependentServicesW.Addr(), 6, uintptr(service), uintptr(activityState), uintptr(unsafe.Pointer(services)), uintptr(buffSize), uintptr(unsafe.Pointer(bytesNeeded)), uintptr(unsafe.Pointer(servicesReturned))) + r1, _, e1 := syscall.SyscallN(procEnumDependentServicesW.Addr(), uintptr(service), uintptr(activityState), uintptr(unsafe.Pointer(services)), uintptr(buffSize), uintptr(unsafe.Pointer(bytesNeeded)), uintptr(unsafe.Pointer(servicesReturned))) if r1 == 0 { err = errnoErr(e1) } @@ -783,7 +790,7 @@ func EnumDependentServices(service Handle, activityState uint32, services *ENUM_ } func EnumServicesStatusEx(mgr Handle, infoLevel uint32, serviceType uint32, serviceState uint32, services *byte, bufSize uint32, bytesNeeded *uint32, servicesReturned *uint32, resumeHandle *uint32, groupName *uint16) (err error) { - r1, _, e1 := syscall.Syscall12(procEnumServicesStatusExW.Addr(), 10, uintptr(mgr), uintptr(infoLevel), uintptr(serviceType), uintptr(serviceState), uintptr(unsafe.Pointer(services)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded)), uintptr(unsafe.Pointer(servicesReturned)), uintptr(unsafe.Pointer(resumeHandle)), uintptr(unsafe.Pointer(groupName)), 0, 0) + r1, _, e1 := syscall.SyscallN(procEnumServicesStatusExW.Addr(), uintptr(mgr), uintptr(infoLevel), uintptr(serviceType), uintptr(serviceState), uintptr(unsafe.Pointer(services)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded)), uintptr(unsafe.Pointer(servicesReturned)), uintptr(unsafe.Pointer(resumeHandle)), uintptr(unsafe.Pointer(groupName))) if r1 == 0 { err = errnoErr(e1) } @@ -791,13 +798,13 @@ func EnumServicesStatusEx(mgr Handle, infoLevel uint32, serviceType uint32, serv } func EqualSid(sid1 *SID, sid2 *SID) (isEqual bool) { - r0, _, _ := syscall.Syscall(procEqualSid.Addr(), 2, uintptr(unsafe.Pointer(sid1)), uintptr(unsafe.Pointer(sid2)), 0) + r0, _, _ := syscall.SyscallN(procEqualSid.Addr(), uintptr(unsafe.Pointer(sid1)), uintptr(unsafe.Pointer(sid2))) isEqual = r0 != 0 return } func FreeSid(sid *SID) (err error) { - r1, _, e1 := syscall.Syscall(procFreeSid.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0) + r1, _, e1 := syscall.SyscallN(procFreeSid.Addr(), uintptr(unsafe.Pointer(sid))) if r1 != 0 { err = errnoErr(e1) } @@ -805,7 +812,7 @@ func FreeSid(sid *SID) (err error) { } func GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (err error) { - r1, _, e1 := syscall.Syscall(procGetAce.Addr(), 3, uintptr(unsafe.Pointer(acl)), uintptr(aceIndex), uintptr(unsafe.Pointer(pAce))) + r1, _, e1 := syscall.SyscallN(procGetAce.Addr(), uintptr(unsafe.Pointer(acl)), uintptr(aceIndex), uintptr(unsafe.Pointer(pAce))) if r1 == 0 { err = errnoErr(e1) } @@ -813,7 +820,7 @@ func GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (err error) { } func GetLengthSid(sid *SID) (len uint32) { - r0, _, _ := syscall.Syscall(procGetLengthSid.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetLengthSid.Addr(), uintptr(unsafe.Pointer(sid))) len = uint32(r0) return } @@ -828,7 +835,7 @@ func getNamedSecurityInfo(objectName string, objectType SE_OBJECT_TYPE, security } func _getNamedSecurityInfo(objectName *uint16, objectType SE_OBJECT_TYPE, securityInformation SECURITY_INFORMATION, owner **SID, group **SID, dacl **ACL, sacl **ACL, sd **SECURITY_DESCRIPTOR) (ret error) { - r0, _, _ := syscall.Syscall9(procGetNamedSecurityInfoW.Addr(), 8, uintptr(unsafe.Pointer(objectName)), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(sd)), 0) + r0, _, _ := syscall.SyscallN(procGetNamedSecurityInfoW.Addr(), uintptr(unsafe.Pointer(objectName)), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(sd))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -836,7 +843,7 @@ func _getNamedSecurityInfo(objectName *uint16, objectType SE_OBJECT_TYPE, securi } func getSecurityDescriptorControl(sd *SECURITY_DESCRIPTOR, control *SECURITY_DESCRIPTOR_CONTROL, revision *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetSecurityDescriptorControl.Addr(), 3, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(control)), uintptr(unsafe.Pointer(revision))) + r1, _, e1 := syscall.SyscallN(procGetSecurityDescriptorControl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(control)), uintptr(unsafe.Pointer(revision))) if r1 == 0 { err = errnoErr(e1) } @@ -852,7 +859,7 @@ func getSecurityDescriptorDacl(sd *SECURITY_DESCRIPTOR, daclPresent *bool, dacl if *daclDefaulted { _p1 = 1 } - r1, _, e1 := syscall.Syscall6(procGetSecurityDescriptorDacl.Addr(), 4, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(&_p0)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(&_p1)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetSecurityDescriptorDacl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(&_p0)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(&_p1))) *daclPresent = _p0 != 0 *daclDefaulted = _p1 != 0 if r1 == 0 { @@ -866,7 +873,7 @@ func getSecurityDescriptorGroup(sd *SECURITY_DESCRIPTOR, group **SID, groupDefau if *groupDefaulted { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procGetSecurityDescriptorGroup.Addr(), 3, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(&_p0))) + r1, _, e1 := syscall.SyscallN(procGetSecurityDescriptorGroup.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(&_p0))) *groupDefaulted = _p0 != 0 if r1 == 0 { err = errnoErr(e1) @@ -875,7 +882,7 @@ func getSecurityDescriptorGroup(sd *SECURITY_DESCRIPTOR, group **SID, groupDefau } func getSecurityDescriptorLength(sd *SECURITY_DESCRIPTOR) (len uint32) { - r0, _, _ := syscall.Syscall(procGetSecurityDescriptorLength.Addr(), 1, uintptr(unsafe.Pointer(sd)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetSecurityDescriptorLength.Addr(), uintptr(unsafe.Pointer(sd))) len = uint32(r0) return } @@ -885,7 +892,7 @@ func getSecurityDescriptorOwner(sd *SECURITY_DESCRIPTOR, owner **SID, ownerDefau if *ownerDefaulted { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procGetSecurityDescriptorOwner.Addr(), 3, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(&_p0))) + r1, _, e1 := syscall.SyscallN(procGetSecurityDescriptorOwner.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(&_p0))) *ownerDefaulted = _p0 != 0 if r1 == 0 { err = errnoErr(e1) @@ -894,7 +901,7 @@ func getSecurityDescriptorOwner(sd *SECURITY_DESCRIPTOR, owner **SID, ownerDefau } func getSecurityDescriptorRMControl(sd *SECURITY_DESCRIPTOR, rmControl *uint8) (ret error) { - r0, _, _ := syscall.Syscall(procGetSecurityDescriptorRMControl.Addr(), 2, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(rmControl)), 0) + r0, _, _ := syscall.SyscallN(procGetSecurityDescriptorRMControl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(rmControl))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -910,7 +917,7 @@ func getSecurityDescriptorSacl(sd *SECURITY_DESCRIPTOR, saclPresent *bool, sacl if *saclDefaulted { _p1 = 1 } - r1, _, e1 := syscall.Syscall6(procGetSecurityDescriptorSacl.Addr(), 4, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(&_p0)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(&_p1)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetSecurityDescriptorSacl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(&_p0)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(&_p1))) *saclPresent = _p0 != 0 *saclDefaulted = _p1 != 0 if r1 == 0 { @@ -920,7 +927,7 @@ func getSecurityDescriptorSacl(sd *SECURITY_DESCRIPTOR, saclPresent *bool, sacl } func getSecurityInfo(handle Handle, objectType SE_OBJECT_TYPE, securityInformation SECURITY_INFORMATION, owner **SID, group **SID, dacl **ACL, sacl **ACL, sd **SECURITY_DESCRIPTOR) (ret error) { - r0, _, _ := syscall.Syscall9(procGetSecurityInfo.Addr(), 8, uintptr(handle), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(sd)), 0) + r0, _, _ := syscall.SyscallN(procGetSecurityInfo.Addr(), uintptr(handle), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(sd))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -928,25 +935,25 @@ func getSecurityInfo(handle Handle, objectType SE_OBJECT_TYPE, securityInformati } func getSidIdentifierAuthority(sid *SID) (authority *SidIdentifierAuthority) { - r0, _, _ := syscall.Syscall(procGetSidIdentifierAuthority.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetSidIdentifierAuthority.Addr(), uintptr(unsafe.Pointer(sid))) authority = (*SidIdentifierAuthority)(unsafe.Pointer(r0)) return } func getSidSubAuthority(sid *SID, index uint32) (subAuthority *uint32) { - r0, _, _ := syscall.Syscall(procGetSidSubAuthority.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(index), 0) + r0, _, _ := syscall.SyscallN(procGetSidSubAuthority.Addr(), uintptr(unsafe.Pointer(sid)), uintptr(index)) subAuthority = (*uint32)(unsafe.Pointer(r0)) return } func getSidSubAuthorityCount(sid *SID) (count *uint8) { - r0, _, _ := syscall.Syscall(procGetSidSubAuthorityCount.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetSidSubAuthorityCount.Addr(), uintptr(unsafe.Pointer(sid))) count = (*uint8)(unsafe.Pointer(r0)) return } func GetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint32, returnedLen *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetTokenInformation.Addr(), 5, uintptr(token), uintptr(infoClass), uintptr(unsafe.Pointer(info)), uintptr(infoLen), uintptr(unsafe.Pointer(returnedLen)), 0) + r1, _, e1 := syscall.SyscallN(procGetTokenInformation.Addr(), uintptr(token), uintptr(infoClass), uintptr(unsafe.Pointer(info)), uintptr(infoLen), uintptr(unsafe.Pointer(returnedLen))) if r1 == 0 { err = errnoErr(e1) } @@ -954,7 +961,7 @@ func GetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint } func ImpersonateSelf(impersonationlevel uint32) (err error) { - r1, _, e1 := syscall.Syscall(procImpersonateSelf.Addr(), 1, uintptr(impersonationlevel), 0, 0) + r1, _, e1 := syscall.SyscallN(procImpersonateSelf.Addr(), uintptr(impersonationlevel)) if r1 == 0 { err = errnoErr(e1) } @@ -962,7 +969,7 @@ func ImpersonateSelf(impersonationlevel uint32) (err error) { } func initializeSecurityDescriptor(absoluteSD *SECURITY_DESCRIPTOR, revision uint32) (err error) { - r1, _, e1 := syscall.Syscall(procInitializeSecurityDescriptor.Addr(), 2, uintptr(unsafe.Pointer(absoluteSD)), uintptr(revision), 0) + r1, _, e1 := syscall.SyscallN(procInitializeSecurityDescriptor.Addr(), uintptr(unsafe.Pointer(absoluteSD)), uintptr(revision)) if r1 == 0 { err = errnoErr(e1) } @@ -978,7 +985,7 @@ func InitiateSystemShutdownEx(machineName *uint16, message *uint16, timeout uint if rebootAfterShutdown { _p1 = 1 } - r1, _, e1 := syscall.Syscall6(procInitiateSystemShutdownExW.Addr(), 6, uintptr(unsafe.Pointer(machineName)), uintptr(unsafe.Pointer(message)), uintptr(timeout), uintptr(_p0), uintptr(_p1), uintptr(reason)) + r1, _, e1 := syscall.SyscallN(procInitiateSystemShutdownExW.Addr(), uintptr(unsafe.Pointer(machineName)), uintptr(unsafe.Pointer(message)), uintptr(timeout), uintptr(_p0), uintptr(_p1), uintptr(reason)) if r1 == 0 { err = errnoErr(e1) } @@ -986,7 +993,7 @@ func InitiateSystemShutdownEx(machineName *uint16, message *uint16, timeout uint } func isTokenRestricted(tokenHandle Token) (ret bool, err error) { - r0, _, e1 := syscall.Syscall(procIsTokenRestricted.Addr(), 1, uintptr(tokenHandle), 0, 0) + r0, _, e1 := syscall.SyscallN(procIsTokenRestricted.Addr(), uintptr(tokenHandle)) ret = r0 != 0 if !ret { err = errnoErr(e1) @@ -995,25 +1002,25 @@ func isTokenRestricted(tokenHandle Token) (ret bool, err error) { } func isValidSecurityDescriptor(sd *SECURITY_DESCRIPTOR) (isValid bool) { - r0, _, _ := syscall.Syscall(procIsValidSecurityDescriptor.Addr(), 1, uintptr(unsafe.Pointer(sd)), 0, 0) + r0, _, _ := syscall.SyscallN(procIsValidSecurityDescriptor.Addr(), uintptr(unsafe.Pointer(sd))) isValid = r0 != 0 return } func isValidSid(sid *SID) (isValid bool) { - r0, _, _ := syscall.Syscall(procIsValidSid.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0) + r0, _, _ := syscall.SyscallN(procIsValidSid.Addr(), uintptr(unsafe.Pointer(sid))) isValid = r0 != 0 return } func isWellKnownSid(sid *SID, sidType WELL_KNOWN_SID_TYPE) (isWellKnown bool) { - r0, _, _ := syscall.Syscall(procIsWellKnownSid.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(sidType), 0) + r0, _, _ := syscall.SyscallN(procIsWellKnownSid.Addr(), uintptr(unsafe.Pointer(sid)), uintptr(sidType)) isWellKnown = r0 != 0 return } func LookupAccountName(systemName *uint16, accountName *uint16, sid *SID, sidLen *uint32, refdDomainName *uint16, refdDomainNameLen *uint32, use *uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procLookupAccountNameW.Addr(), 7, uintptr(unsafe.Pointer(systemName)), uintptr(unsafe.Pointer(accountName)), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(sidLen)), uintptr(unsafe.Pointer(refdDomainName)), uintptr(unsafe.Pointer(refdDomainNameLen)), uintptr(unsafe.Pointer(use)), 0, 0) + r1, _, e1 := syscall.SyscallN(procLookupAccountNameW.Addr(), uintptr(unsafe.Pointer(systemName)), uintptr(unsafe.Pointer(accountName)), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(sidLen)), uintptr(unsafe.Pointer(refdDomainName)), uintptr(unsafe.Pointer(refdDomainNameLen)), uintptr(unsafe.Pointer(use))) if r1 == 0 { err = errnoErr(e1) } @@ -1021,7 +1028,7 @@ func LookupAccountName(systemName *uint16, accountName *uint16, sid *SID, sidLen } func LookupAccountSid(systemName *uint16, sid *SID, name *uint16, nameLen *uint32, refdDomainName *uint16, refdDomainNameLen *uint32, use *uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procLookupAccountSidW.Addr(), 7, uintptr(unsafe.Pointer(systemName)), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(nameLen)), uintptr(unsafe.Pointer(refdDomainName)), uintptr(unsafe.Pointer(refdDomainNameLen)), uintptr(unsafe.Pointer(use)), 0, 0) + r1, _, e1 := syscall.SyscallN(procLookupAccountSidW.Addr(), uintptr(unsafe.Pointer(systemName)), uintptr(unsafe.Pointer(sid)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(nameLen)), uintptr(unsafe.Pointer(refdDomainName)), uintptr(unsafe.Pointer(refdDomainNameLen)), uintptr(unsafe.Pointer(use))) if r1 == 0 { err = errnoErr(e1) } @@ -1029,7 +1036,7 @@ func LookupAccountSid(systemName *uint16, sid *SID, name *uint16, nameLen *uint3 } func LookupPrivilegeValue(systemname *uint16, name *uint16, luid *LUID) (err error) { - r1, _, e1 := syscall.Syscall(procLookupPrivilegeValueW.Addr(), 3, uintptr(unsafe.Pointer(systemname)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(luid))) + r1, _, e1 := syscall.SyscallN(procLookupPrivilegeValueW.Addr(), uintptr(unsafe.Pointer(systemname)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(luid))) if r1 == 0 { err = errnoErr(e1) } @@ -1037,7 +1044,7 @@ func LookupPrivilegeValue(systemname *uint16, name *uint16, luid *LUID) (err err } func makeAbsoluteSD(selfRelativeSD *SECURITY_DESCRIPTOR, absoluteSD *SECURITY_DESCRIPTOR, absoluteSDSize *uint32, dacl *ACL, daclSize *uint32, sacl *ACL, saclSize *uint32, owner *SID, ownerSize *uint32, group *SID, groupSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall12(procMakeAbsoluteSD.Addr(), 11, uintptr(unsafe.Pointer(selfRelativeSD)), uintptr(unsafe.Pointer(absoluteSD)), uintptr(unsafe.Pointer(absoluteSDSize)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(daclSize)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(saclSize)), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(ownerSize)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(groupSize)), 0) + r1, _, e1 := syscall.SyscallN(procMakeAbsoluteSD.Addr(), uintptr(unsafe.Pointer(selfRelativeSD)), uintptr(unsafe.Pointer(absoluteSD)), uintptr(unsafe.Pointer(absoluteSDSize)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(daclSize)), uintptr(unsafe.Pointer(sacl)), uintptr(unsafe.Pointer(saclSize)), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(ownerSize)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(groupSize))) if r1 == 0 { err = errnoErr(e1) } @@ -1045,7 +1052,7 @@ func makeAbsoluteSD(selfRelativeSD *SECURITY_DESCRIPTOR, absoluteSD *SECURITY_DE } func makeSelfRelativeSD(absoluteSD *SECURITY_DESCRIPTOR, selfRelativeSD *SECURITY_DESCRIPTOR, selfRelativeSDSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procMakeSelfRelativeSD.Addr(), 3, uintptr(unsafe.Pointer(absoluteSD)), uintptr(unsafe.Pointer(selfRelativeSD)), uintptr(unsafe.Pointer(selfRelativeSDSize))) + r1, _, e1 := syscall.SyscallN(procMakeSelfRelativeSD.Addr(), uintptr(unsafe.Pointer(absoluteSD)), uintptr(unsafe.Pointer(selfRelativeSD)), uintptr(unsafe.Pointer(selfRelativeSDSize))) if r1 == 0 { err = errnoErr(e1) } @@ -1053,7 +1060,7 @@ func makeSelfRelativeSD(absoluteSD *SECURITY_DESCRIPTOR, selfRelativeSD *SECURIT } func NotifyServiceStatusChange(service Handle, notifyMask uint32, notifier *SERVICE_NOTIFY) (ret error) { - r0, _, _ := syscall.Syscall(procNotifyServiceStatusChangeW.Addr(), 3, uintptr(service), uintptr(notifyMask), uintptr(unsafe.Pointer(notifier))) + r0, _, _ := syscall.SyscallN(procNotifyServiceStatusChangeW.Addr(), uintptr(service), uintptr(notifyMask), uintptr(unsafe.Pointer(notifier))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -1061,7 +1068,7 @@ func NotifyServiceStatusChange(service Handle, notifyMask uint32, notifier *SERV } func OpenProcessToken(process Handle, access uint32, token *Token) (err error) { - r1, _, e1 := syscall.Syscall(procOpenProcessToken.Addr(), 3, uintptr(process), uintptr(access), uintptr(unsafe.Pointer(token))) + r1, _, e1 := syscall.SyscallN(procOpenProcessToken.Addr(), uintptr(process), uintptr(access), uintptr(unsafe.Pointer(token))) if r1 == 0 { err = errnoErr(e1) } @@ -1069,7 +1076,7 @@ func OpenProcessToken(process Handle, access uint32, token *Token) (err error) { } func OpenSCManager(machineName *uint16, databaseName *uint16, access uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procOpenSCManagerW.Addr(), 3, uintptr(unsafe.Pointer(machineName)), uintptr(unsafe.Pointer(databaseName)), uintptr(access)) + r0, _, e1 := syscall.SyscallN(procOpenSCManagerW.Addr(), uintptr(unsafe.Pointer(machineName)), uintptr(unsafe.Pointer(databaseName)), uintptr(access)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1078,7 +1085,7 @@ func OpenSCManager(machineName *uint16, databaseName *uint16, access uint32) (ha } func OpenService(mgr Handle, serviceName *uint16, access uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procOpenServiceW.Addr(), 3, uintptr(mgr), uintptr(unsafe.Pointer(serviceName)), uintptr(access)) + r0, _, e1 := syscall.SyscallN(procOpenServiceW.Addr(), uintptr(mgr), uintptr(unsafe.Pointer(serviceName)), uintptr(access)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1091,7 +1098,7 @@ func OpenThreadToken(thread Handle, access uint32, openAsSelf bool, token *Token if openAsSelf { _p0 = 1 } - r1, _, e1 := syscall.Syscall6(procOpenThreadToken.Addr(), 4, uintptr(thread), uintptr(access), uintptr(_p0), uintptr(unsafe.Pointer(token)), 0, 0) + r1, _, e1 := syscall.SyscallN(procOpenThreadToken.Addr(), uintptr(thread), uintptr(access), uintptr(_p0), uintptr(unsafe.Pointer(token))) if r1 == 0 { err = errnoErr(e1) } @@ -1099,7 +1106,7 @@ func OpenThreadToken(thread Handle, access uint32, openAsSelf bool, token *Token } func QueryServiceConfig2(service Handle, infoLevel uint32, buff *byte, buffSize uint32, bytesNeeded *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procQueryServiceConfig2W.Addr(), 5, uintptr(service), uintptr(infoLevel), uintptr(unsafe.Pointer(buff)), uintptr(buffSize), uintptr(unsafe.Pointer(bytesNeeded)), 0) + r1, _, e1 := syscall.SyscallN(procQueryServiceConfig2W.Addr(), uintptr(service), uintptr(infoLevel), uintptr(unsafe.Pointer(buff)), uintptr(buffSize), uintptr(unsafe.Pointer(bytesNeeded))) if r1 == 0 { err = errnoErr(e1) } @@ -1107,7 +1114,7 @@ func QueryServiceConfig2(service Handle, infoLevel uint32, buff *byte, buffSize } func QueryServiceConfig(service Handle, serviceConfig *QUERY_SERVICE_CONFIG, bufSize uint32, bytesNeeded *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procQueryServiceConfigW.Addr(), 4, uintptr(service), uintptr(unsafe.Pointer(serviceConfig)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded)), 0, 0) + r1, _, e1 := syscall.SyscallN(procQueryServiceConfigW.Addr(), uintptr(service), uintptr(unsafe.Pointer(serviceConfig)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded))) if r1 == 0 { err = errnoErr(e1) } @@ -1119,7 +1126,7 @@ func QueryServiceDynamicInformation(service Handle, infoLevel uint32, dynamicInf if err != nil { return } - r1, _, e1 := syscall.Syscall(procQueryServiceDynamicInformation.Addr(), 3, uintptr(service), uintptr(infoLevel), uintptr(dynamicInfo)) + r1, _, e1 := syscall.SyscallN(procQueryServiceDynamicInformation.Addr(), uintptr(service), uintptr(infoLevel), uintptr(dynamicInfo)) if r1 == 0 { err = errnoErr(e1) } @@ -1127,7 +1134,7 @@ func QueryServiceDynamicInformation(service Handle, infoLevel uint32, dynamicInf } func QueryServiceLockStatus(mgr Handle, lockStatus *QUERY_SERVICE_LOCK_STATUS, bufSize uint32, bytesNeeded *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procQueryServiceLockStatusW.Addr(), 4, uintptr(mgr), uintptr(unsafe.Pointer(lockStatus)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded)), 0, 0) + r1, _, e1 := syscall.SyscallN(procQueryServiceLockStatusW.Addr(), uintptr(mgr), uintptr(unsafe.Pointer(lockStatus)), uintptr(bufSize), uintptr(unsafe.Pointer(bytesNeeded))) if r1 == 0 { err = errnoErr(e1) } @@ -1135,7 +1142,7 @@ func QueryServiceLockStatus(mgr Handle, lockStatus *QUERY_SERVICE_LOCK_STATUS, b } func QueryServiceStatus(service Handle, status *SERVICE_STATUS) (err error) { - r1, _, e1 := syscall.Syscall(procQueryServiceStatus.Addr(), 2, uintptr(service), uintptr(unsafe.Pointer(status)), 0) + r1, _, e1 := syscall.SyscallN(procQueryServiceStatus.Addr(), uintptr(service), uintptr(unsafe.Pointer(status))) if r1 == 0 { err = errnoErr(e1) } @@ -1143,7 +1150,7 @@ func QueryServiceStatus(service Handle, status *SERVICE_STATUS) (err error) { } func QueryServiceStatusEx(service Handle, infoLevel uint32, buff *byte, buffSize uint32, bytesNeeded *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procQueryServiceStatusEx.Addr(), 5, uintptr(service), uintptr(infoLevel), uintptr(unsafe.Pointer(buff)), uintptr(buffSize), uintptr(unsafe.Pointer(bytesNeeded)), 0) + r1, _, e1 := syscall.SyscallN(procQueryServiceStatusEx.Addr(), uintptr(service), uintptr(infoLevel), uintptr(unsafe.Pointer(buff)), uintptr(buffSize), uintptr(unsafe.Pointer(bytesNeeded))) if r1 == 0 { err = errnoErr(e1) } @@ -1151,7 +1158,7 @@ func QueryServiceStatusEx(service Handle, infoLevel uint32, buff *byte, buffSize } func RegCloseKey(key Handle) (regerrno error) { - r0, _, _ := syscall.Syscall(procRegCloseKey.Addr(), 1, uintptr(key), 0, 0) + r0, _, _ := syscall.SyscallN(procRegCloseKey.Addr(), uintptr(key)) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -1159,7 +1166,7 @@ func RegCloseKey(key Handle) (regerrno error) { } func RegEnumKeyEx(key Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, class *uint16, classLen *uint32, lastWriteTime *Filetime) (regerrno error) { - r0, _, _ := syscall.Syscall9(procRegEnumKeyExW.Addr(), 8, uintptr(key), uintptr(index), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(nameLen)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(class)), uintptr(unsafe.Pointer(classLen)), uintptr(unsafe.Pointer(lastWriteTime)), 0) + r0, _, _ := syscall.SyscallN(procRegEnumKeyExW.Addr(), uintptr(key), uintptr(index), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(nameLen)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(class)), uintptr(unsafe.Pointer(classLen)), uintptr(unsafe.Pointer(lastWriteTime))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -1175,7 +1182,7 @@ func RegNotifyChangeKeyValue(key Handle, watchSubtree bool, notifyFilter uint32, if asynchronous { _p1 = 1 } - r0, _, _ := syscall.Syscall6(procRegNotifyChangeKeyValue.Addr(), 5, uintptr(key), uintptr(_p0), uintptr(notifyFilter), uintptr(event), uintptr(_p1), 0) + r0, _, _ := syscall.SyscallN(procRegNotifyChangeKeyValue.Addr(), uintptr(key), uintptr(_p0), uintptr(notifyFilter), uintptr(event), uintptr(_p1)) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -1183,7 +1190,7 @@ func RegNotifyChangeKeyValue(key Handle, watchSubtree bool, notifyFilter uint32, } func RegOpenKeyEx(key Handle, subkey *uint16, options uint32, desiredAccess uint32, result *Handle) (regerrno error) { - r0, _, _ := syscall.Syscall6(procRegOpenKeyExW.Addr(), 5, uintptr(key), uintptr(unsafe.Pointer(subkey)), uintptr(options), uintptr(desiredAccess), uintptr(unsafe.Pointer(result)), 0) + r0, _, _ := syscall.SyscallN(procRegOpenKeyExW.Addr(), uintptr(key), uintptr(unsafe.Pointer(subkey)), uintptr(options), uintptr(desiredAccess), uintptr(unsafe.Pointer(result))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -1191,7 +1198,7 @@ func RegOpenKeyEx(key Handle, subkey *uint16, options uint32, desiredAccess uint } func RegQueryInfoKey(key Handle, class *uint16, classLen *uint32, reserved *uint32, subkeysLen *uint32, maxSubkeyLen *uint32, maxClassLen *uint32, valuesLen *uint32, maxValueNameLen *uint32, maxValueLen *uint32, saLen *uint32, lastWriteTime *Filetime) (regerrno error) { - r0, _, _ := syscall.Syscall12(procRegQueryInfoKeyW.Addr(), 12, uintptr(key), uintptr(unsafe.Pointer(class)), uintptr(unsafe.Pointer(classLen)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(subkeysLen)), uintptr(unsafe.Pointer(maxSubkeyLen)), uintptr(unsafe.Pointer(maxClassLen)), uintptr(unsafe.Pointer(valuesLen)), uintptr(unsafe.Pointer(maxValueNameLen)), uintptr(unsafe.Pointer(maxValueLen)), uintptr(unsafe.Pointer(saLen)), uintptr(unsafe.Pointer(lastWriteTime))) + r0, _, _ := syscall.SyscallN(procRegQueryInfoKeyW.Addr(), uintptr(key), uintptr(unsafe.Pointer(class)), uintptr(unsafe.Pointer(classLen)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(subkeysLen)), uintptr(unsafe.Pointer(maxSubkeyLen)), uintptr(unsafe.Pointer(maxClassLen)), uintptr(unsafe.Pointer(valuesLen)), uintptr(unsafe.Pointer(maxValueNameLen)), uintptr(unsafe.Pointer(maxValueLen)), uintptr(unsafe.Pointer(saLen)), uintptr(unsafe.Pointer(lastWriteTime))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -1199,7 +1206,7 @@ func RegQueryInfoKey(key Handle, class *uint16, classLen *uint32, reserved *uint } func RegQueryValueEx(key Handle, name *uint16, reserved *uint32, valtype *uint32, buf *byte, buflen *uint32) (regerrno error) { - r0, _, _ := syscall.Syscall6(procRegQueryValueExW.Addr(), 6, uintptr(key), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(valtype)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(buflen))) + r0, _, _ := syscall.SyscallN(procRegQueryValueExW.Addr(), uintptr(key), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(reserved)), uintptr(unsafe.Pointer(valtype)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(buflen))) if r0 != 0 { regerrno = syscall.Errno(r0) } @@ -1207,7 +1214,7 @@ func RegQueryValueEx(key Handle, name *uint16, reserved *uint32, valtype *uint32 } func RegisterEventSource(uncServerName *uint16, sourceName *uint16) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procRegisterEventSourceW.Addr(), 2, uintptr(unsafe.Pointer(uncServerName)), uintptr(unsafe.Pointer(sourceName)), 0) + r0, _, e1 := syscall.SyscallN(procRegisterEventSourceW.Addr(), uintptr(unsafe.Pointer(uncServerName)), uintptr(unsafe.Pointer(sourceName))) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1216,7 +1223,7 @@ func RegisterEventSource(uncServerName *uint16, sourceName *uint16) (handle Hand } func RegisterServiceCtrlHandlerEx(serviceName *uint16, handlerProc uintptr, context uintptr) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procRegisterServiceCtrlHandlerExW.Addr(), 3, uintptr(unsafe.Pointer(serviceName)), uintptr(handlerProc), uintptr(context)) + r0, _, e1 := syscall.SyscallN(procRegisterServiceCtrlHandlerExW.Addr(), uintptr(unsafe.Pointer(serviceName)), uintptr(handlerProc), uintptr(context)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1225,7 +1232,7 @@ func RegisterServiceCtrlHandlerEx(serviceName *uint16, handlerProc uintptr, cont } func ReportEvent(log Handle, etype uint16, category uint16, eventId uint32, usrSId uintptr, numStrings uint16, dataSize uint32, strings **uint16, rawData *byte) (err error) { - r1, _, e1 := syscall.Syscall9(procReportEventW.Addr(), 9, uintptr(log), uintptr(etype), uintptr(category), uintptr(eventId), uintptr(usrSId), uintptr(numStrings), uintptr(dataSize), uintptr(unsafe.Pointer(strings)), uintptr(unsafe.Pointer(rawData))) + r1, _, e1 := syscall.SyscallN(procReportEventW.Addr(), uintptr(log), uintptr(etype), uintptr(category), uintptr(eventId), uintptr(usrSId), uintptr(numStrings), uintptr(dataSize), uintptr(unsafe.Pointer(strings)), uintptr(unsafe.Pointer(rawData))) if r1 == 0 { err = errnoErr(e1) } @@ -1233,7 +1240,7 @@ func ReportEvent(log Handle, etype uint16, category uint16, eventId uint32, usrS } func RevertToSelf() (err error) { - r1, _, e1 := syscall.Syscall(procRevertToSelf.Addr(), 0, 0, 0, 0) + r1, _, e1 := syscall.SyscallN(procRevertToSelf.Addr()) if r1 == 0 { err = errnoErr(e1) } @@ -1241,7 +1248,7 @@ func RevertToSelf() (err error) { } func setEntriesInAcl(countExplicitEntries uint32, explicitEntries *EXPLICIT_ACCESS, oldACL *ACL, newACL **ACL) (ret error) { - r0, _, _ := syscall.Syscall6(procSetEntriesInAclW.Addr(), 4, uintptr(countExplicitEntries), uintptr(unsafe.Pointer(explicitEntries)), uintptr(unsafe.Pointer(oldACL)), uintptr(unsafe.Pointer(newACL)), 0, 0) + r0, _, _ := syscall.SyscallN(procSetEntriesInAclW.Addr(), uintptr(countExplicitEntries), uintptr(unsafe.Pointer(explicitEntries)), uintptr(unsafe.Pointer(oldACL)), uintptr(unsafe.Pointer(newACL))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -1249,7 +1256,7 @@ func setEntriesInAcl(countExplicitEntries uint32, explicitEntries *EXPLICIT_ACCE } func SetKernelObjectSecurity(handle Handle, securityInformation SECURITY_INFORMATION, securityDescriptor *SECURITY_DESCRIPTOR) (err error) { - r1, _, e1 := syscall.Syscall(procSetKernelObjectSecurity.Addr(), 3, uintptr(handle), uintptr(securityInformation), uintptr(unsafe.Pointer(securityDescriptor))) + r1, _, e1 := syscall.SyscallN(procSetKernelObjectSecurity.Addr(), uintptr(handle), uintptr(securityInformation), uintptr(unsafe.Pointer(securityDescriptor))) if r1 == 0 { err = errnoErr(e1) } @@ -1266,7 +1273,7 @@ func SetNamedSecurityInfo(objectName string, objectType SE_OBJECT_TYPE, security } func _SetNamedSecurityInfo(objectName *uint16, objectType SE_OBJECT_TYPE, securityInformation SECURITY_INFORMATION, owner *SID, group *SID, dacl *ACL, sacl *ACL) (ret error) { - r0, _, _ := syscall.Syscall9(procSetNamedSecurityInfoW.Addr(), 7, uintptr(unsafe.Pointer(objectName)), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl)), 0, 0) + r0, _, _ := syscall.SyscallN(procSetNamedSecurityInfoW.Addr(), uintptr(unsafe.Pointer(objectName)), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -1274,7 +1281,7 @@ func _SetNamedSecurityInfo(objectName *uint16, objectType SE_OBJECT_TYPE, securi } func setSecurityDescriptorControl(sd *SECURITY_DESCRIPTOR, controlBitsOfInterest SECURITY_DESCRIPTOR_CONTROL, controlBitsToSet SECURITY_DESCRIPTOR_CONTROL) (err error) { - r1, _, e1 := syscall.Syscall(procSetSecurityDescriptorControl.Addr(), 3, uintptr(unsafe.Pointer(sd)), uintptr(controlBitsOfInterest), uintptr(controlBitsToSet)) + r1, _, e1 := syscall.SyscallN(procSetSecurityDescriptorControl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(controlBitsOfInterest), uintptr(controlBitsToSet)) if r1 == 0 { err = errnoErr(e1) } @@ -1290,7 +1297,7 @@ func setSecurityDescriptorDacl(sd *SECURITY_DESCRIPTOR, daclPresent bool, dacl * if daclDefaulted { _p1 = 1 } - r1, _, e1 := syscall.Syscall6(procSetSecurityDescriptorDacl.Addr(), 4, uintptr(unsafe.Pointer(sd)), uintptr(_p0), uintptr(unsafe.Pointer(dacl)), uintptr(_p1), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetSecurityDescriptorDacl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(_p0), uintptr(unsafe.Pointer(dacl)), uintptr(_p1)) if r1 == 0 { err = errnoErr(e1) } @@ -1302,7 +1309,7 @@ func setSecurityDescriptorGroup(sd *SECURITY_DESCRIPTOR, group *SID, groupDefaul if groupDefaulted { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procSetSecurityDescriptorGroup.Addr(), 3, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(group)), uintptr(_p0)) + r1, _, e1 := syscall.SyscallN(procSetSecurityDescriptorGroup.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(group)), uintptr(_p0)) if r1 == 0 { err = errnoErr(e1) } @@ -1314,7 +1321,7 @@ func setSecurityDescriptorOwner(sd *SECURITY_DESCRIPTOR, owner *SID, ownerDefaul if ownerDefaulted { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procSetSecurityDescriptorOwner.Addr(), 3, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(owner)), uintptr(_p0)) + r1, _, e1 := syscall.SyscallN(procSetSecurityDescriptorOwner.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(owner)), uintptr(_p0)) if r1 == 0 { err = errnoErr(e1) } @@ -1322,7 +1329,7 @@ func setSecurityDescriptorOwner(sd *SECURITY_DESCRIPTOR, owner *SID, ownerDefaul } func setSecurityDescriptorRMControl(sd *SECURITY_DESCRIPTOR, rmControl *uint8) { - syscall.Syscall(procSetSecurityDescriptorRMControl.Addr(), 2, uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(rmControl)), 0) + syscall.SyscallN(procSetSecurityDescriptorRMControl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(unsafe.Pointer(rmControl))) return } @@ -1335,7 +1342,7 @@ func setSecurityDescriptorSacl(sd *SECURITY_DESCRIPTOR, saclPresent bool, sacl * if saclDefaulted { _p1 = 1 } - r1, _, e1 := syscall.Syscall6(procSetSecurityDescriptorSacl.Addr(), 4, uintptr(unsafe.Pointer(sd)), uintptr(_p0), uintptr(unsafe.Pointer(sacl)), uintptr(_p1), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetSecurityDescriptorSacl.Addr(), uintptr(unsafe.Pointer(sd)), uintptr(_p0), uintptr(unsafe.Pointer(sacl)), uintptr(_p1)) if r1 == 0 { err = errnoErr(e1) } @@ -1343,7 +1350,7 @@ func setSecurityDescriptorSacl(sd *SECURITY_DESCRIPTOR, saclPresent bool, sacl * } func SetSecurityInfo(handle Handle, objectType SE_OBJECT_TYPE, securityInformation SECURITY_INFORMATION, owner *SID, group *SID, dacl *ACL, sacl *ACL) (ret error) { - r0, _, _ := syscall.Syscall9(procSetSecurityInfo.Addr(), 7, uintptr(handle), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl)), 0, 0) + r0, _, _ := syscall.SyscallN(procSetSecurityInfo.Addr(), uintptr(handle), uintptr(objectType), uintptr(securityInformation), uintptr(unsafe.Pointer(owner)), uintptr(unsafe.Pointer(group)), uintptr(unsafe.Pointer(dacl)), uintptr(unsafe.Pointer(sacl))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -1351,7 +1358,7 @@ func SetSecurityInfo(handle Handle, objectType SE_OBJECT_TYPE, securityInformati } func SetServiceStatus(service Handle, serviceStatus *SERVICE_STATUS) (err error) { - r1, _, e1 := syscall.Syscall(procSetServiceStatus.Addr(), 2, uintptr(service), uintptr(unsafe.Pointer(serviceStatus)), 0) + r1, _, e1 := syscall.SyscallN(procSetServiceStatus.Addr(), uintptr(service), uintptr(unsafe.Pointer(serviceStatus))) if r1 == 0 { err = errnoErr(e1) } @@ -1359,7 +1366,7 @@ func SetServiceStatus(service Handle, serviceStatus *SERVICE_STATUS) (err error) } func SetThreadToken(thread *Handle, token Token) (err error) { - r1, _, e1 := syscall.Syscall(procSetThreadToken.Addr(), 2, uintptr(unsafe.Pointer(thread)), uintptr(token), 0) + r1, _, e1 := syscall.SyscallN(procSetThreadToken.Addr(), uintptr(unsafe.Pointer(thread)), uintptr(token)) if r1 == 0 { err = errnoErr(e1) } @@ -1367,7 +1374,7 @@ func SetThreadToken(thread *Handle, token Token) (err error) { } func SetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetTokenInformation.Addr(), 4, uintptr(token), uintptr(infoClass), uintptr(unsafe.Pointer(info)), uintptr(infoLen), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetTokenInformation.Addr(), uintptr(token), uintptr(infoClass), uintptr(unsafe.Pointer(info)), uintptr(infoLen)) if r1 == 0 { err = errnoErr(e1) } @@ -1375,7 +1382,7 @@ func SetTokenInformation(token Token, infoClass uint32, info *byte, infoLen uint } func StartServiceCtrlDispatcher(serviceTable *SERVICE_TABLE_ENTRY) (err error) { - r1, _, e1 := syscall.Syscall(procStartServiceCtrlDispatcherW.Addr(), 1, uintptr(unsafe.Pointer(serviceTable)), 0, 0) + r1, _, e1 := syscall.SyscallN(procStartServiceCtrlDispatcherW.Addr(), uintptr(unsafe.Pointer(serviceTable))) if r1 == 0 { err = errnoErr(e1) } @@ -1383,7 +1390,7 @@ func StartServiceCtrlDispatcher(serviceTable *SERVICE_TABLE_ENTRY) (err error) { } func StartService(service Handle, numArgs uint32, argVectors **uint16) (err error) { - r1, _, e1 := syscall.Syscall(procStartServiceW.Addr(), 3, uintptr(service), uintptr(numArgs), uintptr(unsafe.Pointer(argVectors))) + r1, _, e1 := syscall.SyscallN(procStartServiceW.Addr(), uintptr(service), uintptr(numArgs), uintptr(unsafe.Pointer(argVectors))) if r1 == 0 { err = errnoErr(e1) } @@ -1391,7 +1398,7 @@ func StartService(service Handle, numArgs uint32, argVectors **uint16) (err erro } func CertAddCertificateContextToStore(store Handle, certContext *CertContext, addDisposition uint32, storeContext **CertContext) (err error) { - r1, _, e1 := syscall.Syscall6(procCertAddCertificateContextToStore.Addr(), 4, uintptr(store), uintptr(unsafe.Pointer(certContext)), uintptr(addDisposition), uintptr(unsafe.Pointer(storeContext)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCertAddCertificateContextToStore.Addr(), uintptr(store), uintptr(unsafe.Pointer(certContext)), uintptr(addDisposition), uintptr(unsafe.Pointer(storeContext))) if r1 == 0 { err = errnoErr(e1) } @@ -1399,7 +1406,7 @@ func CertAddCertificateContextToStore(store Handle, certContext *CertContext, ad } func CertCloseStore(store Handle, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procCertCloseStore.Addr(), 2, uintptr(store), uintptr(flags), 0) + r1, _, e1 := syscall.SyscallN(procCertCloseStore.Addr(), uintptr(store), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -1407,7 +1414,7 @@ func CertCloseStore(store Handle, flags uint32) (err error) { } func CertCreateCertificateContext(certEncodingType uint32, certEncoded *byte, encodedLen uint32) (context *CertContext, err error) { - r0, _, e1 := syscall.Syscall(procCertCreateCertificateContext.Addr(), 3, uintptr(certEncodingType), uintptr(unsafe.Pointer(certEncoded)), uintptr(encodedLen)) + r0, _, e1 := syscall.SyscallN(procCertCreateCertificateContext.Addr(), uintptr(certEncodingType), uintptr(unsafe.Pointer(certEncoded)), uintptr(encodedLen)) context = (*CertContext)(unsafe.Pointer(r0)) if context == nil { err = errnoErr(e1) @@ -1416,7 +1423,7 @@ func CertCreateCertificateContext(certEncodingType uint32, certEncoded *byte, en } func CertDeleteCertificateFromStore(certContext *CertContext) (err error) { - r1, _, e1 := syscall.Syscall(procCertDeleteCertificateFromStore.Addr(), 1, uintptr(unsafe.Pointer(certContext)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCertDeleteCertificateFromStore.Addr(), uintptr(unsafe.Pointer(certContext))) if r1 == 0 { err = errnoErr(e1) } @@ -1424,13 +1431,13 @@ func CertDeleteCertificateFromStore(certContext *CertContext) (err error) { } func CertDuplicateCertificateContext(certContext *CertContext) (dupContext *CertContext) { - r0, _, _ := syscall.Syscall(procCertDuplicateCertificateContext.Addr(), 1, uintptr(unsafe.Pointer(certContext)), 0, 0) + r0, _, _ := syscall.SyscallN(procCertDuplicateCertificateContext.Addr(), uintptr(unsafe.Pointer(certContext))) dupContext = (*CertContext)(unsafe.Pointer(r0)) return } func CertEnumCertificatesInStore(store Handle, prevContext *CertContext) (context *CertContext, err error) { - r0, _, e1 := syscall.Syscall(procCertEnumCertificatesInStore.Addr(), 2, uintptr(store), uintptr(unsafe.Pointer(prevContext)), 0) + r0, _, e1 := syscall.SyscallN(procCertEnumCertificatesInStore.Addr(), uintptr(store), uintptr(unsafe.Pointer(prevContext))) context = (*CertContext)(unsafe.Pointer(r0)) if context == nil { err = errnoErr(e1) @@ -1439,7 +1446,7 @@ func CertEnumCertificatesInStore(store Handle, prevContext *CertContext) (contex } func CertFindCertificateInStore(store Handle, certEncodingType uint32, findFlags uint32, findType uint32, findPara unsafe.Pointer, prevCertContext *CertContext) (cert *CertContext, err error) { - r0, _, e1 := syscall.Syscall6(procCertFindCertificateInStore.Addr(), 6, uintptr(store), uintptr(certEncodingType), uintptr(findFlags), uintptr(findType), uintptr(findPara), uintptr(unsafe.Pointer(prevCertContext))) + r0, _, e1 := syscall.SyscallN(procCertFindCertificateInStore.Addr(), uintptr(store), uintptr(certEncodingType), uintptr(findFlags), uintptr(findType), uintptr(findPara), uintptr(unsafe.Pointer(prevCertContext))) cert = (*CertContext)(unsafe.Pointer(r0)) if cert == nil { err = errnoErr(e1) @@ -1448,7 +1455,7 @@ func CertFindCertificateInStore(store Handle, certEncodingType uint32, findFlags } func CertFindChainInStore(store Handle, certEncodingType uint32, findFlags uint32, findType uint32, findPara unsafe.Pointer, prevChainContext *CertChainContext) (certchain *CertChainContext, err error) { - r0, _, e1 := syscall.Syscall6(procCertFindChainInStore.Addr(), 6, uintptr(store), uintptr(certEncodingType), uintptr(findFlags), uintptr(findType), uintptr(findPara), uintptr(unsafe.Pointer(prevChainContext))) + r0, _, e1 := syscall.SyscallN(procCertFindChainInStore.Addr(), uintptr(store), uintptr(certEncodingType), uintptr(findFlags), uintptr(findType), uintptr(findPara), uintptr(unsafe.Pointer(prevChainContext))) certchain = (*CertChainContext)(unsafe.Pointer(r0)) if certchain == nil { err = errnoErr(e1) @@ -1457,18 +1464,18 @@ func CertFindChainInStore(store Handle, certEncodingType uint32, findFlags uint3 } func CertFindExtension(objId *byte, countExtensions uint32, extensions *CertExtension) (ret *CertExtension) { - r0, _, _ := syscall.Syscall(procCertFindExtension.Addr(), 3, uintptr(unsafe.Pointer(objId)), uintptr(countExtensions), uintptr(unsafe.Pointer(extensions))) + r0, _, _ := syscall.SyscallN(procCertFindExtension.Addr(), uintptr(unsafe.Pointer(objId)), uintptr(countExtensions), uintptr(unsafe.Pointer(extensions))) ret = (*CertExtension)(unsafe.Pointer(r0)) return } func CertFreeCertificateChain(ctx *CertChainContext) { - syscall.Syscall(procCertFreeCertificateChain.Addr(), 1, uintptr(unsafe.Pointer(ctx)), 0, 0) + syscall.SyscallN(procCertFreeCertificateChain.Addr(), uintptr(unsafe.Pointer(ctx))) return } func CertFreeCertificateContext(ctx *CertContext) (err error) { - r1, _, e1 := syscall.Syscall(procCertFreeCertificateContext.Addr(), 1, uintptr(unsafe.Pointer(ctx)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCertFreeCertificateContext.Addr(), uintptr(unsafe.Pointer(ctx))) if r1 == 0 { err = errnoErr(e1) } @@ -1476,7 +1483,7 @@ func CertFreeCertificateContext(ctx *CertContext) (err error) { } func CertGetCertificateChain(engine Handle, leaf *CertContext, time *Filetime, additionalStore Handle, para *CertChainPara, flags uint32, reserved uintptr, chainCtx **CertChainContext) (err error) { - r1, _, e1 := syscall.Syscall9(procCertGetCertificateChain.Addr(), 8, uintptr(engine), uintptr(unsafe.Pointer(leaf)), uintptr(unsafe.Pointer(time)), uintptr(additionalStore), uintptr(unsafe.Pointer(para)), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(chainCtx)), 0) + r1, _, e1 := syscall.SyscallN(procCertGetCertificateChain.Addr(), uintptr(engine), uintptr(unsafe.Pointer(leaf)), uintptr(unsafe.Pointer(time)), uintptr(additionalStore), uintptr(unsafe.Pointer(para)), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(chainCtx))) if r1 == 0 { err = errnoErr(e1) } @@ -1484,13 +1491,13 @@ func CertGetCertificateChain(engine Handle, leaf *CertContext, time *Filetime, a } func CertGetNameString(certContext *CertContext, nameType uint32, flags uint32, typePara unsafe.Pointer, name *uint16, size uint32) (chars uint32) { - r0, _, _ := syscall.Syscall6(procCertGetNameStringW.Addr(), 6, uintptr(unsafe.Pointer(certContext)), uintptr(nameType), uintptr(flags), uintptr(typePara), uintptr(unsafe.Pointer(name)), uintptr(size)) + r0, _, _ := syscall.SyscallN(procCertGetNameStringW.Addr(), uintptr(unsafe.Pointer(certContext)), uintptr(nameType), uintptr(flags), uintptr(typePara), uintptr(unsafe.Pointer(name)), uintptr(size)) chars = uint32(r0) return } func CertOpenStore(storeProvider uintptr, msgAndCertEncodingType uint32, cryptProv uintptr, flags uint32, para uintptr) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procCertOpenStore.Addr(), 5, uintptr(storeProvider), uintptr(msgAndCertEncodingType), uintptr(cryptProv), uintptr(flags), uintptr(para), 0) + r0, _, e1 := syscall.SyscallN(procCertOpenStore.Addr(), uintptr(storeProvider), uintptr(msgAndCertEncodingType), uintptr(cryptProv), uintptr(flags), uintptr(para)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1499,7 +1506,7 @@ func CertOpenStore(storeProvider uintptr, msgAndCertEncodingType uint32, cryptPr } func CertOpenSystemStore(hprov Handle, name *uint16) (store Handle, err error) { - r0, _, e1 := syscall.Syscall(procCertOpenSystemStoreW.Addr(), 2, uintptr(hprov), uintptr(unsafe.Pointer(name)), 0) + r0, _, e1 := syscall.SyscallN(procCertOpenSystemStoreW.Addr(), uintptr(hprov), uintptr(unsafe.Pointer(name))) store = Handle(r0) if store == 0 { err = errnoErr(e1) @@ -1508,7 +1515,7 @@ func CertOpenSystemStore(hprov Handle, name *uint16) (store Handle, err error) { } func CertVerifyCertificateChainPolicy(policyOID uintptr, chain *CertChainContext, para *CertChainPolicyPara, status *CertChainPolicyStatus) (err error) { - r1, _, e1 := syscall.Syscall6(procCertVerifyCertificateChainPolicy.Addr(), 4, uintptr(policyOID), uintptr(unsafe.Pointer(chain)), uintptr(unsafe.Pointer(para)), uintptr(unsafe.Pointer(status)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCertVerifyCertificateChainPolicy.Addr(), uintptr(policyOID), uintptr(unsafe.Pointer(chain)), uintptr(unsafe.Pointer(para)), uintptr(unsafe.Pointer(status))) if r1 == 0 { err = errnoErr(e1) } @@ -1520,7 +1527,7 @@ func CryptAcquireCertificatePrivateKey(cert *CertContext, flags uint32, paramete if *callerFreeProvOrNCryptKey { _p0 = 1 } - r1, _, e1 := syscall.Syscall6(procCryptAcquireCertificatePrivateKey.Addr(), 6, uintptr(unsafe.Pointer(cert)), uintptr(flags), uintptr(parameters), uintptr(unsafe.Pointer(cryptProvOrNCryptKey)), uintptr(unsafe.Pointer(keySpec)), uintptr(unsafe.Pointer(&_p0))) + r1, _, e1 := syscall.SyscallN(procCryptAcquireCertificatePrivateKey.Addr(), uintptr(unsafe.Pointer(cert)), uintptr(flags), uintptr(parameters), uintptr(unsafe.Pointer(cryptProvOrNCryptKey)), uintptr(unsafe.Pointer(keySpec)), uintptr(unsafe.Pointer(&_p0))) *callerFreeProvOrNCryptKey = _p0 != 0 if r1 == 0 { err = errnoErr(e1) @@ -1529,7 +1536,7 @@ func CryptAcquireCertificatePrivateKey(cert *CertContext, flags uint32, paramete } func CryptDecodeObject(encodingType uint32, structType *byte, encodedBytes *byte, lenEncodedBytes uint32, flags uint32, decoded unsafe.Pointer, decodedLen *uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procCryptDecodeObject.Addr(), 7, uintptr(encodingType), uintptr(unsafe.Pointer(structType)), uintptr(unsafe.Pointer(encodedBytes)), uintptr(lenEncodedBytes), uintptr(flags), uintptr(decoded), uintptr(unsafe.Pointer(decodedLen)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCryptDecodeObject.Addr(), uintptr(encodingType), uintptr(unsafe.Pointer(structType)), uintptr(unsafe.Pointer(encodedBytes)), uintptr(lenEncodedBytes), uintptr(flags), uintptr(decoded), uintptr(unsafe.Pointer(decodedLen))) if r1 == 0 { err = errnoErr(e1) } @@ -1537,7 +1544,7 @@ func CryptDecodeObject(encodingType uint32, structType *byte, encodedBytes *byte } func CryptProtectData(dataIn *DataBlob, name *uint16, optionalEntropy *DataBlob, reserved uintptr, promptStruct *CryptProtectPromptStruct, flags uint32, dataOut *DataBlob) (err error) { - r1, _, e1 := syscall.Syscall9(procCryptProtectData.Addr(), 7, uintptr(unsafe.Pointer(dataIn)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(optionalEntropy)), uintptr(reserved), uintptr(unsafe.Pointer(promptStruct)), uintptr(flags), uintptr(unsafe.Pointer(dataOut)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCryptProtectData.Addr(), uintptr(unsafe.Pointer(dataIn)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(optionalEntropy)), uintptr(reserved), uintptr(unsafe.Pointer(promptStruct)), uintptr(flags), uintptr(unsafe.Pointer(dataOut))) if r1 == 0 { err = errnoErr(e1) } @@ -1545,7 +1552,7 @@ func CryptProtectData(dataIn *DataBlob, name *uint16, optionalEntropy *DataBlob, } func CryptQueryObject(objectType uint32, object unsafe.Pointer, expectedContentTypeFlags uint32, expectedFormatTypeFlags uint32, flags uint32, msgAndCertEncodingType *uint32, contentType *uint32, formatType *uint32, certStore *Handle, msg *Handle, context *unsafe.Pointer) (err error) { - r1, _, e1 := syscall.Syscall12(procCryptQueryObject.Addr(), 11, uintptr(objectType), uintptr(object), uintptr(expectedContentTypeFlags), uintptr(expectedFormatTypeFlags), uintptr(flags), uintptr(unsafe.Pointer(msgAndCertEncodingType)), uintptr(unsafe.Pointer(contentType)), uintptr(unsafe.Pointer(formatType)), uintptr(unsafe.Pointer(certStore)), uintptr(unsafe.Pointer(msg)), uintptr(unsafe.Pointer(context)), 0) + r1, _, e1 := syscall.SyscallN(procCryptQueryObject.Addr(), uintptr(objectType), uintptr(object), uintptr(expectedContentTypeFlags), uintptr(expectedFormatTypeFlags), uintptr(flags), uintptr(unsafe.Pointer(msgAndCertEncodingType)), uintptr(unsafe.Pointer(contentType)), uintptr(unsafe.Pointer(formatType)), uintptr(unsafe.Pointer(certStore)), uintptr(unsafe.Pointer(msg)), uintptr(unsafe.Pointer(context))) if r1 == 0 { err = errnoErr(e1) } @@ -1553,7 +1560,7 @@ func CryptQueryObject(objectType uint32, object unsafe.Pointer, expectedContentT } func CryptUnprotectData(dataIn *DataBlob, name **uint16, optionalEntropy *DataBlob, reserved uintptr, promptStruct *CryptProtectPromptStruct, flags uint32, dataOut *DataBlob) (err error) { - r1, _, e1 := syscall.Syscall9(procCryptUnprotectData.Addr(), 7, uintptr(unsafe.Pointer(dataIn)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(optionalEntropy)), uintptr(reserved), uintptr(unsafe.Pointer(promptStruct)), uintptr(flags), uintptr(unsafe.Pointer(dataOut)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCryptUnprotectData.Addr(), uintptr(unsafe.Pointer(dataIn)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(optionalEntropy)), uintptr(reserved), uintptr(unsafe.Pointer(promptStruct)), uintptr(flags), uintptr(unsafe.Pointer(dataOut))) if r1 == 0 { err = errnoErr(e1) } @@ -1561,7 +1568,7 @@ func CryptUnprotectData(dataIn *DataBlob, name **uint16, optionalEntropy *DataBl } func PFXImportCertStore(pfx *CryptDataBlob, password *uint16, flags uint32) (store Handle, err error) { - r0, _, e1 := syscall.Syscall(procPFXImportCertStore.Addr(), 3, uintptr(unsafe.Pointer(pfx)), uintptr(unsafe.Pointer(password)), uintptr(flags)) + r0, _, e1 := syscall.SyscallN(procPFXImportCertStore.Addr(), uintptr(unsafe.Pointer(pfx)), uintptr(unsafe.Pointer(password)), uintptr(flags)) store = Handle(r0) if store == 0 { err = errnoErr(e1) @@ -1570,7 +1577,7 @@ func PFXImportCertStore(pfx *CryptDataBlob, password *uint16, flags uint32) (sto } func DnsNameCompare(name1 *uint16, name2 *uint16) (same bool) { - r0, _, _ := syscall.Syscall(procDnsNameCompare_W.Addr(), 2, uintptr(unsafe.Pointer(name1)), uintptr(unsafe.Pointer(name2)), 0) + r0, _, _ := syscall.SyscallN(procDnsNameCompare_W.Addr(), uintptr(unsafe.Pointer(name1)), uintptr(unsafe.Pointer(name2))) same = r0 != 0 return } @@ -1585,7 +1592,7 @@ func DnsQuery(name string, qtype uint16, options uint32, extra *byte, qrs **DNSR } func _DnsQuery(name *uint16, qtype uint16, options uint32, extra *byte, qrs **DNSRecord, pr *byte) (status error) { - r0, _, _ := syscall.Syscall6(procDnsQuery_W.Addr(), 6, uintptr(unsafe.Pointer(name)), uintptr(qtype), uintptr(options), uintptr(unsafe.Pointer(extra)), uintptr(unsafe.Pointer(qrs)), uintptr(unsafe.Pointer(pr))) + r0, _, _ := syscall.SyscallN(procDnsQuery_W.Addr(), uintptr(unsafe.Pointer(name)), uintptr(qtype), uintptr(options), uintptr(unsafe.Pointer(extra)), uintptr(unsafe.Pointer(qrs)), uintptr(unsafe.Pointer(pr))) if r0 != 0 { status = syscall.Errno(r0) } @@ -1593,12 +1600,12 @@ func _DnsQuery(name *uint16, qtype uint16, options uint32, extra *byte, qrs **DN } func DnsRecordListFree(rl *DNSRecord, freetype uint32) { - syscall.Syscall(procDnsRecordListFree.Addr(), 2, uintptr(unsafe.Pointer(rl)), uintptr(freetype), 0) + syscall.SyscallN(procDnsRecordListFree.Addr(), uintptr(unsafe.Pointer(rl)), uintptr(freetype)) return } func DwmGetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) { - r0, _, _ := syscall.Syscall6(procDwmGetWindowAttribute.Addr(), 4, uintptr(hwnd), uintptr(attribute), uintptr(value), uintptr(size), 0, 0) + r0, _, _ := syscall.SyscallN(procDwmGetWindowAttribute.Addr(), uintptr(hwnd), uintptr(attribute), uintptr(value), uintptr(size)) if r0 != 0 { ret = syscall.Errno(r0) } @@ -1606,7 +1613,7 @@ func DwmGetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, si } func DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, size uint32) (ret error) { - r0, _, _ := syscall.Syscall6(procDwmSetWindowAttribute.Addr(), 4, uintptr(hwnd), uintptr(attribute), uintptr(value), uintptr(size), 0, 0) + r0, _, _ := syscall.SyscallN(procDwmSetWindowAttribute.Addr(), uintptr(hwnd), uintptr(attribute), uintptr(value), uintptr(size)) if r0 != 0 { ret = syscall.Errno(r0) } @@ -1614,15 +1621,20 @@ func DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, si } func CancelMibChangeNotify2(notificationHandle Handle) (errcode error) { - r0, _, _ := syscall.Syscall(procCancelMibChangeNotify2.Addr(), 1, uintptr(notificationHandle), 0, 0) + r0, _, _ := syscall.SyscallN(procCancelMibChangeNotify2.Addr(), uintptr(notificationHandle)) if r0 != 0 { errcode = syscall.Errno(r0) } return } +func FreeMibTable(memory unsafe.Pointer) { + syscall.SyscallN(procFreeMibTable.Addr(), uintptr(memory)) + return +} + func GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) { - r0, _, _ := syscall.Syscall6(procGetAdaptersAddresses.Addr(), 5, uintptr(family), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(adapterAddresses)), uintptr(unsafe.Pointer(sizePointer)), 0) + r0, _, _ := syscall.SyscallN(procGetAdaptersAddresses.Addr(), uintptr(family), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(adapterAddresses)), uintptr(unsafe.Pointer(sizePointer))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1630,7 +1642,7 @@ func GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapter } func GetAdaptersInfo(ai *IpAdapterInfo, ol *uint32) (errcode error) { - r0, _, _ := syscall.Syscall(procGetAdaptersInfo.Addr(), 2, uintptr(unsafe.Pointer(ai)), uintptr(unsafe.Pointer(ol)), 0) + r0, _, _ := syscall.SyscallN(procGetAdaptersInfo.Addr(), uintptr(unsafe.Pointer(ai)), uintptr(unsafe.Pointer(ol))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1638,7 +1650,7 @@ func GetAdaptersInfo(ai *IpAdapterInfo, ol *uint32) (errcode error) { } func getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) { - r0, _, _ := syscall.Syscall(procGetBestInterfaceEx.Addr(), 2, uintptr(sockaddr), uintptr(unsafe.Pointer(pdwBestIfIndex)), 0) + r0, _, _ := syscall.SyscallN(procGetBestInterfaceEx.Addr(), uintptr(sockaddr), uintptr(unsafe.Pointer(pdwBestIfIndex))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1646,7 +1658,7 @@ func getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcod } func GetIfEntry(pIfRow *MibIfRow) (errcode error) { - r0, _, _ := syscall.Syscall(procGetIfEntry.Addr(), 1, uintptr(unsafe.Pointer(pIfRow)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetIfEntry.Addr(), uintptr(unsafe.Pointer(pIfRow))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1654,7 +1666,23 @@ func GetIfEntry(pIfRow *MibIfRow) (errcode error) { } func GetIfEntry2Ex(level uint32, row *MibIfRow2) (errcode error) { - r0, _, _ := syscall.Syscall(procGetIfEntry2Ex.Addr(), 2, uintptr(level), uintptr(unsafe.Pointer(row)), 0) + r0, _, _ := syscall.SyscallN(procGetIfEntry2Ex.Addr(), uintptr(level), uintptr(unsafe.Pointer(row))) + if r0 != 0 { + errcode = syscall.Errno(r0) + } + return +} + +func GetIpForwardEntry2(row *MibIpForwardRow2) (errcode error) { + r0, _, _ := syscall.SyscallN(procGetIpForwardEntry2.Addr(), uintptr(unsafe.Pointer(row))) + if r0 != 0 { + errcode = syscall.Errno(r0) + } + return +} + +func GetIpForwardTable2(family uint16, table **MibIpForwardTable2) (errcode error) { + r0, _, _ := syscall.SyscallN(procGetIpForwardTable2.Addr(), uintptr(family), uintptr(unsafe.Pointer(table))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1662,7 +1690,7 @@ func GetIfEntry2Ex(level uint32, row *MibIfRow2) (errcode error) { } func GetUnicastIpAddressEntry(row *MibUnicastIpAddressRow) (errcode error) { - r0, _, _ := syscall.Syscall(procGetUnicastIpAddressEntry.Addr(), 1, uintptr(unsafe.Pointer(row)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetUnicastIpAddressEntry.Addr(), uintptr(unsafe.Pointer(row))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1674,7 +1702,19 @@ func NotifyIpInterfaceChange(family uint16, callback uintptr, callerContext unsa if initialNotification { _p0 = 1 } - r0, _, _ := syscall.Syscall6(procNotifyIpInterfaceChange.Addr(), 5, uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle)), 0) + r0, _, _ := syscall.SyscallN(procNotifyIpInterfaceChange.Addr(), uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle))) + if r0 != 0 { + errcode = syscall.Errno(r0) + } + return +} + +func NotifyRouteChange2(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) { + var _p0 uint32 + if initialNotification { + _p0 = 1 + } + r0, _, _ := syscall.SyscallN(procNotifyRouteChange2.Addr(), uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1686,7 +1726,7 @@ func NotifyUnicastIpAddressChange(family uint16, callback uintptr, callerContext if initialNotification { _p0 = 1 } - r0, _, _ := syscall.Syscall6(procNotifyUnicastIpAddressChange.Addr(), 5, uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle)), 0) + r0, _, _ := syscall.SyscallN(procNotifyUnicastIpAddressChange.Addr(), uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle))) if r0 != 0 { errcode = syscall.Errno(r0) } @@ -1694,7 +1734,7 @@ func NotifyUnicastIpAddressChange(family uint16, callback uintptr, callerContext } func AddDllDirectory(path *uint16) (cookie uintptr, err error) { - r0, _, e1 := syscall.Syscall(procAddDllDirectory.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0) + r0, _, e1 := syscall.SyscallN(procAddDllDirectory.Addr(), uintptr(unsafe.Pointer(path))) cookie = uintptr(r0) if cookie == 0 { err = errnoErr(e1) @@ -1703,7 +1743,7 @@ func AddDllDirectory(path *uint16) (cookie uintptr, err error) { } func AssignProcessToJobObject(job Handle, process Handle) (err error) { - r1, _, e1 := syscall.Syscall(procAssignProcessToJobObject.Addr(), 2, uintptr(job), uintptr(process), 0) + r1, _, e1 := syscall.SyscallN(procAssignProcessToJobObject.Addr(), uintptr(job), uintptr(process)) if r1 == 0 { err = errnoErr(e1) } @@ -1711,7 +1751,7 @@ func AssignProcessToJobObject(job Handle, process Handle) (err error) { } func CancelIo(s Handle) (err error) { - r1, _, e1 := syscall.Syscall(procCancelIo.Addr(), 1, uintptr(s), 0, 0) + r1, _, e1 := syscall.SyscallN(procCancelIo.Addr(), uintptr(s)) if r1 == 0 { err = errnoErr(e1) } @@ -1719,7 +1759,7 @@ func CancelIo(s Handle) (err error) { } func CancelIoEx(s Handle, o *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall(procCancelIoEx.Addr(), 2, uintptr(s), uintptr(unsafe.Pointer(o)), 0) + r1, _, e1 := syscall.SyscallN(procCancelIoEx.Addr(), uintptr(s), uintptr(unsafe.Pointer(o))) if r1 == 0 { err = errnoErr(e1) } @@ -1727,7 +1767,7 @@ func CancelIoEx(s Handle, o *Overlapped) (err error) { } func ClearCommBreak(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procClearCommBreak.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procClearCommBreak.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -1735,7 +1775,7 @@ func ClearCommBreak(handle Handle) (err error) { } func ClearCommError(handle Handle, lpErrors *uint32, lpStat *ComStat) (err error) { - r1, _, e1 := syscall.Syscall(procClearCommError.Addr(), 3, uintptr(handle), uintptr(unsafe.Pointer(lpErrors)), uintptr(unsafe.Pointer(lpStat))) + r1, _, e1 := syscall.SyscallN(procClearCommError.Addr(), uintptr(handle), uintptr(unsafe.Pointer(lpErrors)), uintptr(unsafe.Pointer(lpStat))) if r1 == 0 { err = errnoErr(e1) } @@ -1743,7 +1783,7 @@ func ClearCommError(handle Handle, lpErrors *uint32, lpStat *ComStat) (err error } func CloseHandle(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procCloseHandle.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procCloseHandle.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -1751,12 +1791,12 @@ func CloseHandle(handle Handle) (err error) { } func ClosePseudoConsole(console Handle) { - syscall.Syscall(procClosePseudoConsole.Addr(), 1, uintptr(console), 0, 0) + syscall.SyscallN(procClosePseudoConsole.Addr(), uintptr(console)) return } func ConnectNamedPipe(pipe Handle, overlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall(procConnectNamedPipe.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(overlapped)), 0) + r1, _, e1 := syscall.SyscallN(procConnectNamedPipe.Addr(), uintptr(pipe), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -1764,7 +1804,7 @@ func ConnectNamedPipe(pipe Handle, overlapped *Overlapped) (err error) { } func CreateDirectory(path *uint16, sa *SecurityAttributes) (err error) { - r1, _, e1 := syscall.Syscall(procCreateDirectoryW.Addr(), 2, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(sa)), 0) + r1, _, e1 := syscall.SyscallN(procCreateDirectoryW.Addr(), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(sa))) if r1 == 0 { err = errnoErr(e1) } @@ -1772,7 +1812,7 @@ func CreateDirectory(path *uint16, sa *SecurityAttributes) (err error) { } func CreateEventEx(eventAttrs *SecurityAttributes, name *uint16, flags uint32, desiredAccess uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procCreateEventExW.Addr(), 4, uintptr(unsafe.Pointer(eventAttrs)), uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(desiredAccess), 0, 0) + r0, _, e1 := syscall.SyscallN(procCreateEventExW.Addr(), uintptr(unsafe.Pointer(eventAttrs)), uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(desiredAccess)) handle = Handle(r0) if handle == 0 || e1 == ERROR_ALREADY_EXISTS { err = errnoErr(e1) @@ -1781,7 +1821,7 @@ func CreateEventEx(eventAttrs *SecurityAttributes, name *uint16, flags uint32, d } func CreateEvent(eventAttrs *SecurityAttributes, manualReset uint32, initialState uint32, name *uint16) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procCreateEventW.Addr(), 4, uintptr(unsafe.Pointer(eventAttrs)), uintptr(manualReset), uintptr(initialState), uintptr(unsafe.Pointer(name)), 0, 0) + r0, _, e1 := syscall.SyscallN(procCreateEventW.Addr(), uintptr(unsafe.Pointer(eventAttrs)), uintptr(manualReset), uintptr(initialState), uintptr(unsafe.Pointer(name))) handle = Handle(r0) if handle == 0 || e1 == ERROR_ALREADY_EXISTS { err = errnoErr(e1) @@ -1790,7 +1830,7 @@ func CreateEvent(eventAttrs *SecurityAttributes, manualReset uint32, initialStat } func CreateFileMapping(fhandle Handle, sa *SecurityAttributes, prot uint32, maxSizeHigh uint32, maxSizeLow uint32, name *uint16) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procCreateFileMappingW.Addr(), 6, uintptr(fhandle), uintptr(unsafe.Pointer(sa)), uintptr(prot), uintptr(maxSizeHigh), uintptr(maxSizeLow), uintptr(unsafe.Pointer(name))) + r0, _, e1 := syscall.SyscallN(procCreateFileMappingW.Addr(), uintptr(fhandle), uintptr(unsafe.Pointer(sa)), uintptr(prot), uintptr(maxSizeHigh), uintptr(maxSizeLow), uintptr(unsafe.Pointer(name))) handle = Handle(r0) if handle == 0 || e1 == ERROR_ALREADY_EXISTS { err = errnoErr(e1) @@ -1799,7 +1839,7 @@ func CreateFileMapping(fhandle Handle, sa *SecurityAttributes, prot uint32, maxS } func CreateFile(name *uint16, access uint32, mode uint32, sa *SecurityAttributes, createmode uint32, attrs uint32, templatefile Handle) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall9(procCreateFileW.Addr(), 7, uintptr(unsafe.Pointer(name)), uintptr(access), uintptr(mode), uintptr(unsafe.Pointer(sa)), uintptr(createmode), uintptr(attrs), uintptr(templatefile), 0, 0) + r0, _, e1 := syscall.SyscallN(procCreateFileW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(access), uintptr(mode), uintptr(unsafe.Pointer(sa)), uintptr(createmode), uintptr(attrs), uintptr(templatefile)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -1808,7 +1848,7 @@ func CreateFile(name *uint16, access uint32, mode uint32, sa *SecurityAttributes } func CreateHardLink(filename *uint16, existingfilename *uint16, reserved uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procCreateHardLinkW.Addr(), 3, uintptr(unsafe.Pointer(filename)), uintptr(unsafe.Pointer(existingfilename)), uintptr(reserved)) + r1, _, e1 := syscall.SyscallN(procCreateHardLinkW.Addr(), uintptr(unsafe.Pointer(filename)), uintptr(unsafe.Pointer(existingfilename)), uintptr(reserved)) if r1&0xff == 0 { err = errnoErr(e1) } @@ -1816,7 +1856,7 @@ func CreateHardLink(filename *uint16, existingfilename *uint16, reserved uintptr } func CreateIoCompletionPort(filehandle Handle, cphandle Handle, key uintptr, threadcnt uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procCreateIoCompletionPort.Addr(), 4, uintptr(filehandle), uintptr(cphandle), uintptr(key), uintptr(threadcnt), 0, 0) + r0, _, e1 := syscall.SyscallN(procCreateIoCompletionPort.Addr(), uintptr(filehandle), uintptr(cphandle), uintptr(key), uintptr(threadcnt)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1825,7 +1865,7 @@ func CreateIoCompletionPort(filehandle Handle, cphandle Handle, key uintptr, thr } func CreateJobObject(jobAttr *SecurityAttributes, name *uint16) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procCreateJobObjectW.Addr(), 2, uintptr(unsafe.Pointer(jobAttr)), uintptr(unsafe.Pointer(name)), 0) + r0, _, e1 := syscall.SyscallN(procCreateJobObjectW.Addr(), uintptr(unsafe.Pointer(jobAttr)), uintptr(unsafe.Pointer(name))) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -1834,7 +1874,7 @@ func CreateJobObject(jobAttr *SecurityAttributes, name *uint16) (handle Handle, } func CreateMutexEx(mutexAttrs *SecurityAttributes, name *uint16, flags uint32, desiredAccess uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procCreateMutexExW.Addr(), 4, uintptr(unsafe.Pointer(mutexAttrs)), uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(desiredAccess), 0, 0) + r0, _, e1 := syscall.SyscallN(procCreateMutexExW.Addr(), uintptr(unsafe.Pointer(mutexAttrs)), uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(desiredAccess)) handle = Handle(r0) if handle == 0 || e1 == ERROR_ALREADY_EXISTS { err = errnoErr(e1) @@ -1847,7 +1887,7 @@ func CreateMutex(mutexAttrs *SecurityAttributes, initialOwner bool, name *uint16 if initialOwner { _p0 = 1 } - r0, _, e1 := syscall.Syscall(procCreateMutexW.Addr(), 3, uintptr(unsafe.Pointer(mutexAttrs)), uintptr(_p0), uintptr(unsafe.Pointer(name))) + r0, _, e1 := syscall.SyscallN(procCreateMutexW.Addr(), uintptr(unsafe.Pointer(mutexAttrs)), uintptr(_p0), uintptr(unsafe.Pointer(name))) handle = Handle(r0) if handle == 0 || e1 == ERROR_ALREADY_EXISTS { err = errnoErr(e1) @@ -1856,7 +1896,7 @@ func CreateMutex(mutexAttrs *SecurityAttributes, initialOwner bool, name *uint16 } func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *SecurityAttributes) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall9(procCreateNamedPipeW.Addr(), 8, uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(pipeMode), uintptr(maxInstances), uintptr(outSize), uintptr(inSize), uintptr(defaultTimeout), uintptr(unsafe.Pointer(sa)), 0) + r0, _, e1 := syscall.SyscallN(procCreateNamedPipeW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(flags), uintptr(pipeMode), uintptr(maxInstances), uintptr(outSize), uintptr(inSize), uintptr(defaultTimeout), uintptr(unsafe.Pointer(sa))) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -1865,7 +1905,7 @@ func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances u } func CreatePipe(readhandle *Handle, writehandle *Handle, sa *SecurityAttributes, size uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procCreatePipe.Addr(), 4, uintptr(unsafe.Pointer(readhandle)), uintptr(unsafe.Pointer(writehandle)), uintptr(unsafe.Pointer(sa)), uintptr(size), 0, 0) + r1, _, e1 := syscall.SyscallN(procCreatePipe.Addr(), uintptr(unsafe.Pointer(readhandle)), uintptr(unsafe.Pointer(writehandle)), uintptr(unsafe.Pointer(sa)), uintptr(size)) if r1 == 0 { err = errnoErr(e1) } @@ -1877,7 +1917,7 @@ func CreateProcess(appName *uint16, commandLine *uint16, procSecurity *SecurityA if inheritHandles { _p0 = 1 } - r1, _, e1 := syscall.Syscall12(procCreateProcessW.Addr(), 10, uintptr(unsafe.Pointer(appName)), uintptr(unsafe.Pointer(commandLine)), uintptr(unsafe.Pointer(procSecurity)), uintptr(unsafe.Pointer(threadSecurity)), uintptr(_p0), uintptr(creationFlags), uintptr(unsafe.Pointer(env)), uintptr(unsafe.Pointer(currentDir)), uintptr(unsafe.Pointer(startupInfo)), uintptr(unsafe.Pointer(outProcInfo)), 0, 0) + r1, _, e1 := syscall.SyscallN(procCreateProcessW.Addr(), uintptr(unsafe.Pointer(appName)), uintptr(unsafe.Pointer(commandLine)), uintptr(unsafe.Pointer(procSecurity)), uintptr(unsafe.Pointer(threadSecurity)), uintptr(_p0), uintptr(creationFlags), uintptr(unsafe.Pointer(env)), uintptr(unsafe.Pointer(currentDir)), uintptr(unsafe.Pointer(startupInfo)), uintptr(unsafe.Pointer(outProcInfo))) if r1 == 0 { err = errnoErr(e1) } @@ -1885,7 +1925,7 @@ func CreateProcess(appName *uint16, commandLine *uint16, procSecurity *SecurityA } func createPseudoConsole(size uint32, in Handle, out Handle, flags uint32, pconsole *Handle) (hr error) { - r0, _, _ := syscall.Syscall6(procCreatePseudoConsole.Addr(), 5, uintptr(size), uintptr(in), uintptr(out), uintptr(flags), uintptr(unsafe.Pointer(pconsole)), 0) + r0, _, _ := syscall.SyscallN(procCreatePseudoConsole.Addr(), uintptr(size), uintptr(in), uintptr(out), uintptr(flags), uintptr(unsafe.Pointer(pconsole))) if r0 != 0 { hr = syscall.Errno(r0) } @@ -1893,7 +1933,7 @@ func createPseudoConsole(size uint32, in Handle, out Handle, flags uint32, pcons } func CreateSymbolicLink(symlinkfilename *uint16, targetfilename *uint16, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procCreateSymbolicLinkW.Addr(), 3, uintptr(unsafe.Pointer(symlinkfilename)), uintptr(unsafe.Pointer(targetfilename)), uintptr(flags)) + r1, _, e1 := syscall.SyscallN(procCreateSymbolicLinkW.Addr(), uintptr(unsafe.Pointer(symlinkfilename)), uintptr(unsafe.Pointer(targetfilename)), uintptr(flags)) if r1&0xff == 0 { err = errnoErr(e1) } @@ -1901,7 +1941,7 @@ func CreateSymbolicLink(symlinkfilename *uint16, targetfilename *uint16, flags u } func CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procCreateToolhelp32Snapshot.Addr(), 2, uintptr(flags), uintptr(processId), 0) + r0, _, e1 := syscall.SyscallN(procCreateToolhelp32Snapshot.Addr(), uintptr(flags), uintptr(processId)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -1910,7 +1950,7 @@ func CreateToolhelp32Snapshot(flags uint32, processId uint32) (handle Handle, er } func DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procDefineDosDeviceW.Addr(), 3, uintptr(flags), uintptr(unsafe.Pointer(deviceName)), uintptr(unsafe.Pointer(targetPath))) + r1, _, e1 := syscall.SyscallN(procDefineDosDeviceW.Addr(), uintptr(flags), uintptr(unsafe.Pointer(deviceName)), uintptr(unsafe.Pointer(targetPath))) if r1 == 0 { err = errnoErr(e1) } @@ -1918,7 +1958,7 @@ func DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err } func DeleteFile(path *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procDeleteFileW.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0) + r1, _, e1 := syscall.SyscallN(procDeleteFileW.Addr(), uintptr(unsafe.Pointer(path))) if r1 == 0 { err = errnoErr(e1) } @@ -1926,12 +1966,12 @@ func DeleteFile(path *uint16) (err error) { } func deleteProcThreadAttributeList(attrlist *ProcThreadAttributeList) { - syscall.Syscall(procDeleteProcThreadAttributeList.Addr(), 1, uintptr(unsafe.Pointer(attrlist)), 0, 0) + syscall.SyscallN(procDeleteProcThreadAttributeList.Addr(), uintptr(unsafe.Pointer(attrlist))) return } func DeleteVolumeMountPoint(volumeMountPoint *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procDeleteVolumeMountPointW.Addr(), 1, uintptr(unsafe.Pointer(volumeMountPoint)), 0, 0) + r1, _, e1 := syscall.SyscallN(procDeleteVolumeMountPointW.Addr(), uintptr(unsafe.Pointer(volumeMountPoint))) if r1 == 0 { err = errnoErr(e1) } @@ -1939,7 +1979,7 @@ func DeleteVolumeMountPoint(volumeMountPoint *uint16) (err error) { } func DeviceIoControl(handle Handle, ioControlCode uint32, inBuffer *byte, inBufferSize uint32, outBuffer *byte, outBufferSize uint32, bytesReturned *uint32, overlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall9(procDeviceIoControl.Addr(), 8, uintptr(handle), uintptr(ioControlCode), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferSize), uintptr(unsafe.Pointer(outBuffer)), uintptr(outBufferSize), uintptr(unsafe.Pointer(bytesReturned)), uintptr(unsafe.Pointer(overlapped)), 0) + r1, _, e1 := syscall.SyscallN(procDeviceIoControl.Addr(), uintptr(handle), uintptr(ioControlCode), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferSize), uintptr(unsafe.Pointer(outBuffer)), uintptr(outBufferSize), uintptr(unsafe.Pointer(bytesReturned)), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -1947,7 +1987,7 @@ func DeviceIoControl(handle Handle, ioControlCode uint32, inBuffer *byte, inBuff } func DisconnectNamedPipe(pipe Handle) (err error) { - r1, _, e1 := syscall.Syscall(procDisconnectNamedPipe.Addr(), 1, uintptr(pipe), 0, 0) + r1, _, e1 := syscall.SyscallN(procDisconnectNamedPipe.Addr(), uintptr(pipe)) if r1 == 0 { err = errnoErr(e1) } @@ -1959,7 +1999,7 @@ func DuplicateHandle(hSourceProcessHandle Handle, hSourceHandle Handle, hTargetP if bInheritHandle { _p0 = 1 } - r1, _, e1 := syscall.Syscall9(procDuplicateHandle.Addr(), 7, uintptr(hSourceProcessHandle), uintptr(hSourceHandle), uintptr(hTargetProcessHandle), uintptr(unsafe.Pointer(lpTargetHandle)), uintptr(dwDesiredAccess), uintptr(_p0), uintptr(dwOptions), 0, 0) + r1, _, e1 := syscall.SyscallN(procDuplicateHandle.Addr(), uintptr(hSourceProcessHandle), uintptr(hSourceHandle), uintptr(hTargetProcessHandle), uintptr(unsafe.Pointer(lpTargetHandle)), uintptr(dwDesiredAccess), uintptr(_p0), uintptr(dwOptions)) if r1 == 0 { err = errnoErr(e1) } @@ -1967,7 +2007,7 @@ func DuplicateHandle(hSourceProcessHandle Handle, hSourceHandle Handle, hTargetP } func EscapeCommFunction(handle Handle, dwFunc uint32) (err error) { - r1, _, e1 := syscall.Syscall(procEscapeCommFunction.Addr(), 2, uintptr(handle), uintptr(dwFunc), 0) + r1, _, e1 := syscall.SyscallN(procEscapeCommFunction.Addr(), uintptr(handle), uintptr(dwFunc)) if r1 == 0 { err = errnoErr(e1) } @@ -1975,12 +2015,12 @@ func EscapeCommFunction(handle Handle, dwFunc uint32) (err error) { } func ExitProcess(exitcode uint32) { - syscall.Syscall(procExitProcess.Addr(), 1, uintptr(exitcode), 0, 0) + syscall.SyscallN(procExitProcess.Addr(), uintptr(exitcode)) return } func ExpandEnvironmentStrings(src *uint16, dst *uint16, size uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procExpandEnvironmentStringsW.Addr(), 3, uintptr(unsafe.Pointer(src)), uintptr(unsafe.Pointer(dst)), uintptr(size)) + r0, _, e1 := syscall.SyscallN(procExpandEnvironmentStringsW.Addr(), uintptr(unsafe.Pointer(src)), uintptr(unsafe.Pointer(dst)), uintptr(size)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -1989,7 +2029,7 @@ func ExpandEnvironmentStrings(src *uint16, dst *uint16, size uint32) (n uint32, } func FindClose(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFindClose.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procFindClose.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -1997,7 +2037,7 @@ func FindClose(handle Handle) (err error) { } func FindCloseChangeNotification(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFindCloseChangeNotification.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procFindCloseChangeNotification.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -2018,7 +2058,7 @@ func _FindFirstChangeNotification(path *uint16, watchSubtree bool, notifyFilter if watchSubtree { _p1 = 1 } - r0, _, e1 := syscall.Syscall(procFindFirstChangeNotificationW.Addr(), 3, uintptr(unsafe.Pointer(path)), uintptr(_p1), uintptr(notifyFilter)) + r0, _, e1 := syscall.SyscallN(procFindFirstChangeNotificationW.Addr(), uintptr(unsafe.Pointer(path)), uintptr(_p1), uintptr(notifyFilter)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -2027,7 +2067,7 @@ func _FindFirstChangeNotification(path *uint16, watchSubtree bool, notifyFilter } func findFirstFile1(name *uint16, data *win32finddata1) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procFindFirstFileW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(data)), 0) + r0, _, e1 := syscall.SyscallN(procFindFirstFileW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(data))) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -2036,7 +2076,7 @@ func findFirstFile1(name *uint16, data *win32finddata1) (handle Handle, err erro } func FindFirstVolumeMountPoint(rootPathName *uint16, volumeMountPoint *uint16, bufferLength uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procFindFirstVolumeMountPointW.Addr(), 3, uintptr(unsafe.Pointer(rootPathName)), uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(bufferLength)) + r0, _, e1 := syscall.SyscallN(procFindFirstVolumeMountPointW.Addr(), uintptr(unsafe.Pointer(rootPathName)), uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(bufferLength)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -2045,7 +2085,7 @@ func FindFirstVolumeMountPoint(rootPathName *uint16, volumeMountPoint *uint16, b } func FindFirstVolume(volumeName *uint16, bufferLength uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procFindFirstVolumeW.Addr(), 2, uintptr(unsafe.Pointer(volumeName)), uintptr(bufferLength), 0) + r0, _, e1 := syscall.SyscallN(procFindFirstVolumeW.Addr(), uintptr(unsafe.Pointer(volumeName)), uintptr(bufferLength)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -2054,7 +2094,7 @@ func FindFirstVolume(volumeName *uint16, bufferLength uint32) (handle Handle, er } func FindNextChangeNotification(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFindNextChangeNotification.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procFindNextChangeNotification.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -2062,7 +2102,7 @@ func FindNextChangeNotification(handle Handle) (err error) { } func findNextFile1(handle Handle, data *win32finddata1) (err error) { - r1, _, e1 := syscall.Syscall(procFindNextFileW.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(data)), 0) + r1, _, e1 := syscall.SyscallN(procFindNextFileW.Addr(), uintptr(handle), uintptr(unsafe.Pointer(data))) if r1 == 0 { err = errnoErr(e1) } @@ -2070,7 +2110,7 @@ func findNextFile1(handle Handle, data *win32finddata1) (err error) { } func FindNextVolumeMountPoint(findVolumeMountPoint Handle, volumeMountPoint *uint16, bufferLength uint32) (err error) { - r1, _, e1 := syscall.Syscall(procFindNextVolumeMountPointW.Addr(), 3, uintptr(findVolumeMountPoint), uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(bufferLength)) + r1, _, e1 := syscall.SyscallN(procFindNextVolumeMountPointW.Addr(), uintptr(findVolumeMountPoint), uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(bufferLength)) if r1 == 0 { err = errnoErr(e1) } @@ -2078,7 +2118,7 @@ func FindNextVolumeMountPoint(findVolumeMountPoint Handle, volumeMountPoint *uin } func FindNextVolume(findVolume Handle, volumeName *uint16, bufferLength uint32) (err error) { - r1, _, e1 := syscall.Syscall(procFindNextVolumeW.Addr(), 3, uintptr(findVolume), uintptr(unsafe.Pointer(volumeName)), uintptr(bufferLength)) + r1, _, e1 := syscall.SyscallN(procFindNextVolumeW.Addr(), uintptr(findVolume), uintptr(unsafe.Pointer(volumeName)), uintptr(bufferLength)) if r1 == 0 { err = errnoErr(e1) } @@ -2086,7 +2126,7 @@ func FindNextVolume(findVolume Handle, volumeName *uint16, bufferLength uint32) } func findResource(module Handle, name uintptr, resType uintptr) (resInfo Handle, err error) { - r0, _, e1 := syscall.Syscall(procFindResourceW.Addr(), 3, uintptr(module), uintptr(name), uintptr(resType)) + r0, _, e1 := syscall.SyscallN(procFindResourceW.Addr(), uintptr(module), uintptr(name), uintptr(resType)) resInfo = Handle(r0) if resInfo == 0 { err = errnoErr(e1) @@ -2095,7 +2135,7 @@ func findResource(module Handle, name uintptr, resType uintptr) (resInfo Handle, } func FindVolumeClose(findVolume Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFindVolumeClose.Addr(), 1, uintptr(findVolume), 0, 0) + r1, _, e1 := syscall.SyscallN(procFindVolumeClose.Addr(), uintptr(findVolume)) if r1 == 0 { err = errnoErr(e1) } @@ -2103,7 +2143,15 @@ func FindVolumeClose(findVolume Handle) (err error) { } func FindVolumeMountPointClose(findVolumeMountPoint Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFindVolumeMountPointClose.Addr(), 1, uintptr(findVolumeMountPoint), 0, 0) + r1, _, e1 := syscall.SyscallN(procFindVolumeMountPointClose.Addr(), uintptr(findVolumeMountPoint)) + if r1 == 0 { + err = errnoErr(e1) + } + return +} + +func FlushConsoleInputBuffer(console Handle) (err error) { + r1, _, e1 := syscall.SyscallN(procFlushConsoleInputBuffer.Addr(), uintptr(console)) if r1 == 0 { err = errnoErr(e1) } @@ -2111,7 +2159,7 @@ func FindVolumeMountPointClose(findVolumeMountPoint Handle) (err error) { } func FlushFileBuffers(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFlushFileBuffers.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procFlushFileBuffers.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -2119,7 +2167,7 @@ func FlushFileBuffers(handle Handle) (err error) { } func FlushViewOfFile(addr uintptr, length uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procFlushViewOfFile.Addr(), 2, uintptr(addr), uintptr(length), 0) + r1, _, e1 := syscall.SyscallN(procFlushViewOfFile.Addr(), uintptr(addr), uintptr(length)) if r1 == 0 { err = errnoErr(e1) } @@ -2131,7 +2179,7 @@ func FormatMessage(flags uint32, msgsrc uintptr, msgid uint32, langid uint32, bu if len(buf) > 0 { _p0 = &buf[0] } - r0, _, e1 := syscall.Syscall9(procFormatMessageW.Addr(), 7, uintptr(flags), uintptr(msgsrc), uintptr(msgid), uintptr(langid), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(args)), 0, 0) + r0, _, e1 := syscall.SyscallN(procFormatMessageW.Addr(), uintptr(flags), uintptr(msgsrc), uintptr(msgid), uintptr(langid), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(args))) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2140,7 +2188,7 @@ func FormatMessage(flags uint32, msgsrc uintptr, msgid uint32, langid uint32, bu } func FreeEnvironmentStrings(envs *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procFreeEnvironmentStringsW.Addr(), 1, uintptr(unsafe.Pointer(envs)), 0, 0) + r1, _, e1 := syscall.SyscallN(procFreeEnvironmentStringsW.Addr(), uintptr(unsafe.Pointer(envs))) if r1 == 0 { err = errnoErr(e1) } @@ -2148,7 +2196,7 @@ func FreeEnvironmentStrings(envs *uint16) (err error) { } func FreeLibrary(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procFreeLibrary.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procFreeLibrary.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -2156,7 +2204,7 @@ func FreeLibrary(handle Handle) (err error) { } func GenerateConsoleCtrlEvent(ctrlEvent uint32, processGroupID uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGenerateConsoleCtrlEvent.Addr(), 2, uintptr(ctrlEvent), uintptr(processGroupID), 0) + r1, _, e1 := syscall.SyscallN(procGenerateConsoleCtrlEvent.Addr(), uintptr(ctrlEvent), uintptr(processGroupID)) if r1 == 0 { err = errnoErr(e1) } @@ -2164,19 +2212,19 @@ func GenerateConsoleCtrlEvent(ctrlEvent uint32, processGroupID uint32) (err erro } func GetACP() (acp uint32) { - r0, _, _ := syscall.Syscall(procGetACP.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetACP.Addr()) acp = uint32(r0) return } func GetActiveProcessorCount(groupNumber uint16) (ret uint32) { - r0, _, _ := syscall.Syscall(procGetActiveProcessorCount.Addr(), 1, uintptr(groupNumber), 0, 0) + r0, _, _ := syscall.SyscallN(procGetActiveProcessorCount.Addr(), uintptr(groupNumber)) ret = uint32(r0) return } func GetCommModemStatus(handle Handle, lpModemStat *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetCommModemStatus.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(lpModemStat)), 0) + r1, _, e1 := syscall.SyscallN(procGetCommModemStatus.Addr(), uintptr(handle), uintptr(unsafe.Pointer(lpModemStat))) if r1 == 0 { err = errnoErr(e1) } @@ -2184,7 +2232,7 @@ func GetCommModemStatus(handle Handle, lpModemStat *uint32) (err error) { } func GetCommState(handle Handle, lpDCB *DCB) (err error) { - r1, _, e1 := syscall.Syscall(procGetCommState.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(lpDCB)), 0) + r1, _, e1 := syscall.SyscallN(procGetCommState.Addr(), uintptr(handle), uintptr(unsafe.Pointer(lpDCB))) if r1 == 0 { err = errnoErr(e1) } @@ -2192,7 +2240,7 @@ func GetCommState(handle Handle, lpDCB *DCB) (err error) { } func GetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) { - r1, _, e1 := syscall.Syscall(procGetCommTimeouts.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(timeouts)), 0) + r1, _, e1 := syscall.SyscallN(procGetCommTimeouts.Addr(), uintptr(handle), uintptr(unsafe.Pointer(timeouts))) if r1 == 0 { err = errnoErr(e1) } @@ -2200,13 +2248,13 @@ func GetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) { } func GetCommandLine() (cmd *uint16) { - r0, _, _ := syscall.Syscall(procGetCommandLineW.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetCommandLineW.Addr()) cmd = (*uint16)(unsafe.Pointer(r0)) return } func GetComputerNameEx(nametype uint32, buf *uint16, n *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetComputerNameExW.Addr(), 3, uintptr(nametype), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(n))) + r1, _, e1 := syscall.SyscallN(procGetComputerNameExW.Addr(), uintptr(nametype), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(n))) if r1 == 0 { err = errnoErr(e1) } @@ -2214,7 +2262,7 @@ func GetComputerNameEx(nametype uint32, buf *uint16, n *uint32) (err error) { } func GetComputerName(buf *uint16, n *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetComputerNameW.Addr(), 2, uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(n)), 0) + r1, _, e1 := syscall.SyscallN(procGetComputerNameW.Addr(), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(n))) if r1 == 0 { err = errnoErr(e1) } @@ -2222,7 +2270,7 @@ func GetComputerName(buf *uint16, n *uint32) (err error) { } func GetConsoleCP() (cp uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetConsoleCP.Addr(), 0, 0, 0, 0) + r0, _, e1 := syscall.SyscallN(procGetConsoleCP.Addr()) cp = uint32(r0) if cp == 0 { err = errnoErr(e1) @@ -2231,7 +2279,7 @@ func GetConsoleCP() (cp uint32, err error) { } func GetConsoleMode(console Handle, mode *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetConsoleMode.Addr(), 2, uintptr(console), uintptr(unsafe.Pointer(mode)), 0) + r1, _, e1 := syscall.SyscallN(procGetConsoleMode.Addr(), uintptr(console), uintptr(unsafe.Pointer(mode))) if r1 == 0 { err = errnoErr(e1) } @@ -2239,7 +2287,7 @@ func GetConsoleMode(console Handle, mode *uint32) (err error) { } func GetConsoleOutputCP() (cp uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetConsoleOutputCP.Addr(), 0, 0, 0, 0) + r0, _, e1 := syscall.SyscallN(procGetConsoleOutputCP.Addr()) cp = uint32(r0) if cp == 0 { err = errnoErr(e1) @@ -2248,7 +2296,7 @@ func GetConsoleOutputCP() (cp uint32, err error) { } func GetConsoleScreenBufferInfo(console Handle, info *ConsoleScreenBufferInfo) (err error) { - r1, _, e1 := syscall.Syscall(procGetConsoleScreenBufferInfo.Addr(), 2, uintptr(console), uintptr(unsafe.Pointer(info)), 0) + r1, _, e1 := syscall.SyscallN(procGetConsoleScreenBufferInfo.Addr(), uintptr(console), uintptr(unsafe.Pointer(info))) if r1 == 0 { err = errnoErr(e1) } @@ -2256,7 +2304,7 @@ func GetConsoleScreenBufferInfo(console Handle, info *ConsoleScreenBufferInfo) ( } func GetCurrentDirectory(buflen uint32, buf *uint16) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetCurrentDirectoryW.Addr(), 2, uintptr(buflen), uintptr(unsafe.Pointer(buf)), 0) + r0, _, e1 := syscall.SyscallN(procGetCurrentDirectoryW.Addr(), uintptr(buflen), uintptr(unsafe.Pointer(buf))) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2265,19 +2313,19 @@ func GetCurrentDirectory(buflen uint32, buf *uint16) (n uint32, err error) { } func GetCurrentProcessId() (pid uint32) { - r0, _, _ := syscall.Syscall(procGetCurrentProcessId.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetCurrentProcessId.Addr()) pid = uint32(r0) return } func GetCurrentThreadId() (id uint32) { - r0, _, _ := syscall.Syscall(procGetCurrentThreadId.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetCurrentThreadId.Addr()) id = uint32(r0) return } func GetDiskFreeSpaceEx(directoryName *uint16, freeBytesAvailableToCaller *uint64, totalNumberOfBytes *uint64, totalNumberOfFreeBytes *uint64) (err error) { - r1, _, e1 := syscall.Syscall6(procGetDiskFreeSpaceExW.Addr(), 4, uintptr(unsafe.Pointer(directoryName)), uintptr(unsafe.Pointer(freeBytesAvailableToCaller)), uintptr(unsafe.Pointer(totalNumberOfBytes)), uintptr(unsafe.Pointer(totalNumberOfFreeBytes)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetDiskFreeSpaceExW.Addr(), uintptr(unsafe.Pointer(directoryName)), uintptr(unsafe.Pointer(freeBytesAvailableToCaller)), uintptr(unsafe.Pointer(totalNumberOfBytes)), uintptr(unsafe.Pointer(totalNumberOfFreeBytes))) if r1 == 0 { err = errnoErr(e1) } @@ -2285,13 +2333,13 @@ func GetDiskFreeSpaceEx(directoryName *uint16, freeBytesAvailableToCaller *uint6 } func GetDriveType(rootPathName *uint16) (driveType uint32) { - r0, _, _ := syscall.Syscall(procGetDriveTypeW.Addr(), 1, uintptr(unsafe.Pointer(rootPathName)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetDriveTypeW.Addr(), uintptr(unsafe.Pointer(rootPathName))) driveType = uint32(r0) return } func GetEnvironmentStrings() (envs *uint16, err error) { - r0, _, e1 := syscall.Syscall(procGetEnvironmentStringsW.Addr(), 0, 0, 0, 0) + r0, _, e1 := syscall.SyscallN(procGetEnvironmentStringsW.Addr()) envs = (*uint16)(unsafe.Pointer(r0)) if envs == nil { err = errnoErr(e1) @@ -2300,7 +2348,7 @@ func GetEnvironmentStrings() (envs *uint16, err error) { } func GetEnvironmentVariable(name *uint16, buffer *uint16, size uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetEnvironmentVariableW.Addr(), 3, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(buffer)), uintptr(size)) + r0, _, e1 := syscall.SyscallN(procGetEnvironmentVariableW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(buffer)), uintptr(size)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2309,7 +2357,7 @@ func GetEnvironmentVariable(name *uint16, buffer *uint16, size uint32) (n uint32 } func GetExitCodeProcess(handle Handle, exitcode *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetExitCodeProcess.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(exitcode)), 0) + r1, _, e1 := syscall.SyscallN(procGetExitCodeProcess.Addr(), uintptr(handle), uintptr(unsafe.Pointer(exitcode))) if r1 == 0 { err = errnoErr(e1) } @@ -2317,7 +2365,7 @@ func GetExitCodeProcess(handle Handle, exitcode *uint32) (err error) { } func GetFileAttributesEx(name *uint16, level uint32, info *byte) (err error) { - r1, _, e1 := syscall.Syscall(procGetFileAttributesExW.Addr(), 3, uintptr(unsafe.Pointer(name)), uintptr(level), uintptr(unsafe.Pointer(info))) + r1, _, e1 := syscall.SyscallN(procGetFileAttributesExW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(level), uintptr(unsafe.Pointer(info))) if r1 == 0 { err = errnoErr(e1) } @@ -2325,7 +2373,7 @@ func GetFileAttributesEx(name *uint16, level uint32, info *byte) (err error) { } func GetFileAttributes(name *uint16) (attrs uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetFileAttributesW.Addr(), 1, uintptr(unsafe.Pointer(name)), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetFileAttributesW.Addr(), uintptr(unsafe.Pointer(name))) attrs = uint32(r0) if attrs == INVALID_FILE_ATTRIBUTES { err = errnoErr(e1) @@ -2334,7 +2382,7 @@ func GetFileAttributes(name *uint16) (attrs uint32, err error) { } func GetFileInformationByHandle(handle Handle, data *ByHandleFileInformation) (err error) { - r1, _, e1 := syscall.Syscall(procGetFileInformationByHandle.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(data)), 0) + r1, _, e1 := syscall.SyscallN(procGetFileInformationByHandle.Addr(), uintptr(handle), uintptr(unsafe.Pointer(data))) if r1 == 0 { err = errnoErr(e1) } @@ -2342,7 +2390,7 @@ func GetFileInformationByHandle(handle Handle, data *ByHandleFileInformation) (e } func GetFileInformationByHandleEx(handle Handle, class uint32, outBuffer *byte, outBufferLen uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetFileInformationByHandleEx.Addr(), 4, uintptr(handle), uintptr(class), uintptr(unsafe.Pointer(outBuffer)), uintptr(outBufferLen), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetFileInformationByHandleEx.Addr(), uintptr(handle), uintptr(class), uintptr(unsafe.Pointer(outBuffer)), uintptr(outBufferLen)) if r1 == 0 { err = errnoErr(e1) } @@ -2350,7 +2398,7 @@ func GetFileInformationByHandleEx(handle Handle, class uint32, outBuffer *byte, } func GetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error) { - r1, _, e1 := syscall.Syscall6(procGetFileTime.Addr(), 4, uintptr(handle), uintptr(unsafe.Pointer(ctime)), uintptr(unsafe.Pointer(atime)), uintptr(unsafe.Pointer(wtime)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetFileTime.Addr(), uintptr(handle), uintptr(unsafe.Pointer(ctime)), uintptr(unsafe.Pointer(atime)), uintptr(unsafe.Pointer(wtime))) if r1 == 0 { err = errnoErr(e1) } @@ -2358,7 +2406,7 @@ func GetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetim } func GetFileType(filehandle Handle) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetFileType.Addr(), 1, uintptr(filehandle), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetFileType.Addr(), uintptr(filehandle)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2367,7 +2415,7 @@ func GetFileType(filehandle Handle) (n uint32, err error) { } func GetFinalPathNameByHandle(file Handle, filePath *uint16, filePathSize uint32, flags uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall6(procGetFinalPathNameByHandleW.Addr(), 4, uintptr(file), uintptr(unsafe.Pointer(filePath)), uintptr(filePathSize), uintptr(flags), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetFinalPathNameByHandleW.Addr(), uintptr(file), uintptr(unsafe.Pointer(filePath)), uintptr(filePathSize), uintptr(flags)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2376,7 +2424,7 @@ func GetFinalPathNameByHandle(file Handle, filePath *uint16, filePathSize uint32 } func GetFullPathName(path *uint16, buflen uint32, buf *uint16, fname **uint16) (n uint32, err error) { - r0, _, e1 := syscall.Syscall6(procGetFullPathNameW.Addr(), 4, uintptr(unsafe.Pointer(path)), uintptr(buflen), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(fname)), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetFullPathNameW.Addr(), uintptr(unsafe.Pointer(path)), uintptr(buflen), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(fname))) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2385,13 +2433,13 @@ func GetFullPathName(path *uint16, buflen uint32, buf *uint16, fname **uint16) ( } func GetLargePageMinimum() (size uintptr) { - r0, _, _ := syscall.Syscall(procGetLargePageMinimum.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetLargePageMinimum.Addr()) size = uintptr(r0) return } func GetLastError() (lasterr error) { - r0, _, _ := syscall.Syscall(procGetLastError.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetLastError.Addr()) if r0 != 0 { lasterr = syscall.Errno(r0) } @@ -2399,7 +2447,7 @@ func GetLastError() (lasterr error) { } func GetLogicalDriveStrings(bufferLength uint32, buffer *uint16) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetLogicalDriveStringsW.Addr(), 2, uintptr(bufferLength), uintptr(unsafe.Pointer(buffer)), 0) + r0, _, e1 := syscall.SyscallN(procGetLogicalDriveStringsW.Addr(), uintptr(bufferLength), uintptr(unsafe.Pointer(buffer))) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2408,7 +2456,7 @@ func GetLogicalDriveStrings(bufferLength uint32, buffer *uint16) (n uint32, err } func GetLogicalDrives() (drivesBitMask uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetLogicalDrives.Addr(), 0, 0, 0, 0) + r0, _, e1 := syscall.SyscallN(procGetLogicalDrives.Addr()) drivesBitMask = uint32(r0) if drivesBitMask == 0 { err = errnoErr(e1) @@ -2417,7 +2465,7 @@ func GetLogicalDrives() (drivesBitMask uint32, err error) { } func GetLongPathName(path *uint16, buf *uint16, buflen uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetLongPathNameW.Addr(), 3, uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(buf)), uintptr(buflen)) + r0, _, e1 := syscall.SyscallN(procGetLongPathNameW.Addr(), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(buf)), uintptr(buflen)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2426,13 +2474,13 @@ func GetLongPathName(path *uint16, buf *uint16, buflen uint32) (n uint32, err er } func GetMaximumProcessorCount(groupNumber uint16) (ret uint32) { - r0, _, _ := syscall.Syscall(procGetMaximumProcessorCount.Addr(), 1, uintptr(groupNumber), 0, 0) + r0, _, _ := syscall.SyscallN(procGetMaximumProcessorCount.Addr(), uintptr(groupNumber)) ret = uint32(r0) return } func GetModuleFileName(module Handle, filename *uint16, size uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetModuleFileNameW.Addr(), 3, uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size)) + r0, _, e1 := syscall.SyscallN(procGetModuleFileNameW.Addr(), uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2441,7 +2489,7 @@ func GetModuleFileName(module Handle, filename *uint16, size uint32) (n uint32, } func GetModuleHandleEx(flags uint32, moduleName *uint16, module *Handle) (err error) { - r1, _, e1 := syscall.Syscall(procGetModuleHandleExW.Addr(), 3, uintptr(flags), uintptr(unsafe.Pointer(moduleName)), uintptr(unsafe.Pointer(module))) + r1, _, e1 := syscall.SyscallN(procGetModuleHandleExW.Addr(), uintptr(flags), uintptr(unsafe.Pointer(moduleName)), uintptr(unsafe.Pointer(module))) if r1 == 0 { err = errnoErr(e1) } @@ -2449,7 +2497,7 @@ func GetModuleHandleEx(flags uint32, moduleName *uint16, module *Handle) (err er } func GetNamedPipeClientProcessId(pipe Handle, clientProcessID *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetNamedPipeClientProcessId.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(clientProcessID)), 0) + r1, _, e1 := syscall.SyscallN(procGetNamedPipeClientProcessId.Addr(), uintptr(pipe), uintptr(unsafe.Pointer(clientProcessID))) if r1 == 0 { err = errnoErr(e1) } @@ -2457,7 +2505,7 @@ func GetNamedPipeClientProcessId(pipe Handle, clientProcessID *uint32) (err erro } func GetNamedPipeHandleState(pipe Handle, state *uint32, curInstances *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32, userName *uint16, maxUserNameSize uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procGetNamedPipeHandleStateW.Addr(), 7, uintptr(pipe), uintptr(unsafe.Pointer(state)), uintptr(unsafe.Pointer(curInstances)), uintptr(unsafe.Pointer(maxCollectionCount)), uintptr(unsafe.Pointer(collectDataTimeout)), uintptr(unsafe.Pointer(userName)), uintptr(maxUserNameSize), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetNamedPipeHandleStateW.Addr(), uintptr(pipe), uintptr(unsafe.Pointer(state)), uintptr(unsafe.Pointer(curInstances)), uintptr(unsafe.Pointer(maxCollectionCount)), uintptr(unsafe.Pointer(collectDataTimeout)), uintptr(unsafe.Pointer(userName)), uintptr(maxUserNameSize)) if r1 == 0 { err = errnoErr(e1) } @@ -2465,7 +2513,7 @@ func GetNamedPipeHandleState(pipe Handle, state *uint32, curInstances *uint32, m } func GetNamedPipeInfo(pipe Handle, flags *uint32, outSize *uint32, inSize *uint32, maxInstances *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetNamedPipeInfo.Addr(), 5, uintptr(pipe), uintptr(unsafe.Pointer(flags)), uintptr(unsafe.Pointer(outSize)), uintptr(unsafe.Pointer(inSize)), uintptr(unsafe.Pointer(maxInstances)), 0) + r1, _, e1 := syscall.SyscallN(procGetNamedPipeInfo.Addr(), uintptr(pipe), uintptr(unsafe.Pointer(flags)), uintptr(unsafe.Pointer(outSize)), uintptr(unsafe.Pointer(inSize)), uintptr(unsafe.Pointer(maxInstances))) if r1 == 0 { err = errnoErr(e1) } @@ -2473,7 +2521,15 @@ func GetNamedPipeInfo(pipe Handle, flags *uint32, outSize *uint32, inSize *uint3 } func GetNamedPipeServerProcessId(pipe Handle, serverProcessID *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetNamedPipeServerProcessId.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(serverProcessID)), 0) + r1, _, e1 := syscall.SyscallN(procGetNamedPipeServerProcessId.Addr(), uintptr(pipe), uintptr(unsafe.Pointer(serverProcessID))) + if r1 == 0 { + err = errnoErr(e1) + } + return +} + +func GetNumberOfConsoleInputEvents(console Handle, numevents *uint32) (err error) { + r1, _, e1 := syscall.SyscallN(procGetNumberOfConsoleInputEvents.Addr(), uintptr(console), uintptr(unsafe.Pointer(numevents))) if r1 == 0 { err = errnoErr(e1) } @@ -2485,7 +2541,7 @@ func GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wa if wait { _p0 = 1 } - r1, _, e1 := syscall.Syscall6(procGetOverlappedResult.Addr(), 4, uintptr(handle), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(done)), uintptr(_p0), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetOverlappedResult.Addr(), uintptr(handle), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(done)), uintptr(_p0)) if r1 == 0 { err = errnoErr(e1) } @@ -2493,7 +2549,7 @@ func GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wa } func GetPriorityClass(process Handle) (ret uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetPriorityClass.Addr(), 1, uintptr(process), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetPriorityClass.Addr(), uintptr(process)) ret = uint32(r0) if ret == 0 { err = errnoErr(e1) @@ -2511,7 +2567,7 @@ func GetProcAddress(module Handle, procname string) (proc uintptr, err error) { } func _GetProcAddress(module Handle, procname *byte) (proc uintptr, err error) { - r0, _, e1 := syscall.Syscall(procGetProcAddress.Addr(), 2, uintptr(module), uintptr(unsafe.Pointer(procname)), 0) + r0, _, e1 := syscall.SyscallN(procGetProcAddress.Addr(), uintptr(module), uintptr(unsafe.Pointer(procname))) proc = uintptr(r0) if proc == 0 { err = errnoErr(e1) @@ -2520,7 +2576,7 @@ func _GetProcAddress(module Handle, procname *byte) (proc uintptr, err error) { } func GetProcessId(process Handle) (id uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetProcessId.Addr(), 1, uintptr(process), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetProcessId.Addr(), uintptr(process)) id = uint32(r0) if id == 0 { err = errnoErr(e1) @@ -2529,7 +2585,7 @@ func GetProcessId(process Handle) (id uint32, err error) { } func getProcessPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint16, bufSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetProcessPreferredUILanguages.Addr(), 4, uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetProcessPreferredUILanguages.Addr(), uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize))) if r1 == 0 { err = errnoErr(e1) } @@ -2537,7 +2593,7 @@ func getProcessPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uin } func GetProcessShutdownParameters(level *uint32, flags *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetProcessShutdownParameters.Addr(), 2, uintptr(unsafe.Pointer(level)), uintptr(unsafe.Pointer(flags)), 0) + r1, _, e1 := syscall.SyscallN(procGetProcessShutdownParameters.Addr(), uintptr(unsafe.Pointer(level)), uintptr(unsafe.Pointer(flags))) if r1 == 0 { err = errnoErr(e1) } @@ -2545,7 +2601,7 @@ func GetProcessShutdownParameters(level *uint32, flags *uint32) (err error) { } func GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, kernelTime *Filetime, userTime *Filetime) (err error) { - r1, _, e1 := syscall.Syscall6(procGetProcessTimes.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(creationTime)), uintptr(unsafe.Pointer(exitTime)), uintptr(unsafe.Pointer(kernelTime)), uintptr(unsafe.Pointer(userTime)), 0) + r1, _, e1 := syscall.SyscallN(procGetProcessTimes.Addr(), uintptr(handle), uintptr(unsafe.Pointer(creationTime)), uintptr(unsafe.Pointer(exitTime)), uintptr(unsafe.Pointer(kernelTime)), uintptr(unsafe.Pointer(userTime))) if r1 == 0 { err = errnoErr(e1) } @@ -2553,12 +2609,12 @@ func GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, } func GetProcessWorkingSetSizeEx(hProcess Handle, lpMinimumWorkingSetSize *uintptr, lpMaximumWorkingSetSize *uintptr, flags *uint32) { - syscall.Syscall6(procGetProcessWorkingSetSizeEx.Addr(), 4, uintptr(hProcess), uintptr(unsafe.Pointer(lpMinimumWorkingSetSize)), uintptr(unsafe.Pointer(lpMaximumWorkingSetSize)), uintptr(unsafe.Pointer(flags)), 0, 0) + syscall.SyscallN(procGetProcessWorkingSetSizeEx.Addr(), uintptr(hProcess), uintptr(unsafe.Pointer(lpMinimumWorkingSetSize)), uintptr(unsafe.Pointer(lpMaximumWorkingSetSize)), uintptr(unsafe.Pointer(flags))) return } func GetQueuedCompletionStatus(cphandle Handle, qty *uint32, key *uintptr, overlapped **Overlapped, timeout uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetQueuedCompletionStatus.Addr(), 5, uintptr(cphandle), uintptr(unsafe.Pointer(qty)), uintptr(unsafe.Pointer(key)), uintptr(unsafe.Pointer(overlapped)), uintptr(timeout), 0) + r1, _, e1 := syscall.SyscallN(procGetQueuedCompletionStatus.Addr(), uintptr(cphandle), uintptr(unsafe.Pointer(qty)), uintptr(unsafe.Pointer(key)), uintptr(unsafe.Pointer(overlapped)), uintptr(timeout)) if r1 == 0 { err = errnoErr(e1) } @@ -2566,7 +2622,7 @@ func GetQueuedCompletionStatus(cphandle Handle, qty *uint32, key *uintptr, overl } func GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetShortPathNameW.Addr(), 3, uintptr(unsafe.Pointer(longpath)), uintptr(unsafe.Pointer(shortpath)), uintptr(buflen)) + r0, _, e1 := syscall.SyscallN(procGetShortPathNameW.Addr(), uintptr(unsafe.Pointer(longpath)), uintptr(unsafe.Pointer(shortpath)), uintptr(buflen)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2575,12 +2631,12 @@ func GetShortPathName(longpath *uint16, shortpath *uint16, buflen uint32) (n uin } func getStartupInfo(startupInfo *StartupInfo) { - syscall.Syscall(procGetStartupInfoW.Addr(), 1, uintptr(unsafe.Pointer(startupInfo)), 0, 0) + syscall.SyscallN(procGetStartupInfoW.Addr(), uintptr(unsafe.Pointer(startupInfo))) return } func GetStdHandle(stdhandle uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procGetStdHandle.Addr(), 1, uintptr(stdhandle), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetStdHandle.Addr(), uintptr(stdhandle)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -2589,7 +2645,7 @@ func GetStdHandle(stdhandle uint32) (handle Handle, err error) { } func getSystemDirectory(dir *uint16, dirLen uint32) (len uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetSystemDirectoryW.Addr(), 2, uintptr(unsafe.Pointer(dir)), uintptr(dirLen), 0) + r0, _, e1 := syscall.SyscallN(procGetSystemDirectoryW.Addr(), uintptr(unsafe.Pointer(dir)), uintptr(dirLen)) len = uint32(r0) if len == 0 { err = errnoErr(e1) @@ -2598,7 +2654,7 @@ func getSystemDirectory(dir *uint16, dirLen uint32) (len uint32, err error) { } func getSystemPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint16, bufSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetSystemPreferredUILanguages.Addr(), 4, uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetSystemPreferredUILanguages.Addr(), uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize))) if r1 == 0 { err = errnoErr(e1) } @@ -2606,17 +2662,17 @@ func getSystemPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint } func GetSystemTimeAsFileTime(time *Filetime) { - syscall.Syscall(procGetSystemTimeAsFileTime.Addr(), 1, uintptr(unsafe.Pointer(time)), 0, 0) + syscall.SyscallN(procGetSystemTimeAsFileTime.Addr(), uintptr(unsafe.Pointer(time))) return } func GetSystemTimePreciseAsFileTime(time *Filetime) { - syscall.Syscall(procGetSystemTimePreciseAsFileTime.Addr(), 1, uintptr(unsafe.Pointer(time)), 0, 0) + syscall.SyscallN(procGetSystemTimePreciseAsFileTime.Addr(), uintptr(unsafe.Pointer(time))) return } func getSystemWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetSystemWindowsDirectoryW.Addr(), 2, uintptr(unsafe.Pointer(dir)), uintptr(dirLen), 0) + r0, _, e1 := syscall.SyscallN(procGetSystemWindowsDirectoryW.Addr(), uintptr(unsafe.Pointer(dir)), uintptr(dirLen)) len = uint32(r0) if len == 0 { err = errnoErr(e1) @@ -2625,7 +2681,7 @@ func getSystemWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err erro } func GetTempPath(buflen uint32, buf *uint16) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetTempPathW.Addr(), 2, uintptr(buflen), uintptr(unsafe.Pointer(buf)), 0) + r0, _, e1 := syscall.SyscallN(procGetTempPathW.Addr(), uintptr(buflen), uintptr(unsafe.Pointer(buf))) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2634,7 +2690,7 @@ func GetTempPath(buflen uint32, buf *uint16) (n uint32, err error) { } func getThreadPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint16, bufSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetThreadPreferredUILanguages.Addr(), 4, uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetThreadPreferredUILanguages.Addr(), uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize))) if r1 == 0 { err = errnoErr(e1) } @@ -2642,13 +2698,13 @@ func getThreadPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint } func getTickCount64() (ms uint64) { - r0, _, _ := syscall.Syscall(procGetTickCount64.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetTickCount64.Addr()) ms = uint64(r0) return } func GetTimeZoneInformation(tzi *Timezoneinformation) (rc uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetTimeZoneInformation.Addr(), 1, uintptr(unsafe.Pointer(tzi)), 0, 0) + r0, _, e1 := syscall.SyscallN(procGetTimeZoneInformation.Addr(), uintptr(unsafe.Pointer(tzi))) rc = uint32(r0) if rc == 0xffffffff { err = errnoErr(e1) @@ -2657,7 +2713,7 @@ func GetTimeZoneInformation(tzi *Timezoneinformation) (rc uint32, err error) { } func getUserPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint16, bufSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetUserPreferredUILanguages.Addr(), 4, uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetUserPreferredUILanguages.Addr(), uintptr(flags), uintptr(unsafe.Pointer(numLanguages)), uintptr(unsafe.Pointer(buf)), uintptr(unsafe.Pointer(bufSize))) if r1 == 0 { err = errnoErr(e1) } @@ -2665,7 +2721,7 @@ func getUserPreferredUILanguages(flags uint32, numLanguages *uint32, buf *uint16 } func GetVersion() (ver uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetVersion.Addr(), 0, 0, 0, 0) + r0, _, e1 := syscall.SyscallN(procGetVersion.Addr()) ver = uint32(r0) if ver == 0 { err = errnoErr(e1) @@ -2674,7 +2730,7 @@ func GetVersion() (ver uint32, err error) { } func GetVolumeInformationByHandle(file Handle, volumeNameBuffer *uint16, volumeNameSize uint32, volumeNameSerialNumber *uint32, maximumComponentLength *uint32, fileSystemFlags *uint32, fileSystemNameBuffer *uint16, fileSystemNameSize uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procGetVolumeInformationByHandleW.Addr(), 8, uintptr(file), uintptr(unsafe.Pointer(volumeNameBuffer)), uintptr(volumeNameSize), uintptr(unsafe.Pointer(volumeNameSerialNumber)), uintptr(unsafe.Pointer(maximumComponentLength)), uintptr(unsafe.Pointer(fileSystemFlags)), uintptr(unsafe.Pointer(fileSystemNameBuffer)), uintptr(fileSystemNameSize), 0) + r1, _, e1 := syscall.SyscallN(procGetVolumeInformationByHandleW.Addr(), uintptr(file), uintptr(unsafe.Pointer(volumeNameBuffer)), uintptr(volumeNameSize), uintptr(unsafe.Pointer(volumeNameSerialNumber)), uintptr(unsafe.Pointer(maximumComponentLength)), uintptr(unsafe.Pointer(fileSystemFlags)), uintptr(unsafe.Pointer(fileSystemNameBuffer)), uintptr(fileSystemNameSize)) if r1 == 0 { err = errnoErr(e1) } @@ -2682,7 +2738,7 @@ func GetVolumeInformationByHandle(file Handle, volumeNameBuffer *uint16, volumeN } func GetVolumeInformation(rootPathName *uint16, volumeNameBuffer *uint16, volumeNameSize uint32, volumeNameSerialNumber *uint32, maximumComponentLength *uint32, fileSystemFlags *uint32, fileSystemNameBuffer *uint16, fileSystemNameSize uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procGetVolumeInformationW.Addr(), 8, uintptr(unsafe.Pointer(rootPathName)), uintptr(unsafe.Pointer(volumeNameBuffer)), uintptr(volumeNameSize), uintptr(unsafe.Pointer(volumeNameSerialNumber)), uintptr(unsafe.Pointer(maximumComponentLength)), uintptr(unsafe.Pointer(fileSystemFlags)), uintptr(unsafe.Pointer(fileSystemNameBuffer)), uintptr(fileSystemNameSize), 0) + r1, _, e1 := syscall.SyscallN(procGetVolumeInformationW.Addr(), uintptr(unsafe.Pointer(rootPathName)), uintptr(unsafe.Pointer(volumeNameBuffer)), uintptr(volumeNameSize), uintptr(unsafe.Pointer(volumeNameSerialNumber)), uintptr(unsafe.Pointer(maximumComponentLength)), uintptr(unsafe.Pointer(fileSystemFlags)), uintptr(unsafe.Pointer(fileSystemNameBuffer)), uintptr(fileSystemNameSize)) if r1 == 0 { err = errnoErr(e1) } @@ -2690,7 +2746,7 @@ func GetVolumeInformation(rootPathName *uint16, volumeNameBuffer *uint16, volume } func GetVolumeNameForVolumeMountPoint(volumeMountPoint *uint16, volumeName *uint16, bufferlength uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetVolumeNameForVolumeMountPointW.Addr(), 3, uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(unsafe.Pointer(volumeName)), uintptr(bufferlength)) + r1, _, e1 := syscall.SyscallN(procGetVolumeNameForVolumeMountPointW.Addr(), uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(unsafe.Pointer(volumeName)), uintptr(bufferlength)) if r1 == 0 { err = errnoErr(e1) } @@ -2698,7 +2754,7 @@ func GetVolumeNameForVolumeMountPoint(volumeMountPoint *uint16, volumeName *uint } func GetVolumePathName(fileName *uint16, volumePathName *uint16, bufferLength uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetVolumePathNameW.Addr(), 3, uintptr(unsafe.Pointer(fileName)), uintptr(unsafe.Pointer(volumePathName)), uintptr(bufferLength)) + r1, _, e1 := syscall.SyscallN(procGetVolumePathNameW.Addr(), uintptr(unsafe.Pointer(fileName)), uintptr(unsafe.Pointer(volumePathName)), uintptr(bufferLength)) if r1 == 0 { err = errnoErr(e1) } @@ -2706,7 +2762,7 @@ func GetVolumePathName(fileName *uint16, volumePathName *uint16, bufferLength ui } func GetVolumePathNamesForVolumeName(volumeName *uint16, volumePathNames *uint16, bufferLength uint32, returnLength *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetVolumePathNamesForVolumeNameW.Addr(), 4, uintptr(unsafe.Pointer(volumeName)), uintptr(unsafe.Pointer(volumePathNames)), uintptr(bufferLength), uintptr(unsafe.Pointer(returnLength)), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetVolumePathNamesForVolumeNameW.Addr(), uintptr(unsafe.Pointer(volumeName)), uintptr(unsafe.Pointer(volumePathNames)), uintptr(bufferLength), uintptr(unsafe.Pointer(returnLength))) if r1 == 0 { err = errnoErr(e1) } @@ -2714,7 +2770,7 @@ func GetVolumePathNamesForVolumeName(volumeName *uint16, volumePathNames *uint16 } func getWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetWindowsDirectoryW.Addr(), 2, uintptr(unsafe.Pointer(dir)), uintptr(dirLen), 0) + r0, _, e1 := syscall.SyscallN(procGetWindowsDirectoryW.Addr(), uintptr(unsafe.Pointer(dir)), uintptr(dirLen)) len = uint32(r0) if len == 0 { err = errnoErr(e1) @@ -2723,7 +2779,7 @@ func getWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) { } func initializeProcThreadAttributeList(attrlist *ProcThreadAttributeList, attrcount uint32, flags uint32, size *uintptr) (err error) { - r1, _, e1 := syscall.Syscall6(procInitializeProcThreadAttributeList.Addr(), 4, uintptr(unsafe.Pointer(attrlist)), uintptr(attrcount), uintptr(flags), uintptr(unsafe.Pointer(size)), 0, 0) + r1, _, e1 := syscall.SyscallN(procInitializeProcThreadAttributeList.Addr(), uintptr(unsafe.Pointer(attrlist)), uintptr(attrcount), uintptr(flags), uintptr(unsafe.Pointer(size))) if r1 == 0 { err = errnoErr(e1) } @@ -2735,7 +2791,7 @@ func IsWow64Process(handle Handle, isWow64 *bool) (err error) { if *isWow64 { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procIsWow64Process.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(&_p0)), 0) + r1, _, e1 := syscall.SyscallN(procIsWow64Process.Addr(), uintptr(handle), uintptr(unsafe.Pointer(&_p0))) *isWow64 = _p0 != 0 if r1 == 0 { err = errnoErr(e1) @@ -2748,7 +2804,7 @@ func IsWow64Process2(handle Handle, processMachine *uint16, nativeMachine *uint1 if err != nil { return } - r1, _, e1 := syscall.Syscall(procIsWow64Process2.Addr(), 3, uintptr(handle), uintptr(unsafe.Pointer(processMachine)), uintptr(unsafe.Pointer(nativeMachine))) + r1, _, e1 := syscall.SyscallN(procIsWow64Process2.Addr(), uintptr(handle), uintptr(unsafe.Pointer(processMachine)), uintptr(unsafe.Pointer(nativeMachine))) if r1 == 0 { err = errnoErr(e1) } @@ -2765,7 +2821,7 @@ func LoadLibraryEx(libname string, zero Handle, flags uintptr) (handle Handle, e } func _LoadLibraryEx(libname *uint16, zero Handle, flags uintptr) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procLoadLibraryExW.Addr(), 3, uintptr(unsafe.Pointer(libname)), uintptr(zero), uintptr(flags)) + r0, _, e1 := syscall.SyscallN(procLoadLibraryExW.Addr(), uintptr(unsafe.Pointer(libname)), uintptr(zero), uintptr(flags)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -2783,7 +2839,7 @@ func LoadLibrary(libname string) (handle Handle, err error) { } func _LoadLibrary(libname *uint16) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procLoadLibraryW.Addr(), 1, uintptr(unsafe.Pointer(libname)), 0, 0) + r0, _, e1 := syscall.SyscallN(procLoadLibraryW.Addr(), uintptr(unsafe.Pointer(libname))) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -2792,7 +2848,7 @@ func _LoadLibrary(libname *uint16) (handle Handle, err error) { } func LoadResource(module Handle, resInfo Handle) (resData Handle, err error) { - r0, _, e1 := syscall.Syscall(procLoadResource.Addr(), 2, uintptr(module), uintptr(resInfo), 0) + r0, _, e1 := syscall.SyscallN(procLoadResource.Addr(), uintptr(module), uintptr(resInfo)) resData = Handle(r0) if resData == 0 { err = errnoErr(e1) @@ -2801,7 +2857,7 @@ func LoadResource(module Handle, resInfo Handle) (resData Handle, err error) { } func LocalAlloc(flags uint32, length uint32) (ptr uintptr, err error) { - r0, _, e1 := syscall.Syscall(procLocalAlloc.Addr(), 2, uintptr(flags), uintptr(length), 0) + r0, _, e1 := syscall.SyscallN(procLocalAlloc.Addr(), uintptr(flags), uintptr(length)) ptr = uintptr(r0) if ptr == 0 { err = errnoErr(e1) @@ -2810,7 +2866,7 @@ func LocalAlloc(flags uint32, length uint32) (ptr uintptr, err error) { } func LocalFree(hmem Handle) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procLocalFree.Addr(), 1, uintptr(hmem), 0, 0) + r0, _, e1 := syscall.SyscallN(procLocalFree.Addr(), uintptr(hmem)) handle = Handle(r0) if handle != 0 { err = errnoErr(e1) @@ -2819,7 +2875,7 @@ func LocalFree(hmem Handle) (handle Handle, err error) { } func LockFileEx(file Handle, flags uint32, reserved uint32, bytesLow uint32, bytesHigh uint32, overlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall6(procLockFileEx.Addr(), 6, uintptr(file), uintptr(flags), uintptr(reserved), uintptr(bytesLow), uintptr(bytesHigh), uintptr(unsafe.Pointer(overlapped))) + r1, _, e1 := syscall.SyscallN(procLockFileEx.Addr(), uintptr(file), uintptr(flags), uintptr(reserved), uintptr(bytesLow), uintptr(bytesHigh), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -2827,7 +2883,7 @@ func LockFileEx(file Handle, flags uint32, reserved uint32, bytesLow uint32, byt } func LockResource(resData Handle) (addr uintptr, err error) { - r0, _, e1 := syscall.Syscall(procLockResource.Addr(), 1, uintptr(resData), 0, 0) + r0, _, e1 := syscall.SyscallN(procLockResource.Addr(), uintptr(resData)) addr = uintptr(r0) if addr == 0 { err = errnoErr(e1) @@ -2836,7 +2892,7 @@ func LockResource(resData Handle) (addr uintptr, err error) { } func MapViewOfFile(handle Handle, access uint32, offsetHigh uint32, offsetLow uint32, length uintptr) (addr uintptr, err error) { - r0, _, e1 := syscall.Syscall6(procMapViewOfFile.Addr(), 5, uintptr(handle), uintptr(access), uintptr(offsetHigh), uintptr(offsetLow), uintptr(length), 0) + r0, _, e1 := syscall.SyscallN(procMapViewOfFile.Addr(), uintptr(handle), uintptr(access), uintptr(offsetHigh), uintptr(offsetLow), uintptr(length)) addr = uintptr(r0) if addr == 0 { err = errnoErr(e1) @@ -2845,7 +2901,7 @@ func MapViewOfFile(handle Handle, access uint32, offsetHigh uint32, offsetLow ui } func Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) { - r1, _, e1 := syscall.Syscall(procModule32FirstW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry)), 0) + r1, _, e1 := syscall.SyscallN(procModule32FirstW.Addr(), uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry))) if r1 == 0 { err = errnoErr(e1) } @@ -2853,7 +2909,7 @@ func Module32First(snapshot Handle, moduleEntry *ModuleEntry32) (err error) { } func Module32Next(snapshot Handle, moduleEntry *ModuleEntry32) (err error) { - r1, _, e1 := syscall.Syscall(procModule32NextW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry)), 0) + r1, _, e1 := syscall.SyscallN(procModule32NextW.Addr(), uintptr(snapshot), uintptr(unsafe.Pointer(moduleEntry))) if r1 == 0 { err = errnoErr(e1) } @@ -2861,7 +2917,7 @@ func Module32Next(snapshot Handle, moduleEntry *ModuleEntry32) (err error) { } func MoveFileEx(from *uint16, to *uint16, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(flags)) + r1, _, e1 := syscall.SyscallN(procMoveFileExW.Addr(), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -2869,7 +2925,7 @@ func MoveFileEx(from *uint16, to *uint16, flags uint32) (err error) { } func MoveFile(from *uint16, to *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procMoveFileW.Addr(), 2, uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), 0) + r1, _, e1 := syscall.SyscallN(procMoveFileW.Addr(), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to))) if r1 == 0 { err = errnoErr(e1) } @@ -2877,7 +2933,7 @@ func MoveFile(from *uint16, to *uint16) (err error) { } func MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) { - r0, _, e1 := syscall.Syscall6(procMultiByteToWideChar.Addr(), 6, uintptr(codePage), uintptr(dwFlags), uintptr(unsafe.Pointer(str)), uintptr(nstr), uintptr(unsafe.Pointer(wchar)), uintptr(nwchar)) + r0, _, e1 := syscall.SyscallN(procMultiByteToWideChar.Addr(), uintptr(codePage), uintptr(dwFlags), uintptr(unsafe.Pointer(str)), uintptr(nstr), uintptr(unsafe.Pointer(wchar)), uintptr(nwchar)) nwrite = int32(r0) if nwrite == 0 { err = errnoErr(e1) @@ -2890,7 +2946,7 @@ func OpenEvent(desiredAccess uint32, inheritHandle bool, name *uint16) (handle H if inheritHandle { _p0 = 1 } - r0, _, e1 := syscall.Syscall(procOpenEventW.Addr(), 3, uintptr(desiredAccess), uintptr(_p0), uintptr(unsafe.Pointer(name))) + r0, _, e1 := syscall.SyscallN(procOpenEventW.Addr(), uintptr(desiredAccess), uintptr(_p0), uintptr(unsafe.Pointer(name))) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -2903,7 +2959,7 @@ func OpenMutex(desiredAccess uint32, inheritHandle bool, name *uint16) (handle H if inheritHandle { _p0 = 1 } - r0, _, e1 := syscall.Syscall(procOpenMutexW.Addr(), 3, uintptr(desiredAccess), uintptr(_p0), uintptr(unsafe.Pointer(name))) + r0, _, e1 := syscall.SyscallN(procOpenMutexW.Addr(), uintptr(desiredAccess), uintptr(_p0), uintptr(unsafe.Pointer(name))) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -2916,7 +2972,7 @@ func OpenProcess(desiredAccess uint32, inheritHandle bool, processId uint32) (ha if inheritHandle { _p0 = 1 } - r0, _, e1 := syscall.Syscall(procOpenProcess.Addr(), 3, uintptr(desiredAccess), uintptr(_p0), uintptr(processId)) + r0, _, e1 := syscall.SyscallN(procOpenProcess.Addr(), uintptr(desiredAccess), uintptr(_p0), uintptr(processId)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -2929,7 +2985,7 @@ func OpenThread(desiredAccess uint32, inheritHandle bool, threadId uint32) (hand if inheritHandle { _p0 = 1 } - r0, _, e1 := syscall.Syscall(procOpenThread.Addr(), 3, uintptr(desiredAccess), uintptr(_p0), uintptr(threadId)) + r0, _, e1 := syscall.SyscallN(procOpenThread.Addr(), uintptr(desiredAccess), uintptr(_p0), uintptr(threadId)) handle = Handle(r0) if handle == 0 { err = errnoErr(e1) @@ -2938,7 +2994,7 @@ func OpenThread(desiredAccess uint32, inheritHandle bool, threadId uint32) (hand } func PostQueuedCompletionStatus(cphandle Handle, qty uint32, key uintptr, overlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall6(procPostQueuedCompletionStatus.Addr(), 4, uintptr(cphandle), uintptr(qty), uintptr(key), uintptr(unsafe.Pointer(overlapped)), 0, 0) + r1, _, e1 := syscall.SyscallN(procPostQueuedCompletionStatus.Addr(), uintptr(cphandle), uintptr(qty), uintptr(key), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -2946,7 +3002,7 @@ func PostQueuedCompletionStatus(cphandle Handle, qty uint32, key uintptr, overla } func Process32First(snapshot Handle, procEntry *ProcessEntry32) (err error) { - r1, _, e1 := syscall.Syscall(procProcess32FirstW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(procEntry)), 0) + r1, _, e1 := syscall.SyscallN(procProcess32FirstW.Addr(), uintptr(snapshot), uintptr(unsafe.Pointer(procEntry))) if r1 == 0 { err = errnoErr(e1) } @@ -2954,7 +3010,7 @@ func Process32First(snapshot Handle, procEntry *ProcessEntry32) (err error) { } func Process32Next(snapshot Handle, procEntry *ProcessEntry32) (err error) { - r1, _, e1 := syscall.Syscall(procProcess32NextW.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(procEntry)), 0) + r1, _, e1 := syscall.SyscallN(procProcess32NextW.Addr(), uintptr(snapshot), uintptr(unsafe.Pointer(procEntry))) if r1 == 0 { err = errnoErr(e1) } @@ -2962,7 +3018,7 @@ func Process32Next(snapshot Handle, procEntry *ProcessEntry32) (err error) { } func ProcessIdToSessionId(pid uint32, sessionid *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procProcessIdToSessionId.Addr(), 2, uintptr(pid), uintptr(unsafe.Pointer(sessionid)), 0) + r1, _, e1 := syscall.SyscallN(procProcessIdToSessionId.Addr(), uintptr(pid), uintptr(unsafe.Pointer(sessionid))) if r1 == 0 { err = errnoErr(e1) } @@ -2970,7 +3026,7 @@ func ProcessIdToSessionId(pid uint32, sessionid *uint32) (err error) { } func PulseEvent(event Handle) (err error) { - r1, _, e1 := syscall.Syscall(procPulseEvent.Addr(), 1, uintptr(event), 0, 0) + r1, _, e1 := syscall.SyscallN(procPulseEvent.Addr(), uintptr(event)) if r1 == 0 { err = errnoErr(e1) } @@ -2978,7 +3034,7 @@ func PulseEvent(event Handle) (err error) { } func PurgeComm(handle Handle, dwFlags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procPurgeComm.Addr(), 2, uintptr(handle), uintptr(dwFlags), 0) + r1, _, e1 := syscall.SyscallN(procPurgeComm.Addr(), uintptr(handle), uintptr(dwFlags)) if r1 == 0 { err = errnoErr(e1) } @@ -2986,7 +3042,7 @@ func PurgeComm(handle Handle, dwFlags uint32) (err error) { } func QueryDosDevice(deviceName *uint16, targetPath *uint16, max uint32) (n uint32, err error) { - r0, _, e1 := syscall.Syscall(procQueryDosDeviceW.Addr(), 3, uintptr(unsafe.Pointer(deviceName)), uintptr(unsafe.Pointer(targetPath)), uintptr(max)) + r0, _, e1 := syscall.SyscallN(procQueryDosDeviceW.Addr(), uintptr(unsafe.Pointer(deviceName)), uintptr(unsafe.Pointer(targetPath)), uintptr(max)) n = uint32(r0) if n == 0 { err = errnoErr(e1) @@ -2995,7 +3051,7 @@ func QueryDosDevice(deviceName *uint16, targetPath *uint16, max uint32) (n uint3 } func QueryFullProcessImageName(proc Handle, flags uint32, exeName *uint16, size *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procQueryFullProcessImageNameW.Addr(), 4, uintptr(proc), uintptr(flags), uintptr(unsafe.Pointer(exeName)), uintptr(unsafe.Pointer(size)), 0, 0) + r1, _, e1 := syscall.SyscallN(procQueryFullProcessImageNameW.Addr(), uintptr(proc), uintptr(flags), uintptr(unsafe.Pointer(exeName)), uintptr(unsafe.Pointer(size))) if r1 == 0 { err = errnoErr(e1) } @@ -3003,7 +3059,7 @@ func QueryFullProcessImageName(proc Handle, flags uint32, exeName *uint16, size } func QueryInformationJobObject(job Handle, JobObjectInformationClass int32, JobObjectInformation uintptr, JobObjectInformationLength uint32, retlen *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procQueryInformationJobObject.Addr(), 5, uintptr(job), uintptr(JobObjectInformationClass), uintptr(JobObjectInformation), uintptr(JobObjectInformationLength), uintptr(unsafe.Pointer(retlen)), 0) + r1, _, e1 := syscall.SyscallN(procQueryInformationJobObject.Addr(), uintptr(job), uintptr(JobObjectInformationClass), uintptr(JobObjectInformation), uintptr(JobObjectInformationLength), uintptr(unsafe.Pointer(retlen))) if r1 == 0 { err = errnoErr(e1) } @@ -3011,7 +3067,7 @@ func QueryInformationJobObject(job Handle, JobObjectInformationClass int32, JobO } func ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) { - r1, _, e1 := syscall.Syscall6(procReadConsoleW.Addr(), 5, uintptr(console), uintptr(unsafe.Pointer(buf)), uintptr(toread), uintptr(unsafe.Pointer(read)), uintptr(unsafe.Pointer(inputControl)), 0) + r1, _, e1 := syscall.SyscallN(procReadConsoleW.Addr(), uintptr(console), uintptr(unsafe.Pointer(buf)), uintptr(toread), uintptr(unsafe.Pointer(read)), uintptr(unsafe.Pointer(inputControl))) if r1 == 0 { err = errnoErr(e1) } @@ -3023,7 +3079,7 @@ func ReadDirectoryChanges(handle Handle, buf *byte, buflen uint32, watchSubTree if watchSubTree { _p0 = 1 } - r1, _, e1 := syscall.Syscall9(procReadDirectoryChangesW.Addr(), 8, uintptr(handle), uintptr(unsafe.Pointer(buf)), uintptr(buflen), uintptr(_p0), uintptr(mask), uintptr(unsafe.Pointer(retlen)), uintptr(unsafe.Pointer(overlapped)), uintptr(completionRoutine), 0) + r1, _, e1 := syscall.SyscallN(procReadDirectoryChangesW.Addr(), uintptr(handle), uintptr(unsafe.Pointer(buf)), uintptr(buflen), uintptr(_p0), uintptr(mask), uintptr(unsafe.Pointer(retlen)), uintptr(unsafe.Pointer(overlapped)), uintptr(completionRoutine)) if r1 == 0 { err = errnoErr(e1) } @@ -3035,7 +3091,7 @@ func readFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) ( if len(buf) > 0 { _p0 = &buf[0] } - r1, _, e1 := syscall.Syscall6(procReadFile.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(done)), uintptr(unsafe.Pointer(overlapped)), 0) + r1, _, e1 := syscall.SyscallN(procReadFile.Addr(), uintptr(handle), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(done)), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -3043,7 +3099,7 @@ func readFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) ( } func ReadProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size uintptr, numberOfBytesRead *uintptr) (err error) { - r1, _, e1 := syscall.Syscall6(procReadProcessMemory.Addr(), 5, uintptr(process), uintptr(baseAddress), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(numberOfBytesRead)), 0) + r1, _, e1 := syscall.SyscallN(procReadProcessMemory.Addr(), uintptr(process), uintptr(baseAddress), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(numberOfBytesRead))) if r1 == 0 { err = errnoErr(e1) } @@ -3051,7 +3107,7 @@ func ReadProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size u } func ReleaseMutex(mutex Handle) (err error) { - r1, _, e1 := syscall.Syscall(procReleaseMutex.Addr(), 1, uintptr(mutex), 0, 0) + r1, _, e1 := syscall.SyscallN(procReleaseMutex.Addr(), uintptr(mutex)) if r1 == 0 { err = errnoErr(e1) } @@ -3059,7 +3115,7 @@ func ReleaseMutex(mutex Handle) (err error) { } func RemoveDirectory(path *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procRemoveDirectoryW.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0) + r1, _, e1 := syscall.SyscallN(procRemoveDirectoryW.Addr(), uintptr(unsafe.Pointer(path))) if r1 == 0 { err = errnoErr(e1) } @@ -3067,7 +3123,7 @@ func RemoveDirectory(path *uint16) (err error) { } func RemoveDllDirectory(cookie uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procRemoveDllDirectory.Addr(), 1, uintptr(cookie), 0, 0) + r1, _, e1 := syscall.SyscallN(procRemoveDllDirectory.Addr(), uintptr(cookie)) if r1 == 0 { err = errnoErr(e1) } @@ -3075,7 +3131,7 @@ func RemoveDllDirectory(cookie uintptr) (err error) { } func ResetEvent(event Handle) (err error) { - r1, _, e1 := syscall.Syscall(procResetEvent.Addr(), 1, uintptr(event), 0, 0) + r1, _, e1 := syscall.SyscallN(procResetEvent.Addr(), uintptr(event)) if r1 == 0 { err = errnoErr(e1) } @@ -3083,7 +3139,7 @@ func ResetEvent(event Handle) (err error) { } func resizePseudoConsole(pconsole Handle, size uint32) (hr error) { - r0, _, _ := syscall.Syscall(procResizePseudoConsole.Addr(), 2, uintptr(pconsole), uintptr(size), 0) + r0, _, _ := syscall.SyscallN(procResizePseudoConsole.Addr(), uintptr(pconsole), uintptr(size)) if r0 != 0 { hr = syscall.Errno(r0) } @@ -3091,7 +3147,7 @@ func resizePseudoConsole(pconsole Handle, size uint32) (hr error) { } func ResumeThread(thread Handle) (ret uint32, err error) { - r0, _, e1 := syscall.Syscall(procResumeThread.Addr(), 1, uintptr(thread), 0, 0) + r0, _, e1 := syscall.SyscallN(procResumeThread.Addr(), uintptr(thread)) ret = uint32(r0) if ret == 0xffffffff { err = errnoErr(e1) @@ -3100,7 +3156,7 @@ func ResumeThread(thread Handle) (ret uint32, err error) { } func SetCommBreak(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procSetCommBreak.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetCommBreak.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -3108,7 +3164,7 @@ func SetCommBreak(handle Handle) (err error) { } func SetCommMask(handle Handle, dwEvtMask uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetCommMask.Addr(), 2, uintptr(handle), uintptr(dwEvtMask), 0) + r1, _, e1 := syscall.SyscallN(procSetCommMask.Addr(), uintptr(handle), uintptr(dwEvtMask)) if r1 == 0 { err = errnoErr(e1) } @@ -3116,7 +3172,7 @@ func SetCommMask(handle Handle, dwEvtMask uint32) (err error) { } func SetCommState(handle Handle, lpDCB *DCB) (err error) { - r1, _, e1 := syscall.Syscall(procSetCommState.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(lpDCB)), 0) + r1, _, e1 := syscall.SyscallN(procSetCommState.Addr(), uintptr(handle), uintptr(unsafe.Pointer(lpDCB))) if r1 == 0 { err = errnoErr(e1) } @@ -3124,7 +3180,7 @@ func SetCommState(handle Handle, lpDCB *DCB) (err error) { } func SetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) { - r1, _, e1 := syscall.Syscall(procSetCommTimeouts.Addr(), 2, uintptr(handle), uintptr(unsafe.Pointer(timeouts)), 0) + r1, _, e1 := syscall.SyscallN(procSetCommTimeouts.Addr(), uintptr(handle), uintptr(unsafe.Pointer(timeouts))) if r1 == 0 { err = errnoErr(e1) } @@ -3132,7 +3188,7 @@ func SetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) { } func SetConsoleCP(cp uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetConsoleCP.Addr(), 1, uintptr(cp), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetConsoleCP.Addr(), uintptr(cp)) if r1 == 0 { err = errnoErr(e1) } @@ -3140,7 +3196,7 @@ func SetConsoleCP(cp uint32) (err error) { } func setConsoleCursorPosition(console Handle, position uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetConsoleCursorPosition.Addr(), 2, uintptr(console), uintptr(position), 0) + r1, _, e1 := syscall.SyscallN(procSetConsoleCursorPosition.Addr(), uintptr(console), uintptr(position)) if r1 == 0 { err = errnoErr(e1) } @@ -3148,7 +3204,7 @@ func setConsoleCursorPosition(console Handle, position uint32) (err error) { } func SetConsoleMode(console Handle, mode uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetConsoleMode.Addr(), 2, uintptr(console), uintptr(mode), 0) + r1, _, e1 := syscall.SyscallN(procSetConsoleMode.Addr(), uintptr(console), uintptr(mode)) if r1 == 0 { err = errnoErr(e1) } @@ -3156,7 +3212,7 @@ func SetConsoleMode(console Handle, mode uint32) (err error) { } func SetConsoleOutputCP(cp uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetConsoleOutputCP.Addr(), 1, uintptr(cp), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetConsoleOutputCP.Addr(), uintptr(cp)) if r1 == 0 { err = errnoErr(e1) } @@ -3164,7 +3220,7 @@ func SetConsoleOutputCP(cp uint32) (err error) { } func SetCurrentDirectory(path *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procSetCurrentDirectoryW.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetCurrentDirectoryW.Addr(), uintptr(unsafe.Pointer(path))) if r1 == 0 { err = errnoErr(e1) } @@ -3172,7 +3228,7 @@ func SetCurrentDirectory(path *uint16) (err error) { } func SetDefaultDllDirectories(directoryFlags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetDefaultDllDirectories.Addr(), 1, uintptr(directoryFlags), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetDefaultDllDirectories.Addr(), uintptr(directoryFlags)) if r1 == 0 { err = errnoErr(e1) } @@ -3189,7 +3245,7 @@ func SetDllDirectory(path string) (err error) { } func _SetDllDirectory(path *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procSetDllDirectoryW.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetDllDirectoryW.Addr(), uintptr(unsafe.Pointer(path))) if r1 == 0 { err = errnoErr(e1) } @@ -3197,7 +3253,7 @@ func _SetDllDirectory(path *uint16) (err error) { } func SetEndOfFile(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procSetEndOfFile.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetEndOfFile.Addr(), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -3205,7 +3261,7 @@ func SetEndOfFile(handle Handle) (err error) { } func SetEnvironmentVariable(name *uint16, value *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procSetEnvironmentVariableW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(value)), 0) + r1, _, e1 := syscall.SyscallN(procSetEnvironmentVariableW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(value))) if r1 == 0 { err = errnoErr(e1) } @@ -3213,13 +3269,13 @@ func SetEnvironmentVariable(name *uint16, value *uint16) (err error) { } func SetErrorMode(mode uint32) (ret uint32) { - r0, _, _ := syscall.Syscall(procSetErrorMode.Addr(), 1, uintptr(mode), 0, 0) + r0, _, _ := syscall.SyscallN(procSetErrorMode.Addr(), uintptr(mode)) ret = uint32(r0) return } func SetEvent(event Handle) (err error) { - r1, _, e1 := syscall.Syscall(procSetEvent.Addr(), 1, uintptr(event), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetEvent.Addr(), uintptr(event)) if r1 == 0 { err = errnoErr(e1) } @@ -3227,7 +3283,7 @@ func SetEvent(event Handle) (err error) { } func SetFileAttributes(name *uint16, attrs uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetFileAttributesW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(attrs), 0) + r1, _, e1 := syscall.SyscallN(procSetFileAttributesW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(attrs)) if r1 == 0 { err = errnoErr(e1) } @@ -3235,7 +3291,7 @@ func SetFileAttributes(name *uint16, attrs uint32) (err error) { } func SetFileCompletionNotificationModes(handle Handle, flags uint8) (err error) { - r1, _, e1 := syscall.Syscall(procSetFileCompletionNotificationModes.Addr(), 2, uintptr(handle), uintptr(flags), 0) + r1, _, e1 := syscall.SyscallN(procSetFileCompletionNotificationModes.Addr(), uintptr(handle), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -3243,7 +3299,7 @@ func SetFileCompletionNotificationModes(handle Handle, flags uint8) (err error) } func SetFileInformationByHandle(handle Handle, class uint32, inBuffer *byte, inBufferLen uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetFileInformationByHandle.Addr(), 4, uintptr(handle), uintptr(class), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferLen), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetFileInformationByHandle.Addr(), uintptr(handle), uintptr(class), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferLen)) if r1 == 0 { err = errnoErr(e1) } @@ -3251,7 +3307,7 @@ func SetFileInformationByHandle(handle Handle, class uint32, inBuffer *byte, inB } func SetFilePointer(handle Handle, lowoffset int32, highoffsetptr *int32, whence uint32) (newlowoffset uint32, err error) { - r0, _, e1 := syscall.Syscall6(procSetFilePointer.Addr(), 4, uintptr(handle), uintptr(lowoffset), uintptr(unsafe.Pointer(highoffsetptr)), uintptr(whence), 0, 0) + r0, _, e1 := syscall.SyscallN(procSetFilePointer.Addr(), uintptr(handle), uintptr(lowoffset), uintptr(unsafe.Pointer(highoffsetptr)), uintptr(whence)) newlowoffset = uint32(r0) if newlowoffset == 0xffffffff { err = errnoErr(e1) @@ -3260,7 +3316,7 @@ func SetFilePointer(handle Handle, lowoffset int32, highoffsetptr *int32, whence } func SetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetime) (err error) { - r1, _, e1 := syscall.Syscall6(procSetFileTime.Addr(), 4, uintptr(handle), uintptr(unsafe.Pointer(ctime)), uintptr(unsafe.Pointer(atime)), uintptr(unsafe.Pointer(wtime)), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetFileTime.Addr(), uintptr(handle), uintptr(unsafe.Pointer(ctime)), uintptr(unsafe.Pointer(atime)), uintptr(unsafe.Pointer(wtime))) if r1 == 0 { err = errnoErr(e1) } @@ -3268,7 +3324,7 @@ func SetFileTime(handle Handle, ctime *Filetime, atime *Filetime, wtime *Filetim } func SetFileValidData(handle Handle, validDataLength int64) (err error) { - r1, _, e1 := syscall.Syscall(procSetFileValidData.Addr(), 2, uintptr(handle), uintptr(validDataLength), 0) + r1, _, e1 := syscall.SyscallN(procSetFileValidData.Addr(), uintptr(handle), uintptr(validDataLength)) if r1 == 0 { err = errnoErr(e1) } @@ -3276,7 +3332,7 @@ func SetFileValidData(handle Handle, validDataLength int64) (err error) { } func SetHandleInformation(handle Handle, mask uint32, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetHandleInformation.Addr(), 3, uintptr(handle), uintptr(mask), uintptr(flags)) + r1, _, e1 := syscall.SyscallN(procSetHandleInformation.Addr(), uintptr(handle), uintptr(mask), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -3284,7 +3340,7 @@ func SetHandleInformation(handle Handle, mask uint32, flags uint32) (err error) } func SetInformationJobObject(job Handle, JobObjectInformationClass uint32, JobObjectInformation uintptr, JobObjectInformationLength uint32) (ret int, err error) { - r0, _, e1 := syscall.Syscall6(procSetInformationJobObject.Addr(), 4, uintptr(job), uintptr(JobObjectInformationClass), uintptr(JobObjectInformation), uintptr(JobObjectInformationLength), 0, 0) + r0, _, e1 := syscall.SyscallN(procSetInformationJobObject.Addr(), uintptr(job), uintptr(JobObjectInformationClass), uintptr(JobObjectInformation), uintptr(JobObjectInformationLength)) ret = int(r0) if ret == 0 { err = errnoErr(e1) @@ -3293,7 +3349,7 @@ func SetInformationJobObject(job Handle, JobObjectInformationClass uint32, JobOb } func SetNamedPipeHandleState(pipe Handle, state *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetNamedPipeHandleState.Addr(), 4, uintptr(pipe), uintptr(unsafe.Pointer(state)), uintptr(unsafe.Pointer(maxCollectionCount)), uintptr(unsafe.Pointer(collectDataTimeout)), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetNamedPipeHandleState.Addr(), uintptr(pipe), uintptr(unsafe.Pointer(state)), uintptr(unsafe.Pointer(maxCollectionCount)), uintptr(unsafe.Pointer(collectDataTimeout))) if r1 == 0 { err = errnoErr(e1) } @@ -3301,7 +3357,7 @@ func SetNamedPipeHandleState(pipe Handle, state *uint32, maxCollectionCount *uin } func SetPriorityClass(process Handle, priorityClass uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetPriorityClass.Addr(), 2, uintptr(process), uintptr(priorityClass), 0) + r1, _, e1 := syscall.SyscallN(procSetPriorityClass.Addr(), uintptr(process), uintptr(priorityClass)) if r1 == 0 { err = errnoErr(e1) } @@ -3313,7 +3369,7 @@ func SetProcessPriorityBoost(process Handle, disable bool) (err error) { if disable { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procSetProcessPriorityBoost.Addr(), 2, uintptr(process), uintptr(_p0), 0) + r1, _, e1 := syscall.SyscallN(procSetProcessPriorityBoost.Addr(), uintptr(process), uintptr(_p0)) if r1 == 0 { err = errnoErr(e1) } @@ -3321,7 +3377,7 @@ func SetProcessPriorityBoost(process Handle, disable bool) (err error) { } func SetProcessShutdownParameters(level uint32, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetProcessShutdownParameters.Addr(), 2, uintptr(level), uintptr(flags), 0) + r1, _, e1 := syscall.SyscallN(procSetProcessShutdownParameters.Addr(), uintptr(level), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -3329,7 +3385,7 @@ func SetProcessShutdownParameters(level uint32, flags uint32) (err error) { } func SetProcessWorkingSetSizeEx(hProcess Handle, dwMinimumWorkingSetSize uintptr, dwMaximumWorkingSetSize uintptr, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetProcessWorkingSetSizeEx.Addr(), 4, uintptr(hProcess), uintptr(dwMinimumWorkingSetSize), uintptr(dwMaximumWorkingSetSize), uintptr(flags), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetProcessWorkingSetSizeEx.Addr(), uintptr(hProcess), uintptr(dwMinimumWorkingSetSize), uintptr(dwMaximumWorkingSetSize), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -3337,7 +3393,7 @@ func SetProcessWorkingSetSizeEx(hProcess Handle, dwMinimumWorkingSetSize uintptr } func SetStdHandle(stdhandle uint32, handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procSetStdHandle.Addr(), 2, uintptr(stdhandle), uintptr(handle), 0) + r1, _, e1 := syscall.SyscallN(procSetStdHandle.Addr(), uintptr(stdhandle), uintptr(handle)) if r1 == 0 { err = errnoErr(e1) } @@ -3345,7 +3401,7 @@ func SetStdHandle(stdhandle uint32, handle Handle) (err error) { } func SetVolumeLabel(rootPathName *uint16, volumeName *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procSetVolumeLabelW.Addr(), 2, uintptr(unsafe.Pointer(rootPathName)), uintptr(unsafe.Pointer(volumeName)), 0) + r1, _, e1 := syscall.SyscallN(procSetVolumeLabelW.Addr(), uintptr(unsafe.Pointer(rootPathName)), uintptr(unsafe.Pointer(volumeName))) if r1 == 0 { err = errnoErr(e1) } @@ -3353,7 +3409,7 @@ func SetVolumeLabel(rootPathName *uint16, volumeName *uint16) (err error) { } func SetVolumeMountPoint(volumeMountPoint *uint16, volumeName *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procSetVolumeMountPointW.Addr(), 2, uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(unsafe.Pointer(volumeName)), 0) + r1, _, e1 := syscall.SyscallN(procSetVolumeMountPointW.Addr(), uintptr(unsafe.Pointer(volumeMountPoint)), uintptr(unsafe.Pointer(volumeName))) if r1 == 0 { err = errnoErr(e1) } @@ -3361,7 +3417,7 @@ func SetVolumeMountPoint(volumeMountPoint *uint16, volumeName *uint16) (err erro } func SetupComm(handle Handle, dwInQueue uint32, dwOutQueue uint32) (err error) { - r1, _, e1 := syscall.Syscall(procSetupComm.Addr(), 3, uintptr(handle), uintptr(dwInQueue), uintptr(dwOutQueue)) + r1, _, e1 := syscall.SyscallN(procSetupComm.Addr(), uintptr(handle), uintptr(dwInQueue), uintptr(dwOutQueue)) if r1 == 0 { err = errnoErr(e1) } @@ -3369,7 +3425,7 @@ func SetupComm(handle Handle, dwInQueue uint32, dwOutQueue uint32) (err error) { } func SizeofResource(module Handle, resInfo Handle) (size uint32, err error) { - r0, _, e1 := syscall.Syscall(procSizeofResource.Addr(), 2, uintptr(module), uintptr(resInfo), 0) + r0, _, e1 := syscall.SyscallN(procSizeofResource.Addr(), uintptr(module), uintptr(resInfo)) size = uint32(r0) if size == 0 { err = errnoErr(e1) @@ -3382,13 +3438,13 @@ func SleepEx(milliseconds uint32, alertable bool) (ret uint32) { if alertable { _p0 = 1 } - r0, _, _ := syscall.Syscall(procSleepEx.Addr(), 2, uintptr(milliseconds), uintptr(_p0), 0) + r0, _, _ := syscall.SyscallN(procSleepEx.Addr(), uintptr(milliseconds), uintptr(_p0)) ret = uint32(r0) return } func TerminateJobObject(job Handle, exitCode uint32) (err error) { - r1, _, e1 := syscall.Syscall(procTerminateJobObject.Addr(), 2, uintptr(job), uintptr(exitCode), 0) + r1, _, e1 := syscall.SyscallN(procTerminateJobObject.Addr(), uintptr(job), uintptr(exitCode)) if r1 == 0 { err = errnoErr(e1) } @@ -3396,7 +3452,7 @@ func TerminateJobObject(job Handle, exitCode uint32) (err error) { } func TerminateProcess(handle Handle, exitcode uint32) (err error) { - r1, _, e1 := syscall.Syscall(procTerminateProcess.Addr(), 2, uintptr(handle), uintptr(exitcode), 0) + r1, _, e1 := syscall.SyscallN(procTerminateProcess.Addr(), uintptr(handle), uintptr(exitcode)) if r1 == 0 { err = errnoErr(e1) } @@ -3404,7 +3460,7 @@ func TerminateProcess(handle Handle, exitcode uint32) (err error) { } func Thread32First(snapshot Handle, threadEntry *ThreadEntry32) (err error) { - r1, _, e1 := syscall.Syscall(procThread32First.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(threadEntry)), 0) + r1, _, e1 := syscall.SyscallN(procThread32First.Addr(), uintptr(snapshot), uintptr(unsafe.Pointer(threadEntry))) if r1 == 0 { err = errnoErr(e1) } @@ -3412,7 +3468,7 @@ func Thread32First(snapshot Handle, threadEntry *ThreadEntry32) (err error) { } func Thread32Next(snapshot Handle, threadEntry *ThreadEntry32) (err error) { - r1, _, e1 := syscall.Syscall(procThread32Next.Addr(), 2, uintptr(snapshot), uintptr(unsafe.Pointer(threadEntry)), 0) + r1, _, e1 := syscall.SyscallN(procThread32Next.Addr(), uintptr(snapshot), uintptr(unsafe.Pointer(threadEntry))) if r1 == 0 { err = errnoErr(e1) } @@ -3420,7 +3476,7 @@ func Thread32Next(snapshot Handle, threadEntry *ThreadEntry32) (err error) { } func UnlockFileEx(file Handle, reserved uint32, bytesLow uint32, bytesHigh uint32, overlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall6(procUnlockFileEx.Addr(), 5, uintptr(file), uintptr(reserved), uintptr(bytesLow), uintptr(bytesHigh), uintptr(unsafe.Pointer(overlapped)), 0) + r1, _, e1 := syscall.SyscallN(procUnlockFileEx.Addr(), uintptr(file), uintptr(reserved), uintptr(bytesLow), uintptr(bytesHigh), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -3428,7 +3484,7 @@ func UnlockFileEx(file Handle, reserved uint32, bytesLow uint32, bytesHigh uint3 } func UnmapViewOfFile(addr uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procUnmapViewOfFile.Addr(), 1, uintptr(addr), 0, 0) + r1, _, e1 := syscall.SyscallN(procUnmapViewOfFile.Addr(), uintptr(addr)) if r1 == 0 { err = errnoErr(e1) } @@ -3436,7 +3492,7 @@ func UnmapViewOfFile(addr uintptr) (err error) { } func updateProcThreadAttribute(attrlist *ProcThreadAttributeList, flags uint32, attr uintptr, value unsafe.Pointer, size uintptr, prevvalue unsafe.Pointer, returnedsize *uintptr) (err error) { - r1, _, e1 := syscall.Syscall9(procUpdateProcThreadAttribute.Addr(), 7, uintptr(unsafe.Pointer(attrlist)), uintptr(flags), uintptr(attr), uintptr(value), uintptr(size), uintptr(prevvalue), uintptr(unsafe.Pointer(returnedsize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procUpdateProcThreadAttribute.Addr(), uintptr(unsafe.Pointer(attrlist)), uintptr(flags), uintptr(attr), uintptr(value), uintptr(size), uintptr(prevvalue), uintptr(unsafe.Pointer(returnedsize))) if r1 == 0 { err = errnoErr(e1) } @@ -3444,7 +3500,7 @@ func updateProcThreadAttribute(attrlist *ProcThreadAttributeList, flags uint32, } func VirtualAlloc(address uintptr, size uintptr, alloctype uint32, protect uint32) (value uintptr, err error) { - r0, _, e1 := syscall.Syscall6(procVirtualAlloc.Addr(), 4, uintptr(address), uintptr(size), uintptr(alloctype), uintptr(protect), 0, 0) + r0, _, e1 := syscall.SyscallN(procVirtualAlloc.Addr(), uintptr(address), uintptr(size), uintptr(alloctype), uintptr(protect)) value = uintptr(r0) if value == 0 { err = errnoErr(e1) @@ -3453,7 +3509,7 @@ func VirtualAlloc(address uintptr, size uintptr, alloctype uint32, protect uint3 } func VirtualFree(address uintptr, size uintptr, freetype uint32) (err error) { - r1, _, e1 := syscall.Syscall(procVirtualFree.Addr(), 3, uintptr(address), uintptr(size), uintptr(freetype)) + r1, _, e1 := syscall.SyscallN(procVirtualFree.Addr(), uintptr(address), uintptr(size), uintptr(freetype)) if r1 == 0 { err = errnoErr(e1) } @@ -3461,7 +3517,7 @@ func VirtualFree(address uintptr, size uintptr, freetype uint32) (err error) { } func VirtualLock(addr uintptr, length uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procVirtualLock.Addr(), 2, uintptr(addr), uintptr(length), 0) + r1, _, e1 := syscall.SyscallN(procVirtualLock.Addr(), uintptr(addr), uintptr(length)) if r1 == 0 { err = errnoErr(e1) } @@ -3469,7 +3525,7 @@ func VirtualLock(addr uintptr, length uintptr) (err error) { } func VirtualProtect(address uintptr, size uintptr, newprotect uint32, oldprotect *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procVirtualProtect.Addr(), 4, uintptr(address), uintptr(size), uintptr(newprotect), uintptr(unsafe.Pointer(oldprotect)), 0, 0) + r1, _, e1 := syscall.SyscallN(procVirtualProtect.Addr(), uintptr(address), uintptr(size), uintptr(newprotect), uintptr(unsafe.Pointer(oldprotect))) if r1 == 0 { err = errnoErr(e1) } @@ -3477,7 +3533,7 @@ func VirtualProtect(address uintptr, size uintptr, newprotect uint32, oldprotect } func VirtualProtectEx(process Handle, address uintptr, size uintptr, newProtect uint32, oldProtect *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procVirtualProtectEx.Addr(), 5, uintptr(process), uintptr(address), uintptr(size), uintptr(newProtect), uintptr(unsafe.Pointer(oldProtect)), 0) + r1, _, e1 := syscall.SyscallN(procVirtualProtectEx.Addr(), uintptr(process), uintptr(address), uintptr(size), uintptr(newProtect), uintptr(unsafe.Pointer(oldProtect))) if r1 == 0 { err = errnoErr(e1) } @@ -3485,7 +3541,7 @@ func VirtualProtectEx(process Handle, address uintptr, size uintptr, newProtect } func VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procVirtualQuery.Addr(), 3, uintptr(address), uintptr(unsafe.Pointer(buffer)), uintptr(length)) + r1, _, e1 := syscall.SyscallN(procVirtualQuery.Addr(), uintptr(address), uintptr(unsafe.Pointer(buffer)), uintptr(length)) if r1 == 0 { err = errnoErr(e1) } @@ -3493,7 +3549,7 @@ func VirtualQuery(address uintptr, buffer *MemoryBasicInformation, length uintpt } func VirtualQueryEx(process Handle, address uintptr, buffer *MemoryBasicInformation, length uintptr) (err error) { - r1, _, e1 := syscall.Syscall6(procVirtualQueryEx.Addr(), 4, uintptr(process), uintptr(address), uintptr(unsafe.Pointer(buffer)), uintptr(length), 0, 0) + r1, _, e1 := syscall.SyscallN(procVirtualQueryEx.Addr(), uintptr(process), uintptr(address), uintptr(unsafe.Pointer(buffer)), uintptr(length)) if r1 == 0 { err = errnoErr(e1) } @@ -3501,7 +3557,7 @@ func VirtualQueryEx(process Handle, address uintptr, buffer *MemoryBasicInformat } func VirtualUnlock(addr uintptr, length uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procVirtualUnlock.Addr(), 2, uintptr(addr), uintptr(length), 0) + r1, _, e1 := syscall.SyscallN(procVirtualUnlock.Addr(), uintptr(addr), uintptr(length)) if r1 == 0 { err = errnoErr(e1) } @@ -3509,13 +3565,13 @@ func VirtualUnlock(addr uintptr, length uintptr) (err error) { } func WTSGetActiveConsoleSessionId() (sessionID uint32) { - r0, _, _ := syscall.Syscall(procWTSGetActiveConsoleSessionId.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procWTSGetActiveConsoleSessionId.Addr()) sessionID = uint32(r0) return } func WaitCommEvent(handle Handle, lpEvtMask *uint32, lpOverlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall(procWaitCommEvent.Addr(), 3, uintptr(handle), uintptr(unsafe.Pointer(lpEvtMask)), uintptr(unsafe.Pointer(lpOverlapped))) + r1, _, e1 := syscall.SyscallN(procWaitCommEvent.Addr(), uintptr(handle), uintptr(unsafe.Pointer(lpEvtMask)), uintptr(unsafe.Pointer(lpOverlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -3527,7 +3583,7 @@ func waitForMultipleObjects(count uint32, handles uintptr, waitAll bool, waitMil if waitAll { _p0 = 1 } - r0, _, e1 := syscall.Syscall6(procWaitForMultipleObjects.Addr(), 4, uintptr(count), uintptr(handles), uintptr(_p0), uintptr(waitMilliseconds), 0, 0) + r0, _, e1 := syscall.SyscallN(procWaitForMultipleObjects.Addr(), uintptr(count), uintptr(handles), uintptr(_p0), uintptr(waitMilliseconds)) event = uint32(r0) if event == 0xffffffff { err = errnoErr(e1) @@ -3536,7 +3592,7 @@ func waitForMultipleObjects(count uint32, handles uintptr, waitAll bool, waitMil } func WaitForSingleObject(handle Handle, waitMilliseconds uint32) (event uint32, err error) { - r0, _, e1 := syscall.Syscall(procWaitForSingleObject.Addr(), 2, uintptr(handle), uintptr(waitMilliseconds), 0) + r0, _, e1 := syscall.SyscallN(procWaitForSingleObject.Addr(), uintptr(handle), uintptr(waitMilliseconds)) event = uint32(r0) if event == 0xffffffff { err = errnoErr(e1) @@ -3545,7 +3601,7 @@ func WaitForSingleObject(handle Handle, waitMilliseconds uint32) (event uint32, } func WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) { - r1, _, e1 := syscall.Syscall6(procWriteConsoleW.Addr(), 5, uintptr(console), uintptr(unsafe.Pointer(buf)), uintptr(towrite), uintptr(unsafe.Pointer(written)), uintptr(unsafe.Pointer(reserved)), 0) + r1, _, e1 := syscall.SyscallN(procWriteConsoleW.Addr(), uintptr(console), uintptr(unsafe.Pointer(buf)), uintptr(towrite), uintptr(unsafe.Pointer(written)), uintptr(unsafe.Pointer(reserved))) if r1 == 0 { err = errnoErr(e1) } @@ -3557,7 +3613,7 @@ func writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) if len(buf) > 0 { _p0 = &buf[0] } - r1, _, e1 := syscall.Syscall6(procWriteFile.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(done)), uintptr(unsafe.Pointer(overlapped)), 0) + r1, _, e1 := syscall.SyscallN(procWriteFile.Addr(), uintptr(handle), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(done)), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -3565,7 +3621,7 @@ func writeFile(handle Handle, buf []byte, done *uint32, overlapped *Overlapped) } func WriteProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size uintptr, numberOfBytesWritten *uintptr) (err error) { - r1, _, e1 := syscall.Syscall6(procWriteProcessMemory.Addr(), 5, uintptr(process), uintptr(baseAddress), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(numberOfBytesWritten)), 0) + r1, _, e1 := syscall.SyscallN(procWriteProcessMemory.Addr(), uintptr(process), uintptr(baseAddress), uintptr(unsafe.Pointer(buffer)), uintptr(size), uintptr(unsafe.Pointer(numberOfBytesWritten))) if r1 == 0 { err = errnoErr(e1) } @@ -3573,7 +3629,7 @@ func WriteProcessMemory(process Handle, baseAddress uintptr, buffer *byte, size } func AcceptEx(ls Handle, as Handle, buf *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, recvd *uint32, overlapped *Overlapped) (err error) { - r1, _, e1 := syscall.Syscall9(procAcceptEx.Addr(), 8, uintptr(ls), uintptr(as), uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(overlapped)), 0) + r1, _, e1 := syscall.SyscallN(procAcceptEx.Addr(), uintptr(ls), uintptr(as), uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(overlapped))) if r1 == 0 { err = errnoErr(e1) } @@ -3581,12 +3637,12 @@ func AcceptEx(ls Handle, as Handle, buf *byte, rxdatalen uint32, laddrlen uint32 } func GetAcceptExSockaddrs(buf *byte, rxdatalen uint32, laddrlen uint32, raddrlen uint32, lrsa **RawSockaddrAny, lrsalen *int32, rrsa **RawSockaddrAny, rrsalen *int32) { - syscall.Syscall9(procGetAcceptExSockaddrs.Addr(), 8, uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(lrsa)), uintptr(unsafe.Pointer(lrsalen)), uintptr(unsafe.Pointer(rrsa)), uintptr(unsafe.Pointer(rrsalen)), 0) + syscall.SyscallN(procGetAcceptExSockaddrs.Addr(), uintptr(unsafe.Pointer(buf)), uintptr(rxdatalen), uintptr(laddrlen), uintptr(raddrlen), uintptr(unsafe.Pointer(lrsa)), uintptr(unsafe.Pointer(lrsalen)), uintptr(unsafe.Pointer(rrsa)), uintptr(unsafe.Pointer(rrsalen))) return } func TransmitFile(s Handle, handle Handle, bytesToWrite uint32, bytsPerSend uint32, overlapped *Overlapped, transmitFileBuf *TransmitFileBuffers, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procTransmitFile.Addr(), 7, uintptr(s), uintptr(handle), uintptr(bytesToWrite), uintptr(bytsPerSend), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(transmitFileBuf)), uintptr(flags), 0, 0) + r1, _, e1 := syscall.SyscallN(procTransmitFile.Addr(), uintptr(s), uintptr(handle), uintptr(bytesToWrite), uintptr(bytsPerSend), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(transmitFileBuf)), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -3594,7 +3650,7 @@ func TransmitFile(s Handle, handle Handle, bytesToWrite uint32, bytsPerSend uint } func NetApiBufferFree(buf *byte) (neterr error) { - r0, _, _ := syscall.Syscall(procNetApiBufferFree.Addr(), 1, uintptr(unsafe.Pointer(buf)), 0, 0) + r0, _, _ := syscall.SyscallN(procNetApiBufferFree.Addr(), uintptr(unsafe.Pointer(buf))) if r0 != 0 { neterr = syscall.Errno(r0) } @@ -3602,7 +3658,7 @@ func NetApiBufferFree(buf *byte) (neterr error) { } func NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (neterr error) { - r0, _, _ := syscall.Syscall(procNetGetJoinInformation.Addr(), 3, uintptr(unsafe.Pointer(server)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(bufType))) + r0, _, _ := syscall.SyscallN(procNetGetJoinInformation.Addr(), uintptr(unsafe.Pointer(server)), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(bufType))) if r0 != 0 { neterr = syscall.Errno(r0) } @@ -3610,7 +3666,7 @@ func NetGetJoinInformation(server *uint16, name **uint16, bufType *uint32) (nete } func NetUserEnum(serverName *uint16, level uint32, filter uint32, buf **byte, prefMaxLen uint32, entriesRead *uint32, totalEntries *uint32, resumeHandle *uint32) (neterr error) { - r0, _, _ := syscall.Syscall9(procNetUserEnum.Addr(), 8, uintptr(unsafe.Pointer(serverName)), uintptr(level), uintptr(filter), uintptr(unsafe.Pointer(buf)), uintptr(prefMaxLen), uintptr(unsafe.Pointer(entriesRead)), uintptr(unsafe.Pointer(totalEntries)), uintptr(unsafe.Pointer(resumeHandle)), 0) + r0, _, _ := syscall.SyscallN(procNetUserEnum.Addr(), uintptr(unsafe.Pointer(serverName)), uintptr(level), uintptr(filter), uintptr(unsafe.Pointer(buf)), uintptr(prefMaxLen), uintptr(unsafe.Pointer(entriesRead)), uintptr(unsafe.Pointer(totalEntries)), uintptr(unsafe.Pointer(resumeHandle))) if r0 != 0 { neterr = syscall.Errno(r0) } @@ -3618,7 +3674,7 @@ func NetUserEnum(serverName *uint16, level uint32, filter uint32, buf **byte, pr } func NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **byte) (neterr error) { - r0, _, _ := syscall.Syscall6(procNetUserGetInfo.Addr(), 4, uintptr(unsafe.Pointer(serverName)), uintptr(unsafe.Pointer(userName)), uintptr(level), uintptr(unsafe.Pointer(buf)), 0, 0) + r0, _, _ := syscall.SyscallN(procNetUserGetInfo.Addr(), uintptr(unsafe.Pointer(serverName)), uintptr(unsafe.Pointer(userName)), uintptr(level), uintptr(unsafe.Pointer(buf))) if r0 != 0 { neterr = syscall.Errno(r0) } @@ -3626,7 +3682,7 @@ func NetUserGetInfo(serverName *uint16, userName *uint16, level uint32, buf **by } func NtCreateFile(handle *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, allocationSize *int64, attributes uint32, share uint32, disposition uint32, options uint32, eabuffer uintptr, ealength uint32) (ntstatus error) { - r0, _, _ := syscall.Syscall12(procNtCreateFile.Addr(), 11, uintptr(unsafe.Pointer(handle)), uintptr(access), uintptr(unsafe.Pointer(oa)), uintptr(unsafe.Pointer(iosb)), uintptr(unsafe.Pointer(allocationSize)), uintptr(attributes), uintptr(share), uintptr(disposition), uintptr(options), uintptr(eabuffer), uintptr(ealength), 0) + r0, _, _ := syscall.SyscallN(procNtCreateFile.Addr(), uintptr(unsafe.Pointer(handle)), uintptr(access), uintptr(unsafe.Pointer(oa)), uintptr(unsafe.Pointer(iosb)), uintptr(unsafe.Pointer(allocationSize)), uintptr(attributes), uintptr(share), uintptr(disposition), uintptr(options), uintptr(eabuffer), uintptr(ealength)) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3634,7 +3690,7 @@ func NtCreateFile(handle *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO } func NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, iosb *IO_STATUS_BLOCK, share uint32, disposition uint32, options uint32, typ uint32, readMode uint32, completionMode uint32, maxInstances uint32, inboundQuota uint32, outputQuota uint32, timeout *int64) (ntstatus error) { - r0, _, _ := syscall.Syscall15(procNtCreateNamedPipeFile.Addr(), 14, uintptr(unsafe.Pointer(pipe)), uintptr(access), uintptr(unsafe.Pointer(oa)), uintptr(unsafe.Pointer(iosb)), uintptr(share), uintptr(disposition), uintptr(options), uintptr(typ), uintptr(readMode), uintptr(completionMode), uintptr(maxInstances), uintptr(inboundQuota), uintptr(outputQuota), uintptr(unsafe.Pointer(timeout)), 0) + r0, _, _ := syscall.SyscallN(procNtCreateNamedPipeFile.Addr(), uintptr(unsafe.Pointer(pipe)), uintptr(access), uintptr(unsafe.Pointer(oa)), uintptr(unsafe.Pointer(iosb)), uintptr(share), uintptr(disposition), uintptr(options), uintptr(typ), uintptr(readMode), uintptr(completionMode), uintptr(maxInstances), uintptr(inboundQuota), uintptr(outputQuota), uintptr(unsafe.Pointer(timeout))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3642,7 +3698,7 @@ func NtCreateNamedPipeFile(pipe *Handle, access uint32, oa *OBJECT_ATTRIBUTES, i } func NtQueryInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.Pointer, procInfoLen uint32, retLen *uint32) (ntstatus error) { - r0, _, _ := syscall.Syscall6(procNtQueryInformationProcess.Addr(), 5, uintptr(proc), uintptr(procInfoClass), uintptr(procInfo), uintptr(procInfoLen), uintptr(unsafe.Pointer(retLen)), 0) + r0, _, _ := syscall.SyscallN(procNtQueryInformationProcess.Addr(), uintptr(proc), uintptr(procInfoClass), uintptr(procInfo), uintptr(procInfoLen), uintptr(unsafe.Pointer(retLen))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3650,7 +3706,7 @@ func NtQueryInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe } func NtQuerySystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoLen uint32, retLen *uint32) (ntstatus error) { - r0, _, _ := syscall.Syscall6(procNtQuerySystemInformation.Addr(), 4, uintptr(sysInfoClass), uintptr(sysInfo), uintptr(sysInfoLen), uintptr(unsafe.Pointer(retLen)), 0, 0) + r0, _, _ := syscall.SyscallN(procNtQuerySystemInformation.Addr(), uintptr(sysInfoClass), uintptr(sysInfo), uintptr(sysInfoLen), uintptr(unsafe.Pointer(retLen))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3658,7 +3714,7 @@ func NtQuerySystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInf } func NtSetInformationFile(handle Handle, iosb *IO_STATUS_BLOCK, inBuffer *byte, inBufferLen uint32, class uint32) (ntstatus error) { - r0, _, _ := syscall.Syscall6(procNtSetInformationFile.Addr(), 5, uintptr(handle), uintptr(unsafe.Pointer(iosb)), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferLen), uintptr(class), 0) + r0, _, _ := syscall.SyscallN(procNtSetInformationFile.Addr(), uintptr(handle), uintptr(unsafe.Pointer(iosb)), uintptr(unsafe.Pointer(inBuffer)), uintptr(inBufferLen), uintptr(class)) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3666,7 +3722,7 @@ func NtSetInformationFile(handle Handle, iosb *IO_STATUS_BLOCK, inBuffer *byte, } func NtSetInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.Pointer, procInfoLen uint32) (ntstatus error) { - r0, _, _ := syscall.Syscall6(procNtSetInformationProcess.Addr(), 4, uintptr(proc), uintptr(procInfoClass), uintptr(procInfo), uintptr(procInfoLen), 0, 0) + r0, _, _ := syscall.SyscallN(procNtSetInformationProcess.Addr(), uintptr(proc), uintptr(procInfoClass), uintptr(procInfo), uintptr(procInfoLen)) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3674,7 +3730,7 @@ func NtSetInformationProcess(proc Handle, procInfoClass int32, procInfo unsafe.P } func NtSetSystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoLen uint32) (ntstatus error) { - r0, _, _ := syscall.Syscall(procNtSetSystemInformation.Addr(), 3, uintptr(sysInfoClass), uintptr(sysInfo), uintptr(sysInfoLen)) + r0, _, _ := syscall.SyscallN(procNtSetSystemInformation.Addr(), uintptr(sysInfoClass), uintptr(sysInfo), uintptr(sysInfoLen)) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3682,13 +3738,13 @@ func NtSetSystemInformation(sysInfoClass int32, sysInfo unsafe.Pointer, sysInfoL } func RtlAddFunctionTable(functionTable *RUNTIME_FUNCTION, entryCount uint32, baseAddress uintptr) (ret bool) { - r0, _, _ := syscall.Syscall(procRtlAddFunctionTable.Addr(), 3, uintptr(unsafe.Pointer(functionTable)), uintptr(entryCount), uintptr(baseAddress)) + r0, _, _ := syscall.SyscallN(procRtlAddFunctionTable.Addr(), uintptr(unsafe.Pointer(functionTable)), uintptr(entryCount), uintptr(baseAddress)) ret = r0 != 0 return } func RtlDefaultNpAcl(acl **ACL) (ntstatus error) { - r0, _, _ := syscall.Syscall(procRtlDefaultNpAcl.Addr(), 1, uintptr(unsafe.Pointer(acl)), 0, 0) + r0, _, _ := syscall.SyscallN(procRtlDefaultNpAcl.Addr(), uintptr(unsafe.Pointer(acl))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3696,13 +3752,13 @@ func RtlDefaultNpAcl(acl **ACL) (ntstatus error) { } func RtlDeleteFunctionTable(functionTable *RUNTIME_FUNCTION) (ret bool) { - r0, _, _ := syscall.Syscall(procRtlDeleteFunctionTable.Addr(), 1, uintptr(unsafe.Pointer(functionTable)), 0, 0) + r0, _, _ := syscall.SyscallN(procRtlDeleteFunctionTable.Addr(), uintptr(unsafe.Pointer(functionTable))) ret = r0 != 0 return } func RtlDosPathNameToNtPathName(dosName *uint16, ntName *NTUnicodeString, ntFileNamePart *uint16, relativeName *RTL_RELATIVE_NAME) (ntstatus error) { - r0, _, _ := syscall.Syscall6(procRtlDosPathNameToNtPathName_U_WithStatus.Addr(), 4, uintptr(unsafe.Pointer(dosName)), uintptr(unsafe.Pointer(ntName)), uintptr(unsafe.Pointer(ntFileNamePart)), uintptr(unsafe.Pointer(relativeName)), 0, 0) + r0, _, _ := syscall.SyscallN(procRtlDosPathNameToNtPathName_U_WithStatus.Addr(), uintptr(unsafe.Pointer(dosName)), uintptr(unsafe.Pointer(ntName)), uintptr(unsafe.Pointer(ntFileNamePart)), uintptr(unsafe.Pointer(relativeName))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3710,7 +3766,7 @@ func RtlDosPathNameToNtPathName(dosName *uint16, ntName *NTUnicodeString, ntFile } func RtlDosPathNameToRelativeNtPathName(dosName *uint16, ntName *NTUnicodeString, ntFileNamePart *uint16, relativeName *RTL_RELATIVE_NAME) (ntstatus error) { - r0, _, _ := syscall.Syscall6(procRtlDosPathNameToRelativeNtPathName_U_WithStatus.Addr(), 4, uintptr(unsafe.Pointer(dosName)), uintptr(unsafe.Pointer(ntName)), uintptr(unsafe.Pointer(ntFileNamePart)), uintptr(unsafe.Pointer(relativeName)), 0, 0) + r0, _, _ := syscall.SyscallN(procRtlDosPathNameToRelativeNtPathName_U_WithStatus.Addr(), uintptr(unsafe.Pointer(dosName)), uintptr(unsafe.Pointer(ntName)), uintptr(unsafe.Pointer(ntFileNamePart)), uintptr(unsafe.Pointer(relativeName))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3718,18 +3774,18 @@ func RtlDosPathNameToRelativeNtPathName(dosName *uint16, ntName *NTUnicodeString } func RtlGetCurrentPeb() (peb *PEB) { - r0, _, _ := syscall.Syscall(procRtlGetCurrentPeb.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procRtlGetCurrentPeb.Addr()) peb = (*PEB)(unsafe.Pointer(r0)) return } func rtlGetNtVersionNumbers(majorVersion *uint32, minorVersion *uint32, buildNumber *uint32) { - syscall.Syscall(procRtlGetNtVersionNumbers.Addr(), 3, uintptr(unsafe.Pointer(majorVersion)), uintptr(unsafe.Pointer(minorVersion)), uintptr(unsafe.Pointer(buildNumber))) + syscall.SyscallN(procRtlGetNtVersionNumbers.Addr(), uintptr(unsafe.Pointer(majorVersion)), uintptr(unsafe.Pointer(minorVersion)), uintptr(unsafe.Pointer(buildNumber))) return } func rtlGetVersion(info *OsVersionInfoEx) (ntstatus error) { - r0, _, _ := syscall.Syscall(procRtlGetVersion.Addr(), 1, uintptr(unsafe.Pointer(info)), 0, 0) + r0, _, _ := syscall.SyscallN(procRtlGetVersion.Addr(), uintptr(unsafe.Pointer(info))) if r0 != 0 { ntstatus = NTStatus(r0) } @@ -3737,23 +3793,23 @@ func rtlGetVersion(info *OsVersionInfoEx) (ntstatus error) { } func RtlInitString(destinationString *NTString, sourceString *byte) { - syscall.Syscall(procRtlInitString.Addr(), 2, uintptr(unsafe.Pointer(destinationString)), uintptr(unsafe.Pointer(sourceString)), 0) + syscall.SyscallN(procRtlInitString.Addr(), uintptr(unsafe.Pointer(destinationString)), uintptr(unsafe.Pointer(sourceString))) return } func RtlInitUnicodeString(destinationString *NTUnicodeString, sourceString *uint16) { - syscall.Syscall(procRtlInitUnicodeString.Addr(), 2, uintptr(unsafe.Pointer(destinationString)), uintptr(unsafe.Pointer(sourceString)), 0) + syscall.SyscallN(procRtlInitUnicodeString.Addr(), uintptr(unsafe.Pointer(destinationString)), uintptr(unsafe.Pointer(sourceString))) return } func rtlNtStatusToDosErrorNoTeb(ntstatus NTStatus) (ret syscall.Errno) { - r0, _, _ := syscall.Syscall(procRtlNtStatusToDosErrorNoTeb.Addr(), 1, uintptr(ntstatus), 0, 0) + r0, _, _ := syscall.SyscallN(procRtlNtStatusToDosErrorNoTeb.Addr(), uintptr(ntstatus)) ret = syscall.Errno(r0) return } func clsidFromString(lpsz *uint16, pclsid *GUID) (ret error) { - r0, _, _ := syscall.Syscall(procCLSIDFromString.Addr(), 2, uintptr(unsafe.Pointer(lpsz)), uintptr(unsafe.Pointer(pclsid)), 0) + r0, _, _ := syscall.SyscallN(procCLSIDFromString.Addr(), uintptr(unsafe.Pointer(lpsz)), uintptr(unsafe.Pointer(pclsid))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -3761,7 +3817,7 @@ func clsidFromString(lpsz *uint16, pclsid *GUID) (ret error) { } func coCreateGuid(pguid *GUID) (ret error) { - r0, _, _ := syscall.Syscall(procCoCreateGuid.Addr(), 1, uintptr(unsafe.Pointer(pguid)), 0, 0) + r0, _, _ := syscall.SyscallN(procCoCreateGuid.Addr(), uintptr(unsafe.Pointer(pguid))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -3769,7 +3825,7 @@ func coCreateGuid(pguid *GUID) (ret error) { } func CoGetObject(name *uint16, bindOpts *BIND_OPTS3, guid *GUID, functionTable **uintptr) (ret error) { - r0, _, _ := syscall.Syscall6(procCoGetObject.Addr(), 4, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(bindOpts)), uintptr(unsafe.Pointer(guid)), uintptr(unsafe.Pointer(functionTable)), 0, 0) + r0, _, _ := syscall.SyscallN(procCoGetObject.Addr(), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(bindOpts)), uintptr(unsafe.Pointer(guid)), uintptr(unsafe.Pointer(functionTable))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -3777,7 +3833,7 @@ func CoGetObject(name *uint16, bindOpts *BIND_OPTS3, guid *GUID, functionTable * } func CoInitializeEx(reserved uintptr, coInit uint32) (ret error) { - r0, _, _ := syscall.Syscall(procCoInitializeEx.Addr(), 2, uintptr(reserved), uintptr(coInit), 0) + r0, _, _ := syscall.SyscallN(procCoInitializeEx.Addr(), uintptr(reserved), uintptr(coInit)) if r0 != 0 { ret = syscall.Errno(r0) } @@ -3785,23 +3841,23 @@ func CoInitializeEx(reserved uintptr, coInit uint32) (ret error) { } func CoTaskMemFree(address unsafe.Pointer) { - syscall.Syscall(procCoTaskMemFree.Addr(), 1, uintptr(address), 0, 0) + syscall.SyscallN(procCoTaskMemFree.Addr(), uintptr(address)) return } func CoUninitialize() { - syscall.Syscall(procCoUninitialize.Addr(), 0, 0, 0, 0) + syscall.SyscallN(procCoUninitialize.Addr()) return } func stringFromGUID2(rguid *GUID, lpsz *uint16, cchMax int32) (chars int32) { - r0, _, _ := syscall.Syscall(procStringFromGUID2.Addr(), 3, uintptr(unsafe.Pointer(rguid)), uintptr(unsafe.Pointer(lpsz)), uintptr(cchMax)) + r0, _, _ := syscall.SyscallN(procStringFromGUID2.Addr(), uintptr(unsafe.Pointer(rguid)), uintptr(unsafe.Pointer(lpsz)), uintptr(cchMax)) chars = int32(r0) return } func EnumProcessModules(process Handle, module *Handle, cb uint32, cbNeeded *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procEnumProcessModules.Addr(), 4, uintptr(process), uintptr(unsafe.Pointer(module)), uintptr(cb), uintptr(unsafe.Pointer(cbNeeded)), 0, 0) + r1, _, e1 := syscall.SyscallN(procEnumProcessModules.Addr(), uintptr(process), uintptr(unsafe.Pointer(module)), uintptr(cb), uintptr(unsafe.Pointer(cbNeeded))) if r1 == 0 { err = errnoErr(e1) } @@ -3809,7 +3865,7 @@ func EnumProcessModules(process Handle, module *Handle, cb uint32, cbNeeded *uin } func EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *uint32, filterFlag uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procEnumProcessModulesEx.Addr(), 5, uintptr(process), uintptr(unsafe.Pointer(module)), uintptr(cb), uintptr(unsafe.Pointer(cbNeeded)), uintptr(filterFlag), 0) + r1, _, e1 := syscall.SyscallN(procEnumProcessModulesEx.Addr(), uintptr(process), uintptr(unsafe.Pointer(module)), uintptr(cb), uintptr(unsafe.Pointer(cbNeeded)), uintptr(filterFlag)) if r1 == 0 { err = errnoErr(e1) } @@ -3817,7 +3873,7 @@ func EnumProcessModulesEx(process Handle, module *Handle, cb uint32, cbNeeded *u } func enumProcesses(processIds *uint32, nSize uint32, bytesReturned *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procEnumProcesses.Addr(), 3, uintptr(unsafe.Pointer(processIds)), uintptr(nSize), uintptr(unsafe.Pointer(bytesReturned))) + r1, _, e1 := syscall.SyscallN(procEnumProcesses.Addr(), uintptr(unsafe.Pointer(processIds)), uintptr(nSize), uintptr(unsafe.Pointer(bytesReturned))) if r1 == 0 { err = errnoErr(e1) } @@ -3825,7 +3881,7 @@ func enumProcesses(processIds *uint32, nSize uint32, bytesReturned *uint32) (err } func GetModuleBaseName(process Handle, module Handle, baseName *uint16, size uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetModuleBaseNameW.Addr(), 4, uintptr(process), uintptr(module), uintptr(unsafe.Pointer(baseName)), uintptr(size), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetModuleBaseNameW.Addr(), uintptr(process), uintptr(module), uintptr(unsafe.Pointer(baseName)), uintptr(size)) if r1 == 0 { err = errnoErr(e1) } @@ -3833,7 +3889,7 @@ func GetModuleBaseName(process Handle, module Handle, baseName *uint16, size uin } func GetModuleFileNameEx(process Handle, module Handle, filename *uint16, size uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetModuleFileNameExW.Addr(), 4, uintptr(process), uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetModuleFileNameExW.Addr(), uintptr(process), uintptr(module), uintptr(unsafe.Pointer(filename)), uintptr(size)) if r1 == 0 { err = errnoErr(e1) } @@ -3841,7 +3897,7 @@ func GetModuleFileNameEx(process Handle, module Handle, filename *uint16, size u } func GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procGetModuleInformation.Addr(), 4, uintptr(process), uintptr(module), uintptr(unsafe.Pointer(modinfo)), uintptr(cb), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetModuleInformation.Addr(), uintptr(process), uintptr(module), uintptr(unsafe.Pointer(modinfo)), uintptr(cb)) if r1 == 0 { err = errnoErr(e1) } @@ -3849,7 +3905,7 @@ func GetModuleInformation(process Handle, module Handle, modinfo *ModuleInfo, cb } func QueryWorkingSetEx(process Handle, pv uintptr, cb uint32) (err error) { - r1, _, e1 := syscall.Syscall(procQueryWorkingSetEx.Addr(), 3, uintptr(process), uintptr(pv), uintptr(cb)) + r1, _, e1 := syscall.SyscallN(procQueryWorkingSetEx.Addr(), uintptr(process), uintptr(pv), uintptr(cb)) if r1 == 0 { err = errnoErr(e1) } @@ -3861,7 +3917,7 @@ func SubscribeServiceChangeNotifications(service Handle, eventType uint32, callb if ret != nil { return } - r0, _, _ := syscall.Syscall6(procSubscribeServiceChangeNotifications.Addr(), 5, uintptr(service), uintptr(eventType), uintptr(callback), uintptr(callbackCtx), uintptr(unsafe.Pointer(subscription)), 0) + r0, _, _ := syscall.SyscallN(procSubscribeServiceChangeNotifications.Addr(), uintptr(service), uintptr(eventType), uintptr(callback), uintptr(callbackCtx), uintptr(unsafe.Pointer(subscription))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -3873,12 +3929,12 @@ func UnsubscribeServiceChangeNotifications(subscription uintptr) (err error) { if err != nil { return } - syscall.Syscall(procUnsubscribeServiceChangeNotifications.Addr(), 1, uintptr(subscription), 0, 0) + syscall.SyscallN(procUnsubscribeServiceChangeNotifications.Addr(), uintptr(subscription)) return } func GetUserNameEx(nameFormat uint32, nameBuffre *uint16, nSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetUserNameExW.Addr(), 3, uintptr(nameFormat), uintptr(unsafe.Pointer(nameBuffre)), uintptr(unsafe.Pointer(nSize))) + r1, _, e1 := syscall.SyscallN(procGetUserNameExW.Addr(), uintptr(nameFormat), uintptr(unsafe.Pointer(nameBuffre)), uintptr(unsafe.Pointer(nSize))) if r1&0xff == 0 { err = errnoErr(e1) } @@ -3886,7 +3942,7 @@ func GetUserNameEx(nameFormat uint32, nameBuffre *uint16, nSize *uint32) (err er } func TranslateName(accName *uint16, accNameFormat uint32, desiredNameFormat uint32, translatedName *uint16, nSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procTranslateNameW.Addr(), 5, uintptr(unsafe.Pointer(accName)), uintptr(accNameFormat), uintptr(desiredNameFormat), uintptr(unsafe.Pointer(translatedName)), uintptr(unsafe.Pointer(nSize)), 0) + r1, _, e1 := syscall.SyscallN(procTranslateNameW.Addr(), uintptr(unsafe.Pointer(accName)), uintptr(accNameFormat), uintptr(desiredNameFormat), uintptr(unsafe.Pointer(translatedName)), uintptr(unsafe.Pointer(nSize))) if r1&0xff == 0 { err = errnoErr(e1) } @@ -3894,7 +3950,7 @@ func TranslateName(accName *uint16, accNameFormat uint32, desiredNameFormat uint } func SetupDiBuildDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiBuildDriverInfoList.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType)) + r1, _, e1 := syscall.SyscallN(procSetupDiBuildDriverInfoList.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType)) if r1 == 0 { err = errnoErr(e1) } @@ -3902,7 +3958,7 @@ func SetupDiBuildDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoDa } func SetupDiCallClassInstaller(installFunction DI_FUNCTION, deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiCallClassInstaller.Addr(), 3, uintptr(installFunction), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData))) + r1, _, e1 := syscall.SyscallN(procSetupDiCallClassInstaller.Addr(), uintptr(installFunction), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -3910,7 +3966,7 @@ func SetupDiCallClassInstaller(installFunction DI_FUNCTION, deviceInfoSet DevInf } func SetupDiCancelDriverInfoSearch(deviceInfoSet DevInfo) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiCancelDriverInfoSearch.Addr(), 1, uintptr(deviceInfoSet), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetupDiCancelDriverInfoSearch.Addr(), uintptr(deviceInfoSet)) if r1 == 0 { err = errnoErr(e1) } @@ -3918,7 +3974,7 @@ func SetupDiCancelDriverInfoSearch(deviceInfoSet DevInfo) (err error) { } func setupDiClassGuidsFromNameEx(className *uint16, classGuidList *GUID, classGuidListSize uint32, requiredSize *uint32, machineName *uint16, reserved uintptr) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiClassGuidsFromNameExW.Addr(), 6, uintptr(unsafe.Pointer(className)), uintptr(unsafe.Pointer(classGuidList)), uintptr(classGuidListSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) + r1, _, e1 := syscall.SyscallN(procSetupDiClassGuidsFromNameExW.Addr(), uintptr(unsafe.Pointer(className)), uintptr(unsafe.Pointer(classGuidList)), uintptr(classGuidListSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) if r1 == 0 { err = errnoErr(e1) } @@ -3926,7 +3982,7 @@ func setupDiClassGuidsFromNameEx(className *uint16, classGuidList *GUID, classGu } func setupDiClassNameFromGuidEx(classGUID *GUID, className *uint16, classNameSize uint32, requiredSize *uint32, machineName *uint16, reserved uintptr) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiClassNameFromGuidExW.Addr(), 6, uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(className)), uintptr(classNameSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) + r1, _, e1 := syscall.SyscallN(procSetupDiClassNameFromGuidExW.Addr(), uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(className)), uintptr(classNameSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) if r1 == 0 { err = errnoErr(e1) } @@ -3934,7 +3990,7 @@ func setupDiClassNameFromGuidEx(classGUID *GUID, className *uint16, classNameSiz } func setupDiCreateDeviceInfoListEx(classGUID *GUID, hwndParent uintptr, machineName *uint16, reserved uintptr) (handle DevInfo, err error) { - r0, _, e1 := syscall.Syscall6(procSetupDiCreateDeviceInfoListExW.Addr(), 4, uintptr(unsafe.Pointer(classGUID)), uintptr(hwndParent), uintptr(unsafe.Pointer(machineName)), uintptr(reserved), 0, 0) + r0, _, e1 := syscall.SyscallN(procSetupDiCreateDeviceInfoListExW.Addr(), uintptr(unsafe.Pointer(classGUID)), uintptr(hwndParent), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) handle = DevInfo(r0) if handle == DevInfo(InvalidHandle) { err = errnoErr(e1) @@ -3943,7 +3999,7 @@ func setupDiCreateDeviceInfoListEx(classGUID *GUID, hwndParent uintptr, machineN } func setupDiCreateDeviceInfo(deviceInfoSet DevInfo, DeviceName *uint16, classGUID *GUID, DeviceDescription *uint16, hwndParent uintptr, CreationFlags DICD, deviceInfoData *DevInfoData) (err error) { - r1, _, e1 := syscall.Syscall9(procSetupDiCreateDeviceInfoW.Addr(), 7, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(DeviceName)), uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(DeviceDescription)), uintptr(hwndParent), uintptr(CreationFlags), uintptr(unsafe.Pointer(deviceInfoData)), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetupDiCreateDeviceInfoW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(DeviceName)), uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(DeviceDescription)), uintptr(hwndParent), uintptr(CreationFlags), uintptr(unsafe.Pointer(deviceInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -3951,7 +4007,7 @@ func setupDiCreateDeviceInfo(deviceInfoSet DevInfo, DeviceName *uint16, classGUI } func SetupDiDestroyDeviceInfoList(deviceInfoSet DevInfo) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiDestroyDeviceInfoList.Addr(), 1, uintptr(deviceInfoSet), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetupDiDestroyDeviceInfoList.Addr(), uintptr(deviceInfoSet)) if r1 == 0 { err = errnoErr(e1) } @@ -3959,7 +4015,7 @@ func SetupDiDestroyDeviceInfoList(deviceInfoSet DevInfo) (err error) { } func SetupDiDestroyDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiDestroyDriverInfoList.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType)) + r1, _, e1 := syscall.SyscallN(procSetupDiDestroyDriverInfoList.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType)) if r1 == 0 { err = errnoErr(e1) } @@ -3967,7 +4023,7 @@ func SetupDiDestroyDriverInfoList(deviceInfoSet DevInfo, deviceInfoData *DevInfo } func setupDiEnumDeviceInfo(deviceInfoSet DevInfo, memberIndex uint32, deviceInfoData *DevInfoData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiEnumDeviceInfo.Addr(), 3, uintptr(deviceInfoSet), uintptr(memberIndex), uintptr(unsafe.Pointer(deviceInfoData))) + r1, _, e1 := syscall.SyscallN(procSetupDiEnumDeviceInfo.Addr(), uintptr(deviceInfoSet), uintptr(memberIndex), uintptr(unsafe.Pointer(deviceInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -3975,7 +4031,7 @@ func setupDiEnumDeviceInfo(deviceInfoSet DevInfo, memberIndex uint32, deviceInfo } func setupDiEnumDriverInfo(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverType SPDIT, memberIndex uint32, driverInfoData *DrvInfoData) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiEnumDriverInfoW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType), uintptr(memberIndex), uintptr(unsafe.Pointer(driverInfoData)), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiEnumDriverInfoW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(driverType), uintptr(memberIndex), uintptr(unsafe.Pointer(driverInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -3983,7 +4039,7 @@ func setupDiEnumDriverInfo(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, d } func setupDiGetClassDevsEx(classGUID *GUID, Enumerator *uint16, hwndParent uintptr, Flags DIGCF, deviceInfoSet DevInfo, machineName *uint16, reserved uintptr) (handle DevInfo, err error) { - r0, _, e1 := syscall.Syscall9(procSetupDiGetClassDevsExW.Addr(), 7, uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(Enumerator)), uintptr(hwndParent), uintptr(Flags), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(machineName)), uintptr(reserved), 0, 0) + r0, _, e1 := syscall.SyscallN(procSetupDiGetClassDevsExW.Addr(), uintptr(unsafe.Pointer(classGUID)), uintptr(unsafe.Pointer(Enumerator)), uintptr(hwndParent), uintptr(Flags), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(machineName)), uintptr(reserved)) handle = DevInfo(r0) if handle == DevInfo(InvalidHandle) { err = errnoErr(e1) @@ -3992,7 +4048,7 @@ func setupDiGetClassDevsEx(classGUID *GUID, Enumerator *uint16, hwndParent uintp } func SetupDiGetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32, requiredSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiGetClassInstallParamsW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(classInstallParams)), uintptr(classInstallParamsSize), uintptr(unsafe.Pointer(requiredSize)), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiGetClassInstallParamsW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(classInstallParams)), uintptr(classInstallParamsSize), uintptr(unsafe.Pointer(requiredSize))) if r1 == 0 { err = errnoErr(e1) } @@ -4000,7 +4056,7 @@ func SetupDiGetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfo } func setupDiGetDeviceInfoListDetail(deviceInfoSet DevInfo, deviceInfoSetDetailData *DevInfoListDetailData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiGetDeviceInfoListDetailW.Addr(), 2, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoSetDetailData)), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiGetDeviceInfoListDetailW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoSetDetailData))) if r1 == 0 { err = errnoErr(e1) } @@ -4008,7 +4064,7 @@ func setupDiGetDeviceInfoListDetail(deviceInfoSet DevInfo, deviceInfoSetDetailDa } func setupDiGetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiGetDeviceInstallParamsW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(deviceInstallParams))) + r1, _, e1 := syscall.SyscallN(procSetupDiGetDeviceInstallParamsW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(deviceInstallParams))) if r1 == 0 { err = errnoErr(e1) } @@ -4016,7 +4072,7 @@ func setupDiGetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInf } func setupDiGetDeviceInstanceId(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, instanceId *uint16, instanceIdSize uint32, instanceIdRequiredSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiGetDeviceInstanceIdW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(instanceId)), uintptr(instanceIdSize), uintptr(unsafe.Pointer(instanceIdRequiredSize)), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiGetDeviceInstanceIdW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(instanceId)), uintptr(instanceIdSize), uintptr(unsafe.Pointer(instanceIdRequiredSize))) if r1 == 0 { err = errnoErr(e1) } @@ -4024,7 +4080,7 @@ func setupDiGetDeviceInstanceId(deviceInfoSet DevInfo, deviceInfoData *DevInfoDa } func setupDiGetDeviceProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, propertyKey *DEVPROPKEY, propertyType *DEVPROPTYPE, propertyBuffer *byte, propertyBufferSize uint32, requiredSize *uint32, flags uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procSetupDiGetDevicePropertyW.Addr(), 8, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(propertyKey)), uintptr(unsafe.Pointer(propertyType)), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(flags), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiGetDevicePropertyW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(propertyKey)), uintptr(unsafe.Pointer(propertyType)), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), uintptr(unsafe.Pointer(requiredSize)), uintptr(flags)) if r1 == 0 { err = errnoErr(e1) } @@ -4032,7 +4088,7 @@ func setupDiGetDeviceProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData } func setupDiGetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyRegDataType *uint32, propertyBuffer *byte, propertyBufferSize uint32, requiredSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall9(procSetupDiGetDeviceRegistryPropertyW.Addr(), 7, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(property), uintptr(unsafe.Pointer(propertyRegDataType)), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), uintptr(unsafe.Pointer(requiredSize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetupDiGetDeviceRegistryPropertyW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(property), uintptr(unsafe.Pointer(propertyRegDataType)), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), uintptr(unsafe.Pointer(requiredSize))) if r1 == 0 { err = errnoErr(e1) } @@ -4040,7 +4096,7 @@ func setupDiGetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *Dev } func setupDiGetDriverInfoDetail(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData, driverInfoDetailData *DrvInfoDetailData, driverInfoDetailDataSize uint32, requiredSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiGetDriverInfoDetailW.Addr(), 6, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData)), uintptr(unsafe.Pointer(driverInfoDetailData)), uintptr(driverInfoDetailDataSize), uintptr(unsafe.Pointer(requiredSize))) + r1, _, e1 := syscall.SyscallN(procSetupDiGetDriverInfoDetailW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData)), uintptr(unsafe.Pointer(driverInfoDetailData)), uintptr(driverInfoDetailDataSize), uintptr(unsafe.Pointer(requiredSize))) if r1 == 0 { err = errnoErr(e1) } @@ -4048,7 +4104,7 @@ func setupDiGetDriverInfoDetail(deviceInfoSet DevInfo, deviceInfoData *DevInfoDa } func setupDiGetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiGetSelectedDevice.Addr(), 2, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiGetSelectedDevice.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -4056,7 +4112,7 @@ func setupDiGetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData } func setupDiGetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiGetSelectedDriverW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData))) + r1, _, e1 := syscall.SyscallN(procSetupDiGetSelectedDriverW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -4064,7 +4120,7 @@ func setupDiGetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData } func SetupDiOpenDevRegKey(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, Scope DICS_FLAG, HwProfile uint32, KeyType DIREG, samDesired uint32) (key Handle, err error) { - r0, _, e1 := syscall.Syscall6(procSetupDiOpenDevRegKey.Addr(), 6, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(Scope), uintptr(HwProfile), uintptr(KeyType), uintptr(samDesired)) + r0, _, e1 := syscall.SyscallN(procSetupDiOpenDevRegKey.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(Scope), uintptr(HwProfile), uintptr(KeyType), uintptr(samDesired)) key = Handle(r0) if key == InvalidHandle { err = errnoErr(e1) @@ -4073,7 +4129,7 @@ func SetupDiOpenDevRegKey(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, Sc } func SetupDiSetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, classInstallParams *ClassInstallHeader, classInstallParamsSize uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiSetClassInstallParamsW.Addr(), 4, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(classInstallParams)), uintptr(classInstallParamsSize), 0, 0) + r1, _, e1 := syscall.SyscallN(procSetupDiSetClassInstallParamsW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(classInstallParams)), uintptr(classInstallParamsSize)) if r1 == 0 { err = errnoErr(e1) } @@ -4081,7 +4137,7 @@ func SetupDiSetClassInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfo } func SetupDiSetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, deviceInstallParams *DevInstallParams) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiSetDeviceInstallParamsW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(deviceInstallParams))) + r1, _, e1 := syscall.SyscallN(procSetupDiSetDeviceInstallParamsW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(deviceInstallParams))) if r1 == 0 { err = errnoErr(e1) } @@ -4089,7 +4145,7 @@ func SetupDiSetDeviceInstallParams(deviceInfoSet DevInfo, deviceInfoData *DevInf } func setupDiSetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, property SPDRP, propertyBuffer *byte, propertyBufferSize uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procSetupDiSetDeviceRegistryPropertyW.Addr(), 5, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(property), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiSetDeviceRegistryPropertyW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(property), uintptr(unsafe.Pointer(propertyBuffer)), uintptr(propertyBufferSize)) if r1 == 0 { err = errnoErr(e1) } @@ -4097,7 +4153,7 @@ func setupDiSetDeviceRegistryProperty(deviceInfoSet DevInfo, deviceInfoData *Dev } func SetupDiSetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiSetSelectedDevice.Addr(), 2, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), 0) + r1, _, e1 := syscall.SyscallN(procSetupDiSetSelectedDevice.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -4105,7 +4161,7 @@ func SetupDiSetSelectedDevice(deviceInfoSet DevInfo, deviceInfoData *DevInfoData } func SetupDiSetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData, driverInfoData *DrvInfoData) (err error) { - r1, _, e1 := syscall.Syscall(procSetupDiSetSelectedDriverW.Addr(), 3, uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData))) + r1, _, e1 := syscall.SyscallN(procSetupDiSetSelectedDriverW.Addr(), uintptr(deviceInfoSet), uintptr(unsafe.Pointer(deviceInfoData)), uintptr(unsafe.Pointer(driverInfoData))) if r1 == 0 { err = errnoErr(e1) } @@ -4113,7 +4169,7 @@ func SetupDiSetSelectedDriver(deviceInfoSet DevInfo, deviceInfoData *DevInfoData } func setupUninstallOEMInf(infFileName *uint16, flags SUOI, reserved uintptr) (err error) { - r1, _, e1 := syscall.Syscall(procSetupUninstallOEMInfW.Addr(), 3, uintptr(unsafe.Pointer(infFileName)), uintptr(flags), uintptr(reserved)) + r1, _, e1 := syscall.SyscallN(procSetupUninstallOEMInfW.Addr(), uintptr(unsafe.Pointer(infFileName)), uintptr(flags), uintptr(reserved)) if r1 == 0 { err = errnoErr(e1) } @@ -4121,7 +4177,7 @@ func setupUninstallOEMInf(infFileName *uint16, flags SUOI, reserved uintptr) (er } func commandLineToArgv(cmd *uint16, argc *int32) (argv **uint16, err error) { - r0, _, e1 := syscall.Syscall(procCommandLineToArgvW.Addr(), 2, uintptr(unsafe.Pointer(cmd)), uintptr(unsafe.Pointer(argc)), 0) + r0, _, e1 := syscall.SyscallN(procCommandLineToArgvW.Addr(), uintptr(unsafe.Pointer(cmd)), uintptr(unsafe.Pointer(argc))) argv = (**uint16)(unsafe.Pointer(r0)) if argv == nil { err = errnoErr(e1) @@ -4130,7 +4186,7 @@ func commandLineToArgv(cmd *uint16, argc *int32) (argv **uint16, err error) { } func shGetKnownFolderPath(id *KNOWNFOLDERID, flags uint32, token Token, path **uint16) (ret error) { - r0, _, _ := syscall.Syscall6(procSHGetKnownFolderPath.Addr(), 4, uintptr(unsafe.Pointer(id)), uintptr(flags), uintptr(token), uintptr(unsafe.Pointer(path)), 0, 0) + r0, _, _ := syscall.SyscallN(procSHGetKnownFolderPath.Addr(), uintptr(unsafe.Pointer(id)), uintptr(flags), uintptr(token), uintptr(unsafe.Pointer(path))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -4138,7 +4194,7 @@ func shGetKnownFolderPath(id *KNOWNFOLDERID, flags uint32, token Token, path **u } func ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int32) (err error) { - r1, _, e1 := syscall.Syscall6(procShellExecuteW.Addr(), 6, uintptr(hwnd), uintptr(unsafe.Pointer(verb)), uintptr(unsafe.Pointer(file)), uintptr(unsafe.Pointer(args)), uintptr(unsafe.Pointer(cwd)), uintptr(showCmd)) + r1, _, e1 := syscall.SyscallN(procShellExecuteW.Addr(), uintptr(hwnd), uintptr(unsafe.Pointer(verb)), uintptr(unsafe.Pointer(file)), uintptr(unsafe.Pointer(args)), uintptr(unsafe.Pointer(cwd)), uintptr(showCmd)) if r1 <= 32 { err = errnoErr(e1) } @@ -4146,12 +4202,12 @@ func ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *ui } func EnumChildWindows(hwnd HWND, enumFunc uintptr, param unsafe.Pointer) { - syscall.Syscall(procEnumChildWindows.Addr(), 3, uintptr(hwnd), uintptr(enumFunc), uintptr(param)) + syscall.SyscallN(procEnumChildWindows.Addr(), uintptr(hwnd), uintptr(enumFunc), uintptr(param)) return } func EnumWindows(enumFunc uintptr, param unsafe.Pointer) (err error) { - r1, _, e1 := syscall.Syscall(procEnumWindows.Addr(), 2, uintptr(enumFunc), uintptr(param), 0) + r1, _, e1 := syscall.SyscallN(procEnumWindows.Addr(), uintptr(enumFunc), uintptr(param)) if r1 == 0 { err = errnoErr(e1) } @@ -4159,7 +4215,7 @@ func EnumWindows(enumFunc uintptr, param unsafe.Pointer) (err error) { } func ExitWindowsEx(flags uint32, reason uint32) (err error) { - r1, _, e1 := syscall.Syscall(procExitWindowsEx.Addr(), 2, uintptr(flags), uintptr(reason), 0) + r1, _, e1 := syscall.SyscallN(procExitWindowsEx.Addr(), uintptr(flags), uintptr(reason)) if r1 == 0 { err = errnoErr(e1) } @@ -4167,7 +4223,7 @@ func ExitWindowsEx(flags uint32, reason uint32) (err error) { } func GetClassName(hwnd HWND, className *uint16, maxCount int32) (copied int32, err error) { - r0, _, e1 := syscall.Syscall(procGetClassNameW.Addr(), 3, uintptr(hwnd), uintptr(unsafe.Pointer(className)), uintptr(maxCount)) + r0, _, e1 := syscall.SyscallN(procGetClassNameW.Addr(), uintptr(hwnd), uintptr(unsafe.Pointer(className)), uintptr(maxCount)) copied = int32(r0) if copied == 0 { err = errnoErr(e1) @@ -4176,19 +4232,19 @@ func GetClassName(hwnd HWND, className *uint16, maxCount int32) (copied int32, e } func GetDesktopWindow() (hwnd HWND) { - r0, _, _ := syscall.Syscall(procGetDesktopWindow.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetDesktopWindow.Addr()) hwnd = HWND(r0) return } func GetForegroundWindow() (hwnd HWND) { - r0, _, _ := syscall.Syscall(procGetForegroundWindow.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetForegroundWindow.Addr()) hwnd = HWND(r0) return } func GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) { - r1, _, e1 := syscall.Syscall(procGetGUIThreadInfo.Addr(), 2, uintptr(thread), uintptr(unsafe.Pointer(info)), 0) + r1, _, e1 := syscall.SyscallN(procGetGUIThreadInfo.Addr(), uintptr(thread), uintptr(unsafe.Pointer(info))) if r1 == 0 { err = errnoErr(e1) } @@ -4196,19 +4252,19 @@ func GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) { } func GetKeyboardLayout(tid uint32) (hkl Handle) { - r0, _, _ := syscall.Syscall(procGetKeyboardLayout.Addr(), 1, uintptr(tid), 0, 0) + r0, _, _ := syscall.SyscallN(procGetKeyboardLayout.Addr(), uintptr(tid)) hkl = Handle(r0) return } func GetShellWindow() (shellWindow HWND) { - r0, _, _ := syscall.Syscall(procGetShellWindow.Addr(), 0, 0, 0, 0) + r0, _, _ := syscall.SyscallN(procGetShellWindow.Addr()) shellWindow = HWND(r0) return } func GetWindowThreadProcessId(hwnd HWND, pid *uint32) (tid uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetWindowThreadProcessId.Addr(), 2, uintptr(hwnd), uintptr(unsafe.Pointer(pid)), 0) + r0, _, e1 := syscall.SyscallN(procGetWindowThreadProcessId.Addr(), uintptr(hwnd), uintptr(unsafe.Pointer(pid))) tid = uint32(r0) if tid == 0 { err = errnoErr(e1) @@ -4217,25 +4273,25 @@ func GetWindowThreadProcessId(hwnd HWND, pid *uint32) (tid uint32, err error) { } func IsWindow(hwnd HWND) (isWindow bool) { - r0, _, _ := syscall.Syscall(procIsWindow.Addr(), 1, uintptr(hwnd), 0, 0) + r0, _, _ := syscall.SyscallN(procIsWindow.Addr(), uintptr(hwnd)) isWindow = r0 != 0 return } func IsWindowUnicode(hwnd HWND) (isUnicode bool) { - r0, _, _ := syscall.Syscall(procIsWindowUnicode.Addr(), 1, uintptr(hwnd), 0, 0) + r0, _, _ := syscall.SyscallN(procIsWindowUnicode.Addr(), uintptr(hwnd)) isUnicode = r0 != 0 return } func IsWindowVisible(hwnd HWND) (isVisible bool) { - r0, _, _ := syscall.Syscall(procIsWindowVisible.Addr(), 1, uintptr(hwnd), 0, 0) + r0, _, _ := syscall.SyscallN(procIsWindowVisible.Addr(), uintptr(hwnd)) isVisible = r0 != 0 return } func LoadKeyboardLayout(name *uint16, flags uint32) (hkl Handle, err error) { - r0, _, e1 := syscall.Syscall(procLoadKeyboardLayoutW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(flags), 0) + r0, _, e1 := syscall.SyscallN(procLoadKeyboardLayoutW.Addr(), uintptr(unsafe.Pointer(name)), uintptr(flags)) hkl = Handle(r0) if hkl == 0 { err = errnoErr(e1) @@ -4244,7 +4300,7 @@ func LoadKeyboardLayout(name *uint16, flags uint32) (hkl Handle, err error) { } func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret int32, err error) { - r0, _, e1 := syscall.Syscall6(procMessageBoxW.Addr(), 4, uintptr(hwnd), uintptr(unsafe.Pointer(text)), uintptr(unsafe.Pointer(caption)), uintptr(boxtype), 0, 0) + r0, _, e1 := syscall.SyscallN(procMessageBoxW.Addr(), uintptr(hwnd), uintptr(unsafe.Pointer(text)), uintptr(unsafe.Pointer(caption)), uintptr(boxtype)) ret = int32(r0) if ret == 0 { err = errnoErr(e1) @@ -4253,13 +4309,13 @@ func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret i } func ToUnicodeEx(vkey uint32, scancode uint32, keystate *byte, pwszBuff *uint16, cchBuff int32, flags uint32, hkl Handle) (ret int32) { - r0, _, _ := syscall.Syscall9(procToUnicodeEx.Addr(), 7, uintptr(vkey), uintptr(scancode), uintptr(unsafe.Pointer(keystate)), uintptr(unsafe.Pointer(pwszBuff)), uintptr(cchBuff), uintptr(flags), uintptr(hkl), 0, 0) + r0, _, _ := syscall.SyscallN(procToUnicodeEx.Addr(), uintptr(vkey), uintptr(scancode), uintptr(unsafe.Pointer(keystate)), uintptr(unsafe.Pointer(pwszBuff)), uintptr(cchBuff), uintptr(flags), uintptr(hkl)) ret = int32(r0) return } func UnloadKeyboardLayout(hkl Handle) (err error) { - r1, _, e1 := syscall.Syscall(procUnloadKeyboardLayout.Addr(), 1, uintptr(hkl), 0, 0) + r1, _, e1 := syscall.SyscallN(procUnloadKeyboardLayout.Addr(), uintptr(hkl)) if r1 == 0 { err = errnoErr(e1) } @@ -4271,7 +4327,7 @@ func CreateEnvironmentBlock(block **uint16, token Token, inheritExisting bool) ( if inheritExisting { _p0 = 1 } - r1, _, e1 := syscall.Syscall(procCreateEnvironmentBlock.Addr(), 3, uintptr(unsafe.Pointer(block)), uintptr(token), uintptr(_p0)) + r1, _, e1 := syscall.SyscallN(procCreateEnvironmentBlock.Addr(), uintptr(unsafe.Pointer(block)), uintptr(token), uintptr(_p0)) if r1 == 0 { err = errnoErr(e1) } @@ -4279,7 +4335,7 @@ func CreateEnvironmentBlock(block **uint16, token Token, inheritExisting bool) ( } func DestroyEnvironmentBlock(block *uint16) (err error) { - r1, _, e1 := syscall.Syscall(procDestroyEnvironmentBlock.Addr(), 1, uintptr(unsafe.Pointer(block)), 0, 0) + r1, _, e1 := syscall.SyscallN(procDestroyEnvironmentBlock.Addr(), uintptr(unsafe.Pointer(block))) if r1 == 0 { err = errnoErr(e1) } @@ -4287,7 +4343,7 @@ func DestroyEnvironmentBlock(block *uint16) (err error) { } func GetUserProfileDirectory(t Token, dir *uint16, dirLen *uint32) (err error) { - r1, _, e1 := syscall.Syscall(procGetUserProfileDirectoryW.Addr(), 3, uintptr(t), uintptr(unsafe.Pointer(dir)), uintptr(unsafe.Pointer(dirLen))) + r1, _, e1 := syscall.SyscallN(procGetUserProfileDirectoryW.Addr(), uintptr(t), uintptr(unsafe.Pointer(dir)), uintptr(unsafe.Pointer(dirLen))) if r1 == 0 { err = errnoErr(e1) } @@ -4304,7 +4360,7 @@ func GetFileVersionInfoSize(filename string, zeroHandle *Handle) (bufSize uint32 } func _GetFileVersionInfoSize(filename *uint16, zeroHandle *Handle) (bufSize uint32, err error) { - r0, _, e1 := syscall.Syscall(procGetFileVersionInfoSizeW.Addr(), 2, uintptr(unsafe.Pointer(filename)), uintptr(unsafe.Pointer(zeroHandle)), 0) + r0, _, e1 := syscall.SyscallN(procGetFileVersionInfoSizeW.Addr(), uintptr(unsafe.Pointer(filename)), uintptr(unsafe.Pointer(zeroHandle))) bufSize = uint32(r0) if bufSize == 0 { err = errnoErr(e1) @@ -4322,7 +4378,7 @@ func GetFileVersionInfo(filename string, handle uint32, bufSize uint32, buffer u } func _GetFileVersionInfo(filename *uint16, handle uint32, bufSize uint32, buffer unsafe.Pointer) (err error) { - r1, _, e1 := syscall.Syscall6(procGetFileVersionInfoW.Addr(), 4, uintptr(unsafe.Pointer(filename)), uintptr(handle), uintptr(bufSize), uintptr(buffer), 0, 0) + r1, _, e1 := syscall.SyscallN(procGetFileVersionInfoW.Addr(), uintptr(unsafe.Pointer(filename)), uintptr(handle), uintptr(bufSize), uintptr(buffer)) if r1 == 0 { err = errnoErr(e1) } @@ -4339,7 +4395,7 @@ func VerQueryValue(block unsafe.Pointer, subBlock string, pointerToBufferPointer } func _VerQueryValue(block unsafe.Pointer, subBlock *uint16, pointerToBufferPointer unsafe.Pointer, bufSize *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procVerQueryValueW.Addr(), 4, uintptr(block), uintptr(unsafe.Pointer(subBlock)), uintptr(pointerToBufferPointer), uintptr(unsafe.Pointer(bufSize)), 0, 0) + r1, _, e1 := syscall.SyscallN(procVerQueryValueW.Addr(), uintptr(block), uintptr(unsafe.Pointer(subBlock)), uintptr(pointerToBufferPointer), uintptr(unsafe.Pointer(bufSize))) if r1 == 0 { err = errnoErr(e1) } @@ -4347,7 +4403,7 @@ func _VerQueryValue(block unsafe.Pointer, subBlock *uint16, pointerToBufferPoint } func TimeBeginPeriod(period uint32) (err error) { - r1, _, e1 := syscall.Syscall(proctimeBeginPeriod.Addr(), 1, uintptr(period), 0, 0) + r1, _, e1 := syscall.SyscallN(proctimeBeginPeriod.Addr(), uintptr(period)) if r1 != 0 { err = errnoErr(e1) } @@ -4355,7 +4411,7 @@ func TimeBeginPeriod(period uint32) (err error) { } func TimeEndPeriod(period uint32) (err error) { - r1, _, e1 := syscall.Syscall(proctimeEndPeriod.Addr(), 1, uintptr(period), 0, 0) + r1, _, e1 := syscall.SyscallN(proctimeEndPeriod.Addr(), uintptr(period)) if r1 != 0 { err = errnoErr(e1) } @@ -4363,7 +4419,7 @@ func TimeEndPeriod(period uint32) (err error) { } func WinVerifyTrustEx(hwnd HWND, actionId *GUID, data *WinTrustData) (ret error) { - r0, _, _ := syscall.Syscall(procWinVerifyTrustEx.Addr(), 3, uintptr(hwnd), uintptr(unsafe.Pointer(actionId)), uintptr(unsafe.Pointer(data))) + r0, _, _ := syscall.SyscallN(procWinVerifyTrustEx.Addr(), uintptr(hwnd), uintptr(unsafe.Pointer(actionId)), uintptr(unsafe.Pointer(data))) if r0 != 0 { ret = syscall.Errno(r0) } @@ -4371,12 +4427,12 @@ func WinVerifyTrustEx(hwnd HWND, actionId *GUID, data *WinTrustData) (ret error) } func FreeAddrInfoW(addrinfo *AddrinfoW) { - syscall.Syscall(procFreeAddrInfoW.Addr(), 1, uintptr(unsafe.Pointer(addrinfo)), 0, 0) + syscall.SyscallN(procFreeAddrInfoW.Addr(), uintptr(unsafe.Pointer(addrinfo))) return } func GetAddrInfoW(nodename *uint16, servicename *uint16, hints *AddrinfoW, result **AddrinfoW) (sockerr error) { - r0, _, _ := syscall.Syscall6(procGetAddrInfoW.Addr(), 4, uintptr(unsafe.Pointer(nodename)), uintptr(unsafe.Pointer(servicename)), uintptr(unsafe.Pointer(hints)), uintptr(unsafe.Pointer(result)), 0, 0) + r0, _, _ := syscall.SyscallN(procGetAddrInfoW.Addr(), uintptr(unsafe.Pointer(nodename)), uintptr(unsafe.Pointer(servicename)), uintptr(unsafe.Pointer(hints)), uintptr(unsafe.Pointer(result))) if r0 != 0 { sockerr = syscall.Errno(r0) } @@ -4384,15 +4440,23 @@ func GetAddrInfoW(nodename *uint16, servicename *uint16, hints *AddrinfoW, resul } func WSACleanup() (err error) { - r1, _, e1 := syscall.Syscall(procWSACleanup.Addr(), 0, 0, 0, 0) + r1, _, e1 := syscall.SyscallN(procWSACleanup.Addr()) if r1 == socket_error { err = errnoErr(e1) } return } +func WSADuplicateSocket(s Handle, processID uint32, info *WSAProtocolInfo) (err error) { + r1, _, e1 := syscall.SyscallN(procWSADuplicateSocketW.Addr(), uintptr(s), uintptr(processID), uintptr(unsafe.Pointer(info))) + if r1 != 0 { + err = errnoErr(e1) + } + return +} + func WSAEnumProtocols(protocols *int32, protocolBuffer *WSAProtocolInfo, bufferLength *uint32) (n int32, err error) { - r0, _, e1 := syscall.Syscall(procWSAEnumProtocolsW.Addr(), 3, uintptr(unsafe.Pointer(protocols)), uintptr(unsafe.Pointer(protocolBuffer)), uintptr(unsafe.Pointer(bufferLength))) + r0, _, e1 := syscall.SyscallN(procWSAEnumProtocolsW.Addr(), uintptr(unsafe.Pointer(protocols)), uintptr(unsafe.Pointer(protocolBuffer)), uintptr(unsafe.Pointer(bufferLength))) n = int32(r0) if n == -1 { err = errnoErr(e1) @@ -4405,7 +4469,7 @@ func WSAGetOverlappedResult(h Handle, o *Overlapped, bytes *uint32, wait bool, f if wait { _p0 = 1 } - r1, _, e1 := syscall.Syscall6(procWSAGetOverlappedResult.Addr(), 5, uintptr(h), uintptr(unsafe.Pointer(o)), uintptr(unsafe.Pointer(bytes)), uintptr(_p0), uintptr(unsafe.Pointer(flags)), 0) + r1, _, e1 := syscall.SyscallN(procWSAGetOverlappedResult.Addr(), uintptr(h), uintptr(unsafe.Pointer(o)), uintptr(unsafe.Pointer(bytes)), uintptr(_p0), uintptr(unsafe.Pointer(flags))) if r1 == 0 { err = errnoErr(e1) } @@ -4413,7 +4477,7 @@ func WSAGetOverlappedResult(h Handle, o *Overlapped, bytes *uint32, wait bool, f } func WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbob uint32, cbbr *uint32, overlapped *Overlapped, completionRoutine uintptr) (err error) { - r1, _, e1 := syscall.Syscall9(procWSAIoctl.Addr(), 9, uintptr(s), uintptr(iocc), uintptr(unsafe.Pointer(inbuf)), uintptr(cbif), uintptr(unsafe.Pointer(outbuf)), uintptr(cbob), uintptr(unsafe.Pointer(cbbr)), uintptr(unsafe.Pointer(overlapped)), uintptr(completionRoutine)) + r1, _, e1 := syscall.SyscallN(procWSAIoctl.Addr(), uintptr(s), uintptr(iocc), uintptr(unsafe.Pointer(inbuf)), uintptr(cbif), uintptr(unsafe.Pointer(outbuf)), uintptr(cbob), uintptr(unsafe.Pointer(cbbr)), uintptr(unsafe.Pointer(overlapped)), uintptr(completionRoutine)) if r1 == socket_error { err = errnoErr(e1) } @@ -4421,7 +4485,7 @@ func WSAIoctl(s Handle, iocc uint32, inbuf *byte, cbif uint32, outbuf *byte, cbo } func WSALookupServiceBegin(querySet *WSAQUERYSET, flags uint32, handle *Handle) (err error) { - r1, _, e1 := syscall.Syscall(procWSALookupServiceBeginW.Addr(), 3, uintptr(unsafe.Pointer(querySet)), uintptr(flags), uintptr(unsafe.Pointer(handle))) + r1, _, e1 := syscall.SyscallN(procWSALookupServiceBeginW.Addr(), uintptr(unsafe.Pointer(querySet)), uintptr(flags), uintptr(unsafe.Pointer(handle))) if r1 == socket_error { err = errnoErr(e1) } @@ -4429,7 +4493,7 @@ func WSALookupServiceBegin(querySet *WSAQUERYSET, flags uint32, handle *Handle) } func WSALookupServiceEnd(handle Handle) (err error) { - r1, _, e1 := syscall.Syscall(procWSALookupServiceEnd.Addr(), 1, uintptr(handle), 0, 0) + r1, _, e1 := syscall.SyscallN(procWSALookupServiceEnd.Addr(), uintptr(handle)) if r1 == socket_error { err = errnoErr(e1) } @@ -4437,7 +4501,7 @@ func WSALookupServiceEnd(handle Handle) (err error) { } func WSALookupServiceNext(handle Handle, flags uint32, size *int32, querySet *WSAQUERYSET) (err error) { - r1, _, e1 := syscall.Syscall6(procWSALookupServiceNextW.Addr(), 4, uintptr(handle), uintptr(flags), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(querySet)), 0, 0) + r1, _, e1 := syscall.SyscallN(procWSALookupServiceNextW.Addr(), uintptr(handle), uintptr(flags), uintptr(unsafe.Pointer(size)), uintptr(unsafe.Pointer(querySet))) if r1 == socket_error { err = errnoErr(e1) } @@ -4445,7 +4509,7 @@ func WSALookupServiceNext(handle Handle, flags uint32, size *int32, querySet *WS } func WSARecv(s Handle, bufs *WSABuf, bufcnt uint32, recvd *uint32, flags *uint32, overlapped *Overlapped, croutine *byte) (err error) { - r1, _, e1 := syscall.Syscall9(procWSARecv.Addr(), 7, uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(flags)), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine)), 0, 0) + r1, _, e1 := syscall.SyscallN(procWSARecv.Addr(), uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(flags)), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine))) if r1 == socket_error { err = errnoErr(e1) } @@ -4453,7 +4517,7 @@ func WSARecv(s Handle, bufs *WSABuf, bufcnt uint32, recvd *uint32, flags *uint32 } func WSARecvFrom(s Handle, bufs *WSABuf, bufcnt uint32, recvd *uint32, flags *uint32, from *RawSockaddrAny, fromlen *int32, overlapped *Overlapped, croutine *byte) (err error) { - r1, _, e1 := syscall.Syscall9(procWSARecvFrom.Addr(), 9, uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(flags)), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine))) + r1, _, e1 := syscall.SyscallN(procWSARecvFrom.Addr(), uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(recvd)), uintptr(unsafe.Pointer(flags)), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen)), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine))) if r1 == socket_error { err = errnoErr(e1) } @@ -4461,7 +4525,7 @@ func WSARecvFrom(s Handle, bufs *WSABuf, bufcnt uint32, recvd *uint32, flags *ui } func WSASend(s Handle, bufs *WSABuf, bufcnt uint32, sent *uint32, flags uint32, overlapped *Overlapped, croutine *byte) (err error) { - r1, _, e1 := syscall.Syscall9(procWSASend.Addr(), 7, uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(sent)), uintptr(flags), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine)), 0, 0) + r1, _, e1 := syscall.SyscallN(procWSASend.Addr(), uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(sent)), uintptr(flags), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine))) if r1 == socket_error { err = errnoErr(e1) } @@ -4469,7 +4533,7 @@ func WSASend(s Handle, bufs *WSABuf, bufcnt uint32, sent *uint32, flags uint32, } func WSASendTo(s Handle, bufs *WSABuf, bufcnt uint32, sent *uint32, flags uint32, to *RawSockaddrAny, tolen int32, overlapped *Overlapped, croutine *byte) (err error) { - r1, _, e1 := syscall.Syscall9(procWSASendTo.Addr(), 9, uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(sent)), uintptr(flags), uintptr(unsafe.Pointer(to)), uintptr(tolen), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine))) + r1, _, e1 := syscall.SyscallN(procWSASendTo.Addr(), uintptr(s), uintptr(unsafe.Pointer(bufs)), uintptr(bufcnt), uintptr(unsafe.Pointer(sent)), uintptr(flags), uintptr(unsafe.Pointer(to)), uintptr(tolen), uintptr(unsafe.Pointer(overlapped)), uintptr(unsafe.Pointer(croutine))) if r1 == socket_error { err = errnoErr(e1) } @@ -4477,7 +4541,7 @@ func WSASendTo(s Handle, bufs *WSABuf, bufcnt uint32, sent *uint32, flags uint32 } func WSASocket(af int32, typ int32, protocol int32, protoInfo *WSAProtocolInfo, group uint32, flags uint32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall6(procWSASocketW.Addr(), 6, uintptr(af), uintptr(typ), uintptr(protocol), uintptr(unsafe.Pointer(protoInfo)), uintptr(group), uintptr(flags)) + r0, _, e1 := syscall.SyscallN(procWSASocketW.Addr(), uintptr(af), uintptr(typ), uintptr(protocol), uintptr(unsafe.Pointer(protoInfo)), uintptr(group), uintptr(flags)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -4486,7 +4550,7 @@ func WSASocket(af int32, typ int32, protocol int32, protoInfo *WSAProtocolInfo, } func WSAStartup(verreq uint32, data *WSAData) (sockerr error) { - r0, _, _ := syscall.Syscall(procWSAStartup.Addr(), 2, uintptr(verreq), uintptr(unsafe.Pointer(data)), 0) + r0, _, _ := syscall.SyscallN(procWSAStartup.Addr(), uintptr(verreq), uintptr(unsafe.Pointer(data))) if r0 != 0 { sockerr = syscall.Errno(r0) } @@ -4494,7 +4558,7 @@ func WSAStartup(verreq uint32, data *WSAData) (sockerr error) { } func bind(s Handle, name unsafe.Pointer, namelen int32) (err error) { - r1, _, e1 := syscall.Syscall(procbind.Addr(), 3, uintptr(s), uintptr(name), uintptr(namelen)) + r1, _, e1 := syscall.SyscallN(procbind.Addr(), uintptr(s), uintptr(name), uintptr(namelen)) if r1 == socket_error { err = errnoErr(e1) } @@ -4502,7 +4566,7 @@ func bind(s Handle, name unsafe.Pointer, namelen int32) (err error) { } func Closesocket(s Handle) (err error) { - r1, _, e1 := syscall.Syscall(procclosesocket.Addr(), 1, uintptr(s), 0, 0) + r1, _, e1 := syscall.SyscallN(procclosesocket.Addr(), uintptr(s)) if r1 == socket_error { err = errnoErr(e1) } @@ -4510,7 +4574,7 @@ func Closesocket(s Handle) (err error) { } func connect(s Handle, name unsafe.Pointer, namelen int32) (err error) { - r1, _, e1 := syscall.Syscall(procconnect.Addr(), 3, uintptr(s), uintptr(name), uintptr(namelen)) + r1, _, e1 := syscall.SyscallN(procconnect.Addr(), uintptr(s), uintptr(name), uintptr(namelen)) if r1 == socket_error { err = errnoErr(e1) } @@ -4527,7 +4591,7 @@ func GetHostByName(name string) (h *Hostent, err error) { } func _GetHostByName(name *byte) (h *Hostent, err error) { - r0, _, e1 := syscall.Syscall(procgethostbyname.Addr(), 1, uintptr(unsafe.Pointer(name)), 0, 0) + r0, _, e1 := syscall.SyscallN(procgethostbyname.Addr(), uintptr(unsafe.Pointer(name))) h = (*Hostent)(unsafe.Pointer(r0)) if h == nil { err = errnoErr(e1) @@ -4536,7 +4600,7 @@ func _GetHostByName(name *byte) (h *Hostent, err error) { } func getpeername(s Handle, rsa *RawSockaddrAny, addrlen *int32) (err error) { - r1, _, e1 := syscall.Syscall(procgetpeername.Addr(), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + r1, _, e1 := syscall.SyscallN(procgetpeername.Addr(), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) if r1 == socket_error { err = errnoErr(e1) } @@ -4553,7 +4617,7 @@ func GetProtoByName(name string) (p *Protoent, err error) { } func _GetProtoByName(name *byte) (p *Protoent, err error) { - r0, _, e1 := syscall.Syscall(procgetprotobyname.Addr(), 1, uintptr(unsafe.Pointer(name)), 0, 0) + r0, _, e1 := syscall.SyscallN(procgetprotobyname.Addr(), uintptr(unsafe.Pointer(name))) p = (*Protoent)(unsafe.Pointer(r0)) if p == nil { err = errnoErr(e1) @@ -4576,7 +4640,7 @@ func GetServByName(name string, proto string) (s *Servent, err error) { } func _GetServByName(name *byte, proto *byte) (s *Servent, err error) { - r0, _, e1 := syscall.Syscall(procgetservbyname.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(proto)), 0) + r0, _, e1 := syscall.SyscallN(procgetservbyname.Addr(), uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(proto))) s = (*Servent)(unsafe.Pointer(r0)) if s == nil { err = errnoErr(e1) @@ -4585,7 +4649,7 @@ func _GetServByName(name *byte, proto *byte) (s *Servent, err error) { } func getsockname(s Handle, rsa *RawSockaddrAny, addrlen *int32) (err error) { - r1, _, e1 := syscall.Syscall(procgetsockname.Addr(), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + r1, _, e1 := syscall.SyscallN(procgetsockname.Addr(), uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) if r1 == socket_error { err = errnoErr(e1) } @@ -4593,7 +4657,7 @@ func getsockname(s Handle, rsa *RawSockaddrAny, addrlen *int32) (err error) { } func Getsockopt(s Handle, level int32, optname int32, optval *byte, optlen *int32) (err error) { - r1, _, e1 := syscall.Syscall6(procgetsockopt.Addr(), 5, uintptr(s), uintptr(level), uintptr(optname), uintptr(unsafe.Pointer(optval)), uintptr(unsafe.Pointer(optlen)), 0) + r1, _, e1 := syscall.SyscallN(procgetsockopt.Addr(), uintptr(s), uintptr(level), uintptr(optname), uintptr(unsafe.Pointer(optval)), uintptr(unsafe.Pointer(optlen))) if r1 == socket_error { err = errnoErr(e1) } @@ -4601,7 +4665,7 @@ func Getsockopt(s Handle, level int32, optname int32, optval *byte, optlen *int3 } func listen(s Handle, backlog int32) (err error) { - r1, _, e1 := syscall.Syscall(proclisten.Addr(), 2, uintptr(s), uintptr(backlog), 0) + r1, _, e1 := syscall.SyscallN(proclisten.Addr(), uintptr(s), uintptr(backlog)) if r1 == socket_error { err = errnoErr(e1) } @@ -4609,7 +4673,7 @@ func listen(s Handle, backlog int32) (err error) { } func Ntohs(netshort uint16) (u uint16) { - r0, _, _ := syscall.Syscall(procntohs.Addr(), 1, uintptr(netshort), 0, 0) + r0, _, _ := syscall.SyscallN(procntohs.Addr(), uintptr(netshort)) u = uint16(r0) return } @@ -4619,7 +4683,7 @@ func recvfrom(s Handle, buf []byte, flags int32, from *RawSockaddrAny, fromlen * if len(buf) > 0 { _p0 = &buf[0] } - r0, _, e1 := syscall.Syscall6(procrecvfrom.Addr(), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) + r0, _, e1 := syscall.SyscallN(procrecvfrom.Addr(), uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) n = int32(r0) if n == -1 { err = errnoErr(e1) @@ -4632,7 +4696,7 @@ func sendto(s Handle, buf []byte, flags int32, to unsafe.Pointer, tolen int32) ( if len(buf) > 0 { _p0 = &buf[0] } - r1, _, e1 := syscall.Syscall6(procsendto.Addr(), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(tolen)) + r1, _, e1 := syscall.SyscallN(procsendto.Addr(), uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(tolen)) if r1 == socket_error { err = errnoErr(e1) } @@ -4640,7 +4704,7 @@ func sendto(s Handle, buf []byte, flags int32, to unsafe.Pointer, tolen int32) ( } func Setsockopt(s Handle, level int32, optname int32, optval *byte, optlen int32) (err error) { - r1, _, e1 := syscall.Syscall6(procsetsockopt.Addr(), 5, uintptr(s), uintptr(level), uintptr(optname), uintptr(unsafe.Pointer(optval)), uintptr(optlen), 0) + r1, _, e1 := syscall.SyscallN(procsetsockopt.Addr(), uintptr(s), uintptr(level), uintptr(optname), uintptr(unsafe.Pointer(optval)), uintptr(optlen)) if r1 == socket_error { err = errnoErr(e1) } @@ -4648,7 +4712,7 @@ func Setsockopt(s Handle, level int32, optname int32, optval *byte, optlen int32 } func shutdown(s Handle, how int32) (err error) { - r1, _, e1 := syscall.Syscall(procshutdown.Addr(), 2, uintptr(s), uintptr(how), 0) + r1, _, e1 := syscall.SyscallN(procshutdown.Addr(), uintptr(s), uintptr(how)) if r1 == socket_error { err = errnoErr(e1) } @@ -4656,7 +4720,7 @@ func shutdown(s Handle, how int32) (err error) { } func socket(af int32, typ int32, protocol int32) (handle Handle, err error) { - r0, _, e1 := syscall.Syscall(procsocket.Addr(), 3, uintptr(af), uintptr(typ), uintptr(protocol)) + r0, _, e1 := syscall.SyscallN(procsocket.Addr(), uintptr(af), uintptr(typ), uintptr(protocol)) handle = Handle(r0) if handle == InvalidHandle { err = errnoErr(e1) @@ -4665,7 +4729,7 @@ func socket(af int32, typ int32, protocol int32) (handle Handle, err error) { } func WTSEnumerateSessions(handle Handle, reserved uint32, version uint32, sessions **WTS_SESSION_INFO, count *uint32) (err error) { - r1, _, e1 := syscall.Syscall6(procWTSEnumerateSessionsW.Addr(), 5, uintptr(handle), uintptr(reserved), uintptr(version), uintptr(unsafe.Pointer(sessions)), uintptr(unsafe.Pointer(count)), 0) + r1, _, e1 := syscall.SyscallN(procWTSEnumerateSessionsW.Addr(), uintptr(handle), uintptr(reserved), uintptr(version), uintptr(unsafe.Pointer(sessions)), uintptr(unsafe.Pointer(count))) if r1 == 0 { err = errnoErr(e1) } @@ -4673,12 +4737,12 @@ func WTSEnumerateSessions(handle Handle, reserved uint32, version uint32, sessio } func WTSFreeMemory(ptr uintptr) { - syscall.Syscall(procWTSFreeMemory.Addr(), 1, uintptr(ptr), 0, 0) + syscall.SyscallN(procWTSFreeMemory.Addr(), uintptr(ptr)) return } func WTSQueryUserToken(session uint32, token *Token) (err error) { - r1, _, e1 := syscall.Syscall(procWTSQueryUserToken.Addr(), 2, uintptr(session), uintptr(unsafe.Pointer(token)), 0) + r1, _, e1 := syscall.SyscallN(procWTSQueryUserToken.Addr(), uintptr(session), uintptr(unsafe.Pointer(token))) if r1 == 0 { err = errnoErr(e1) } diff --git a/vendor/golang.org/x/term/term_windows.go b/vendor/golang.org/x/term/term_windows.go index df6bf948e1..0ddd81c02a 100644 --- a/vendor/golang.org/x/term/term_windows.go +++ b/vendor/golang.org/x/term/term_windows.go @@ -20,12 +20,14 @@ func isTerminal(fd int) bool { return err == nil } +// This is intended to be used on a console input handle. +// See https://learn.microsoft.com/en-us/windows/console/setconsolemode func makeRaw(fd int) (*State, error) { var st uint32 if err := windows.GetConsoleMode(windows.Handle(fd), &st); err != nil { return nil, err } - raw := st &^ (windows.ENABLE_ECHO_INPUT | windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT | windows.ENABLE_PROCESSED_OUTPUT) + raw := st &^ (windows.ENABLE_ECHO_INPUT | windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT) raw |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT if err := windows.SetConsoleMode(windows.Handle(fd), raw); err != nil { return nil, err diff --git a/vendor/golang.org/x/term/terminal.go b/vendor/golang.org/x/term/terminal.go index f636667fb0..9255449b9b 100644 --- a/vendor/golang.org/x/term/terminal.go +++ b/vendor/golang.org/x/term/terminal.go @@ -6,6 +6,7 @@ package term import ( "bytes" + "fmt" "io" "runtime" "strconv" @@ -36,6 +37,26 @@ var vt100EscapeCodes = EscapeCodes{ Reset: []byte{keyEscape, '[', '0', 'm'}, } +// A History provides a (possibly bounded) queue of input lines read by [Terminal.ReadLine]. +type History interface { + // Add will be called by [Terminal.ReadLine] to add + // a new, most recent entry to the history. + // It is allowed to drop any entry, including + // the entry being added (e.g., if it's deemed an invalid entry), + // the least-recent entry (e.g., to keep the history bounded), + // or any other entry. + Add(entry string) + + // Len returns the number of entries in the history. + Len() int + + // At returns an entry from the history. + // Index 0 is the most-recently added entry and + // index Len()-1 is the least-recently added entry. + // If index is < 0 or >= Len(), it panics. + At(idx int) string +} + // Terminal contains the state for running a VT100 terminal that is capable of // reading lines of input. type Terminal struct { @@ -44,6 +65,8 @@ type Terminal struct { // bytes, as an index into |line|). If it returns ok=false, the key // press is processed normally. Otherwise it returns a replacement line // and the new cursor position. + // + // This will be disabled during ReadPassword. AutoCompleteCallback func(line string, pos int, key rune) (newLine string, newPos int, ok bool) // Escape contains a pointer to the escape codes for this terminal. @@ -84,9 +107,14 @@ type Terminal struct { remainder []byte inBuf [256]byte - // history contains previously entered commands so that they can be - // accessed with the up and down keys. - history stRingBuffer + // History records and retrieves lines of input read by [ReadLine] which + // a user can retrieve and navigate using the up and down arrow keys. + // + // It is not safe to call ReadLine concurrently with any methods on History. + // + // [NewTerminal] sets this to a default implementation that records the + // last 100 lines of input. + History History // historyIndex stores the currently accessed history entry, where zero // means the immediately previous entry. historyIndex int @@ -109,6 +137,7 @@ func NewTerminal(c io.ReadWriter, prompt string) *Terminal { termHeight: 24, echo: true, historyIndex: -1, + History: &stRingBuffer{}, } } @@ -117,6 +146,7 @@ const ( keyCtrlD = 4 keyCtrlU = 21 keyEnter = '\r' + keyLF = '\n' keyEscape = 27 keyBackspace = 127 keyUnknown = 0xd800 /* UTF-16 surrogate area */ + iota @@ -383,7 +413,7 @@ func (t *Terminal) eraseNPreviousChars(n int) { } } -// countToLeftWord returns then number of characters from the cursor to the +// countToLeftWord returns the number of characters from the cursor to the // start of the previous word. func (t *Terminal) countToLeftWord() int { if t.pos == 0 { @@ -408,7 +438,7 @@ func (t *Terminal) countToLeftWord() int { return t.pos - pos } -// countToRightWord returns then number of characters from the cursor to the +// countToRightWord returns the number of characters from the cursor to the // start of the next word. func (t *Terminal) countToRightWord() int { pos := t.pos @@ -448,10 +478,27 @@ func visualLength(runes []rune) int { return length } +// historyAt unlocks the terminal and relocks it while calling History.At. +func (t *Terminal) historyAt(idx int) (string, bool) { + t.lock.Unlock() // Unlock to avoid deadlock if History methods use the output writer. + defer t.lock.Lock() // panic in At (or Len) protection. + if idx < 0 || idx >= t.History.Len() { + return "", false + } + return t.History.At(idx), true +} + +// historyAdd unlocks the terminal and relocks it while calling History.Add. +func (t *Terminal) historyAdd(entry string) { + t.lock.Unlock() // Unlock to avoid deadlock if History methods use the output writer. + defer t.lock.Lock() // panic in Add protection. + t.History.Add(entry) +} + // handleKey processes the given key and, optionally, returns a line of text // that the user has entered. func (t *Terminal) handleKey(key rune) (line string, ok bool) { - if t.pasteActive && key != keyEnter { + if t.pasteActive && key != keyEnter && key != keyLF { t.addKeyToLine(key) return } @@ -495,7 +542,7 @@ func (t *Terminal) handleKey(key rune) (line string, ok bool) { t.pos = len(t.line) t.moveCursorToPos(t.pos) case keyUp: - entry, ok := t.history.NthPreviousEntry(t.historyIndex + 1) + entry, ok := t.historyAt(t.historyIndex + 1) if !ok { return "", false } @@ -514,14 +561,14 @@ func (t *Terminal) handleKey(key rune) (line string, ok bool) { t.setLine(runes, len(runes)) t.historyIndex-- default: - entry, ok := t.history.NthPreviousEntry(t.historyIndex - 1) + entry, ok := t.historyAt(t.historyIndex - 1) if ok { t.historyIndex-- runes := []rune(entry) t.setLine(runes, len(runes)) } } - case keyEnter: + case keyEnter, keyLF: t.moveCursorToPos(len(t.line)) t.queue([]rune("\r\n")) line = string(t.line) @@ -692,6 +739,8 @@ func (t *Terminal) Write(buf []byte) (n int, err error) { // ReadPassword temporarily changes the prompt and reads a password, without // echo, from the terminal. +// +// The AutoCompleteCallback is disabled during this call. func (t *Terminal) ReadPassword(prompt string) (line string, err error) { t.lock.Lock() defer t.lock.Unlock() @@ -699,6 +748,11 @@ func (t *Terminal) ReadPassword(prompt string) (line string, err error) { oldPrompt := t.prompt t.prompt = []rune(prompt) t.echo = false + oldAutoCompleteCallback := t.AutoCompleteCallback + t.AutoCompleteCallback = nil + defer func() { + t.AutoCompleteCallback = oldAutoCompleteCallback + }() line, err = t.readLine() @@ -759,6 +813,10 @@ func (t *Terminal) readLine() (line string, err error) { if !t.pasteActive { lineIsPasted = false } + // If we have CR, consume LF if present (CRLF sequence) to avoid returning an extra empty line. + if key == keyEnter && len(rest) > 0 && rest[0] == keyLF { + rest = rest[1:] + } line, lineOk = t.handleKey(key) } if len(rest) > 0 { @@ -772,7 +830,7 @@ func (t *Terminal) readLine() (line string, err error) { if lineOk { if t.echo { t.historyIndex = -1 - t.history.Add(line) + t.historyAdd(line) } if lineIsPasted { err = ErrPasteIndicator @@ -929,19 +987,23 @@ func (s *stRingBuffer) Add(a string) { } } -// NthPreviousEntry returns the value passed to the nth previous call to Add. +func (s *stRingBuffer) Len() int { + return s.size +} + +// At returns the value passed to the nth previous call to Add. // If n is zero then the immediately prior value is returned, if one, then the // next most recent, and so on. If such an element doesn't exist then ok is // false. -func (s *stRingBuffer) NthPreviousEntry(n int) (value string, ok bool) { +func (s *stRingBuffer) At(n int) string { if n < 0 || n >= s.size { - return "", false + panic(fmt.Sprintf("term: history index [%d] out of range [0,%d)", n, s.size)) } index := s.head - n if index < 0 { index += s.max } - return s.entries[index], true + return s.entries[index] } // readPasswordLine reads from reader until it finds \n or io.EOF. diff --git a/vendor/golang.org/x/text/internal/number/format.go b/vendor/golang.org/x/text/internal/number/format.go index cd94c5dc4e..1aadcf4077 100644 --- a/vendor/golang.org/x/text/internal/number/format.go +++ b/vendor/golang.org/x/text/internal/number/format.go @@ -394,9 +394,7 @@ func appendScientific(dst []byte, f *Formatter, n *Digits) (b []byte, postPre, p exp := n.Exp - int32(n.Comma) exponential := f.Symbol(SymExponential) if exponential == "E" { - dst = append(dst, "\u202f"...) // NARROW NO-BREAK SPACE dst = append(dst, f.Symbol(SymSuperscriptingExponent)...) - dst = append(dst, "\u202f"...) // NARROW NO-BREAK SPACE dst = f.AppendDigit(dst, 1) dst = f.AppendDigit(dst, 0) switch { diff --git a/vendor/golang.org/x/text/language/parse.go b/vendor/golang.org/x/text/language/parse.go index 4d57222e77..053336e286 100644 --- a/vendor/golang.org/x/text/language/parse.go +++ b/vendor/golang.org/x/text/language/parse.go @@ -59,7 +59,7 @@ func (c CanonType) Parse(s string) (t Tag, err error) { if changed { tt.RemakeString() } - return makeTag(tt), err + return makeTag(tt), nil } // Compose creates a Tag from individual parts, which may be of type Tag, Base, diff --git a/vendor/golang.org/x/text/unicode/bidi/core.go b/vendor/golang.org/x/text/unicode/bidi/core.go index 9d2ae547b5..fb8273236d 100644 --- a/vendor/golang.org/x/text/unicode/bidi/core.go +++ b/vendor/golang.org/x/text/unicode/bidi/core.go @@ -427,13 +427,6 @@ type isolatingRunSequence struct { func (i *isolatingRunSequence) Len() int { return len(i.indexes) } -func maxLevel(a, b level) level { - if a > b { - return a - } - return b -} - // Rule X10, second bullet: Determine the start-of-sequence (sos) and end-of-sequence (eos) types, // either L or R, for each isolating run sequence. func (p *paragraph) isolatingRunSequence(indexes []int) *isolatingRunSequence { @@ -474,8 +467,8 @@ func (p *paragraph) isolatingRunSequence(indexes []int) *isolatingRunSequence { indexes: indexes, types: types, level: level, - sos: typeForLevel(maxLevel(prevLevel, level)), - eos: typeForLevel(maxLevel(succLevel, level)), + sos: typeForLevel(max(prevLevel, level)), + eos: typeForLevel(max(succLevel, level)), } } diff --git a/vendor/golang.org/x/tools/go/ast/edge/edge.go b/vendor/golang.org/x/tools/go/ast/edge/edge.go new file mode 100644 index 0000000000..4f6ccfd6e5 --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/edge/edge.go @@ -0,0 +1,295 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package edge defines identifiers for each field of an ast.Node +// struct type that refers to another Node. +package edge + +import ( + "fmt" + "go/ast" + "reflect" +) + +// A Kind describes a field of an ast.Node struct. +type Kind uint8 + +// String returns a description of the edge kind. +func (k Kind) String() string { + if k == Invalid { + return "" + } + info := fieldInfos[k] + return fmt.Sprintf("%v.%s", info.nodeType.Elem().Name(), info.name) +} + +// NodeType returns the pointer-to-struct type of the ast.Node implementation. +func (k Kind) NodeType() reflect.Type { return fieldInfos[k].nodeType } + +// FieldName returns the name of the field. +func (k Kind) FieldName() string { return fieldInfos[k].name } + +// FieldType returns the declared type of the field. +func (k Kind) FieldType() reflect.Type { return fieldInfos[k].fieldType } + +// Get returns the direct child of n identified by (k, idx). +// n's type must match k.NodeType(). +// idx must be a valid slice index, or -1 for a non-slice. +func (k Kind) Get(n ast.Node, idx int) ast.Node { + if k.NodeType() != reflect.TypeOf(n) { + panic(fmt.Sprintf("%v.Get(%T): invalid node type", k, n)) + } + v := reflect.ValueOf(n).Elem().Field(fieldInfos[k].index) + if idx != -1 { + v = v.Index(idx) // asserts valid index + } else { + // (The type assertion below asserts that v is not a slice.) + } + return v.Interface().(ast.Node) // may be nil +} + +const ( + Invalid Kind = iota // for nodes at the root of the traversal + + // Kinds are sorted alphabetically. + // Numbering is not stable. + // Each is named Type_Field, where Type is the + // ast.Node struct type and Field is the name of the field + + ArrayType_Elt + ArrayType_Len + AssignStmt_Lhs + AssignStmt_Rhs + BinaryExpr_X + BinaryExpr_Y + BlockStmt_List + BranchStmt_Label + CallExpr_Args + CallExpr_Fun + CaseClause_Body + CaseClause_List + ChanType_Value + CommClause_Body + CommClause_Comm + CommentGroup_List + CompositeLit_Elts + CompositeLit_Type + DeclStmt_Decl + DeferStmt_Call + Ellipsis_Elt + ExprStmt_X + FieldList_List + Field_Comment + Field_Doc + Field_Names + Field_Tag + Field_Type + File_Decls + File_Doc + File_Name + ForStmt_Body + ForStmt_Cond + ForStmt_Init + ForStmt_Post + FuncDecl_Body + FuncDecl_Doc + FuncDecl_Name + FuncDecl_Recv + FuncDecl_Type + FuncLit_Body + FuncLit_Type + FuncType_Params + FuncType_Results + FuncType_TypeParams + GenDecl_Doc + GenDecl_Specs + GoStmt_Call + IfStmt_Body + IfStmt_Cond + IfStmt_Else + IfStmt_Init + ImportSpec_Comment + ImportSpec_Doc + ImportSpec_Name + ImportSpec_Path + IncDecStmt_X + IndexExpr_Index + IndexExpr_X + IndexListExpr_Indices + IndexListExpr_X + InterfaceType_Methods + KeyValueExpr_Key + KeyValueExpr_Value + LabeledStmt_Label + LabeledStmt_Stmt + MapType_Key + MapType_Value + ParenExpr_X + RangeStmt_Body + RangeStmt_Key + RangeStmt_Value + RangeStmt_X + ReturnStmt_Results + SelectStmt_Body + SelectorExpr_Sel + SelectorExpr_X + SendStmt_Chan + SendStmt_Value + SliceExpr_High + SliceExpr_Low + SliceExpr_Max + SliceExpr_X + StarExpr_X + StructType_Fields + SwitchStmt_Body + SwitchStmt_Init + SwitchStmt_Tag + TypeAssertExpr_Type + TypeAssertExpr_X + TypeSpec_Comment + TypeSpec_Doc + TypeSpec_Name + TypeSpec_Type + TypeSpec_TypeParams + TypeSwitchStmt_Assign + TypeSwitchStmt_Body + TypeSwitchStmt_Init + UnaryExpr_X + ValueSpec_Comment + ValueSpec_Doc + ValueSpec_Names + ValueSpec_Type + ValueSpec_Values + + maxKind +) + +// Assert that the encoding fits in 7 bits, +// as the inspector relies on this. +// (We are currently at 104.) +var _ = [1 << 7]struct{}{}[maxKind] + +type fieldInfo struct { + nodeType reflect.Type // pointer-to-struct type of ast.Node implementation + name string + index int + fieldType reflect.Type +} + +func info[N ast.Node](fieldName string) fieldInfo { + nodePtrType := reflect.TypeFor[N]() + f, ok := nodePtrType.Elem().FieldByName(fieldName) + if !ok { + panic(fieldName) + } + return fieldInfo{nodePtrType, fieldName, f.Index[0], f.Type} +} + +var fieldInfos = [...]fieldInfo{ + Invalid: {}, + ArrayType_Elt: info[*ast.ArrayType]("Elt"), + ArrayType_Len: info[*ast.ArrayType]("Len"), + AssignStmt_Lhs: info[*ast.AssignStmt]("Lhs"), + AssignStmt_Rhs: info[*ast.AssignStmt]("Rhs"), + BinaryExpr_X: info[*ast.BinaryExpr]("X"), + BinaryExpr_Y: info[*ast.BinaryExpr]("Y"), + BlockStmt_List: info[*ast.BlockStmt]("List"), + BranchStmt_Label: info[*ast.BranchStmt]("Label"), + CallExpr_Args: info[*ast.CallExpr]("Args"), + CallExpr_Fun: info[*ast.CallExpr]("Fun"), + CaseClause_Body: info[*ast.CaseClause]("Body"), + CaseClause_List: info[*ast.CaseClause]("List"), + ChanType_Value: info[*ast.ChanType]("Value"), + CommClause_Body: info[*ast.CommClause]("Body"), + CommClause_Comm: info[*ast.CommClause]("Comm"), + CommentGroup_List: info[*ast.CommentGroup]("List"), + CompositeLit_Elts: info[*ast.CompositeLit]("Elts"), + CompositeLit_Type: info[*ast.CompositeLit]("Type"), + DeclStmt_Decl: info[*ast.DeclStmt]("Decl"), + DeferStmt_Call: info[*ast.DeferStmt]("Call"), + Ellipsis_Elt: info[*ast.Ellipsis]("Elt"), + ExprStmt_X: info[*ast.ExprStmt]("X"), + FieldList_List: info[*ast.FieldList]("List"), + Field_Comment: info[*ast.Field]("Comment"), + Field_Doc: info[*ast.Field]("Doc"), + Field_Names: info[*ast.Field]("Names"), + Field_Tag: info[*ast.Field]("Tag"), + Field_Type: info[*ast.Field]("Type"), + File_Decls: info[*ast.File]("Decls"), + File_Doc: info[*ast.File]("Doc"), + File_Name: info[*ast.File]("Name"), + ForStmt_Body: info[*ast.ForStmt]("Body"), + ForStmt_Cond: info[*ast.ForStmt]("Cond"), + ForStmt_Init: info[*ast.ForStmt]("Init"), + ForStmt_Post: info[*ast.ForStmt]("Post"), + FuncDecl_Body: info[*ast.FuncDecl]("Body"), + FuncDecl_Doc: info[*ast.FuncDecl]("Doc"), + FuncDecl_Name: info[*ast.FuncDecl]("Name"), + FuncDecl_Recv: info[*ast.FuncDecl]("Recv"), + FuncDecl_Type: info[*ast.FuncDecl]("Type"), + FuncLit_Body: info[*ast.FuncLit]("Body"), + FuncLit_Type: info[*ast.FuncLit]("Type"), + FuncType_Params: info[*ast.FuncType]("Params"), + FuncType_Results: info[*ast.FuncType]("Results"), + FuncType_TypeParams: info[*ast.FuncType]("TypeParams"), + GenDecl_Doc: info[*ast.GenDecl]("Doc"), + GenDecl_Specs: info[*ast.GenDecl]("Specs"), + GoStmt_Call: info[*ast.GoStmt]("Call"), + IfStmt_Body: info[*ast.IfStmt]("Body"), + IfStmt_Cond: info[*ast.IfStmt]("Cond"), + IfStmt_Else: info[*ast.IfStmt]("Else"), + IfStmt_Init: info[*ast.IfStmt]("Init"), + ImportSpec_Comment: info[*ast.ImportSpec]("Comment"), + ImportSpec_Doc: info[*ast.ImportSpec]("Doc"), + ImportSpec_Name: info[*ast.ImportSpec]("Name"), + ImportSpec_Path: info[*ast.ImportSpec]("Path"), + IncDecStmt_X: info[*ast.IncDecStmt]("X"), + IndexExpr_Index: info[*ast.IndexExpr]("Index"), + IndexExpr_X: info[*ast.IndexExpr]("X"), + IndexListExpr_Indices: info[*ast.IndexListExpr]("Indices"), + IndexListExpr_X: info[*ast.IndexListExpr]("X"), + InterfaceType_Methods: info[*ast.InterfaceType]("Methods"), + KeyValueExpr_Key: info[*ast.KeyValueExpr]("Key"), + KeyValueExpr_Value: info[*ast.KeyValueExpr]("Value"), + LabeledStmt_Label: info[*ast.LabeledStmt]("Label"), + LabeledStmt_Stmt: info[*ast.LabeledStmt]("Stmt"), + MapType_Key: info[*ast.MapType]("Key"), + MapType_Value: info[*ast.MapType]("Value"), + ParenExpr_X: info[*ast.ParenExpr]("X"), + RangeStmt_Body: info[*ast.RangeStmt]("Body"), + RangeStmt_Key: info[*ast.RangeStmt]("Key"), + RangeStmt_Value: info[*ast.RangeStmt]("Value"), + RangeStmt_X: info[*ast.RangeStmt]("X"), + ReturnStmt_Results: info[*ast.ReturnStmt]("Results"), + SelectStmt_Body: info[*ast.SelectStmt]("Body"), + SelectorExpr_Sel: info[*ast.SelectorExpr]("Sel"), + SelectorExpr_X: info[*ast.SelectorExpr]("X"), + SendStmt_Chan: info[*ast.SendStmt]("Chan"), + SendStmt_Value: info[*ast.SendStmt]("Value"), + SliceExpr_High: info[*ast.SliceExpr]("High"), + SliceExpr_Low: info[*ast.SliceExpr]("Low"), + SliceExpr_Max: info[*ast.SliceExpr]("Max"), + SliceExpr_X: info[*ast.SliceExpr]("X"), + StarExpr_X: info[*ast.StarExpr]("X"), + StructType_Fields: info[*ast.StructType]("Fields"), + SwitchStmt_Body: info[*ast.SwitchStmt]("Body"), + SwitchStmt_Init: info[*ast.SwitchStmt]("Init"), + SwitchStmt_Tag: info[*ast.SwitchStmt]("Tag"), + TypeAssertExpr_Type: info[*ast.TypeAssertExpr]("Type"), + TypeAssertExpr_X: info[*ast.TypeAssertExpr]("X"), + TypeSpec_Comment: info[*ast.TypeSpec]("Comment"), + TypeSpec_Doc: info[*ast.TypeSpec]("Doc"), + TypeSpec_Name: info[*ast.TypeSpec]("Name"), + TypeSpec_Type: info[*ast.TypeSpec]("Type"), + TypeSpec_TypeParams: info[*ast.TypeSpec]("TypeParams"), + TypeSwitchStmt_Assign: info[*ast.TypeSwitchStmt]("Assign"), + TypeSwitchStmt_Body: info[*ast.TypeSwitchStmt]("Body"), + TypeSwitchStmt_Init: info[*ast.TypeSwitchStmt]("Init"), + UnaryExpr_X: info[*ast.UnaryExpr]("X"), + ValueSpec_Comment: info[*ast.ValueSpec]("Comment"), + ValueSpec_Doc: info[*ast.ValueSpec]("Doc"), + ValueSpec_Names: info[*ast.ValueSpec]("Names"), + ValueSpec_Type: info[*ast.ValueSpec]("Type"), + ValueSpec_Values: info[*ast.ValueSpec]("Values"), +} diff --git a/vendor/golang.org/x/tools/go/ast/inspector/cursor.go b/vendor/golang.org/x/tools/go/ast/inspector/cursor.go new file mode 100644 index 0000000000..7e72d3c284 --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/inspector/cursor.go @@ -0,0 +1,502 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package inspector + +import ( + "fmt" + "go/ast" + "go/token" + "iter" + "reflect" + + "golang.org/x/tools/go/ast/edge" +) + +// A Cursor represents an [ast.Node]. It is immutable. +// +// Two Cursors compare equal if they represent the same node. +// +// Call [Inspector.Root] to obtain a valid cursor for the virtual root +// node of the traversal. +// +// Use the following methods to navigate efficiently around the tree: +// - for ancestors, use [Cursor.Parent] and [Cursor.Enclosing]; +// - for children, use [Cursor.Child], [Cursor.Children], +// [Cursor.FirstChild], and [Cursor.LastChild]; +// - for siblings, use [Cursor.PrevSibling] and [Cursor.NextSibling]; +// - for descendants, use [Cursor.FindByPos], [Cursor.FindNode], +// [Cursor.Inspect], and [Cursor.Preorder]. +// +// Use the [Cursor.ChildAt] and [Cursor.ParentEdge] methods for +// information about the edges in a tree: which field (and slice +// element) of the parent node holds the child. +type Cursor struct { + in *Inspector + index int32 // index of push node; -1 for virtual root node +} + +// Root returns a cursor for the virtual root node, +// whose children are the files provided to [New]. +// +// Its [Cursor.Node] method return nil. +func (in *Inspector) Root() Cursor { + return Cursor{in, -1} +} + +// At returns the cursor at the specified index in the traversal, +// which must have been obtained from [Cursor.Index] on a Cursor +// belonging to the same Inspector (see [Cursor.Inspector]). +func (in *Inspector) At(index int32) Cursor { + if index < 0 { + panic("negative index") + } + if int(index) >= len(in.events) { + panic("index out of range for this inspector") + } + if in.events[index].index < index { + panic("invalid index") // (a push, not a pop) + } + return Cursor{in, index} +} + +// Inspector returns the cursor's Inspector. +func (c Cursor) Inspector() *Inspector { return c.in } + +// Index returns the index of this cursor position within the package. +// +// Clients should not assume anything about the numeric Index value +// except that it increases monotonically throughout the traversal. +// It is provided for use with [At]. +// +// Index must not be called on the Root node. +func (c Cursor) Index() int32 { + if c.index < 0 { + panic("Index called on Root node") + } + return c.index +} + +// Node returns the node at the current cursor position, +// or nil for the cursor returned by [Inspector.Root]. +func (c Cursor) Node() ast.Node { + if c.index < 0 { + return nil + } + return c.in.events[c.index].node +} + +// String returns information about the cursor's node, if any. +func (c Cursor) String() string { + if c.in == nil { + return "(invalid)" + } + if c.index < 0 { + return "(root)" + } + return reflect.TypeOf(c.Node()).String() +} + +// indices return the [start, end) half-open interval of event indices. +func (c Cursor) indices() (int32, int32) { + if c.index < 0 { + return 0, int32(len(c.in.events)) // root: all events + } else { + return c.index, c.in.events[c.index].index + 1 // just one subtree + } +} + +// Preorder returns an iterator over the nodes of the subtree +// represented by c in depth-first order. Each node in the sequence is +// represented by a Cursor that allows access to the Node, but may +// also be used to start a new traversal, or to obtain the stack of +// nodes enclosing the cursor. +// +// The traversal sequence is determined by [ast.Inspect]. The types +// argument, if non-empty, enables type-based filtering of events. The +// function f if is called only for nodes whose type matches an +// element of the types slice. +// +// If you need control over descent into subtrees, +// or need both pre- and post-order notifications, use [Cursor.Inspect] +func (c Cursor) Preorder(types ...ast.Node) iter.Seq[Cursor] { + mask := maskOf(types) + + return func(yield func(Cursor) bool) { + events := c.in.events + + for i, limit := c.indices(); i < limit; { + ev := events[i] + if ev.index > i { // push? + if ev.typ&mask != 0 && !yield(Cursor{c.in, i}) { + break + } + pop := ev.index + if events[pop].typ&mask == 0 { + // Subtree does not contain types: skip. + i = pop + 1 + continue + } + } + i++ + } + } +} + +// Inspect visits the nodes of the subtree represented by c in +// depth-first order. It calls f(n) for each node n before it +// visits n's children. If f returns true, Inspect invokes f +// recursively for each of the non-nil children of the node. +// +// Each node is represented by a Cursor that allows access to the +// Node, but may also be used to start a new traversal, or to obtain +// the stack of nodes enclosing the cursor. +// +// The complete traversal sequence is determined by [ast.Inspect]. +// The types argument, if non-empty, enables type-based filtering of +// events. The function f if is called only for nodes whose type +// matches an element of the types slice. +func (c Cursor) Inspect(types []ast.Node, f func(c Cursor) (descend bool)) { + mask := maskOf(types) + events := c.in.events + for i, limit := c.indices(); i < limit; { + ev := events[i] + if ev.index > i { + // push + pop := ev.index + if ev.typ&mask != 0 && !f(Cursor{c.in, i}) || + events[pop].typ&mask == 0 { + // The user opted not to descend, or the + // subtree does not contain types: + // skip past the pop. + i = pop + 1 + continue + } + } + i++ + } +} + +// Enclosing returns an iterator over the nodes enclosing the current +// current node, starting with the Cursor itself. +// +// Enclosing must not be called on the Root node (whose [Cursor.Node] returns nil). +// +// The types argument, if non-empty, enables type-based filtering of +// events: the sequence includes only enclosing nodes whose type +// matches an element of the types slice. +func (c Cursor) Enclosing(types ...ast.Node) iter.Seq[Cursor] { + if c.index < 0 { + panic("Cursor.Enclosing called on Root node") + } + + mask := maskOf(types) + + return func(yield func(Cursor) bool) { + events := c.in.events + for i := c.index; i >= 0; i = events[i].parent { + if events[i].typ&mask != 0 && !yield(Cursor{c.in, i}) { + break + } + } + } +} + +// Parent returns the parent of the current node. +// +// Parent must not be called on the Root node (whose [Cursor.Node] returns nil). +func (c Cursor) Parent() Cursor { + if c.index < 0 { + panic("Cursor.Parent called on Root node") + } + + return Cursor{c.in, c.in.events[c.index].parent} +} + +// ParentEdge returns the identity of the field in the parent node +// that holds this cursor's node, and if it is a list, the index within it. +// +// For example, f(x, y) is a CallExpr whose three children are Idents. +// f has edge kind [edge.CallExpr_Fun] and index -1. +// x and y have kind [edge.CallExpr_Args] and indices 0 and 1, respectively. +// +// If called on a child of the Root node, it returns ([edge.Invalid], -1). +// +// ParentEdge must not be called on the Root node (whose [Cursor.Node] returns nil). +func (c Cursor) ParentEdge() (edge.Kind, int) { + if c.index < 0 { + panic("Cursor.ParentEdge called on Root node") + } + events := c.in.events + pop := events[c.index].index + return unpackEdgeKindAndIndex(events[pop].parent) +} + +// ChildAt returns the cursor for the child of the +// current node identified by its edge and index. +// The index must be -1 if the edge.Kind is not a slice. +// The indicated child node must exist. +// +// ChildAt must not be called on the Root node (whose [Cursor.Node] returns nil). +// +// Invariant: c.Parent().ChildAt(c.ParentEdge()) == c. +func (c Cursor) ChildAt(k edge.Kind, idx int) Cursor { + target := packEdgeKindAndIndex(k, idx) + + // Unfortunately there's no shortcut to looping. + events := c.in.events + i := c.index + 1 + for { + pop := events[i].index + if pop < i { + break + } + if events[pop].parent == target { + return Cursor{c.in, i} + } + i = pop + 1 + } + panic(fmt.Sprintf("ChildAt(%v, %d): no such child of %v", k, idx, c)) +} + +// Child returns the cursor for n, which must be a direct child of c's Node. +// +// Child must not be called on the Root node (whose [Cursor.Node] returns nil). +func (c Cursor) Child(n ast.Node) Cursor { + if c.index < 0 { + panic("Cursor.Child called on Root node") + } + + if false { + // reference implementation + for child := range c.Children() { + if child.Node() == n { + return child + } + } + + } else { + // optimized implementation + events := c.in.events + for i := c.index + 1; events[i].index > i; i = events[i].index + 1 { + if events[i].node == n { + return Cursor{c.in, i} + } + } + } + panic(fmt.Sprintf("Child(%T): not a child of %v", n, c)) +} + +// NextSibling returns the cursor for the next sibling node in the same list +// (for example, of files, decls, specs, statements, fields, or expressions) as +// the current node. It returns (zero, false) if the node is the last node in +// the list, or is not part of a list. +// +// NextSibling must not be called on the Root node. +// +// See note at [Cursor.Children]. +func (c Cursor) NextSibling() (Cursor, bool) { + if c.index < 0 { + panic("Cursor.NextSibling called on Root node") + } + + events := c.in.events + i := events[c.index].index + 1 // after corresponding pop + if i < int32(len(events)) { + if events[i].index > i { // push? + return Cursor{c.in, i}, true + } + } + return Cursor{}, false +} + +// PrevSibling returns the cursor for the previous sibling node in the +// same list (for example, of files, decls, specs, statements, fields, +// or expressions) as the current node. It returns zero if the node is +// the first node in the list, or is not part of a list. +// +// It must not be called on the Root node. +// +// See note at [Cursor.Children]. +func (c Cursor) PrevSibling() (Cursor, bool) { + if c.index < 0 { + panic("Cursor.PrevSibling called on Root node") + } + + events := c.in.events + i := c.index - 1 + if i >= 0 { + if j := events[i].index; j < i { // pop? + return Cursor{c.in, j}, true + } + } + return Cursor{}, false +} + +// FirstChild returns the first direct child of the current node, +// or zero if it has no children. +func (c Cursor) FirstChild() (Cursor, bool) { + events := c.in.events + i := c.index + 1 // i=0 if c is root + if i < int32(len(events)) && events[i].index > i { // push? + return Cursor{c.in, i}, true + } + return Cursor{}, false +} + +// LastChild returns the last direct child of the current node, +// or zero if it has no children. +func (c Cursor) LastChild() (Cursor, bool) { + events := c.in.events + if c.index < 0 { // root? + if len(events) > 0 { + // return push of final event (a pop) + return Cursor{c.in, events[len(events)-1].index}, true + } + } else { + j := events[c.index].index - 1 // before corresponding pop + // Inv: j == c.index if c has no children + // or j is last child's pop. + if j > c.index { // c has children + return Cursor{c.in, events[j].index}, true + } + } + return Cursor{}, false +} + +// Children returns an iterator over the direct children of the +// current node, if any. +// +// When using Children, NextChild, and PrevChild, bear in mind that a +// Node's children may come from different fields, some of which may +// be lists of nodes without a distinguished intervening container +// such as [ast.BlockStmt]. +// +// For example, [ast.CaseClause] has a field List of expressions and a +// field Body of statements, so the children of a CaseClause are a mix +// of expressions and statements. Other nodes that have "uncontained" +// list fields include: +// +// - [ast.ValueSpec] (Names, Values) +// - [ast.CompositeLit] (Type, Elts) +// - [ast.IndexListExpr] (X, Indices) +// - [ast.CallExpr] (Fun, Args) +// - [ast.AssignStmt] (Lhs, Rhs) +// +// So, do not assume that the previous sibling of an ast.Stmt is also +// an ast.Stmt, or if it is, that they are executed sequentially, +// unless you have established that, say, its parent is a BlockStmt +// or its [Cursor.ParentEdge] is [edge.BlockStmt_List]. +// For example, given "for S1; ; S2 {}", the predecessor of S2 is S1, +// even though they are not executed in sequence. +func (c Cursor) Children() iter.Seq[Cursor] { + return func(yield func(Cursor) bool) { + c, ok := c.FirstChild() + for ok && yield(c) { + c, ok = c.NextSibling() + } + } +} + +// Contains reports whether c contains or is equal to c2. +// +// Both Cursors must belong to the same [Inspector]; +// neither may be its Root node. +func (c Cursor) Contains(c2 Cursor) bool { + if c.in != c2.in { + panic("different inspectors") + } + events := c.in.events + return c.index <= c2.index && events[c2.index].index <= events[c.index].index +} + +// FindNode returns the cursor for node n if it belongs to the subtree +// rooted at c. It returns zero if n is not found. +func (c Cursor) FindNode(n ast.Node) (Cursor, bool) { + + // FindNode is equivalent to this code, + // but more convenient and 15-20% faster: + if false { + for candidate := range c.Preorder(n) { + if candidate.Node() == n { + return candidate, true + } + } + return Cursor{}, false + } + + // TODO(adonovan): opt: should we assume Node.Pos is accurate + // and combine type-based filtering with position filtering + // like FindByPos? + + mask := maskOf([]ast.Node{n}) + events := c.in.events + + for i, limit := c.indices(); i < limit; i++ { + ev := events[i] + if ev.index > i { // push? + if ev.typ&mask != 0 && ev.node == n { + return Cursor{c.in, i}, true + } + pop := ev.index + if events[pop].typ&mask == 0 { + // Subtree does not contain type of n: skip. + i = pop + } + } + } + return Cursor{}, false +} + +// FindByPos returns the cursor for the innermost node n in the tree +// rooted at c such that n.Pos() <= start && end <= n.End(). +// (For an *ast.File, it uses the bounds n.FileStart-n.FileEnd.) +// +// It returns zero if none is found. +// Precondition: start <= end. +// +// See also [astutil.PathEnclosingInterval], which +// tolerates adjoining whitespace. +func (c Cursor) FindByPos(start, end token.Pos) (Cursor, bool) { + if end < start { + panic("end < start") + } + events := c.in.events + + // This algorithm could be implemented using c.Inspect, + // but it is about 2.5x slower. + + best := int32(-1) // push index of latest (=innermost) node containing range + for i, limit := c.indices(); i < limit; i++ { + ev := events[i] + if ev.index > i { // push? + n := ev.node + var nodeEnd token.Pos + if file, ok := n.(*ast.File); ok { + nodeEnd = file.FileEnd + // Note: files may be out of Pos order. + if file.FileStart > start { + i = ev.index // disjoint, after; skip to next file + continue + } + } else { + nodeEnd = n.End() + if n.Pos() > start { + break // disjoint, after; stop + } + } + // Inv: node.{Pos,FileStart} <= start + if end <= nodeEnd { + // node fully contains target range + best = i + } else if nodeEnd < start { + i = ev.index // disjoint, before; skip forward + } + } + } + if best >= 0 { + return Cursor{c.in, best}, true + } + return Cursor{}, false +} diff --git a/vendor/golang.org/x/tools/go/ast/inspector/inspector.go b/vendor/golang.org/x/tools/go/ast/inspector/inspector.go new file mode 100644 index 0000000000..a703cdfcf9 --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/inspector/inspector.go @@ -0,0 +1,311 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package inspector provides helper functions for traversal over the +// syntax trees of a package, including node filtering by type, and +// materialization of the traversal stack. +// +// During construction, the inspector does a complete traversal and +// builds a list of push/pop events and their node type. Subsequent +// method calls that request a traversal scan this list, rather than walk +// the AST, and perform type filtering using efficient bit sets. +// This representation is sometimes called a "balanced parenthesis tree." +// +// Experiments suggest the inspector's traversals are about 2.5x faster +// than [ast.Inspect], but it may take around 5 traversals for this +// benefit to amortize the inspector's construction cost. +// If efficiency is the primary concern, do not use Inspector for +// one-off traversals. +// +// The [Cursor] type provides a more flexible API for efficient +// navigation of syntax trees in all four "cardinal directions". For +// example, traversals may be nested, so you can find each node of +// type A and then search within it for nodes of type B. Or you can +// traverse from a node to its immediate neighbors: its parent, its +// previous and next sibling, or its first and last child. We +// recommend using methods of Cursor in preference to Inspector where +// possible. +package inspector + +// There are four orthogonal features in a traversal: +// 1 type filtering +// 2 pruning +// 3 postorder calls to f +// 4 stack +// Rather than offer all of them in the API, +// only a few combinations are exposed: +// - Preorder is the fastest and has fewest features, +// but is the most commonly needed traversal. +// - Nodes and WithStack both provide pruning and postorder calls, +// even though few clients need it, because supporting two versions +// is not justified. +// More combinations could be supported by expressing them as +// wrappers around a more generic traversal, but this was measured +// and found to degrade performance significantly (30%). + +import ( + "go/ast" + + "golang.org/x/tools/go/ast/edge" +) + +// An Inspector provides methods for inspecting +// (traversing) the syntax trees of a package. +type Inspector struct { + events []event +} + +func packEdgeKindAndIndex(ek edge.Kind, index int) int32 { + return int32(uint32(index+1)<<7 | uint32(ek)) +} + +// unpackEdgeKindAndIndex unpacks the edge kind and edge index (within +// an []ast.Node slice) from the parent field of a pop event. +func unpackEdgeKindAndIndex(x int32) (edge.Kind, int) { + // The "parent" field of a pop node holds the + // edge Kind in the lower 7 bits and the index+1 + // in the upper 25. + return edge.Kind(x & 0x7f), int(x>>7) - 1 +} + +// New returns an Inspector for the specified syntax trees. +func New(files []*ast.File) *Inspector { + return &Inspector{traverse(files)} +} + +// An event represents a push or a pop +// of an ast.Node during a traversal. +type event struct { + node ast.Node + typ uint64 // typeOf(node) on push event, or union of typ strictly between push and pop events on pop events + index int32 // index of corresponding push or pop event + parent int32 // index of parent's push node (push nodes only), or packed edge kind/index (pop nodes only) +} + +// TODO: Experiment with storing only the second word of event.node (unsafe.Pointer). +// Type can be recovered from the sole bit in typ. +// [Tried this, wasn't faster. --adonovan] + +// Preorder visits all the nodes of the files supplied to New in +// depth-first order. It calls f(n) for each node n before it visits +// n's children. +// +// The complete traversal sequence is determined by [ast.Inspect]. +// The types argument, if non-empty, enables type-based filtering of +// events. The function f is called only for nodes whose type +// matches an element of the types slice. +// +// The [Cursor.Preorder] method provides a richer alternative interface. +// Example: +// +// for c := range in.Root().Preorder(types) { ... } +func (in *Inspector) Preorder(types []ast.Node, f func(ast.Node)) { + // Because it avoids postorder calls to f, and the pruning + // check, Preorder is almost twice as fast as Nodes. The two + // features seem to contribute similar slowdowns (~1.4x each). + + // This function is equivalent to the PreorderSeq call below, + // but to avoid the additional dynamic call (which adds 13-35% + // to the benchmarks), we expand it out. + // + // in.PreorderSeq(types...)(func(n ast.Node) bool { + // f(n) + // return true + // }) + + mask := maskOf(types) + for i := int32(0); i < int32(len(in.events)); { + ev := in.events[i] + if ev.index > i { + // push + if ev.typ&mask != 0 { + f(ev.node) + } + pop := ev.index + if in.events[pop].typ&mask == 0 { + // Subtrees do not contain types: skip them and pop. + i = pop + 1 + continue + } + } + i++ + } +} + +// Nodes visits the nodes of the files supplied to New in depth-first +// order. It calls f(n, true) for each node n before it visits n's +// children. If f returns true, Nodes invokes f recursively for each +// of the non-nil children of the node, followed by a call of +// f(n, false). +// +// The complete traversal sequence is determined by [ast.Inspect]. +// The types argument, if non-empty, enables type-based filtering of +// events. The function f if is called only for nodes whose type +// matches an element of the types slice. +// +// The [Cursor.Inspect] method provides a richer alternative interface. +// Example: +// +// in.Root().Inspect(types, func(c Cursor) bool { +// ... +// return true +// } +func (in *Inspector) Nodes(types []ast.Node, f func(n ast.Node, push bool) (proceed bool)) { + mask := maskOf(types) + for i := int32(0); i < int32(len(in.events)); { + ev := in.events[i] + if ev.index > i { + // push + pop := ev.index + if ev.typ&mask != 0 { + if !f(ev.node, true) { + i = pop + 1 // jump to corresponding pop + 1 + continue + } + } + if in.events[pop].typ&mask == 0 { + // Subtrees do not contain types: skip them. + i = pop + continue + } + } else { + // pop + push := ev.index + if in.events[push].typ&mask != 0 { + f(ev.node, false) + } + } + i++ + } +} + +// WithStack visits nodes in a similar manner to Nodes, but it +// supplies each call to f an additional argument, the current +// traversal stack. The stack's first element is the outermost node, +// an *ast.File; its last is the innermost, n. +// +// The [Cursor.Inspect] method provides a richer alternative interface. +// Example: +// +// in.Root().Inspect(types, func(c Cursor) bool { +// stack := slices.Collect(c.Enclosing()) +// ... +// return true +// }) +func (in *Inspector) WithStack(types []ast.Node, f func(n ast.Node, push bool, stack []ast.Node) (proceed bool)) { + mask := maskOf(types) + var stack []ast.Node + for i := int32(0); i < int32(len(in.events)); { + ev := in.events[i] + if ev.index > i { + // push + pop := ev.index + stack = append(stack, ev.node) + if ev.typ&mask != 0 { + if !f(ev.node, true, stack) { + i = pop + 1 + stack = stack[:len(stack)-1] + continue + } + } + if in.events[pop].typ&mask == 0 { + // Subtrees does not contain types: skip them. + i = pop + continue + } + } else { + // pop + push := ev.index + if in.events[push].typ&mask != 0 { + f(ev.node, false, stack) + } + stack = stack[:len(stack)-1] + } + i++ + } +} + +// traverse builds the table of events representing a traversal. +func traverse(files []*ast.File) []event { + // Preallocate approximate number of events + // based on source file extent of the declarations. + // (We use End-Pos not FileStart-FileEnd to neglect + // the effect of long doc comments.) + // This makes traverse faster by 4x (!). + var extent int + for _, f := range files { + extent += int(f.End() - f.Pos()) + } + // This estimate is based on the net/http package. + capacity := min(extent*33/100, 1e6) // impose some reasonable maximum (1M) + + v := &visitor{ + events: make([]event, 0, capacity), + stack: []item{{index: -1}}, // include an extra event so file nodes have a parent + } + for _, file := range files { + walk(v, edge.Invalid, -1, file) + } + return v.events +} + +type visitor struct { + events []event + stack []item +} + +type item struct { + index int32 // index of current node's push event + parentIndex int32 // index of parent node's push event + typAccum uint64 // accumulated type bits of current node's descendants + edgeKindAndIndex int32 // edge.Kind and index, bit packed +} + +func (v *visitor) push(ek edge.Kind, eindex int, node ast.Node) { + var ( + index = int32(len(v.events)) + parentIndex = v.stack[len(v.stack)-1].index + ) + v.events = append(v.events, event{ + node: node, + parent: parentIndex, + typ: typeOf(node), + index: 0, // (pop index is set later by visitor.pop) + }) + v.stack = append(v.stack, item{ + index: index, + parentIndex: parentIndex, + edgeKindAndIndex: packEdgeKindAndIndex(ek, eindex), + }) + + // 2B nodes ought to be enough for anyone! + if int32(len(v.events)) < 0 { + panic("event index exceeded int32") + } + + // 32M elements in an []ast.Node ought to be enough for anyone! + if ek2, eindex2 := unpackEdgeKindAndIndex(packEdgeKindAndIndex(ek, eindex)); ek2 != ek || eindex2 != eindex { + panic("Node slice index exceeded uint25") + } +} + +func (v *visitor) pop(node ast.Node) { + top := len(v.stack) - 1 + current := v.stack[top] + + push := &v.events[current.index] + parent := &v.stack[top-1] + + push.index = int32(len(v.events)) // make push event refer to pop + parent.typAccum |= current.typAccum | push.typ // accumulate type bits into parent + + v.stack = v.stack[:top] + + v.events = append(v.events, event{ + node: node, + typ: current.typAccum, + index: current.index, + parent: current.edgeKindAndIndex, // see [unpackEdgeKindAndIndex] + }) +} diff --git a/vendor/golang.org/x/tools/go/ast/inspector/iter.go b/vendor/golang.org/x/tools/go/ast/inspector/iter.go new file mode 100644 index 0000000000..c576dc70ac --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/inspector/iter.go @@ -0,0 +1,85 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build go1.23 + +package inspector + +import ( + "go/ast" + "iter" +) + +// PreorderSeq returns an iterator that visits all the +// nodes of the files supplied to New in depth-first order. +// It visits each node n before n's children. +// The complete traversal sequence is determined by ast.Inspect. +// +// The types argument, if non-empty, enables type-based +// filtering of events: only nodes whose type matches an +// element of the types slice are included in the sequence. +func (in *Inspector) PreorderSeq(types ...ast.Node) iter.Seq[ast.Node] { + + // This implementation is identical to Preorder, + // except that it supports breaking out of the loop. + + return func(yield func(ast.Node) bool) { + mask := maskOf(types) + for i := int32(0); i < int32(len(in.events)); { + ev := in.events[i] + if ev.index > i { + // push + if ev.typ&mask != 0 { + if !yield(ev.node) { + break + } + } + pop := ev.index + if in.events[pop].typ&mask == 0 { + // Subtrees do not contain types: skip them and pop. + i = pop + 1 + continue + } + } + i++ + } + } +} + +// All[N] returns an iterator over all the nodes of type N. +// N must be a pointer-to-struct type that implements ast.Node. +// +// Example: +// +// for call := range All[*ast.CallExpr](in) { ... } +func All[N interface { + *S + ast.Node +}, S any](in *Inspector) iter.Seq[N] { + + // To avoid additional dynamic call overheads, + // we duplicate rather than call the logic of PreorderSeq. + + mask := typeOf((N)(nil)) + return func(yield func(N) bool) { + for i := int32(0); i < int32(len(in.events)); { + ev := in.events[i] + if ev.index > i { + // push + if ev.typ&mask != 0 { + if !yield(ev.node.(N)) { + break + } + } + pop := ev.index + if in.events[pop].typ&mask == 0 { + // Subtrees do not contain types: skip them and pop. + i = pop + 1 + continue + } + } + i++ + } + } +} diff --git a/vendor/golang.org/x/tools/go/ast/inspector/typeof.go b/vendor/golang.org/x/tools/go/ast/inspector/typeof.go new file mode 100644 index 0000000000..9852331a3d --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/inspector/typeof.go @@ -0,0 +1,227 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package inspector + +// This file defines func typeOf(ast.Node) uint64. +// +// The initial map-based implementation was too slow; +// see https://go-review.googlesource.com/c/tools/+/135655/1/go/ast/inspector/inspector.go#196 + +import ( + "go/ast" + "math" +) + +const ( + nArrayType = iota + nAssignStmt + nBadDecl + nBadExpr + nBadStmt + nBasicLit + nBinaryExpr + nBlockStmt + nBranchStmt + nCallExpr + nCaseClause + nChanType + nCommClause + nComment + nCommentGroup + nCompositeLit + nDeclStmt + nDeferStmt + nEllipsis + nEmptyStmt + nExprStmt + nField + nFieldList + nFile + nForStmt + nFuncDecl + nFuncLit + nFuncType + nGenDecl + nGoStmt + nIdent + nIfStmt + nImportSpec + nIncDecStmt + nIndexExpr + nIndexListExpr + nInterfaceType + nKeyValueExpr + nLabeledStmt + nMapType + nPackage + nParenExpr + nRangeStmt + nReturnStmt + nSelectStmt + nSelectorExpr + nSendStmt + nSliceExpr + nStarExpr + nStructType + nSwitchStmt + nTypeAssertExpr + nTypeSpec + nTypeSwitchStmt + nUnaryExpr + nValueSpec +) + +// typeOf returns a distinct single-bit value that represents the type of n. +// +// Various implementations were benchmarked with BenchmarkNewInspector: +// +// GOGC=off +// - type switch 4.9-5.5ms 2.1ms +// - binary search over a sorted list of types 5.5-5.9ms 2.5ms +// - linear scan, frequency-ordered list 5.9-6.1ms 2.7ms +// - linear scan, unordered list 6.4ms 2.7ms +// - hash table 6.5ms 3.1ms +// +// A perfect hash seemed like overkill. +// +// The compiler's switch statement is the clear winner +// as it produces a binary tree in code, +// with constant conditions and good branch prediction. +// (Sadly it is the most verbose in source code.) +// Binary search suffered from poor branch prediction. +func typeOf(n ast.Node) uint64 { + // Fast path: nearly half of all nodes are identifiers. + if _, ok := n.(*ast.Ident); ok { + return 1 << nIdent + } + + // These cases include all nodes encountered by ast.Inspect. + switch n.(type) { + case *ast.ArrayType: + return 1 << nArrayType + case *ast.AssignStmt: + return 1 << nAssignStmt + case *ast.BadDecl: + return 1 << nBadDecl + case *ast.BadExpr: + return 1 << nBadExpr + case *ast.BadStmt: + return 1 << nBadStmt + case *ast.BasicLit: + return 1 << nBasicLit + case *ast.BinaryExpr: + return 1 << nBinaryExpr + case *ast.BlockStmt: + return 1 << nBlockStmt + case *ast.BranchStmt: + return 1 << nBranchStmt + case *ast.CallExpr: + return 1 << nCallExpr + case *ast.CaseClause: + return 1 << nCaseClause + case *ast.ChanType: + return 1 << nChanType + case *ast.CommClause: + return 1 << nCommClause + case *ast.Comment: + return 1 << nComment + case *ast.CommentGroup: + return 1 << nCommentGroup + case *ast.CompositeLit: + return 1 << nCompositeLit + case *ast.DeclStmt: + return 1 << nDeclStmt + case *ast.DeferStmt: + return 1 << nDeferStmt + case *ast.Ellipsis: + return 1 << nEllipsis + case *ast.EmptyStmt: + return 1 << nEmptyStmt + case *ast.ExprStmt: + return 1 << nExprStmt + case *ast.Field: + return 1 << nField + case *ast.FieldList: + return 1 << nFieldList + case *ast.File: + return 1 << nFile + case *ast.ForStmt: + return 1 << nForStmt + case *ast.FuncDecl: + return 1 << nFuncDecl + case *ast.FuncLit: + return 1 << nFuncLit + case *ast.FuncType: + return 1 << nFuncType + case *ast.GenDecl: + return 1 << nGenDecl + case *ast.GoStmt: + return 1 << nGoStmt + case *ast.Ident: + return 1 << nIdent + case *ast.IfStmt: + return 1 << nIfStmt + case *ast.ImportSpec: + return 1 << nImportSpec + case *ast.IncDecStmt: + return 1 << nIncDecStmt + case *ast.IndexExpr: + return 1 << nIndexExpr + case *ast.IndexListExpr: + return 1 << nIndexListExpr + case *ast.InterfaceType: + return 1 << nInterfaceType + case *ast.KeyValueExpr: + return 1 << nKeyValueExpr + case *ast.LabeledStmt: + return 1 << nLabeledStmt + case *ast.MapType: + return 1 << nMapType + case *ast.Package: + return 1 << nPackage + case *ast.ParenExpr: + return 1 << nParenExpr + case *ast.RangeStmt: + return 1 << nRangeStmt + case *ast.ReturnStmt: + return 1 << nReturnStmt + case *ast.SelectStmt: + return 1 << nSelectStmt + case *ast.SelectorExpr: + return 1 << nSelectorExpr + case *ast.SendStmt: + return 1 << nSendStmt + case *ast.SliceExpr: + return 1 << nSliceExpr + case *ast.StarExpr: + return 1 << nStarExpr + case *ast.StructType: + return 1 << nStructType + case *ast.SwitchStmt: + return 1 << nSwitchStmt + case *ast.TypeAssertExpr: + return 1 << nTypeAssertExpr + case *ast.TypeSpec: + return 1 << nTypeSpec + case *ast.TypeSwitchStmt: + return 1 << nTypeSwitchStmt + case *ast.UnaryExpr: + return 1 << nUnaryExpr + case *ast.ValueSpec: + return 1 << nValueSpec + } + return 0 +} + +func maskOf(nodes []ast.Node) uint64 { + if len(nodes) == 0 { + return math.MaxUint64 // match all node types + } + var mask uint64 + for _, n := range nodes { + mask |= typeOf(n) + } + return mask +} diff --git a/vendor/golang.org/x/tools/go/ast/inspector/walk.go b/vendor/golang.org/x/tools/go/ast/inspector/walk.go new file mode 100644 index 0000000000..5f1c93c8a7 --- /dev/null +++ b/vendor/golang.org/x/tools/go/ast/inspector/walk.go @@ -0,0 +1,341 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package inspector + +// This file is a fork of ast.Inspect to reduce unnecessary dynamic +// calls and to gather edge information. +// +// Consistency with the original is ensured by TestInspectAllNodes. + +import ( + "fmt" + "go/ast" + + "golang.org/x/tools/go/ast/edge" +) + +func walkList[N ast.Node](v *visitor, ek edge.Kind, list []N) { + for i, node := range list { + walk(v, ek, i, node) + } +} + +func walk(v *visitor, ek edge.Kind, index int, node ast.Node) { + v.push(ek, index, node) + + // walk children + // (the order of the cases matches the order + // of the corresponding node types in ast.go) + switch n := node.(type) { + // Comments and fields + case *ast.Comment: + // nothing to do + + case *ast.CommentGroup: + walkList(v, edge.CommentGroup_List, n.List) + + case *ast.Field: + if n.Doc != nil { + walk(v, edge.Field_Doc, -1, n.Doc) + } + walkList(v, edge.Field_Names, n.Names) + if n.Type != nil { + walk(v, edge.Field_Type, -1, n.Type) + } + if n.Tag != nil { + walk(v, edge.Field_Tag, -1, n.Tag) + } + if n.Comment != nil { + walk(v, edge.Field_Comment, -1, n.Comment) + } + + case *ast.FieldList: + walkList(v, edge.FieldList_List, n.List) + + // Expressions + case *ast.BadExpr, *ast.Ident, *ast.BasicLit: + // nothing to do + + case *ast.Ellipsis: + if n.Elt != nil { + walk(v, edge.Ellipsis_Elt, -1, n.Elt) + } + + case *ast.FuncLit: + walk(v, edge.FuncLit_Type, -1, n.Type) + walk(v, edge.FuncLit_Body, -1, n.Body) + + case *ast.CompositeLit: + if n.Type != nil { + walk(v, edge.CompositeLit_Type, -1, n.Type) + } + walkList(v, edge.CompositeLit_Elts, n.Elts) + + case *ast.ParenExpr: + walk(v, edge.ParenExpr_X, -1, n.X) + + case *ast.SelectorExpr: + walk(v, edge.SelectorExpr_X, -1, n.X) + walk(v, edge.SelectorExpr_Sel, -1, n.Sel) + + case *ast.IndexExpr: + walk(v, edge.IndexExpr_X, -1, n.X) + walk(v, edge.IndexExpr_Index, -1, n.Index) + + case *ast.IndexListExpr: + walk(v, edge.IndexListExpr_X, -1, n.X) + walkList(v, edge.IndexListExpr_Indices, n.Indices) + + case *ast.SliceExpr: + walk(v, edge.SliceExpr_X, -1, n.X) + if n.Low != nil { + walk(v, edge.SliceExpr_Low, -1, n.Low) + } + if n.High != nil { + walk(v, edge.SliceExpr_High, -1, n.High) + } + if n.Max != nil { + walk(v, edge.SliceExpr_Max, -1, n.Max) + } + + case *ast.TypeAssertExpr: + walk(v, edge.TypeAssertExpr_X, -1, n.X) + if n.Type != nil { + walk(v, edge.TypeAssertExpr_Type, -1, n.Type) + } + + case *ast.CallExpr: + walk(v, edge.CallExpr_Fun, -1, n.Fun) + walkList(v, edge.CallExpr_Args, n.Args) + + case *ast.StarExpr: + walk(v, edge.StarExpr_X, -1, n.X) + + case *ast.UnaryExpr: + walk(v, edge.UnaryExpr_X, -1, n.X) + + case *ast.BinaryExpr: + walk(v, edge.BinaryExpr_X, -1, n.X) + walk(v, edge.BinaryExpr_Y, -1, n.Y) + + case *ast.KeyValueExpr: + walk(v, edge.KeyValueExpr_Key, -1, n.Key) + walk(v, edge.KeyValueExpr_Value, -1, n.Value) + + // Types + case *ast.ArrayType: + if n.Len != nil { + walk(v, edge.ArrayType_Len, -1, n.Len) + } + walk(v, edge.ArrayType_Elt, -1, n.Elt) + + case *ast.StructType: + walk(v, edge.StructType_Fields, -1, n.Fields) + + case *ast.FuncType: + if n.TypeParams != nil { + walk(v, edge.FuncType_TypeParams, -1, n.TypeParams) + } + if n.Params != nil { + walk(v, edge.FuncType_Params, -1, n.Params) + } + if n.Results != nil { + walk(v, edge.FuncType_Results, -1, n.Results) + } + + case *ast.InterfaceType: + walk(v, edge.InterfaceType_Methods, -1, n.Methods) + + case *ast.MapType: + walk(v, edge.MapType_Key, -1, n.Key) + walk(v, edge.MapType_Value, -1, n.Value) + + case *ast.ChanType: + walk(v, edge.ChanType_Value, -1, n.Value) + + // Statements + case *ast.BadStmt: + // nothing to do + + case *ast.DeclStmt: + walk(v, edge.DeclStmt_Decl, -1, n.Decl) + + case *ast.EmptyStmt: + // nothing to do + + case *ast.LabeledStmt: + walk(v, edge.LabeledStmt_Label, -1, n.Label) + walk(v, edge.LabeledStmt_Stmt, -1, n.Stmt) + + case *ast.ExprStmt: + walk(v, edge.ExprStmt_X, -1, n.X) + + case *ast.SendStmt: + walk(v, edge.SendStmt_Chan, -1, n.Chan) + walk(v, edge.SendStmt_Value, -1, n.Value) + + case *ast.IncDecStmt: + walk(v, edge.IncDecStmt_X, -1, n.X) + + case *ast.AssignStmt: + walkList(v, edge.AssignStmt_Lhs, n.Lhs) + walkList(v, edge.AssignStmt_Rhs, n.Rhs) + + case *ast.GoStmt: + walk(v, edge.GoStmt_Call, -1, n.Call) + + case *ast.DeferStmt: + walk(v, edge.DeferStmt_Call, -1, n.Call) + + case *ast.ReturnStmt: + walkList(v, edge.ReturnStmt_Results, n.Results) + + case *ast.BranchStmt: + if n.Label != nil { + walk(v, edge.BranchStmt_Label, -1, n.Label) + } + + case *ast.BlockStmt: + walkList(v, edge.BlockStmt_List, n.List) + + case *ast.IfStmt: + if n.Init != nil { + walk(v, edge.IfStmt_Init, -1, n.Init) + } + walk(v, edge.IfStmt_Cond, -1, n.Cond) + walk(v, edge.IfStmt_Body, -1, n.Body) + if n.Else != nil { + walk(v, edge.IfStmt_Else, -1, n.Else) + } + + case *ast.CaseClause: + walkList(v, edge.CaseClause_List, n.List) + walkList(v, edge.CaseClause_Body, n.Body) + + case *ast.SwitchStmt: + if n.Init != nil { + walk(v, edge.SwitchStmt_Init, -1, n.Init) + } + if n.Tag != nil { + walk(v, edge.SwitchStmt_Tag, -1, n.Tag) + } + walk(v, edge.SwitchStmt_Body, -1, n.Body) + + case *ast.TypeSwitchStmt: + if n.Init != nil { + walk(v, edge.TypeSwitchStmt_Init, -1, n.Init) + } + walk(v, edge.TypeSwitchStmt_Assign, -1, n.Assign) + walk(v, edge.TypeSwitchStmt_Body, -1, n.Body) + + case *ast.CommClause: + if n.Comm != nil { + walk(v, edge.CommClause_Comm, -1, n.Comm) + } + walkList(v, edge.CommClause_Body, n.Body) + + case *ast.SelectStmt: + walk(v, edge.SelectStmt_Body, -1, n.Body) + + case *ast.ForStmt: + if n.Init != nil { + walk(v, edge.ForStmt_Init, -1, n.Init) + } + if n.Cond != nil { + walk(v, edge.ForStmt_Cond, -1, n.Cond) + } + if n.Post != nil { + walk(v, edge.ForStmt_Post, -1, n.Post) + } + walk(v, edge.ForStmt_Body, -1, n.Body) + + case *ast.RangeStmt: + if n.Key != nil { + walk(v, edge.RangeStmt_Key, -1, n.Key) + } + if n.Value != nil { + walk(v, edge.RangeStmt_Value, -1, n.Value) + } + walk(v, edge.RangeStmt_X, -1, n.X) + walk(v, edge.RangeStmt_Body, -1, n.Body) + + // Declarations + case *ast.ImportSpec: + if n.Doc != nil { + walk(v, edge.ImportSpec_Doc, -1, n.Doc) + } + if n.Name != nil { + walk(v, edge.ImportSpec_Name, -1, n.Name) + } + walk(v, edge.ImportSpec_Path, -1, n.Path) + if n.Comment != nil { + walk(v, edge.ImportSpec_Comment, -1, n.Comment) + } + + case *ast.ValueSpec: + if n.Doc != nil { + walk(v, edge.ValueSpec_Doc, -1, n.Doc) + } + walkList(v, edge.ValueSpec_Names, n.Names) + if n.Type != nil { + walk(v, edge.ValueSpec_Type, -1, n.Type) + } + walkList(v, edge.ValueSpec_Values, n.Values) + if n.Comment != nil { + walk(v, edge.ValueSpec_Comment, -1, n.Comment) + } + + case *ast.TypeSpec: + if n.Doc != nil { + walk(v, edge.TypeSpec_Doc, -1, n.Doc) + } + walk(v, edge.TypeSpec_Name, -1, n.Name) + if n.TypeParams != nil { + walk(v, edge.TypeSpec_TypeParams, -1, n.TypeParams) + } + walk(v, edge.TypeSpec_Type, -1, n.Type) + if n.Comment != nil { + walk(v, edge.TypeSpec_Comment, -1, n.Comment) + } + + case *ast.BadDecl: + // nothing to do + + case *ast.GenDecl: + if n.Doc != nil { + walk(v, edge.GenDecl_Doc, -1, n.Doc) + } + walkList(v, edge.GenDecl_Specs, n.Specs) + + case *ast.FuncDecl: + if n.Doc != nil { + walk(v, edge.FuncDecl_Doc, -1, n.Doc) + } + if n.Recv != nil { + walk(v, edge.FuncDecl_Recv, -1, n.Recv) + } + walk(v, edge.FuncDecl_Name, -1, n.Name) + walk(v, edge.FuncDecl_Type, -1, n.Type) + if n.Body != nil { + walk(v, edge.FuncDecl_Body, -1, n.Body) + } + + case *ast.File: + if n.Doc != nil { + walk(v, edge.File_Doc, -1, n.Doc) + } + walk(v, edge.File_Name, -1, n.Name) + walkList(v, edge.File_Decls, n.Decls) + // don't walk n.Comments - they have been + // visited already through the individual + // nodes + + default: + // (includes *ast.Package) + panic(fmt.Sprintf("Walk: unexpected node type %T", n)) + } + + v.pop(node) +} diff --git a/vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go b/vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go index 65fe2628e9..7b90bc9235 100644 --- a/vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go +++ b/vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go @@ -193,10 +193,7 @@ func Read(in io.Reader, fset *token.FileSet, imports map[string]*types.Package, return pkg, err default: - l := len(data) - if l > 10 { - l = 10 - } + l := min(len(data), 10) return nil, fmt.Errorf("unexpected export data with prefix %q for path %s", string(data[:l]), path) } } diff --git a/vendor/golang.org/x/tools/go/packages/doc.go b/vendor/golang.org/x/tools/go/packages/doc.go index f1931d10ee..366aab6b2c 100644 --- a/vendor/golang.org/x/tools/go/packages/doc.go +++ b/vendor/golang.org/x/tools/go/packages/doc.go @@ -76,6 +76,8 @@ uninterpreted to Load, so that it can interpret them according to the conventions of the underlying build system. See the Example function for typical usage. +See also [golang.org/x/tools/go/packages/internal/linecount] +for an example application. # The driver protocol diff --git a/vendor/golang.org/x/tools/go/packages/external.go b/vendor/golang.org/x/tools/go/packages/external.go index 91bd62e83b..f37bc65100 100644 --- a/vendor/golang.org/x/tools/go/packages/external.go +++ b/vendor/golang.org/x/tools/go/packages/external.go @@ -90,7 +90,7 @@ func findExternalDriver(cfg *Config) driver { const toolPrefix = "GOPACKAGESDRIVER=" tool := "" for _, env := range cfg.Env { - if val := strings.TrimPrefix(env, toolPrefix); val != env { + if val, ok := strings.CutPrefix(env, toolPrefix); ok { tool = val } } diff --git a/vendor/golang.org/x/tools/go/packages/golist.go b/vendor/golang.org/x/tools/go/packages/golist.go index 0458b4f9c4..680a70ca8f 100644 --- a/vendor/golang.org/x/tools/go/packages/golist.go +++ b/vendor/golang.org/x/tools/go/packages/golist.go @@ -224,13 +224,22 @@ extractQueries: return response.dr, nil } +// abs returns an absolute representation of path, based on cfg.Dir. +func (cfg *Config) abs(path string) (string, error) { + if filepath.IsAbs(path) { + return path, nil + } + // In case cfg.Dir is relative, pass it to filepath.Abs. + return filepath.Abs(filepath.Join(cfg.Dir, path)) +} + func (state *golistState) runContainsQueries(response *responseDeduper, queries []string) error { for _, query := range queries { // TODO(matloob): Do only one query per directory. fdir := filepath.Dir(query) // Pass absolute path of directory to go list so that it knows to treat it as a directory, // not a package path. - pattern, err := filepath.Abs(fdir) + pattern, err := state.cfg.abs(fdir) if err != nil { return fmt.Errorf("could not determine absolute path of file= query path %q: %v", query, err) } @@ -355,12 +364,6 @@ type jsonPackage struct { DepsErrors []*packagesinternal.PackageError } -type jsonPackageError struct { - ImportStack []string - Pos string - Err string -} - func otherFiles(p *jsonPackage) [][]string { return [][]string{p.CFiles, p.CXXFiles, p.MFiles, p.HFiles, p.FFiles, p.SFiles, p.SwigFiles, p.SwigCXXFiles, p.SysoFiles} } @@ -703,9 +706,8 @@ func (state *golistState) getGoVersion() (int, error) { // getPkgPath finds the package path of a directory if it's relative to a root // directory. func (state *golistState) getPkgPath(dir string) (string, bool, error) { - absDir, err := filepath.Abs(dir) - if err != nil { - return "", false, err + if !filepath.IsAbs(dir) { + panic("non-absolute dir passed to getPkgPath") } roots, err := state.determineRootDirs() if err != nil { @@ -715,7 +717,7 @@ func (state *golistState) getPkgPath(dir string) (string, bool, error) { for rdir, rpath := range roots { // Make sure that the directory is in the module, // to avoid creating a path relative to another module. - if !strings.HasPrefix(absDir, rdir) { + if !strings.HasPrefix(dir, rdir) { continue } // TODO(matloob): This doesn't properly handle symlinks. @@ -851,8 +853,6 @@ func (state *golistState) cfgInvocation() gocommand.Invocation { cfg := state.cfg return gocommand.Invocation{ BuildFlags: cfg.BuildFlags, - ModFile: cfg.modFile, - ModFlag: cfg.modFlag, CleanEnv: cfg.Env != nil, Env: cfg.Env, Logf: cfg.Logf, diff --git a/vendor/golang.org/x/tools/go/packages/golist_overlay.go b/vendor/golang.org/x/tools/go/packages/golist_overlay.go index d823c474ad..d9d5a45cd4 100644 --- a/vendor/golang.org/x/tools/go/packages/golist_overlay.go +++ b/vendor/golang.org/x/tools/go/packages/golist_overlay.go @@ -55,7 +55,7 @@ func (state *golistState) determineRootDirsModules() (map[string]string, error) } if mod.Dir != "" && mod.Path != "" { // This is a valid module; add it to the map. - absDir, err := filepath.Abs(mod.Dir) + absDir, err := state.cfg.abs(mod.Dir) if err != nil { return nil, err } diff --git a/vendor/golang.org/x/tools/go/packages/packages.go b/vendor/golang.org/x/tools/go/packages/packages.go index 0147d9080a..060ab08efb 100644 --- a/vendor/golang.org/x/tools/go/packages/packages.go +++ b/vendor/golang.org/x/tools/go/packages/packages.go @@ -59,10 +59,10 @@ import ( // // Unfortunately there are a number of open bugs related to // interactions among the LoadMode bits: -// - https://github.com/golang/go/issues/56633 -// - https://github.com/golang/go/issues/56677 -// - https://github.com/golang/go/issues/58726 -// - https://github.com/golang/go/issues/63517 +// - https://go.dev/issue/56633 +// - https://go.dev/issue/56677 +// - https://go.dev/issue/58726 +// - https://go.dev/issue/63517 type LoadMode int const ( @@ -141,6 +141,8 @@ const ( LoadAllSyntax = LoadSyntax | NeedDeps // Deprecated: NeedExportsFile is a historical misspelling of NeedExportFile. + // + //go:fix inline NeedExportsFile = NeedExportFile ) @@ -161,7 +163,7 @@ type Config struct { // If the user provides a logger, debug logging is enabled. // If the GOPACKAGESDEBUG environment variable is set to true, // but the logger is nil, default to log.Printf. - Logf func(format string, args ...interface{}) + Logf func(format string, args ...any) // Dir is the directory in which to run the build system's query tool // that provides information about the packages. @@ -227,14 +229,6 @@ type Config struct { // consistent package metadata about unsaved files. However, // drivers may vary in their level of support for overlays. Overlay map[string][]byte - - // -- Hidden configuration fields only for use in x/tools -- - - // modFile will be used for -modfile in go command invocations. - modFile string - - // modFlag will be used for -modfile in go command invocations. - modFlag string } // Load loads and returns the Go packages named by the given patterns. @@ -564,15 +558,9 @@ type ModuleError struct { } func init() { - packagesinternal.GetDepsErrors = func(p interface{}) []*packagesinternal.PackageError { + packagesinternal.GetDepsErrors = func(p any) []*packagesinternal.PackageError { return p.(*Package).depsErrors } - packagesinternal.SetModFile = func(config interface{}, value string) { - config.(*Config).modFile = value - } - packagesinternal.SetModFlag = func(config interface{}, value string) { - config.(*Config).modFlag = value - } packagesinternal.TypecheckCgo = int(typecheckCgo) packagesinternal.DepsErrors = int(needInternalDepsErrors) } @@ -739,7 +727,7 @@ func newLoader(cfg *Config) *loader { if debug { ld.Config.Logf = log.Printf } else { - ld.Config.Logf = func(format string, args ...interface{}) {} + ld.Config.Logf = func(format string, args ...any) {} } } if ld.Config.Mode == 0 { diff --git a/vendor/golang.org/x/tools/go/packages/visit.go b/vendor/golang.org/x/tools/go/packages/visit.go index df14ffd94d..af6a60d75f 100644 --- a/vendor/golang.org/x/tools/go/packages/visit.go +++ b/vendor/golang.org/x/tools/go/packages/visit.go @@ -5,9 +5,11 @@ package packages import ( + "cmp" "fmt" + "iter" "os" - "sort" + "slices" ) // Visit visits all the packages in the import graph whose roots are @@ -16,6 +18,20 @@ import ( // package's dependencies have been visited (postorder). // The boolean result of pre(pkg) determines whether // the imports of package pkg are visited. +// +// Example: +// +// pkgs, err := Load(...) +// if err != nil { ... } +// Visit(pkgs, nil, func(pkg *Package) { +// log.Println(pkg) +// }) +// +// In most cases, it is more convenient to use [Postorder]: +// +// for pkg := range Postorder(pkgs) { +// log.Println(pkg) +// } func Visit(pkgs []*Package, pre func(*Package) bool, post func(*Package)) { seen := make(map[*Package]bool) var visit func(*Package) @@ -24,13 +40,8 @@ func Visit(pkgs []*Package, pre func(*Package) bool, post func(*Package)) { seen[pkg] = true if pre == nil || pre(pkg) { - paths := make([]string, 0, len(pkg.Imports)) - for path := range pkg.Imports { - paths = append(paths, path) - } - sort.Strings(paths) // Imports is a map, this makes visit stable - for _, path := range paths { - visit(pkg.Imports[path]) + for _, imp := range sorted(pkg.Imports) { // for determinism + visit(imp) } } @@ -50,7 +61,7 @@ func Visit(pkgs []*Package, pre func(*Package) bool, post func(*Package)) { func PrintErrors(pkgs []*Package) int { var n int errModules := make(map[*Module]bool) - Visit(pkgs, nil, func(pkg *Package) { + for pkg := range Postorder(pkgs) { for _, err := range pkg.Errors { fmt.Fprintln(os.Stderr, err) n++ @@ -63,6 +74,60 @@ func PrintErrors(pkgs []*Package) int { fmt.Fprintln(os.Stderr, mod.Error.Err) n++ } - }) + } return n } + +// Postorder returns an iterator over the the packages in +// the import graph whose roots are pkg. +// Packages are enumerated in dependencies-first order. +func Postorder(pkgs []*Package) iter.Seq[*Package] { + return func(yield func(*Package) bool) { + seen := make(map[*Package]bool) + var visit func(*Package) bool + visit = func(pkg *Package) bool { + if !seen[pkg] { + seen[pkg] = true + for _, imp := range sorted(pkg.Imports) { // for determinism + if !visit(imp) { + return false + } + } + if !yield(pkg) { + return false + } + } + return true + } + for _, pkg := range pkgs { + if !visit(pkg) { + break + } + } + } +} + +// -- copied from golang.org.x/tools/gopls/internal/util/moremaps -- + +// sorted returns an iterator over the entries of m in key order. +func sorted[M ~map[K]V, K cmp.Ordered, V any](m M) iter.Seq2[K, V] { + // TODO(adonovan): use maps.Sorted if proposal #68598 is accepted. + return func(yield func(K, V) bool) { + keys := keySlice(m) + slices.Sort(keys) + for _, k := range keys { + if !yield(k, m[k]) { + break + } + } + } +} + +// KeySlice returns the keys of the map M, like slices.Collect(maps.Keys(m)). +func keySlice[M ~map[K]V, K comparable, V any](m M) []K { + r := make([]K, 0, len(m)) + for k := range m { + r = append(r, k) + } + return r +} diff --git a/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go b/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go index 16ed3c1780..6c0c74968f 100644 --- a/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go +++ b/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go @@ -603,7 +603,7 @@ func Object(pkg *types.Package, p Path) (types.Object, error) { type hasTypeParams interface { TypeParams() *types.TypeParamList } - // abstraction of *types.{Named,TypeParam} + // abstraction of *types.{Alias,Named,TypeParam} type hasObj interface { Obj() *types.TypeName } @@ -698,7 +698,10 @@ func Object(pkg *types.Package, p Path) (types.Object, error) { } else if false && aliases.Enabled() { // The Enabled check is too expensive, so for now we // simply assume that aliases are not enabled. - // TODO(adonovan): replace with "if true {" when go1.24 is assured. + // + // Now that go1.24 is assured, we should be able to + // replace this with "if true {", but it causes tests + // to fail. TODO(adonovan): investigate. return nil, fmt.Errorf("cannot apply %q to %s (got %T, want alias)", code, t, t) } diff --git a/vendor/golang.org/x/tools/go/types/typeutil/callee.go b/vendor/golang.org/x/tools/go/types/typeutil/callee.go index 754380351e..5f10f56cba 100644 --- a/vendor/golang.org/x/tools/go/types/typeutil/callee.go +++ b/vendor/golang.org/x/tools/go/types/typeutil/callee.go @@ -7,45 +7,23 @@ package typeutil import ( "go/ast" "go/types" - - "golang.org/x/tools/internal/typeparams" + _ "unsafe" // for linkname ) // Callee returns the named target of a function call, if any: // a function, method, builtin, or variable. // // Functions and methods may potentially have type parameters. +// +// Note: for calls of instantiated functions and methods, Callee returns +// the corresponding generic function or method on the generic type. func Callee(info *types.Info, call *ast.CallExpr) types.Object { - fun := ast.Unparen(call.Fun) - - // Look through type instantiation if necessary. - isInstance := false - switch fun.(type) { - case *ast.IndexExpr, *ast.IndexListExpr: - // When extracting the callee from an *IndexExpr, we need to check that - // it is a *types.Func and not a *types.Var. - // Example: Don't match a slice m within the expression `m[0]()`. - isInstance = true - fun, _, _, _ = typeparams.UnpackIndexExpr(fun) - } - - var obj types.Object - switch fun := fun.(type) { - case *ast.Ident: - obj = info.Uses[fun] // type, var, builtin, or declared func - case *ast.SelectorExpr: - if sel, ok := info.Selections[fun]; ok { - obj = sel.Obj() // method or field - } else { - obj = info.Uses[fun.Sel] // qualified identifier? - } + obj := info.Uses[usedIdent(info, call.Fun)] + if obj == nil { + return nil } if _, ok := obj.(*types.TypeName); ok { - return nil // T(x) is a conversion, not a call - } - // A Func is required to match instantiations. - if _, ok := obj.(*types.Func); isInstance && !ok { - return nil // Was not a Func. + return nil } return obj } @@ -56,13 +34,52 @@ func Callee(info *types.Info, call *ast.CallExpr) types.Object { // Note: for calls of instantiated functions and methods, StaticCallee returns // the corresponding generic function or method on the generic type. func StaticCallee(info *types.Info, call *ast.CallExpr) *types.Func { - if f, ok := Callee(info, call).(*types.Func); ok && !interfaceMethod(f) { - return f + obj := info.Uses[usedIdent(info, call.Fun)] + fn, _ := obj.(*types.Func) + if fn == nil || interfaceMethod(fn) { + return nil + } + return fn +} + +// usedIdent is the implementation of [internal/typesinternal.UsedIdent]. +// It returns the identifier associated with e. +// See typesinternal.UsedIdent for a fuller description. +// This function should live in typesinternal, but cannot because it would +// create an import cycle. +// +//go:linkname usedIdent golang.org/x/tools/go/types/typeutil.usedIdent +func usedIdent(info *types.Info, e ast.Expr) *ast.Ident { + if info.Types == nil || info.Uses == nil { + panic("one of info.Types or info.Uses is nil; both must be populated") + } + // Look through type instantiation if necessary. + switch d := ast.Unparen(e).(type) { + case *ast.IndexExpr: + if info.Types[d.Index].IsType() { + e = d.X + } + case *ast.IndexListExpr: + e = d.X + } + + switch e := ast.Unparen(e).(type) { + // info.Uses always has the object we want, even for selector expressions. + // We don't need info.Selections. + // See go/types/recording.go:recordSelection. + case *ast.Ident: + return e + case *ast.SelectorExpr: + return e.Sel } return nil } +// interfaceMethod reports whether its argument is a method of an interface. +// This function should live in typesinternal, but cannot because it would create an import cycle. +// +//go:linkname interfaceMethod golang.org/x/tools/go/types/typeutil.interfaceMethod func interfaceMethod(f *types.Func) bool { - recv := f.Type().(*types.Signature).Recv() + recv := f.Signature().Recv() return recv != nil && types.IsInterface(recv.Type()) } diff --git a/vendor/golang.org/x/tools/go/types/typeutil/map.go b/vendor/golang.org/x/tools/go/types/typeutil/map.go index 93b3090c68..f035a0b6be 100644 --- a/vendor/golang.org/x/tools/go/types/typeutil/map.go +++ b/vendor/golang.org/x/tools/go/types/typeutil/map.go @@ -11,7 +11,6 @@ import ( "fmt" "go/types" "hash/maphash" - "unsafe" "golang.org/x/tools/internal/typeparams" ) @@ -257,10 +256,13 @@ func (h hasher) hash(t types.Type) uint32 { } tparams := t.TypeParams() - for i := range tparams.Len() { - h.inGenericSig = true - tparam := tparams.At(i) - hash += 7 * h.hash(tparam.Constraint()) + if n := tparams.Len(); n > 0 { + h.inGenericSig = true // affects constraints, params, and results + + for i := range n { + tparam := tparams.At(i) + hash += 7 * h.hash(tparam.Constraint()) + } } return hash + 3*h.hashTuple(t.Params()) + 5*h.hashTuple(t.Results()) @@ -377,16 +379,7 @@ var theSeed = maphash.MakeSeed() func (hasher) hashTypeName(tname *types.TypeName) uint32 { // Since types.Identical uses == to compare TypeNames, // the Hash function uses maphash.Comparable. - // TODO(adonovan): or will, when it becomes available in go1.24. - // In the meantime we use the pointer's numeric value. - // - // hash := maphash.Comparable(theSeed, tname) - // - // (Another approach would be to hash the name and package - // path, and whether or not it is a package-level typename. It - // is rare for a package to define multiple local types with - // the same name.) - hash := uintptr(unsafe.Pointer(tname)) + hash := maphash.Comparable(theSeed, tname) return uint32(hash ^ (hash >> 32)) } diff --git a/vendor/golang.org/x/tools/internal/event/core/event.go b/vendor/golang.org/x/tools/internal/event/core/event.go index a6cf0e64a4..ade5d1e799 100644 --- a/vendor/golang.org/x/tools/internal/event/core/event.go +++ b/vendor/golang.org/x/tools/internal/event/core/event.go @@ -28,11 +28,6 @@ type Event struct { dynamic []label.Label // dynamically sized storage for remaining labels } -// eventLabelMap implements label.Map for a the labels of an Event. -type eventLabelMap struct { - event Event -} - func (ev Event) At() time.Time { return ev.at } func (ev Event) Format(f fmt.State, r rune) { diff --git a/vendor/golang.org/x/tools/internal/event/keys/keys.go b/vendor/golang.org/x/tools/internal/event/keys/keys.go index a02206e301..4cfa51b612 100644 --- a/vendor/golang.org/x/tools/internal/event/keys/keys.go +++ b/vendor/golang.org/x/tools/internal/event/keys/keys.go @@ -32,7 +32,7 @@ func (k *Value) Format(w io.Writer, buf []byte, l label.Label) { } // Get can be used to get a label for the key from a label.Map. -func (k *Value) Get(lm label.Map) interface{} { +func (k *Value) Get(lm label.Map) any { if t := lm.Find(k); t.Valid() { return k.From(t) } @@ -40,10 +40,10 @@ func (k *Value) Get(lm label.Map) interface{} { } // From can be used to get a value from a Label. -func (k *Value) From(t label.Label) interface{} { return t.UnpackValue() } +func (k *Value) From(t label.Label) any { return t.UnpackValue() } // Of creates a new Label with this key and the supplied value. -func (k *Value) Of(value interface{}) label.Label { return label.OfValue(k, value) } +func (k *Value) Of(value any) label.Label { return label.OfValue(k, value) } // Tag represents a key for tagging labels that have no value. // These are used when the existence of the label is the entire information it diff --git a/vendor/golang.org/x/tools/internal/event/label/label.go b/vendor/golang.org/x/tools/internal/event/label/label.go index 0f526e1f9a..92a3910573 100644 --- a/vendor/golang.org/x/tools/internal/event/label/label.go +++ b/vendor/golang.org/x/tools/internal/event/label/label.go @@ -8,6 +8,7 @@ import ( "fmt" "io" "reflect" + "slices" "unsafe" ) @@ -32,7 +33,7 @@ type Key interface { type Label struct { key Key packed uint64 - untyped interface{} + untyped any } // Map is the interface to a collection of Labels indexed by key. @@ -76,13 +77,13 @@ type mapChain struct { // OfValue creates a new label from the key and value. // This method is for implementing new key types, label creation should // normally be done with the Of method of the key. -func OfValue(k Key, value interface{}) Label { return Label{key: k, untyped: value} } +func OfValue(k Key, value any) Label { return Label{key: k, untyped: value} } // UnpackValue assumes the label was built using LabelOfValue and returns the value // that was passed to that constructor. // This method is for implementing new key types, for type safety normal // access should be done with the From method of the key. -func (t Label) UnpackValue() interface{} { return t.untyped } +func (t Label) UnpackValue() any { return t.untyped } // Of64 creates a new label from a key and a uint64. This is often // used for non uint64 values that can be packed into a uint64. @@ -154,10 +155,8 @@ func (f *filter) Valid(index int) bool { func (f *filter) Label(index int) Label { l := f.underlying.Label(index) - for _, f := range f.keys { - if l.Key() == f { - return Label{} - } + if slices.Contains(f.keys, l.Key()) { + return Label{} } return l } diff --git a/vendor/golang.org/x/tools/internal/gcimporter/bimport.go b/vendor/golang.org/x/tools/internal/gcimporter/bimport.go index d79a605ed1..734c46198d 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/bimport.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/bimport.go @@ -14,7 +14,7 @@ import ( "sync" ) -func errorf(format string, args ...interface{}) { +func errorf(format string, args ...any) { panic(fmt.Sprintf(format, args...)) } diff --git a/vendor/golang.org/x/tools/internal/gcimporter/iexport.go b/vendor/golang.org/x/tools/internal/gcimporter/iexport.go index 7dfc31a37d..4a4357d2bd 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/iexport.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/iexport.go @@ -236,6 +236,7 @@ import ( "io" "math/big" "reflect" + "slices" "sort" "strconv" "strings" @@ -271,10 +272,10 @@ import ( // file system, be sure to include a cryptographic digest of the executable in // the key to avoid version skew. // -// If the provided reportf func is non-nil, it will be used for reporting bugs -// encountered during export. -// TODO(rfindley): remove reportf when we are confident enough in the new -// objectpath encoding. +// If the provided reportf func is non-nil, it is used for reporting +// bugs (e.g. recovered panics) encountered during export, enabling us +// to obtain via telemetry the stack that would otherwise be lost by +// merely returning an error. func IExportShallow(fset *token.FileSet, pkg *types.Package, reportf ReportFunc) ([]byte, error) { // In principle this operation can only fail if out.Write fails, // but that's impossible for bytes.Buffer---and as a matter of @@ -283,7 +284,7 @@ func IExportShallow(fset *token.FileSet, pkg *types.Package, reportf ReportFunc) // TODO(adonovan): use byte slices throughout, avoiding copying. const bundle, shallow = false, true var out bytes.Buffer - err := iexportCommon(&out, fset, bundle, shallow, iexportVersion, []*types.Package{pkg}) + err := iexportCommon(&out, fset, bundle, shallow, iexportVersion, []*types.Package{pkg}, reportf) return out.Bytes(), err } @@ -310,7 +311,7 @@ func IImportShallow(fset *token.FileSet, getPackages GetPackagesFunc, data []byt } // ReportFunc is the type of a function used to report formatted bugs. -type ReportFunc = func(string, ...interface{}) +type ReportFunc = func(string, ...any) // Current bundled export format version. Increase with each format change. // 0: initial implementation @@ -323,20 +324,27 @@ const bundleVersion = 0 // so that calls to IImportData can override with a provided package path. func IExportData(out io.Writer, fset *token.FileSet, pkg *types.Package) error { const bundle, shallow = false, false - return iexportCommon(out, fset, bundle, shallow, iexportVersion, []*types.Package{pkg}) + return iexportCommon(out, fset, bundle, shallow, iexportVersion, []*types.Package{pkg}, nil) } // IExportBundle writes an indexed export bundle for pkgs to out. func IExportBundle(out io.Writer, fset *token.FileSet, pkgs []*types.Package) error { const bundle, shallow = true, false - return iexportCommon(out, fset, bundle, shallow, iexportVersion, pkgs) + return iexportCommon(out, fset, bundle, shallow, iexportVersion, pkgs, nil) } -func iexportCommon(out io.Writer, fset *token.FileSet, bundle, shallow bool, version int, pkgs []*types.Package) (err error) { +func iexportCommon(out io.Writer, fset *token.FileSet, bundle, shallow bool, version int, pkgs []*types.Package, reportf ReportFunc) (err error) { if !debug { defer func() { if e := recover(); e != nil { + // Report the stack via telemetry (see #71067). + if reportf != nil { + reportf("panic in exporter") + } if ierr, ok := e.(internalError); ok { + // internalError usually means we exported a + // bad go/types data structure: a violation + // of an implicit precondition of Export. err = ierr return } @@ -458,7 +466,7 @@ func (p *iexporter) encodeFile(w *intWriter, file *token.File, needed []uint64) w.uint64(size) // Sort the set of needed offsets. Duplicates are harmless. - sort.Slice(needed, func(i, j int) bool { return needed[i] < needed[j] }) + slices.Sort(needed) lines := file.Lines() // byte offset of each line start w.uint64(uint64(len(lines))) @@ -561,7 +569,6 @@ func (p *iexporter) exportName(obj types.Object) (res string) { type iexporter struct { fset *token.FileSet - out *bytes.Buffer version int shallow bool // don't put types from other packages in the index @@ -597,7 +604,7 @@ type filePositions struct { needed []uint64 // unordered list of needed file offsets } -func (p *iexporter) trace(format string, args ...interface{}) { +func (p *iexporter) trace(format string, args ...any) { if !trace { // Call sites should also be guarded, but having this check here allows // easily enabling/disabling debug trace statements. @@ -812,7 +819,7 @@ func (p *iexporter) doDecl(obj types.Object) { n := named.NumMethods() w.uint64(uint64(n)) - for i := 0; i < n; i++ { + for i := range n { m := named.Method(i) w.pos(m.Pos()) w.string(m.Name()) @@ -1089,7 +1096,7 @@ func (w *exportWriter) doTyp(t types.Type, pkg *types.Package) { w.pkg(fieldPkg) w.uint64(uint64(n)) - for i := 0; i < n; i++ { + for i := range n { f := t.Field(i) if w.p.shallow { w.objectPath(f) @@ -1138,7 +1145,7 @@ func (w *exportWriter) doTyp(t types.Type, pkg *types.Package) { w.startType(unionType) nt := t.Len() w.uint64(uint64(nt)) - for i := 0; i < nt; i++ { + for i := range nt { term := t.Term(i) w.bool(term.Tilde()) w.typ(term.Type(), pkg) @@ -1267,7 +1274,7 @@ func tparamName(exportName string) string { func (w *exportWriter) paramList(tup *types.Tuple) { n := tup.Len() w.uint64(uint64(n)) - for i := 0; i < n; i++ { + for i := range n { w.param(tup.At(i)) } } @@ -1583,6 +1590,6 @@ func (e internalError) Error() string { return "gcimporter: " + string(e) } // "internalErrorf" as the former is used for bugs, whose cause is // internal inconsistency, whereas the latter is used for ordinary // situations like bad input, whose cause is external. -func internalErrorf(format string, args ...interface{}) error { +func internalErrorf(format string, args ...any) error { return internalError(fmt.Sprintf(format, args...)) } diff --git a/vendor/golang.org/x/tools/internal/gcimporter/iimport.go b/vendor/golang.org/x/tools/internal/gcimporter/iimport.go index 69b1d697cb..82e6c9d2dc 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/iimport.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/iimport.go @@ -16,6 +16,7 @@ import ( "go/types" "io" "math/big" + "slices" "sort" "strings" @@ -314,7 +315,7 @@ func iimportCommon(fset *token.FileSet, getPackages GetPackagesFunc, data []byte pkgs = pkgList[:1] // record all referenced packages as imports - list := append(([]*types.Package)(nil), pkgList[1:]...) + list := slices.Clone(pkgList[1:]) sort.Sort(byPath(list)) pkgs[0].SetImports(list) } @@ -400,7 +401,7 @@ type iimporter struct { indent int // for tracing support } -func (p *iimporter) trace(format string, args ...interface{}) { +func (p *iimporter) trace(format string, args ...any) { if !trace { // Call sites should also be guarded, but having this check here allows // easily enabling/disabling debug trace statements. @@ -671,7 +672,9 @@ func (r *importReader) obj(name string) { case varTag: typ := r.typ() - r.declare(types.NewVar(pos, r.currPkg, name, typ)) + v := types.NewVar(pos, r.currPkg, name, typ) + typesinternal.SetVarKind(v, typesinternal.PackageVar) + r.declare(v) default: errorf("unexpected tag: %v", tag) diff --git a/vendor/golang.org/x/tools/internal/gcimporter/iimport_go122.go b/vendor/golang.org/x/tools/internal/gcimporter/iimport_go122.go deleted file mode 100644 index 7586bfaca6..0000000000 --- a/vendor/golang.org/x/tools/internal/gcimporter/iimport_go122.go +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2024 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.22 && !go1.24 - -package gcimporter - -import ( - "go/token" - "go/types" - "unsafe" -) - -// TODO(rfindley): delete this workaround once go1.24 is assured. - -func init() { - // Update markBlack so that it correctly sets the color - // of imported TypeNames. - // - // See the doc comment for markBlack for details. - - type color uint32 - const ( - white color = iota - black - grey - ) - type object struct { - _ *types.Scope - _ token.Pos - _ *types.Package - _ string - _ types.Type - _ uint32 - color_ color - _ token.Pos - } - type typeName struct { - object - } - - // If the size of types.TypeName changes, this will fail to compile. - const delta = int64(unsafe.Sizeof(typeName{})) - int64(unsafe.Sizeof(types.TypeName{})) - var _ [-delta * delta]int - - markBlack = func(obj *types.TypeName) { - type uP = unsafe.Pointer - var ptr *typeName - *(*uP)(uP(&ptr)) = uP(obj) - ptr.color_ = black - } -} diff --git a/vendor/golang.org/x/tools/internal/gcimporter/ureader_yes.go b/vendor/golang.org/x/tools/internal/gcimporter/ureader_yes.go index 6cdab448ec..37b4a39e9e 100644 --- a/vendor/golang.org/x/tools/internal/gcimporter/ureader_yes.go +++ b/vendor/golang.org/x/tools/internal/gcimporter/ureader_yes.go @@ -14,6 +14,7 @@ import ( "golang.org/x/tools/internal/aliases" "golang.org/x/tools/internal/pkgbits" + "golang.org/x/tools/internal/typesinternal" ) // A pkgReader holds the shared state for reading a unified IR package @@ -572,7 +573,8 @@ func (pr *pkgReader) objIdx(idx pkgbits.Index) (*types.Package, string) { sig := fn.Type().(*types.Signature) recv := types.NewVar(fn.Pos(), fn.Pkg(), "", named) - methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic())) + typesinternal.SetVarKind(recv, typesinternal.RecvVar) + methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignatureType(recv, nil, nil, sig.Params(), sig.Results(), sig.Variadic())) } embeds := make([]types.Type, iface.NumEmbeddeds()) @@ -619,7 +621,9 @@ func (pr *pkgReader) objIdx(idx pkgbits.Index) (*types.Package, string) { case pkgbits.ObjVar: pos := r.pos() typ := r.typ() - declare(types.NewVar(pos, objPkg, objName, typ)) + v := types.NewVar(pos, objPkg, objName, typ) + typesinternal.SetVarKind(v, typesinternal.PackageVar) + declare(v) } } diff --git a/vendor/golang.org/x/tools/internal/gocommand/invoke.go b/vendor/golang.org/x/tools/internal/gocommand/invoke.go index e333efc87f..58721202de 100644 --- a/vendor/golang.org/x/tools/internal/gocommand/invoke.go +++ b/vendor/golang.org/x/tools/internal/gocommand/invoke.go @@ -28,7 +28,7 @@ import ( "golang.org/x/tools/internal/event/label" ) -// An Runner will run go command invocations and serialize +// A Runner will run go command invocations and serialize // them if it sees a concurrency error. type Runner struct { // once guards the runner initialization. @@ -141,7 +141,7 @@ func (runner *Runner) runPiped(ctx context.Context, inv Invocation, stdout, stde // Wait for all in-progress go commands to return before proceeding, // to avoid load concurrency errors. - for i := 0; i < maxInFlight; i++ { + for range maxInFlight { select { case <-ctx.Done(): return ctx.Err(), ctx.Err() @@ -179,7 +179,7 @@ type Invocation struct { CleanEnv bool Env []string WorkingDir string - Logf func(format string, args ...interface{}) + Logf func(format string, args ...any) } // Postcondition: both error results have same nilness. @@ -388,7 +388,9 @@ func runCmdContext(ctx context.Context, cmd *exec.Cmd) (err error) { case err := <-resChan: return err case <-timer.C: - HandleHangingGoCommand(startTime, cmd) + // HandleHangingGoCommand terminates this process. + // Pass off resChan in case we can collect the command error. + handleHangingGoCommand(startTime, cmd, resChan) case <-ctx.Done(): } } else { @@ -413,8 +415,6 @@ func runCmdContext(ctx context.Context, cmd *exec.Cmd) (err error) { } // Didn't shut down in response to interrupt. Kill it hard. - // TODO(rfindley): per advice from bcmills@, it may be better to send SIGQUIT - // on certain platforms, such as unix. if err := cmd.Process.Kill(); err != nil && !errors.Is(err, os.ErrProcessDone) && debug { log.Printf("error killing the Go command: %v", err) } @@ -422,15 +422,17 @@ func runCmdContext(ctx context.Context, cmd *exec.Cmd) (err error) { return <-resChan } -func HandleHangingGoCommand(start time.Time, cmd *exec.Cmd) { +// handleHangingGoCommand outputs debugging information to help diagnose the +// cause of a hanging Go command, and then exits with log.Fatalf. +func handleHangingGoCommand(start time.Time, cmd *exec.Cmd, resChan chan error) { switch runtime.GOOS { - case "linux", "darwin", "freebsd", "netbsd": + case "linux", "darwin", "freebsd", "netbsd", "openbsd": fmt.Fprintln(os.Stderr, `DETECTED A HANGING GO COMMAND -The gopls test runner has detected a hanging go command. In order to debug -this, the output of ps and lsof/fstat is printed below. + The gopls test runner has detected a hanging go command. In order to debug + this, the output of ps and lsof/fstat is printed below. -See golang/go#54461 for more details.`) + See golang/go#54461 for more details.`) fmt.Fprintln(os.Stderr, "\nps axo ppid,pid,command:") fmt.Fprintln(os.Stderr, "-------------------------") @@ -438,7 +440,7 @@ See golang/go#54461 for more details.`) psCmd.Stdout = os.Stderr psCmd.Stderr = os.Stderr if err := psCmd.Run(); err != nil { - panic(fmt.Sprintf("running ps: %v", err)) + log.Printf("Handling hanging Go command: running ps: %v", err) } listFiles := "lsof" @@ -452,10 +454,24 @@ See golang/go#54461 for more details.`) listFilesCmd.Stdout = os.Stderr listFilesCmd.Stderr = os.Stderr if err := listFilesCmd.Run(); err != nil { - panic(fmt.Sprintf("running %s: %v", listFiles, err)) + log.Printf("Handling hanging Go command: running %s: %v", listFiles, err) + } + // Try to extract information about the slow go process by issuing a SIGQUIT. + if err := cmd.Process.Signal(sigStuckProcess); err == nil { + select { + case err := <-resChan: + stderr := "not a bytes.Buffer" + if buf, _ := cmd.Stderr.(*bytes.Buffer); buf != nil { + stderr = buf.String() + } + log.Printf("Quit hanging go command:\n\terr:%v\n\tstderr:\n%v\n\n", err, stderr) + case <-time.After(5 * time.Second): + } + } else { + log.Printf("Sending signal %d to hanging go command: %v", sigStuckProcess, err) } } - panic(fmt.Sprintf("detected hanging go command (golang/go#54461); waited %s\n\tcommand:%s\n\tpid:%d", time.Since(start), cmd, cmd.Process.Pid)) + log.Fatalf("detected hanging go command (golang/go#54461); waited %s\n\tcommand:%s\n\tpid:%d", time.Since(start), cmd, cmd.Process.Pid) } func cmdDebugStr(cmd *exec.Cmd) string { diff --git a/vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go b/vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go new file mode 100644 index 0000000000..469c648e4d --- /dev/null +++ b/vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go @@ -0,0 +1,13 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !unix + +package gocommand + +import "os" + +// sigStuckProcess is the signal to send to kill a hanging subprocess. +// On Unix we send SIGQUIT, but on non-Unix we only have os.Kill. +var sigStuckProcess = os.Kill diff --git a/vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go b/vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go new file mode 100644 index 0000000000..169d37c8e9 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go @@ -0,0 +1,13 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build unix + +package gocommand + +import "syscall" + +// Sigstuckprocess is the signal to send to kill a hanging subprocess. +// Send SIGQUIT to get a stack trace. +var sigStuckProcess = syscall.SIGQUIT diff --git a/vendor/golang.org/x/tools/internal/packagesinternal/packages.go b/vendor/golang.org/x/tools/internal/packagesinternal/packages.go index 66e69b4389..929b470beb 100644 --- a/vendor/golang.org/x/tools/internal/packagesinternal/packages.go +++ b/vendor/golang.org/x/tools/internal/packagesinternal/packages.go @@ -5,7 +5,9 @@ // Package packagesinternal exposes internal-only fields from go/packages. package packagesinternal -var GetDepsErrors = func(p interface{}) []*PackageError { return nil } +import "fmt" + +var GetDepsErrors = func(p any) []*PackageError { return nil } type PackageError struct { ImportStack []string // shortest path from package named on command line to this one @@ -13,8 +15,9 @@ type PackageError struct { Err string // the error itself } +func (err PackageError) String() string { + return fmt.Sprintf("%s: %s (import stack: %s)", err.Pos, err.Err, err.ImportStack) +} + var TypecheckCgo int var DepsErrors int // must be set as a LoadMode to call GetDepsErrors - -var SetModFlag = func(config interface{}, value string) {} -var SetModFile = func(config interface{}, value string) {} diff --git a/vendor/golang.org/x/tools/internal/pkgbits/decoder.go b/vendor/golang.org/x/tools/internal/pkgbits/decoder.go index f6cb37c5c3..c0aba26c48 100644 --- a/vendor/golang.org/x/tools/internal/pkgbits/decoder.go +++ b/vendor/golang.org/x/tools/internal/pkgbits/decoder.go @@ -259,7 +259,7 @@ func (r *Decoder) rawUvarint() uint64 { func readUvarint(r *strings.Reader) (uint64, error) { var x uint64 var s uint - for i := 0; i < binary.MaxVarintLen64; i++ { + for i := range binary.MaxVarintLen64 { b, err := r.ReadByte() if err != nil { if i > 0 && err == io.EOF { diff --git a/vendor/golang.org/x/tools/internal/stdlib/deps.go b/vendor/golang.org/x/tools/internal/stdlib/deps.go new file mode 100644 index 0000000000..96ad6c5821 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/stdlib/deps.go @@ -0,0 +1,365 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Code generated by generate.go. DO NOT EDIT. + +package stdlib + +type pkginfo struct { + name string + deps string // list of indices of dependencies, as varint-encoded deltas +} + +var deps = [...]pkginfo{ + {"archive/tar", "\x03k\x03E;\x01\n\x01$\x01\x01\x02\x05\b\x02\x01\x02\x02\f"}, + {"archive/zip", "\x02\x04a\a\x03\x12\x021;\x01+\x05\x01\x0f\x03\x02\x0e\x04"}, + {"bufio", "\x03k\x83\x01D\x14"}, + {"bytes", "n*Y\x03\fG\x02\x02"}, + {"cmp", ""}, + {"compress/bzip2", "\x02\x02\xed\x01A"}, + {"compress/flate", "\x02l\x03\x80\x01\f\x033\x01\x03"}, + {"compress/gzip", "\x02\x04a\a\x03\x14lT"}, + {"compress/lzw", "\x02l\x03\x80\x01"}, + {"compress/zlib", "\x02\x04a\a\x03\x12\x01m"}, + {"container/heap", "\xb3\x02"}, + {"container/list", ""}, + {"container/ring", ""}, + {"context", "n\\m\x01\r"}, + {"crypto", "\x83\x01nC"}, + {"crypto/aes", "\x10\n\a\x93\x02"}, + {"crypto/cipher", "\x03\x1e\x01\x01\x1e\x11\x1c+X"}, + {"crypto/des", "\x10\x13\x1e-+\x9b\x01\x03"}, + {"crypto/dsa", "A\x04)\x83\x01\r"}, + {"crypto/ecdh", "\x03\v\f\x0e\x04\x15\x04\r\x1c\x83\x01"}, + {"crypto/ecdsa", "\x0e\x05\x03\x04\x01\x0e\a\v\x05\x01\x04\f\x01\x1c\x83\x01\r\x05K\x01"}, + {"crypto/ed25519", "\x0e\x1c\x11\x06\n\a\x1c\x83\x01C"}, + {"crypto/elliptic", "0>\x83\x01\r9"}, + {"crypto/fips140", " \x05"}, + {"crypto/hkdf", "-\x13\x01-\x15"}, + {"crypto/hmac", "\x1a\x14\x12\x01\x111"}, + {"crypto/internal/boring", "\x0e\x02\rf"}, + {"crypto/internal/boring/bbig", "\x1a\xe4\x01M"}, + {"crypto/internal/boring/bcache", "\xb8\x02\x13"}, + {"crypto/internal/boring/sig", ""}, + {"crypto/internal/cryptotest", "\x03\r\n\x06$\x0e\x19\x06\x12\x12 \x04\a\t\x16\x01\x11\x11\x1b\x01\a\x05\b\x03\x05\v"}, + {"crypto/internal/entropy", "F"}, + {"crypto/internal/fips140", "?/\x15\xa7\x01\v\x16"}, + {"crypto/internal/fips140/aes", "\x03\x1d\x03\x02\x13\x05\x01\x01\x05*\x92\x014"}, + {"crypto/internal/fips140/aes/gcm", " \x01\x02\x02\x02\x11\x05\x01\x06*\x8f\x01"}, + {"crypto/internal/fips140/alias", "\xcb\x02"}, + {"crypto/internal/fips140/bigmod", "%\x18\x01\x06*\x92\x01"}, + {"crypto/internal/fips140/check", " \x0e\x06\t\x02\xb2\x01Z"}, + {"crypto/internal/fips140/check/checktest", "%\x85\x02!"}, + {"crypto/internal/fips140/drbg", "\x03\x1c\x01\x01\x04\x13\x05\b\x01(\x83\x01\x0f7"}, + {"crypto/internal/fips140/ecdh", "\x03\x1d\x05\x02\t\r1\x83\x01\x0f7"}, + {"crypto/internal/fips140/ecdsa", "\x03\x1d\x04\x01\x02\a\x02\x068\x15nF"}, + {"crypto/internal/fips140/ed25519", "\x03\x1d\x05\x02\x04\v8\xc6\x01\x03"}, + {"crypto/internal/fips140/edwards25519", "%\a\f\x051\x92\x017"}, + {"crypto/internal/fips140/edwards25519/field", "%\x13\x051\x92\x01"}, + {"crypto/internal/fips140/hkdf", "\x03\x1d\x05\t\x06:\x15"}, + {"crypto/internal/fips140/hmac", "\x03\x1d\x14\x01\x018\x15"}, + {"crypto/internal/fips140/mlkem", "\x03\x1d\x05\x02\x0e\x03\x051"}, + {"crypto/internal/fips140/nistec", "%\f\a\x051\x92\x01*\r\x14"}, + {"crypto/internal/fips140/nistec/fiat", "%\x136\x92\x01"}, + {"crypto/internal/fips140/pbkdf2", "\x03\x1d\x05\t\x06:\x15"}, + {"crypto/internal/fips140/rsa", "\x03\x1d\x04\x01\x02\r\x01\x01\x026\x15nF"}, + {"crypto/internal/fips140/sha256", "\x03\x1d\x1d\x01\x06*\x15}"}, + {"crypto/internal/fips140/sha3", "\x03\x1d\x18\x05\x010\x92\x01K"}, + {"crypto/internal/fips140/sha512", "\x03\x1d\x1d\x01\x06*\x15}"}, + {"crypto/internal/fips140/ssh", "%^"}, + {"crypto/internal/fips140/subtle", "#\x1a\xc3\x01"}, + {"crypto/internal/fips140/tls12", "\x03\x1d\x05\t\x06\x028\x15"}, + {"crypto/internal/fips140/tls13", "\x03\x1d\x05\b\a\t1\x15"}, + {"crypto/internal/fips140cache", "\xaa\x02\r&"}, + {"crypto/internal/fips140deps", ""}, + {"crypto/internal/fips140deps/byteorder", "\x99\x01"}, + {"crypto/internal/fips140deps/cpu", "\xae\x01\a"}, + {"crypto/internal/fips140deps/godebug", "\xb6\x01"}, + {"crypto/internal/fips140hash", "5\x1b3\xc8\x01"}, + {"crypto/internal/fips140only", "'\r\x01\x01M3;"}, + {"crypto/internal/fips140test", ""}, + {"crypto/internal/hpke", "\x0e\x01\x01\x03\x053#+gM"}, + {"crypto/internal/impl", "\xb5\x02"}, + {"crypto/internal/randutil", "\xf1\x01\x12"}, + {"crypto/internal/sysrand", "nn! \r\r\x01\x01\f\x06"}, + {"crypto/internal/sysrand/internal/seccomp", "n"}, + {"crypto/md5", "\x0e3-\x15\x16g"}, + {"crypto/mlkem", "/"}, + {"crypto/pbkdf2", "2\x0e\x01-\x15"}, + {"crypto/rand", "\x1a\x06\a\x1a\x04\x01(\x83\x01\rM"}, + {"crypto/rc4", "#\x1e-\xc6\x01"}, + {"crypto/rsa", "\x0e\f\x01\t\x0f\r\x01\x04\x06\a\x1c\x03\x123;\f\x01"}, + {"crypto/sha1", "\x0e\f'\x03*\x15\x16\x15R"}, + {"crypto/sha256", "\x0e\f\x1aO"}, + {"crypto/sha3", "\x0e'N\xc8\x01"}, + {"crypto/sha512", "\x0e\f\x1cM"}, + {"crypto/subtle", "8\x9b\x01W"}, + {"crypto/tls", "\x03\b\x02\x01\x01\x01\x01\x02\x01\x01\x01\x02\x01\x01\a\x01\r\n\x01\t\x05\x03\x01\x01\x01\x01\x02\x01\x02\x01\x17\x02\x03\x12\x16\x15\b;\x16\x16\r\b\x01\x01\x01\x02\x01\r\x06\x02\x01\x0f"}, + {"crypto/tls/internal/fips140tls", "\x17\xa1\x02"}, + {"crypto/x509", "\x03\v\x01\x01\x01\x01\x01\x01\x01\x012\x05\x01\x01\x02\x05\x0e\x06\x02\x02\x03E\x038\x01\x02\b\x01\x01\x02\a\x10\x05\x01\x06\x02\x05\n\x01\x02\x0e\x02\x01\x01\x02\x03\x01"}, + {"crypto/x509/pkix", "d\x06\a\x8d\x01G"}, + {"database/sql", "\x03\nK\x16\x03\x80\x01\v\a\"\x05\b\x02\x03\x01\r\x02\x02\x02"}, + {"database/sql/driver", "\ra\x03\xb4\x01\x0f\x11"}, + {"debug/buildinfo", "\x03X\x02\x01\x01\b\a\x03e\x19\x02\x01+\x0f\x1f"}, + {"debug/dwarf", "\x03d\a\x03\x80\x011\x11\x01\x01"}, + {"debug/elf", "\x03\x06Q\r\a\x03e\x1a\x01,\x17\x01\x16"}, + {"debug/gosym", "\x03d\n\xc2\x01\x01\x01\x02"}, + {"debug/macho", "\x03\x06Q\r\ne\x1b,\x17\x01"}, + {"debug/pe", "\x03\x06Q\r\a\x03e\x1b,\x17\x01\x16"}, + {"debug/plan9obj", "g\a\x03e\x1b,"}, + {"embed", "n*@\x19\x01S"}, + {"embed/internal/embedtest", ""}, + {"encoding", ""}, + {"encoding/ascii85", "\xf1\x01C"}, + {"encoding/asn1", "\x03k\x03\x8c\x01\x01'\r\x02\x01\x10\x03\x01"}, + {"encoding/base32", "\xf1\x01A\x02"}, + {"encoding/base64", "\x99\x01XA\x02"}, + {"encoding/binary", "n\x83\x01\f(\r\x05"}, + {"encoding/csv", "\x02\x01k\x03\x80\x01D\x12\x02"}, + {"encoding/gob", "\x02`\x05\a\x03e\x1b\v\x01\x03\x1d\b\x12\x01\x0f\x02"}, + {"encoding/hex", "n\x03\x80\x01A\x03"}, + {"encoding/json", "\x03\x01^\x04\b\x03\x80\x01\f(\r\x02\x01\x02\x10\x01\x01\x02"}, + {"encoding/pem", "\x03c\b\x83\x01A\x03"}, + {"encoding/xml", "\x02\x01_\f\x03\x80\x014\x05\n\x01\x02\x10\x02"}, + {"errors", "\xca\x01\x81\x01"}, + {"expvar", "kK?\b\v\x15\r\b\x02\x03\x01\x11"}, + {"flag", "b\f\x03\x80\x01,\b\x05\b\x02\x01\x10"}, + {"fmt", "nE>\f \b\r\x02\x03\x12"}, + {"go/ast", "\x03\x01m\x0e\x01q\x03)\b\r\x02\x01"}, + {"go/build", "\x02\x01k\x03\x01\x02\x02\a\x02\x01\x17\x1f\x04\x02\t\x19\x13\x01+\x01\x04\x01\a\b\x02\x01\x12\x02\x02"}, + {"go/build/constraint", "n\xc6\x01\x01\x12\x02"}, + {"go/constant", "q\x0f}\x01\x024\x01\x02\x12"}, + {"go/doc", "\x04m\x01\x05\t>31\x10\x02\x01\x12\x02"}, + {"go/doc/comment", "\x03n\xc1\x01\x01\x01\x01\x12\x02"}, + {"go/format", "\x03n\x01\v\x01\x02qD"}, + {"go/importer", "s\a\x01\x01\x04\x01p9"}, + {"go/internal/gccgoimporter", "\x02\x01X\x13\x03\x04\v\x01n\x02,\x01\x05\x11\x01\f\b"}, + {"go/internal/gcimporter", "\x02o\x0f\x010\x05\x0e-,\x15\x03\x02"}, + {"go/internal/srcimporter", "q\x01\x01\n\x03\x01p,\x01\x05\x12\x02\x14"}, + {"go/parser", "\x03k\x03\x01\x02\v\x01q\x01+\x06\x12"}, + {"go/printer", "q\x01\x02\x03\tq\f \x15\x02\x01\x02\v\x05\x02"}, + {"go/scanner", "\x03n\x0fq2\x10\x01\x13\x02"}, + {"go/token", "\x04m\x83\x01>\x02\x03\x01\x0f\x02"}, + {"go/types", "\x03\x01\x06d\x03\x01\x03\b\x03\x02\x15\x1f\x061\x04\x03\t \x06\a\b\x01\x01\x01\x02\x01\x0f\x02\x02"}, + {"go/version", "\xbb\x01z"}, + {"hash", "\xf1\x01"}, + {"hash/adler32", "n\x15\x16"}, + {"hash/crc32", "n\x15\x16\x15\x89\x01\x01\x13"}, + {"hash/crc64", "n\x15\x16\x9e\x01"}, + {"hash/fnv", "n\x15\x16g"}, + {"hash/maphash", "\x83\x01\x11!\x03\x93\x01"}, + {"html", "\xb5\x02\x02\x12"}, + {"html/template", "\x03h\x06\x18-;\x01\n!\x05\x01\x02\x03\f\x01\x02\f\x01\x03\x02"}, + {"image", "\x02l\x1ee\x0f4\x03\x01"}, + {"image/color", ""}, + {"image/color/palette", "\x8c\x01"}, + {"image/draw", "\x8b\x01\x01\x04"}, + {"image/gif", "\x02\x01\x05f\x03\x1a\x01\x01\x01\vX"}, + {"image/internal/imageutil", "\x8b\x01"}, + {"image/jpeg", "\x02l\x1d\x01\x04a"}, + {"image/png", "\x02\a^\n\x12\x02\x06\x01eC"}, + {"index/suffixarray", "\x03d\a\x83\x01\f+\n\x01"}, + {"internal/abi", "\xb5\x01\x96\x01"}, + {"internal/asan", "\xcb\x02"}, + {"internal/bisect", "\xaa\x02\r\x01"}, + {"internal/buildcfg", "qGe\x06\x02\x05\n\x01"}, + {"internal/bytealg", "\xae\x01\x9d\x01"}, + {"internal/byteorder", ""}, + {"internal/cfg", ""}, + {"internal/cgrouptest", "q[Q\x06\x0f\x02\x01\x04\x01"}, + {"internal/chacha8rand", "\x99\x01\x15\a\x96\x01"}, + {"internal/copyright", ""}, + {"internal/coverage", ""}, + {"internal/coverage/calloc", ""}, + {"internal/coverage/cfile", "k\x06\x16\x17\x01\x02\x01\x01\x01\x01\x01\x01\x01#\x02$,\x06\a\n\x01\x03\r\x06"}, + {"internal/coverage/cformat", "\x04m-\x04O\v6\x01\x02\r"}, + {"internal/coverage/cmerge", "q-_"}, + {"internal/coverage/decodecounter", "g\n-\v\x02F,\x17\x17"}, + {"internal/coverage/decodemeta", "\x02e\n\x16\x17\v\x02F,"}, + {"internal/coverage/encodecounter", "\x02e\n-\f\x01\x02D\v!\x15"}, + {"internal/coverage/encodemeta", "\x02\x01d\n\x12\x04\x17\r\x02D,."}, + {"internal/coverage/pods", "\x04m-\x7f\x06\x05\n\x02\x01"}, + {"internal/coverage/rtcov", "\xcb\x02"}, + {"internal/coverage/slicereader", "g\n\x80\x01Z"}, + {"internal/coverage/slicewriter", "q\x80\x01"}, + {"internal/coverage/stringtab", "q8\x04D"}, + {"internal/coverage/test", ""}, + {"internal/coverage/uleb128", ""}, + {"internal/cpu", "\xcb\x02"}, + {"internal/dag", "\x04m\xc1\x01\x03"}, + {"internal/diff", "\x03n\xc2\x01\x02"}, + {"internal/exportdata", "\x02\x01k\x03\x02c\x1b,\x01\x05\x11\x01\x02"}, + {"internal/filepathlite", "n*@\x1a@"}, + {"internal/fmtsort", "\x04\xa1\x02\r"}, + {"internal/fuzz", "\x03\nB\x18\x04\x03\x03\x01\v\x036;\f\x03\x1d\x01\x05\x02\x05\n\x01\x02\x01\x01\f\x04\x02"}, + {"internal/goarch", ""}, + {"internal/godebug", "\x96\x01!\x80\x01\x01\x13"}, + {"internal/godebugs", ""}, + {"internal/goexperiment", ""}, + {"internal/goos", ""}, + {"internal/goroot", "\x9d\x02\x01\x05\x12\x02"}, + {"internal/gover", "\x04"}, + {"internal/goversion", ""}, + {"internal/itoa", ""}, + {"internal/lazyregexp", "\x9d\x02\v\r\x02"}, + {"internal/lazytemplate", "\xf1\x01,\x18\x02\f"}, + {"internal/msan", "\xcb\x02"}, + {"internal/nettrace", ""}, + {"internal/obscuretestdata", "f\x8b\x01,"}, + {"internal/oserror", "n"}, + {"internal/pkgbits", "\x03L\x18\a\x03\x04\vq\r\x1f\r\n\x01"}, + {"internal/platform", ""}, + {"internal/poll", "nO\x1f\x159\r\x01\x01\f\x06"}, + {"internal/profile", "\x03\x04g\x03\x80\x017\v\x01\x01\x10"}, + {"internal/profilerecord", ""}, + {"internal/race", "\x94\x01\xb7\x01"}, + {"internal/reflectlite", "\x94\x01!9\b\x13\x01\a\x03E;\x01\x03\a\x01\x03\x02\x02\x01\x02\x06\x02\x01\x01\n\x01\x01\x05\x01\x02\x05\b\x01\x01\x01\x02\x01\r\x02\x02\x02\b\x01\x01\x01"}, + {"net/http/cgi", "\x02Q\x1b\x03\x80\x01\x04\a\v\x01\x13\x01\x01\x01\x04\x01\x05\x02\b\x02\x01\x10\x0e"}, + {"net/http/cookiejar", "\x04j\x03\x96\x01\x01\b\f\x16\x03\x02\x0e\x04"}, + {"net/http/fcgi", "\x02\x01\nZ\a\x03\x80\x01\x16\x01\x01\x14\x18\x02\x0e"}, + {"net/http/httptest", "\x02\x01\nF\x02\x1b\x01\x80\x01\x04\x12\x01\n\t\x02\x17\x01\x02\x0e\x0e"}, + {"net/http/httptrace", "\rFnF\x14\n "}, + {"net/http/httputil", "\x02\x01\na\x03\x80\x01\x04\x0f\x03\x01\x05\x02\x01\v\x01\x19\x02\x0e\x0e"}, + {"net/http/internal", "\x02\x01k\x03\x80\x01"}, + {"net/http/internal/ascii", "\xb5\x02\x12"}, + {"net/http/internal/httpcommon", "\ra\x03\x9c\x01\x0e\x01\x17\x01\x01\x02\x1c\x02"}, + {"net/http/internal/testcert", "\xb5\x02"}, + {"net/http/pprof", "\x02\x01\nd\x18-\x11*\x04\x13\x14\x01\r\x04\x03\x01\x02\x01\x10"}, + {"net/internal/cgotest", ""}, + {"net/internal/socktest", "q\xc6\x01\x02"}, + {"net/mail", "\x02l\x03\x80\x01\x04\x0f\x03\x14\x1a\x02\x0e\x04"}, + {"net/netip", "\x04j*\x01$@\x034\x16"}, + {"net/rpc", "\x02g\x05\x03\x0f\ng\x04\x12\x01\x1d\r\x03\x02"}, + {"net/rpc/jsonrpc", "k\x03\x03\x80\x01\x16\x11\x1f"}, + {"net/smtp", "\x19/\v\x13\b\x03\x80\x01\x16\x14\x1a"}, + {"net/textproto", "\x02\x01k\x03\x80\x01\f\n-\x01\x02\x14"}, + {"net/url", "n\x03\x8b\x01&\x10\x02\x01\x16"}, + {"os", "n*\x01\x19\x03\b\t\x12\x03\x01\x05\x10\x018\b\x05\x01\x01\f\x06"}, + {"os/exec", "\x03\naH%\x01\x15\x01+\x06\a\n\x01\x04\f"}, + {"os/exec/internal/fdtest", "\xb9\x02"}, + {"os/signal", "\r\x90\x02\x15\x05\x02"}, + {"os/user", "\x02\x01k\x03\x80\x01,\r\n\x01\x02"}, + {"path", "n*\xb1\x01"}, + {"path/filepath", "n*\x1a@+\r\b\x03\x04\x10"}, + {"plugin", "n"}, + {"reflect", "n&\x04\x1d\b\f\x06\x04\x1b\x06\t-\n\x03\x10\x02\x02"}, + {"reflect/internal/example1", ""}, + {"reflect/internal/example2", ""}, + {"regexp", "\x03\xee\x018\t\x02\x01\x02\x10\x02"}, + {"regexp/syntax", "\xb2\x02\x01\x01\x01\x02\x10\x02"}, + {"runtime", "\x94\x01\x04\x01\x03\f\x06\a\x02\x01\x01\x0f\x03\x01\x01\x01\x01\x01\x02\x01\x01\x04\x10c"}, + {"runtime/coverage", "\xa0\x01Q"}, + {"runtime/debug", "qUW\r\b\x02\x01\x10\x06"}, + {"runtime/metrics", "\xb7\x01F-!"}, + {"runtime/pprof", "\x02\x01\x01\x03\x06Z\a\x03#4)\f \r\b\x01\x01\x01\x02\x02\t\x03\x06"}, + {"runtime/race", "\xb0\x02"}, + {"runtime/race/internal/amd64v1", ""}, + {"runtime/trace", "\ra\x03w\t9\b\x05\x01\r\x06"}, + {"slices", "\x04\xf0\x01\fK"}, + {"sort", "\xca\x0162"}, + {"strconv", "n*@%\x03I"}, + {"strings", "n&\x04@\x19\x03\f7\x10\x02\x02"}, + {"structs", ""}, + {"sync", "\xc9\x01\x10\x01P\x0e\x13"}, + {"sync/atomic", "\xcb\x02"}, + {"syscall", "n'\x03\x01\x1c\b\x03\x03\x06\vV\b\x05\x01\x13"}, + {"testing", "\x03\na\x02\x01X\x14\x14\f\x05\x1b\x06\x02\x05\x02\x05\x01\x02\x01\x02\x01\r\x02\x02\x02"}, + {"testing/fstest", "n\x03\x80\x01\x01\n&\x10\x03\b\b"}, + {"testing/internal/testdeps", "\x02\v\xa7\x01-\x10,\x03\x05\x03\x06\a\x02\x0e"}, + {"testing/iotest", "\x03k\x03\x80\x01\x04"}, + {"testing/quick", "p\x01\x8c\x01\x05#\x10\x10"}, + {"testing/slogtest", "\ra\x03\x86\x01.\x05\x10\v"}, + {"testing/synctest", "\xda\x01`\x11"}, + {"text/scanner", "\x03n\x80\x01,*\x02"}, + {"text/tabwriter", "q\x80\x01X"}, + {"text/template", "n\x03B>\x01\n \x01\x05\x01\x02\x05\v\x02\r\x03\x02"}, + {"text/template/parse", "\x03n\xb9\x01\n\x01\x12\x02"}, + {"time", "n*\x1e\"(*\r\x02\x12"}, + {"time/tzdata", "n\xcb\x01\x12"}, + {"unicode", ""}, + {"unicode/utf16", ""}, + {"unicode/utf8", ""}, + {"unique", "\x94\x01!#\x01Q\r\x01\x13\x12"}, + {"unsafe", ""}, + {"vendor/golang.org/x/crypto/chacha20", "\x10W\a\x92\x01*&"}, + {"vendor/golang.org/x/crypto/chacha20poly1305", "\x10W\a\xde\x01\x04\x01\a"}, + {"vendor/golang.org/x/crypto/cryptobyte", "d\n\x03\x8d\x01' \n"}, + {"vendor/golang.org/x/crypto/cryptobyte/asn1", ""}, + {"vendor/golang.org/x/crypto/internal/alias", "\xcb\x02"}, + {"vendor/golang.org/x/crypto/internal/poly1305", "R\x15\x99\x01"}, + {"vendor/golang.org/x/net/dns/dnsmessage", "n"}, + {"vendor/golang.org/x/net/http/httpguts", "\x87\x02\x14\x1a\x14\r"}, + {"vendor/golang.org/x/net/http/httpproxy", "n\x03\x96\x01\x10\x05\x01\x18\x14\r"}, + {"vendor/golang.org/x/net/http2/hpack", "\x03k\x03\x80\x01F"}, + {"vendor/golang.org/x/net/idna", "q\x8c\x018\x14\x10\x02\x01"}, + {"vendor/golang.org/x/net/nettest", "\x03d\a\x03\x80\x01\x11\x05\x16\x01\f\n\x01\x02\x02\x01\v"}, + {"vendor/golang.org/x/sys/cpu", "\x9d\x02\r\n\x01\x16"}, + {"vendor/golang.org/x/text/secure/bidirule", "n\xdb\x01\x11\x01"}, + {"vendor/golang.org/x/text/transform", "\x03k\x83\x01X"}, + {"vendor/golang.org/x/text/unicode/bidi", "\x03\bf\x84\x01>\x16"}, + {"vendor/golang.org/x/text/unicode/norm", "g\n\x80\x01F\x12\x11"}, + {"weak", "\x94\x01\x96\x01!"}, +} diff --git a/vendor/golang.org/x/tools/internal/stdlib/import.go b/vendor/golang.org/x/tools/internal/stdlib/import.go new file mode 100644 index 0000000000..f6909878a8 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/stdlib/import.go @@ -0,0 +1,89 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package stdlib + +// This file provides the API for the import graph of the standard library. +// +// Be aware that the compiler-generated code for every package +// implicitly depends on package "runtime" and a handful of others +// (see runtimePkgs in GOROOT/src/cmd/internal/objabi/pkgspecial.go). + +import ( + "encoding/binary" + "iter" + "slices" + "strings" +) + +// Imports returns the sequence of packages directly imported by the +// named standard packages, in name order. +// The imports of an unknown package are the empty set. +// +// The graph is built into the application and may differ from the +// graph in the Go source tree being analyzed by the application. +func Imports(pkgs ...string) iter.Seq[string] { + return func(yield func(string) bool) { + for _, pkg := range pkgs { + if i, ok := find(pkg); ok { + var depIndex uint64 + for data := []byte(deps[i].deps); len(data) > 0; { + delta, n := binary.Uvarint(data) + depIndex += delta + if !yield(deps[depIndex].name) { + return + } + data = data[n:] + } + } + } + } +} + +// Dependencies returns the set of all dependencies of the named +// standard packages, including the initial package, +// in a deterministic topological order. +// The dependencies of an unknown package are the empty set. +// +// The graph is built into the application and may differ from the +// graph in the Go source tree being analyzed by the application. +func Dependencies(pkgs ...string) iter.Seq[string] { + return func(yield func(string) bool) { + for _, pkg := range pkgs { + if i, ok := find(pkg); ok { + var seen [1 + len(deps)/8]byte // bit set of seen packages + var visit func(i int) bool + visit = func(i int) bool { + bit := byte(1) << (i % 8) + if seen[i/8]&bit == 0 { + seen[i/8] |= bit + var depIndex uint64 + for data := []byte(deps[i].deps); len(data) > 0; { + delta, n := binary.Uvarint(data) + depIndex += delta + if !visit(int(depIndex)) { + return false + } + data = data[n:] + } + if !yield(deps[i].name) { + return false + } + } + return true + } + if !visit(i) { + return + } + } + } + } +} + +// find returns the index of pkg in the deps table. +func find(pkg string) (int, bool) { + return slices.BinarySearchFunc(deps[:], pkg, func(p pkginfo, n string) int { + return strings.Compare(p.name, n) + }) +} diff --git a/vendor/golang.org/x/tools/internal/stdlib/manifest.go b/vendor/golang.org/x/tools/internal/stdlib/manifest.go index 9f0b871ff6..c1faa50d36 100644 --- a/vendor/golang.org/x/tools/internal/stdlib/manifest.go +++ b/vendor/golang.org/x/tools/internal/stdlib/manifest.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Go Authors. All rights reserved. +// Copyright 2025 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. @@ -8,17643 +8,17719 @@ package stdlib var PackageSymbols = map[string][]Symbol{ "archive/tar": { - {"(*Header).FileInfo", Method, 1}, - {"(*Reader).Next", Method, 0}, - {"(*Reader).Read", Method, 0}, - {"(*Writer).AddFS", Method, 22}, - {"(*Writer).Close", Method, 0}, - {"(*Writer).Flush", Method, 0}, - {"(*Writer).Write", Method, 0}, - {"(*Writer).WriteHeader", Method, 0}, - {"(Format).String", Method, 10}, - {"ErrFieldTooLong", Var, 0}, - {"ErrHeader", Var, 0}, - {"ErrInsecurePath", Var, 20}, - {"ErrWriteAfterClose", Var, 0}, - {"ErrWriteTooLong", Var, 0}, - {"FileInfoHeader", Func, 1}, - {"FileInfoNames", Type, 23}, - {"Format", Type, 10}, - {"FormatGNU", Const, 10}, - {"FormatPAX", Const, 10}, - {"FormatUSTAR", Const, 10}, - {"FormatUnknown", Const, 10}, - {"Header", Type, 0}, - {"Header.AccessTime", Field, 0}, - {"Header.ChangeTime", Field, 0}, - {"Header.Devmajor", Field, 0}, - {"Header.Devminor", Field, 0}, - {"Header.Format", Field, 10}, - {"Header.Gid", Field, 0}, - {"Header.Gname", Field, 0}, - {"Header.Linkname", Field, 0}, - {"Header.ModTime", Field, 0}, - {"Header.Mode", Field, 0}, - {"Header.Name", Field, 0}, - {"Header.PAXRecords", Field, 10}, - {"Header.Size", Field, 0}, - {"Header.Typeflag", Field, 0}, - {"Header.Uid", Field, 0}, - {"Header.Uname", Field, 0}, - {"Header.Xattrs", Field, 3}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"Reader", Type, 0}, - {"TypeBlock", Const, 0}, - {"TypeChar", Const, 0}, - {"TypeCont", Const, 0}, - {"TypeDir", Const, 0}, - {"TypeFifo", Const, 0}, - {"TypeGNULongLink", Const, 1}, - {"TypeGNULongName", Const, 1}, - {"TypeGNUSparse", Const, 3}, - {"TypeLink", Const, 0}, - {"TypeReg", Const, 0}, - {"TypeRegA", Const, 0}, - {"TypeSymlink", Const, 0}, - {"TypeXGlobalHeader", Const, 0}, - {"TypeXHeader", Const, 0}, - {"Writer", Type, 0}, + {"(*Header).FileInfo", Method, 1, ""}, + {"(*Reader).Next", Method, 0, ""}, + {"(*Reader).Read", Method, 0, ""}, + {"(*Writer).AddFS", Method, 22, ""}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).Flush", Method, 0, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"(*Writer).WriteHeader", Method, 0, ""}, + {"(Format).String", Method, 10, ""}, + {"ErrFieldTooLong", Var, 0, ""}, + {"ErrHeader", Var, 0, ""}, + {"ErrInsecurePath", Var, 20, ""}, + {"ErrWriteAfterClose", Var, 0, ""}, + {"ErrWriteTooLong", Var, 0, ""}, + {"FileInfoHeader", Func, 1, "func(fi fs.FileInfo, link string) (*Header, error)"}, + {"FileInfoNames", Type, 23, ""}, + {"Format", Type, 10, ""}, + {"FormatGNU", Const, 10, ""}, + {"FormatPAX", Const, 10, ""}, + {"FormatUSTAR", Const, 10, ""}, + {"FormatUnknown", Const, 10, ""}, + {"Header", Type, 0, ""}, + {"Header.AccessTime", Field, 0, ""}, + {"Header.ChangeTime", Field, 0, ""}, + {"Header.Devmajor", Field, 0, ""}, + {"Header.Devminor", Field, 0, ""}, + {"Header.Format", Field, 10, ""}, + {"Header.Gid", Field, 0, ""}, + {"Header.Gname", Field, 0, ""}, + {"Header.Linkname", Field, 0, ""}, + {"Header.ModTime", Field, 0, ""}, + {"Header.Mode", Field, 0, ""}, + {"Header.Name", Field, 0, ""}, + {"Header.PAXRecords", Field, 10, ""}, + {"Header.Size", Field, 0, ""}, + {"Header.Typeflag", Field, 0, ""}, + {"Header.Uid", Field, 0, ""}, + {"Header.Uname", Field, 0, ""}, + {"Header.Xattrs", Field, 3, ""}, + {"NewReader", Func, 0, "func(r io.Reader) *Reader"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"Reader", Type, 0, ""}, + {"TypeBlock", Const, 0, ""}, + {"TypeChar", Const, 0, ""}, + {"TypeCont", Const, 0, ""}, + {"TypeDir", Const, 0, ""}, + {"TypeFifo", Const, 0, ""}, + {"TypeGNULongLink", Const, 1, ""}, + {"TypeGNULongName", Const, 1, ""}, + {"TypeGNUSparse", Const, 3, ""}, + {"TypeLink", Const, 0, ""}, + {"TypeReg", Const, 0, ""}, + {"TypeRegA", Const, 0, ""}, + {"TypeSymlink", Const, 0, ""}, + {"TypeXGlobalHeader", Const, 0, ""}, + {"TypeXHeader", Const, 0, ""}, + {"Writer", Type, 0, ""}, }, "archive/zip": { - {"(*File).DataOffset", Method, 2}, - {"(*File).FileInfo", Method, 0}, - {"(*File).ModTime", Method, 0}, - {"(*File).Mode", Method, 0}, - {"(*File).Open", Method, 0}, - {"(*File).OpenRaw", Method, 17}, - {"(*File).SetModTime", Method, 0}, - {"(*File).SetMode", Method, 0}, - {"(*FileHeader).FileInfo", Method, 0}, - {"(*FileHeader).ModTime", Method, 0}, - {"(*FileHeader).Mode", Method, 0}, - {"(*FileHeader).SetModTime", Method, 0}, - {"(*FileHeader).SetMode", Method, 0}, - {"(*ReadCloser).Close", Method, 0}, - {"(*ReadCloser).Open", Method, 16}, - {"(*ReadCloser).RegisterDecompressor", Method, 6}, - {"(*Reader).Open", Method, 16}, - {"(*Reader).RegisterDecompressor", Method, 6}, - {"(*Writer).AddFS", Method, 22}, - {"(*Writer).Close", Method, 0}, - {"(*Writer).Copy", Method, 17}, - {"(*Writer).Create", Method, 0}, - {"(*Writer).CreateHeader", Method, 0}, - {"(*Writer).CreateRaw", Method, 17}, - {"(*Writer).Flush", Method, 4}, - {"(*Writer).RegisterCompressor", Method, 6}, - {"(*Writer).SetComment", Method, 10}, - {"(*Writer).SetOffset", Method, 5}, - {"Compressor", Type, 2}, - {"Decompressor", Type, 2}, - {"Deflate", Const, 0}, - {"ErrAlgorithm", Var, 0}, - {"ErrChecksum", Var, 0}, - {"ErrFormat", Var, 0}, - {"ErrInsecurePath", Var, 20}, - {"File", Type, 0}, - {"File.FileHeader", Field, 0}, - {"FileHeader", Type, 0}, - {"FileHeader.CRC32", Field, 0}, - {"FileHeader.Comment", Field, 0}, - {"FileHeader.CompressedSize", Field, 0}, - {"FileHeader.CompressedSize64", Field, 1}, - {"FileHeader.CreatorVersion", Field, 0}, - {"FileHeader.ExternalAttrs", Field, 0}, - {"FileHeader.Extra", Field, 0}, - {"FileHeader.Flags", Field, 0}, - {"FileHeader.Method", Field, 0}, - {"FileHeader.Modified", Field, 10}, - {"FileHeader.ModifiedDate", Field, 0}, - {"FileHeader.ModifiedTime", Field, 0}, - {"FileHeader.Name", Field, 0}, - {"FileHeader.NonUTF8", Field, 10}, - {"FileHeader.ReaderVersion", Field, 0}, - {"FileHeader.UncompressedSize", Field, 0}, - {"FileHeader.UncompressedSize64", Field, 1}, - {"FileInfoHeader", Func, 0}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"OpenReader", Func, 0}, - {"ReadCloser", Type, 0}, - {"ReadCloser.Reader", Field, 0}, - {"Reader", Type, 0}, - {"Reader.Comment", Field, 0}, - {"Reader.File", Field, 0}, - {"RegisterCompressor", Func, 2}, - {"RegisterDecompressor", Func, 2}, - {"Store", Const, 0}, - {"Writer", Type, 0}, + {"(*File).DataOffset", Method, 2, ""}, + {"(*File).FileInfo", Method, 0, ""}, + {"(*File).ModTime", Method, 0, ""}, + {"(*File).Mode", Method, 0, ""}, + {"(*File).Open", Method, 0, ""}, + {"(*File).OpenRaw", Method, 17, ""}, + {"(*File).SetModTime", Method, 0, ""}, + {"(*File).SetMode", Method, 0, ""}, + {"(*FileHeader).FileInfo", Method, 0, ""}, + {"(*FileHeader).ModTime", Method, 0, ""}, + {"(*FileHeader).Mode", Method, 0, ""}, + {"(*FileHeader).SetModTime", Method, 0, ""}, + {"(*FileHeader).SetMode", Method, 0, ""}, + {"(*ReadCloser).Close", Method, 0, ""}, + {"(*ReadCloser).Open", Method, 16, ""}, + {"(*ReadCloser).RegisterDecompressor", Method, 6, ""}, + {"(*Reader).Open", Method, 16, ""}, + {"(*Reader).RegisterDecompressor", Method, 6, ""}, + {"(*Writer).AddFS", Method, 22, ""}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).Copy", Method, 17, ""}, + {"(*Writer).Create", Method, 0, ""}, + {"(*Writer).CreateHeader", Method, 0, ""}, + {"(*Writer).CreateRaw", Method, 17, ""}, + {"(*Writer).Flush", Method, 4, ""}, + {"(*Writer).RegisterCompressor", Method, 6, ""}, + {"(*Writer).SetComment", Method, 10, ""}, + {"(*Writer).SetOffset", Method, 5, ""}, + {"Compressor", Type, 2, ""}, + {"Decompressor", Type, 2, ""}, + {"Deflate", Const, 0, ""}, + {"ErrAlgorithm", Var, 0, ""}, + {"ErrChecksum", Var, 0, ""}, + {"ErrFormat", Var, 0, ""}, + {"ErrInsecurePath", Var, 20, ""}, + {"File", Type, 0, ""}, + {"File.FileHeader", Field, 0, ""}, + {"FileHeader", Type, 0, ""}, + {"FileHeader.CRC32", Field, 0, ""}, + {"FileHeader.Comment", Field, 0, ""}, + {"FileHeader.CompressedSize", Field, 0, ""}, + {"FileHeader.CompressedSize64", Field, 1, ""}, + {"FileHeader.CreatorVersion", Field, 0, ""}, + {"FileHeader.ExternalAttrs", Field, 0, ""}, + {"FileHeader.Extra", Field, 0, ""}, + {"FileHeader.Flags", Field, 0, ""}, + {"FileHeader.Method", Field, 0, ""}, + {"FileHeader.Modified", Field, 10, ""}, + {"FileHeader.ModifiedDate", Field, 0, ""}, + {"FileHeader.ModifiedTime", Field, 0, ""}, + {"FileHeader.Name", Field, 0, ""}, + {"FileHeader.NonUTF8", Field, 10, ""}, + {"FileHeader.ReaderVersion", Field, 0, ""}, + {"FileHeader.UncompressedSize", Field, 0, ""}, + {"FileHeader.UncompressedSize64", Field, 1, ""}, + {"FileInfoHeader", Func, 0, "func(fi fs.FileInfo) (*FileHeader, error)"}, + {"NewReader", Func, 0, "func(r io.ReaderAt, size int64) (*Reader, error)"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"OpenReader", Func, 0, "func(name string) (*ReadCloser, error)"}, + {"ReadCloser", Type, 0, ""}, + {"ReadCloser.Reader", Field, 0, ""}, + {"Reader", Type, 0, ""}, + {"Reader.Comment", Field, 0, ""}, + {"Reader.File", Field, 0, ""}, + {"RegisterCompressor", Func, 2, "func(method uint16, comp Compressor)"}, + {"RegisterDecompressor", Func, 2, "func(method uint16, dcomp Decompressor)"}, + {"Store", Const, 0, ""}, + {"Writer", Type, 0, ""}, }, "bufio": { - {"(*Reader).Buffered", Method, 0}, - {"(*Reader).Discard", Method, 5}, - {"(*Reader).Peek", Method, 0}, - {"(*Reader).Read", Method, 0}, - {"(*Reader).ReadByte", Method, 0}, - {"(*Reader).ReadBytes", Method, 0}, - {"(*Reader).ReadLine", Method, 0}, - {"(*Reader).ReadRune", Method, 0}, - {"(*Reader).ReadSlice", Method, 0}, - {"(*Reader).ReadString", Method, 0}, - {"(*Reader).Reset", Method, 2}, - {"(*Reader).Size", Method, 10}, - {"(*Reader).UnreadByte", Method, 0}, - {"(*Reader).UnreadRune", Method, 0}, - {"(*Reader).WriteTo", Method, 1}, - {"(*Scanner).Buffer", Method, 6}, - {"(*Scanner).Bytes", Method, 1}, - {"(*Scanner).Err", Method, 1}, - {"(*Scanner).Scan", Method, 1}, - {"(*Scanner).Split", Method, 1}, - {"(*Scanner).Text", Method, 1}, - {"(*Writer).Available", Method, 0}, - {"(*Writer).AvailableBuffer", Method, 18}, - {"(*Writer).Buffered", Method, 0}, - {"(*Writer).Flush", Method, 0}, - {"(*Writer).ReadFrom", Method, 1}, - {"(*Writer).Reset", Method, 2}, - {"(*Writer).Size", Method, 10}, - {"(*Writer).Write", Method, 0}, - {"(*Writer).WriteByte", Method, 0}, - {"(*Writer).WriteRune", Method, 0}, - {"(*Writer).WriteString", Method, 0}, - {"(ReadWriter).Available", Method, 0}, - {"(ReadWriter).AvailableBuffer", Method, 18}, - {"(ReadWriter).Discard", Method, 5}, - {"(ReadWriter).Flush", Method, 0}, - {"(ReadWriter).Peek", Method, 0}, - {"(ReadWriter).Read", Method, 0}, - {"(ReadWriter).ReadByte", Method, 0}, - {"(ReadWriter).ReadBytes", Method, 0}, - {"(ReadWriter).ReadFrom", Method, 1}, - {"(ReadWriter).ReadLine", Method, 0}, - {"(ReadWriter).ReadRune", Method, 0}, - {"(ReadWriter).ReadSlice", Method, 0}, - {"(ReadWriter).ReadString", Method, 0}, - {"(ReadWriter).UnreadByte", Method, 0}, - {"(ReadWriter).UnreadRune", Method, 0}, - {"(ReadWriter).Write", Method, 0}, - {"(ReadWriter).WriteByte", Method, 0}, - {"(ReadWriter).WriteRune", Method, 0}, - {"(ReadWriter).WriteString", Method, 0}, - {"(ReadWriter).WriteTo", Method, 1}, - {"ErrAdvanceTooFar", Var, 1}, - {"ErrBadReadCount", Var, 15}, - {"ErrBufferFull", Var, 0}, - {"ErrFinalToken", Var, 6}, - {"ErrInvalidUnreadByte", Var, 0}, - {"ErrInvalidUnreadRune", Var, 0}, - {"ErrNegativeAdvance", Var, 1}, - {"ErrNegativeCount", Var, 0}, - {"ErrTooLong", Var, 1}, - {"MaxScanTokenSize", Const, 1}, - {"NewReadWriter", Func, 0}, - {"NewReader", Func, 0}, - {"NewReaderSize", Func, 0}, - {"NewScanner", Func, 1}, - {"NewWriter", Func, 0}, - {"NewWriterSize", Func, 0}, - {"ReadWriter", Type, 0}, - {"ReadWriter.Reader", Field, 0}, - {"ReadWriter.Writer", Field, 0}, - {"Reader", Type, 0}, - {"ScanBytes", Func, 1}, - {"ScanLines", Func, 1}, - {"ScanRunes", Func, 1}, - {"ScanWords", Func, 1}, - {"Scanner", Type, 1}, - {"SplitFunc", Type, 1}, - {"Writer", Type, 0}, + {"(*Reader).Buffered", Method, 0, ""}, + {"(*Reader).Discard", Method, 5, ""}, + {"(*Reader).Peek", Method, 0, ""}, + {"(*Reader).Read", Method, 0, ""}, + {"(*Reader).ReadByte", Method, 0, ""}, + {"(*Reader).ReadBytes", Method, 0, ""}, + {"(*Reader).ReadLine", Method, 0, ""}, + {"(*Reader).ReadRune", Method, 0, ""}, + {"(*Reader).ReadSlice", Method, 0, ""}, + {"(*Reader).ReadString", Method, 0, ""}, + {"(*Reader).Reset", Method, 2, ""}, + {"(*Reader).Size", Method, 10, ""}, + {"(*Reader).UnreadByte", Method, 0, ""}, + {"(*Reader).UnreadRune", Method, 0, ""}, + {"(*Reader).WriteTo", Method, 1, ""}, + {"(*Scanner).Buffer", Method, 6, ""}, + {"(*Scanner).Bytes", Method, 1, ""}, + {"(*Scanner).Err", Method, 1, ""}, + {"(*Scanner).Scan", Method, 1, ""}, + {"(*Scanner).Split", Method, 1, ""}, + {"(*Scanner).Text", Method, 1, ""}, + {"(*Writer).Available", Method, 0, ""}, + {"(*Writer).AvailableBuffer", Method, 18, ""}, + {"(*Writer).Buffered", Method, 0, ""}, + {"(*Writer).Flush", Method, 0, ""}, + {"(*Writer).ReadFrom", Method, 1, ""}, + {"(*Writer).Reset", Method, 2, ""}, + {"(*Writer).Size", Method, 10, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"(*Writer).WriteByte", Method, 0, ""}, + {"(*Writer).WriteRune", Method, 0, ""}, + {"(*Writer).WriteString", Method, 0, ""}, + {"(ReadWriter).Available", Method, 0, ""}, + {"(ReadWriter).AvailableBuffer", Method, 18, ""}, + {"(ReadWriter).Discard", Method, 5, ""}, + {"(ReadWriter).Flush", Method, 0, ""}, + {"(ReadWriter).Peek", Method, 0, ""}, + {"(ReadWriter).Read", Method, 0, ""}, + {"(ReadWriter).ReadByte", Method, 0, ""}, + {"(ReadWriter).ReadBytes", Method, 0, ""}, + {"(ReadWriter).ReadFrom", Method, 1, ""}, + {"(ReadWriter).ReadLine", Method, 0, ""}, + {"(ReadWriter).ReadRune", Method, 0, ""}, + {"(ReadWriter).ReadSlice", Method, 0, ""}, + {"(ReadWriter).ReadString", Method, 0, ""}, + {"(ReadWriter).UnreadByte", Method, 0, ""}, + {"(ReadWriter).UnreadRune", Method, 0, ""}, + {"(ReadWriter).Write", Method, 0, ""}, + {"(ReadWriter).WriteByte", Method, 0, ""}, + {"(ReadWriter).WriteRune", Method, 0, ""}, + {"(ReadWriter).WriteString", Method, 0, ""}, + {"(ReadWriter).WriteTo", Method, 1, ""}, + {"ErrAdvanceTooFar", Var, 1, ""}, + {"ErrBadReadCount", Var, 15, ""}, + {"ErrBufferFull", Var, 0, ""}, + {"ErrFinalToken", Var, 6, ""}, + {"ErrInvalidUnreadByte", Var, 0, ""}, + {"ErrInvalidUnreadRune", Var, 0, ""}, + {"ErrNegativeAdvance", Var, 1, ""}, + {"ErrNegativeCount", Var, 0, ""}, + {"ErrTooLong", Var, 1, ""}, + {"MaxScanTokenSize", Const, 1, ""}, + {"NewReadWriter", Func, 0, "func(r *Reader, w *Writer) *ReadWriter"}, + {"NewReader", Func, 0, "func(rd io.Reader) *Reader"}, + {"NewReaderSize", Func, 0, "func(rd io.Reader, size int) *Reader"}, + {"NewScanner", Func, 1, "func(r io.Reader) *Scanner"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"NewWriterSize", Func, 0, "func(w io.Writer, size int) *Writer"}, + {"ReadWriter", Type, 0, ""}, + {"ReadWriter.Reader", Field, 0, ""}, + {"ReadWriter.Writer", Field, 0, ""}, + {"Reader", Type, 0, ""}, + {"ScanBytes", Func, 1, "func(data []byte, atEOF bool) (advance int, token []byte, err error)"}, + {"ScanLines", Func, 1, "func(data []byte, atEOF bool) (advance int, token []byte, err error)"}, + {"ScanRunes", Func, 1, "func(data []byte, atEOF bool) (advance int, token []byte, err error)"}, + {"ScanWords", Func, 1, "func(data []byte, atEOF bool) (advance int, token []byte, err error)"}, + {"Scanner", Type, 1, ""}, + {"SplitFunc", Type, 1, ""}, + {"Writer", Type, 0, ""}, }, "bytes": { - {"(*Buffer).Available", Method, 21}, - {"(*Buffer).AvailableBuffer", Method, 21}, - {"(*Buffer).Bytes", Method, 0}, - {"(*Buffer).Cap", Method, 5}, - {"(*Buffer).Grow", Method, 1}, - {"(*Buffer).Len", Method, 0}, - {"(*Buffer).Next", Method, 0}, - {"(*Buffer).Read", Method, 0}, - {"(*Buffer).ReadByte", Method, 0}, - {"(*Buffer).ReadBytes", Method, 0}, - {"(*Buffer).ReadFrom", Method, 0}, - {"(*Buffer).ReadRune", Method, 0}, - {"(*Buffer).ReadString", Method, 0}, - {"(*Buffer).Reset", Method, 0}, - {"(*Buffer).String", Method, 0}, - {"(*Buffer).Truncate", Method, 0}, - {"(*Buffer).UnreadByte", Method, 0}, - {"(*Buffer).UnreadRune", Method, 0}, - {"(*Buffer).Write", Method, 0}, - {"(*Buffer).WriteByte", Method, 0}, - {"(*Buffer).WriteRune", Method, 0}, - {"(*Buffer).WriteString", Method, 0}, - {"(*Buffer).WriteTo", Method, 0}, - {"(*Reader).Len", Method, 0}, - {"(*Reader).Read", Method, 0}, - {"(*Reader).ReadAt", Method, 0}, - {"(*Reader).ReadByte", Method, 0}, - {"(*Reader).ReadRune", Method, 0}, - {"(*Reader).Reset", Method, 7}, - {"(*Reader).Seek", Method, 0}, - {"(*Reader).Size", Method, 5}, - {"(*Reader).UnreadByte", Method, 0}, - {"(*Reader).UnreadRune", Method, 0}, - {"(*Reader).WriteTo", Method, 1}, - {"Buffer", Type, 0}, - {"Clone", Func, 20}, - {"Compare", Func, 0}, - {"Contains", Func, 0}, - {"ContainsAny", Func, 7}, - {"ContainsFunc", Func, 21}, - {"ContainsRune", Func, 7}, - {"Count", Func, 0}, - {"Cut", Func, 18}, - {"CutPrefix", Func, 20}, - {"CutSuffix", Func, 20}, - {"Equal", Func, 0}, - {"EqualFold", Func, 0}, - {"ErrTooLarge", Var, 0}, - {"Fields", Func, 0}, - {"FieldsFunc", Func, 0}, - {"FieldsFuncSeq", Func, 24}, - {"FieldsSeq", Func, 24}, - {"HasPrefix", Func, 0}, - {"HasSuffix", Func, 0}, - {"Index", Func, 0}, - {"IndexAny", Func, 0}, - {"IndexByte", Func, 0}, - {"IndexFunc", Func, 0}, - {"IndexRune", Func, 0}, - {"Join", Func, 0}, - {"LastIndex", Func, 0}, - {"LastIndexAny", Func, 0}, - {"LastIndexByte", Func, 5}, - {"LastIndexFunc", Func, 0}, - {"Lines", Func, 24}, - {"Map", Func, 0}, - {"MinRead", Const, 0}, - {"NewBuffer", Func, 0}, - {"NewBufferString", Func, 0}, - {"NewReader", Func, 0}, - {"Reader", Type, 0}, - {"Repeat", Func, 0}, - {"Replace", Func, 0}, - {"ReplaceAll", Func, 12}, - {"Runes", Func, 0}, - {"Split", Func, 0}, - {"SplitAfter", Func, 0}, - {"SplitAfterN", Func, 0}, - {"SplitAfterSeq", Func, 24}, - {"SplitN", Func, 0}, - {"SplitSeq", Func, 24}, - {"Title", Func, 0}, - {"ToLower", Func, 0}, - {"ToLowerSpecial", Func, 0}, - {"ToTitle", Func, 0}, - {"ToTitleSpecial", Func, 0}, - {"ToUpper", Func, 0}, - {"ToUpperSpecial", Func, 0}, - {"ToValidUTF8", Func, 13}, - {"Trim", Func, 0}, - {"TrimFunc", Func, 0}, - {"TrimLeft", Func, 0}, - {"TrimLeftFunc", Func, 0}, - {"TrimPrefix", Func, 1}, - {"TrimRight", Func, 0}, - {"TrimRightFunc", Func, 0}, - {"TrimSpace", Func, 0}, - {"TrimSuffix", Func, 1}, + {"(*Buffer).Available", Method, 21, ""}, + {"(*Buffer).AvailableBuffer", Method, 21, ""}, + {"(*Buffer).Bytes", Method, 0, ""}, + {"(*Buffer).Cap", Method, 5, ""}, + {"(*Buffer).Grow", Method, 1, ""}, + {"(*Buffer).Len", Method, 0, ""}, + {"(*Buffer).Next", Method, 0, ""}, + {"(*Buffer).Read", Method, 0, ""}, + {"(*Buffer).ReadByte", Method, 0, ""}, + {"(*Buffer).ReadBytes", Method, 0, ""}, + {"(*Buffer).ReadFrom", Method, 0, ""}, + {"(*Buffer).ReadRune", Method, 0, ""}, + {"(*Buffer).ReadString", Method, 0, ""}, + {"(*Buffer).Reset", Method, 0, ""}, + {"(*Buffer).String", Method, 0, ""}, + {"(*Buffer).Truncate", Method, 0, ""}, + {"(*Buffer).UnreadByte", Method, 0, ""}, + {"(*Buffer).UnreadRune", Method, 0, ""}, + {"(*Buffer).Write", Method, 0, ""}, + {"(*Buffer).WriteByte", Method, 0, ""}, + {"(*Buffer).WriteRune", Method, 0, ""}, + {"(*Buffer).WriteString", Method, 0, ""}, + {"(*Buffer).WriteTo", Method, 0, ""}, + {"(*Reader).Len", Method, 0, ""}, + {"(*Reader).Read", Method, 0, ""}, + {"(*Reader).ReadAt", Method, 0, ""}, + {"(*Reader).ReadByte", Method, 0, ""}, + {"(*Reader).ReadRune", Method, 0, ""}, + {"(*Reader).Reset", Method, 7, ""}, + {"(*Reader).Seek", Method, 0, ""}, + {"(*Reader).Size", Method, 5, ""}, + {"(*Reader).UnreadByte", Method, 0, ""}, + {"(*Reader).UnreadRune", Method, 0, ""}, + {"(*Reader).WriteTo", Method, 1, ""}, + {"Buffer", Type, 0, ""}, + {"Clone", Func, 20, "func(b []byte) []byte"}, + {"Compare", Func, 0, "func(a []byte, b []byte) int"}, + {"Contains", Func, 0, "func(b []byte, subslice []byte) bool"}, + {"ContainsAny", Func, 7, "func(b []byte, chars string) bool"}, + {"ContainsFunc", Func, 21, "func(b []byte, f func(rune) bool) bool"}, + {"ContainsRune", Func, 7, "func(b []byte, r rune) bool"}, + {"Count", Func, 0, "func(s []byte, sep []byte) int"}, + {"Cut", Func, 18, "func(s []byte, sep []byte) (before []byte, after []byte, found bool)"}, + {"CutPrefix", Func, 20, "func(s []byte, prefix []byte) (after []byte, found bool)"}, + {"CutSuffix", Func, 20, "func(s []byte, suffix []byte) (before []byte, found bool)"}, + {"Equal", Func, 0, "func(a []byte, b []byte) bool"}, + {"EqualFold", Func, 0, "func(s []byte, t []byte) bool"}, + {"ErrTooLarge", Var, 0, ""}, + {"Fields", Func, 0, "func(s []byte) [][]byte"}, + {"FieldsFunc", Func, 0, "func(s []byte, f func(rune) bool) [][]byte"}, + {"FieldsFuncSeq", Func, 24, "func(s []byte, f func(rune) bool) iter.Seq[[]byte]"}, + {"FieldsSeq", Func, 24, "func(s []byte) iter.Seq[[]byte]"}, + {"HasPrefix", Func, 0, "func(s []byte, prefix []byte) bool"}, + {"HasSuffix", Func, 0, "func(s []byte, suffix []byte) bool"}, + {"Index", Func, 0, "func(s []byte, sep []byte) int"}, + {"IndexAny", Func, 0, "func(s []byte, chars string) int"}, + {"IndexByte", Func, 0, "func(b []byte, c byte) int"}, + {"IndexFunc", Func, 0, "func(s []byte, f func(r rune) bool) int"}, + {"IndexRune", Func, 0, "func(s []byte, r rune) int"}, + {"Join", Func, 0, "func(s [][]byte, sep []byte) []byte"}, + {"LastIndex", Func, 0, "func(s []byte, sep []byte) int"}, + {"LastIndexAny", Func, 0, "func(s []byte, chars string) int"}, + {"LastIndexByte", Func, 5, "func(s []byte, c byte) int"}, + {"LastIndexFunc", Func, 0, "func(s []byte, f func(r rune) bool) int"}, + {"Lines", Func, 24, "func(s []byte) iter.Seq[[]byte]"}, + {"Map", Func, 0, "func(mapping func(r rune) rune, s []byte) []byte"}, + {"MinRead", Const, 0, ""}, + {"NewBuffer", Func, 0, "func(buf []byte) *Buffer"}, + {"NewBufferString", Func, 0, "func(s string) *Buffer"}, + {"NewReader", Func, 0, "func(b []byte) *Reader"}, + {"Reader", Type, 0, ""}, + {"Repeat", Func, 0, "func(b []byte, count int) []byte"}, + {"Replace", Func, 0, "func(s []byte, old []byte, new []byte, n int) []byte"}, + {"ReplaceAll", Func, 12, "func(s []byte, old []byte, new []byte) []byte"}, + {"Runes", Func, 0, "func(s []byte) []rune"}, + {"Split", Func, 0, "func(s []byte, sep []byte) [][]byte"}, + {"SplitAfter", Func, 0, "func(s []byte, sep []byte) [][]byte"}, + {"SplitAfterN", Func, 0, "func(s []byte, sep []byte, n int) [][]byte"}, + {"SplitAfterSeq", Func, 24, "func(s []byte, sep []byte) iter.Seq[[]byte]"}, + {"SplitN", Func, 0, "func(s []byte, sep []byte, n int) [][]byte"}, + {"SplitSeq", Func, 24, "func(s []byte, sep []byte) iter.Seq[[]byte]"}, + {"Title", Func, 0, "func(s []byte) []byte"}, + {"ToLower", Func, 0, "func(s []byte) []byte"}, + {"ToLowerSpecial", Func, 0, "func(c unicode.SpecialCase, s []byte) []byte"}, + {"ToTitle", Func, 0, "func(s []byte) []byte"}, + {"ToTitleSpecial", Func, 0, "func(c unicode.SpecialCase, s []byte) []byte"}, + {"ToUpper", Func, 0, "func(s []byte) []byte"}, + {"ToUpperSpecial", Func, 0, "func(c unicode.SpecialCase, s []byte) []byte"}, + {"ToValidUTF8", Func, 13, "func(s []byte, replacement []byte) []byte"}, + {"Trim", Func, 0, "func(s []byte, cutset string) []byte"}, + {"TrimFunc", Func, 0, "func(s []byte, f func(r rune) bool) []byte"}, + {"TrimLeft", Func, 0, "func(s []byte, cutset string) []byte"}, + {"TrimLeftFunc", Func, 0, "func(s []byte, f func(r rune) bool) []byte"}, + {"TrimPrefix", Func, 1, "func(s []byte, prefix []byte) []byte"}, + {"TrimRight", Func, 0, "func(s []byte, cutset string) []byte"}, + {"TrimRightFunc", Func, 0, "func(s []byte, f func(r rune) bool) []byte"}, + {"TrimSpace", Func, 0, "func(s []byte) []byte"}, + {"TrimSuffix", Func, 1, "func(s []byte, suffix []byte) []byte"}, }, "cmp": { - {"Compare", Func, 21}, - {"Less", Func, 21}, - {"Or", Func, 22}, - {"Ordered", Type, 21}, + {"Compare", Func, 21, "func[T Ordered](x T, y T) int"}, + {"Less", Func, 21, "func[T Ordered](x T, y T) bool"}, + {"Or", Func, 22, "func[T comparable](vals ...T) T"}, + {"Ordered", Type, 21, ""}, }, "compress/bzip2": { - {"(StructuralError).Error", Method, 0}, - {"NewReader", Func, 0}, - {"StructuralError", Type, 0}, + {"(StructuralError).Error", Method, 0, ""}, + {"NewReader", Func, 0, "func(r io.Reader) io.Reader"}, + {"StructuralError", Type, 0, ""}, }, "compress/flate": { - {"(*ReadError).Error", Method, 0}, - {"(*WriteError).Error", Method, 0}, - {"(*Writer).Close", Method, 0}, - {"(*Writer).Flush", Method, 0}, - {"(*Writer).Reset", Method, 2}, - {"(*Writer).Write", Method, 0}, - {"(CorruptInputError).Error", Method, 0}, - {"(InternalError).Error", Method, 0}, - {"BestCompression", Const, 0}, - {"BestSpeed", Const, 0}, - {"CorruptInputError", Type, 0}, - {"DefaultCompression", Const, 0}, - {"HuffmanOnly", Const, 7}, - {"InternalError", Type, 0}, - {"NewReader", Func, 0}, - {"NewReaderDict", Func, 0}, - {"NewWriter", Func, 0}, - {"NewWriterDict", Func, 0}, - {"NoCompression", Const, 0}, - {"ReadError", Type, 0}, - {"ReadError.Err", Field, 0}, - {"ReadError.Offset", Field, 0}, - {"Reader", Type, 0}, - {"Resetter", Type, 4}, - {"WriteError", Type, 0}, - {"WriteError.Err", Field, 0}, - {"WriteError.Offset", Field, 0}, - {"Writer", Type, 0}, + {"(*ReadError).Error", Method, 0, ""}, + {"(*WriteError).Error", Method, 0, ""}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).Flush", Method, 0, ""}, + {"(*Writer).Reset", Method, 2, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"(CorruptInputError).Error", Method, 0, ""}, + {"(InternalError).Error", Method, 0, ""}, + {"BestCompression", Const, 0, ""}, + {"BestSpeed", Const, 0, ""}, + {"CorruptInputError", Type, 0, ""}, + {"DefaultCompression", Const, 0, ""}, + {"HuffmanOnly", Const, 7, ""}, + {"InternalError", Type, 0, ""}, + {"NewReader", Func, 0, "func(r io.Reader) io.ReadCloser"}, + {"NewReaderDict", Func, 0, "func(r io.Reader, dict []byte) io.ReadCloser"}, + {"NewWriter", Func, 0, "func(w io.Writer, level int) (*Writer, error)"}, + {"NewWriterDict", Func, 0, "func(w io.Writer, level int, dict []byte) (*Writer, error)"}, + {"NoCompression", Const, 0, ""}, + {"ReadError", Type, 0, ""}, + {"ReadError.Err", Field, 0, ""}, + {"ReadError.Offset", Field, 0, ""}, + {"Reader", Type, 0, ""}, + {"Resetter", Type, 4, ""}, + {"WriteError", Type, 0, ""}, + {"WriteError.Err", Field, 0, ""}, + {"WriteError.Offset", Field, 0, ""}, + {"Writer", Type, 0, ""}, }, "compress/gzip": { - {"(*Reader).Close", Method, 0}, - {"(*Reader).Multistream", Method, 4}, - {"(*Reader).Read", Method, 0}, - {"(*Reader).Reset", Method, 3}, - {"(*Writer).Close", Method, 0}, - {"(*Writer).Flush", Method, 1}, - {"(*Writer).Reset", Method, 2}, - {"(*Writer).Write", Method, 0}, - {"BestCompression", Const, 0}, - {"BestSpeed", Const, 0}, - {"DefaultCompression", Const, 0}, - {"ErrChecksum", Var, 0}, - {"ErrHeader", Var, 0}, - {"Header", Type, 0}, - {"Header.Comment", Field, 0}, - {"Header.Extra", Field, 0}, - {"Header.ModTime", Field, 0}, - {"Header.Name", Field, 0}, - {"Header.OS", Field, 0}, - {"HuffmanOnly", Const, 8}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"NewWriterLevel", Func, 0}, - {"NoCompression", Const, 0}, - {"Reader", Type, 0}, - {"Reader.Header", Field, 0}, - {"Writer", Type, 0}, - {"Writer.Header", Field, 0}, + {"(*Reader).Close", Method, 0, ""}, + {"(*Reader).Multistream", Method, 4, ""}, + {"(*Reader).Read", Method, 0, ""}, + {"(*Reader).Reset", Method, 3, ""}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).Flush", Method, 1, ""}, + {"(*Writer).Reset", Method, 2, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"BestCompression", Const, 0, ""}, + {"BestSpeed", Const, 0, ""}, + {"DefaultCompression", Const, 0, ""}, + {"ErrChecksum", Var, 0, ""}, + {"ErrHeader", Var, 0, ""}, + {"Header", Type, 0, ""}, + {"Header.Comment", Field, 0, ""}, + {"Header.Extra", Field, 0, ""}, + {"Header.ModTime", Field, 0, ""}, + {"Header.Name", Field, 0, ""}, + {"Header.OS", Field, 0, ""}, + {"HuffmanOnly", Const, 8, ""}, + {"NewReader", Func, 0, "func(r io.Reader) (*Reader, error)"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"NewWriterLevel", Func, 0, "func(w io.Writer, level int) (*Writer, error)"}, + {"NoCompression", Const, 0, ""}, + {"Reader", Type, 0, ""}, + {"Reader.Header", Field, 0, ""}, + {"Writer", Type, 0, ""}, + {"Writer.Header", Field, 0, ""}, }, "compress/lzw": { - {"(*Reader).Close", Method, 17}, - {"(*Reader).Read", Method, 17}, - {"(*Reader).Reset", Method, 17}, - {"(*Writer).Close", Method, 17}, - {"(*Writer).Reset", Method, 17}, - {"(*Writer).Write", Method, 17}, - {"LSB", Const, 0}, - {"MSB", Const, 0}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"Order", Type, 0}, - {"Reader", Type, 17}, - {"Writer", Type, 17}, + {"(*Reader).Close", Method, 17, ""}, + {"(*Reader).Read", Method, 17, ""}, + {"(*Reader).Reset", Method, 17, ""}, + {"(*Writer).Close", Method, 17, ""}, + {"(*Writer).Reset", Method, 17, ""}, + {"(*Writer).Write", Method, 17, ""}, + {"LSB", Const, 0, ""}, + {"MSB", Const, 0, ""}, + {"NewReader", Func, 0, "func(r io.Reader, order Order, litWidth int) io.ReadCloser"}, + {"NewWriter", Func, 0, "func(w io.Writer, order Order, litWidth int) io.WriteCloser"}, + {"Order", Type, 0, ""}, + {"Reader", Type, 17, ""}, + {"Writer", Type, 17, ""}, }, "compress/zlib": { - {"(*Writer).Close", Method, 0}, - {"(*Writer).Flush", Method, 0}, - {"(*Writer).Reset", Method, 2}, - {"(*Writer).Write", Method, 0}, - {"BestCompression", Const, 0}, - {"BestSpeed", Const, 0}, - {"DefaultCompression", Const, 0}, - {"ErrChecksum", Var, 0}, - {"ErrDictionary", Var, 0}, - {"ErrHeader", Var, 0}, - {"HuffmanOnly", Const, 8}, - {"NewReader", Func, 0}, - {"NewReaderDict", Func, 0}, - {"NewWriter", Func, 0}, - {"NewWriterLevel", Func, 0}, - {"NewWriterLevelDict", Func, 0}, - {"NoCompression", Const, 0}, - {"Resetter", Type, 4}, - {"Writer", Type, 0}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).Flush", Method, 0, ""}, + {"(*Writer).Reset", Method, 2, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"BestCompression", Const, 0, ""}, + {"BestSpeed", Const, 0, ""}, + {"DefaultCompression", Const, 0, ""}, + {"ErrChecksum", Var, 0, ""}, + {"ErrDictionary", Var, 0, ""}, + {"ErrHeader", Var, 0, ""}, + {"HuffmanOnly", Const, 8, ""}, + {"NewReader", Func, 0, "func(r io.Reader) (io.ReadCloser, error)"}, + {"NewReaderDict", Func, 0, "func(r io.Reader, dict []byte) (io.ReadCloser, error)"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"NewWriterLevel", Func, 0, "func(w io.Writer, level int) (*Writer, error)"}, + {"NewWriterLevelDict", Func, 0, "func(w io.Writer, level int, dict []byte) (*Writer, error)"}, + {"NoCompression", Const, 0, ""}, + {"Resetter", Type, 4, ""}, + {"Writer", Type, 0, ""}, }, "container/heap": { - {"Fix", Func, 2}, - {"Init", Func, 0}, - {"Interface", Type, 0}, - {"Pop", Func, 0}, - {"Push", Func, 0}, - {"Remove", Func, 0}, + {"Fix", Func, 2, "func(h Interface, i int)"}, + {"Init", Func, 0, "func(h Interface)"}, + {"Interface", Type, 0, ""}, + {"Pop", Func, 0, "func(h Interface) any"}, + {"Push", Func, 0, "func(h Interface, x any)"}, + {"Remove", Func, 0, "func(h Interface, i int) any"}, }, "container/list": { - {"(*Element).Next", Method, 0}, - {"(*Element).Prev", Method, 0}, - {"(*List).Back", Method, 0}, - {"(*List).Front", Method, 0}, - {"(*List).Init", Method, 0}, - {"(*List).InsertAfter", Method, 0}, - {"(*List).InsertBefore", Method, 0}, - {"(*List).Len", Method, 0}, - {"(*List).MoveAfter", Method, 2}, - {"(*List).MoveBefore", Method, 2}, - {"(*List).MoveToBack", Method, 0}, - {"(*List).MoveToFront", Method, 0}, - {"(*List).PushBack", Method, 0}, - {"(*List).PushBackList", Method, 0}, - {"(*List).PushFront", Method, 0}, - {"(*List).PushFrontList", Method, 0}, - {"(*List).Remove", Method, 0}, - {"Element", Type, 0}, - {"Element.Value", Field, 0}, - {"List", Type, 0}, - {"New", Func, 0}, + {"(*Element).Next", Method, 0, ""}, + {"(*Element).Prev", Method, 0, ""}, + {"(*List).Back", Method, 0, ""}, + {"(*List).Front", Method, 0, ""}, + {"(*List).Init", Method, 0, ""}, + {"(*List).InsertAfter", Method, 0, ""}, + {"(*List).InsertBefore", Method, 0, ""}, + {"(*List).Len", Method, 0, ""}, + {"(*List).MoveAfter", Method, 2, ""}, + {"(*List).MoveBefore", Method, 2, ""}, + {"(*List).MoveToBack", Method, 0, ""}, + {"(*List).MoveToFront", Method, 0, ""}, + {"(*List).PushBack", Method, 0, ""}, + {"(*List).PushBackList", Method, 0, ""}, + {"(*List).PushFront", Method, 0, ""}, + {"(*List).PushFrontList", Method, 0, ""}, + {"(*List).Remove", Method, 0, ""}, + {"Element", Type, 0, ""}, + {"Element.Value", Field, 0, ""}, + {"List", Type, 0, ""}, + {"New", Func, 0, "func() *List"}, }, "container/ring": { - {"(*Ring).Do", Method, 0}, - {"(*Ring).Len", Method, 0}, - {"(*Ring).Link", Method, 0}, - {"(*Ring).Move", Method, 0}, - {"(*Ring).Next", Method, 0}, - {"(*Ring).Prev", Method, 0}, - {"(*Ring).Unlink", Method, 0}, - {"New", Func, 0}, - {"Ring", Type, 0}, - {"Ring.Value", Field, 0}, + {"(*Ring).Do", Method, 0, ""}, + {"(*Ring).Len", Method, 0, ""}, + {"(*Ring).Link", Method, 0, ""}, + {"(*Ring).Move", Method, 0, ""}, + {"(*Ring).Next", Method, 0, ""}, + {"(*Ring).Prev", Method, 0, ""}, + {"(*Ring).Unlink", Method, 0, ""}, + {"New", Func, 0, "func(n int) *Ring"}, + {"Ring", Type, 0, ""}, + {"Ring.Value", Field, 0, ""}, }, "context": { - {"AfterFunc", Func, 21}, - {"Background", Func, 7}, - {"CancelCauseFunc", Type, 20}, - {"CancelFunc", Type, 7}, - {"Canceled", Var, 7}, - {"Cause", Func, 20}, - {"Context", Type, 7}, - {"DeadlineExceeded", Var, 7}, - {"TODO", Func, 7}, - {"WithCancel", Func, 7}, - {"WithCancelCause", Func, 20}, - {"WithDeadline", Func, 7}, - {"WithDeadlineCause", Func, 21}, - {"WithTimeout", Func, 7}, - {"WithTimeoutCause", Func, 21}, - {"WithValue", Func, 7}, - {"WithoutCancel", Func, 21}, + {"AfterFunc", Func, 21, "func(ctx Context, f func()) (stop func() bool)"}, + {"Background", Func, 7, "func() Context"}, + {"CancelCauseFunc", Type, 20, ""}, + {"CancelFunc", Type, 7, ""}, + {"Canceled", Var, 7, ""}, + {"Cause", Func, 20, "func(c Context) error"}, + {"Context", Type, 7, ""}, + {"DeadlineExceeded", Var, 7, ""}, + {"TODO", Func, 7, "func() Context"}, + {"WithCancel", Func, 7, "func(parent Context) (ctx Context, cancel CancelFunc)"}, + {"WithCancelCause", Func, 20, "func(parent Context) (ctx Context, cancel CancelCauseFunc)"}, + {"WithDeadline", Func, 7, "func(parent Context, d time.Time) (Context, CancelFunc)"}, + {"WithDeadlineCause", Func, 21, "func(parent Context, d time.Time, cause error) (Context, CancelFunc)"}, + {"WithTimeout", Func, 7, "func(parent Context, timeout time.Duration) (Context, CancelFunc)"}, + {"WithTimeoutCause", Func, 21, "func(parent Context, timeout time.Duration, cause error) (Context, CancelFunc)"}, + {"WithValue", Func, 7, "func(parent Context, key any, val any) Context"}, + {"WithoutCancel", Func, 21, "func(parent Context) Context"}, }, "crypto": { - {"(Hash).Available", Method, 0}, - {"(Hash).HashFunc", Method, 4}, - {"(Hash).New", Method, 0}, - {"(Hash).Size", Method, 0}, - {"(Hash).String", Method, 15}, - {"BLAKE2b_256", Const, 9}, - {"BLAKE2b_384", Const, 9}, - {"BLAKE2b_512", Const, 9}, - {"BLAKE2s_256", Const, 9}, - {"Decrypter", Type, 5}, - {"DecrypterOpts", Type, 5}, - {"Hash", Type, 0}, - {"MD4", Const, 0}, - {"MD5", Const, 0}, - {"MD5SHA1", Const, 0}, - {"PrivateKey", Type, 0}, - {"PublicKey", Type, 2}, - {"RIPEMD160", Const, 0}, - {"RegisterHash", Func, 0}, - {"SHA1", Const, 0}, - {"SHA224", Const, 0}, - {"SHA256", Const, 0}, - {"SHA384", Const, 0}, - {"SHA3_224", Const, 4}, - {"SHA3_256", Const, 4}, - {"SHA3_384", Const, 4}, - {"SHA3_512", Const, 4}, - {"SHA512", Const, 0}, - {"SHA512_224", Const, 5}, - {"SHA512_256", Const, 5}, - {"Signer", Type, 4}, - {"SignerOpts", Type, 4}, + {"(Hash).Available", Method, 0, ""}, + {"(Hash).HashFunc", Method, 4, ""}, + {"(Hash).New", Method, 0, ""}, + {"(Hash).Size", Method, 0, ""}, + {"(Hash).String", Method, 15, ""}, + {"BLAKE2b_256", Const, 9, ""}, + {"BLAKE2b_384", Const, 9, ""}, + {"BLAKE2b_512", Const, 9, ""}, + {"BLAKE2s_256", Const, 9, ""}, + {"Decrypter", Type, 5, ""}, + {"DecrypterOpts", Type, 5, ""}, + {"Hash", Type, 0, ""}, + {"MD4", Const, 0, ""}, + {"MD5", Const, 0, ""}, + {"MD5SHA1", Const, 0, ""}, + {"MessageSigner", Type, 25, ""}, + {"PrivateKey", Type, 0, ""}, + {"PublicKey", Type, 2, ""}, + {"RIPEMD160", Const, 0, ""}, + {"RegisterHash", Func, 0, "func(h Hash, f func() hash.Hash)"}, + {"SHA1", Const, 0, ""}, + {"SHA224", Const, 0, ""}, + {"SHA256", Const, 0, ""}, + {"SHA384", Const, 0, ""}, + {"SHA3_224", Const, 4, ""}, + {"SHA3_256", Const, 4, ""}, + {"SHA3_384", Const, 4, ""}, + {"SHA3_512", Const, 4, ""}, + {"SHA512", Const, 0, ""}, + {"SHA512_224", Const, 5, ""}, + {"SHA512_256", Const, 5, ""}, + {"SignMessage", Func, 25, "func(signer Signer, rand io.Reader, msg []byte, opts SignerOpts) (signature []byte, err error)"}, + {"Signer", Type, 4, ""}, + {"SignerOpts", Type, 4, ""}, }, "crypto/aes": { - {"(KeySizeError).Error", Method, 0}, - {"BlockSize", Const, 0}, - {"KeySizeError", Type, 0}, - {"NewCipher", Func, 0}, + {"(KeySizeError).Error", Method, 0, ""}, + {"BlockSize", Const, 0, ""}, + {"KeySizeError", Type, 0, ""}, + {"NewCipher", Func, 0, "func(key []byte) (cipher.Block, error)"}, }, "crypto/cipher": { - {"(StreamReader).Read", Method, 0}, - {"(StreamWriter).Close", Method, 0}, - {"(StreamWriter).Write", Method, 0}, - {"AEAD", Type, 2}, - {"Block", Type, 0}, - {"BlockMode", Type, 0}, - {"NewCBCDecrypter", Func, 0}, - {"NewCBCEncrypter", Func, 0}, - {"NewCFBDecrypter", Func, 0}, - {"NewCFBEncrypter", Func, 0}, - {"NewCTR", Func, 0}, - {"NewGCM", Func, 2}, - {"NewGCMWithNonceSize", Func, 5}, - {"NewGCMWithRandomNonce", Func, 24}, - {"NewGCMWithTagSize", Func, 11}, - {"NewOFB", Func, 0}, - {"Stream", Type, 0}, - {"StreamReader", Type, 0}, - {"StreamReader.R", Field, 0}, - {"StreamReader.S", Field, 0}, - {"StreamWriter", Type, 0}, - {"StreamWriter.Err", Field, 0}, - {"StreamWriter.S", Field, 0}, - {"StreamWriter.W", Field, 0}, + {"(StreamReader).Read", Method, 0, ""}, + {"(StreamWriter).Close", Method, 0, ""}, + {"(StreamWriter).Write", Method, 0, ""}, + {"AEAD", Type, 2, ""}, + {"Block", Type, 0, ""}, + {"BlockMode", Type, 0, ""}, + {"NewCBCDecrypter", Func, 0, "func(b Block, iv []byte) BlockMode"}, + {"NewCBCEncrypter", Func, 0, "func(b Block, iv []byte) BlockMode"}, + {"NewCFBDecrypter", Func, 0, "func(block Block, iv []byte) Stream"}, + {"NewCFBEncrypter", Func, 0, "func(block Block, iv []byte) Stream"}, + {"NewCTR", Func, 0, "func(block Block, iv []byte) Stream"}, + {"NewGCM", Func, 2, "func(cipher Block) (AEAD, error)"}, + {"NewGCMWithNonceSize", Func, 5, "func(cipher Block, size int) (AEAD, error)"}, + {"NewGCMWithRandomNonce", Func, 24, "func(cipher Block) (AEAD, error)"}, + {"NewGCMWithTagSize", Func, 11, "func(cipher Block, tagSize int) (AEAD, error)"}, + {"NewOFB", Func, 0, "func(b Block, iv []byte) Stream"}, + {"Stream", Type, 0, ""}, + {"StreamReader", Type, 0, ""}, + {"StreamReader.R", Field, 0, ""}, + {"StreamReader.S", Field, 0, ""}, + {"StreamWriter", Type, 0, ""}, + {"StreamWriter.Err", Field, 0, ""}, + {"StreamWriter.S", Field, 0, ""}, + {"StreamWriter.W", Field, 0, ""}, }, "crypto/des": { - {"(KeySizeError).Error", Method, 0}, - {"BlockSize", Const, 0}, - {"KeySizeError", Type, 0}, - {"NewCipher", Func, 0}, - {"NewTripleDESCipher", Func, 0}, + {"(KeySizeError).Error", Method, 0, ""}, + {"BlockSize", Const, 0, ""}, + {"KeySizeError", Type, 0, ""}, + {"NewCipher", Func, 0, "func(key []byte) (cipher.Block, error)"}, + {"NewTripleDESCipher", Func, 0, "func(key []byte) (cipher.Block, error)"}, }, "crypto/dsa": { - {"ErrInvalidPublicKey", Var, 0}, - {"GenerateKey", Func, 0}, - {"GenerateParameters", Func, 0}, - {"L1024N160", Const, 0}, - {"L2048N224", Const, 0}, - {"L2048N256", Const, 0}, - {"L3072N256", Const, 0}, - {"ParameterSizes", Type, 0}, - {"Parameters", Type, 0}, - {"Parameters.G", Field, 0}, - {"Parameters.P", Field, 0}, - {"Parameters.Q", Field, 0}, - {"PrivateKey", Type, 0}, - {"PrivateKey.PublicKey", Field, 0}, - {"PrivateKey.X", Field, 0}, - {"PublicKey", Type, 0}, - {"PublicKey.Parameters", Field, 0}, - {"PublicKey.Y", Field, 0}, - {"Sign", Func, 0}, - {"Verify", Func, 0}, + {"ErrInvalidPublicKey", Var, 0, ""}, + {"GenerateKey", Func, 0, "func(priv *PrivateKey, rand io.Reader) error"}, + {"GenerateParameters", Func, 0, "func(params *Parameters, rand io.Reader, sizes ParameterSizes) error"}, + {"L1024N160", Const, 0, ""}, + {"L2048N224", Const, 0, ""}, + {"L2048N256", Const, 0, ""}, + {"L3072N256", Const, 0, ""}, + {"ParameterSizes", Type, 0, ""}, + {"Parameters", Type, 0, ""}, + {"Parameters.G", Field, 0, ""}, + {"Parameters.P", Field, 0, ""}, + {"Parameters.Q", Field, 0, ""}, + {"PrivateKey", Type, 0, ""}, + {"PrivateKey.PublicKey", Field, 0, ""}, + {"PrivateKey.X", Field, 0, ""}, + {"PublicKey", Type, 0, ""}, + {"PublicKey.Parameters", Field, 0, ""}, + {"PublicKey.Y", Field, 0, ""}, + {"Sign", Func, 0, "func(rand io.Reader, priv *PrivateKey, hash []byte) (r *big.Int, s *big.Int, err error)"}, + {"Verify", Func, 0, "func(pub *PublicKey, hash []byte, r *big.Int, s *big.Int) bool"}, }, "crypto/ecdh": { - {"(*PrivateKey).Bytes", Method, 20}, - {"(*PrivateKey).Curve", Method, 20}, - {"(*PrivateKey).ECDH", Method, 20}, - {"(*PrivateKey).Equal", Method, 20}, - {"(*PrivateKey).Public", Method, 20}, - {"(*PrivateKey).PublicKey", Method, 20}, - {"(*PublicKey).Bytes", Method, 20}, - {"(*PublicKey).Curve", Method, 20}, - {"(*PublicKey).Equal", Method, 20}, - {"Curve", Type, 20}, - {"P256", Func, 20}, - {"P384", Func, 20}, - {"P521", Func, 20}, - {"PrivateKey", Type, 20}, - {"PublicKey", Type, 20}, - {"X25519", Func, 20}, + {"(*PrivateKey).Bytes", Method, 20, ""}, + {"(*PrivateKey).Curve", Method, 20, ""}, + {"(*PrivateKey).ECDH", Method, 20, ""}, + {"(*PrivateKey).Equal", Method, 20, ""}, + {"(*PrivateKey).Public", Method, 20, ""}, + {"(*PrivateKey).PublicKey", Method, 20, ""}, + {"(*PublicKey).Bytes", Method, 20, ""}, + {"(*PublicKey).Curve", Method, 20, ""}, + {"(*PublicKey).Equal", Method, 20, ""}, + {"Curve", Type, 20, ""}, + {"P256", Func, 20, "func() Curve"}, + {"P384", Func, 20, "func() Curve"}, + {"P521", Func, 20, "func() Curve"}, + {"PrivateKey", Type, 20, ""}, + {"PublicKey", Type, 20, ""}, + {"X25519", Func, 20, "func() Curve"}, }, "crypto/ecdsa": { - {"(*PrivateKey).ECDH", Method, 20}, - {"(*PrivateKey).Equal", Method, 15}, - {"(*PrivateKey).Public", Method, 4}, - {"(*PrivateKey).Sign", Method, 4}, - {"(*PublicKey).ECDH", Method, 20}, - {"(*PublicKey).Equal", Method, 15}, - {"(PrivateKey).Add", Method, 0}, - {"(PrivateKey).Double", Method, 0}, - {"(PrivateKey).IsOnCurve", Method, 0}, - {"(PrivateKey).Params", Method, 0}, - {"(PrivateKey).ScalarBaseMult", Method, 0}, - {"(PrivateKey).ScalarMult", Method, 0}, - {"(PublicKey).Add", Method, 0}, - {"(PublicKey).Double", Method, 0}, - {"(PublicKey).IsOnCurve", Method, 0}, - {"(PublicKey).Params", Method, 0}, - {"(PublicKey).ScalarBaseMult", Method, 0}, - {"(PublicKey).ScalarMult", Method, 0}, - {"GenerateKey", Func, 0}, - {"PrivateKey", Type, 0}, - {"PrivateKey.D", Field, 0}, - {"PrivateKey.PublicKey", Field, 0}, - {"PublicKey", Type, 0}, - {"PublicKey.Curve", Field, 0}, - {"PublicKey.X", Field, 0}, - {"PublicKey.Y", Field, 0}, - {"Sign", Func, 0}, - {"SignASN1", Func, 15}, - {"Verify", Func, 0}, - {"VerifyASN1", Func, 15}, + {"(*PrivateKey).Bytes", Method, 25, ""}, + {"(*PrivateKey).ECDH", Method, 20, ""}, + {"(*PrivateKey).Equal", Method, 15, ""}, + {"(*PrivateKey).Public", Method, 4, ""}, + {"(*PrivateKey).Sign", Method, 4, ""}, + {"(*PublicKey).Bytes", Method, 25, ""}, + {"(*PublicKey).ECDH", Method, 20, ""}, + {"(*PublicKey).Equal", Method, 15, ""}, + {"(PrivateKey).Add", Method, 0, ""}, + {"(PrivateKey).Double", Method, 0, ""}, + {"(PrivateKey).IsOnCurve", Method, 0, ""}, + {"(PrivateKey).Params", Method, 0, ""}, + {"(PrivateKey).ScalarBaseMult", Method, 0, ""}, + {"(PrivateKey).ScalarMult", Method, 0, ""}, + {"(PublicKey).Add", Method, 0, ""}, + {"(PublicKey).Double", Method, 0, ""}, + {"(PublicKey).IsOnCurve", Method, 0, ""}, + {"(PublicKey).Params", Method, 0, ""}, + {"(PublicKey).ScalarBaseMult", Method, 0, ""}, + {"(PublicKey).ScalarMult", Method, 0, ""}, + {"GenerateKey", Func, 0, "func(c elliptic.Curve, rand io.Reader) (*PrivateKey, error)"}, + {"ParseRawPrivateKey", Func, 25, "func(curve elliptic.Curve, data []byte) (*PrivateKey, error)"}, + {"ParseUncompressedPublicKey", Func, 25, "func(curve elliptic.Curve, data []byte) (*PublicKey, error)"}, + {"PrivateKey", Type, 0, ""}, + {"PrivateKey.D", Field, 0, ""}, + {"PrivateKey.PublicKey", Field, 0, ""}, + {"PublicKey", Type, 0, ""}, + {"PublicKey.Curve", Field, 0, ""}, + {"PublicKey.X", Field, 0, ""}, + {"PublicKey.Y", Field, 0, ""}, + {"Sign", Func, 0, "func(rand io.Reader, priv *PrivateKey, hash []byte) (r *big.Int, s *big.Int, err error)"}, + {"SignASN1", Func, 15, "func(rand io.Reader, priv *PrivateKey, hash []byte) ([]byte, error)"}, + {"Verify", Func, 0, "func(pub *PublicKey, hash []byte, r *big.Int, s *big.Int) bool"}, + {"VerifyASN1", Func, 15, "func(pub *PublicKey, hash []byte, sig []byte) bool"}, }, "crypto/ed25519": { - {"(*Options).HashFunc", Method, 20}, - {"(PrivateKey).Equal", Method, 15}, - {"(PrivateKey).Public", Method, 13}, - {"(PrivateKey).Seed", Method, 13}, - {"(PrivateKey).Sign", Method, 13}, - {"(PublicKey).Equal", Method, 15}, - {"GenerateKey", Func, 13}, - {"NewKeyFromSeed", Func, 13}, - {"Options", Type, 20}, - {"Options.Context", Field, 20}, - {"Options.Hash", Field, 20}, - {"PrivateKey", Type, 13}, - {"PrivateKeySize", Const, 13}, - {"PublicKey", Type, 13}, - {"PublicKeySize", Const, 13}, - {"SeedSize", Const, 13}, - {"Sign", Func, 13}, - {"SignatureSize", Const, 13}, - {"Verify", Func, 13}, - {"VerifyWithOptions", Func, 20}, + {"(*Options).HashFunc", Method, 20, ""}, + {"(PrivateKey).Equal", Method, 15, ""}, + {"(PrivateKey).Public", Method, 13, ""}, + {"(PrivateKey).Seed", Method, 13, ""}, + {"(PrivateKey).Sign", Method, 13, ""}, + {"(PublicKey).Equal", Method, 15, ""}, + {"GenerateKey", Func, 13, "func(rand io.Reader) (PublicKey, PrivateKey, error)"}, + {"NewKeyFromSeed", Func, 13, "func(seed []byte) PrivateKey"}, + {"Options", Type, 20, ""}, + {"Options.Context", Field, 20, ""}, + {"Options.Hash", Field, 20, ""}, + {"PrivateKey", Type, 13, ""}, + {"PrivateKeySize", Const, 13, ""}, + {"PublicKey", Type, 13, ""}, + {"PublicKeySize", Const, 13, ""}, + {"SeedSize", Const, 13, ""}, + {"Sign", Func, 13, "func(privateKey PrivateKey, message []byte) []byte"}, + {"SignatureSize", Const, 13, ""}, + {"Verify", Func, 13, "func(publicKey PublicKey, message []byte, sig []byte) bool"}, + {"VerifyWithOptions", Func, 20, "func(publicKey PublicKey, message []byte, sig []byte, opts *Options) error"}, }, "crypto/elliptic": { - {"(*CurveParams).Add", Method, 0}, - {"(*CurveParams).Double", Method, 0}, - {"(*CurveParams).IsOnCurve", Method, 0}, - {"(*CurveParams).Params", Method, 0}, - {"(*CurveParams).ScalarBaseMult", Method, 0}, - {"(*CurveParams).ScalarMult", Method, 0}, - {"Curve", Type, 0}, - {"CurveParams", Type, 0}, - {"CurveParams.B", Field, 0}, - {"CurveParams.BitSize", Field, 0}, - {"CurveParams.Gx", Field, 0}, - {"CurveParams.Gy", Field, 0}, - {"CurveParams.N", Field, 0}, - {"CurveParams.Name", Field, 5}, - {"CurveParams.P", Field, 0}, - {"GenerateKey", Func, 0}, - {"Marshal", Func, 0}, - {"MarshalCompressed", Func, 15}, - {"P224", Func, 0}, - {"P256", Func, 0}, - {"P384", Func, 0}, - {"P521", Func, 0}, - {"Unmarshal", Func, 0}, - {"UnmarshalCompressed", Func, 15}, + {"(*CurveParams).Add", Method, 0, ""}, + {"(*CurveParams).Double", Method, 0, ""}, + {"(*CurveParams).IsOnCurve", Method, 0, ""}, + {"(*CurveParams).Params", Method, 0, ""}, + {"(*CurveParams).ScalarBaseMult", Method, 0, ""}, + {"(*CurveParams).ScalarMult", Method, 0, ""}, + {"Curve", Type, 0, ""}, + {"CurveParams", Type, 0, ""}, + {"CurveParams.B", Field, 0, ""}, + {"CurveParams.BitSize", Field, 0, ""}, + {"CurveParams.Gx", Field, 0, ""}, + {"CurveParams.Gy", Field, 0, ""}, + {"CurveParams.N", Field, 0, ""}, + {"CurveParams.Name", Field, 5, ""}, + {"CurveParams.P", Field, 0, ""}, + {"GenerateKey", Func, 0, "func(curve Curve, rand io.Reader) (priv []byte, x *big.Int, y *big.Int, err error)"}, + {"Marshal", Func, 0, "func(curve Curve, x *big.Int, y *big.Int) []byte"}, + {"MarshalCompressed", Func, 15, "func(curve Curve, x *big.Int, y *big.Int) []byte"}, + {"P224", Func, 0, "func() Curve"}, + {"P256", Func, 0, "func() Curve"}, + {"P384", Func, 0, "func() Curve"}, + {"P521", Func, 0, "func() Curve"}, + {"Unmarshal", Func, 0, "func(curve Curve, data []byte) (x *big.Int, y *big.Int)"}, + {"UnmarshalCompressed", Func, 15, "func(curve Curve, data []byte) (x *big.Int, y *big.Int)"}, }, "crypto/fips140": { - {"Enabled", Func, 24}, + {"Enabled", Func, 24, "func() bool"}, }, "crypto/hkdf": { - {"Expand", Func, 24}, - {"Extract", Func, 24}, - {"Key", Func, 24}, + {"Expand", Func, 24, "func[H hash.Hash](h func() H, pseudorandomKey []byte, info string, keyLength int) ([]byte, error)"}, + {"Extract", Func, 24, "func[H hash.Hash](h func() H, secret []byte, salt []byte) ([]byte, error)"}, + {"Key", Func, 24, "func[Hash hash.Hash](h func() Hash, secret []byte, salt []byte, info string, keyLength int) ([]byte, error)"}, }, "crypto/hmac": { - {"Equal", Func, 1}, - {"New", Func, 0}, + {"Equal", Func, 1, "func(mac1 []byte, mac2 []byte) bool"}, + {"New", Func, 0, "func(h func() hash.Hash, key []byte) hash.Hash"}, }, "crypto/md5": { - {"BlockSize", Const, 0}, - {"New", Func, 0}, - {"Size", Const, 0}, - {"Sum", Func, 2}, + {"BlockSize", Const, 0, ""}, + {"New", Func, 0, "func() hash.Hash"}, + {"Size", Const, 0, ""}, + {"Sum", Func, 2, "func(data []byte) [16]byte"}, }, "crypto/mlkem": { - {"(*DecapsulationKey1024).Bytes", Method, 24}, - {"(*DecapsulationKey1024).Decapsulate", Method, 24}, - {"(*DecapsulationKey1024).EncapsulationKey", Method, 24}, - {"(*DecapsulationKey768).Bytes", Method, 24}, - {"(*DecapsulationKey768).Decapsulate", Method, 24}, - {"(*DecapsulationKey768).EncapsulationKey", Method, 24}, - {"(*EncapsulationKey1024).Bytes", Method, 24}, - {"(*EncapsulationKey1024).Encapsulate", Method, 24}, - {"(*EncapsulationKey768).Bytes", Method, 24}, - {"(*EncapsulationKey768).Encapsulate", Method, 24}, - {"CiphertextSize1024", Const, 24}, - {"CiphertextSize768", Const, 24}, - {"DecapsulationKey1024", Type, 24}, - {"DecapsulationKey768", Type, 24}, - {"EncapsulationKey1024", Type, 24}, - {"EncapsulationKey768", Type, 24}, - {"EncapsulationKeySize1024", Const, 24}, - {"EncapsulationKeySize768", Const, 24}, - {"GenerateKey1024", Func, 24}, - {"GenerateKey768", Func, 24}, - {"NewDecapsulationKey1024", Func, 24}, - {"NewDecapsulationKey768", Func, 24}, - {"NewEncapsulationKey1024", Func, 24}, - {"NewEncapsulationKey768", Func, 24}, - {"SeedSize", Const, 24}, - {"SharedKeySize", Const, 24}, + {"(*DecapsulationKey1024).Bytes", Method, 24, ""}, + {"(*DecapsulationKey1024).Decapsulate", Method, 24, ""}, + {"(*DecapsulationKey1024).EncapsulationKey", Method, 24, ""}, + {"(*DecapsulationKey768).Bytes", Method, 24, ""}, + {"(*DecapsulationKey768).Decapsulate", Method, 24, ""}, + {"(*DecapsulationKey768).EncapsulationKey", Method, 24, ""}, + {"(*EncapsulationKey1024).Bytes", Method, 24, ""}, + {"(*EncapsulationKey1024).Encapsulate", Method, 24, ""}, + {"(*EncapsulationKey768).Bytes", Method, 24, ""}, + {"(*EncapsulationKey768).Encapsulate", Method, 24, ""}, + {"CiphertextSize1024", Const, 24, ""}, + {"CiphertextSize768", Const, 24, ""}, + {"DecapsulationKey1024", Type, 24, ""}, + {"DecapsulationKey768", Type, 24, ""}, + {"EncapsulationKey1024", Type, 24, ""}, + {"EncapsulationKey768", Type, 24, ""}, + {"EncapsulationKeySize1024", Const, 24, ""}, + {"EncapsulationKeySize768", Const, 24, ""}, + {"GenerateKey1024", Func, 24, "func() (*DecapsulationKey1024, error)"}, + {"GenerateKey768", Func, 24, "func() (*DecapsulationKey768, error)"}, + {"NewDecapsulationKey1024", Func, 24, "func(seed []byte) (*DecapsulationKey1024, error)"}, + {"NewDecapsulationKey768", Func, 24, "func(seed []byte) (*DecapsulationKey768, error)"}, + {"NewEncapsulationKey1024", Func, 24, "func(encapsulationKey []byte) (*EncapsulationKey1024, error)"}, + {"NewEncapsulationKey768", Func, 24, "func(encapsulationKey []byte) (*EncapsulationKey768, error)"}, + {"SeedSize", Const, 24, ""}, + {"SharedKeySize", Const, 24, ""}, }, "crypto/pbkdf2": { - {"Key", Func, 24}, + {"Key", Func, 24, "func[Hash hash.Hash](h func() Hash, password string, salt []byte, iter int, keyLength int) ([]byte, error)"}, }, "crypto/rand": { - {"Int", Func, 0}, - {"Prime", Func, 0}, - {"Read", Func, 0}, - {"Reader", Var, 0}, - {"Text", Func, 24}, + {"Int", Func, 0, "func(rand io.Reader, max *big.Int) (n *big.Int, err error)"}, + {"Prime", Func, 0, "func(rand io.Reader, bits int) (*big.Int, error)"}, + {"Read", Func, 0, "func(b []byte) (n int, err error)"}, + {"Reader", Var, 0, ""}, + {"Text", Func, 24, "func() string"}, }, "crypto/rc4": { - {"(*Cipher).Reset", Method, 0}, - {"(*Cipher).XORKeyStream", Method, 0}, - {"(KeySizeError).Error", Method, 0}, - {"Cipher", Type, 0}, - {"KeySizeError", Type, 0}, - {"NewCipher", Func, 0}, + {"(*Cipher).Reset", Method, 0, ""}, + {"(*Cipher).XORKeyStream", Method, 0, ""}, + {"(KeySizeError).Error", Method, 0, ""}, + {"Cipher", Type, 0, ""}, + {"KeySizeError", Type, 0, ""}, + {"NewCipher", Func, 0, "func(key []byte) (*Cipher, error)"}, }, "crypto/rsa": { - {"(*PSSOptions).HashFunc", Method, 4}, - {"(*PrivateKey).Decrypt", Method, 5}, - {"(*PrivateKey).Equal", Method, 15}, - {"(*PrivateKey).Precompute", Method, 0}, - {"(*PrivateKey).Public", Method, 4}, - {"(*PrivateKey).Sign", Method, 4}, - {"(*PrivateKey).Size", Method, 11}, - {"(*PrivateKey).Validate", Method, 0}, - {"(*PublicKey).Equal", Method, 15}, - {"(*PublicKey).Size", Method, 11}, - {"CRTValue", Type, 0}, - {"CRTValue.Coeff", Field, 0}, - {"CRTValue.Exp", Field, 0}, - {"CRTValue.R", Field, 0}, - {"DecryptOAEP", Func, 0}, - {"DecryptPKCS1v15", Func, 0}, - {"DecryptPKCS1v15SessionKey", Func, 0}, - {"EncryptOAEP", Func, 0}, - {"EncryptPKCS1v15", Func, 0}, - {"ErrDecryption", Var, 0}, - {"ErrMessageTooLong", Var, 0}, - {"ErrVerification", Var, 0}, - {"GenerateKey", Func, 0}, - {"GenerateMultiPrimeKey", Func, 0}, - {"OAEPOptions", Type, 5}, - {"OAEPOptions.Hash", Field, 5}, - {"OAEPOptions.Label", Field, 5}, - {"OAEPOptions.MGFHash", Field, 20}, - {"PKCS1v15DecryptOptions", Type, 5}, - {"PKCS1v15DecryptOptions.SessionKeyLen", Field, 5}, - {"PSSOptions", Type, 2}, - {"PSSOptions.Hash", Field, 4}, - {"PSSOptions.SaltLength", Field, 2}, - {"PSSSaltLengthAuto", Const, 2}, - {"PSSSaltLengthEqualsHash", Const, 2}, - {"PrecomputedValues", Type, 0}, - {"PrecomputedValues.CRTValues", Field, 0}, - {"PrecomputedValues.Dp", Field, 0}, - {"PrecomputedValues.Dq", Field, 0}, - {"PrecomputedValues.Qinv", Field, 0}, - {"PrivateKey", Type, 0}, - {"PrivateKey.D", Field, 0}, - {"PrivateKey.Precomputed", Field, 0}, - {"PrivateKey.Primes", Field, 0}, - {"PrivateKey.PublicKey", Field, 0}, - {"PublicKey", Type, 0}, - {"PublicKey.E", Field, 0}, - {"PublicKey.N", Field, 0}, - {"SignPKCS1v15", Func, 0}, - {"SignPSS", Func, 2}, - {"VerifyPKCS1v15", Func, 0}, - {"VerifyPSS", Func, 2}, + {"(*PSSOptions).HashFunc", Method, 4, ""}, + {"(*PrivateKey).Decrypt", Method, 5, ""}, + {"(*PrivateKey).Equal", Method, 15, ""}, + {"(*PrivateKey).Precompute", Method, 0, ""}, + {"(*PrivateKey).Public", Method, 4, ""}, + {"(*PrivateKey).Sign", Method, 4, ""}, + {"(*PrivateKey).Size", Method, 11, ""}, + {"(*PrivateKey).Validate", Method, 0, ""}, + {"(*PublicKey).Equal", Method, 15, ""}, + {"(*PublicKey).Size", Method, 11, ""}, + {"CRTValue", Type, 0, ""}, + {"CRTValue.Coeff", Field, 0, ""}, + {"CRTValue.Exp", Field, 0, ""}, + {"CRTValue.R", Field, 0, ""}, + {"DecryptOAEP", Func, 0, "func(hash hash.Hash, random io.Reader, priv *PrivateKey, ciphertext []byte, label []byte) ([]byte, error)"}, + {"DecryptPKCS1v15", Func, 0, "func(random io.Reader, priv *PrivateKey, ciphertext []byte) ([]byte, error)"}, + {"DecryptPKCS1v15SessionKey", Func, 0, "func(random io.Reader, priv *PrivateKey, ciphertext []byte, key []byte) error"}, + {"EncryptOAEP", Func, 0, "func(hash hash.Hash, random io.Reader, pub *PublicKey, msg []byte, label []byte) ([]byte, error)"}, + {"EncryptPKCS1v15", Func, 0, "func(random io.Reader, pub *PublicKey, msg []byte) ([]byte, error)"}, + {"ErrDecryption", Var, 0, ""}, + {"ErrMessageTooLong", Var, 0, ""}, + {"ErrVerification", Var, 0, ""}, + {"GenerateKey", Func, 0, "func(random io.Reader, bits int) (*PrivateKey, error)"}, + {"GenerateMultiPrimeKey", Func, 0, "func(random io.Reader, nprimes int, bits int) (*PrivateKey, error)"}, + {"OAEPOptions", Type, 5, ""}, + {"OAEPOptions.Hash", Field, 5, ""}, + {"OAEPOptions.Label", Field, 5, ""}, + {"OAEPOptions.MGFHash", Field, 20, ""}, + {"PKCS1v15DecryptOptions", Type, 5, ""}, + {"PKCS1v15DecryptOptions.SessionKeyLen", Field, 5, ""}, + {"PSSOptions", Type, 2, ""}, + {"PSSOptions.Hash", Field, 4, ""}, + {"PSSOptions.SaltLength", Field, 2, ""}, + {"PSSSaltLengthAuto", Const, 2, ""}, + {"PSSSaltLengthEqualsHash", Const, 2, ""}, + {"PrecomputedValues", Type, 0, ""}, + {"PrecomputedValues.CRTValues", Field, 0, ""}, + {"PrecomputedValues.Dp", Field, 0, ""}, + {"PrecomputedValues.Dq", Field, 0, ""}, + {"PrecomputedValues.Qinv", Field, 0, ""}, + {"PrivateKey", Type, 0, ""}, + {"PrivateKey.D", Field, 0, ""}, + {"PrivateKey.Precomputed", Field, 0, ""}, + {"PrivateKey.Primes", Field, 0, ""}, + {"PrivateKey.PublicKey", Field, 0, ""}, + {"PublicKey", Type, 0, ""}, + {"PublicKey.E", Field, 0, ""}, + {"PublicKey.N", Field, 0, ""}, + {"SignPKCS1v15", Func, 0, "func(random io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, error)"}, + {"SignPSS", Func, 2, "func(rand io.Reader, priv *PrivateKey, hash crypto.Hash, digest []byte, opts *PSSOptions) ([]byte, error)"}, + {"VerifyPKCS1v15", Func, 0, "func(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error"}, + {"VerifyPSS", Func, 2, "func(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error"}, }, "crypto/sha1": { - {"BlockSize", Const, 0}, - {"New", Func, 0}, - {"Size", Const, 0}, - {"Sum", Func, 2}, + {"BlockSize", Const, 0, ""}, + {"New", Func, 0, "func() hash.Hash"}, + {"Size", Const, 0, ""}, + {"Sum", Func, 2, "func(data []byte) [20]byte"}, }, "crypto/sha256": { - {"BlockSize", Const, 0}, - {"New", Func, 0}, - {"New224", Func, 0}, - {"Size", Const, 0}, - {"Size224", Const, 0}, - {"Sum224", Func, 2}, - {"Sum256", Func, 2}, + {"BlockSize", Const, 0, ""}, + {"New", Func, 0, "func() hash.Hash"}, + {"New224", Func, 0, "func() hash.Hash"}, + {"Size", Const, 0, ""}, + {"Size224", Const, 0, ""}, + {"Sum224", Func, 2, "func(data []byte) [28]byte"}, + {"Sum256", Func, 2, "func(data []byte) [32]byte"}, }, "crypto/sha3": { - {"(*SHA3).AppendBinary", Method, 24}, - {"(*SHA3).BlockSize", Method, 24}, - {"(*SHA3).MarshalBinary", Method, 24}, - {"(*SHA3).Reset", Method, 24}, - {"(*SHA3).Size", Method, 24}, - {"(*SHA3).Sum", Method, 24}, - {"(*SHA3).UnmarshalBinary", Method, 24}, - {"(*SHA3).Write", Method, 24}, - {"(*SHAKE).AppendBinary", Method, 24}, - {"(*SHAKE).BlockSize", Method, 24}, - {"(*SHAKE).MarshalBinary", Method, 24}, - {"(*SHAKE).Read", Method, 24}, - {"(*SHAKE).Reset", Method, 24}, - {"(*SHAKE).UnmarshalBinary", Method, 24}, - {"(*SHAKE).Write", Method, 24}, - {"New224", Func, 24}, - {"New256", Func, 24}, - {"New384", Func, 24}, - {"New512", Func, 24}, - {"NewCSHAKE128", Func, 24}, - {"NewCSHAKE256", Func, 24}, - {"NewSHAKE128", Func, 24}, - {"NewSHAKE256", Func, 24}, - {"SHA3", Type, 24}, - {"SHAKE", Type, 24}, - {"Sum224", Func, 24}, - {"Sum256", Func, 24}, - {"Sum384", Func, 24}, - {"Sum512", Func, 24}, - {"SumSHAKE128", Func, 24}, - {"SumSHAKE256", Func, 24}, + {"(*SHA3).AppendBinary", Method, 24, ""}, + {"(*SHA3).BlockSize", Method, 24, ""}, + {"(*SHA3).Clone", Method, 25, ""}, + {"(*SHA3).MarshalBinary", Method, 24, ""}, + {"(*SHA3).Reset", Method, 24, ""}, + {"(*SHA3).Size", Method, 24, ""}, + {"(*SHA3).Sum", Method, 24, ""}, + {"(*SHA3).UnmarshalBinary", Method, 24, ""}, + {"(*SHA3).Write", Method, 24, ""}, + {"(*SHAKE).AppendBinary", Method, 24, ""}, + {"(*SHAKE).BlockSize", Method, 24, ""}, + {"(*SHAKE).MarshalBinary", Method, 24, ""}, + {"(*SHAKE).Read", Method, 24, ""}, + {"(*SHAKE).Reset", Method, 24, ""}, + {"(*SHAKE).UnmarshalBinary", Method, 24, ""}, + {"(*SHAKE).Write", Method, 24, ""}, + {"New224", Func, 24, "func() *SHA3"}, + {"New256", Func, 24, "func() *SHA3"}, + {"New384", Func, 24, "func() *SHA3"}, + {"New512", Func, 24, "func() *SHA3"}, + {"NewCSHAKE128", Func, 24, "func(N []byte, S []byte) *SHAKE"}, + {"NewCSHAKE256", Func, 24, "func(N []byte, S []byte) *SHAKE"}, + {"NewSHAKE128", Func, 24, "func() *SHAKE"}, + {"NewSHAKE256", Func, 24, "func() *SHAKE"}, + {"SHA3", Type, 24, ""}, + {"SHAKE", Type, 24, ""}, + {"Sum224", Func, 24, "func(data []byte) [28]byte"}, + {"Sum256", Func, 24, "func(data []byte) [32]byte"}, + {"Sum384", Func, 24, "func(data []byte) [48]byte"}, + {"Sum512", Func, 24, "func(data []byte) [64]byte"}, + {"SumSHAKE128", Func, 24, "func(data []byte, length int) []byte"}, + {"SumSHAKE256", Func, 24, "func(data []byte, length int) []byte"}, }, "crypto/sha512": { - {"BlockSize", Const, 0}, - {"New", Func, 0}, - {"New384", Func, 0}, - {"New512_224", Func, 5}, - {"New512_256", Func, 5}, - {"Size", Const, 0}, - {"Size224", Const, 5}, - {"Size256", Const, 5}, - {"Size384", Const, 0}, - {"Sum384", Func, 2}, - {"Sum512", Func, 2}, - {"Sum512_224", Func, 5}, - {"Sum512_256", Func, 5}, + {"BlockSize", Const, 0, ""}, + {"New", Func, 0, "func() hash.Hash"}, + {"New384", Func, 0, "func() hash.Hash"}, + {"New512_224", Func, 5, "func() hash.Hash"}, + {"New512_256", Func, 5, "func() hash.Hash"}, + {"Size", Const, 0, ""}, + {"Size224", Const, 5, ""}, + {"Size256", Const, 5, ""}, + {"Size384", Const, 0, ""}, + {"Sum384", Func, 2, "func(data []byte) [48]byte"}, + {"Sum512", Func, 2, "func(data []byte) [64]byte"}, + {"Sum512_224", Func, 5, "func(data []byte) [28]byte"}, + {"Sum512_256", Func, 5, "func(data []byte) [32]byte"}, }, "crypto/subtle": { - {"ConstantTimeByteEq", Func, 0}, - {"ConstantTimeCompare", Func, 0}, - {"ConstantTimeCopy", Func, 0}, - {"ConstantTimeEq", Func, 0}, - {"ConstantTimeLessOrEq", Func, 2}, - {"ConstantTimeSelect", Func, 0}, - {"WithDataIndependentTiming", Func, 24}, - {"XORBytes", Func, 20}, + {"ConstantTimeByteEq", Func, 0, "func(x uint8, y uint8) int"}, + {"ConstantTimeCompare", Func, 0, "func(x []byte, y []byte) int"}, + {"ConstantTimeCopy", Func, 0, "func(v int, x []byte, y []byte)"}, + {"ConstantTimeEq", Func, 0, "func(x int32, y int32) int"}, + {"ConstantTimeLessOrEq", Func, 2, "func(x int, y int) int"}, + {"ConstantTimeSelect", Func, 0, "func(v int, x int, y int) int"}, + {"WithDataIndependentTiming", Func, 24, "func(f func())"}, + {"XORBytes", Func, 20, "func(dst []byte, x []byte, y []byte) int"}, }, "crypto/tls": { - {"(*CertificateRequestInfo).Context", Method, 17}, - {"(*CertificateRequestInfo).SupportsCertificate", Method, 14}, - {"(*CertificateVerificationError).Error", Method, 20}, - {"(*CertificateVerificationError).Unwrap", Method, 20}, - {"(*ClientHelloInfo).Context", Method, 17}, - {"(*ClientHelloInfo).SupportsCertificate", Method, 14}, - {"(*ClientSessionState).ResumptionState", Method, 21}, - {"(*Config).BuildNameToCertificate", Method, 0}, - {"(*Config).Clone", Method, 8}, - {"(*Config).DecryptTicket", Method, 21}, - {"(*Config).EncryptTicket", Method, 21}, - {"(*Config).SetSessionTicketKeys", Method, 5}, - {"(*Conn).Close", Method, 0}, - {"(*Conn).CloseWrite", Method, 8}, - {"(*Conn).ConnectionState", Method, 0}, - {"(*Conn).Handshake", Method, 0}, - {"(*Conn).HandshakeContext", Method, 17}, - {"(*Conn).LocalAddr", Method, 0}, - {"(*Conn).NetConn", Method, 18}, - {"(*Conn).OCSPResponse", Method, 0}, - {"(*Conn).Read", Method, 0}, - {"(*Conn).RemoteAddr", Method, 0}, - {"(*Conn).SetDeadline", Method, 0}, - {"(*Conn).SetReadDeadline", Method, 0}, - {"(*Conn).SetWriteDeadline", Method, 0}, - {"(*Conn).VerifyHostname", Method, 0}, - {"(*Conn).Write", Method, 0}, - {"(*ConnectionState).ExportKeyingMaterial", Method, 11}, - {"(*Dialer).Dial", Method, 15}, - {"(*Dialer).DialContext", Method, 15}, - {"(*ECHRejectionError).Error", Method, 23}, - {"(*QUICConn).Close", Method, 21}, - {"(*QUICConn).ConnectionState", Method, 21}, - {"(*QUICConn).HandleData", Method, 21}, - {"(*QUICConn).NextEvent", Method, 21}, - {"(*QUICConn).SendSessionTicket", Method, 21}, - {"(*QUICConn).SetTransportParameters", Method, 21}, - {"(*QUICConn).Start", Method, 21}, - {"(*QUICConn).StoreSession", Method, 23}, - {"(*SessionState).Bytes", Method, 21}, - {"(AlertError).Error", Method, 21}, - {"(ClientAuthType).String", Method, 15}, - {"(CurveID).String", Method, 15}, - {"(QUICEncryptionLevel).String", Method, 21}, - {"(RecordHeaderError).Error", Method, 6}, - {"(SignatureScheme).String", Method, 15}, - {"AlertError", Type, 21}, - {"Certificate", Type, 0}, - {"Certificate.Certificate", Field, 0}, - {"Certificate.Leaf", Field, 0}, - {"Certificate.OCSPStaple", Field, 0}, - {"Certificate.PrivateKey", Field, 0}, - {"Certificate.SignedCertificateTimestamps", Field, 5}, - {"Certificate.SupportedSignatureAlgorithms", Field, 14}, - {"CertificateRequestInfo", Type, 8}, - {"CertificateRequestInfo.AcceptableCAs", Field, 8}, - {"CertificateRequestInfo.SignatureSchemes", Field, 8}, - {"CertificateRequestInfo.Version", Field, 14}, - {"CertificateVerificationError", Type, 20}, - {"CertificateVerificationError.Err", Field, 20}, - {"CertificateVerificationError.UnverifiedCertificates", Field, 20}, - {"CipherSuite", Type, 14}, - {"CipherSuite.ID", Field, 14}, - {"CipherSuite.Insecure", Field, 14}, - {"CipherSuite.Name", Field, 14}, - {"CipherSuite.SupportedVersions", Field, 14}, - {"CipherSuiteName", Func, 14}, - {"CipherSuites", Func, 14}, - {"Client", Func, 0}, - {"ClientAuthType", Type, 0}, - {"ClientHelloInfo", Type, 4}, - {"ClientHelloInfo.CipherSuites", Field, 4}, - {"ClientHelloInfo.Conn", Field, 8}, - {"ClientHelloInfo.Extensions", Field, 24}, - {"ClientHelloInfo.ServerName", Field, 4}, - {"ClientHelloInfo.SignatureSchemes", Field, 8}, - {"ClientHelloInfo.SupportedCurves", Field, 4}, - {"ClientHelloInfo.SupportedPoints", Field, 4}, - {"ClientHelloInfo.SupportedProtos", Field, 8}, - {"ClientHelloInfo.SupportedVersions", Field, 8}, - {"ClientSessionCache", Type, 3}, - {"ClientSessionState", Type, 3}, - {"Config", Type, 0}, - {"Config.Certificates", Field, 0}, - {"Config.CipherSuites", Field, 0}, - {"Config.ClientAuth", Field, 0}, - {"Config.ClientCAs", Field, 0}, - {"Config.ClientSessionCache", Field, 3}, - {"Config.CurvePreferences", Field, 3}, - {"Config.DynamicRecordSizingDisabled", Field, 7}, - {"Config.EncryptedClientHelloConfigList", Field, 23}, - {"Config.EncryptedClientHelloKeys", Field, 24}, - {"Config.EncryptedClientHelloRejectionVerify", Field, 23}, - {"Config.GetCertificate", Field, 4}, - {"Config.GetClientCertificate", Field, 8}, - {"Config.GetConfigForClient", Field, 8}, - {"Config.InsecureSkipVerify", Field, 0}, - {"Config.KeyLogWriter", Field, 8}, - {"Config.MaxVersion", Field, 2}, - {"Config.MinVersion", Field, 2}, - {"Config.NameToCertificate", Field, 0}, - {"Config.NextProtos", Field, 0}, - {"Config.PreferServerCipherSuites", Field, 1}, - {"Config.Rand", Field, 0}, - {"Config.Renegotiation", Field, 7}, - {"Config.RootCAs", Field, 0}, - {"Config.ServerName", Field, 0}, - {"Config.SessionTicketKey", Field, 1}, - {"Config.SessionTicketsDisabled", Field, 1}, - {"Config.Time", Field, 0}, - {"Config.UnwrapSession", Field, 21}, - {"Config.VerifyConnection", Field, 15}, - {"Config.VerifyPeerCertificate", Field, 8}, - {"Config.WrapSession", Field, 21}, - {"Conn", Type, 0}, - {"ConnectionState", Type, 0}, - {"ConnectionState.CipherSuite", Field, 0}, - {"ConnectionState.DidResume", Field, 1}, - {"ConnectionState.ECHAccepted", Field, 23}, - {"ConnectionState.HandshakeComplete", Field, 0}, - {"ConnectionState.NegotiatedProtocol", Field, 0}, - {"ConnectionState.NegotiatedProtocolIsMutual", Field, 0}, - {"ConnectionState.OCSPResponse", Field, 5}, - {"ConnectionState.PeerCertificates", Field, 0}, - {"ConnectionState.ServerName", Field, 0}, - {"ConnectionState.SignedCertificateTimestamps", Field, 5}, - {"ConnectionState.TLSUnique", Field, 4}, - {"ConnectionState.VerifiedChains", Field, 0}, - {"ConnectionState.Version", Field, 3}, - {"CurveID", Type, 3}, - {"CurveP256", Const, 3}, - {"CurveP384", Const, 3}, - {"CurveP521", Const, 3}, - {"Dial", Func, 0}, - {"DialWithDialer", Func, 3}, - {"Dialer", Type, 15}, - {"Dialer.Config", Field, 15}, - {"Dialer.NetDialer", Field, 15}, - {"ECDSAWithP256AndSHA256", Const, 8}, - {"ECDSAWithP384AndSHA384", Const, 8}, - {"ECDSAWithP521AndSHA512", Const, 8}, - {"ECDSAWithSHA1", Const, 10}, - {"ECHRejectionError", Type, 23}, - {"ECHRejectionError.RetryConfigList", Field, 23}, - {"Ed25519", Const, 13}, - {"EncryptedClientHelloKey", Type, 24}, - {"EncryptedClientHelloKey.Config", Field, 24}, - {"EncryptedClientHelloKey.PrivateKey", Field, 24}, - {"EncryptedClientHelloKey.SendAsRetry", Field, 24}, - {"InsecureCipherSuites", Func, 14}, - {"Listen", Func, 0}, - {"LoadX509KeyPair", Func, 0}, - {"NewLRUClientSessionCache", Func, 3}, - {"NewListener", Func, 0}, - {"NewResumptionState", Func, 21}, - {"NoClientCert", Const, 0}, - {"PKCS1WithSHA1", Const, 8}, - {"PKCS1WithSHA256", Const, 8}, - {"PKCS1WithSHA384", Const, 8}, - {"PKCS1WithSHA512", Const, 8}, - {"PSSWithSHA256", Const, 8}, - {"PSSWithSHA384", Const, 8}, - {"PSSWithSHA512", Const, 8}, - {"ParseSessionState", Func, 21}, - {"QUICClient", Func, 21}, - {"QUICConfig", Type, 21}, - {"QUICConfig.EnableSessionEvents", Field, 23}, - {"QUICConfig.TLSConfig", Field, 21}, - {"QUICConn", Type, 21}, - {"QUICEncryptionLevel", Type, 21}, - {"QUICEncryptionLevelApplication", Const, 21}, - {"QUICEncryptionLevelEarly", Const, 21}, - {"QUICEncryptionLevelHandshake", Const, 21}, - {"QUICEncryptionLevelInitial", Const, 21}, - {"QUICEvent", Type, 21}, - {"QUICEvent.Data", Field, 21}, - {"QUICEvent.Kind", Field, 21}, - {"QUICEvent.Level", Field, 21}, - {"QUICEvent.SessionState", Field, 23}, - {"QUICEvent.Suite", Field, 21}, - {"QUICEventKind", Type, 21}, - {"QUICHandshakeDone", Const, 21}, - {"QUICNoEvent", Const, 21}, - {"QUICRejectedEarlyData", Const, 21}, - {"QUICResumeSession", Const, 23}, - {"QUICServer", Func, 21}, - {"QUICSessionTicketOptions", Type, 21}, - {"QUICSessionTicketOptions.EarlyData", Field, 21}, - {"QUICSessionTicketOptions.Extra", Field, 23}, - {"QUICSetReadSecret", Const, 21}, - {"QUICSetWriteSecret", Const, 21}, - {"QUICStoreSession", Const, 23}, - {"QUICTransportParameters", Const, 21}, - {"QUICTransportParametersRequired", Const, 21}, - {"QUICWriteData", Const, 21}, - {"RecordHeaderError", Type, 6}, - {"RecordHeaderError.Conn", Field, 12}, - {"RecordHeaderError.Msg", Field, 6}, - {"RecordHeaderError.RecordHeader", Field, 6}, - {"RenegotiateFreelyAsClient", Const, 7}, - {"RenegotiateNever", Const, 7}, - {"RenegotiateOnceAsClient", Const, 7}, - {"RenegotiationSupport", Type, 7}, - {"RequestClientCert", Const, 0}, - {"RequireAndVerifyClientCert", Const, 0}, - {"RequireAnyClientCert", Const, 0}, - {"Server", Func, 0}, - {"SessionState", Type, 21}, - {"SessionState.EarlyData", Field, 21}, - {"SessionState.Extra", Field, 21}, - {"SignatureScheme", Type, 8}, - {"TLS_AES_128_GCM_SHA256", Const, 12}, - {"TLS_AES_256_GCM_SHA384", Const, 12}, - {"TLS_CHACHA20_POLY1305_SHA256", Const, 12}, - {"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", Const, 2}, - {"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", Const, 8}, - {"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", Const, 2}, - {"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", Const, 2}, - {"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", Const, 5}, - {"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305", Const, 8}, - {"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", Const, 14}, - {"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", Const, 2}, - {"TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", Const, 0}, - {"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", Const, 0}, - {"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", Const, 8}, - {"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", Const, 2}, - {"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", Const, 1}, - {"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", Const, 5}, - {"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305", Const, 8}, - {"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", Const, 14}, - {"TLS_ECDHE_RSA_WITH_RC4_128_SHA", Const, 0}, - {"TLS_FALLBACK_SCSV", Const, 4}, - {"TLS_RSA_WITH_3DES_EDE_CBC_SHA", Const, 0}, - {"TLS_RSA_WITH_AES_128_CBC_SHA", Const, 0}, - {"TLS_RSA_WITH_AES_128_CBC_SHA256", Const, 8}, - {"TLS_RSA_WITH_AES_128_GCM_SHA256", Const, 6}, - {"TLS_RSA_WITH_AES_256_CBC_SHA", Const, 1}, - {"TLS_RSA_WITH_AES_256_GCM_SHA384", Const, 6}, - {"TLS_RSA_WITH_RC4_128_SHA", Const, 0}, - {"VerifyClientCertIfGiven", Const, 0}, - {"VersionName", Func, 21}, - {"VersionSSL30", Const, 2}, - {"VersionTLS10", Const, 2}, - {"VersionTLS11", Const, 2}, - {"VersionTLS12", Const, 2}, - {"VersionTLS13", Const, 12}, - {"X25519", Const, 8}, - {"X25519MLKEM768", Const, 24}, - {"X509KeyPair", Func, 0}, + {"(*CertificateRequestInfo).Context", Method, 17, ""}, + {"(*CertificateRequestInfo).SupportsCertificate", Method, 14, ""}, + {"(*CertificateVerificationError).Error", Method, 20, ""}, + {"(*CertificateVerificationError).Unwrap", Method, 20, ""}, + {"(*ClientHelloInfo).Context", Method, 17, ""}, + {"(*ClientHelloInfo).SupportsCertificate", Method, 14, ""}, + {"(*ClientSessionState).ResumptionState", Method, 21, ""}, + {"(*Config).BuildNameToCertificate", Method, 0, ""}, + {"(*Config).Clone", Method, 8, ""}, + {"(*Config).DecryptTicket", Method, 21, ""}, + {"(*Config).EncryptTicket", Method, 21, ""}, + {"(*Config).SetSessionTicketKeys", Method, 5, ""}, + {"(*Conn).Close", Method, 0, ""}, + {"(*Conn).CloseWrite", Method, 8, ""}, + {"(*Conn).ConnectionState", Method, 0, ""}, + {"(*Conn).Handshake", Method, 0, ""}, + {"(*Conn).HandshakeContext", Method, 17, ""}, + {"(*Conn).LocalAddr", Method, 0, ""}, + {"(*Conn).NetConn", Method, 18, ""}, + {"(*Conn).OCSPResponse", Method, 0, ""}, + {"(*Conn).Read", Method, 0, ""}, + {"(*Conn).RemoteAddr", Method, 0, ""}, + {"(*Conn).SetDeadline", Method, 0, ""}, + {"(*Conn).SetReadDeadline", Method, 0, ""}, + {"(*Conn).SetWriteDeadline", Method, 0, ""}, + {"(*Conn).VerifyHostname", Method, 0, ""}, + {"(*Conn).Write", Method, 0, ""}, + {"(*ConnectionState).ExportKeyingMaterial", Method, 11, ""}, + {"(*Dialer).Dial", Method, 15, ""}, + {"(*Dialer).DialContext", Method, 15, ""}, + {"(*ECHRejectionError).Error", Method, 23, ""}, + {"(*QUICConn).Close", Method, 21, ""}, + {"(*QUICConn).ConnectionState", Method, 21, ""}, + {"(*QUICConn).HandleData", Method, 21, ""}, + {"(*QUICConn).NextEvent", Method, 21, ""}, + {"(*QUICConn).SendSessionTicket", Method, 21, ""}, + {"(*QUICConn).SetTransportParameters", Method, 21, ""}, + {"(*QUICConn).Start", Method, 21, ""}, + {"(*QUICConn).StoreSession", Method, 23, ""}, + {"(*SessionState).Bytes", Method, 21, ""}, + {"(AlertError).Error", Method, 21, ""}, + {"(ClientAuthType).String", Method, 15, ""}, + {"(CurveID).String", Method, 15, ""}, + {"(QUICEncryptionLevel).String", Method, 21, ""}, + {"(RecordHeaderError).Error", Method, 6, ""}, + {"(SignatureScheme).String", Method, 15, ""}, + {"AlertError", Type, 21, ""}, + {"Certificate", Type, 0, ""}, + {"Certificate.Certificate", Field, 0, ""}, + {"Certificate.Leaf", Field, 0, ""}, + {"Certificate.OCSPStaple", Field, 0, ""}, + {"Certificate.PrivateKey", Field, 0, ""}, + {"Certificate.SignedCertificateTimestamps", Field, 5, ""}, + {"Certificate.SupportedSignatureAlgorithms", Field, 14, ""}, + {"CertificateRequestInfo", Type, 8, ""}, + {"CertificateRequestInfo.AcceptableCAs", Field, 8, ""}, + {"CertificateRequestInfo.SignatureSchemes", Field, 8, ""}, + {"CertificateRequestInfo.Version", Field, 14, ""}, + {"CertificateVerificationError", Type, 20, ""}, + {"CertificateVerificationError.Err", Field, 20, ""}, + {"CertificateVerificationError.UnverifiedCertificates", Field, 20, ""}, + {"CipherSuite", Type, 14, ""}, + {"CipherSuite.ID", Field, 14, ""}, + {"CipherSuite.Insecure", Field, 14, ""}, + {"CipherSuite.Name", Field, 14, ""}, + {"CipherSuite.SupportedVersions", Field, 14, ""}, + {"CipherSuiteName", Func, 14, "func(id uint16) string"}, + {"CipherSuites", Func, 14, "func() []*CipherSuite"}, + {"Client", Func, 0, "func(conn net.Conn, config *Config) *Conn"}, + {"ClientAuthType", Type, 0, ""}, + {"ClientHelloInfo", Type, 4, ""}, + {"ClientHelloInfo.CipherSuites", Field, 4, ""}, + {"ClientHelloInfo.Conn", Field, 8, ""}, + {"ClientHelloInfo.Extensions", Field, 24, ""}, + {"ClientHelloInfo.ServerName", Field, 4, ""}, + {"ClientHelloInfo.SignatureSchemes", Field, 8, ""}, + {"ClientHelloInfo.SupportedCurves", Field, 4, ""}, + {"ClientHelloInfo.SupportedPoints", Field, 4, ""}, + {"ClientHelloInfo.SupportedProtos", Field, 8, ""}, + {"ClientHelloInfo.SupportedVersions", Field, 8, ""}, + {"ClientSessionCache", Type, 3, ""}, + {"ClientSessionState", Type, 3, ""}, + {"Config", Type, 0, ""}, + {"Config.Certificates", Field, 0, ""}, + {"Config.CipherSuites", Field, 0, ""}, + {"Config.ClientAuth", Field, 0, ""}, + {"Config.ClientCAs", Field, 0, ""}, + {"Config.ClientSessionCache", Field, 3, ""}, + {"Config.CurvePreferences", Field, 3, ""}, + {"Config.DynamicRecordSizingDisabled", Field, 7, ""}, + {"Config.EncryptedClientHelloConfigList", Field, 23, ""}, + {"Config.EncryptedClientHelloKeys", Field, 24, ""}, + {"Config.EncryptedClientHelloRejectionVerify", Field, 23, ""}, + {"Config.GetCertificate", Field, 4, ""}, + {"Config.GetClientCertificate", Field, 8, ""}, + {"Config.GetConfigForClient", Field, 8, ""}, + {"Config.GetEncryptedClientHelloKeys", Field, 25, ""}, + {"Config.InsecureSkipVerify", Field, 0, ""}, + {"Config.KeyLogWriter", Field, 8, ""}, + {"Config.MaxVersion", Field, 2, ""}, + {"Config.MinVersion", Field, 2, ""}, + {"Config.NameToCertificate", Field, 0, ""}, + {"Config.NextProtos", Field, 0, ""}, + {"Config.PreferServerCipherSuites", Field, 1, ""}, + {"Config.Rand", Field, 0, ""}, + {"Config.Renegotiation", Field, 7, ""}, + {"Config.RootCAs", Field, 0, ""}, + {"Config.ServerName", Field, 0, ""}, + {"Config.SessionTicketKey", Field, 1, ""}, + {"Config.SessionTicketsDisabled", Field, 1, ""}, + {"Config.Time", Field, 0, ""}, + {"Config.UnwrapSession", Field, 21, ""}, + {"Config.VerifyConnection", Field, 15, ""}, + {"Config.VerifyPeerCertificate", Field, 8, ""}, + {"Config.WrapSession", Field, 21, ""}, + {"Conn", Type, 0, ""}, + {"ConnectionState", Type, 0, ""}, + {"ConnectionState.CipherSuite", Field, 0, ""}, + {"ConnectionState.CurveID", Field, 25, ""}, + {"ConnectionState.DidResume", Field, 1, ""}, + {"ConnectionState.ECHAccepted", Field, 23, ""}, + {"ConnectionState.HandshakeComplete", Field, 0, ""}, + {"ConnectionState.NegotiatedProtocol", Field, 0, ""}, + {"ConnectionState.NegotiatedProtocolIsMutual", Field, 0, ""}, + {"ConnectionState.OCSPResponse", Field, 5, ""}, + {"ConnectionState.PeerCertificates", Field, 0, ""}, + {"ConnectionState.ServerName", Field, 0, ""}, + {"ConnectionState.SignedCertificateTimestamps", Field, 5, ""}, + {"ConnectionState.TLSUnique", Field, 4, ""}, + {"ConnectionState.VerifiedChains", Field, 0, ""}, + {"ConnectionState.Version", Field, 3, ""}, + {"CurveID", Type, 3, ""}, + {"CurveP256", Const, 3, ""}, + {"CurveP384", Const, 3, ""}, + {"CurveP521", Const, 3, ""}, + {"Dial", Func, 0, "func(network string, addr string, config *Config) (*Conn, error)"}, + {"DialWithDialer", Func, 3, "func(dialer *net.Dialer, network string, addr string, config *Config) (*Conn, error)"}, + {"Dialer", Type, 15, ""}, + {"Dialer.Config", Field, 15, ""}, + {"Dialer.NetDialer", Field, 15, ""}, + {"ECDSAWithP256AndSHA256", Const, 8, ""}, + {"ECDSAWithP384AndSHA384", Const, 8, ""}, + {"ECDSAWithP521AndSHA512", Const, 8, ""}, + {"ECDSAWithSHA1", Const, 10, ""}, + {"ECHRejectionError", Type, 23, ""}, + {"ECHRejectionError.RetryConfigList", Field, 23, ""}, + {"Ed25519", Const, 13, ""}, + {"EncryptedClientHelloKey", Type, 24, ""}, + {"EncryptedClientHelloKey.Config", Field, 24, ""}, + {"EncryptedClientHelloKey.PrivateKey", Field, 24, ""}, + {"EncryptedClientHelloKey.SendAsRetry", Field, 24, ""}, + {"InsecureCipherSuites", Func, 14, "func() []*CipherSuite"}, + {"Listen", Func, 0, "func(network string, laddr string, config *Config) (net.Listener, error)"}, + {"LoadX509KeyPair", Func, 0, "func(certFile string, keyFile string) (Certificate, error)"}, + {"NewLRUClientSessionCache", Func, 3, "func(capacity int) ClientSessionCache"}, + {"NewListener", Func, 0, "func(inner net.Listener, config *Config) net.Listener"}, + {"NewResumptionState", Func, 21, "func(ticket []byte, state *SessionState) (*ClientSessionState, error)"}, + {"NoClientCert", Const, 0, ""}, + {"PKCS1WithSHA1", Const, 8, ""}, + {"PKCS1WithSHA256", Const, 8, ""}, + {"PKCS1WithSHA384", Const, 8, ""}, + {"PKCS1WithSHA512", Const, 8, ""}, + {"PSSWithSHA256", Const, 8, ""}, + {"PSSWithSHA384", Const, 8, ""}, + {"PSSWithSHA512", Const, 8, ""}, + {"ParseSessionState", Func, 21, "func(data []byte) (*SessionState, error)"}, + {"QUICClient", Func, 21, "func(config *QUICConfig) *QUICConn"}, + {"QUICConfig", Type, 21, ""}, + {"QUICConfig.EnableSessionEvents", Field, 23, ""}, + {"QUICConfig.TLSConfig", Field, 21, ""}, + {"QUICConn", Type, 21, ""}, + {"QUICEncryptionLevel", Type, 21, ""}, + {"QUICEncryptionLevelApplication", Const, 21, ""}, + {"QUICEncryptionLevelEarly", Const, 21, ""}, + {"QUICEncryptionLevelHandshake", Const, 21, ""}, + {"QUICEncryptionLevelInitial", Const, 21, ""}, + {"QUICEvent", Type, 21, ""}, + {"QUICEvent.Data", Field, 21, ""}, + {"QUICEvent.Kind", Field, 21, ""}, + {"QUICEvent.Level", Field, 21, ""}, + {"QUICEvent.SessionState", Field, 23, ""}, + {"QUICEvent.Suite", Field, 21, ""}, + {"QUICEventKind", Type, 21, ""}, + {"QUICHandshakeDone", Const, 21, ""}, + {"QUICNoEvent", Const, 21, ""}, + {"QUICRejectedEarlyData", Const, 21, ""}, + {"QUICResumeSession", Const, 23, ""}, + {"QUICServer", Func, 21, "func(config *QUICConfig) *QUICConn"}, + {"QUICSessionTicketOptions", Type, 21, ""}, + {"QUICSessionTicketOptions.EarlyData", Field, 21, ""}, + {"QUICSessionTicketOptions.Extra", Field, 23, ""}, + {"QUICSetReadSecret", Const, 21, ""}, + {"QUICSetWriteSecret", Const, 21, ""}, + {"QUICStoreSession", Const, 23, ""}, + {"QUICTransportParameters", Const, 21, ""}, + {"QUICTransportParametersRequired", Const, 21, ""}, + {"QUICWriteData", Const, 21, ""}, + {"RecordHeaderError", Type, 6, ""}, + {"RecordHeaderError.Conn", Field, 12, ""}, + {"RecordHeaderError.Msg", Field, 6, ""}, + {"RecordHeaderError.RecordHeader", Field, 6, ""}, + {"RenegotiateFreelyAsClient", Const, 7, ""}, + {"RenegotiateNever", Const, 7, ""}, + {"RenegotiateOnceAsClient", Const, 7, ""}, + {"RenegotiationSupport", Type, 7, ""}, + {"RequestClientCert", Const, 0, ""}, + {"RequireAndVerifyClientCert", Const, 0, ""}, + {"RequireAnyClientCert", Const, 0, ""}, + {"Server", Func, 0, "func(conn net.Conn, config *Config) *Conn"}, + {"SessionState", Type, 21, ""}, + {"SessionState.EarlyData", Field, 21, ""}, + {"SessionState.Extra", Field, 21, ""}, + {"SignatureScheme", Type, 8, ""}, + {"TLS_AES_128_GCM_SHA256", Const, 12, ""}, + {"TLS_AES_256_GCM_SHA384", Const, 12, ""}, + {"TLS_CHACHA20_POLY1305_SHA256", Const, 12, ""}, + {"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", Const, 2, ""}, + {"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", Const, 8, ""}, + {"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", Const, 2, ""}, + {"TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", Const, 2, ""}, + {"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", Const, 5, ""}, + {"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305", Const, 8, ""}, + {"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256", Const, 14, ""}, + {"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", Const, 2, ""}, + {"TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA", Const, 0, ""}, + {"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", Const, 0, ""}, + {"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", Const, 8, ""}, + {"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", Const, 2, ""}, + {"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", Const, 1, ""}, + {"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", Const, 5, ""}, + {"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305", Const, 8, ""}, + {"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256", Const, 14, ""}, + {"TLS_ECDHE_RSA_WITH_RC4_128_SHA", Const, 0, ""}, + {"TLS_FALLBACK_SCSV", Const, 4, ""}, + {"TLS_RSA_WITH_3DES_EDE_CBC_SHA", Const, 0, ""}, + {"TLS_RSA_WITH_AES_128_CBC_SHA", Const, 0, ""}, + {"TLS_RSA_WITH_AES_128_CBC_SHA256", Const, 8, ""}, + {"TLS_RSA_WITH_AES_128_GCM_SHA256", Const, 6, ""}, + {"TLS_RSA_WITH_AES_256_CBC_SHA", Const, 1, ""}, + {"TLS_RSA_WITH_AES_256_GCM_SHA384", Const, 6, ""}, + {"TLS_RSA_WITH_RC4_128_SHA", Const, 0, ""}, + {"VerifyClientCertIfGiven", Const, 0, ""}, + {"VersionName", Func, 21, "func(version uint16) string"}, + {"VersionSSL30", Const, 2, ""}, + {"VersionTLS10", Const, 2, ""}, + {"VersionTLS11", Const, 2, ""}, + {"VersionTLS12", Const, 2, ""}, + {"VersionTLS13", Const, 12, ""}, + {"X25519", Const, 8, ""}, + {"X25519MLKEM768", Const, 24, ""}, + {"X509KeyPair", Func, 0, "func(certPEMBlock []byte, keyPEMBlock []byte) (Certificate, error)"}, }, "crypto/x509": { - {"(*CertPool).AddCert", Method, 0}, - {"(*CertPool).AddCertWithConstraint", Method, 22}, - {"(*CertPool).AppendCertsFromPEM", Method, 0}, - {"(*CertPool).Clone", Method, 19}, - {"(*CertPool).Equal", Method, 19}, - {"(*CertPool).Subjects", Method, 0}, - {"(*Certificate).CheckCRLSignature", Method, 0}, - {"(*Certificate).CheckSignature", Method, 0}, - {"(*Certificate).CheckSignatureFrom", Method, 0}, - {"(*Certificate).CreateCRL", Method, 0}, - {"(*Certificate).Equal", Method, 0}, - {"(*Certificate).Verify", Method, 0}, - {"(*Certificate).VerifyHostname", Method, 0}, - {"(*CertificateRequest).CheckSignature", Method, 5}, - {"(*OID).UnmarshalBinary", Method, 23}, - {"(*OID).UnmarshalText", Method, 23}, - {"(*RevocationList).CheckSignatureFrom", Method, 19}, - {"(CertificateInvalidError).Error", Method, 0}, - {"(ConstraintViolationError).Error", Method, 0}, - {"(HostnameError).Error", Method, 0}, - {"(InsecureAlgorithmError).Error", Method, 6}, - {"(OID).AppendBinary", Method, 24}, - {"(OID).AppendText", Method, 24}, - {"(OID).Equal", Method, 22}, - {"(OID).EqualASN1OID", Method, 22}, - {"(OID).MarshalBinary", Method, 23}, - {"(OID).MarshalText", Method, 23}, - {"(OID).String", Method, 22}, - {"(PublicKeyAlgorithm).String", Method, 10}, - {"(SignatureAlgorithm).String", Method, 6}, - {"(SystemRootsError).Error", Method, 1}, - {"(SystemRootsError).Unwrap", Method, 16}, - {"(UnhandledCriticalExtension).Error", Method, 0}, - {"(UnknownAuthorityError).Error", Method, 0}, - {"CANotAuthorizedForExtKeyUsage", Const, 10}, - {"CANotAuthorizedForThisName", Const, 0}, - {"CertPool", Type, 0}, - {"Certificate", Type, 0}, - {"Certificate.AuthorityKeyId", Field, 0}, - {"Certificate.BasicConstraintsValid", Field, 0}, - {"Certificate.CRLDistributionPoints", Field, 2}, - {"Certificate.DNSNames", Field, 0}, - {"Certificate.EmailAddresses", Field, 0}, - {"Certificate.ExcludedDNSDomains", Field, 9}, - {"Certificate.ExcludedEmailAddresses", Field, 10}, - {"Certificate.ExcludedIPRanges", Field, 10}, - {"Certificate.ExcludedURIDomains", Field, 10}, - {"Certificate.ExtKeyUsage", Field, 0}, - {"Certificate.Extensions", Field, 2}, - {"Certificate.ExtraExtensions", Field, 2}, - {"Certificate.IPAddresses", Field, 1}, - {"Certificate.InhibitAnyPolicy", Field, 24}, - {"Certificate.InhibitAnyPolicyZero", Field, 24}, - {"Certificate.InhibitPolicyMapping", Field, 24}, - {"Certificate.InhibitPolicyMappingZero", Field, 24}, - {"Certificate.IsCA", Field, 0}, - {"Certificate.Issuer", Field, 0}, - {"Certificate.IssuingCertificateURL", Field, 2}, - {"Certificate.KeyUsage", Field, 0}, - {"Certificate.MaxPathLen", Field, 0}, - {"Certificate.MaxPathLenZero", Field, 4}, - {"Certificate.NotAfter", Field, 0}, - {"Certificate.NotBefore", Field, 0}, - {"Certificate.OCSPServer", Field, 2}, - {"Certificate.PermittedDNSDomains", Field, 0}, - {"Certificate.PermittedDNSDomainsCritical", Field, 0}, - {"Certificate.PermittedEmailAddresses", Field, 10}, - {"Certificate.PermittedIPRanges", Field, 10}, - {"Certificate.PermittedURIDomains", Field, 10}, - {"Certificate.Policies", Field, 22}, - {"Certificate.PolicyIdentifiers", Field, 0}, - {"Certificate.PolicyMappings", Field, 24}, - {"Certificate.PublicKey", Field, 0}, - {"Certificate.PublicKeyAlgorithm", Field, 0}, - {"Certificate.Raw", Field, 0}, - {"Certificate.RawIssuer", Field, 0}, - {"Certificate.RawSubject", Field, 0}, - {"Certificate.RawSubjectPublicKeyInfo", Field, 0}, - {"Certificate.RawTBSCertificate", Field, 0}, - {"Certificate.RequireExplicitPolicy", Field, 24}, - {"Certificate.RequireExplicitPolicyZero", Field, 24}, - {"Certificate.SerialNumber", Field, 0}, - {"Certificate.Signature", Field, 0}, - {"Certificate.SignatureAlgorithm", Field, 0}, - {"Certificate.Subject", Field, 0}, - {"Certificate.SubjectKeyId", Field, 0}, - {"Certificate.URIs", Field, 10}, - {"Certificate.UnhandledCriticalExtensions", Field, 5}, - {"Certificate.UnknownExtKeyUsage", Field, 0}, - {"Certificate.Version", Field, 0}, - {"CertificateInvalidError", Type, 0}, - {"CertificateInvalidError.Cert", Field, 0}, - {"CertificateInvalidError.Detail", Field, 10}, - {"CertificateInvalidError.Reason", Field, 0}, - {"CertificateRequest", Type, 3}, - {"CertificateRequest.Attributes", Field, 3}, - {"CertificateRequest.DNSNames", Field, 3}, - {"CertificateRequest.EmailAddresses", Field, 3}, - {"CertificateRequest.Extensions", Field, 3}, - {"CertificateRequest.ExtraExtensions", Field, 3}, - {"CertificateRequest.IPAddresses", Field, 3}, - {"CertificateRequest.PublicKey", Field, 3}, - {"CertificateRequest.PublicKeyAlgorithm", Field, 3}, - {"CertificateRequest.Raw", Field, 3}, - {"CertificateRequest.RawSubject", Field, 3}, - {"CertificateRequest.RawSubjectPublicKeyInfo", Field, 3}, - {"CertificateRequest.RawTBSCertificateRequest", Field, 3}, - {"CertificateRequest.Signature", Field, 3}, - {"CertificateRequest.SignatureAlgorithm", Field, 3}, - {"CertificateRequest.Subject", Field, 3}, - {"CertificateRequest.URIs", Field, 10}, - {"CertificateRequest.Version", Field, 3}, - {"ConstraintViolationError", Type, 0}, - {"CreateCertificate", Func, 0}, - {"CreateCertificateRequest", Func, 3}, - {"CreateRevocationList", Func, 15}, - {"DSA", Const, 0}, - {"DSAWithSHA1", Const, 0}, - {"DSAWithSHA256", Const, 0}, - {"DecryptPEMBlock", Func, 1}, - {"ECDSA", Const, 1}, - {"ECDSAWithSHA1", Const, 1}, - {"ECDSAWithSHA256", Const, 1}, - {"ECDSAWithSHA384", Const, 1}, - {"ECDSAWithSHA512", Const, 1}, - {"Ed25519", Const, 13}, - {"EncryptPEMBlock", Func, 1}, - {"ErrUnsupportedAlgorithm", Var, 0}, - {"Expired", Const, 0}, - {"ExtKeyUsage", Type, 0}, - {"ExtKeyUsageAny", Const, 0}, - {"ExtKeyUsageClientAuth", Const, 0}, - {"ExtKeyUsageCodeSigning", Const, 0}, - {"ExtKeyUsageEmailProtection", Const, 0}, - {"ExtKeyUsageIPSECEndSystem", Const, 1}, - {"ExtKeyUsageIPSECTunnel", Const, 1}, - {"ExtKeyUsageIPSECUser", Const, 1}, - {"ExtKeyUsageMicrosoftCommercialCodeSigning", Const, 10}, - {"ExtKeyUsageMicrosoftKernelCodeSigning", Const, 10}, - {"ExtKeyUsageMicrosoftServerGatedCrypto", Const, 1}, - {"ExtKeyUsageNetscapeServerGatedCrypto", Const, 1}, - {"ExtKeyUsageOCSPSigning", Const, 0}, - {"ExtKeyUsageServerAuth", Const, 0}, - {"ExtKeyUsageTimeStamping", Const, 0}, - {"HostnameError", Type, 0}, - {"HostnameError.Certificate", Field, 0}, - {"HostnameError.Host", Field, 0}, - {"IncompatibleUsage", Const, 1}, - {"IncorrectPasswordError", Var, 1}, - {"InsecureAlgorithmError", Type, 6}, - {"InvalidReason", Type, 0}, - {"IsEncryptedPEMBlock", Func, 1}, - {"KeyUsage", Type, 0}, - {"KeyUsageCRLSign", Const, 0}, - {"KeyUsageCertSign", Const, 0}, - {"KeyUsageContentCommitment", Const, 0}, - {"KeyUsageDataEncipherment", Const, 0}, - {"KeyUsageDecipherOnly", Const, 0}, - {"KeyUsageDigitalSignature", Const, 0}, - {"KeyUsageEncipherOnly", Const, 0}, - {"KeyUsageKeyAgreement", Const, 0}, - {"KeyUsageKeyEncipherment", Const, 0}, - {"MD2WithRSA", Const, 0}, - {"MD5WithRSA", Const, 0}, - {"MarshalECPrivateKey", Func, 2}, - {"MarshalPKCS1PrivateKey", Func, 0}, - {"MarshalPKCS1PublicKey", Func, 10}, - {"MarshalPKCS8PrivateKey", Func, 10}, - {"MarshalPKIXPublicKey", Func, 0}, - {"NameConstraintsWithoutSANs", Const, 10}, - {"NameMismatch", Const, 8}, - {"NewCertPool", Func, 0}, - {"NoValidChains", Const, 24}, - {"NotAuthorizedToSign", Const, 0}, - {"OID", Type, 22}, - {"OIDFromInts", Func, 22}, - {"PEMCipher", Type, 1}, - {"PEMCipher3DES", Const, 1}, - {"PEMCipherAES128", Const, 1}, - {"PEMCipherAES192", Const, 1}, - {"PEMCipherAES256", Const, 1}, - {"PEMCipherDES", Const, 1}, - {"ParseCRL", Func, 0}, - {"ParseCertificate", Func, 0}, - {"ParseCertificateRequest", Func, 3}, - {"ParseCertificates", Func, 0}, - {"ParseDERCRL", Func, 0}, - {"ParseECPrivateKey", Func, 1}, - {"ParseOID", Func, 23}, - {"ParsePKCS1PrivateKey", Func, 0}, - {"ParsePKCS1PublicKey", Func, 10}, - {"ParsePKCS8PrivateKey", Func, 0}, - {"ParsePKIXPublicKey", Func, 0}, - {"ParseRevocationList", Func, 19}, - {"PolicyMapping", Type, 24}, - {"PolicyMapping.IssuerDomainPolicy", Field, 24}, - {"PolicyMapping.SubjectDomainPolicy", Field, 24}, - {"PublicKeyAlgorithm", Type, 0}, - {"PureEd25519", Const, 13}, - {"RSA", Const, 0}, - {"RevocationList", Type, 15}, - {"RevocationList.AuthorityKeyId", Field, 19}, - {"RevocationList.Extensions", Field, 19}, - {"RevocationList.ExtraExtensions", Field, 15}, - {"RevocationList.Issuer", Field, 19}, - {"RevocationList.NextUpdate", Field, 15}, - {"RevocationList.Number", Field, 15}, - {"RevocationList.Raw", Field, 19}, - {"RevocationList.RawIssuer", Field, 19}, - {"RevocationList.RawTBSRevocationList", Field, 19}, - {"RevocationList.RevokedCertificateEntries", Field, 21}, - {"RevocationList.RevokedCertificates", Field, 15}, - {"RevocationList.Signature", Field, 19}, - {"RevocationList.SignatureAlgorithm", Field, 15}, - {"RevocationList.ThisUpdate", Field, 15}, - {"RevocationListEntry", Type, 21}, - {"RevocationListEntry.Extensions", Field, 21}, - {"RevocationListEntry.ExtraExtensions", Field, 21}, - {"RevocationListEntry.Raw", Field, 21}, - {"RevocationListEntry.ReasonCode", Field, 21}, - {"RevocationListEntry.RevocationTime", Field, 21}, - {"RevocationListEntry.SerialNumber", Field, 21}, - {"SHA1WithRSA", Const, 0}, - {"SHA256WithRSA", Const, 0}, - {"SHA256WithRSAPSS", Const, 8}, - {"SHA384WithRSA", Const, 0}, - {"SHA384WithRSAPSS", Const, 8}, - {"SHA512WithRSA", Const, 0}, - {"SHA512WithRSAPSS", Const, 8}, - {"SetFallbackRoots", Func, 20}, - {"SignatureAlgorithm", Type, 0}, - {"SystemCertPool", Func, 7}, - {"SystemRootsError", Type, 1}, - {"SystemRootsError.Err", Field, 7}, - {"TooManyConstraints", Const, 10}, - {"TooManyIntermediates", Const, 0}, - {"UnconstrainedName", Const, 10}, - {"UnhandledCriticalExtension", Type, 0}, - {"UnknownAuthorityError", Type, 0}, - {"UnknownAuthorityError.Cert", Field, 8}, - {"UnknownPublicKeyAlgorithm", Const, 0}, - {"UnknownSignatureAlgorithm", Const, 0}, - {"VerifyOptions", Type, 0}, - {"VerifyOptions.CertificatePolicies", Field, 24}, - {"VerifyOptions.CurrentTime", Field, 0}, - {"VerifyOptions.DNSName", Field, 0}, - {"VerifyOptions.Intermediates", Field, 0}, - {"VerifyOptions.KeyUsages", Field, 1}, - {"VerifyOptions.MaxConstraintComparisions", Field, 10}, - {"VerifyOptions.Roots", Field, 0}, + {"(*CertPool).AddCert", Method, 0, ""}, + {"(*CertPool).AddCertWithConstraint", Method, 22, ""}, + {"(*CertPool).AppendCertsFromPEM", Method, 0, ""}, + {"(*CertPool).Clone", Method, 19, ""}, + {"(*CertPool).Equal", Method, 19, ""}, + {"(*CertPool).Subjects", Method, 0, ""}, + {"(*Certificate).CheckCRLSignature", Method, 0, ""}, + {"(*Certificate).CheckSignature", Method, 0, ""}, + {"(*Certificate).CheckSignatureFrom", Method, 0, ""}, + {"(*Certificate).CreateCRL", Method, 0, ""}, + {"(*Certificate).Equal", Method, 0, ""}, + {"(*Certificate).Verify", Method, 0, ""}, + {"(*Certificate).VerifyHostname", Method, 0, ""}, + {"(*CertificateRequest).CheckSignature", Method, 5, ""}, + {"(*OID).UnmarshalBinary", Method, 23, ""}, + {"(*OID).UnmarshalText", Method, 23, ""}, + {"(*RevocationList).CheckSignatureFrom", Method, 19, ""}, + {"(CertificateInvalidError).Error", Method, 0, ""}, + {"(ConstraintViolationError).Error", Method, 0, ""}, + {"(HostnameError).Error", Method, 0, ""}, + {"(InsecureAlgorithmError).Error", Method, 6, ""}, + {"(OID).AppendBinary", Method, 24, ""}, + {"(OID).AppendText", Method, 24, ""}, + {"(OID).Equal", Method, 22, ""}, + {"(OID).EqualASN1OID", Method, 22, ""}, + {"(OID).MarshalBinary", Method, 23, ""}, + {"(OID).MarshalText", Method, 23, ""}, + {"(OID).String", Method, 22, ""}, + {"(PublicKeyAlgorithm).String", Method, 10, ""}, + {"(SignatureAlgorithm).String", Method, 6, ""}, + {"(SystemRootsError).Error", Method, 1, ""}, + {"(SystemRootsError).Unwrap", Method, 16, ""}, + {"(UnhandledCriticalExtension).Error", Method, 0, ""}, + {"(UnknownAuthorityError).Error", Method, 0, ""}, + {"CANotAuthorizedForExtKeyUsage", Const, 10, ""}, + {"CANotAuthorizedForThisName", Const, 0, ""}, + {"CertPool", Type, 0, ""}, + {"Certificate", Type, 0, ""}, + {"Certificate.AuthorityKeyId", Field, 0, ""}, + {"Certificate.BasicConstraintsValid", Field, 0, ""}, + {"Certificate.CRLDistributionPoints", Field, 2, ""}, + {"Certificate.DNSNames", Field, 0, ""}, + {"Certificate.EmailAddresses", Field, 0, ""}, + {"Certificate.ExcludedDNSDomains", Field, 9, ""}, + {"Certificate.ExcludedEmailAddresses", Field, 10, ""}, + {"Certificate.ExcludedIPRanges", Field, 10, ""}, + {"Certificate.ExcludedURIDomains", Field, 10, ""}, + {"Certificate.ExtKeyUsage", Field, 0, ""}, + {"Certificate.Extensions", Field, 2, ""}, + {"Certificate.ExtraExtensions", Field, 2, ""}, + {"Certificate.IPAddresses", Field, 1, ""}, + {"Certificate.InhibitAnyPolicy", Field, 24, ""}, + {"Certificate.InhibitAnyPolicyZero", Field, 24, ""}, + {"Certificate.InhibitPolicyMapping", Field, 24, ""}, + {"Certificate.InhibitPolicyMappingZero", Field, 24, ""}, + {"Certificate.IsCA", Field, 0, ""}, + {"Certificate.Issuer", Field, 0, ""}, + {"Certificate.IssuingCertificateURL", Field, 2, ""}, + {"Certificate.KeyUsage", Field, 0, ""}, + {"Certificate.MaxPathLen", Field, 0, ""}, + {"Certificate.MaxPathLenZero", Field, 4, ""}, + {"Certificate.NotAfter", Field, 0, ""}, + {"Certificate.NotBefore", Field, 0, ""}, + {"Certificate.OCSPServer", Field, 2, ""}, + {"Certificate.PermittedDNSDomains", Field, 0, ""}, + {"Certificate.PermittedDNSDomainsCritical", Field, 0, ""}, + {"Certificate.PermittedEmailAddresses", Field, 10, ""}, + {"Certificate.PermittedIPRanges", Field, 10, ""}, + {"Certificate.PermittedURIDomains", Field, 10, ""}, + {"Certificate.Policies", Field, 22, ""}, + {"Certificate.PolicyIdentifiers", Field, 0, ""}, + {"Certificate.PolicyMappings", Field, 24, ""}, + {"Certificate.PublicKey", Field, 0, ""}, + {"Certificate.PublicKeyAlgorithm", Field, 0, ""}, + {"Certificate.Raw", Field, 0, ""}, + {"Certificate.RawIssuer", Field, 0, ""}, + {"Certificate.RawSubject", Field, 0, ""}, + {"Certificate.RawSubjectPublicKeyInfo", Field, 0, ""}, + {"Certificate.RawTBSCertificate", Field, 0, ""}, + {"Certificate.RequireExplicitPolicy", Field, 24, ""}, + {"Certificate.RequireExplicitPolicyZero", Field, 24, ""}, + {"Certificate.SerialNumber", Field, 0, ""}, + {"Certificate.Signature", Field, 0, ""}, + {"Certificate.SignatureAlgorithm", Field, 0, ""}, + {"Certificate.Subject", Field, 0, ""}, + {"Certificate.SubjectKeyId", Field, 0, ""}, + {"Certificate.URIs", Field, 10, ""}, + {"Certificate.UnhandledCriticalExtensions", Field, 5, ""}, + {"Certificate.UnknownExtKeyUsage", Field, 0, ""}, + {"Certificate.Version", Field, 0, ""}, + {"CertificateInvalidError", Type, 0, ""}, + {"CertificateInvalidError.Cert", Field, 0, ""}, + {"CertificateInvalidError.Detail", Field, 10, ""}, + {"CertificateInvalidError.Reason", Field, 0, ""}, + {"CertificateRequest", Type, 3, ""}, + {"CertificateRequest.Attributes", Field, 3, ""}, + {"CertificateRequest.DNSNames", Field, 3, ""}, + {"CertificateRequest.EmailAddresses", Field, 3, ""}, + {"CertificateRequest.Extensions", Field, 3, ""}, + {"CertificateRequest.ExtraExtensions", Field, 3, ""}, + {"CertificateRequest.IPAddresses", Field, 3, ""}, + {"CertificateRequest.PublicKey", Field, 3, ""}, + {"CertificateRequest.PublicKeyAlgorithm", Field, 3, ""}, + {"CertificateRequest.Raw", Field, 3, ""}, + {"CertificateRequest.RawSubject", Field, 3, ""}, + {"CertificateRequest.RawSubjectPublicKeyInfo", Field, 3, ""}, + {"CertificateRequest.RawTBSCertificateRequest", Field, 3, ""}, + {"CertificateRequest.Signature", Field, 3, ""}, + {"CertificateRequest.SignatureAlgorithm", Field, 3, ""}, + {"CertificateRequest.Subject", Field, 3, ""}, + {"CertificateRequest.URIs", Field, 10, ""}, + {"CertificateRequest.Version", Field, 3, ""}, + {"ConstraintViolationError", Type, 0, ""}, + {"CreateCertificate", Func, 0, "func(rand io.Reader, template *Certificate, parent *Certificate, pub any, priv any) ([]byte, error)"}, + {"CreateCertificateRequest", Func, 3, "func(rand io.Reader, template *CertificateRequest, priv any) (csr []byte, err error)"}, + {"CreateRevocationList", Func, 15, "func(rand io.Reader, template *RevocationList, issuer *Certificate, priv crypto.Signer) ([]byte, error)"}, + {"DSA", Const, 0, ""}, + {"DSAWithSHA1", Const, 0, ""}, + {"DSAWithSHA256", Const, 0, ""}, + {"DecryptPEMBlock", Func, 1, "func(b *pem.Block, password []byte) ([]byte, error)"}, + {"ECDSA", Const, 1, ""}, + {"ECDSAWithSHA1", Const, 1, ""}, + {"ECDSAWithSHA256", Const, 1, ""}, + {"ECDSAWithSHA384", Const, 1, ""}, + {"ECDSAWithSHA512", Const, 1, ""}, + {"Ed25519", Const, 13, ""}, + {"EncryptPEMBlock", Func, 1, "func(rand io.Reader, blockType string, data []byte, password []byte, alg PEMCipher) (*pem.Block, error)"}, + {"ErrUnsupportedAlgorithm", Var, 0, ""}, + {"Expired", Const, 0, ""}, + {"ExtKeyUsage", Type, 0, ""}, + {"ExtKeyUsageAny", Const, 0, ""}, + {"ExtKeyUsageClientAuth", Const, 0, ""}, + {"ExtKeyUsageCodeSigning", Const, 0, ""}, + {"ExtKeyUsageEmailProtection", Const, 0, ""}, + {"ExtKeyUsageIPSECEndSystem", Const, 1, ""}, + {"ExtKeyUsageIPSECTunnel", Const, 1, ""}, + {"ExtKeyUsageIPSECUser", Const, 1, ""}, + {"ExtKeyUsageMicrosoftCommercialCodeSigning", Const, 10, ""}, + {"ExtKeyUsageMicrosoftKernelCodeSigning", Const, 10, ""}, + {"ExtKeyUsageMicrosoftServerGatedCrypto", Const, 1, ""}, + {"ExtKeyUsageNetscapeServerGatedCrypto", Const, 1, ""}, + {"ExtKeyUsageOCSPSigning", Const, 0, ""}, + {"ExtKeyUsageServerAuth", Const, 0, ""}, + {"ExtKeyUsageTimeStamping", Const, 0, ""}, + {"HostnameError", Type, 0, ""}, + {"HostnameError.Certificate", Field, 0, ""}, + {"HostnameError.Host", Field, 0, ""}, + {"IncompatibleUsage", Const, 1, ""}, + {"IncorrectPasswordError", Var, 1, ""}, + {"InsecureAlgorithmError", Type, 6, ""}, + {"InvalidReason", Type, 0, ""}, + {"IsEncryptedPEMBlock", Func, 1, "func(b *pem.Block) bool"}, + {"KeyUsage", Type, 0, ""}, + {"KeyUsageCRLSign", Const, 0, ""}, + {"KeyUsageCertSign", Const, 0, ""}, + {"KeyUsageContentCommitment", Const, 0, ""}, + {"KeyUsageDataEncipherment", Const, 0, ""}, + {"KeyUsageDecipherOnly", Const, 0, ""}, + {"KeyUsageDigitalSignature", Const, 0, ""}, + {"KeyUsageEncipherOnly", Const, 0, ""}, + {"KeyUsageKeyAgreement", Const, 0, ""}, + {"KeyUsageKeyEncipherment", Const, 0, ""}, + {"MD2WithRSA", Const, 0, ""}, + {"MD5WithRSA", Const, 0, ""}, + {"MarshalECPrivateKey", Func, 2, "func(key *ecdsa.PrivateKey) ([]byte, error)"}, + {"MarshalPKCS1PrivateKey", Func, 0, "func(key *rsa.PrivateKey) []byte"}, + {"MarshalPKCS1PublicKey", Func, 10, "func(key *rsa.PublicKey) []byte"}, + {"MarshalPKCS8PrivateKey", Func, 10, "func(key any) ([]byte, error)"}, + {"MarshalPKIXPublicKey", Func, 0, "func(pub any) ([]byte, error)"}, + {"NameConstraintsWithoutSANs", Const, 10, ""}, + {"NameMismatch", Const, 8, ""}, + {"NewCertPool", Func, 0, "func() *CertPool"}, + {"NoValidChains", Const, 24, ""}, + {"NotAuthorizedToSign", Const, 0, ""}, + {"OID", Type, 22, ""}, + {"OIDFromInts", Func, 22, "func(oid []uint64) (OID, error)"}, + {"PEMCipher", Type, 1, ""}, + {"PEMCipher3DES", Const, 1, ""}, + {"PEMCipherAES128", Const, 1, ""}, + {"PEMCipherAES192", Const, 1, ""}, + {"PEMCipherAES256", Const, 1, ""}, + {"PEMCipherDES", Const, 1, ""}, + {"ParseCRL", Func, 0, "func(crlBytes []byte) (*pkix.CertificateList, error)"}, + {"ParseCertificate", Func, 0, "func(der []byte) (*Certificate, error)"}, + {"ParseCertificateRequest", Func, 3, "func(asn1Data []byte) (*CertificateRequest, error)"}, + {"ParseCertificates", Func, 0, "func(der []byte) ([]*Certificate, error)"}, + {"ParseDERCRL", Func, 0, "func(derBytes []byte) (*pkix.CertificateList, error)"}, + {"ParseECPrivateKey", Func, 1, "func(der []byte) (*ecdsa.PrivateKey, error)"}, + {"ParseOID", Func, 23, "func(oid string) (OID, error)"}, + {"ParsePKCS1PrivateKey", Func, 0, "func(der []byte) (*rsa.PrivateKey, error)"}, + {"ParsePKCS1PublicKey", Func, 10, "func(der []byte) (*rsa.PublicKey, error)"}, + {"ParsePKCS8PrivateKey", Func, 0, "func(der []byte) (key any, err error)"}, + {"ParsePKIXPublicKey", Func, 0, "func(derBytes []byte) (pub any, err error)"}, + {"ParseRevocationList", Func, 19, "func(der []byte) (*RevocationList, error)"}, + {"PolicyMapping", Type, 24, ""}, + {"PolicyMapping.IssuerDomainPolicy", Field, 24, ""}, + {"PolicyMapping.SubjectDomainPolicy", Field, 24, ""}, + {"PublicKeyAlgorithm", Type, 0, ""}, + {"PureEd25519", Const, 13, ""}, + {"RSA", Const, 0, ""}, + {"RevocationList", Type, 15, ""}, + {"RevocationList.AuthorityKeyId", Field, 19, ""}, + {"RevocationList.Extensions", Field, 19, ""}, + {"RevocationList.ExtraExtensions", Field, 15, ""}, + {"RevocationList.Issuer", Field, 19, ""}, + {"RevocationList.NextUpdate", Field, 15, ""}, + {"RevocationList.Number", Field, 15, ""}, + {"RevocationList.Raw", Field, 19, ""}, + {"RevocationList.RawIssuer", Field, 19, ""}, + {"RevocationList.RawTBSRevocationList", Field, 19, ""}, + {"RevocationList.RevokedCertificateEntries", Field, 21, ""}, + {"RevocationList.RevokedCertificates", Field, 15, ""}, + {"RevocationList.Signature", Field, 19, ""}, + {"RevocationList.SignatureAlgorithm", Field, 15, ""}, + {"RevocationList.ThisUpdate", Field, 15, ""}, + {"RevocationListEntry", Type, 21, ""}, + {"RevocationListEntry.Extensions", Field, 21, ""}, + {"RevocationListEntry.ExtraExtensions", Field, 21, ""}, + {"RevocationListEntry.Raw", Field, 21, ""}, + {"RevocationListEntry.ReasonCode", Field, 21, ""}, + {"RevocationListEntry.RevocationTime", Field, 21, ""}, + {"RevocationListEntry.SerialNumber", Field, 21, ""}, + {"SHA1WithRSA", Const, 0, ""}, + {"SHA256WithRSA", Const, 0, ""}, + {"SHA256WithRSAPSS", Const, 8, ""}, + {"SHA384WithRSA", Const, 0, ""}, + {"SHA384WithRSAPSS", Const, 8, ""}, + {"SHA512WithRSA", Const, 0, ""}, + {"SHA512WithRSAPSS", Const, 8, ""}, + {"SetFallbackRoots", Func, 20, "func(roots *CertPool)"}, + {"SignatureAlgorithm", Type, 0, ""}, + {"SystemCertPool", Func, 7, "func() (*CertPool, error)"}, + {"SystemRootsError", Type, 1, ""}, + {"SystemRootsError.Err", Field, 7, ""}, + {"TooManyConstraints", Const, 10, ""}, + {"TooManyIntermediates", Const, 0, ""}, + {"UnconstrainedName", Const, 10, ""}, + {"UnhandledCriticalExtension", Type, 0, ""}, + {"UnknownAuthorityError", Type, 0, ""}, + {"UnknownAuthorityError.Cert", Field, 8, ""}, + {"UnknownPublicKeyAlgorithm", Const, 0, ""}, + {"UnknownSignatureAlgorithm", Const, 0, ""}, + {"VerifyOptions", Type, 0, ""}, + {"VerifyOptions.CertificatePolicies", Field, 24, ""}, + {"VerifyOptions.CurrentTime", Field, 0, ""}, + {"VerifyOptions.DNSName", Field, 0, ""}, + {"VerifyOptions.Intermediates", Field, 0, ""}, + {"VerifyOptions.KeyUsages", Field, 1, ""}, + {"VerifyOptions.MaxConstraintComparisions", Field, 10, ""}, + {"VerifyOptions.Roots", Field, 0, ""}, }, "crypto/x509/pkix": { - {"(*CertificateList).HasExpired", Method, 0}, - {"(*Name).FillFromRDNSequence", Method, 0}, - {"(Name).String", Method, 10}, - {"(Name).ToRDNSequence", Method, 0}, - {"(RDNSequence).String", Method, 10}, - {"AlgorithmIdentifier", Type, 0}, - {"AlgorithmIdentifier.Algorithm", Field, 0}, - {"AlgorithmIdentifier.Parameters", Field, 0}, - {"AttributeTypeAndValue", Type, 0}, - {"AttributeTypeAndValue.Type", Field, 0}, - {"AttributeTypeAndValue.Value", Field, 0}, - {"AttributeTypeAndValueSET", Type, 3}, - {"AttributeTypeAndValueSET.Type", Field, 3}, - {"AttributeTypeAndValueSET.Value", Field, 3}, - {"CertificateList", Type, 0}, - {"CertificateList.SignatureAlgorithm", Field, 0}, - {"CertificateList.SignatureValue", Field, 0}, - {"CertificateList.TBSCertList", Field, 0}, - {"Extension", Type, 0}, - {"Extension.Critical", Field, 0}, - {"Extension.Id", Field, 0}, - {"Extension.Value", Field, 0}, - {"Name", Type, 0}, - {"Name.CommonName", Field, 0}, - {"Name.Country", Field, 0}, - {"Name.ExtraNames", Field, 5}, - {"Name.Locality", Field, 0}, - {"Name.Names", Field, 0}, - {"Name.Organization", Field, 0}, - {"Name.OrganizationalUnit", Field, 0}, - {"Name.PostalCode", Field, 0}, - {"Name.Province", Field, 0}, - {"Name.SerialNumber", Field, 0}, - {"Name.StreetAddress", Field, 0}, - {"RDNSequence", Type, 0}, - {"RelativeDistinguishedNameSET", Type, 0}, - {"RevokedCertificate", Type, 0}, - {"RevokedCertificate.Extensions", Field, 0}, - {"RevokedCertificate.RevocationTime", Field, 0}, - {"RevokedCertificate.SerialNumber", Field, 0}, - {"TBSCertificateList", Type, 0}, - {"TBSCertificateList.Extensions", Field, 0}, - {"TBSCertificateList.Issuer", Field, 0}, - {"TBSCertificateList.NextUpdate", Field, 0}, - {"TBSCertificateList.Raw", Field, 0}, - {"TBSCertificateList.RevokedCertificates", Field, 0}, - {"TBSCertificateList.Signature", Field, 0}, - {"TBSCertificateList.ThisUpdate", Field, 0}, - {"TBSCertificateList.Version", Field, 0}, + {"(*CertificateList).HasExpired", Method, 0, ""}, + {"(*Name).FillFromRDNSequence", Method, 0, ""}, + {"(Name).String", Method, 10, ""}, + {"(Name).ToRDNSequence", Method, 0, ""}, + {"(RDNSequence).String", Method, 10, ""}, + {"AlgorithmIdentifier", Type, 0, ""}, + {"AlgorithmIdentifier.Algorithm", Field, 0, ""}, + {"AlgorithmIdentifier.Parameters", Field, 0, ""}, + {"AttributeTypeAndValue", Type, 0, ""}, + {"AttributeTypeAndValue.Type", Field, 0, ""}, + {"AttributeTypeAndValue.Value", Field, 0, ""}, + {"AttributeTypeAndValueSET", Type, 3, ""}, + {"AttributeTypeAndValueSET.Type", Field, 3, ""}, + {"AttributeTypeAndValueSET.Value", Field, 3, ""}, + {"CertificateList", Type, 0, ""}, + {"CertificateList.SignatureAlgorithm", Field, 0, ""}, + {"CertificateList.SignatureValue", Field, 0, ""}, + {"CertificateList.TBSCertList", Field, 0, ""}, + {"Extension", Type, 0, ""}, + {"Extension.Critical", Field, 0, ""}, + {"Extension.Id", Field, 0, ""}, + {"Extension.Value", Field, 0, ""}, + {"Name", Type, 0, ""}, + {"Name.CommonName", Field, 0, ""}, + {"Name.Country", Field, 0, ""}, + {"Name.ExtraNames", Field, 5, ""}, + {"Name.Locality", Field, 0, ""}, + {"Name.Names", Field, 0, ""}, + {"Name.Organization", Field, 0, ""}, + {"Name.OrganizationalUnit", Field, 0, ""}, + {"Name.PostalCode", Field, 0, ""}, + {"Name.Province", Field, 0, ""}, + {"Name.SerialNumber", Field, 0, ""}, + {"Name.StreetAddress", Field, 0, ""}, + {"RDNSequence", Type, 0, ""}, + {"RelativeDistinguishedNameSET", Type, 0, ""}, + {"RevokedCertificate", Type, 0, ""}, + {"RevokedCertificate.Extensions", Field, 0, ""}, + {"RevokedCertificate.RevocationTime", Field, 0, ""}, + {"RevokedCertificate.SerialNumber", Field, 0, ""}, + {"TBSCertificateList", Type, 0, ""}, + {"TBSCertificateList.Extensions", Field, 0, ""}, + {"TBSCertificateList.Issuer", Field, 0, ""}, + {"TBSCertificateList.NextUpdate", Field, 0, ""}, + {"TBSCertificateList.Raw", Field, 0, ""}, + {"TBSCertificateList.RevokedCertificates", Field, 0, ""}, + {"TBSCertificateList.Signature", Field, 0, ""}, + {"TBSCertificateList.ThisUpdate", Field, 0, ""}, + {"TBSCertificateList.Version", Field, 0, ""}, }, "database/sql": { - {"(*ColumnType).DatabaseTypeName", Method, 8}, - {"(*ColumnType).DecimalSize", Method, 8}, - {"(*ColumnType).Length", Method, 8}, - {"(*ColumnType).Name", Method, 8}, - {"(*ColumnType).Nullable", Method, 8}, - {"(*ColumnType).ScanType", Method, 8}, - {"(*Conn).BeginTx", Method, 9}, - {"(*Conn).Close", Method, 9}, - {"(*Conn).ExecContext", Method, 9}, - {"(*Conn).PingContext", Method, 9}, - {"(*Conn).PrepareContext", Method, 9}, - {"(*Conn).QueryContext", Method, 9}, - {"(*Conn).QueryRowContext", Method, 9}, - {"(*Conn).Raw", Method, 13}, - {"(*DB).Begin", Method, 0}, - {"(*DB).BeginTx", Method, 8}, - {"(*DB).Close", Method, 0}, - {"(*DB).Conn", Method, 9}, - {"(*DB).Driver", Method, 0}, - {"(*DB).Exec", Method, 0}, - {"(*DB).ExecContext", Method, 8}, - {"(*DB).Ping", Method, 1}, - {"(*DB).PingContext", Method, 8}, - {"(*DB).Prepare", Method, 0}, - {"(*DB).PrepareContext", Method, 8}, - {"(*DB).Query", Method, 0}, - {"(*DB).QueryContext", Method, 8}, - {"(*DB).QueryRow", Method, 0}, - {"(*DB).QueryRowContext", Method, 8}, - {"(*DB).SetConnMaxIdleTime", Method, 15}, - {"(*DB).SetConnMaxLifetime", Method, 6}, - {"(*DB).SetMaxIdleConns", Method, 1}, - {"(*DB).SetMaxOpenConns", Method, 2}, - {"(*DB).Stats", Method, 5}, - {"(*Null).Scan", Method, 22}, - {"(*NullBool).Scan", Method, 0}, - {"(*NullByte).Scan", Method, 17}, - {"(*NullFloat64).Scan", Method, 0}, - {"(*NullInt16).Scan", Method, 17}, - {"(*NullInt32).Scan", Method, 13}, - {"(*NullInt64).Scan", Method, 0}, - {"(*NullString).Scan", Method, 0}, - {"(*NullTime).Scan", Method, 13}, - {"(*Row).Err", Method, 15}, - {"(*Row).Scan", Method, 0}, - {"(*Rows).Close", Method, 0}, - {"(*Rows).ColumnTypes", Method, 8}, - {"(*Rows).Columns", Method, 0}, - {"(*Rows).Err", Method, 0}, - {"(*Rows).Next", Method, 0}, - {"(*Rows).NextResultSet", Method, 8}, - {"(*Rows).Scan", Method, 0}, - {"(*Stmt).Close", Method, 0}, - {"(*Stmt).Exec", Method, 0}, - {"(*Stmt).ExecContext", Method, 8}, - {"(*Stmt).Query", Method, 0}, - {"(*Stmt).QueryContext", Method, 8}, - {"(*Stmt).QueryRow", Method, 0}, - {"(*Stmt).QueryRowContext", Method, 8}, - {"(*Tx).Commit", Method, 0}, - {"(*Tx).Exec", Method, 0}, - {"(*Tx).ExecContext", Method, 8}, - {"(*Tx).Prepare", Method, 0}, - {"(*Tx).PrepareContext", Method, 8}, - {"(*Tx).Query", Method, 0}, - {"(*Tx).QueryContext", Method, 8}, - {"(*Tx).QueryRow", Method, 0}, - {"(*Tx).QueryRowContext", Method, 8}, - {"(*Tx).Rollback", Method, 0}, - {"(*Tx).Stmt", Method, 0}, - {"(*Tx).StmtContext", Method, 8}, - {"(IsolationLevel).String", Method, 11}, - {"(Null).Value", Method, 22}, - {"(NullBool).Value", Method, 0}, - {"(NullByte).Value", Method, 17}, - {"(NullFloat64).Value", Method, 0}, - {"(NullInt16).Value", Method, 17}, - {"(NullInt32).Value", Method, 13}, - {"(NullInt64).Value", Method, 0}, - {"(NullString).Value", Method, 0}, - {"(NullTime).Value", Method, 13}, - {"ColumnType", Type, 8}, - {"Conn", Type, 9}, - {"DB", Type, 0}, - {"DBStats", Type, 5}, - {"DBStats.Idle", Field, 11}, - {"DBStats.InUse", Field, 11}, - {"DBStats.MaxIdleClosed", Field, 11}, - {"DBStats.MaxIdleTimeClosed", Field, 15}, - {"DBStats.MaxLifetimeClosed", Field, 11}, - {"DBStats.MaxOpenConnections", Field, 11}, - {"DBStats.OpenConnections", Field, 5}, - {"DBStats.WaitCount", Field, 11}, - {"DBStats.WaitDuration", Field, 11}, - {"Drivers", Func, 4}, - {"ErrConnDone", Var, 9}, - {"ErrNoRows", Var, 0}, - {"ErrTxDone", Var, 0}, - {"IsolationLevel", Type, 8}, - {"LevelDefault", Const, 8}, - {"LevelLinearizable", Const, 8}, - {"LevelReadCommitted", Const, 8}, - {"LevelReadUncommitted", Const, 8}, - {"LevelRepeatableRead", Const, 8}, - {"LevelSerializable", Const, 8}, - {"LevelSnapshot", Const, 8}, - {"LevelWriteCommitted", Const, 8}, - {"Named", Func, 8}, - {"NamedArg", Type, 8}, - {"NamedArg.Name", Field, 8}, - {"NamedArg.Value", Field, 8}, - {"Null", Type, 22}, - {"Null.V", Field, 22}, - {"Null.Valid", Field, 22}, - {"NullBool", Type, 0}, - {"NullBool.Bool", Field, 0}, - {"NullBool.Valid", Field, 0}, - {"NullByte", Type, 17}, - {"NullByte.Byte", Field, 17}, - {"NullByte.Valid", Field, 17}, - {"NullFloat64", Type, 0}, - {"NullFloat64.Float64", Field, 0}, - {"NullFloat64.Valid", Field, 0}, - {"NullInt16", Type, 17}, - {"NullInt16.Int16", Field, 17}, - {"NullInt16.Valid", Field, 17}, - {"NullInt32", Type, 13}, - {"NullInt32.Int32", Field, 13}, - {"NullInt32.Valid", Field, 13}, - {"NullInt64", Type, 0}, - {"NullInt64.Int64", Field, 0}, - {"NullInt64.Valid", Field, 0}, - {"NullString", Type, 0}, - {"NullString.String", Field, 0}, - {"NullString.Valid", Field, 0}, - {"NullTime", Type, 13}, - {"NullTime.Time", Field, 13}, - {"NullTime.Valid", Field, 13}, - {"Open", Func, 0}, - {"OpenDB", Func, 10}, - {"Out", Type, 9}, - {"Out.Dest", Field, 9}, - {"Out.In", Field, 9}, - {"RawBytes", Type, 0}, - {"Register", Func, 0}, - {"Result", Type, 0}, - {"Row", Type, 0}, - {"Rows", Type, 0}, - {"Scanner", Type, 0}, - {"Stmt", Type, 0}, - {"Tx", Type, 0}, - {"TxOptions", Type, 8}, - {"TxOptions.Isolation", Field, 8}, - {"TxOptions.ReadOnly", Field, 8}, + {"(*ColumnType).DatabaseTypeName", Method, 8, ""}, + {"(*ColumnType).DecimalSize", Method, 8, ""}, + {"(*ColumnType).Length", Method, 8, ""}, + {"(*ColumnType).Name", Method, 8, ""}, + {"(*ColumnType).Nullable", Method, 8, ""}, + {"(*ColumnType).ScanType", Method, 8, ""}, + {"(*Conn).BeginTx", Method, 9, ""}, + {"(*Conn).Close", Method, 9, ""}, + {"(*Conn).ExecContext", Method, 9, ""}, + {"(*Conn).PingContext", Method, 9, ""}, + {"(*Conn).PrepareContext", Method, 9, ""}, + {"(*Conn).QueryContext", Method, 9, ""}, + {"(*Conn).QueryRowContext", Method, 9, ""}, + {"(*Conn).Raw", Method, 13, ""}, + {"(*DB).Begin", Method, 0, ""}, + {"(*DB).BeginTx", Method, 8, ""}, + {"(*DB).Close", Method, 0, ""}, + {"(*DB).Conn", Method, 9, ""}, + {"(*DB).Driver", Method, 0, ""}, + {"(*DB).Exec", Method, 0, ""}, + {"(*DB).ExecContext", Method, 8, ""}, + {"(*DB).Ping", Method, 1, ""}, + {"(*DB).PingContext", Method, 8, ""}, + {"(*DB).Prepare", Method, 0, ""}, + {"(*DB).PrepareContext", Method, 8, ""}, + {"(*DB).Query", Method, 0, ""}, + {"(*DB).QueryContext", Method, 8, ""}, + {"(*DB).QueryRow", Method, 0, ""}, + {"(*DB).QueryRowContext", Method, 8, ""}, + {"(*DB).SetConnMaxIdleTime", Method, 15, ""}, + {"(*DB).SetConnMaxLifetime", Method, 6, ""}, + {"(*DB).SetMaxIdleConns", Method, 1, ""}, + {"(*DB).SetMaxOpenConns", Method, 2, ""}, + {"(*DB).Stats", Method, 5, ""}, + {"(*Null).Scan", Method, 22, ""}, + {"(*NullBool).Scan", Method, 0, ""}, + {"(*NullByte).Scan", Method, 17, ""}, + {"(*NullFloat64).Scan", Method, 0, ""}, + {"(*NullInt16).Scan", Method, 17, ""}, + {"(*NullInt32).Scan", Method, 13, ""}, + {"(*NullInt64).Scan", Method, 0, ""}, + {"(*NullString).Scan", Method, 0, ""}, + {"(*NullTime).Scan", Method, 13, ""}, + {"(*Row).Err", Method, 15, ""}, + {"(*Row).Scan", Method, 0, ""}, + {"(*Rows).Close", Method, 0, ""}, + {"(*Rows).ColumnTypes", Method, 8, ""}, + {"(*Rows).Columns", Method, 0, ""}, + {"(*Rows).Err", Method, 0, ""}, + {"(*Rows).Next", Method, 0, ""}, + {"(*Rows).NextResultSet", Method, 8, ""}, + {"(*Rows).Scan", Method, 0, ""}, + {"(*Stmt).Close", Method, 0, ""}, + {"(*Stmt).Exec", Method, 0, ""}, + {"(*Stmt).ExecContext", Method, 8, ""}, + {"(*Stmt).Query", Method, 0, ""}, + {"(*Stmt).QueryContext", Method, 8, ""}, + {"(*Stmt).QueryRow", Method, 0, ""}, + {"(*Stmt).QueryRowContext", Method, 8, ""}, + {"(*Tx).Commit", Method, 0, ""}, + {"(*Tx).Exec", Method, 0, ""}, + {"(*Tx).ExecContext", Method, 8, ""}, + {"(*Tx).Prepare", Method, 0, ""}, + {"(*Tx).PrepareContext", Method, 8, ""}, + {"(*Tx).Query", Method, 0, ""}, + {"(*Tx).QueryContext", Method, 8, ""}, + {"(*Tx).QueryRow", Method, 0, ""}, + {"(*Tx).QueryRowContext", Method, 8, ""}, + {"(*Tx).Rollback", Method, 0, ""}, + {"(*Tx).Stmt", Method, 0, ""}, + {"(*Tx).StmtContext", Method, 8, ""}, + {"(IsolationLevel).String", Method, 11, ""}, + {"(Null).Value", Method, 22, ""}, + {"(NullBool).Value", Method, 0, ""}, + {"(NullByte).Value", Method, 17, ""}, + {"(NullFloat64).Value", Method, 0, ""}, + {"(NullInt16).Value", Method, 17, ""}, + {"(NullInt32).Value", Method, 13, ""}, + {"(NullInt64).Value", Method, 0, ""}, + {"(NullString).Value", Method, 0, ""}, + {"(NullTime).Value", Method, 13, ""}, + {"ColumnType", Type, 8, ""}, + {"Conn", Type, 9, ""}, + {"DB", Type, 0, ""}, + {"DBStats", Type, 5, ""}, + {"DBStats.Idle", Field, 11, ""}, + {"DBStats.InUse", Field, 11, ""}, + {"DBStats.MaxIdleClosed", Field, 11, ""}, + {"DBStats.MaxIdleTimeClosed", Field, 15, ""}, + {"DBStats.MaxLifetimeClosed", Field, 11, ""}, + {"DBStats.MaxOpenConnections", Field, 11, ""}, + {"DBStats.OpenConnections", Field, 5, ""}, + {"DBStats.WaitCount", Field, 11, ""}, + {"DBStats.WaitDuration", Field, 11, ""}, + {"Drivers", Func, 4, "func() []string"}, + {"ErrConnDone", Var, 9, ""}, + {"ErrNoRows", Var, 0, ""}, + {"ErrTxDone", Var, 0, ""}, + {"IsolationLevel", Type, 8, ""}, + {"LevelDefault", Const, 8, ""}, + {"LevelLinearizable", Const, 8, ""}, + {"LevelReadCommitted", Const, 8, ""}, + {"LevelReadUncommitted", Const, 8, ""}, + {"LevelRepeatableRead", Const, 8, ""}, + {"LevelSerializable", Const, 8, ""}, + {"LevelSnapshot", Const, 8, ""}, + {"LevelWriteCommitted", Const, 8, ""}, + {"Named", Func, 8, "func(name string, value any) NamedArg"}, + {"NamedArg", Type, 8, ""}, + {"NamedArg.Name", Field, 8, ""}, + {"NamedArg.Value", Field, 8, ""}, + {"Null", Type, 22, ""}, + {"Null.V", Field, 22, ""}, + {"Null.Valid", Field, 22, ""}, + {"NullBool", Type, 0, ""}, + {"NullBool.Bool", Field, 0, ""}, + {"NullBool.Valid", Field, 0, ""}, + {"NullByte", Type, 17, ""}, + {"NullByte.Byte", Field, 17, ""}, + {"NullByte.Valid", Field, 17, ""}, + {"NullFloat64", Type, 0, ""}, + {"NullFloat64.Float64", Field, 0, ""}, + {"NullFloat64.Valid", Field, 0, ""}, + {"NullInt16", Type, 17, ""}, + {"NullInt16.Int16", Field, 17, ""}, + {"NullInt16.Valid", Field, 17, ""}, + {"NullInt32", Type, 13, ""}, + {"NullInt32.Int32", Field, 13, ""}, + {"NullInt32.Valid", Field, 13, ""}, + {"NullInt64", Type, 0, ""}, + {"NullInt64.Int64", Field, 0, ""}, + {"NullInt64.Valid", Field, 0, ""}, + {"NullString", Type, 0, ""}, + {"NullString.String", Field, 0, ""}, + {"NullString.Valid", Field, 0, ""}, + {"NullTime", Type, 13, ""}, + {"NullTime.Time", Field, 13, ""}, + {"NullTime.Valid", Field, 13, ""}, + {"Open", Func, 0, "func(driverName string, dataSourceName string) (*DB, error)"}, + {"OpenDB", Func, 10, "func(c driver.Connector) *DB"}, + {"Out", Type, 9, ""}, + {"Out.Dest", Field, 9, ""}, + {"Out.In", Field, 9, ""}, + {"RawBytes", Type, 0, ""}, + {"Register", Func, 0, "func(name string, driver driver.Driver)"}, + {"Result", Type, 0, ""}, + {"Row", Type, 0, ""}, + {"Rows", Type, 0, ""}, + {"Scanner", Type, 0, ""}, + {"Stmt", Type, 0, ""}, + {"Tx", Type, 0, ""}, + {"TxOptions", Type, 8, ""}, + {"TxOptions.Isolation", Field, 8, ""}, + {"TxOptions.ReadOnly", Field, 8, ""}, }, "database/sql/driver": { - {"(NotNull).ConvertValue", Method, 0}, - {"(Null).ConvertValue", Method, 0}, - {"(RowsAffected).LastInsertId", Method, 0}, - {"(RowsAffected).RowsAffected", Method, 0}, - {"Bool", Var, 0}, - {"ColumnConverter", Type, 0}, - {"Conn", Type, 0}, - {"ConnBeginTx", Type, 8}, - {"ConnPrepareContext", Type, 8}, - {"Connector", Type, 10}, - {"DefaultParameterConverter", Var, 0}, - {"Driver", Type, 0}, - {"DriverContext", Type, 10}, - {"ErrBadConn", Var, 0}, - {"ErrRemoveArgument", Var, 9}, - {"ErrSkip", Var, 0}, - {"Execer", Type, 0}, - {"ExecerContext", Type, 8}, - {"Int32", Var, 0}, - {"IsScanValue", Func, 0}, - {"IsValue", Func, 0}, - {"IsolationLevel", Type, 8}, - {"NamedValue", Type, 8}, - {"NamedValue.Name", Field, 8}, - {"NamedValue.Ordinal", Field, 8}, - {"NamedValue.Value", Field, 8}, - {"NamedValueChecker", Type, 9}, - {"NotNull", Type, 0}, - {"NotNull.Converter", Field, 0}, - {"Null", Type, 0}, - {"Null.Converter", Field, 0}, - {"Pinger", Type, 8}, - {"Queryer", Type, 1}, - {"QueryerContext", Type, 8}, - {"Result", Type, 0}, - {"ResultNoRows", Var, 0}, - {"Rows", Type, 0}, - {"RowsAffected", Type, 0}, - {"RowsColumnTypeDatabaseTypeName", Type, 8}, - {"RowsColumnTypeLength", Type, 8}, - {"RowsColumnTypeNullable", Type, 8}, - {"RowsColumnTypePrecisionScale", Type, 8}, - {"RowsColumnTypeScanType", Type, 8}, - {"RowsNextResultSet", Type, 8}, - {"SessionResetter", Type, 10}, - {"Stmt", Type, 0}, - {"StmtExecContext", Type, 8}, - {"StmtQueryContext", Type, 8}, - {"String", Var, 0}, - {"Tx", Type, 0}, - {"TxOptions", Type, 8}, - {"TxOptions.Isolation", Field, 8}, - {"TxOptions.ReadOnly", Field, 8}, - {"Validator", Type, 15}, - {"Value", Type, 0}, - {"ValueConverter", Type, 0}, - {"Valuer", Type, 0}, + {"(NotNull).ConvertValue", Method, 0, ""}, + {"(Null).ConvertValue", Method, 0, ""}, + {"(RowsAffected).LastInsertId", Method, 0, ""}, + {"(RowsAffected).RowsAffected", Method, 0, ""}, + {"Bool", Var, 0, ""}, + {"ColumnConverter", Type, 0, ""}, + {"Conn", Type, 0, ""}, + {"ConnBeginTx", Type, 8, ""}, + {"ConnPrepareContext", Type, 8, ""}, + {"Connector", Type, 10, ""}, + {"DefaultParameterConverter", Var, 0, ""}, + {"Driver", Type, 0, ""}, + {"DriverContext", Type, 10, ""}, + {"ErrBadConn", Var, 0, ""}, + {"ErrRemoveArgument", Var, 9, ""}, + {"ErrSkip", Var, 0, ""}, + {"Execer", Type, 0, ""}, + {"ExecerContext", Type, 8, ""}, + {"Int32", Var, 0, ""}, + {"IsScanValue", Func, 0, "func(v any) bool"}, + {"IsValue", Func, 0, "func(v any) bool"}, + {"IsolationLevel", Type, 8, ""}, + {"NamedValue", Type, 8, ""}, + {"NamedValue.Name", Field, 8, ""}, + {"NamedValue.Ordinal", Field, 8, ""}, + {"NamedValue.Value", Field, 8, ""}, + {"NamedValueChecker", Type, 9, ""}, + {"NotNull", Type, 0, ""}, + {"NotNull.Converter", Field, 0, ""}, + {"Null", Type, 0, ""}, + {"Null.Converter", Field, 0, ""}, + {"Pinger", Type, 8, ""}, + {"Queryer", Type, 1, ""}, + {"QueryerContext", Type, 8, ""}, + {"Result", Type, 0, ""}, + {"ResultNoRows", Var, 0, ""}, + {"Rows", Type, 0, ""}, + {"RowsAffected", Type, 0, ""}, + {"RowsColumnTypeDatabaseTypeName", Type, 8, ""}, + {"RowsColumnTypeLength", Type, 8, ""}, + {"RowsColumnTypeNullable", Type, 8, ""}, + {"RowsColumnTypePrecisionScale", Type, 8, ""}, + {"RowsColumnTypeScanType", Type, 8, ""}, + {"RowsNextResultSet", Type, 8, ""}, + {"SessionResetter", Type, 10, ""}, + {"Stmt", Type, 0, ""}, + {"StmtExecContext", Type, 8, ""}, + {"StmtQueryContext", Type, 8, ""}, + {"String", Var, 0, ""}, + {"Tx", Type, 0, ""}, + {"TxOptions", Type, 8, ""}, + {"TxOptions.Isolation", Field, 8, ""}, + {"TxOptions.ReadOnly", Field, 8, ""}, + {"Validator", Type, 15, ""}, + {"Value", Type, 0, ""}, + {"ValueConverter", Type, 0, ""}, + {"Valuer", Type, 0, ""}, }, "debug/buildinfo": { - {"BuildInfo", Type, 18}, - {"Read", Func, 18}, - {"ReadFile", Func, 18}, + {"BuildInfo", Type, 18, ""}, + {"Read", Func, 18, "func(r io.ReaderAt) (*BuildInfo, error)"}, + {"ReadFile", Func, 18, "func(name string) (info *BuildInfo, err error)"}, }, "debug/dwarf": { - {"(*AddrType).Basic", Method, 0}, - {"(*AddrType).Common", Method, 0}, - {"(*AddrType).Size", Method, 0}, - {"(*AddrType).String", Method, 0}, - {"(*ArrayType).Common", Method, 0}, - {"(*ArrayType).Size", Method, 0}, - {"(*ArrayType).String", Method, 0}, - {"(*BasicType).Basic", Method, 0}, - {"(*BasicType).Common", Method, 0}, - {"(*BasicType).Size", Method, 0}, - {"(*BasicType).String", Method, 0}, - {"(*BoolType).Basic", Method, 0}, - {"(*BoolType).Common", Method, 0}, - {"(*BoolType).Size", Method, 0}, - {"(*BoolType).String", Method, 0}, - {"(*CharType).Basic", Method, 0}, - {"(*CharType).Common", Method, 0}, - {"(*CharType).Size", Method, 0}, - {"(*CharType).String", Method, 0}, - {"(*CommonType).Common", Method, 0}, - {"(*CommonType).Size", Method, 0}, - {"(*ComplexType).Basic", Method, 0}, - {"(*ComplexType).Common", Method, 0}, - {"(*ComplexType).Size", Method, 0}, - {"(*ComplexType).String", Method, 0}, - {"(*Data).AddSection", Method, 14}, - {"(*Data).AddTypes", Method, 3}, - {"(*Data).LineReader", Method, 5}, - {"(*Data).Ranges", Method, 7}, - {"(*Data).Reader", Method, 0}, - {"(*Data).Type", Method, 0}, - {"(*DotDotDotType).Common", Method, 0}, - {"(*DotDotDotType).Size", Method, 0}, - {"(*DotDotDotType).String", Method, 0}, - {"(*Entry).AttrField", Method, 5}, - {"(*Entry).Val", Method, 0}, - {"(*EnumType).Common", Method, 0}, - {"(*EnumType).Size", Method, 0}, - {"(*EnumType).String", Method, 0}, - {"(*FloatType).Basic", Method, 0}, - {"(*FloatType).Common", Method, 0}, - {"(*FloatType).Size", Method, 0}, - {"(*FloatType).String", Method, 0}, - {"(*FuncType).Common", Method, 0}, - {"(*FuncType).Size", Method, 0}, - {"(*FuncType).String", Method, 0}, - {"(*IntType).Basic", Method, 0}, - {"(*IntType).Common", Method, 0}, - {"(*IntType).Size", Method, 0}, - {"(*IntType).String", Method, 0}, - {"(*LineReader).Files", Method, 14}, - {"(*LineReader).Next", Method, 5}, - {"(*LineReader).Reset", Method, 5}, - {"(*LineReader).Seek", Method, 5}, - {"(*LineReader).SeekPC", Method, 5}, - {"(*LineReader).Tell", Method, 5}, - {"(*PtrType).Common", Method, 0}, - {"(*PtrType).Size", Method, 0}, - {"(*PtrType).String", Method, 0}, - {"(*QualType).Common", Method, 0}, - {"(*QualType).Size", Method, 0}, - {"(*QualType).String", Method, 0}, - {"(*Reader).AddressSize", Method, 5}, - {"(*Reader).ByteOrder", Method, 14}, - {"(*Reader).Next", Method, 0}, - {"(*Reader).Seek", Method, 0}, - {"(*Reader).SeekPC", Method, 7}, - {"(*Reader).SkipChildren", Method, 0}, - {"(*StructType).Common", Method, 0}, - {"(*StructType).Defn", Method, 0}, - {"(*StructType).Size", Method, 0}, - {"(*StructType).String", Method, 0}, - {"(*TypedefType).Common", Method, 0}, - {"(*TypedefType).Size", Method, 0}, - {"(*TypedefType).String", Method, 0}, - {"(*UcharType).Basic", Method, 0}, - {"(*UcharType).Common", Method, 0}, - {"(*UcharType).Size", Method, 0}, - {"(*UcharType).String", Method, 0}, - {"(*UintType).Basic", Method, 0}, - {"(*UintType).Common", Method, 0}, - {"(*UintType).Size", Method, 0}, - {"(*UintType).String", Method, 0}, - {"(*UnspecifiedType).Basic", Method, 4}, - {"(*UnspecifiedType).Common", Method, 4}, - {"(*UnspecifiedType).Size", Method, 4}, - {"(*UnspecifiedType).String", Method, 4}, - {"(*UnsupportedType).Common", Method, 13}, - {"(*UnsupportedType).Size", Method, 13}, - {"(*UnsupportedType).String", Method, 13}, - {"(*VoidType).Common", Method, 0}, - {"(*VoidType).Size", Method, 0}, - {"(*VoidType).String", Method, 0}, - {"(Attr).GoString", Method, 0}, - {"(Attr).String", Method, 0}, - {"(Class).GoString", Method, 5}, - {"(Class).String", Method, 5}, - {"(DecodeError).Error", Method, 0}, - {"(Tag).GoString", Method, 0}, - {"(Tag).String", Method, 0}, - {"AddrType", Type, 0}, - {"AddrType.BasicType", Field, 0}, - {"ArrayType", Type, 0}, - {"ArrayType.CommonType", Field, 0}, - {"ArrayType.Count", Field, 0}, - {"ArrayType.StrideBitSize", Field, 0}, - {"ArrayType.Type", Field, 0}, - {"Attr", Type, 0}, - {"AttrAbstractOrigin", Const, 0}, - {"AttrAccessibility", Const, 0}, - {"AttrAddrBase", Const, 14}, - {"AttrAddrClass", Const, 0}, - {"AttrAlignment", Const, 14}, - {"AttrAllocated", Const, 0}, - {"AttrArtificial", Const, 0}, - {"AttrAssociated", Const, 0}, - {"AttrBaseTypes", Const, 0}, - {"AttrBinaryScale", Const, 14}, - {"AttrBitOffset", Const, 0}, - {"AttrBitSize", Const, 0}, - {"AttrByteSize", Const, 0}, - {"AttrCallAllCalls", Const, 14}, - {"AttrCallAllSourceCalls", Const, 14}, - {"AttrCallAllTailCalls", Const, 14}, - {"AttrCallColumn", Const, 0}, - {"AttrCallDataLocation", Const, 14}, - {"AttrCallDataValue", Const, 14}, - {"AttrCallFile", Const, 0}, - {"AttrCallLine", Const, 0}, - {"AttrCallOrigin", Const, 14}, - {"AttrCallPC", Const, 14}, - {"AttrCallParameter", Const, 14}, - {"AttrCallReturnPC", Const, 14}, - {"AttrCallTailCall", Const, 14}, - {"AttrCallTarget", Const, 14}, - {"AttrCallTargetClobbered", Const, 14}, - {"AttrCallValue", Const, 14}, - {"AttrCalling", Const, 0}, - {"AttrCommonRef", Const, 0}, - {"AttrCompDir", Const, 0}, - {"AttrConstExpr", Const, 14}, - {"AttrConstValue", Const, 0}, - {"AttrContainingType", Const, 0}, - {"AttrCount", Const, 0}, - {"AttrDataBitOffset", Const, 14}, - {"AttrDataLocation", Const, 0}, - {"AttrDataMemberLoc", Const, 0}, - {"AttrDecimalScale", Const, 14}, - {"AttrDecimalSign", Const, 14}, - {"AttrDeclColumn", Const, 0}, - {"AttrDeclFile", Const, 0}, - {"AttrDeclLine", Const, 0}, - {"AttrDeclaration", Const, 0}, - {"AttrDefaultValue", Const, 0}, - {"AttrDefaulted", Const, 14}, - {"AttrDeleted", Const, 14}, - {"AttrDescription", Const, 0}, - {"AttrDigitCount", Const, 14}, - {"AttrDiscr", Const, 0}, - {"AttrDiscrList", Const, 0}, - {"AttrDiscrValue", Const, 0}, - {"AttrDwoName", Const, 14}, - {"AttrElemental", Const, 14}, - {"AttrEncoding", Const, 0}, - {"AttrEndianity", Const, 14}, - {"AttrEntrypc", Const, 0}, - {"AttrEnumClass", Const, 14}, - {"AttrExplicit", Const, 14}, - {"AttrExportSymbols", Const, 14}, - {"AttrExtension", Const, 0}, - {"AttrExternal", Const, 0}, - {"AttrFrameBase", Const, 0}, - {"AttrFriend", Const, 0}, - {"AttrHighpc", Const, 0}, - {"AttrIdentifierCase", Const, 0}, - {"AttrImport", Const, 0}, - {"AttrInline", Const, 0}, - {"AttrIsOptional", Const, 0}, - {"AttrLanguage", Const, 0}, - {"AttrLinkageName", Const, 14}, - {"AttrLocation", Const, 0}, - {"AttrLoclistsBase", Const, 14}, - {"AttrLowerBound", Const, 0}, - {"AttrLowpc", Const, 0}, - {"AttrMacroInfo", Const, 0}, - {"AttrMacros", Const, 14}, - {"AttrMainSubprogram", Const, 14}, - {"AttrMutable", Const, 14}, - {"AttrName", Const, 0}, - {"AttrNamelistItem", Const, 0}, - {"AttrNoreturn", Const, 14}, - {"AttrObjectPointer", Const, 14}, - {"AttrOrdering", Const, 0}, - {"AttrPictureString", Const, 14}, - {"AttrPriority", Const, 0}, - {"AttrProducer", Const, 0}, - {"AttrPrototyped", Const, 0}, - {"AttrPure", Const, 14}, - {"AttrRanges", Const, 0}, - {"AttrRank", Const, 14}, - {"AttrRecursive", Const, 14}, - {"AttrReference", Const, 14}, - {"AttrReturnAddr", Const, 0}, - {"AttrRnglistsBase", Const, 14}, - {"AttrRvalueReference", Const, 14}, - {"AttrSegment", Const, 0}, - {"AttrSibling", Const, 0}, - {"AttrSignature", Const, 14}, - {"AttrSmall", Const, 14}, - {"AttrSpecification", Const, 0}, - {"AttrStartScope", Const, 0}, - {"AttrStaticLink", Const, 0}, - {"AttrStmtList", Const, 0}, - {"AttrStrOffsetsBase", Const, 14}, - {"AttrStride", Const, 0}, - {"AttrStrideSize", Const, 0}, - {"AttrStringLength", Const, 0}, - {"AttrStringLengthBitSize", Const, 14}, - {"AttrStringLengthByteSize", Const, 14}, - {"AttrThreadsScaled", Const, 14}, - {"AttrTrampoline", Const, 0}, - {"AttrType", Const, 0}, - {"AttrUpperBound", Const, 0}, - {"AttrUseLocation", Const, 0}, - {"AttrUseUTF8", Const, 0}, - {"AttrVarParam", Const, 0}, - {"AttrVirtuality", Const, 0}, - {"AttrVisibility", Const, 0}, - {"AttrVtableElemLoc", Const, 0}, - {"BasicType", Type, 0}, - {"BasicType.BitOffset", Field, 0}, - {"BasicType.BitSize", Field, 0}, - {"BasicType.CommonType", Field, 0}, - {"BasicType.DataBitOffset", Field, 18}, - {"BoolType", Type, 0}, - {"BoolType.BasicType", Field, 0}, - {"CharType", Type, 0}, - {"CharType.BasicType", Field, 0}, - {"Class", Type, 5}, - {"ClassAddrPtr", Const, 14}, - {"ClassAddress", Const, 5}, - {"ClassBlock", Const, 5}, - {"ClassConstant", Const, 5}, - {"ClassExprLoc", Const, 5}, - {"ClassFlag", Const, 5}, - {"ClassLinePtr", Const, 5}, - {"ClassLocList", Const, 14}, - {"ClassLocListPtr", Const, 5}, - {"ClassMacPtr", Const, 5}, - {"ClassRangeListPtr", Const, 5}, - {"ClassReference", Const, 5}, - {"ClassReferenceAlt", Const, 5}, - {"ClassReferenceSig", Const, 5}, - {"ClassRngList", Const, 14}, - {"ClassRngListsPtr", Const, 14}, - {"ClassStrOffsetsPtr", Const, 14}, - {"ClassString", Const, 5}, - {"ClassStringAlt", Const, 5}, - {"ClassUnknown", Const, 6}, - {"CommonType", Type, 0}, - {"CommonType.ByteSize", Field, 0}, - {"CommonType.Name", Field, 0}, - {"ComplexType", Type, 0}, - {"ComplexType.BasicType", Field, 0}, - {"Data", Type, 0}, - {"DecodeError", Type, 0}, - {"DecodeError.Err", Field, 0}, - {"DecodeError.Name", Field, 0}, - {"DecodeError.Offset", Field, 0}, - {"DotDotDotType", Type, 0}, - {"DotDotDotType.CommonType", Field, 0}, - {"Entry", Type, 0}, - {"Entry.Children", Field, 0}, - {"Entry.Field", Field, 0}, - {"Entry.Offset", Field, 0}, - {"Entry.Tag", Field, 0}, - {"EnumType", Type, 0}, - {"EnumType.CommonType", Field, 0}, - {"EnumType.EnumName", Field, 0}, - {"EnumType.Val", Field, 0}, - {"EnumValue", Type, 0}, - {"EnumValue.Name", Field, 0}, - {"EnumValue.Val", Field, 0}, - {"ErrUnknownPC", Var, 5}, - {"Field", Type, 0}, - {"Field.Attr", Field, 0}, - {"Field.Class", Field, 5}, - {"Field.Val", Field, 0}, - {"FloatType", Type, 0}, - {"FloatType.BasicType", Field, 0}, - {"FuncType", Type, 0}, - {"FuncType.CommonType", Field, 0}, - {"FuncType.ParamType", Field, 0}, - {"FuncType.ReturnType", Field, 0}, - {"IntType", Type, 0}, - {"IntType.BasicType", Field, 0}, - {"LineEntry", Type, 5}, - {"LineEntry.Address", Field, 5}, - {"LineEntry.BasicBlock", Field, 5}, - {"LineEntry.Column", Field, 5}, - {"LineEntry.Discriminator", Field, 5}, - {"LineEntry.EndSequence", Field, 5}, - {"LineEntry.EpilogueBegin", Field, 5}, - {"LineEntry.File", Field, 5}, - {"LineEntry.ISA", Field, 5}, - {"LineEntry.IsStmt", Field, 5}, - {"LineEntry.Line", Field, 5}, - {"LineEntry.OpIndex", Field, 5}, - {"LineEntry.PrologueEnd", Field, 5}, - {"LineFile", Type, 5}, - {"LineFile.Length", Field, 5}, - {"LineFile.Mtime", Field, 5}, - {"LineFile.Name", Field, 5}, - {"LineReader", Type, 5}, - {"LineReaderPos", Type, 5}, - {"New", Func, 0}, - {"Offset", Type, 0}, - {"PtrType", Type, 0}, - {"PtrType.CommonType", Field, 0}, - {"PtrType.Type", Field, 0}, - {"QualType", Type, 0}, - {"QualType.CommonType", Field, 0}, - {"QualType.Qual", Field, 0}, - {"QualType.Type", Field, 0}, - {"Reader", Type, 0}, - {"StructField", Type, 0}, - {"StructField.BitOffset", Field, 0}, - {"StructField.BitSize", Field, 0}, - {"StructField.ByteOffset", Field, 0}, - {"StructField.ByteSize", Field, 0}, - {"StructField.DataBitOffset", Field, 18}, - {"StructField.Name", Field, 0}, - {"StructField.Type", Field, 0}, - {"StructType", Type, 0}, - {"StructType.CommonType", Field, 0}, - {"StructType.Field", Field, 0}, - {"StructType.Incomplete", Field, 0}, - {"StructType.Kind", Field, 0}, - {"StructType.StructName", Field, 0}, - {"Tag", Type, 0}, - {"TagAccessDeclaration", Const, 0}, - {"TagArrayType", Const, 0}, - {"TagAtomicType", Const, 14}, - {"TagBaseType", Const, 0}, - {"TagCallSite", Const, 14}, - {"TagCallSiteParameter", Const, 14}, - {"TagCatchDwarfBlock", Const, 0}, - {"TagClassType", Const, 0}, - {"TagCoarrayType", Const, 14}, - {"TagCommonDwarfBlock", Const, 0}, - {"TagCommonInclusion", Const, 0}, - {"TagCompileUnit", Const, 0}, - {"TagCondition", Const, 3}, - {"TagConstType", Const, 0}, - {"TagConstant", Const, 0}, - {"TagDwarfProcedure", Const, 0}, - {"TagDynamicType", Const, 14}, - {"TagEntryPoint", Const, 0}, - {"TagEnumerationType", Const, 0}, - {"TagEnumerator", Const, 0}, - {"TagFileType", Const, 0}, - {"TagFormalParameter", Const, 0}, - {"TagFriend", Const, 0}, - {"TagGenericSubrange", Const, 14}, - {"TagImmutableType", Const, 14}, - {"TagImportedDeclaration", Const, 0}, - {"TagImportedModule", Const, 0}, - {"TagImportedUnit", Const, 0}, - {"TagInheritance", Const, 0}, - {"TagInlinedSubroutine", Const, 0}, - {"TagInterfaceType", Const, 0}, - {"TagLabel", Const, 0}, - {"TagLexDwarfBlock", Const, 0}, - {"TagMember", Const, 0}, - {"TagModule", Const, 0}, - {"TagMutableType", Const, 0}, - {"TagNamelist", Const, 0}, - {"TagNamelistItem", Const, 0}, - {"TagNamespace", Const, 0}, - {"TagPackedType", Const, 0}, - {"TagPartialUnit", Const, 0}, - {"TagPointerType", Const, 0}, - {"TagPtrToMemberType", Const, 0}, - {"TagReferenceType", Const, 0}, - {"TagRestrictType", Const, 0}, - {"TagRvalueReferenceType", Const, 3}, - {"TagSetType", Const, 0}, - {"TagSharedType", Const, 3}, - {"TagSkeletonUnit", Const, 14}, - {"TagStringType", Const, 0}, - {"TagStructType", Const, 0}, - {"TagSubprogram", Const, 0}, - {"TagSubrangeType", Const, 0}, - {"TagSubroutineType", Const, 0}, - {"TagTemplateAlias", Const, 3}, - {"TagTemplateTypeParameter", Const, 0}, - {"TagTemplateValueParameter", Const, 0}, - {"TagThrownType", Const, 0}, - {"TagTryDwarfBlock", Const, 0}, - {"TagTypeUnit", Const, 3}, - {"TagTypedef", Const, 0}, - {"TagUnionType", Const, 0}, - {"TagUnspecifiedParameters", Const, 0}, - {"TagUnspecifiedType", Const, 0}, - {"TagVariable", Const, 0}, - {"TagVariant", Const, 0}, - {"TagVariantPart", Const, 0}, - {"TagVolatileType", Const, 0}, - {"TagWithStmt", Const, 0}, - {"Type", Type, 0}, - {"TypedefType", Type, 0}, - {"TypedefType.CommonType", Field, 0}, - {"TypedefType.Type", Field, 0}, - {"UcharType", Type, 0}, - {"UcharType.BasicType", Field, 0}, - {"UintType", Type, 0}, - {"UintType.BasicType", Field, 0}, - {"UnspecifiedType", Type, 4}, - {"UnspecifiedType.BasicType", Field, 4}, - {"UnsupportedType", Type, 13}, - {"UnsupportedType.CommonType", Field, 13}, - {"UnsupportedType.Tag", Field, 13}, - {"VoidType", Type, 0}, - {"VoidType.CommonType", Field, 0}, + {"(*AddrType).Basic", Method, 0, ""}, + {"(*AddrType).Common", Method, 0, ""}, + {"(*AddrType).Size", Method, 0, ""}, + {"(*AddrType).String", Method, 0, ""}, + {"(*ArrayType).Common", Method, 0, ""}, + {"(*ArrayType).Size", Method, 0, ""}, + {"(*ArrayType).String", Method, 0, ""}, + {"(*BasicType).Basic", Method, 0, ""}, + {"(*BasicType).Common", Method, 0, ""}, + {"(*BasicType).Size", Method, 0, ""}, + {"(*BasicType).String", Method, 0, ""}, + {"(*BoolType).Basic", Method, 0, ""}, + {"(*BoolType).Common", Method, 0, ""}, + {"(*BoolType).Size", Method, 0, ""}, + {"(*BoolType).String", Method, 0, ""}, + {"(*CharType).Basic", Method, 0, ""}, + {"(*CharType).Common", Method, 0, ""}, + {"(*CharType).Size", Method, 0, ""}, + {"(*CharType).String", Method, 0, ""}, + {"(*CommonType).Common", Method, 0, ""}, + {"(*CommonType).Size", Method, 0, ""}, + {"(*ComplexType).Basic", Method, 0, ""}, + {"(*ComplexType).Common", Method, 0, ""}, + {"(*ComplexType).Size", Method, 0, ""}, + {"(*ComplexType).String", Method, 0, ""}, + {"(*Data).AddSection", Method, 14, ""}, + {"(*Data).AddTypes", Method, 3, ""}, + {"(*Data).LineReader", Method, 5, ""}, + {"(*Data).Ranges", Method, 7, ""}, + {"(*Data).Reader", Method, 0, ""}, + {"(*Data).Type", Method, 0, ""}, + {"(*DotDotDotType).Common", Method, 0, ""}, + {"(*DotDotDotType).Size", Method, 0, ""}, + {"(*DotDotDotType).String", Method, 0, ""}, + {"(*Entry).AttrField", Method, 5, ""}, + {"(*Entry).Val", Method, 0, ""}, + {"(*EnumType).Common", Method, 0, ""}, + {"(*EnumType).Size", Method, 0, ""}, + {"(*EnumType).String", Method, 0, ""}, + {"(*FloatType).Basic", Method, 0, ""}, + {"(*FloatType).Common", Method, 0, ""}, + {"(*FloatType).Size", Method, 0, ""}, + {"(*FloatType).String", Method, 0, ""}, + {"(*FuncType).Common", Method, 0, ""}, + {"(*FuncType).Size", Method, 0, ""}, + {"(*FuncType).String", Method, 0, ""}, + {"(*IntType).Basic", Method, 0, ""}, + {"(*IntType).Common", Method, 0, ""}, + {"(*IntType).Size", Method, 0, ""}, + {"(*IntType).String", Method, 0, ""}, + {"(*LineReader).Files", Method, 14, ""}, + {"(*LineReader).Next", Method, 5, ""}, + {"(*LineReader).Reset", Method, 5, ""}, + {"(*LineReader).Seek", Method, 5, ""}, + {"(*LineReader).SeekPC", Method, 5, ""}, + {"(*LineReader).Tell", Method, 5, ""}, + {"(*PtrType).Common", Method, 0, ""}, + {"(*PtrType).Size", Method, 0, ""}, + {"(*PtrType).String", Method, 0, ""}, + {"(*QualType).Common", Method, 0, ""}, + {"(*QualType).Size", Method, 0, ""}, + {"(*QualType).String", Method, 0, ""}, + {"(*Reader).AddressSize", Method, 5, ""}, + {"(*Reader).ByteOrder", Method, 14, ""}, + {"(*Reader).Next", Method, 0, ""}, + {"(*Reader).Seek", Method, 0, ""}, + {"(*Reader).SeekPC", Method, 7, ""}, + {"(*Reader).SkipChildren", Method, 0, ""}, + {"(*StructType).Common", Method, 0, ""}, + {"(*StructType).Defn", Method, 0, ""}, + {"(*StructType).Size", Method, 0, ""}, + {"(*StructType).String", Method, 0, ""}, + {"(*TypedefType).Common", Method, 0, ""}, + {"(*TypedefType).Size", Method, 0, ""}, + {"(*TypedefType).String", Method, 0, ""}, + {"(*UcharType).Basic", Method, 0, ""}, + {"(*UcharType).Common", Method, 0, ""}, + {"(*UcharType).Size", Method, 0, ""}, + {"(*UcharType).String", Method, 0, ""}, + {"(*UintType).Basic", Method, 0, ""}, + {"(*UintType).Common", Method, 0, ""}, + {"(*UintType).Size", Method, 0, ""}, + {"(*UintType).String", Method, 0, ""}, + {"(*UnspecifiedType).Basic", Method, 4, ""}, + {"(*UnspecifiedType).Common", Method, 4, ""}, + {"(*UnspecifiedType).Size", Method, 4, ""}, + {"(*UnspecifiedType).String", Method, 4, ""}, + {"(*UnsupportedType).Common", Method, 13, ""}, + {"(*UnsupportedType).Size", Method, 13, ""}, + {"(*UnsupportedType).String", Method, 13, ""}, + {"(*VoidType).Common", Method, 0, ""}, + {"(*VoidType).Size", Method, 0, ""}, + {"(*VoidType).String", Method, 0, ""}, + {"(Attr).GoString", Method, 0, ""}, + {"(Attr).String", Method, 0, ""}, + {"(Class).GoString", Method, 5, ""}, + {"(Class).String", Method, 5, ""}, + {"(DecodeError).Error", Method, 0, ""}, + {"(Tag).GoString", Method, 0, ""}, + {"(Tag).String", Method, 0, ""}, + {"AddrType", Type, 0, ""}, + {"AddrType.BasicType", Field, 0, ""}, + {"ArrayType", Type, 0, ""}, + {"ArrayType.CommonType", Field, 0, ""}, + {"ArrayType.Count", Field, 0, ""}, + {"ArrayType.StrideBitSize", Field, 0, ""}, + {"ArrayType.Type", Field, 0, ""}, + {"Attr", Type, 0, ""}, + {"AttrAbstractOrigin", Const, 0, ""}, + {"AttrAccessibility", Const, 0, ""}, + {"AttrAddrBase", Const, 14, ""}, + {"AttrAddrClass", Const, 0, ""}, + {"AttrAlignment", Const, 14, ""}, + {"AttrAllocated", Const, 0, ""}, + {"AttrArtificial", Const, 0, ""}, + {"AttrAssociated", Const, 0, ""}, + {"AttrBaseTypes", Const, 0, ""}, + {"AttrBinaryScale", Const, 14, ""}, + {"AttrBitOffset", Const, 0, ""}, + {"AttrBitSize", Const, 0, ""}, + {"AttrByteSize", Const, 0, ""}, + {"AttrCallAllCalls", Const, 14, ""}, + {"AttrCallAllSourceCalls", Const, 14, ""}, + {"AttrCallAllTailCalls", Const, 14, ""}, + {"AttrCallColumn", Const, 0, ""}, + {"AttrCallDataLocation", Const, 14, ""}, + {"AttrCallDataValue", Const, 14, ""}, + {"AttrCallFile", Const, 0, ""}, + {"AttrCallLine", Const, 0, ""}, + {"AttrCallOrigin", Const, 14, ""}, + {"AttrCallPC", Const, 14, ""}, + {"AttrCallParameter", Const, 14, ""}, + {"AttrCallReturnPC", Const, 14, ""}, + {"AttrCallTailCall", Const, 14, ""}, + {"AttrCallTarget", Const, 14, ""}, + {"AttrCallTargetClobbered", Const, 14, ""}, + {"AttrCallValue", Const, 14, ""}, + {"AttrCalling", Const, 0, ""}, + {"AttrCommonRef", Const, 0, ""}, + {"AttrCompDir", Const, 0, ""}, + {"AttrConstExpr", Const, 14, ""}, + {"AttrConstValue", Const, 0, ""}, + {"AttrContainingType", Const, 0, ""}, + {"AttrCount", Const, 0, ""}, + {"AttrDataBitOffset", Const, 14, ""}, + {"AttrDataLocation", Const, 0, ""}, + {"AttrDataMemberLoc", Const, 0, ""}, + {"AttrDecimalScale", Const, 14, ""}, + {"AttrDecimalSign", Const, 14, ""}, + {"AttrDeclColumn", Const, 0, ""}, + {"AttrDeclFile", Const, 0, ""}, + {"AttrDeclLine", Const, 0, ""}, + {"AttrDeclaration", Const, 0, ""}, + {"AttrDefaultValue", Const, 0, ""}, + {"AttrDefaulted", Const, 14, ""}, + {"AttrDeleted", Const, 14, ""}, + {"AttrDescription", Const, 0, ""}, + {"AttrDigitCount", Const, 14, ""}, + {"AttrDiscr", Const, 0, ""}, + {"AttrDiscrList", Const, 0, ""}, + {"AttrDiscrValue", Const, 0, ""}, + {"AttrDwoName", Const, 14, ""}, + {"AttrElemental", Const, 14, ""}, + {"AttrEncoding", Const, 0, ""}, + {"AttrEndianity", Const, 14, ""}, + {"AttrEntrypc", Const, 0, ""}, + {"AttrEnumClass", Const, 14, ""}, + {"AttrExplicit", Const, 14, ""}, + {"AttrExportSymbols", Const, 14, ""}, + {"AttrExtension", Const, 0, ""}, + {"AttrExternal", Const, 0, ""}, + {"AttrFrameBase", Const, 0, ""}, + {"AttrFriend", Const, 0, ""}, + {"AttrHighpc", Const, 0, ""}, + {"AttrIdentifierCase", Const, 0, ""}, + {"AttrImport", Const, 0, ""}, + {"AttrInline", Const, 0, ""}, + {"AttrIsOptional", Const, 0, ""}, + {"AttrLanguage", Const, 0, ""}, + {"AttrLinkageName", Const, 14, ""}, + {"AttrLocation", Const, 0, ""}, + {"AttrLoclistsBase", Const, 14, ""}, + {"AttrLowerBound", Const, 0, ""}, + {"AttrLowpc", Const, 0, ""}, + {"AttrMacroInfo", Const, 0, ""}, + {"AttrMacros", Const, 14, ""}, + {"AttrMainSubprogram", Const, 14, ""}, + {"AttrMutable", Const, 14, ""}, + {"AttrName", Const, 0, ""}, + {"AttrNamelistItem", Const, 0, ""}, + {"AttrNoreturn", Const, 14, ""}, + {"AttrObjectPointer", Const, 14, ""}, + {"AttrOrdering", Const, 0, ""}, + {"AttrPictureString", Const, 14, ""}, + {"AttrPriority", Const, 0, ""}, + {"AttrProducer", Const, 0, ""}, + {"AttrPrototyped", Const, 0, ""}, + {"AttrPure", Const, 14, ""}, + {"AttrRanges", Const, 0, ""}, + {"AttrRank", Const, 14, ""}, + {"AttrRecursive", Const, 14, ""}, + {"AttrReference", Const, 14, ""}, + {"AttrReturnAddr", Const, 0, ""}, + {"AttrRnglistsBase", Const, 14, ""}, + {"AttrRvalueReference", Const, 14, ""}, + {"AttrSegment", Const, 0, ""}, + {"AttrSibling", Const, 0, ""}, + {"AttrSignature", Const, 14, ""}, + {"AttrSmall", Const, 14, ""}, + {"AttrSpecification", Const, 0, ""}, + {"AttrStartScope", Const, 0, ""}, + {"AttrStaticLink", Const, 0, ""}, + {"AttrStmtList", Const, 0, ""}, + {"AttrStrOffsetsBase", Const, 14, ""}, + {"AttrStride", Const, 0, ""}, + {"AttrStrideSize", Const, 0, ""}, + {"AttrStringLength", Const, 0, ""}, + {"AttrStringLengthBitSize", Const, 14, ""}, + {"AttrStringLengthByteSize", Const, 14, ""}, + {"AttrThreadsScaled", Const, 14, ""}, + {"AttrTrampoline", Const, 0, ""}, + {"AttrType", Const, 0, ""}, + {"AttrUpperBound", Const, 0, ""}, + {"AttrUseLocation", Const, 0, ""}, + {"AttrUseUTF8", Const, 0, ""}, + {"AttrVarParam", Const, 0, ""}, + {"AttrVirtuality", Const, 0, ""}, + {"AttrVisibility", Const, 0, ""}, + {"AttrVtableElemLoc", Const, 0, ""}, + {"BasicType", Type, 0, ""}, + {"BasicType.BitOffset", Field, 0, ""}, + {"BasicType.BitSize", Field, 0, ""}, + {"BasicType.CommonType", Field, 0, ""}, + {"BasicType.DataBitOffset", Field, 18, ""}, + {"BoolType", Type, 0, ""}, + {"BoolType.BasicType", Field, 0, ""}, + {"CharType", Type, 0, ""}, + {"CharType.BasicType", Field, 0, ""}, + {"Class", Type, 5, ""}, + {"ClassAddrPtr", Const, 14, ""}, + {"ClassAddress", Const, 5, ""}, + {"ClassBlock", Const, 5, ""}, + {"ClassConstant", Const, 5, ""}, + {"ClassExprLoc", Const, 5, ""}, + {"ClassFlag", Const, 5, ""}, + {"ClassLinePtr", Const, 5, ""}, + {"ClassLocList", Const, 14, ""}, + {"ClassLocListPtr", Const, 5, ""}, + {"ClassMacPtr", Const, 5, ""}, + {"ClassRangeListPtr", Const, 5, ""}, + {"ClassReference", Const, 5, ""}, + {"ClassReferenceAlt", Const, 5, ""}, + {"ClassReferenceSig", Const, 5, ""}, + {"ClassRngList", Const, 14, ""}, + {"ClassRngListsPtr", Const, 14, ""}, + {"ClassStrOffsetsPtr", Const, 14, ""}, + {"ClassString", Const, 5, ""}, + {"ClassStringAlt", Const, 5, ""}, + {"ClassUnknown", Const, 6, ""}, + {"CommonType", Type, 0, ""}, + {"CommonType.ByteSize", Field, 0, ""}, + {"CommonType.Name", Field, 0, ""}, + {"ComplexType", Type, 0, ""}, + {"ComplexType.BasicType", Field, 0, ""}, + {"Data", Type, 0, ""}, + {"DecodeError", Type, 0, ""}, + {"DecodeError.Err", Field, 0, ""}, + {"DecodeError.Name", Field, 0, ""}, + {"DecodeError.Offset", Field, 0, ""}, + {"DotDotDotType", Type, 0, ""}, + {"DotDotDotType.CommonType", Field, 0, ""}, + {"Entry", Type, 0, ""}, + {"Entry.Children", Field, 0, ""}, + {"Entry.Field", Field, 0, ""}, + {"Entry.Offset", Field, 0, ""}, + {"Entry.Tag", Field, 0, ""}, + {"EnumType", Type, 0, ""}, + {"EnumType.CommonType", Field, 0, ""}, + {"EnumType.EnumName", Field, 0, ""}, + {"EnumType.Val", Field, 0, ""}, + {"EnumValue", Type, 0, ""}, + {"EnumValue.Name", Field, 0, ""}, + {"EnumValue.Val", Field, 0, ""}, + {"ErrUnknownPC", Var, 5, ""}, + {"Field", Type, 0, ""}, + {"Field.Attr", Field, 0, ""}, + {"Field.Class", Field, 5, ""}, + {"Field.Val", Field, 0, ""}, + {"FloatType", Type, 0, ""}, + {"FloatType.BasicType", Field, 0, ""}, + {"FuncType", Type, 0, ""}, + {"FuncType.CommonType", Field, 0, ""}, + {"FuncType.ParamType", Field, 0, ""}, + {"FuncType.ReturnType", Field, 0, ""}, + {"IntType", Type, 0, ""}, + {"IntType.BasicType", Field, 0, ""}, + {"LineEntry", Type, 5, ""}, + {"LineEntry.Address", Field, 5, ""}, + {"LineEntry.BasicBlock", Field, 5, ""}, + {"LineEntry.Column", Field, 5, ""}, + {"LineEntry.Discriminator", Field, 5, ""}, + {"LineEntry.EndSequence", Field, 5, ""}, + {"LineEntry.EpilogueBegin", Field, 5, ""}, + {"LineEntry.File", Field, 5, ""}, + {"LineEntry.ISA", Field, 5, ""}, + {"LineEntry.IsStmt", Field, 5, ""}, + {"LineEntry.Line", Field, 5, ""}, + {"LineEntry.OpIndex", Field, 5, ""}, + {"LineEntry.PrologueEnd", Field, 5, ""}, + {"LineFile", Type, 5, ""}, + {"LineFile.Length", Field, 5, ""}, + {"LineFile.Mtime", Field, 5, ""}, + {"LineFile.Name", Field, 5, ""}, + {"LineReader", Type, 5, ""}, + {"LineReaderPos", Type, 5, ""}, + {"New", Func, 0, "func(abbrev []byte, aranges []byte, frame []byte, info []byte, line []byte, pubnames []byte, ranges []byte, str []byte) (*Data, error)"}, + {"Offset", Type, 0, ""}, + {"PtrType", Type, 0, ""}, + {"PtrType.CommonType", Field, 0, ""}, + {"PtrType.Type", Field, 0, ""}, + {"QualType", Type, 0, ""}, + {"QualType.CommonType", Field, 0, ""}, + {"QualType.Qual", Field, 0, ""}, + {"QualType.Type", Field, 0, ""}, + {"Reader", Type, 0, ""}, + {"StructField", Type, 0, ""}, + {"StructField.BitOffset", Field, 0, ""}, + {"StructField.BitSize", Field, 0, ""}, + {"StructField.ByteOffset", Field, 0, ""}, + {"StructField.ByteSize", Field, 0, ""}, + {"StructField.DataBitOffset", Field, 18, ""}, + {"StructField.Name", Field, 0, ""}, + {"StructField.Type", Field, 0, ""}, + {"StructType", Type, 0, ""}, + {"StructType.CommonType", Field, 0, ""}, + {"StructType.Field", Field, 0, ""}, + {"StructType.Incomplete", Field, 0, ""}, + {"StructType.Kind", Field, 0, ""}, + {"StructType.StructName", Field, 0, ""}, + {"Tag", Type, 0, ""}, + {"TagAccessDeclaration", Const, 0, ""}, + {"TagArrayType", Const, 0, ""}, + {"TagAtomicType", Const, 14, ""}, + {"TagBaseType", Const, 0, ""}, + {"TagCallSite", Const, 14, ""}, + {"TagCallSiteParameter", Const, 14, ""}, + {"TagCatchDwarfBlock", Const, 0, ""}, + {"TagClassType", Const, 0, ""}, + {"TagCoarrayType", Const, 14, ""}, + {"TagCommonDwarfBlock", Const, 0, ""}, + {"TagCommonInclusion", Const, 0, ""}, + {"TagCompileUnit", Const, 0, ""}, + {"TagCondition", Const, 3, ""}, + {"TagConstType", Const, 0, ""}, + {"TagConstant", Const, 0, ""}, + {"TagDwarfProcedure", Const, 0, ""}, + {"TagDynamicType", Const, 14, ""}, + {"TagEntryPoint", Const, 0, ""}, + {"TagEnumerationType", Const, 0, ""}, + {"TagEnumerator", Const, 0, ""}, + {"TagFileType", Const, 0, ""}, + {"TagFormalParameter", Const, 0, ""}, + {"TagFriend", Const, 0, ""}, + {"TagGenericSubrange", Const, 14, ""}, + {"TagImmutableType", Const, 14, ""}, + {"TagImportedDeclaration", Const, 0, ""}, + {"TagImportedModule", Const, 0, ""}, + {"TagImportedUnit", Const, 0, ""}, + {"TagInheritance", Const, 0, ""}, + {"TagInlinedSubroutine", Const, 0, ""}, + {"TagInterfaceType", Const, 0, ""}, + {"TagLabel", Const, 0, ""}, + {"TagLexDwarfBlock", Const, 0, ""}, + {"TagMember", Const, 0, ""}, + {"TagModule", Const, 0, ""}, + {"TagMutableType", Const, 0, ""}, + {"TagNamelist", Const, 0, ""}, + {"TagNamelistItem", Const, 0, ""}, + {"TagNamespace", Const, 0, ""}, + {"TagPackedType", Const, 0, ""}, + {"TagPartialUnit", Const, 0, ""}, + {"TagPointerType", Const, 0, ""}, + {"TagPtrToMemberType", Const, 0, ""}, + {"TagReferenceType", Const, 0, ""}, + {"TagRestrictType", Const, 0, ""}, + {"TagRvalueReferenceType", Const, 3, ""}, + {"TagSetType", Const, 0, ""}, + {"TagSharedType", Const, 3, ""}, + {"TagSkeletonUnit", Const, 14, ""}, + {"TagStringType", Const, 0, ""}, + {"TagStructType", Const, 0, ""}, + {"TagSubprogram", Const, 0, ""}, + {"TagSubrangeType", Const, 0, ""}, + {"TagSubroutineType", Const, 0, ""}, + {"TagTemplateAlias", Const, 3, ""}, + {"TagTemplateTypeParameter", Const, 0, ""}, + {"TagTemplateValueParameter", Const, 0, ""}, + {"TagThrownType", Const, 0, ""}, + {"TagTryDwarfBlock", Const, 0, ""}, + {"TagTypeUnit", Const, 3, ""}, + {"TagTypedef", Const, 0, ""}, + {"TagUnionType", Const, 0, ""}, + {"TagUnspecifiedParameters", Const, 0, ""}, + {"TagUnspecifiedType", Const, 0, ""}, + {"TagVariable", Const, 0, ""}, + {"TagVariant", Const, 0, ""}, + {"TagVariantPart", Const, 0, ""}, + {"TagVolatileType", Const, 0, ""}, + {"TagWithStmt", Const, 0, ""}, + {"Type", Type, 0, ""}, + {"TypedefType", Type, 0, ""}, + {"TypedefType.CommonType", Field, 0, ""}, + {"TypedefType.Type", Field, 0, ""}, + {"UcharType", Type, 0, ""}, + {"UcharType.BasicType", Field, 0, ""}, + {"UintType", Type, 0, ""}, + {"UintType.BasicType", Field, 0, ""}, + {"UnspecifiedType", Type, 4, ""}, + {"UnspecifiedType.BasicType", Field, 4, ""}, + {"UnsupportedType", Type, 13, ""}, + {"UnsupportedType.CommonType", Field, 13, ""}, + {"UnsupportedType.Tag", Field, 13, ""}, + {"VoidType", Type, 0, ""}, + {"VoidType.CommonType", Field, 0, ""}, }, "debug/elf": { - {"(*File).Close", Method, 0}, - {"(*File).DWARF", Method, 0}, - {"(*File).DynString", Method, 1}, - {"(*File).DynValue", Method, 21}, - {"(*File).DynamicSymbols", Method, 4}, - {"(*File).DynamicVersionNeeds", Method, 24}, - {"(*File).DynamicVersions", Method, 24}, - {"(*File).ImportedLibraries", Method, 0}, - {"(*File).ImportedSymbols", Method, 0}, - {"(*File).Section", Method, 0}, - {"(*File).SectionByType", Method, 0}, - {"(*File).Symbols", Method, 0}, - {"(*FormatError).Error", Method, 0}, - {"(*Prog).Open", Method, 0}, - {"(*Section).Data", Method, 0}, - {"(*Section).Open", Method, 0}, - {"(Class).GoString", Method, 0}, - {"(Class).String", Method, 0}, - {"(CompressionType).GoString", Method, 6}, - {"(CompressionType).String", Method, 6}, - {"(Data).GoString", Method, 0}, - {"(Data).String", Method, 0}, - {"(DynFlag).GoString", Method, 0}, - {"(DynFlag).String", Method, 0}, - {"(DynFlag1).GoString", Method, 21}, - {"(DynFlag1).String", Method, 21}, - {"(DynTag).GoString", Method, 0}, - {"(DynTag).String", Method, 0}, - {"(Machine).GoString", Method, 0}, - {"(Machine).String", Method, 0}, - {"(NType).GoString", Method, 0}, - {"(NType).String", Method, 0}, - {"(OSABI).GoString", Method, 0}, - {"(OSABI).String", Method, 0}, - {"(Prog).ReadAt", Method, 0}, - {"(ProgFlag).GoString", Method, 0}, - {"(ProgFlag).String", Method, 0}, - {"(ProgType).GoString", Method, 0}, - {"(ProgType).String", Method, 0}, - {"(R_386).GoString", Method, 0}, - {"(R_386).String", Method, 0}, - {"(R_390).GoString", Method, 7}, - {"(R_390).String", Method, 7}, - {"(R_AARCH64).GoString", Method, 4}, - {"(R_AARCH64).String", Method, 4}, - {"(R_ALPHA).GoString", Method, 0}, - {"(R_ALPHA).String", Method, 0}, - {"(R_ARM).GoString", Method, 0}, - {"(R_ARM).String", Method, 0}, - {"(R_LARCH).GoString", Method, 19}, - {"(R_LARCH).String", Method, 19}, - {"(R_MIPS).GoString", Method, 6}, - {"(R_MIPS).String", Method, 6}, - {"(R_PPC).GoString", Method, 0}, - {"(R_PPC).String", Method, 0}, - {"(R_PPC64).GoString", Method, 5}, - {"(R_PPC64).String", Method, 5}, - {"(R_RISCV).GoString", Method, 11}, - {"(R_RISCV).String", Method, 11}, - {"(R_SPARC).GoString", Method, 0}, - {"(R_SPARC).String", Method, 0}, - {"(R_X86_64).GoString", Method, 0}, - {"(R_X86_64).String", Method, 0}, - {"(Section).ReadAt", Method, 0}, - {"(SectionFlag).GoString", Method, 0}, - {"(SectionFlag).String", Method, 0}, - {"(SectionIndex).GoString", Method, 0}, - {"(SectionIndex).String", Method, 0}, - {"(SectionType).GoString", Method, 0}, - {"(SectionType).String", Method, 0}, - {"(SymBind).GoString", Method, 0}, - {"(SymBind).String", Method, 0}, - {"(SymType).GoString", Method, 0}, - {"(SymType).String", Method, 0}, - {"(SymVis).GoString", Method, 0}, - {"(SymVis).String", Method, 0}, - {"(Type).GoString", Method, 0}, - {"(Type).String", Method, 0}, - {"(Version).GoString", Method, 0}, - {"(Version).String", Method, 0}, - {"ARM_MAGIC_TRAMP_NUMBER", Const, 0}, - {"COMPRESS_HIOS", Const, 6}, - {"COMPRESS_HIPROC", Const, 6}, - {"COMPRESS_LOOS", Const, 6}, - {"COMPRESS_LOPROC", Const, 6}, - {"COMPRESS_ZLIB", Const, 6}, - {"COMPRESS_ZSTD", Const, 21}, - {"Chdr32", Type, 6}, - {"Chdr32.Addralign", Field, 6}, - {"Chdr32.Size", Field, 6}, - {"Chdr32.Type", Field, 6}, - {"Chdr64", Type, 6}, - {"Chdr64.Addralign", Field, 6}, - {"Chdr64.Size", Field, 6}, - {"Chdr64.Type", Field, 6}, - {"Class", Type, 0}, - {"CompressionType", Type, 6}, - {"DF_1_CONFALT", Const, 21}, - {"DF_1_DIRECT", Const, 21}, - {"DF_1_DISPRELDNE", Const, 21}, - {"DF_1_DISPRELPND", Const, 21}, - {"DF_1_EDITED", Const, 21}, - {"DF_1_ENDFILTEE", Const, 21}, - {"DF_1_GLOBAL", Const, 21}, - {"DF_1_GLOBAUDIT", Const, 21}, - {"DF_1_GROUP", Const, 21}, - {"DF_1_IGNMULDEF", Const, 21}, - {"DF_1_INITFIRST", Const, 21}, - {"DF_1_INTERPOSE", Const, 21}, - {"DF_1_KMOD", Const, 21}, - {"DF_1_LOADFLTR", Const, 21}, - {"DF_1_NOCOMMON", Const, 21}, - {"DF_1_NODEFLIB", Const, 21}, - {"DF_1_NODELETE", Const, 21}, - {"DF_1_NODIRECT", Const, 21}, - {"DF_1_NODUMP", Const, 21}, - {"DF_1_NOHDR", Const, 21}, - {"DF_1_NOKSYMS", Const, 21}, - {"DF_1_NOOPEN", Const, 21}, - {"DF_1_NORELOC", Const, 21}, - {"DF_1_NOW", Const, 21}, - {"DF_1_ORIGIN", Const, 21}, - {"DF_1_PIE", Const, 21}, - {"DF_1_SINGLETON", Const, 21}, - {"DF_1_STUB", Const, 21}, - {"DF_1_SYMINTPOSE", Const, 21}, - {"DF_1_TRANS", Const, 21}, - {"DF_1_WEAKFILTER", Const, 21}, - {"DF_BIND_NOW", Const, 0}, - {"DF_ORIGIN", Const, 0}, - {"DF_STATIC_TLS", Const, 0}, - {"DF_SYMBOLIC", Const, 0}, - {"DF_TEXTREL", Const, 0}, - {"DT_ADDRRNGHI", Const, 16}, - {"DT_ADDRRNGLO", Const, 16}, - {"DT_AUDIT", Const, 16}, - {"DT_AUXILIARY", Const, 16}, - {"DT_BIND_NOW", Const, 0}, - {"DT_CHECKSUM", Const, 16}, - {"DT_CONFIG", Const, 16}, - {"DT_DEBUG", Const, 0}, - {"DT_DEPAUDIT", Const, 16}, - {"DT_ENCODING", Const, 0}, - {"DT_FEATURE", Const, 16}, - {"DT_FILTER", Const, 16}, - {"DT_FINI", Const, 0}, - {"DT_FINI_ARRAY", Const, 0}, - {"DT_FINI_ARRAYSZ", Const, 0}, - {"DT_FLAGS", Const, 0}, - {"DT_FLAGS_1", Const, 16}, - {"DT_GNU_CONFLICT", Const, 16}, - {"DT_GNU_CONFLICTSZ", Const, 16}, - {"DT_GNU_HASH", Const, 16}, - {"DT_GNU_LIBLIST", Const, 16}, - {"DT_GNU_LIBLISTSZ", Const, 16}, - {"DT_GNU_PRELINKED", Const, 16}, - {"DT_HASH", Const, 0}, - {"DT_HIOS", Const, 0}, - {"DT_HIPROC", Const, 0}, - {"DT_INIT", Const, 0}, - {"DT_INIT_ARRAY", Const, 0}, - {"DT_INIT_ARRAYSZ", Const, 0}, - {"DT_JMPREL", Const, 0}, - {"DT_LOOS", Const, 0}, - {"DT_LOPROC", Const, 0}, - {"DT_MIPS_AUX_DYNAMIC", Const, 16}, - {"DT_MIPS_BASE_ADDRESS", Const, 16}, - {"DT_MIPS_COMPACT_SIZE", Const, 16}, - {"DT_MIPS_CONFLICT", Const, 16}, - {"DT_MIPS_CONFLICTNO", Const, 16}, - {"DT_MIPS_CXX_FLAGS", Const, 16}, - {"DT_MIPS_DELTA_CLASS", Const, 16}, - {"DT_MIPS_DELTA_CLASSSYM", Const, 16}, - {"DT_MIPS_DELTA_CLASSSYM_NO", Const, 16}, - {"DT_MIPS_DELTA_CLASS_NO", Const, 16}, - {"DT_MIPS_DELTA_INSTANCE", Const, 16}, - {"DT_MIPS_DELTA_INSTANCE_NO", Const, 16}, - {"DT_MIPS_DELTA_RELOC", Const, 16}, - {"DT_MIPS_DELTA_RELOC_NO", Const, 16}, - {"DT_MIPS_DELTA_SYM", Const, 16}, - {"DT_MIPS_DELTA_SYM_NO", Const, 16}, - {"DT_MIPS_DYNSTR_ALIGN", Const, 16}, - {"DT_MIPS_FLAGS", Const, 16}, - {"DT_MIPS_GOTSYM", Const, 16}, - {"DT_MIPS_GP_VALUE", Const, 16}, - {"DT_MIPS_HIDDEN_GOTIDX", Const, 16}, - {"DT_MIPS_HIPAGENO", Const, 16}, - {"DT_MIPS_ICHECKSUM", Const, 16}, - {"DT_MIPS_INTERFACE", Const, 16}, - {"DT_MIPS_INTERFACE_SIZE", Const, 16}, - {"DT_MIPS_IVERSION", Const, 16}, - {"DT_MIPS_LIBLIST", Const, 16}, - {"DT_MIPS_LIBLISTNO", Const, 16}, - {"DT_MIPS_LOCALPAGE_GOTIDX", Const, 16}, - {"DT_MIPS_LOCAL_GOTIDX", Const, 16}, - {"DT_MIPS_LOCAL_GOTNO", Const, 16}, - {"DT_MIPS_MSYM", Const, 16}, - {"DT_MIPS_OPTIONS", Const, 16}, - {"DT_MIPS_PERF_SUFFIX", Const, 16}, - {"DT_MIPS_PIXIE_INIT", Const, 16}, - {"DT_MIPS_PLTGOT", Const, 16}, - {"DT_MIPS_PROTECTED_GOTIDX", Const, 16}, - {"DT_MIPS_RLD_MAP", Const, 16}, - {"DT_MIPS_RLD_MAP_REL", Const, 16}, - {"DT_MIPS_RLD_TEXT_RESOLVE_ADDR", Const, 16}, - {"DT_MIPS_RLD_VERSION", Const, 16}, - {"DT_MIPS_RWPLT", Const, 16}, - {"DT_MIPS_SYMBOL_LIB", Const, 16}, - {"DT_MIPS_SYMTABNO", Const, 16}, - {"DT_MIPS_TIME_STAMP", Const, 16}, - {"DT_MIPS_UNREFEXTNO", Const, 16}, - {"DT_MOVEENT", Const, 16}, - {"DT_MOVESZ", Const, 16}, - {"DT_MOVETAB", Const, 16}, - {"DT_NEEDED", Const, 0}, - {"DT_NULL", Const, 0}, - {"DT_PLTGOT", Const, 0}, - {"DT_PLTPAD", Const, 16}, - {"DT_PLTPADSZ", Const, 16}, - {"DT_PLTREL", Const, 0}, - {"DT_PLTRELSZ", Const, 0}, - {"DT_POSFLAG_1", Const, 16}, - {"DT_PPC64_GLINK", Const, 16}, - {"DT_PPC64_OPD", Const, 16}, - {"DT_PPC64_OPDSZ", Const, 16}, - {"DT_PPC64_OPT", Const, 16}, - {"DT_PPC_GOT", Const, 16}, - {"DT_PPC_OPT", Const, 16}, - {"DT_PREINIT_ARRAY", Const, 0}, - {"DT_PREINIT_ARRAYSZ", Const, 0}, - {"DT_REL", Const, 0}, - {"DT_RELA", Const, 0}, - {"DT_RELACOUNT", Const, 16}, - {"DT_RELAENT", Const, 0}, - {"DT_RELASZ", Const, 0}, - {"DT_RELCOUNT", Const, 16}, - {"DT_RELENT", Const, 0}, - {"DT_RELSZ", Const, 0}, - {"DT_RPATH", Const, 0}, - {"DT_RUNPATH", Const, 0}, - {"DT_SONAME", Const, 0}, - {"DT_SPARC_REGISTER", Const, 16}, - {"DT_STRSZ", Const, 0}, - {"DT_STRTAB", Const, 0}, - {"DT_SYMBOLIC", Const, 0}, - {"DT_SYMENT", Const, 0}, - {"DT_SYMINENT", Const, 16}, - {"DT_SYMINFO", Const, 16}, - {"DT_SYMINSZ", Const, 16}, - {"DT_SYMTAB", Const, 0}, - {"DT_SYMTAB_SHNDX", Const, 16}, - {"DT_TEXTREL", Const, 0}, - {"DT_TLSDESC_GOT", Const, 16}, - {"DT_TLSDESC_PLT", Const, 16}, - {"DT_USED", Const, 16}, - {"DT_VALRNGHI", Const, 16}, - {"DT_VALRNGLO", Const, 16}, - {"DT_VERDEF", Const, 16}, - {"DT_VERDEFNUM", Const, 16}, - {"DT_VERNEED", Const, 0}, - {"DT_VERNEEDNUM", Const, 0}, - {"DT_VERSYM", Const, 0}, - {"Data", Type, 0}, - {"Dyn32", Type, 0}, - {"Dyn32.Tag", Field, 0}, - {"Dyn32.Val", Field, 0}, - {"Dyn64", Type, 0}, - {"Dyn64.Tag", Field, 0}, - {"Dyn64.Val", Field, 0}, - {"DynFlag", Type, 0}, - {"DynFlag1", Type, 21}, - {"DynTag", Type, 0}, - {"DynamicVersion", Type, 24}, - {"DynamicVersion.Deps", Field, 24}, - {"DynamicVersion.Flags", Field, 24}, - {"DynamicVersion.Index", Field, 24}, - {"DynamicVersion.Name", Field, 24}, - {"DynamicVersionDep", Type, 24}, - {"DynamicVersionDep.Dep", Field, 24}, - {"DynamicVersionDep.Flags", Field, 24}, - {"DynamicVersionDep.Index", Field, 24}, - {"DynamicVersionFlag", Type, 24}, - {"DynamicVersionNeed", Type, 24}, - {"DynamicVersionNeed.Name", Field, 24}, - {"DynamicVersionNeed.Needs", Field, 24}, - {"EI_ABIVERSION", Const, 0}, - {"EI_CLASS", Const, 0}, - {"EI_DATA", Const, 0}, - {"EI_NIDENT", Const, 0}, - {"EI_OSABI", Const, 0}, - {"EI_PAD", Const, 0}, - {"EI_VERSION", Const, 0}, - {"ELFCLASS32", Const, 0}, - {"ELFCLASS64", Const, 0}, - {"ELFCLASSNONE", Const, 0}, - {"ELFDATA2LSB", Const, 0}, - {"ELFDATA2MSB", Const, 0}, - {"ELFDATANONE", Const, 0}, - {"ELFMAG", Const, 0}, - {"ELFOSABI_86OPEN", Const, 0}, - {"ELFOSABI_AIX", Const, 0}, - {"ELFOSABI_ARM", Const, 0}, - {"ELFOSABI_AROS", Const, 11}, - {"ELFOSABI_CLOUDABI", Const, 11}, - {"ELFOSABI_FENIXOS", Const, 11}, - {"ELFOSABI_FREEBSD", Const, 0}, - {"ELFOSABI_HPUX", Const, 0}, - {"ELFOSABI_HURD", Const, 0}, - {"ELFOSABI_IRIX", Const, 0}, - {"ELFOSABI_LINUX", Const, 0}, - {"ELFOSABI_MODESTO", Const, 0}, - {"ELFOSABI_NETBSD", Const, 0}, - {"ELFOSABI_NONE", Const, 0}, - {"ELFOSABI_NSK", Const, 0}, - {"ELFOSABI_OPENBSD", Const, 0}, - {"ELFOSABI_OPENVMS", Const, 0}, - {"ELFOSABI_SOLARIS", Const, 0}, - {"ELFOSABI_STANDALONE", Const, 0}, - {"ELFOSABI_TRU64", Const, 0}, - {"EM_386", Const, 0}, - {"EM_486", Const, 0}, - {"EM_56800EX", Const, 11}, - {"EM_68HC05", Const, 11}, - {"EM_68HC08", Const, 11}, - {"EM_68HC11", Const, 11}, - {"EM_68HC12", Const, 0}, - {"EM_68HC16", Const, 11}, - {"EM_68K", Const, 0}, - {"EM_78KOR", Const, 11}, - {"EM_8051", Const, 11}, - {"EM_860", Const, 0}, - {"EM_88K", Const, 0}, - {"EM_960", Const, 0}, - {"EM_AARCH64", Const, 4}, - {"EM_ALPHA", Const, 0}, - {"EM_ALPHA_STD", Const, 0}, - {"EM_ALTERA_NIOS2", Const, 11}, - {"EM_AMDGPU", Const, 11}, - {"EM_ARC", Const, 0}, - {"EM_ARCA", Const, 11}, - {"EM_ARC_COMPACT", Const, 11}, - {"EM_ARC_COMPACT2", Const, 11}, - {"EM_ARM", Const, 0}, - {"EM_AVR", Const, 11}, - {"EM_AVR32", Const, 11}, - {"EM_BA1", Const, 11}, - {"EM_BA2", Const, 11}, - {"EM_BLACKFIN", Const, 11}, - {"EM_BPF", Const, 11}, - {"EM_C166", Const, 11}, - {"EM_CDP", Const, 11}, - {"EM_CE", Const, 11}, - {"EM_CLOUDSHIELD", Const, 11}, - {"EM_COGE", Const, 11}, - {"EM_COLDFIRE", Const, 0}, - {"EM_COOL", Const, 11}, - {"EM_COREA_1ST", Const, 11}, - {"EM_COREA_2ND", Const, 11}, - {"EM_CR", Const, 11}, - {"EM_CR16", Const, 11}, - {"EM_CRAYNV2", Const, 11}, - {"EM_CRIS", Const, 11}, - {"EM_CRX", Const, 11}, - {"EM_CSR_KALIMBA", Const, 11}, - {"EM_CUDA", Const, 11}, - {"EM_CYPRESS_M8C", Const, 11}, - {"EM_D10V", Const, 11}, - {"EM_D30V", Const, 11}, - {"EM_DSP24", Const, 11}, - {"EM_DSPIC30F", Const, 11}, - {"EM_DXP", Const, 11}, - {"EM_ECOG1", Const, 11}, - {"EM_ECOG16", Const, 11}, - {"EM_ECOG1X", Const, 11}, - {"EM_ECOG2", Const, 11}, - {"EM_ETPU", Const, 11}, - {"EM_EXCESS", Const, 11}, - {"EM_F2MC16", Const, 11}, - {"EM_FIREPATH", Const, 11}, - {"EM_FR20", Const, 0}, - {"EM_FR30", Const, 11}, - {"EM_FT32", Const, 11}, - {"EM_FX66", Const, 11}, - {"EM_H8S", Const, 0}, - {"EM_H8_300", Const, 0}, - {"EM_H8_300H", Const, 0}, - {"EM_H8_500", Const, 0}, - {"EM_HUANY", Const, 11}, - {"EM_IA_64", Const, 0}, - {"EM_INTEL205", Const, 11}, - {"EM_INTEL206", Const, 11}, - {"EM_INTEL207", Const, 11}, - {"EM_INTEL208", Const, 11}, - {"EM_INTEL209", Const, 11}, - {"EM_IP2K", Const, 11}, - {"EM_JAVELIN", Const, 11}, - {"EM_K10M", Const, 11}, - {"EM_KM32", Const, 11}, - {"EM_KMX16", Const, 11}, - {"EM_KMX32", Const, 11}, - {"EM_KMX8", Const, 11}, - {"EM_KVARC", Const, 11}, - {"EM_L10M", Const, 11}, - {"EM_LANAI", Const, 11}, - {"EM_LATTICEMICO32", Const, 11}, - {"EM_LOONGARCH", Const, 19}, - {"EM_M16C", Const, 11}, - {"EM_M32", Const, 0}, - {"EM_M32C", Const, 11}, - {"EM_M32R", Const, 11}, - {"EM_MANIK", Const, 11}, - {"EM_MAX", Const, 11}, - {"EM_MAXQ30", Const, 11}, - {"EM_MCHP_PIC", Const, 11}, - {"EM_MCST_ELBRUS", Const, 11}, - {"EM_ME16", Const, 0}, - {"EM_METAG", Const, 11}, - {"EM_MICROBLAZE", Const, 11}, - {"EM_MIPS", Const, 0}, - {"EM_MIPS_RS3_LE", Const, 0}, - {"EM_MIPS_RS4_BE", Const, 0}, - {"EM_MIPS_X", Const, 0}, - {"EM_MMA", Const, 0}, - {"EM_MMDSP_PLUS", Const, 11}, - {"EM_MMIX", Const, 11}, - {"EM_MN10200", Const, 11}, - {"EM_MN10300", Const, 11}, - {"EM_MOXIE", Const, 11}, - {"EM_MSP430", Const, 11}, - {"EM_NCPU", Const, 0}, - {"EM_NDR1", Const, 0}, - {"EM_NDS32", Const, 11}, - {"EM_NONE", Const, 0}, - {"EM_NORC", Const, 11}, - {"EM_NS32K", Const, 11}, - {"EM_OPEN8", Const, 11}, - {"EM_OPENRISC", Const, 11}, - {"EM_PARISC", Const, 0}, - {"EM_PCP", Const, 0}, - {"EM_PDP10", Const, 11}, - {"EM_PDP11", Const, 11}, - {"EM_PDSP", Const, 11}, - {"EM_PJ", Const, 11}, - {"EM_PPC", Const, 0}, - {"EM_PPC64", Const, 0}, - {"EM_PRISM", Const, 11}, - {"EM_QDSP6", Const, 11}, - {"EM_R32C", Const, 11}, - {"EM_RCE", Const, 0}, - {"EM_RH32", Const, 0}, - {"EM_RISCV", Const, 11}, - {"EM_RL78", Const, 11}, - {"EM_RS08", Const, 11}, - {"EM_RX", Const, 11}, - {"EM_S370", Const, 0}, - {"EM_S390", Const, 0}, - {"EM_SCORE7", Const, 11}, - {"EM_SEP", Const, 11}, - {"EM_SE_C17", Const, 11}, - {"EM_SE_C33", Const, 11}, - {"EM_SH", Const, 0}, - {"EM_SHARC", Const, 11}, - {"EM_SLE9X", Const, 11}, - {"EM_SNP1K", Const, 11}, - {"EM_SPARC", Const, 0}, - {"EM_SPARC32PLUS", Const, 0}, - {"EM_SPARCV9", Const, 0}, - {"EM_ST100", Const, 0}, - {"EM_ST19", Const, 11}, - {"EM_ST200", Const, 11}, - {"EM_ST7", Const, 11}, - {"EM_ST9PLUS", Const, 11}, - {"EM_STARCORE", Const, 0}, - {"EM_STM8", Const, 11}, - {"EM_STXP7X", Const, 11}, - {"EM_SVX", Const, 11}, - {"EM_TILE64", Const, 11}, - {"EM_TILEGX", Const, 11}, - {"EM_TILEPRO", Const, 11}, - {"EM_TINYJ", Const, 0}, - {"EM_TI_ARP32", Const, 11}, - {"EM_TI_C2000", Const, 11}, - {"EM_TI_C5500", Const, 11}, - {"EM_TI_C6000", Const, 11}, - {"EM_TI_PRU", Const, 11}, - {"EM_TMM_GPP", Const, 11}, - {"EM_TPC", Const, 11}, - {"EM_TRICORE", Const, 0}, - {"EM_TRIMEDIA", Const, 11}, - {"EM_TSK3000", Const, 11}, - {"EM_UNICORE", Const, 11}, - {"EM_V800", Const, 0}, - {"EM_V850", Const, 11}, - {"EM_VAX", Const, 11}, - {"EM_VIDEOCORE", Const, 11}, - {"EM_VIDEOCORE3", Const, 11}, - {"EM_VIDEOCORE5", Const, 11}, - {"EM_VISIUM", Const, 11}, - {"EM_VPP500", Const, 0}, - {"EM_X86_64", Const, 0}, - {"EM_XCORE", Const, 11}, - {"EM_XGATE", Const, 11}, - {"EM_XIMO16", Const, 11}, - {"EM_XTENSA", Const, 11}, - {"EM_Z80", Const, 11}, - {"EM_ZSP", Const, 11}, - {"ET_CORE", Const, 0}, - {"ET_DYN", Const, 0}, - {"ET_EXEC", Const, 0}, - {"ET_HIOS", Const, 0}, - {"ET_HIPROC", Const, 0}, - {"ET_LOOS", Const, 0}, - {"ET_LOPROC", Const, 0}, - {"ET_NONE", Const, 0}, - {"ET_REL", Const, 0}, - {"EV_CURRENT", Const, 0}, - {"EV_NONE", Const, 0}, - {"ErrNoSymbols", Var, 4}, - {"File", Type, 0}, - {"File.FileHeader", Field, 0}, - {"File.Progs", Field, 0}, - {"File.Sections", Field, 0}, - {"FileHeader", Type, 0}, - {"FileHeader.ABIVersion", Field, 0}, - {"FileHeader.ByteOrder", Field, 0}, - {"FileHeader.Class", Field, 0}, - {"FileHeader.Data", Field, 0}, - {"FileHeader.Entry", Field, 1}, - {"FileHeader.Machine", Field, 0}, - {"FileHeader.OSABI", Field, 0}, - {"FileHeader.Type", Field, 0}, - {"FileHeader.Version", Field, 0}, - {"FormatError", Type, 0}, - {"Header32", Type, 0}, - {"Header32.Ehsize", Field, 0}, - {"Header32.Entry", Field, 0}, - {"Header32.Flags", Field, 0}, - {"Header32.Ident", Field, 0}, - {"Header32.Machine", Field, 0}, - {"Header32.Phentsize", Field, 0}, - {"Header32.Phnum", Field, 0}, - {"Header32.Phoff", Field, 0}, - {"Header32.Shentsize", Field, 0}, - {"Header32.Shnum", Field, 0}, - {"Header32.Shoff", Field, 0}, - {"Header32.Shstrndx", Field, 0}, - {"Header32.Type", Field, 0}, - {"Header32.Version", Field, 0}, - {"Header64", Type, 0}, - {"Header64.Ehsize", Field, 0}, - {"Header64.Entry", Field, 0}, - {"Header64.Flags", Field, 0}, - {"Header64.Ident", Field, 0}, - {"Header64.Machine", Field, 0}, - {"Header64.Phentsize", Field, 0}, - {"Header64.Phnum", Field, 0}, - {"Header64.Phoff", Field, 0}, - {"Header64.Shentsize", Field, 0}, - {"Header64.Shnum", Field, 0}, - {"Header64.Shoff", Field, 0}, - {"Header64.Shstrndx", Field, 0}, - {"Header64.Type", Field, 0}, - {"Header64.Version", Field, 0}, - {"ImportedSymbol", Type, 0}, - {"ImportedSymbol.Library", Field, 0}, - {"ImportedSymbol.Name", Field, 0}, - {"ImportedSymbol.Version", Field, 0}, - {"Machine", Type, 0}, - {"NT_FPREGSET", Const, 0}, - {"NT_PRPSINFO", Const, 0}, - {"NT_PRSTATUS", Const, 0}, - {"NType", Type, 0}, - {"NewFile", Func, 0}, - {"OSABI", Type, 0}, - {"Open", Func, 0}, - {"PF_MASKOS", Const, 0}, - {"PF_MASKPROC", Const, 0}, - {"PF_R", Const, 0}, - {"PF_W", Const, 0}, - {"PF_X", Const, 0}, - {"PT_AARCH64_ARCHEXT", Const, 16}, - {"PT_AARCH64_UNWIND", Const, 16}, - {"PT_ARM_ARCHEXT", Const, 16}, - {"PT_ARM_EXIDX", Const, 16}, - {"PT_DYNAMIC", Const, 0}, - {"PT_GNU_EH_FRAME", Const, 16}, - {"PT_GNU_MBIND_HI", Const, 16}, - {"PT_GNU_MBIND_LO", Const, 16}, - {"PT_GNU_PROPERTY", Const, 16}, - {"PT_GNU_RELRO", Const, 16}, - {"PT_GNU_STACK", Const, 16}, - {"PT_HIOS", Const, 0}, - {"PT_HIPROC", Const, 0}, - {"PT_INTERP", Const, 0}, - {"PT_LOAD", Const, 0}, - {"PT_LOOS", Const, 0}, - {"PT_LOPROC", Const, 0}, - {"PT_MIPS_ABIFLAGS", Const, 16}, - {"PT_MIPS_OPTIONS", Const, 16}, - {"PT_MIPS_REGINFO", Const, 16}, - {"PT_MIPS_RTPROC", Const, 16}, - {"PT_NOTE", Const, 0}, - {"PT_NULL", Const, 0}, - {"PT_OPENBSD_BOOTDATA", Const, 16}, - {"PT_OPENBSD_NOBTCFI", Const, 23}, - {"PT_OPENBSD_RANDOMIZE", Const, 16}, - {"PT_OPENBSD_WXNEEDED", Const, 16}, - {"PT_PAX_FLAGS", Const, 16}, - {"PT_PHDR", Const, 0}, - {"PT_S390_PGSTE", Const, 16}, - {"PT_SHLIB", Const, 0}, - {"PT_SUNWSTACK", Const, 16}, - {"PT_SUNW_EH_FRAME", Const, 16}, - {"PT_TLS", Const, 0}, - {"Prog", Type, 0}, - {"Prog.ProgHeader", Field, 0}, - {"Prog.ReaderAt", Field, 0}, - {"Prog32", Type, 0}, - {"Prog32.Align", Field, 0}, - {"Prog32.Filesz", Field, 0}, - {"Prog32.Flags", Field, 0}, - {"Prog32.Memsz", Field, 0}, - {"Prog32.Off", Field, 0}, - {"Prog32.Paddr", Field, 0}, - {"Prog32.Type", Field, 0}, - {"Prog32.Vaddr", Field, 0}, - {"Prog64", Type, 0}, - {"Prog64.Align", Field, 0}, - {"Prog64.Filesz", Field, 0}, - {"Prog64.Flags", Field, 0}, - {"Prog64.Memsz", Field, 0}, - {"Prog64.Off", Field, 0}, - {"Prog64.Paddr", Field, 0}, - {"Prog64.Type", Field, 0}, - {"Prog64.Vaddr", Field, 0}, - {"ProgFlag", Type, 0}, - {"ProgHeader", Type, 0}, - {"ProgHeader.Align", Field, 0}, - {"ProgHeader.Filesz", Field, 0}, - {"ProgHeader.Flags", Field, 0}, - {"ProgHeader.Memsz", Field, 0}, - {"ProgHeader.Off", Field, 0}, - {"ProgHeader.Paddr", Field, 0}, - {"ProgHeader.Type", Field, 0}, - {"ProgHeader.Vaddr", Field, 0}, - {"ProgType", Type, 0}, - {"R_386", Type, 0}, - {"R_386_16", Const, 10}, - {"R_386_32", Const, 0}, - {"R_386_32PLT", Const, 10}, - {"R_386_8", Const, 10}, - {"R_386_COPY", Const, 0}, - {"R_386_GLOB_DAT", Const, 0}, - {"R_386_GOT32", Const, 0}, - {"R_386_GOT32X", Const, 10}, - {"R_386_GOTOFF", Const, 0}, - {"R_386_GOTPC", Const, 0}, - {"R_386_IRELATIVE", Const, 10}, - {"R_386_JMP_SLOT", Const, 0}, - {"R_386_NONE", Const, 0}, - {"R_386_PC16", Const, 10}, - {"R_386_PC32", Const, 0}, - {"R_386_PC8", Const, 10}, - {"R_386_PLT32", Const, 0}, - {"R_386_RELATIVE", Const, 0}, - {"R_386_SIZE32", Const, 10}, - {"R_386_TLS_DESC", Const, 10}, - {"R_386_TLS_DESC_CALL", Const, 10}, - {"R_386_TLS_DTPMOD32", Const, 0}, - {"R_386_TLS_DTPOFF32", Const, 0}, - {"R_386_TLS_GD", Const, 0}, - {"R_386_TLS_GD_32", Const, 0}, - {"R_386_TLS_GD_CALL", Const, 0}, - {"R_386_TLS_GD_POP", Const, 0}, - {"R_386_TLS_GD_PUSH", Const, 0}, - {"R_386_TLS_GOTDESC", Const, 10}, - {"R_386_TLS_GOTIE", Const, 0}, - {"R_386_TLS_IE", Const, 0}, - {"R_386_TLS_IE_32", Const, 0}, - {"R_386_TLS_LDM", Const, 0}, - {"R_386_TLS_LDM_32", Const, 0}, - {"R_386_TLS_LDM_CALL", Const, 0}, - {"R_386_TLS_LDM_POP", Const, 0}, - {"R_386_TLS_LDM_PUSH", Const, 0}, - {"R_386_TLS_LDO_32", Const, 0}, - {"R_386_TLS_LE", Const, 0}, - {"R_386_TLS_LE_32", Const, 0}, - {"R_386_TLS_TPOFF", Const, 0}, - {"R_386_TLS_TPOFF32", Const, 0}, - {"R_390", Type, 7}, - {"R_390_12", Const, 7}, - {"R_390_16", Const, 7}, - {"R_390_20", Const, 7}, - {"R_390_32", Const, 7}, - {"R_390_64", Const, 7}, - {"R_390_8", Const, 7}, - {"R_390_COPY", Const, 7}, - {"R_390_GLOB_DAT", Const, 7}, - {"R_390_GOT12", Const, 7}, - {"R_390_GOT16", Const, 7}, - {"R_390_GOT20", Const, 7}, - {"R_390_GOT32", Const, 7}, - {"R_390_GOT64", Const, 7}, - {"R_390_GOTENT", Const, 7}, - {"R_390_GOTOFF", Const, 7}, - {"R_390_GOTOFF16", Const, 7}, - {"R_390_GOTOFF64", Const, 7}, - {"R_390_GOTPC", Const, 7}, - {"R_390_GOTPCDBL", Const, 7}, - {"R_390_GOTPLT12", Const, 7}, - {"R_390_GOTPLT16", Const, 7}, - {"R_390_GOTPLT20", Const, 7}, - {"R_390_GOTPLT32", Const, 7}, - {"R_390_GOTPLT64", Const, 7}, - {"R_390_GOTPLTENT", Const, 7}, - {"R_390_GOTPLTOFF16", Const, 7}, - {"R_390_GOTPLTOFF32", Const, 7}, - {"R_390_GOTPLTOFF64", Const, 7}, - {"R_390_JMP_SLOT", Const, 7}, - {"R_390_NONE", Const, 7}, - {"R_390_PC16", Const, 7}, - {"R_390_PC16DBL", Const, 7}, - {"R_390_PC32", Const, 7}, - {"R_390_PC32DBL", Const, 7}, - {"R_390_PC64", Const, 7}, - {"R_390_PLT16DBL", Const, 7}, - {"R_390_PLT32", Const, 7}, - {"R_390_PLT32DBL", Const, 7}, - {"R_390_PLT64", Const, 7}, - {"R_390_RELATIVE", Const, 7}, - {"R_390_TLS_DTPMOD", Const, 7}, - {"R_390_TLS_DTPOFF", Const, 7}, - {"R_390_TLS_GD32", Const, 7}, - {"R_390_TLS_GD64", Const, 7}, - {"R_390_TLS_GDCALL", Const, 7}, - {"R_390_TLS_GOTIE12", Const, 7}, - {"R_390_TLS_GOTIE20", Const, 7}, - {"R_390_TLS_GOTIE32", Const, 7}, - {"R_390_TLS_GOTIE64", Const, 7}, - {"R_390_TLS_IE32", Const, 7}, - {"R_390_TLS_IE64", Const, 7}, - {"R_390_TLS_IEENT", Const, 7}, - {"R_390_TLS_LDCALL", Const, 7}, - {"R_390_TLS_LDM32", Const, 7}, - {"R_390_TLS_LDM64", Const, 7}, - {"R_390_TLS_LDO32", Const, 7}, - {"R_390_TLS_LDO64", Const, 7}, - {"R_390_TLS_LE32", Const, 7}, - {"R_390_TLS_LE64", Const, 7}, - {"R_390_TLS_LOAD", Const, 7}, - {"R_390_TLS_TPOFF", Const, 7}, - {"R_AARCH64", Type, 4}, - {"R_AARCH64_ABS16", Const, 4}, - {"R_AARCH64_ABS32", Const, 4}, - {"R_AARCH64_ABS64", Const, 4}, - {"R_AARCH64_ADD_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_ADR_GOT_PAGE", Const, 4}, - {"R_AARCH64_ADR_PREL_LO21", Const, 4}, - {"R_AARCH64_ADR_PREL_PG_HI21", Const, 4}, - {"R_AARCH64_ADR_PREL_PG_HI21_NC", Const, 4}, - {"R_AARCH64_CALL26", Const, 4}, - {"R_AARCH64_CONDBR19", Const, 4}, - {"R_AARCH64_COPY", Const, 4}, - {"R_AARCH64_GLOB_DAT", Const, 4}, - {"R_AARCH64_GOT_LD_PREL19", Const, 4}, - {"R_AARCH64_IRELATIVE", Const, 4}, - {"R_AARCH64_JUMP26", Const, 4}, - {"R_AARCH64_JUMP_SLOT", Const, 4}, - {"R_AARCH64_LD64_GOTOFF_LO15", Const, 10}, - {"R_AARCH64_LD64_GOTPAGE_LO15", Const, 10}, - {"R_AARCH64_LD64_GOT_LO12_NC", Const, 4}, - {"R_AARCH64_LDST128_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_LDST16_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_LDST32_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_LDST64_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_LDST8_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_LD_PREL_LO19", Const, 4}, - {"R_AARCH64_MOVW_SABS_G0", Const, 4}, - {"R_AARCH64_MOVW_SABS_G1", Const, 4}, - {"R_AARCH64_MOVW_SABS_G2", Const, 4}, - {"R_AARCH64_MOVW_UABS_G0", Const, 4}, - {"R_AARCH64_MOVW_UABS_G0_NC", Const, 4}, - {"R_AARCH64_MOVW_UABS_G1", Const, 4}, - {"R_AARCH64_MOVW_UABS_G1_NC", Const, 4}, - {"R_AARCH64_MOVW_UABS_G2", Const, 4}, - {"R_AARCH64_MOVW_UABS_G2_NC", Const, 4}, - {"R_AARCH64_MOVW_UABS_G3", Const, 4}, - {"R_AARCH64_NONE", Const, 4}, - {"R_AARCH64_NULL", Const, 4}, - {"R_AARCH64_P32_ABS16", Const, 4}, - {"R_AARCH64_P32_ABS32", Const, 4}, - {"R_AARCH64_P32_ADD_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_P32_ADR_GOT_PAGE", Const, 4}, - {"R_AARCH64_P32_ADR_PREL_LO21", Const, 4}, - {"R_AARCH64_P32_ADR_PREL_PG_HI21", Const, 4}, - {"R_AARCH64_P32_CALL26", Const, 4}, - {"R_AARCH64_P32_CONDBR19", Const, 4}, - {"R_AARCH64_P32_COPY", Const, 4}, - {"R_AARCH64_P32_GLOB_DAT", Const, 4}, - {"R_AARCH64_P32_GOT_LD_PREL19", Const, 4}, - {"R_AARCH64_P32_IRELATIVE", Const, 4}, - {"R_AARCH64_P32_JUMP26", Const, 4}, - {"R_AARCH64_P32_JUMP_SLOT", Const, 4}, - {"R_AARCH64_P32_LD32_GOT_LO12_NC", Const, 4}, - {"R_AARCH64_P32_LDST128_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_P32_LDST16_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_P32_LDST32_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_P32_LDST64_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_P32_LDST8_ABS_LO12_NC", Const, 4}, - {"R_AARCH64_P32_LD_PREL_LO19", Const, 4}, - {"R_AARCH64_P32_MOVW_SABS_G0", Const, 4}, - {"R_AARCH64_P32_MOVW_UABS_G0", Const, 4}, - {"R_AARCH64_P32_MOVW_UABS_G0_NC", Const, 4}, - {"R_AARCH64_P32_MOVW_UABS_G1", Const, 4}, - {"R_AARCH64_P32_PREL16", Const, 4}, - {"R_AARCH64_P32_PREL32", Const, 4}, - {"R_AARCH64_P32_RELATIVE", Const, 4}, - {"R_AARCH64_P32_TLSDESC", Const, 4}, - {"R_AARCH64_P32_TLSDESC_ADD_LO12_NC", Const, 4}, - {"R_AARCH64_P32_TLSDESC_ADR_PAGE21", Const, 4}, - {"R_AARCH64_P32_TLSDESC_ADR_PREL21", Const, 4}, - {"R_AARCH64_P32_TLSDESC_CALL", Const, 4}, - {"R_AARCH64_P32_TLSDESC_LD32_LO12_NC", Const, 4}, - {"R_AARCH64_P32_TLSDESC_LD_PREL19", Const, 4}, - {"R_AARCH64_P32_TLSGD_ADD_LO12_NC", Const, 4}, - {"R_AARCH64_P32_TLSGD_ADR_PAGE21", Const, 4}, - {"R_AARCH64_P32_TLSIE_ADR_GOTTPREL_PAGE21", Const, 4}, - {"R_AARCH64_P32_TLSIE_LD32_GOTTPREL_LO12_NC", Const, 4}, - {"R_AARCH64_P32_TLSIE_LD_GOTTPREL_PREL19", Const, 4}, - {"R_AARCH64_P32_TLSLE_ADD_TPREL_HI12", Const, 4}, - {"R_AARCH64_P32_TLSLE_ADD_TPREL_LO12", Const, 4}, - {"R_AARCH64_P32_TLSLE_ADD_TPREL_LO12_NC", Const, 4}, - {"R_AARCH64_P32_TLSLE_MOVW_TPREL_G0", Const, 4}, - {"R_AARCH64_P32_TLSLE_MOVW_TPREL_G0_NC", Const, 4}, - {"R_AARCH64_P32_TLSLE_MOVW_TPREL_G1", Const, 4}, - {"R_AARCH64_P32_TLS_DTPMOD", Const, 4}, - {"R_AARCH64_P32_TLS_DTPREL", Const, 4}, - {"R_AARCH64_P32_TLS_TPREL", Const, 4}, - {"R_AARCH64_P32_TSTBR14", Const, 4}, - {"R_AARCH64_PREL16", Const, 4}, - {"R_AARCH64_PREL32", Const, 4}, - {"R_AARCH64_PREL64", Const, 4}, - {"R_AARCH64_RELATIVE", Const, 4}, - {"R_AARCH64_TLSDESC", Const, 4}, - {"R_AARCH64_TLSDESC_ADD", Const, 4}, - {"R_AARCH64_TLSDESC_ADD_LO12_NC", Const, 4}, - {"R_AARCH64_TLSDESC_ADR_PAGE21", Const, 4}, - {"R_AARCH64_TLSDESC_ADR_PREL21", Const, 4}, - {"R_AARCH64_TLSDESC_CALL", Const, 4}, - {"R_AARCH64_TLSDESC_LD64_LO12_NC", Const, 4}, - {"R_AARCH64_TLSDESC_LDR", Const, 4}, - {"R_AARCH64_TLSDESC_LD_PREL19", Const, 4}, - {"R_AARCH64_TLSDESC_OFF_G0_NC", Const, 4}, - {"R_AARCH64_TLSDESC_OFF_G1", Const, 4}, - {"R_AARCH64_TLSGD_ADD_LO12_NC", Const, 4}, - {"R_AARCH64_TLSGD_ADR_PAGE21", Const, 4}, - {"R_AARCH64_TLSGD_ADR_PREL21", Const, 10}, - {"R_AARCH64_TLSGD_MOVW_G0_NC", Const, 10}, - {"R_AARCH64_TLSGD_MOVW_G1", Const, 10}, - {"R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21", Const, 4}, - {"R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC", Const, 4}, - {"R_AARCH64_TLSIE_LD_GOTTPREL_PREL19", Const, 4}, - {"R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC", Const, 4}, - {"R_AARCH64_TLSIE_MOVW_GOTTPREL_G1", Const, 4}, - {"R_AARCH64_TLSLD_ADR_PAGE21", Const, 10}, - {"R_AARCH64_TLSLD_ADR_PREL21", Const, 10}, - {"R_AARCH64_TLSLD_LDST128_DTPREL_LO12", Const, 10}, - {"R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC", Const, 10}, - {"R_AARCH64_TLSLE_ADD_TPREL_HI12", Const, 4}, - {"R_AARCH64_TLSLE_ADD_TPREL_LO12", Const, 4}, - {"R_AARCH64_TLSLE_ADD_TPREL_LO12_NC", Const, 4}, - {"R_AARCH64_TLSLE_LDST128_TPREL_LO12", Const, 10}, - {"R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC", Const, 10}, - {"R_AARCH64_TLSLE_MOVW_TPREL_G0", Const, 4}, - {"R_AARCH64_TLSLE_MOVW_TPREL_G0_NC", Const, 4}, - {"R_AARCH64_TLSLE_MOVW_TPREL_G1", Const, 4}, - {"R_AARCH64_TLSLE_MOVW_TPREL_G1_NC", Const, 4}, - {"R_AARCH64_TLSLE_MOVW_TPREL_G2", Const, 4}, - {"R_AARCH64_TLS_DTPMOD64", Const, 4}, - {"R_AARCH64_TLS_DTPREL64", Const, 4}, - {"R_AARCH64_TLS_TPREL64", Const, 4}, - {"R_AARCH64_TSTBR14", Const, 4}, - {"R_ALPHA", Type, 0}, - {"R_ALPHA_BRADDR", Const, 0}, - {"R_ALPHA_COPY", Const, 0}, - {"R_ALPHA_GLOB_DAT", Const, 0}, - {"R_ALPHA_GPDISP", Const, 0}, - {"R_ALPHA_GPREL32", Const, 0}, - {"R_ALPHA_GPRELHIGH", Const, 0}, - {"R_ALPHA_GPRELLOW", Const, 0}, - {"R_ALPHA_GPVALUE", Const, 0}, - {"R_ALPHA_HINT", Const, 0}, - {"R_ALPHA_IMMED_BR_HI32", Const, 0}, - {"R_ALPHA_IMMED_GP_16", Const, 0}, - {"R_ALPHA_IMMED_GP_HI32", Const, 0}, - {"R_ALPHA_IMMED_LO32", Const, 0}, - {"R_ALPHA_IMMED_SCN_HI32", Const, 0}, - {"R_ALPHA_JMP_SLOT", Const, 0}, - {"R_ALPHA_LITERAL", Const, 0}, - {"R_ALPHA_LITUSE", Const, 0}, - {"R_ALPHA_NONE", Const, 0}, - {"R_ALPHA_OP_PRSHIFT", Const, 0}, - {"R_ALPHA_OP_PSUB", Const, 0}, - {"R_ALPHA_OP_PUSH", Const, 0}, - {"R_ALPHA_OP_STORE", Const, 0}, - {"R_ALPHA_REFLONG", Const, 0}, - {"R_ALPHA_REFQUAD", Const, 0}, - {"R_ALPHA_RELATIVE", Const, 0}, - {"R_ALPHA_SREL16", Const, 0}, - {"R_ALPHA_SREL32", Const, 0}, - {"R_ALPHA_SREL64", Const, 0}, - {"R_ARM", Type, 0}, - {"R_ARM_ABS12", Const, 0}, - {"R_ARM_ABS16", Const, 0}, - {"R_ARM_ABS32", Const, 0}, - {"R_ARM_ABS32_NOI", Const, 10}, - {"R_ARM_ABS8", Const, 0}, - {"R_ARM_ALU_PCREL_15_8", Const, 10}, - {"R_ARM_ALU_PCREL_23_15", Const, 10}, - {"R_ARM_ALU_PCREL_7_0", Const, 10}, - {"R_ARM_ALU_PC_G0", Const, 10}, - {"R_ARM_ALU_PC_G0_NC", Const, 10}, - {"R_ARM_ALU_PC_G1", Const, 10}, - {"R_ARM_ALU_PC_G1_NC", Const, 10}, - {"R_ARM_ALU_PC_G2", Const, 10}, - {"R_ARM_ALU_SBREL_19_12_NC", Const, 10}, - {"R_ARM_ALU_SBREL_27_20_CK", Const, 10}, - {"R_ARM_ALU_SB_G0", Const, 10}, - {"R_ARM_ALU_SB_G0_NC", Const, 10}, - {"R_ARM_ALU_SB_G1", Const, 10}, - {"R_ARM_ALU_SB_G1_NC", Const, 10}, - {"R_ARM_ALU_SB_G2", Const, 10}, - {"R_ARM_AMP_VCALL9", Const, 0}, - {"R_ARM_BASE_ABS", Const, 10}, - {"R_ARM_CALL", Const, 10}, - {"R_ARM_COPY", Const, 0}, - {"R_ARM_GLOB_DAT", Const, 0}, - {"R_ARM_GNU_VTENTRY", Const, 0}, - {"R_ARM_GNU_VTINHERIT", Const, 0}, - {"R_ARM_GOT32", Const, 0}, - {"R_ARM_GOTOFF", Const, 0}, - {"R_ARM_GOTOFF12", Const, 10}, - {"R_ARM_GOTPC", Const, 0}, - {"R_ARM_GOTRELAX", Const, 10}, - {"R_ARM_GOT_ABS", Const, 10}, - {"R_ARM_GOT_BREL12", Const, 10}, - {"R_ARM_GOT_PREL", Const, 10}, - {"R_ARM_IRELATIVE", Const, 10}, - {"R_ARM_JUMP24", Const, 10}, - {"R_ARM_JUMP_SLOT", Const, 0}, - {"R_ARM_LDC_PC_G0", Const, 10}, - {"R_ARM_LDC_PC_G1", Const, 10}, - {"R_ARM_LDC_PC_G2", Const, 10}, - {"R_ARM_LDC_SB_G0", Const, 10}, - {"R_ARM_LDC_SB_G1", Const, 10}, - {"R_ARM_LDC_SB_G2", Const, 10}, - {"R_ARM_LDRS_PC_G0", Const, 10}, - {"R_ARM_LDRS_PC_G1", Const, 10}, - {"R_ARM_LDRS_PC_G2", Const, 10}, - {"R_ARM_LDRS_SB_G0", Const, 10}, - {"R_ARM_LDRS_SB_G1", Const, 10}, - {"R_ARM_LDRS_SB_G2", Const, 10}, - {"R_ARM_LDR_PC_G1", Const, 10}, - {"R_ARM_LDR_PC_G2", Const, 10}, - {"R_ARM_LDR_SBREL_11_10_NC", Const, 10}, - {"R_ARM_LDR_SB_G0", Const, 10}, - {"R_ARM_LDR_SB_G1", Const, 10}, - {"R_ARM_LDR_SB_G2", Const, 10}, - {"R_ARM_ME_TOO", Const, 10}, - {"R_ARM_MOVT_ABS", Const, 10}, - {"R_ARM_MOVT_BREL", Const, 10}, - {"R_ARM_MOVT_PREL", Const, 10}, - {"R_ARM_MOVW_ABS_NC", Const, 10}, - {"R_ARM_MOVW_BREL", Const, 10}, - {"R_ARM_MOVW_BREL_NC", Const, 10}, - {"R_ARM_MOVW_PREL_NC", Const, 10}, - {"R_ARM_NONE", Const, 0}, - {"R_ARM_PC13", Const, 0}, - {"R_ARM_PC24", Const, 0}, - {"R_ARM_PLT32", Const, 0}, - {"R_ARM_PLT32_ABS", Const, 10}, - {"R_ARM_PREL31", Const, 10}, - {"R_ARM_PRIVATE_0", Const, 10}, - {"R_ARM_PRIVATE_1", Const, 10}, - {"R_ARM_PRIVATE_10", Const, 10}, - {"R_ARM_PRIVATE_11", Const, 10}, - {"R_ARM_PRIVATE_12", Const, 10}, - {"R_ARM_PRIVATE_13", Const, 10}, - {"R_ARM_PRIVATE_14", Const, 10}, - {"R_ARM_PRIVATE_15", Const, 10}, - {"R_ARM_PRIVATE_2", Const, 10}, - {"R_ARM_PRIVATE_3", Const, 10}, - {"R_ARM_PRIVATE_4", Const, 10}, - {"R_ARM_PRIVATE_5", Const, 10}, - {"R_ARM_PRIVATE_6", Const, 10}, - {"R_ARM_PRIVATE_7", Const, 10}, - {"R_ARM_PRIVATE_8", Const, 10}, - {"R_ARM_PRIVATE_9", Const, 10}, - {"R_ARM_RABS32", Const, 0}, - {"R_ARM_RBASE", Const, 0}, - {"R_ARM_REL32", Const, 0}, - {"R_ARM_REL32_NOI", Const, 10}, - {"R_ARM_RELATIVE", Const, 0}, - {"R_ARM_RPC24", Const, 0}, - {"R_ARM_RREL32", Const, 0}, - {"R_ARM_RSBREL32", Const, 0}, - {"R_ARM_RXPC25", Const, 10}, - {"R_ARM_SBREL31", Const, 10}, - {"R_ARM_SBREL32", Const, 0}, - {"R_ARM_SWI24", Const, 0}, - {"R_ARM_TARGET1", Const, 10}, - {"R_ARM_TARGET2", Const, 10}, - {"R_ARM_THM_ABS5", Const, 0}, - {"R_ARM_THM_ALU_ABS_G0_NC", Const, 10}, - {"R_ARM_THM_ALU_ABS_G1_NC", Const, 10}, - {"R_ARM_THM_ALU_ABS_G2_NC", Const, 10}, - {"R_ARM_THM_ALU_ABS_G3", Const, 10}, - {"R_ARM_THM_ALU_PREL_11_0", Const, 10}, - {"R_ARM_THM_GOT_BREL12", Const, 10}, - {"R_ARM_THM_JUMP11", Const, 10}, - {"R_ARM_THM_JUMP19", Const, 10}, - {"R_ARM_THM_JUMP24", Const, 10}, - {"R_ARM_THM_JUMP6", Const, 10}, - {"R_ARM_THM_JUMP8", Const, 10}, - {"R_ARM_THM_MOVT_ABS", Const, 10}, - {"R_ARM_THM_MOVT_BREL", Const, 10}, - {"R_ARM_THM_MOVT_PREL", Const, 10}, - {"R_ARM_THM_MOVW_ABS_NC", Const, 10}, - {"R_ARM_THM_MOVW_BREL", Const, 10}, - {"R_ARM_THM_MOVW_BREL_NC", Const, 10}, - {"R_ARM_THM_MOVW_PREL_NC", Const, 10}, - {"R_ARM_THM_PC12", Const, 10}, - {"R_ARM_THM_PC22", Const, 0}, - {"R_ARM_THM_PC8", Const, 0}, - {"R_ARM_THM_RPC22", Const, 0}, - {"R_ARM_THM_SWI8", Const, 0}, - {"R_ARM_THM_TLS_CALL", Const, 10}, - {"R_ARM_THM_TLS_DESCSEQ16", Const, 10}, - {"R_ARM_THM_TLS_DESCSEQ32", Const, 10}, - {"R_ARM_THM_XPC22", Const, 0}, - {"R_ARM_TLS_CALL", Const, 10}, - {"R_ARM_TLS_DESCSEQ", Const, 10}, - {"R_ARM_TLS_DTPMOD32", Const, 10}, - {"R_ARM_TLS_DTPOFF32", Const, 10}, - {"R_ARM_TLS_GD32", Const, 10}, - {"R_ARM_TLS_GOTDESC", Const, 10}, - {"R_ARM_TLS_IE12GP", Const, 10}, - {"R_ARM_TLS_IE32", Const, 10}, - {"R_ARM_TLS_LDM32", Const, 10}, - {"R_ARM_TLS_LDO12", Const, 10}, - {"R_ARM_TLS_LDO32", Const, 10}, - {"R_ARM_TLS_LE12", Const, 10}, - {"R_ARM_TLS_LE32", Const, 10}, - {"R_ARM_TLS_TPOFF32", Const, 10}, - {"R_ARM_V4BX", Const, 10}, - {"R_ARM_XPC25", Const, 0}, - {"R_INFO", Func, 0}, - {"R_INFO32", Func, 0}, - {"R_LARCH", Type, 19}, - {"R_LARCH_32", Const, 19}, - {"R_LARCH_32_PCREL", Const, 20}, - {"R_LARCH_64", Const, 19}, - {"R_LARCH_64_PCREL", Const, 22}, - {"R_LARCH_ABS64_HI12", Const, 20}, - {"R_LARCH_ABS64_LO20", Const, 20}, - {"R_LARCH_ABS_HI20", Const, 20}, - {"R_LARCH_ABS_LO12", Const, 20}, - {"R_LARCH_ADD16", Const, 19}, - {"R_LARCH_ADD24", Const, 19}, - {"R_LARCH_ADD32", Const, 19}, - {"R_LARCH_ADD6", Const, 22}, - {"R_LARCH_ADD64", Const, 19}, - {"R_LARCH_ADD8", Const, 19}, - {"R_LARCH_ADD_ULEB128", Const, 22}, - {"R_LARCH_ALIGN", Const, 22}, - {"R_LARCH_B16", Const, 20}, - {"R_LARCH_B21", Const, 20}, - {"R_LARCH_B26", Const, 20}, - {"R_LARCH_CFA", Const, 22}, - {"R_LARCH_COPY", Const, 19}, - {"R_LARCH_DELETE", Const, 22}, - {"R_LARCH_GNU_VTENTRY", Const, 20}, - {"R_LARCH_GNU_VTINHERIT", Const, 20}, - {"R_LARCH_GOT64_HI12", Const, 20}, - {"R_LARCH_GOT64_LO20", Const, 20}, - {"R_LARCH_GOT64_PC_HI12", Const, 20}, - {"R_LARCH_GOT64_PC_LO20", Const, 20}, - {"R_LARCH_GOT_HI20", Const, 20}, - {"R_LARCH_GOT_LO12", Const, 20}, - {"R_LARCH_GOT_PC_HI20", Const, 20}, - {"R_LARCH_GOT_PC_LO12", Const, 20}, - {"R_LARCH_IRELATIVE", Const, 19}, - {"R_LARCH_JUMP_SLOT", Const, 19}, - {"R_LARCH_MARK_LA", Const, 19}, - {"R_LARCH_MARK_PCREL", Const, 19}, - {"R_LARCH_NONE", Const, 19}, - {"R_LARCH_PCALA64_HI12", Const, 20}, - {"R_LARCH_PCALA64_LO20", Const, 20}, - {"R_LARCH_PCALA_HI20", Const, 20}, - {"R_LARCH_PCALA_LO12", Const, 20}, - {"R_LARCH_PCREL20_S2", Const, 22}, - {"R_LARCH_RELATIVE", Const, 19}, - {"R_LARCH_RELAX", Const, 20}, - {"R_LARCH_SOP_ADD", Const, 19}, - {"R_LARCH_SOP_AND", Const, 19}, - {"R_LARCH_SOP_ASSERT", Const, 19}, - {"R_LARCH_SOP_IF_ELSE", Const, 19}, - {"R_LARCH_SOP_NOT", Const, 19}, - {"R_LARCH_SOP_POP_32_S_0_10_10_16_S2", Const, 19}, - {"R_LARCH_SOP_POP_32_S_0_5_10_16_S2", Const, 19}, - {"R_LARCH_SOP_POP_32_S_10_12", Const, 19}, - {"R_LARCH_SOP_POP_32_S_10_16", Const, 19}, - {"R_LARCH_SOP_POP_32_S_10_16_S2", Const, 19}, - {"R_LARCH_SOP_POP_32_S_10_5", Const, 19}, - {"R_LARCH_SOP_POP_32_S_5_20", Const, 19}, - {"R_LARCH_SOP_POP_32_U", Const, 19}, - {"R_LARCH_SOP_POP_32_U_10_12", Const, 19}, - {"R_LARCH_SOP_PUSH_ABSOLUTE", Const, 19}, - {"R_LARCH_SOP_PUSH_DUP", Const, 19}, - {"R_LARCH_SOP_PUSH_GPREL", Const, 19}, - {"R_LARCH_SOP_PUSH_PCREL", Const, 19}, - {"R_LARCH_SOP_PUSH_PLT_PCREL", Const, 19}, - {"R_LARCH_SOP_PUSH_TLS_GD", Const, 19}, - {"R_LARCH_SOP_PUSH_TLS_GOT", Const, 19}, - {"R_LARCH_SOP_PUSH_TLS_TPREL", Const, 19}, - {"R_LARCH_SOP_SL", Const, 19}, - {"R_LARCH_SOP_SR", Const, 19}, - {"R_LARCH_SOP_SUB", Const, 19}, - {"R_LARCH_SUB16", Const, 19}, - {"R_LARCH_SUB24", Const, 19}, - {"R_LARCH_SUB32", Const, 19}, - {"R_LARCH_SUB6", Const, 22}, - {"R_LARCH_SUB64", Const, 19}, - {"R_LARCH_SUB8", Const, 19}, - {"R_LARCH_SUB_ULEB128", Const, 22}, - {"R_LARCH_TLS_DTPMOD32", Const, 19}, - {"R_LARCH_TLS_DTPMOD64", Const, 19}, - {"R_LARCH_TLS_DTPREL32", Const, 19}, - {"R_LARCH_TLS_DTPREL64", Const, 19}, - {"R_LARCH_TLS_GD_HI20", Const, 20}, - {"R_LARCH_TLS_GD_PC_HI20", Const, 20}, - {"R_LARCH_TLS_IE64_HI12", Const, 20}, - {"R_LARCH_TLS_IE64_LO20", Const, 20}, - {"R_LARCH_TLS_IE64_PC_HI12", Const, 20}, - {"R_LARCH_TLS_IE64_PC_LO20", Const, 20}, - {"R_LARCH_TLS_IE_HI20", Const, 20}, - {"R_LARCH_TLS_IE_LO12", Const, 20}, - {"R_LARCH_TLS_IE_PC_HI20", Const, 20}, - {"R_LARCH_TLS_IE_PC_LO12", Const, 20}, - {"R_LARCH_TLS_LD_HI20", Const, 20}, - {"R_LARCH_TLS_LD_PC_HI20", Const, 20}, - {"R_LARCH_TLS_LE64_HI12", Const, 20}, - {"R_LARCH_TLS_LE64_LO20", Const, 20}, - {"R_LARCH_TLS_LE_HI20", Const, 20}, - {"R_LARCH_TLS_LE_LO12", Const, 20}, - {"R_LARCH_TLS_TPREL32", Const, 19}, - {"R_LARCH_TLS_TPREL64", Const, 19}, - {"R_MIPS", Type, 6}, - {"R_MIPS_16", Const, 6}, - {"R_MIPS_26", Const, 6}, - {"R_MIPS_32", Const, 6}, - {"R_MIPS_64", Const, 6}, - {"R_MIPS_ADD_IMMEDIATE", Const, 6}, - {"R_MIPS_CALL16", Const, 6}, - {"R_MIPS_CALL_HI16", Const, 6}, - {"R_MIPS_CALL_LO16", Const, 6}, - {"R_MIPS_DELETE", Const, 6}, - {"R_MIPS_GOT16", Const, 6}, - {"R_MIPS_GOT_DISP", Const, 6}, - {"R_MIPS_GOT_HI16", Const, 6}, - {"R_MIPS_GOT_LO16", Const, 6}, - {"R_MIPS_GOT_OFST", Const, 6}, - {"R_MIPS_GOT_PAGE", Const, 6}, - {"R_MIPS_GPREL16", Const, 6}, - {"R_MIPS_GPREL32", Const, 6}, - {"R_MIPS_HI16", Const, 6}, - {"R_MIPS_HIGHER", Const, 6}, - {"R_MIPS_HIGHEST", Const, 6}, - {"R_MIPS_INSERT_A", Const, 6}, - {"R_MIPS_INSERT_B", Const, 6}, - {"R_MIPS_JALR", Const, 6}, - {"R_MIPS_LITERAL", Const, 6}, - {"R_MIPS_LO16", Const, 6}, - {"R_MIPS_NONE", Const, 6}, - {"R_MIPS_PC16", Const, 6}, - {"R_MIPS_PC32", Const, 22}, - {"R_MIPS_PJUMP", Const, 6}, - {"R_MIPS_REL16", Const, 6}, - {"R_MIPS_REL32", Const, 6}, - {"R_MIPS_RELGOT", Const, 6}, - {"R_MIPS_SCN_DISP", Const, 6}, - {"R_MIPS_SHIFT5", Const, 6}, - {"R_MIPS_SHIFT6", Const, 6}, - {"R_MIPS_SUB", Const, 6}, - {"R_MIPS_TLS_DTPMOD32", Const, 6}, - {"R_MIPS_TLS_DTPMOD64", Const, 6}, - {"R_MIPS_TLS_DTPREL32", Const, 6}, - {"R_MIPS_TLS_DTPREL64", Const, 6}, - {"R_MIPS_TLS_DTPREL_HI16", Const, 6}, - {"R_MIPS_TLS_DTPREL_LO16", Const, 6}, - {"R_MIPS_TLS_GD", Const, 6}, - {"R_MIPS_TLS_GOTTPREL", Const, 6}, - {"R_MIPS_TLS_LDM", Const, 6}, - {"R_MIPS_TLS_TPREL32", Const, 6}, - {"R_MIPS_TLS_TPREL64", Const, 6}, - {"R_MIPS_TLS_TPREL_HI16", Const, 6}, - {"R_MIPS_TLS_TPREL_LO16", Const, 6}, - {"R_PPC", Type, 0}, - {"R_PPC64", Type, 5}, - {"R_PPC64_ADDR14", Const, 5}, - {"R_PPC64_ADDR14_BRNTAKEN", Const, 5}, - {"R_PPC64_ADDR14_BRTAKEN", Const, 5}, - {"R_PPC64_ADDR16", Const, 5}, - {"R_PPC64_ADDR16_DS", Const, 5}, - {"R_PPC64_ADDR16_HA", Const, 5}, - {"R_PPC64_ADDR16_HI", Const, 5}, - {"R_PPC64_ADDR16_HIGH", Const, 10}, - {"R_PPC64_ADDR16_HIGHA", Const, 10}, - {"R_PPC64_ADDR16_HIGHER", Const, 5}, - {"R_PPC64_ADDR16_HIGHER34", Const, 20}, - {"R_PPC64_ADDR16_HIGHERA", Const, 5}, - {"R_PPC64_ADDR16_HIGHERA34", Const, 20}, - {"R_PPC64_ADDR16_HIGHEST", Const, 5}, - {"R_PPC64_ADDR16_HIGHEST34", Const, 20}, - {"R_PPC64_ADDR16_HIGHESTA", Const, 5}, - {"R_PPC64_ADDR16_HIGHESTA34", Const, 20}, - {"R_PPC64_ADDR16_LO", Const, 5}, - {"R_PPC64_ADDR16_LO_DS", Const, 5}, - {"R_PPC64_ADDR24", Const, 5}, - {"R_PPC64_ADDR32", Const, 5}, - {"R_PPC64_ADDR64", Const, 5}, - {"R_PPC64_ADDR64_LOCAL", Const, 10}, - {"R_PPC64_COPY", Const, 20}, - {"R_PPC64_D28", Const, 20}, - {"R_PPC64_D34", Const, 20}, - {"R_PPC64_D34_HA30", Const, 20}, - {"R_PPC64_D34_HI30", Const, 20}, - {"R_PPC64_D34_LO", Const, 20}, - {"R_PPC64_DTPMOD64", Const, 5}, - {"R_PPC64_DTPREL16", Const, 5}, - {"R_PPC64_DTPREL16_DS", Const, 5}, - {"R_PPC64_DTPREL16_HA", Const, 5}, - {"R_PPC64_DTPREL16_HI", Const, 5}, - {"R_PPC64_DTPREL16_HIGH", Const, 10}, - {"R_PPC64_DTPREL16_HIGHA", Const, 10}, - {"R_PPC64_DTPREL16_HIGHER", Const, 5}, - {"R_PPC64_DTPREL16_HIGHERA", Const, 5}, - {"R_PPC64_DTPREL16_HIGHEST", Const, 5}, - {"R_PPC64_DTPREL16_HIGHESTA", Const, 5}, - {"R_PPC64_DTPREL16_LO", Const, 5}, - {"R_PPC64_DTPREL16_LO_DS", Const, 5}, - {"R_PPC64_DTPREL34", Const, 20}, - {"R_PPC64_DTPREL64", Const, 5}, - {"R_PPC64_ENTRY", Const, 10}, - {"R_PPC64_GLOB_DAT", Const, 20}, - {"R_PPC64_GNU_VTENTRY", Const, 20}, - {"R_PPC64_GNU_VTINHERIT", Const, 20}, - {"R_PPC64_GOT16", Const, 5}, - {"R_PPC64_GOT16_DS", Const, 5}, - {"R_PPC64_GOT16_HA", Const, 5}, - {"R_PPC64_GOT16_HI", Const, 5}, - {"R_PPC64_GOT16_LO", Const, 5}, - {"R_PPC64_GOT16_LO_DS", Const, 5}, - {"R_PPC64_GOT_DTPREL16_DS", Const, 5}, - {"R_PPC64_GOT_DTPREL16_HA", Const, 5}, - {"R_PPC64_GOT_DTPREL16_HI", Const, 5}, - {"R_PPC64_GOT_DTPREL16_LO_DS", Const, 5}, - {"R_PPC64_GOT_DTPREL_PCREL34", Const, 20}, - {"R_PPC64_GOT_PCREL34", Const, 20}, - {"R_PPC64_GOT_TLSGD16", Const, 5}, - {"R_PPC64_GOT_TLSGD16_HA", Const, 5}, - {"R_PPC64_GOT_TLSGD16_HI", Const, 5}, - {"R_PPC64_GOT_TLSGD16_LO", Const, 5}, - {"R_PPC64_GOT_TLSGD_PCREL34", Const, 20}, - {"R_PPC64_GOT_TLSLD16", Const, 5}, - {"R_PPC64_GOT_TLSLD16_HA", Const, 5}, - {"R_PPC64_GOT_TLSLD16_HI", Const, 5}, - {"R_PPC64_GOT_TLSLD16_LO", Const, 5}, - {"R_PPC64_GOT_TLSLD_PCREL34", Const, 20}, - {"R_PPC64_GOT_TPREL16_DS", Const, 5}, - {"R_PPC64_GOT_TPREL16_HA", Const, 5}, - {"R_PPC64_GOT_TPREL16_HI", Const, 5}, - {"R_PPC64_GOT_TPREL16_LO_DS", Const, 5}, - {"R_PPC64_GOT_TPREL_PCREL34", Const, 20}, - {"R_PPC64_IRELATIVE", Const, 10}, - {"R_PPC64_JMP_IREL", Const, 10}, - {"R_PPC64_JMP_SLOT", Const, 5}, - {"R_PPC64_NONE", Const, 5}, - {"R_PPC64_PCREL28", Const, 20}, - {"R_PPC64_PCREL34", Const, 20}, - {"R_PPC64_PCREL_OPT", Const, 20}, - {"R_PPC64_PLT16_HA", Const, 20}, - {"R_PPC64_PLT16_HI", Const, 20}, - {"R_PPC64_PLT16_LO", Const, 20}, - {"R_PPC64_PLT16_LO_DS", Const, 10}, - {"R_PPC64_PLT32", Const, 20}, - {"R_PPC64_PLT64", Const, 20}, - {"R_PPC64_PLTCALL", Const, 20}, - {"R_PPC64_PLTCALL_NOTOC", Const, 20}, - {"R_PPC64_PLTGOT16", Const, 10}, - {"R_PPC64_PLTGOT16_DS", Const, 10}, - {"R_PPC64_PLTGOT16_HA", Const, 10}, - {"R_PPC64_PLTGOT16_HI", Const, 10}, - {"R_PPC64_PLTGOT16_LO", Const, 10}, - {"R_PPC64_PLTGOT_LO_DS", Const, 10}, - {"R_PPC64_PLTREL32", Const, 20}, - {"R_PPC64_PLTREL64", Const, 20}, - {"R_PPC64_PLTSEQ", Const, 20}, - {"R_PPC64_PLTSEQ_NOTOC", Const, 20}, - {"R_PPC64_PLT_PCREL34", Const, 20}, - {"R_PPC64_PLT_PCREL34_NOTOC", Const, 20}, - {"R_PPC64_REL14", Const, 5}, - {"R_PPC64_REL14_BRNTAKEN", Const, 5}, - {"R_PPC64_REL14_BRTAKEN", Const, 5}, - {"R_PPC64_REL16", Const, 5}, - {"R_PPC64_REL16DX_HA", Const, 10}, - {"R_PPC64_REL16_HA", Const, 5}, - {"R_PPC64_REL16_HI", Const, 5}, - {"R_PPC64_REL16_HIGH", Const, 20}, - {"R_PPC64_REL16_HIGHA", Const, 20}, - {"R_PPC64_REL16_HIGHER", Const, 20}, - {"R_PPC64_REL16_HIGHER34", Const, 20}, - {"R_PPC64_REL16_HIGHERA", Const, 20}, - {"R_PPC64_REL16_HIGHERA34", Const, 20}, - {"R_PPC64_REL16_HIGHEST", Const, 20}, - {"R_PPC64_REL16_HIGHEST34", Const, 20}, - {"R_PPC64_REL16_HIGHESTA", Const, 20}, - {"R_PPC64_REL16_HIGHESTA34", Const, 20}, - {"R_PPC64_REL16_LO", Const, 5}, - {"R_PPC64_REL24", Const, 5}, - {"R_PPC64_REL24_NOTOC", Const, 10}, - {"R_PPC64_REL24_P9NOTOC", Const, 21}, - {"R_PPC64_REL30", Const, 20}, - {"R_PPC64_REL32", Const, 5}, - {"R_PPC64_REL64", Const, 5}, - {"R_PPC64_RELATIVE", Const, 18}, - {"R_PPC64_SECTOFF", Const, 20}, - {"R_PPC64_SECTOFF_DS", Const, 10}, - {"R_PPC64_SECTOFF_HA", Const, 20}, - {"R_PPC64_SECTOFF_HI", Const, 20}, - {"R_PPC64_SECTOFF_LO", Const, 20}, - {"R_PPC64_SECTOFF_LO_DS", Const, 10}, - {"R_PPC64_TLS", Const, 5}, - {"R_PPC64_TLSGD", Const, 5}, - {"R_PPC64_TLSLD", Const, 5}, - {"R_PPC64_TOC", Const, 5}, - {"R_PPC64_TOC16", Const, 5}, - {"R_PPC64_TOC16_DS", Const, 5}, - {"R_PPC64_TOC16_HA", Const, 5}, - {"R_PPC64_TOC16_HI", Const, 5}, - {"R_PPC64_TOC16_LO", Const, 5}, - {"R_PPC64_TOC16_LO_DS", Const, 5}, - {"R_PPC64_TOCSAVE", Const, 10}, - {"R_PPC64_TPREL16", Const, 5}, - {"R_PPC64_TPREL16_DS", Const, 5}, - {"R_PPC64_TPREL16_HA", Const, 5}, - {"R_PPC64_TPREL16_HI", Const, 5}, - {"R_PPC64_TPREL16_HIGH", Const, 10}, - {"R_PPC64_TPREL16_HIGHA", Const, 10}, - {"R_PPC64_TPREL16_HIGHER", Const, 5}, - {"R_PPC64_TPREL16_HIGHERA", Const, 5}, - {"R_PPC64_TPREL16_HIGHEST", Const, 5}, - {"R_PPC64_TPREL16_HIGHESTA", Const, 5}, - {"R_PPC64_TPREL16_LO", Const, 5}, - {"R_PPC64_TPREL16_LO_DS", Const, 5}, - {"R_PPC64_TPREL34", Const, 20}, - {"R_PPC64_TPREL64", Const, 5}, - {"R_PPC64_UADDR16", Const, 20}, - {"R_PPC64_UADDR32", Const, 20}, - {"R_PPC64_UADDR64", Const, 20}, - {"R_PPC_ADDR14", Const, 0}, - {"R_PPC_ADDR14_BRNTAKEN", Const, 0}, - {"R_PPC_ADDR14_BRTAKEN", Const, 0}, - {"R_PPC_ADDR16", Const, 0}, - {"R_PPC_ADDR16_HA", Const, 0}, - {"R_PPC_ADDR16_HI", Const, 0}, - {"R_PPC_ADDR16_LO", Const, 0}, - {"R_PPC_ADDR24", Const, 0}, - {"R_PPC_ADDR32", Const, 0}, - {"R_PPC_COPY", Const, 0}, - {"R_PPC_DTPMOD32", Const, 0}, - {"R_PPC_DTPREL16", Const, 0}, - {"R_PPC_DTPREL16_HA", Const, 0}, - {"R_PPC_DTPREL16_HI", Const, 0}, - {"R_PPC_DTPREL16_LO", Const, 0}, - {"R_PPC_DTPREL32", Const, 0}, - {"R_PPC_EMB_BIT_FLD", Const, 0}, - {"R_PPC_EMB_MRKREF", Const, 0}, - {"R_PPC_EMB_NADDR16", Const, 0}, - {"R_PPC_EMB_NADDR16_HA", Const, 0}, - {"R_PPC_EMB_NADDR16_HI", Const, 0}, - {"R_PPC_EMB_NADDR16_LO", Const, 0}, - {"R_PPC_EMB_NADDR32", Const, 0}, - {"R_PPC_EMB_RELSDA", Const, 0}, - {"R_PPC_EMB_RELSEC16", Const, 0}, - {"R_PPC_EMB_RELST_HA", Const, 0}, - {"R_PPC_EMB_RELST_HI", Const, 0}, - {"R_PPC_EMB_RELST_LO", Const, 0}, - {"R_PPC_EMB_SDA21", Const, 0}, - {"R_PPC_EMB_SDA2I16", Const, 0}, - {"R_PPC_EMB_SDA2REL", Const, 0}, - {"R_PPC_EMB_SDAI16", Const, 0}, - {"R_PPC_GLOB_DAT", Const, 0}, - {"R_PPC_GOT16", Const, 0}, - {"R_PPC_GOT16_HA", Const, 0}, - {"R_PPC_GOT16_HI", Const, 0}, - {"R_PPC_GOT16_LO", Const, 0}, - {"R_PPC_GOT_TLSGD16", Const, 0}, - {"R_PPC_GOT_TLSGD16_HA", Const, 0}, - {"R_PPC_GOT_TLSGD16_HI", Const, 0}, - {"R_PPC_GOT_TLSGD16_LO", Const, 0}, - {"R_PPC_GOT_TLSLD16", Const, 0}, - {"R_PPC_GOT_TLSLD16_HA", Const, 0}, - {"R_PPC_GOT_TLSLD16_HI", Const, 0}, - {"R_PPC_GOT_TLSLD16_LO", Const, 0}, - {"R_PPC_GOT_TPREL16", Const, 0}, - {"R_PPC_GOT_TPREL16_HA", Const, 0}, - {"R_PPC_GOT_TPREL16_HI", Const, 0}, - {"R_PPC_GOT_TPREL16_LO", Const, 0}, - {"R_PPC_JMP_SLOT", Const, 0}, - {"R_PPC_LOCAL24PC", Const, 0}, - {"R_PPC_NONE", Const, 0}, - {"R_PPC_PLT16_HA", Const, 0}, - {"R_PPC_PLT16_HI", Const, 0}, - {"R_PPC_PLT16_LO", Const, 0}, - {"R_PPC_PLT32", Const, 0}, - {"R_PPC_PLTREL24", Const, 0}, - {"R_PPC_PLTREL32", Const, 0}, - {"R_PPC_REL14", Const, 0}, - {"R_PPC_REL14_BRNTAKEN", Const, 0}, - {"R_PPC_REL14_BRTAKEN", Const, 0}, - {"R_PPC_REL24", Const, 0}, - {"R_PPC_REL32", Const, 0}, - {"R_PPC_RELATIVE", Const, 0}, - {"R_PPC_SDAREL16", Const, 0}, - {"R_PPC_SECTOFF", Const, 0}, - {"R_PPC_SECTOFF_HA", Const, 0}, - {"R_PPC_SECTOFF_HI", Const, 0}, - {"R_PPC_SECTOFF_LO", Const, 0}, - {"R_PPC_TLS", Const, 0}, - {"R_PPC_TPREL16", Const, 0}, - {"R_PPC_TPREL16_HA", Const, 0}, - {"R_PPC_TPREL16_HI", Const, 0}, - {"R_PPC_TPREL16_LO", Const, 0}, - {"R_PPC_TPREL32", Const, 0}, - {"R_PPC_UADDR16", Const, 0}, - {"R_PPC_UADDR32", Const, 0}, - {"R_RISCV", Type, 11}, - {"R_RISCV_32", Const, 11}, - {"R_RISCV_32_PCREL", Const, 12}, - {"R_RISCV_64", Const, 11}, - {"R_RISCV_ADD16", Const, 11}, - {"R_RISCV_ADD32", Const, 11}, - {"R_RISCV_ADD64", Const, 11}, - {"R_RISCV_ADD8", Const, 11}, - {"R_RISCV_ALIGN", Const, 11}, - {"R_RISCV_BRANCH", Const, 11}, - {"R_RISCV_CALL", Const, 11}, - {"R_RISCV_CALL_PLT", Const, 11}, - {"R_RISCV_COPY", Const, 11}, - {"R_RISCV_GNU_VTENTRY", Const, 11}, - {"R_RISCV_GNU_VTINHERIT", Const, 11}, - {"R_RISCV_GOT_HI20", Const, 11}, - {"R_RISCV_GPREL_I", Const, 11}, - {"R_RISCV_GPREL_S", Const, 11}, - {"R_RISCV_HI20", Const, 11}, - {"R_RISCV_JAL", Const, 11}, - {"R_RISCV_JUMP_SLOT", Const, 11}, - {"R_RISCV_LO12_I", Const, 11}, - {"R_RISCV_LO12_S", Const, 11}, - {"R_RISCV_NONE", Const, 11}, - {"R_RISCV_PCREL_HI20", Const, 11}, - {"R_RISCV_PCREL_LO12_I", Const, 11}, - {"R_RISCV_PCREL_LO12_S", Const, 11}, - {"R_RISCV_RELATIVE", Const, 11}, - {"R_RISCV_RELAX", Const, 11}, - {"R_RISCV_RVC_BRANCH", Const, 11}, - {"R_RISCV_RVC_JUMP", Const, 11}, - {"R_RISCV_RVC_LUI", Const, 11}, - {"R_RISCV_SET16", Const, 11}, - {"R_RISCV_SET32", Const, 11}, - {"R_RISCV_SET6", Const, 11}, - {"R_RISCV_SET8", Const, 11}, - {"R_RISCV_SUB16", Const, 11}, - {"R_RISCV_SUB32", Const, 11}, - {"R_RISCV_SUB6", Const, 11}, - {"R_RISCV_SUB64", Const, 11}, - {"R_RISCV_SUB8", Const, 11}, - {"R_RISCV_TLS_DTPMOD32", Const, 11}, - {"R_RISCV_TLS_DTPMOD64", Const, 11}, - {"R_RISCV_TLS_DTPREL32", Const, 11}, - {"R_RISCV_TLS_DTPREL64", Const, 11}, - {"R_RISCV_TLS_GD_HI20", Const, 11}, - {"R_RISCV_TLS_GOT_HI20", Const, 11}, - {"R_RISCV_TLS_TPREL32", Const, 11}, - {"R_RISCV_TLS_TPREL64", Const, 11}, - {"R_RISCV_TPREL_ADD", Const, 11}, - {"R_RISCV_TPREL_HI20", Const, 11}, - {"R_RISCV_TPREL_I", Const, 11}, - {"R_RISCV_TPREL_LO12_I", Const, 11}, - {"R_RISCV_TPREL_LO12_S", Const, 11}, - {"R_RISCV_TPREL_S", Const, 11}, - {"R_SPARC", Type, 0}, - {"R_SPARC_10", Const, 0}, - {"R_SPARC_11", Const, 0}, - {"R_SPARC_13", Const, 0}, - {"R_SPARC_16", Const, 0}, - {"R_SPARC_22", Const, 0}, - {"R_SPARC_32", Const, 0}, - {"R_SPARC_5", Const, 0}, - {"R_SPARC_6", Const, 0}, - {"R_SPARC_64", Const, 0}, - {"R_SPARC_7", Const, 0}, - {"R_SPARC_8", Const, 0}, - {"R_SPARC_COPY", Const, 0}, - {"R_SPARC_DISP16", Const, 0}, - {"R_SPARC_DISP32", Const, 0}, - {"R_SPARC_DISP64", Const, 0}, - {"R_SPARC_DISP8", Const, 0}, - {"R_SPARC_GLOB_DAT", Const, 0}, - {"R_SPARC_GLOB_JMP", Const, 0}, - {"R_SPARC_GOT10", Const, 0}, - {"R_SPARC_GOT13", Const, 0}, - {"R_SPARC_GOT22", Const, 0}, - {"R_SPARC_H44", Const, 0}, - {"R_SPARC_HH22", Const, 0}, - {"R_SPARC_HI22", Const, 0}, - {"R_SPARC_HIPLT22", Const, 0}, - {"R_SPARC_HIX22", Const, 0}, - {"R_SPARC_HM10", Const, 0}, - {"R_SPARC_JMP_SLOT", Const, 0}, - {"R_SPARC_L44", Const, 0}, - {"R_SPARC_LM22", Const, 0}, - {"R_SPARC_LO10", Const, 0}, - {"R_SPARC_LOPLT10", Const, 0}, - {"R_SPARC_LOX10", Const, 0}, - {"R_SPARC_M44", Const, 0}, - {"R_SPARC_NONE", Const, 0}, - {"R_SPARC_OLO10", Const, 0}, - {"R_SPARC_PC10", Const, 0}, - {"R_SPARC_PC22", Const, 0}, - {"R_SPARC_PCPLT10", Const, 0}, - {"R_SPARC_PCPLT22", Const, 0}, - {"R_SPARC_PCPLT32", Const, 0}, - {"R_SPARC_PC_HH22", Const, 0}, - {"R_SPARC_PC_HM10", Const, 0}, - {"R_SPARC_PC_LM22", Const, 0}, - {"R_SPARC_PLT32", Const, 0}, - {"R_SPARC_PLT64", Const, 0}, - {"R_SPARC_REGISTER", Const, 0}, - {"R_SPARC_RELATIVE", Const, 0}, - {"R_SPARC_UA16", Const, 0}, - {"R_SPARC_UA32", Const, 0}, - {"R_SPARC_UA64", Const, 0}, - {"R_SPARC_WDISP16", Const, 0}, - {"R_SPARC_WDISP19", Const, 0}, - {"R_SPARC_WDISP22", Const, 0}, - {"R_SPARC_WDISP30", Const, 0}, - {"R_SPARC_WPLT30", Const, 0}, - {"R_SYM32", Func, 0}, - {"R_SYM64", Func, 0}, - {"R_TYPE32", Func, 0}, - {"R_TYPE64", Func, 0}, - {"R_X86_64", Type, 0}, - {"R_X86_64_16", Const, 0}, - {"R_X86_64_32", Const, 0}, - {"R_X86_64_32S", Const, 0}, - {"R_X86_64_64", Const, 0}, - {"R_X86_64_8", Const, 0}, - {"R_X86_64_COPY", Const, 0}, - {"R_X86_64_DTPMOD64", Const, 0}, - {"R_X86_64_DTPOFF32", Const, 0}, - {"R_X86_64_DTPOFF64", Const, 0}, - {"R_X86_64_GLOB_DAT", Const, 0}, - {"R_X86_64_GOT32", Const, 0}, - {"R_X86_64_GOT64", Const, 10}, - {"R_X86_64_GOTOFF64", Const, 10}, - {"R_X86_64_GOTPC32", Const, 10}, - {"R_X86_64_GOTPC32_TLSDESC", Const, 10}, - {"R_X86_64_GOTPC64", Const, 10}, - {"R_X86_64_GOTPCREL", Const, 0}, - {"R_X86_64_GOTPCREL64", Const, 10}, - {"R_X86_64_GOTPCRELX", Const, 10}, - {"R_X86_64_GOTPLT64", Const, 10}, - {"R_X86_64_GOTTPOFF", Const, 0}, - {"R_X86_64_IRELATIVE", Const, 10}, - {"R_X86_64_JMP_SLOT", Const, 0}, - {"R_X86_64_NONE", Const, 0}, - {"R_X86_64_PC16", Const, 0}, - {"R_X86_64_PC32", Const, 0}, - {"R_X86_64_PC32_BND", Const, 10}, - {"R_X86_64_PC64", Const, 10}, - {"R_X86_64_PC8", Const, 0}, - {"R_X86_64_PLT32", Const, 0}, - {"R_X86_64_PLT32_BND", Const, 10}, - {"R_X86_64_PLTOFF64", Const, 10}, - {"R_X86_64_RELATIVE", Const, 0}, - {"R_X86_64_RELATIVE64", Const, 10}, - {"R_X86_64_REX_GOTPCRELX", Const, 10}, - {"R_X86_64_SIZE32", Const, 10}, - {"R_X86_64_SIZE64", Const, 10}, - {"R_X86_64_TLSDESC", Const, 10}, - {"R_X86_64_TLSDESC_CALL", Const, 10}, - {"R_X86_64_TLSGD", Const, 0}, - {"R_X86_64_TLSLD", Const, 0}, - {"R_X86_64_TPOFF32", Const, 0}, - {"R_X86_64_TPOFF64", Const, 0}, - {"Rel32", Type, 0}, - {"Rel32.Info", Field, 0}, - {"Rel32.Off", Field, 0}, - {"Rel64", Type, 0}, - {"Rel64.Info", Field, 0}, - {"Rel64.Off", Field, 0}, - {"Rela32", Type, 0}, - {"Rela32.Addend", Field, 0}, - {"Rela32.Info", Field, 0}, - {"Rela32.Off", Field, 0}, - {"Rela64", Type, 0}, - {"Rela64.Addend", Field, 0}, - {"Rela64.Info", Field, 0}, - {"Rela64.Off", Field, 0}, - {"SHF_ALLOC", Const, 0}, - {"SHF_COMPRESSED", Const, 6}, - {"SHF_EXECINSTR", Const, 0}, - {"SHF_GROUP", Const, 0}, - {"SHF_INFO_LINK", Const, 0}, - {"SHF_LINK_ORDER", Const, 0}, - {"SHF_MASKOS", Const, 0}, - {"SHF_MASKPROC", Const, 0}, - {"SHF_MERGE", Const, 0}, - {"SHF_OS_NONCONFORMING", Const, 0}, - {"SHF_STRINGS", Const, 0}, - {"SHF_TLS", Const, 0}, - {"SHF_WRITE", Const, 0}, - {"SHN_ABS", Const, 0}, - {"SHN_COMMON", Const, 0}, - {"SHN_HIOS", Const, 0}, - {"SHN_HIPROC", Const, 0}, - {"SHN_HIRESERVE", Const, 0}, - {"SHN_LOOS", Const, 0}, - {"SHN_LOPROC", Const, 0}, - {"SHN_LORESERVE", Const, 0}, - {"SHN_UNDEF", Const, 0}, - {"SHN_XINDEX", Const, 0}, - {"SHT_DYNAMIC", Const, 0}, - {"SHT_DYNSYM", Const, 0}, - {"SHT_FINI_ARRAY", Const, 0}, - {"SHT_GNU_ATTRIBUTES", Const, 0}, - {"SHT_GNU_HASH", Const, 0}, - {"SHT_GNU_LIBLIST", Const, 0}, - {"SHT_GNU_VERDEF", Const, 0}, - {"SHT_GNU_VERNEED", Const, 0}, - {"SHT_GNU_VERSYM", Const, 0}, - {"SHT_GROUP", Const, 0}, - {"SHT_HASH", Const, 0}, - {"SHT_HIOS", Const, 0}, - {"SHT_HIPROC", Const, 0}, - {"SHT_HIUSER", Const, 0}, - {"SHT_INIT_ARRAY", Const, 0}, - {"SHT_LOOS", Const, 0}, - {"SHT_LOPROC", Const, 0}, - {"SHT_LOUSER", Const, 0}, - {"SHT_MIPS_ABIFLAGS", Const, 17}, - {"SHT_NOBITS", Const, 0}, - {"SHT_NOTE", Const, 0}, - {"SHT_NULL", Const, 0}, - {"SHT_PREINIT_ARRAY", Const, 0}, - {"SHT_PROGBITS", Const, 0}, - {"SHT_REL", Const, 0}, - {"SHT_RELA", Const, 0}, - {"SHT_SHLIB", Const, 0}, - {"SHT_STRTAB", Const, 0}, - {"SHT_SYMTAB", Const, 0}, - {"SHT_SYMTAB_SHNDX", Const, 0}, - {"STB_GLOBAL", Const, 0}, - {"STB_HIOS", Const, 0}, - {"STB_HIPROC", Const, 0}, - {"STB_LOCAL", Const, 0}, - {"STB_LOOS", Const, 0}, - {"STB_LOPROC", Const, 0}, - {"STB_WEAK", Const, 0}, - {"STT_COMMON", Const, 0}, - {"STT_FILE", Const, 0}, - {"STT_FUNC", Const, 0}, - {"STT_GNU_IFUNC", Const, 23}, - {"STT_HIOS", Const, 0}, - {"STT_HIPROC", Const, 0}, - {"STT_LOOS", Const, 0}, - {"STT_LOPROC", Const, 0}, - {"STT_NOTYPE", Const, 0}, - {"STT_OBJECT", Const, 0}, - {"STT_RELC", Const, 23}, - {"STT_SECTION", Const, 0}, - {"STT_SRELC", Const, 23}, - {"STT_TLS", Const, 0}, - {"STV_DEFAULT", Const, 0}, - {"STV_HIDDEN", Const, 0}, - {"STV_INTERNAL", Const, 0}, - {"STV_PROTECTED", Const, 0}, - {"ST_BIND", Func, 0}, - {"ST_INFO", Func, 0}, - {"ST_TYPE", Func, 0}, - {"ST_VISIBILITY", Func, 0}, - {"Section", Type, 0}, - {"Section.ReaderAt", Field, 0}, - {"Section.SectionHeader", Field, 0}, - {"Section32", Type, 0}, - {"Section32.Addr", Field, 0}, - {"Section32.Addralign", Field, 0}, - {"Section32.Entsize", Field, 0}, - {"Section32.Flags", Field, 0}, - {"Section32.Info", Field, 0}, - {"Section32.Link", Field, 0}, - {"Section32.Name", Field, 0}, - {"Section32.Off", Field, 0}, - {"Section32.Size", Field, 0}, - {"Section32.Type", Field, 0}, - {"Section64", Type, 0}, - {"Section64.Addr", Field, 0}, - {"Section64.Addralign", Field, 0}, - {"Section64.Entsize", Field, 0}, - {"Section64.Flags", Field, 0}, - {"Section64.Info", Field, 0}, - {"Section64.Link", Field, 0}, - {"Section64.Name", Field, 0}, - {"Section64.Off", Field, 0}, - {"Section64.Size", Field, 0}, - {"Section64.Type", Field, 0}, - {"SectionFlag", Type, 0}, - {"SectionHeader", Type, 0}, - {"SectionHeader.Addr", Field, 0}, - {"SectionHeader.Addralign", Field, 0}, - {"SectionHeader.Entsize", Field, 0}, - {"SectionHeader.FileSize", Field, 6}, - {"SectionHeader.Flags", Field, 0}, - {"SectionHeader.Info", Field, 0}, - {"SectionHeader.Link", Field, 0}, - {"SectionHeader.Name", Field, 0}, - {"SectionHeader.Offset", Field, 0}, - {"SectionHeader.Size", Field, 0}, - {"SectionHeader.Type", Field, 0}, - {"SectionIndex", Type, 0}, - {"SectionType", Type, 0}, - {"Sym32", Type, 0}, - {"Sym32.Info", Field, 0}, - {"Sym32.Name", Field, 0}, - {"Sym32.Other", Field, 0}, - {"Sym32.Shndx", Field, 0}, - {"Sym32.Size", Field, 0}, - {"Sym32.Value", Field, 0}, - {"Sym32Size", Const, 0}, - {"Sym64", Type, 0}, - {"Sym64.Info", Field, 0}, - {"Sym64.Name", Field, 0}, - {"Sym64.Other", Field, 0}, - {"Sym64.Shndx", Field, 0}, - {"Sym64.Size", Field, 0}, - {"Sym64.Value", Field, 0}, - {"Sym64Size", Const, 0}, - {"SymBind", Type, 0}, - {"SymType", Type, 0}, - {"SymVis", Type, 0}, - {"Symbol", Type, 0}, - {"Symbol.Info", Field, 0}, - {"Symbol.Library", Field, 13}, - {"Symbol.Name", Field, 0}, - {"Symbol.Other", Field, 0}, - {"Symbol.Section", Field, 0}, - {"Symbol.Size", Field, 0}, - {"Symbol.Value", Field, 0}, - {"Symbol.Version", Field, 13}, - {"Symbol.VersionIndex", Field, 24}, - {"Symbol.VersionScope", Field, 24}, - {"SymbolVersionScope", Type, 24}, - {"Type", Type, 0}, - {"VER_FLG_BASE", Const, 24}, - {"VER_FLG_INFO", Const, 24}, - {"VER_FLG_WEAK", Const, 24}, - {"Version", Type, 0}, - {"VersionScopeGlobal", Const, 24}, - {"VersionScopeHidden", Const, 24}, - {"VersionScopeLocal", Const, 24}, - {"VersionScopeNone", Const, 24}, - {"VersionScopeSpecific", Const, 24}, + {"(*File).Close", Method, 0, ""}, + {"(*File).DWARF", Method, 0, ""}, + {"(*File).DynString", Method, 1, ""}, + {"(*File).DynValue", Method, 21, ""}, + {"(*File).DynamicSymbols", Method, 4, ""}, + {"(*File).DynamicVersionNeeds", Method, 24, ""}, + {"(*File).DynamicVersions", Method, 24, ""}, + {"(*File).ImportedLibraries", Method, 0, ""}, + {"(*File).ImportedSymbols", Method, 0, ""}, + {"(*File).Section", Method, 0, ""}, + {"(*File).SectionByType", Method, 0, ""}, + {"(*File).Symbols", Method, 0, ""}, + {"(*FormatError).Error", Method, 0, ""}, + {"(*Prog).Open", Method, 0, ""}, + {"(*Section).Data", Method, 0, ""}, + {"(*Section).Open", Method, 0, ""}, + {"(Class).GoString", Method, 0, ""}, + {"(Class).String", Method, 0, ""}, + {"(CompressionType).GoString", Method, 6, ""}, + {"(CompressionType).String", Method, 6, ""}, + {"(Data).GoString", Method, 0, ""}, + {"(Data).String", Method, 0, ""}, + {"(DynFlag).GoString", Method, 0, ""}, + {"(DynFlag).String", Method, 0, ""}, + {"(DynFlag1).GoString", Method, 21, ""}, + {"(DynFlag1).String", Method, 21, ""}, + {"(DynTag).GoString", Method, 0, ""}, + {"(DynTag).String", Method, 0, ""}, + {"(Machine).GoString", Method, 0, ""}, + {"(Machine).String", Method, 0, ""}, + {"(NType).GoString", Method, 0, ""}, + {"(NType).String", Method, 0, ""}, + {"(OSABI).GoString", Method, 0, ""}, + {"(OSABI).String", Method, 0, ""}, + {"(Prog).ReadAt", Method, 0, ""}, + {"(ProgFlag).GoString", Method, 0, ""}, + {"(ProgFlag).String", Method, 0, ""}, + {"(ProgType).GoString", Method, 0, ""}, + {"(ProgType).String", Method, 0, ""}, + {"(R_386).GoString", Method, 0, ""}, + {"(R_386).String", Method, 0, ""}, + {"(R_390).GoString", Method, 7, ""}, + {"(R_390).String", Method, 7, ""}, + {"(R_AARCH64).GoString", Method, 4, ""}, + {"(R_AARCH64).String", Method, 4, ""}, + {"(R_ALPHA).GoString", Method, 0, ""}, + {"(R_ALPHA).String", Method, 0, ""}, + {"(R_ARM).GoString", Method, 0, ""}, + {"(R_ARM).String", Method, 0, ""}, + {"(R_LARCH).GoString", Method, 19, ""}, + {"(R_LARCH).String", Method, 19, ""}, + {"(R_MIPS).GoString", Method, 6, ""}, + {"(R_MIPS).String", Method, 6, ""}, + {"(R_PPC).GoString", Method, 0, ""}, + {"(R_PPC).String", Method, 0, ""}, + {"(R_PPC64).GoString", Method, 5, ""}, + {"(R_PPC64).String", Method, 5, ""}, + {"(R_RISCV).GoString", Method, 11, ""}, + {"(R_RISCV).String", Method, 11, ""}, + {"(R_SPARC).GoString", Method, 0, ""}, + {"(R_SPARC).String", Method, 0, ""}, + {"(R_X86_64).GoString", Method, 0, ""}, + {"(R_X86_64).String", Method, 0, ""}, + {"(Section).ReadAt", Method, 0, ""}, + {"(SectionFlag).GoString", Method, 0, ""}, + {"(SectionFlag).String", Method, 0, ""}, + {"(SectionIndex).GoString", Method, 0, ""}, + {"(SectionIndex).String", Method, 0, ""}, + {"(SectionType).GoString", Method, 0, ""}, + {"(SectionType).String", Method, 0, ""}, + {"(SymBind).GoString", Method, 0, ""}, + {"(SymBind).String", Method, 0, ""}, + {"(SymType).GoString", Method, 0, ""}, + {"(SymType).String", Method, 0, ""}, + {"(SymVis).GoString", Method, 0, ""}, + {"(SymVis).String", Method, 0, ""}, + {"(Type).GoString", Method, 0, ""}, + {"(Type).String", Method, 0, ""}, + {"(Version).GoString", Method, 0, ""}, + {"(Version).String", Method, 0, ""}, + {"(VersionIndex).Index", Method, 24, ""}, + {"(VersionIndex).IsHidden", Method, 24, ""}, + {"ARM_MAGIC_TRAMP_NUMBER", Const, 0, ""}, + {"COMPRESS_HIOS", Const, 6, ""}, + {"COMPRESS_HIPROC", Const, 6, ""}, + {"COMPRESS_LOOS", Const, 6, ""}, + {"COMPRESS_LOPROC", Const, 6, ""}, + {"COMPRESS_ZLIB", Const, 6, ""}, + {"COMPRESS_ZSTD", Const, 21, ""}, + {"Chdr32", Type, 6, ""}, + {"Chdr32.Addralign", Field, 6, ""}, + {"Chdr32.Size", Field, 6, ""}, + {"Chdr32.Type", Field, 6, ""}, + {"Chdr64", Type, 6, ""}, + {"Chdr64.Addralign", Field, 6, ""}, + {"Chdr64.Size", Field, 6, ""}, + {"Chdr64.Type", Field, 6, ""}, + {"Class", Type, 0, ""}, + {"CompressionType", Type, 6, ""}, + {"DF_1_CONFALT", Const, 21, ""}, + {"DF_1_DIRECT", Const, 21, ""}, + {"DF_1_DISPRELDNE", Const, 21, ""}, + {"DF_1_DISPRELPND", Const, 21, ""}, + {"DF_1_EDITED", Const, 21, ""}, + {"DF_1_ENDFILTEE", Const, 21, ""}, + {"DF_1_GLOBAL", Const, 21, ""}, + {"DF_1_GLOBAUDIT", Const, 21, ""}, + {"DF_1_GROUP", Const, 21, ""}, + {"DF_1_IGNMULDEF", Const, 21, ""}, + {"DF_1_INITFIRST", Const, 21, ""}, + {"DF_1_INTERPOSE", Const, 21, ""}, + {"DF_1_KMOD", Const, 21, ""}, + {"DF_1_LOADFLTR", Const, 21, ""}, + {"DF_1_NOCOMMON", Const, 21, ""}, + {"DF_1_NODEFLIB", Const, 21, ""}, + {"DF_1_NODELETE", Const, 21, ""}, + {"DF_1_NODIRECT", Const, 21, ""}, + {"DF_1_NODUMP", Const, 21, ""}, + {"DF_1_NOHDR", Const, 21, ""}, + {"DF_1_NOKSYMS", Const, 21, ""}, + {"DF_1_NOOPEN", Const, 21, ""}, + {"DF_1_NORELOC", Const, 21, ""}, + {"DF_1_NOW", Const, 21, ""}, + {"DF_1_ORIGIN", Const, 21, ""}, + {"DF_1_PIE", Const, 21, ""}, + {"DF_1_SINGLETON", Const, 21, ""}, + {"DF_1_STUB", Const, 21, ""}, + {"DF_1_SYMINTPOSE", Const, 21, ""}, + {"DF_1_TRANS", Const, 21, ""}, + {"DF_1_WEAKFILTER", Const, 21, ""}, + {"DF_BIND_NOW", Const, 0, ""}, + {"DF_ORIGIN", Const, 0, ""}, + {"DF_STATIC_TLS", Const, 0, ""}, + {"DF_SYMBOLIC", Const, 0, ""}, + {"DF_TEXTREL", Const, 0, ""}, + {"DT_ADDRRNGHI", Const, 16, ""}, + {"DT_ADDRRNGLO", Const, 16, ""}, + {"DT_AUDIT", Const, 16, ""}, + {"DT_AUXILIARY", Const, 16, ""}, + {"DT_BIND_NOW", Const, 0, ""}, + {"DT_CHECKSUM", Const, 16, ""}, + {"DT_CONFIG", Const, 16, ""}, + {"DT_DEBUG", Const, 0, ""}, + {"DT_DEPAUDIT", Const, 16, ""}, + {"DT_ENCODING", Const, 0, ""}, + {"DT_FEATURE", Const, 16, ""}, + {"DT_FILTER", Const, 16, ""}, + {"DT_FINI", Const, 0, ""}, + {"DT_FINI_ARRAY", Const, 0, ""}, + {"DT_FINI_ARRAYSZ", Const, 0, ""}, + {"DT_FLAGS", Const, 0, ""}, + {"DT_FLAGS_1", Const, 16, ""}, + {"DT_GNU_CONFLICT", Const, 16, ""}, + {"DT_GNU_CONFLICTSZ", Const, 16, ""}, + {"DT_GNU_HASH", Const, 16, ""}, + {"DT_GNU_LIBLIST", Const, 16, ""}, + {"DT_GNU_LIBLISTSZ", Const, 16, ""}, + {"DT_GNU_PRELINKED", Const, 16, ""}, + {"DT_HASH", Const, 0, ""}, + {"DT_HIOS", Const, 0, ""}, + {"DT_HIPROC", Const, 0, ""}, + {"DT_INIT", Const, 0, ""}, + {"DT_INIT_ARRAY", Const, 0, ""}, + {"DT_INIT_ARRAYSZ", Const, 0, ""}, + {"DT_JMPREL", Const, 0, ""}, + {"DT_LOOS", Const, 0, ""}, + {"DT_LOPROC", Const, 0, ""}, + {"DT_MIPS_AUX_DYNAMIC", Const, 16, ""}, + {"DT_MIPS_BASE_ADDRESS", Const, 16, ""}, + {"DT_MIPS_COMPACT_SIZE", Const, 16, ""}, + {"DT_MIPS_CONFLICT", Const, 16, ""}, + {"DT_MIPS_CONFLICTNO", Const, 16, ""}, + {"DT_MIPS_CXX_FLAGS", Const, 16, ""}, + {"DT_MIPS_DELTA_CLASS", Const, 16, ""}, + {"DT_MIPS_DELTA_CLASSSYM", Const, 16, ""}, + {"DT_MIPS_DELTA_CLASSSYM_NO", Const, 16, ""}, + {"DT_MIPS_DELTA_CLASS_NO", Const, 16, ""}, + {"DT_MIPS_DELTA_INSTANCE", Const, 16, ""}, + {"DT_MIPS_DELTA_INSTANCE_NO", Const, 16, ""}, + {"DT_MIPS_DELTA_RELOC", Const, 16, ""}, + {"DT_MIPS_DELTA_RELOC_NO", Const, 16, ""}, + {"DT_MIPS_DELTA_SYM", Const, 16, ""}, + {"DT_MIPS_DELTA_SYM_NO", Const, 16, ""}, + {"DT_MIPS_DYNSTR_ALIGN", Const, 16, ""}, + {"DT_MIPS_FLAGS", Const, 16, ""}, + {"DT_MIPS_GOTSYM", Const, 16, ""}, + {"DT_MIPS_GP_VALUE", Const, 16, ""}, + {"DT_MIPS_HIDDEN_GOTIDX", Const, 16, ""}, + {"DT_MIPS_HIPAGENO", Const, 16, ""}, + {"DT_MIPS_ICHECKSUM", Const, 16, ""}, + {"DT_MIPS_INTERFACE", Const, 16, ""}, + {"DT_MIPS_INTERFACE_SIZE", Const, 16, ""}, + {"DT_MIPS_IVERSION", Const, 16, ""}, + {"DT_MIPS_LIBLIST", Const, 16, ""}, + {"DT_MIPS_LIBLISTNO", Const, 16, ""}, + {"DT_MIPS_LOCALPAGE_GOTIDX", Const, 16, ""}, + {"DT_MIPS_LOCAL_GOTIDX", Const, 16, ""}, + {"DT_MIPS_LOCAL_GOTNO", Const, 16, ""}, + {"DT_MIPS_MSYM", Const, 16, ""}, + {"DT_MIPS_OPTIONS", Const, 16, ""}, + {"DT_MIPS_PERF_SUFFIX", Const, 16, ""}, + {"DT_MIPS_PIXIE_INIT", Const, 16, ""}, + {"DT_MIPS_PLTGOT", Const, 16, ""}, + {"DT_MIPS_PROTECTED_GOTIDX", Const, 16, ""}, + {"DT_MIPS_RLD_MAP", Const, 16, ""}, + {"DT_MIPS_RLD_MAP_REL", Const, 16, ""}, + {"DT_MIPS_RLD_TEXT_RESOLVE_ADDR", Const, 16, ""}, + {"DT_MIPS_RLD_VERSION", Const, 16, ""}, + {"DT_MIPS_RWPLT", Const, 16, ""}, + {"DT_MIPS_SYMBOL_LIB", Const, 16, ""}, + {"DT_MIPS_SYMTABNO", Const, 16, ""}, + {"DT_MIPS_TIME_STAMP", Const, 16, ""}, + {"DT_MIPS_UNREFEXTNO", Const, 16, ""}, + {"DT_MOVEENT", Const, 16, ""}, + {"DT_MOVESZ", Const, 16, ""}, + {"DT_MOVETAB", Const, 16, ""}, + {"DT_NEEDED", Const, 0, ""}, + {"DT_NULL", Const, 0, ""}, + {"DT_PLTGOT", Const, 0, ""}, + {"DT_PLTPAD", Const, 16, ""}, + {"DT_PLTPADSZ", Const, 16, ""}, + {"DT_PLTREL", Const, 0, ""}, + {"DT_PLTRELSZ", Const, 0, ""}, + {"DT_POSFLAG_1", Const, 16, ""}, + {"DT_PPC64_GLINK", Const, 16, ""}, + {"DT_PPC64_OPD", Const, 16, ""}, + {"DT_PPC64_OPDSZ", Const, 16, ""}, + {"DT_PPC64_OPT", Const, 16, ""}, + {"DT_PPC_GOT", Const, 16, ""}, + {"DT_PPC_OPT", Const, 16, ""}, + {"DT_PREINIT_ARRAY", Const, 0, ""}, + {"DT_PREINIT_ARRAYSZ", Const, 0, ""}, + {"DT_REL", Const, 0, ""}, + {"DT_RELA", Const, 0, ""}, + {"DT_RELACOUNT", Const, 16, ""}, + {"DT_RELAENT", Const, 0, ""}, + {"DT_RELASZ", Const, 0, ""}, + {"DT_RELCOUNT", Const, 16, ""}, + {"DT_RELENT", Const, 0, ""}, + {"DT_RELSZ", Const, 0, ""}, + {"DT_RPATH", Const, 0, ""}, + {"DT_RUNPATH", Const, 0, ""}, + {"DT_SONAME", Const, 0, ""}, + {"DT_SPARC_REGISTER", Const, 16, ""}, + {"DT_STRSZ", Const, 0, ""}, + {"DT_STRTAB", Const, 0, ""}, + {"DT_SYMBOLIC", Const, 0, ""}, + {"DT_SYMENT", Const, 0, ""}, + {"DT_SYMINENT", Const, 16, ""}, + {"DT_SYMINFO", Const, 16, ""}, + {"DT_SYMINSZ", Const, 16, ""}, + {"DT_SYMTAB", Const, 0, ""}, + {"DT_SYMTAB_SHNDX", Const, 16, ""}, + {"DT_TEXTREL", Const, 0, ""}, + {"DT_TLSDESC_GOT", Const, 16, ""}, + {"DT_TLSDESC_PLT", Const, 16, ""}, + {"DT_USED", Const, 16, ""}, + {"DT_VALRNGHI", Const, 16, ""}, + {"DT_VALRNGLO", Const, 16, ""}, + {"DT_VERDEF", Const, 16, ""}, + {"DT_VERDEFNUM", Const, 16, ""}, + {"DT_VERNEED", Const, 0, ""}, + {"DT_VERNEEDNUM", Const, 0, ""}, + {"DT_VERSYM", Const, 0, ""}, + {"Data", Type, 0, ""}, + {"Dyn32", Type, 0, ""}, + {"Dyn32.Tag", Field, 0, ""}, + {"Dyn32.Val", Field, 0, ""}, + {"Dyn64", Type, 0, ""}, + {"Dyn64.Tag", Field, 0, ""}, + {"Dyn64.Val", Field, 0, ""}, + {"DynFlag", Type, 0, ""}, + {"DynFlag1", Type, 21, ""}, + {"DynTag", Type, 0, ""}, + {"DynamicVersion", Type, 24, ""}, + {"DynamicVersion.Deps", Field, 24, ""}, + {"DynamicVersion.Flags", Field, 24, ""}, + {"DynamicVersion.Index", Field, 24, ""}, + {"DynamicVersion.Name", Field, 24, ""}, + {"DynamicVersionDep", Type, 24, ""}, + {"DynamicVersionDep.Dep", Field, 24, ""}, + {"DynamicVersionDep.Flags", Field, 24, ""}, + {"DynamicVersionDep.Index", Field, 24, ""}, + {"DynamicVersionFlag", Type, 24, ""}, + {"DynamicVersionNeed", Type, 24, ""}, + {"DynamicVersionNeed.Name", Field, 24, ""}, + {"DynamicVersionNeed.Needs", Field, 24, ""}, + {"EI_ABIVERSION", Const, 0, ""}, + {"EI_CLASS", Const, 0, ""}, + {"EI_DATA", Const, 0, ""}, + {"EI_NIDENT", Const, 0, ""}, + {"EI_OSABI", Const, 0, ""}, + {"EI_PAD", Const, 0, ""}, + {"EI_VERSION", Const, 0, ""}, + {"ELFCLASS32", Const, 0, ""}, + {"ELFCLASS64", Const, 0, ""}, + {"ELFCLASSNONE", Const, 0, ""}, + {"ELFDATA2LSB", Const, 0, ""}, + {"ELFDATA2MSB", Const, 0, ""}, + {"ELFDATANONE", Const, 0, ""}, + {"ELFMAG", Const, 0, ""}, + {"ELFOSABI_86OPEN", Const, 0, ""}, + {"ELFOSABI_AIX", Const, 0, ""}, + {"ELFOSABI_ARM", Const, 0, ""}, + {"ELFOSABI_AROS", Const, 11, ""}, + {"ELFOSABI_CLOUDABI", Const, 11, ""}, + {"ELFOSABI_FENIXOS", Const, 11, ""}, + {"ELFOSABI_FREEBSD", Const, 0, ""}, + {"ELFOSABI_HPUX", Const, 0, ""}, + {"ELFOSABI_HURD", Const, 0, ""}, + {"ELFOSABI_IRIX", Const, 0, ""}, + {"ELFOSABI_LINUX", Const, 0, ""}, + {"ELFOSABI_MODESTO", Const, 0, ""}, + {"ELFOSABI_NETBSD", Const, 0, ""}, + {"ELFOSABI_NONE", Const, 0, ""}, + {"ELFOSABI_NSK", Const, 0, ""}, + {"ELFOSABI_OPENBSD", Const, 0, ""}, + {"ELFOSABI_OPENVMS", Const, 0, ""}, + {"ELFOSABI_SOLARIS", Const, 0, ""}, + {"ELFOSABI_STANDALONE", Const, 0, ""}, + {"ELFOSABI_TRU64", Const, 0, ""}, + {"EM_386", Const, 0, ""}, + {"EM_486", Const, 0, ""}, + {"EM_56800EX", Const, 11, ""}, + {"EM_68HC05", Const, 11, ""}, + {"EM_68HC08", Const, 11, ""}, + {"EM_68HC11", Const, 11, ""}, + {"EM_68HC12", Const, 0, ""}, + {"EM_68HC16", Const, 11, ""}, + {"EM_68K", Const, 0, ""}, + {"EM_78KOR", Const, 11, ""}, + {"EM_8051", Const, 11, ""}, + {"EM_860", Const, 0, ""}, + {"EM_88K", Const, 0, ""}, + {"EM_960", Const, 0, ""}, + {"EM_AARCH64", Const, 4, ""}, + {"EM_ALPHA", Const, 0, ""}, + {"EM_ALPHA_STD", Const, 0, ""}, + {"EM_ALTERA_NIOS2", Const, 11, ""}, + {"EM_AMDGPU", Const, 11, ""}, + {"EM_ARC", Const, 0, ""}, + {"EM_ARCA", Const, 11, ""}, + {"EM_ARC_COMPACT", Const, 11, ""}, + {"EM_ARC_COMPACT2", Const, 11, ""}, + {"EM_ARM", Const, 0, ""}, + {"EM_AVR", Const, 11, ""}, + {"EM_AVR32", Const, 11, ""}, + {"EM_BA1", Const, 11, ""}, + {"EM_BA2", Const, 11, ""}, + {"EM_BLACKFIN", Const, 11, ""}, + {"EM_BPF", Const, 11, ""}, + {"EM_C166", Const, 11, ""}, + {"EM_CDP", Const, 11, ""}, + {"EM_CE", Const, 11, ""}, + {"EM_CLOUDSHIELD", Const, 11, ""}, + {"EM_COGE", Const, 11, ""}, + {"EM_COLDFIRE", Const, 0, ""}, + {"EM_COOL", Const, 11, ""}, + {"EM_COREA_1ST", Const, 11, ""}, + {"EM_COREA_2ND", Const, 11, ""}, + {"EM_CR", Const, 11, ""}, + {"EM_CR16", Const, 11, ""}, + {"EM_CRAYNV2", Const, 11, ""}, + {"EM_CRIS", Const, 11, ""}, + {"EM_CRX", Const, 11, ""}, + {"EM_CSR_KALIMBA", Const, 11, ""}, + {"EM_CUDA", Const, 11, ""}, + {"EM_CYPRESS_M8C", Const, 11, ""}, + {"EM_D10V", Const, 11, ""}, + {"EM_D30V", Const, 11, ""}, + {"EM_DSP24", Const, 11, ""}, + {"EM_DSPIC30F", Const, 11, ""}, + {"EM_DXP", Const, 11, ""}, + {"EM_ECOG1", Const, 11, ""}, + {"EM_ECOG16", Const, 11, ""}, + {"EM_ECOG1X", Const, 11, ""}, + {"EM_ECOG2", Const, 11, ""}, + {"EM_ETPU", Const, 11, ""}, + {"EM_EXCESS", Const, 11, ""}, + {"EM_F2MC16", Const, 11, ""}, + {"EM_FIREPATH", Const, 11, ""}, + {"EM_FR20", Const, 0, ""}, + {"EM_FR30", Const, 11, ""}, + {"EM_FT32", Const, 11, ""}, + {"EM_FX66", Const, 11, ""}, + {"EM_H8S", Const, 0, ""}, + {"EM_H8_300", Const, 0, ""}, + {"EM_H8_300H", Const, 0, ""}, + {"EM_H8_500", Const, 0, ""}, + {"EM_HUANY", Const, 11, ""}, + {"EM_IA_64", Const, 0, ""}, + {"EM_INTEL205", Const, 11, ""}, + {"EM_INTEL206", Const, 11, ""}, + {"EM_INTEL207", Const, 11, ""}, + {"EM_INTEL208", Const, 11, ""}, + {"EM_INTEL209", Const, 11, ""}, + {"EM_IP2K", Const, 11, ""}, + {"EM_JAVELIN", Const, 11, ""}, + {"EM_K10M", Const, 11, ""}, + {"EM_KM32", Const, 11, ""}, + {"EM_KMX16", Const, 11, ""}, + {"EM_KMX32", Const, 11, ""}, + {"EM_KMX8", Const, 11, ""}, + {"EM_KVARC", Const, 11, ""}, + {"EM_L10M", Const, 11, ""}, + {"EM_LANAI", Const, 11, ""}, + {"EM_LATTICEMICO32", Const, 11, ""}, + {"EM_LOONGARCH", Const, 19, ""}, + {"EM_M16C", Const, 11, ""}, + {"EM_M32", Const, 0, ""}, + {"EM_M32C", Const, 11, ""}, + {"EM_M32R", Const, 11, ""}, + {"EM_MANIK", Const, 11, ""}, + {"EM_MAX", Const, 11, ""}, + {"EM_MAXQ30", Const, 11, ""}, + {"EM_MCHP_PIC", Const, 11, ""}, + {"EM_MCST_ELBRUS", Const, 11, ""}, + {"EM_ME16", Const, 0, ""}, + {"EM_METAG", Const, 11, ""}, + {"EM_MICROBLAZE", Const, 11, ""}, + {"EM_MIPS", Const, 0, ""}, + {"EM_MIPS_RS3_LE", Const, 0, ""}, + {"EM_MIPS_RS4_BE", Const, 0, ""}, + {"EM_MIPS_X", Const, 0, ""}, + {"EM_MMA", Const, 0, ""}, + {"EM_MMDSP_PLUS", Const, 11, ""}, + {"EM_MMIX", Const, 11, ""}, + {"EM_MN10200", Const, 11, ""}, + {"EM_MN10300", Const, 11, ""}, + {"EM_MOXIE", Const, 11, ""}, + {"EM_MSP430", Const, 11, ""}, + {"EM_NCPU", Const, 0, ""}, + {"EM_NDR1", Const, 0, ""}, + {"EM_NDS32", Const, 11, ""}, + {"EM_NONE", Const, 0, ""}, + {"EM_NORC", Const, 11, ""}, + {"EM_NS32K", Const, 11, ""}, + {"EM_OPEN8", Const, 11, ""}, + {"EM_OPENRISC", Const, 11, ""}, + {"EM_PARISC", Const, 0, ""}, + {"EM_PCP", Const, 0, ""}, + {"EM_PDP10", Const, 11, ""}, + {"EM_PDP11", Const, 11, ""}, + {"EM_PDSP", Const, 11, ""}, + {"EM_PJ", Const, 11, ""}, + {"EM_PPC", Const, 0, ""}, + {"EM_PPC64", Const, 0, ""}, + {"EM_PRISM", Const, 11, ""}, + {"EM_QDSP6", Const, 11, ""}, + {"EM_R32C", Const, 11, ""}, + {"EM_RCE", Const, 0, ""}, + {"EM_RH32", Const, 0, ""}, + {"EM_RISCV", Const, 11, ""}, + {"EM_RL78", Const, 11, ""}, + {"EM_RS08", Const, 11, ""}, + {"EM_RX", Const, 11, ""}, + {"EM_S370", Const, 0, ""}, + {"EM_S390", Const, 0, ""}, + {"EM_SCORE7", Const, 11, ""}, + {"EM_SEP", Const, 11, ""}, + {"EM_SE_C17", Const, 11, ""}, + {"EM_SE_C33", Const, 11, ""}, + {"EM_SH", Const, 0, ""}, + {"EM_SHARC", Const, 11, ""}, + {"EM_SLE9X", Const, 11, ""}, + {"EM_SNP1K", Const, 11, ""}, + {"EM_SPARC", Const, 0, ""}, + {"EM_SPARC32PLUS", Const, 0, ""}, + {"EM_SPARCV9", Const, 0, ""}, + {"EM_ST100", Const, 0, ""}, + {"EM_ST19", Const, 11, ""}, + {"EM_ST200", Const, 11, ""}, + {"EM_ST7", Const, 11, ""}, + {"EM_ST9PLUS", Const, 11, ""}, + {"EM_STARCORE", Const, 0, ""}, + {"EM_STM8", Const, 11, ""}, + {"EM_STXP7X", Const, 11, ""}, + {"EM_SVX", Const, 11, ""}, + {"EM_TILE64", Const, 11, ""}, + {"EM_TILEGX", Const, 11, ""}, + {"EM_TILEPRO", Const, 11, ""}, + {"EM_TINYJ", Const, 0, ""}, + {"EM_TI_ARP32", Const, 11, ""}, + {"EM_TI_C2000", Const, 11, ""}, + {"EM_TI_C5500", Const, 11, ""}, + {"EM_TI_C6000", Const, 11, ""}, + {"EM_TI_PRU", Const, 11, ""}, + {"EM_TMM_GPP", Const, 11, ""}, + {"EM_TPC", Const, 11, ""}, + {"EM_TRICORE", Const, 0, ""}, + {"EM_TRIMEDIA", Const, 11, ""}, + {"EM_TSK3000", Const, 11, ""}, + {"EM_UNICORE", Const, 11, ""}, + {"EM_V800", Const, 0, ""}, + {"EM_V850", Const, 11, ""}, + {"EM_VAX", Const, 11, ""}, + {"EM_VIDEOCORE", Const, 11, ""}, + {"EM_VIDEOCORE3", Const, 11, ""}, + {"EM_VIDEOCORE5", Const, 11, ""}, + {"EM_VISIUM", Const, 11, ""}, + {"EM_VPP500", Const, 0, ""}, + {"EM_X86_64", Const, 0, ""}, + {"EM_XCORE", Const, 11, ""}, + {"EM_XGATE", Const, 11, ""}, + {"EM_XIMO16", Const, 11, ""}, + {"EM_XTENSA", Const, 11, ""}, + {"EM_Z80", Const, 11, ""}, + {"EM_ZSP", Const, 11, ""}, + {"ET_CORE", Const, 0, ""}, + {"ET_DYN", Const, 0, ""}, + {"ET_EXEC", Const, 0, ""}, + {"ET_HIOS", Const, 0, ""}, + {"ET_HIPROC", Const, 0, ""}, + {"ET_LOOS", Const, 0, ""}, + {"ET_LOPROC", Const, 0, ""}, + {"ET_NONE", Const, 0, ""}, + {"ET_REL", Const, 0, ""}, + {"EV_CURRENT", Const, 0, ""}, + {"EV_NONE", Const, 0, ""}, + {"ErrNoSymbols", Var, 4, ""}, + {"File", Type, 0, ""}, + {"File.FileHeader", Field, 0, ""}, + {"File.Progs", Field, 0, ""}, + {"File.Sections", Field, 0, ""}, + {"FileHeader", Type, 0, ""}, + {"FileHeader.ABIVersion", Field, 0, ""}, + {"FileHeader.ByteOrder", Field, 0, ""}, + {"FileHeader.Class", Field, 0, ""}, + {"FileHeader.Data", Field, 0, ""}, + {"FileHeader.Entry", Field, 1, ""}, + {"FileHeader.Machine", Field, 0, ""}, + {"FileHeader.OSABI", Field, 0, ""}, + {"FileHeader.Type", Field, 0, ""}, + {"FileHeader.Version", Field, 0, ""}, + {"FormatError", Type, 0, ""}, + {"Header32", Type, 0, ""}, + {"Header32.Ehsize", Field, 0, ""}, + {"Header32.Entry", Field, 0, ""}, + {"Header32.Flags", Field, 0, ""}, + {"Header32.Ident", Field, 0, ""}, + {"Header32.Machine", Field, 0, ""}, + {"Header32.Phentsize", Field, 0, ""}, + {"Header32.Phnum", Field, 0, ""}, + {"Header32.Phoff", Field, 0, ""}, + {"Header32.Shentsize", Field, 0, ""}, + {"Header32.Shnum", Field, 0, ""}, + {"Header32.Shoff", Field, 0, ""}, + {"Header32.Shstrndx", Field, 0, ""}, + {"Header32.Type", Field, 0, ""}, + {"Header32.Version", Field, 0, ""}, + {"Header64", Type, 0, ""}, + {"Header64.Ehsize", Field, 0, ""}, + {"Header64.Entry", Field, 0, ""}, + {"Header64.Flags", Field, 0, ""}, + {"Header64.Ident", Field, 0, ""}, + {"Header64.Machine", Field, 0, ""}, + {"Header64.Phentsize", Field, 0, ""}, + {"Header64.Phnum", Field, 0, ""}, + {"Header64.Phoff", Field, 0, ""}, + {"Header64.Shentsize", Field, 0, ""}, + {"Header64.Shnum", Field, 0, ""}, + {"Header64.Shoff", Field, 0, ""}, + {"Header64.Shstrndx", Field, 0, ""}, + {"Header64.Type", Field, 0, ""}, + {"Header64.Version", Field, 0, ""}, + {"ImportedSymbol", Type, 0, ""}, + {"ImportedSymbol.Library", Field, 0, ""}, + {"ImportedSymbol.Name", Field, 0, ""}, + {"ImportedSymbol.Version", Field, 0, ""}, + {"Machine", Type, 0, ""}, + {"NT_FPREGSET", Const, 0, ""}, + {"NT_PRPSINFO", Const, 0, ""}, + {"NT_PRSTATUS", Const, 0, ""}, + {"NType", Type, 0, ""}, + {"NewFile", Func, 0, "func(r io.ReaderAt) (*File, error)"}, + {"OSABI", Type, 0, ""}, + {"Open", Func, 0, "func(name string) (*File, error)"}, + {"PF_MASKOS", Const, 0, ""}, + {"PF_MASKPROC", Const, 0, ""}, + {"PF_R", Const, 0, ""}, + {"PF_W", Const, 0, ""}, + {"PF_X", Const, 0, ""}, + {"PT_AARCH64_ARCHEXT", Const, 16, ""}, + {"PT_AARCH64_UNWIND", Const, 16, ""}, + {"PT_ARM_ARCHEXT", Const, 16, ""}, + {"PT_ARM_EXIDX", Const, 16, ""}, + {"PT_DYNAMIC", Const, 0, ""}, + {"PT_GNU_EH_FRAME", Const, 16, ""}, + {"PT_GNU_MBIND_HI", Const, 16, ""}, + {"PT_GNU_MBIND_LO", Const, 16, ""}, + {"PT_GNU_PROPERTY", Const, 16, ""}, + {"PT_GNU_RELRO", Const, 16, ""}, + {"PT_GNU_STACK", Const, 16, ""}, + {"PT_HIOS", Const, 0, ""}, + {"PT_HIPROC", Const, 0, ""}, + {"PT_INTERP", Const, 0, ""}, + {"PT_LOAD", Const, 0, ""}, + {"PT_LOOS", Const, 0, ""}, + {"PT_LOPROC", Const, 0, ""}, + {"PT_MIPS_ABIFLAGS", Const, 16, ""}, + {"PT_MIPS_OPTIONS", Const, 16, ""}, + {"PT_MIPS_REGINFO", Const, 16, ""}, + {"PT_MIPS_RTPROC", Const, 16, ""}, + {"PT_NOTE", Const, 0, ""}, + {"PT_NULL", Const, 0, ""}, + {"PT_OPENBSD_BOOTDATA", Const, 16, ""}, + {"PT_OPENBSD_NOBTCFI", Const, 23, ""}, + {"PT_OPENBSD_RANDOMIZE", Const, 16, ""}, + {"PT_OPENBSD_WXNEEDED", Const, 16, ""}, + {"PT_PAX_FLAGS", Const, 16, ""}, + {"PT_PHDR", Const, 0, ""}, + {"PT_RISCV_ATTRIBUTES", Const, 25, ""}, + {"PT_S390_PGSTE", Const, 16, ""}, + {"PT_SHLIB", Const, 0, ""}, + {"PT_SUNWSTACK", Const, 16, ""}, + {"PT_SUNW_EH_FRAME", Const, 16, ""}, + {"PT_TLS", Const, 0, ""}, + {"Prog", Type, 0, ""}, + {"Prog.ProgHeader", Field, 0, ""}, + {"Prog.ReaderAt", Field, 0, ""}, + {"Prog32", Type, 0, ""}, + {"Prog32.Align", Field, 0, ""}, + {"Prog32.Filesz", Field, 0, ""}, + {"Prog32.Flags", Field, 0, ""}, + {"Prog32.Memsz", Field, 0, ""}, + {"Prog32.Off", Field, 0, ""}, + {"Prog32.Paddr", Field, 0, ""}, + {"Prog32.Type", Field, 0, ""}, + {"Prog32.Vaddr", Field, 0, ""}, + {"Prog64", Type, 0, ""}, + {"Prog64.Align", Field, 0, ""}, + {"Prog64.Filesz", Field, 0, ""}, + {"Prog64.Flags", Field, 0, ""}, + {"Prog64.Memsz", Field, 0, ""}, + {"Prog64.Off", Field, 0, ""}, + {"Prog64.Paddr", Field, 0, ""}, + {"Prog64.Type", Field, 0, ""}, + {"Prog64.Vaddr", Field, 0, ""}, + {"ProgFlag", Type, 0, ""}, + {"ProgHeader", Type, 0, ""}, + {"ProgHeader.Align", Field, 0, ""}, + {"ProgHeader.Filesz", Field, 0, ""}, + {"ProgHeader.Flags", Field, 0, ""}, + {"ProgHeader.Memsz", Field, 0, ""}, + {"ProgHeader.Off", Field, 0, ""}, + {"ProgHeader.Paddr", Field, 0, ""}, + {"ProgHeader.Type", Field, 0, ""}, + {"ProgHeader.Vaddr", Field, 0, ""}, + {"ProgType", Type, 0, ""}, + {"R_386", Type, 0, ""}, + {"R_386_16", Const, 10, ""}, + {"R_386_32", Const, 0, ""}, + {"R_386_32PLT", Const, 10, ""}, + {"R_386_8", Const, 10, ""}, + {"R_386_COPY", Const, 0, ""}, + {"R_386_GLOB_DAT", Const, 0, ""}, + {"R_386_GOT32", Const, 0, ""}, + {"R_386_GOT32X", Const, 10, ""}, + {"R_386_GOTOFF", Const, 0, ""}, + {"R_386_GOTPC", Const, 0, ""}, + {"R_386_IRELATIVE", Const, 10, ""}, + {"R_386_JMP_SLOT", Const, 0, ""}, + {"R_386_NONE", Const, 0, ""}, + {"R_386_PC16", Const, 10, ""}, + {"R_386_PC32", Const, 0, ""}, + {"R_386_PC8", Const, 10, ""}, + {"R_386_PLT32", Const, 0, ""}, + {"R_386_RELATIVE", Const, 0, ""}, + {"R_386_SIZE32", Const, 10, ""}, + {"R_386_TLS_DESC", Const, 10, ""}, + {"R_386_TLS_DESC_CALL", Const, 10, ""}, + {"R_386_TLS_DTPMOD32", Const, 0, ""}, + {"R_386_TLS_DTPOFF32", Const, 0, ""}, + {"R_386_TLS_GD", Const, 0, ""}, + {"R_386_TLS_GD_32", Const, 0, ""}, + {"R_386_TLS_GD_CALL", Const, 0, ""}, + {"R_386_TLS_GD_POP", Const, 0, ""}, + {"R_386_TLS_GD_PUSH", Const, 0, ""}, + {"R_386_TLS_GOTDESC", Const, 10, ""}, + {"R_386_TLS_GOTIE", Const, 0, ""}, + {"R_386_TLS_IE", Const, 0, ""}, + {"R_386_TLS_IE_32", Const, 0, ""}, + {"R_386_TLS_LDM", Const, 0, ""}, + {"R_386_TLS_LDM_32", Const, 0, ""}, + {"R_386_TLS_LDM_CALL", Const, 0, ""}, + {"R_386_TLS_LDM_POP", Const, 0, ""}, + {"R_386_TLS_LDM_PUSH", Const, 0, ""}, + {"R_386_TLS_LDO_32", Const, 0, ""}, + {"R_386_TLS_LE", Const, 0, ""}, + {"R_386_TLS_LE_32", Const, 0, ""}, + {"R_386_TLS_TPOFF", Const, 0, ""}, + {"R_386_TLS_TPOFF32", Const, 0, ""}, + {"R_390", Type, 7, ""}, + {"R_390_12", Const, 7, ""}, + {"R_390_16", Const, 7, ""}, + {"R_390_20", Const, 7, ""}, + {"R_390_32", Const, 7, ""}, + {"R_390_64", Const, 7, ""}, + {"R_390_8", Const, 7, ""}, + {"R_390_COPY", Const, 7, ""}, + {"R_390_GLOB_DAT", Const, 7, ""}, + {"R_390_GOT12", Const, 7, ""}, + {"R_390_GOT16", Const, 7, ""}, + {"R_390_GOT20", Const, 7, ""}, + {"R_390_GOT32", Const, 7, ""}, + {"R_390_GOT64", Const, 7, ""}, + {"R_390_GOTENT", Const, 7, ""}, + {"R_390_GOTOFF", Const, 7, ""}, + {"R_390_GOTOFF16", Const, 7, ""}, + {"R_390_GOTOFF64", Const, 7, ""}, + {"R_390_GOTPC", Const, 7, ""}, + {"R_390_GOTPCDBL", Const, 7, ""}, + {"R_390_GOTPLT12", Const, 7, ""}, + {"R_390_GOTPLT16", Const, 7, ""}, + {"R_390_GOTPLT20", Const, 7, ""}, + {"R_390_GOTPLT32", Const, 7, ""}, + {"R_390_GOTPLT64", Const, 7, ""}, + {"R_390_GOTPLTENT", Const, 7, ""}, + {"R_390_GOTPLTOFF16", Const, 7, ""}, + {"R_390_GOTPLTOFF32", Const, 7, ""}, + {"R_390_GOTPLTOFF64", Const, 7, ""}, + {"R_390_JMP_SLOT", Const, 7, ""}, + {"R_390_NONE", Const, 7, ""}, + {"R_390_PC16", Const, 7, ""}, + {"R_390_PC16DBL", Const, 7, ""}, + {"R_390_PC32", Const, 7, ""}, + {"R_390_PC32DBL", Const, 7, ""}, + {"R_390_PC64", Const, 7, ""}, + {"R_390_PLT16DBL", Const, 7, ""}, + {"R_390_PLT32", Const, 7, ""}, + {"R_390_PLT32DBL", Const, 7, ""}, + {"R_390_PLT64", Const, 7, ""}, + {"R_390_RELATIVE", Const, 7, ""}, + {"R_390_TLS_DTPMOD", Const, 7, ""}, + {"R_390_TLS_DTPOFF", Const, 7, ""}, + {"R_390_TLS_GD32", Const, 7, ""}, + {"R_390_TLS_GD64", Const, 7, ""}, + {"R_390_TLS_GDCALL", Const, 7, ""}, + {"R_390_TLS_GOTIE12", Const, 7, ""}, + {"R_390_TLS_GOTIE20", Const, 7, ""}, + {"R_390_TLS_GOTIE32", Const, 7, ""}, + {"R_390_TLS_GOTIE64", Const, 7, ""}, + {"R_390_TLS_IE32", Const, 7, ""}, + {"R_390_TLS_IE64", Const, 7, ""}, + {"R_390_TLS_IEENT", Const, 7, ""}, + {"R_390_TLS_LDCALL", Const, 7, ""}, + {"R_390_TLS_LDM32", Const, 7, ""}, + {"R_390_TLS_LDM64", Const, 7, ""}, + {"R_390_TLS_LDO32", Const, 7, ""}, + {"R_390_TLS_LDO64", Const, 7, ""}, + {"R_390_TLS_LE32", Const, 7, ""}, + {"R_390_TLS_LE64", Const, 7, ""}, + {"R_390_TLS_LOAD", Const, 7, ""}, + {"R_390_TLS_TPOFF", Const, 7, ""}, + {"R_AARCH64", Type, 4, ""}, + {"R_AARCH64_ABS16", Const, 4, ""}, + {"R_AARCH64_ABS32", Const, 4, ""}, + {"R_AARCH64_ABS64", Const, 4, ""}, + {"R_AARCH64_ADD_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_ADR_GOT_PAGE", Const, 4, ""}, + {"R_AARCH64_ADR_PREL_LO21", Const, 4, ""}, + {"R_AARCH64_ADR_PREL_PG_HI21", Const, 4, ""}, + {"R_AARCH64_ADR_PREL_PG_HI21_NC", Const, 4, ""}, + {"R_AARCH64_CALL26", Const, 4, ""}, + {"R_AARCH64_CONDBR19", Const, 4, ""}, + {"R_AARCH64_COPY", Const, 4, ""}, + {"R_AARCH64_GLOB_DAT", Const, 4, ""}, + {"R_AARCH64_GOT_LD_PREL19", Const, 4, ""}, + {"R_AARCH64_IRELATIVE", Const, 4, ""}, + {"R_AARCH64_JUMP26", Const, 4, ""}, + {"R_AARCH64_JUMP_SLOT", Const, 4, ""}, + {"R_AARCH64_LD64_GOTOFF_LO15", Const, 10, ""}, + {"R_AARCH64_LD64_GOTPAGE_LO15", Const, 10, ""}, + {"R_AARCH64_LD64_GOT_LO12_NC", Const, 4, ""}, + {"R_AARCH64_LDST128_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_LDST16_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_LDST32_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_LDST64_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_LDST8_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_LD_PREL_LO19", Const, 4, ""}, + {"R_AARCH64_MOVW_SABS_G0", Const, 4, ""}, + {"R_AARCH64_MOVW_SABS_G1", Const, 4, ""}, + {"R_AARCH64_MOVW_SABS_G2", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G0", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G0_NC", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G1", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G1_NC", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G2", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G2_NC", Const, 4, ""}, + {"R_AARCH64_MOVW_UABS_G3", Const, 4, ""}, + {"R_AARCH64_NONE", Const, 4, ""}, + {"R_AARCH64_NULL", Const, 4, ""}, + {"R_AARCH64_P32_ABS16", Const, 4, ""}, + {"R_AARCH64_P32_ABS32", Const, 4, ""}, + {"R_AARCH64_P32_ADD_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_ADR_GOT_PAGE", Const, 4, ""}, + {"R_AARCH64_P32_ADR_PREL_LO21", Const, 4, ""}, + {"R_AARCH64_P32_ADR_PREL_PG_HI21", Const, 4, ""}, + {"R_AARCH64_P32_CALL26", Const, 4, ""}, + {"R_AARCH64_P32_CONDBR19", Const, 4, ""}, + {"R_AARCH64_P32_COPY", Const, 4, ""}, + {"R_AARCH64_P32_GLOB_DAT", Const, 4, ""}, + {"R_AARCH64_P32_GOT_LD_PREL19", Const, 4, ""}, + {"R_AARCH64_P32_IRELATIVE", Const, 4, ""}, + {"R_AARCH64_P32_JUMP26", Const, 4, ""}, + {"R_AARCH64_P32_JUMP_SLOT", Const, 4, ""}, + {"R_AARCH64_P32_LD32_GOT_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_LDST128_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_LDST16_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_LDST32_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_LDST64_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_LDST8_ABS_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_LD_PREL_LO19", Const, 4, ""}, + {"R_AARCH64_P32_MOVW_SABS_G0", Const, 4, ""}, + {"R_AARCH64_P32_MOVW_UABS_G0", Const, 4, ""}, + {"R_AARCH64_P32_MOVW_UABS_G0_NC", Const, 4, ""}, + {"R_AARCH64_P32_MOVW_UABS_G1", Const, 4, ""}, + {"R_AARCH64_P32_PREL16", Const, 4, ""}, + {"R_AARCH64_P32_PREL32", Const, 4, ""}, + {"R_AARCH64_P32_RELATIVE", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC_ADD_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC_ADR_PAGE21", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC_ADR_PREL21", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC_CALL", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC_LD32_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_TLSDESC_LD_PREL19", Const, 4, ""}, + {"R_AARCH64_P32_TLSGD_ADD_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_TLSGD_ADR_PAGE21", Const, 4, ""}, + {"R_AARCH64_P32_TLSIE_ADR_GOTTPREL_PAGE21", Const, 4, ""}, + {"R_AARCH64_P32_TLSIE_LD32_GOTTPREL_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_TLSIE_LD_GOTTPREL_PREL19", Const, 4, ""}, + {"R_AARCH64_P32_TLSLE_ADD_TPREL_HI12", Const, 4, ""}, + {"R_AARCH64_P32_TLSLE_ADD_TPREL_LO12", Const, 4, ""}, + {"R_AARCH64_P32_TLSLE_ADD_TPREL_LO12_NC", Const, 4, ""}, + {"R_AARCH64_P32_TLSLE_MOVW_TPREL_G0", Const, 4, ""}, + {"R_AARCH64_P32_TLSLE_MOVW_TPREL_G0_NC", Const, 4, ""}, + {"R_AARCH64_P32_TLSLE_MOVW_TPREL_G1", Const, 4, ""}, + {"R_AARCH64_P32_TLS_DTPMOD", Const, 4, ""}, + {"R_AARCH64_P32_TLS_DTPREL", Const, 4, ""}, + {"R_AARCH64_P32_TLS_TPREL", Const, 4, ""}, + {"R_AARCH64_P32_TSTBR14", Const, 4, ""}, + {"R_AARCH64_PREL16", Const, 4, ""}, + {"R_AARCH64_PREL32", Const, 4, ""}, + {"R_AARCH64_PREL64", Const, 4, ""}, + {"R_AARCH64_RELATIVE", Const, 4, ""}, + {"R_AARCH64_TLSDESC", Const, 4, ""}, + {"R_AARCH64_TLSDESC_ADD", Const, 4, ""}, + {"R_AARCH64_TLSDESC_ADD_LO12_NC", Const, 4, ""}, + {"R_AARCH64_TLSDESC_ADR_PAGE21", Const, 4, ""}, + {"R_AARCH64_TLSDESC_ADR_PREL21", Const, 4, ""}, + {"R_AARCH64_TLSDESC_CALL", Const, 4, ""}, + {"R_AARCH64_TLSDESC_LD64_LO12_NC", Const, 4, ""}, + {"R_AARCH64_TLSDESC_LDR", Const, 4, ""}, + {"R_AARCH64_TLSDESC_LD_PREL19", Const, 4, ""}, + {"R_AARCH64_TLSDESC_OFF_G0_NC", Const, 4, ""}, + {"R_AARCH64_TLSDESC_OFF_G1", Const, 4, ""}, + {"R_AARCH64_TLSGD_ADD_LO12_NC", Const, 4, ""}, + {"R_AARCH64_TLSGD_ADR_PAGE21", Const, 4, ""}, + {"R_AARCH64_TLSGD_ADR_PREL21", Const, 10, ""}, + {"R_AARCH64_TLSGD_MOVW_G0_NC", Const, 10, ""}, + {"R_AARCH64_TLSGD_MOVW_G1", Const, 10, ""}, + {"R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21", Const, 4, ""}, + {"R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC", Const, 4, ""}, + {"R_AARCH64_TLSIE_LD_GOTTPREL_PREL19", Const, 4, ""}, + {"R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC", Const, 4, ""}, + {"R_AARCH64_TLSIE_MOVW_GOTTPREL_G1", Const, 4, ""}, + {"R_AARCH64_TLSLD_ADR_PAGE21", Const, 10, ""}, + {"R_AARCH64_TLSLD_ADR_PREL21", Const, 10, ""}, + {"R_AARCH64_TLSLD_LDST128_DTPREL_LO12", Const, 10, ""}, + {"R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC", Const, 10, ""}, + {"R_AARCH64_TLSLE_ADD_TPREL_HI12", Const, 4, ""}, + {"R_AARCH64_TLSLE_ADD_TPREL_LO12", Const, 4, ""}, + {"R_AARCH64_TLSLE_ADD_TPREL_LO12_NC", Const, 4, ""}, + {"R_AARCH64_TLSLE_LDST128_TPREL_LO12", Const, 10, ""}, + {"R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC", Const, 10, ""}, + {"R_AARCH64_TLSLE_MOVW_TPREL_G0", Const, 4, ""}, + {"R_AARCH64_TLSLE_MOVW_TPREL_G0_NC", Const, 4, ""}, + {"R_AARCH64_TLSLE_MOVW_TPREL_G1", Const, 4, ""}, + {"R_AARCH64_TLSLE_MOVW_TPREL_G1_NC", Const, 4, ""}, + {"R_AARCH64_TLSLE_MOVW_TPREL_G2", Const, 4, ""}, + {"R_AARCH64_TLS_DTPMOD64", Const, 4, ""}, + {"R_AARCH64_TLS_DTPREL64", Const, 4, ""}, + {"R_AARCH64_TLS_TPREL64", Const, 4, ""}, + {"R_AARCH64_TSTBR14", Const, 4, ""}, + {"R_ALPHA", Type, 0, ""}, + {"R_ALPHA_BRADDR", Const, 0, ""}, + {"R_ALPHA_COPY", Const, 0, ""}, + {"R_ALPHA_GLOB_DAT", Const, 0, ""}, + {"R_ALPHA_GPDISP", Const, 0, ""}, + {"R_ALPHA_GPREL32", Const, 0, ""}, + {"R_ALPHA_GPRELHIGH", Const, 0, ""}, + {"R_ALPHA_GPRELLOW", Const, 0, ""}, + {"R_ALPHA_GPVALUE", Const, 0, ""}, + {"R_ALPHA_HINT", Const, 0, ""}, + {"R_ALPHA_IMMED_BR_HI32", Const, 0, ""}, + {"R_ALPHA_IMMED_GP_16", Const, 0, ""}, + {"R_ALPHA_IMMED_GP_HI32", Const, 0, ""}, + {"R_ALPHA_IMMED_LO32", Const, 0, ""}, + {"R_ALPHA_IMMED_SCN_HI32", Const, 0, ""}, + {"R_ALPHA_JMP_SLOT", Const, 0, ""}, + {"R_ALPHA_LITERAL", Const, 0, ""}, + {"R_ALPHA_LITUSE", Const, 0, ""}, + {"R_ALPHA_NONE", Const, 0, ""}, + {"R_ALPHA_OP_PRSHIFT", Const, 0, ""}, + {"R_ALPHA_OP_PSUB", Const, 0, ""}, + {"R_ALPHA_OP_PUSH", Const, 0, ""}, + {"R_ALPHA_OP_STORE", Const, 0, ""}, + {"R_ALPHA_REFLONG", Const, 0, ""}, + {"R_ALPHA_REFQUAD", Const, 0, ""}, + {"R_ALPHA_RELATIVE", Const, 0, ""}, + {"R_ALPHA_SREL16", Const, 0, ""}, + {"R_ALPHA_SREL32", Const, 0, ""}, + {"R_ALPHA_SREL64", Const, 0, ""}, + {"R_ARM", Type, 0, ""}, + {"R_ARM_ABS12", Const, 0, ""}, + {"R_ARM_ABS16", Const, 0, ""}, + {"R_ARM_ABS32", Const, 0, ""}, + {"R_ARM_ABS32_NOI", Const, 10, ""}, + {"R_ARM_ABS8", Const, 0, ""}, + {"R_ARM_ALU_PCREL_15_8", Const, 10, ""}, + {"R_ARM_ALU_PCREL_23_15", Const, 10, ""}, + {"R_ARM_ALU_PCREL_7_0", Const, 10, ""}, + {"R_ARM_ALU_PC_G0", Const, 10, ""}, + {"R_ARM_ALU_PC_G0_NC", Const, 10, ""}, + {"R_ARM_ALU_PC_G1", Const, 10, ""}, + {"R_ARM_ALU_PC_G1_NC", Const, 10, ""}, + {"R_ARM_ALU_PC_G2", Const, 10, ""}, + {"R_ARM_ALU_SBREL_19_12_NC", Const, 10, ""}, + {"R_ARM_ALU_SBREL_27_20_CK", Const, 10, ""}, + {"R_ARM_ALU_SB_G0", Const, 10, ""}, + {"R_ARM_ALU_SB_G0_NC", Const, 10, ""}, + {"R_ARM_ALU_SB_G1", Const, 10, ""}, + {"R_ARM_ALU_SB_G1_NC", Const, 10, ""}, + {"R_ARM_ALU_SB_G2", Const, 10, ""}, + {"R_ARM_AMP_VCALL9", Const, 0, ""}, + {"R_ARM_BASE_ABS", Const, 10, ""}, + {"R_ARM_CALL", Const, 10, ""}, + {"R_ARM_COPY", Const, 0, ""}, + {"R_ARM_GLOB_DAT", Const, 0, ""}, + {"R_ARM_GNU_VTENTRY", Const, 0, ""}, + {"R_ARM_GNU_VTINHERIT", Const, 0, ""}, + {"R_ARM_GOT32", Const, 0, ""}, + {"R_ARM_GOTOFF", Const, 0, ""}, + {"R_ARM_GOTOFF12", Const, 10, ""}, + {"R_ARM_GOTPC", Const, 0, ""}, + {"R_ARM_GOTRELAX", Const, 10, ""}, + {"R_ARM_GOT_ABS", Const, 10, ""}, + {"R_ARM_GOT_BREL12", Const, 10, ""}, + {"R_ARM_GOT_PREL", Const, 10, ""}, + {"R_ARM_IRELATIVE", Const, 10, ""}, + {"R_ARM_JUMP24", Const, 10, ""}, + {"R_ARM_JUMP_SLOT", Const, 0, ""}, + {"R_ARM_LDC_PC_G0", Const, 10, ""}, + {"R_ARM_LDC_PC_G1", Const, 10, ""}, + {"R_ARM_LDC_PC_G2", Const, 10, ""}, + {"R_ARM_LDC_SB_G0", Const, 10, ""}, + {"R_ARM_LDC_SB_G1", Const, 10, ""}, + {"R_ARM_LDC_SB_G2", Const, 10, ""}, + {"R_ARM_LDRS_PC_G0", Const, 10, ""}, + {"R_ARM_LDRS_PC_G1", Const, 10, ""}, + {"R_ARM_LDRS_PC_G2", Const, 10, ""}, + {"R_ARM_LDRS_SB_G0", Const, 10, ""}, + {"R_ARM_LDRS_SB_G1", Const, 10, ""}, + {"R_ARM_LDRS_SB_G2", Const, 10, ""}, + {"R_ARM_LDR_PC_G1", Const, 10, ""}, + {"R_ARM_LDR_PC_G2", Const, 10, ""}, + {"R_ARM_LDR_SBREL_11_10_NC", Const, 10, ""}, + {"R_ARM_LDR_SB_G0", Const, 10, ""}, + {"R_ARM_LDR_SB_G1", Const, 10, ""}, + {"R_ARM_LDR_SB_G2", Const, 10, ""}, + {"R_ARM_ME_TOO", Const, 10, ""}, + {"R_ARM_MOVT_ABS", Const, 10, ""}, + {"R_ARM_MOVT_BREL", Const, 10, ""}, + {"R_ARM_MOVT_PREL", Const, 10, ""}, + {"R_ARM_MOVW_ABS_NC", Const, 10, ""}, + {"R_ARM_MOVW_BREL", Const, 10, ""}, + {"R_ARM_MOVW_BREL_NC", Const, 10, ""}, + {"R_ARM_MOVW_PREL_NC", Const, 10, ""}, + {"R_ARM_NONE", Const, 0, ""}, + {"R_ARM_PC13", Const, 0, ""}, + {"R_ARM_PC24", Const, 0, ""}, + {"R_ARM_PLT32", Const, 0, ""}, + {"R_ARM_PLT32_ABS", Const, 10, ""}, + {"R_ARM_PREL31", Const, 10, ""}, + {"R_ARM_PRIVATE_0", Const, 10, ""}, + {"R_ARM_PRIVATE_1", Const, 10, ""}, + {"R_ARM_PRIVATE_10", Const, 10, ""}, + {"R_ARM_PRIVATE_11", Const, 10, ""}, + {"R_ARM_PRIVATE_12", Const, 10, ""}, + {"R_ARM_PRIVATE_13", Const, 10, ""}, + {"R_ARM_PRIVATE_14", Const, 10, ""}, + {"R_ARM_PRIVATE_15", Const, 10, ""}, + {"R_ARM_PRIVATE_2", Const, 10, ""}, + {"R_ARM_PRIVATE_3", Const, 10, ""}, + {"R_ARM_PRIVATE_4", Const, 10, ""}, + {"R_ARM_PRIVATE_5", Const, 10, ""}, + {"R_ARM_PRIVATE_6", Const, 10, ""}, + {"R_ARM_PRIVATE_7", Const, 10, ""}, + {"R_ARM_PRIVATE_8", Const, 10, ""}, + {"R_ARM_PRIVATE_9", Const, 10, ""}, + {"R_ARM_RABS32", Const, 0, ""}, + {"R_ARM_RBASE", Const, 0, ""}, + {"R_ARM_REL32", Const, 0, ""}, + {"R_ARM_REL32_NOI", Const, 10, ""}, + {"R_ARM_RELATIVE", Const, 0, ""}, + {"R_ARM_RPC24", Const, 0, ""}, + {"R_ARM_RREL32", Const, 0, ""}, + {"R_ARM_RSBREL32", Const, 0, ""}, + {"R_ARM_RXPC25", Const, 10, ""}, + {"R_ARM_SBREL31", Const, 10, ""}, + {"R_ARM_SBREL32", Const, 0, ""}, + {"R_ARM_SWI24", Const, 0, ""}, + {"R_ARM_TARGET1", Const, 10, ""}, + {"R_ARM_TARGET2", Const, 10, ""}, + {"R_ARM_THM_ABS5", Const, 0, ""}, + {"R_ARM_THM_ALU_ABS_G0_NC", Const, 10, ""}, + {"R_ARM_THM_ALU_ABS_G1_NC", Const, 10, ""}, + {"R_ARM_THM_ALU_ABS_G2_NC", Const, 10, ""}, + {"R_ARM_THM_ALU_ABS_G3", Const, 10, ""}, + {"R_ARM_THM_ALU_PREL_11_0", Const, 10, ""}, + {"R_ARM_THM_GOT_BREL12", Const, 10, ""}, + {"R_ARM_THM_JUMP11", Const, 10, ""}, + {"R_ARM_THM_JUMP19", Const, 10, ""}, + {"R_ARM_THM_JUMP24", Const, 10, ""}, + {"R_ARM_THM_JUMP6", Const, 10, ""}, + {"R_ARM_THM_JUMP8", Const, 10, ""}, + {"R_ARM_THM_MOVT_ABS", Const, 10, ""}, + {"R_ARM_THM_MOVT_BREL", Const, 10, ""}, + {"R_ARM_THM_MOVT_PREL", Const, 10, ""}, + {"R_ARM_THM_MOVW_ABS_NC", Const, 10, ""}, + {"R_ARM_THM_MOVW_BREL", Const, 10, ""}, + {"R_ARM_THM_MOVW_BREL_NC", Const, 10, ""}, + {"R_ARM_THM_MOVW_PREL_NC", Const, 10, ""}, + {"R_ARM_THM_PC12", Const, 10, ""}, + {"R_ARM_THM_PC22", Const, 0, ""}, + {"R_ARM_THM_PC8", Const, 0, ""}, + {"R_ARM_THM_RPC22", Const, 0, ""}, + {"R_ARM_THM_SWI8", Const, 0, ""}, + {"R_ARM_THM_TLS_CALL", Const, 10, ""}, + {"R_ARM_THM_TLS_DESCSEQ16", Const, 10, ""}, + {"R_ARM_THM_TLS_DESCSEQ32", Const, 10, ""}, + {"R_ARM_THM_XPC22", Const, 0, ""}, + {"R_ARM_TLS_CALL", Const, 10, ""}, + {"R_ARM_TLS_DESCSEQ", Const, 10, ""}, + {"R_ARM_TLS_DTPMOD32", Const, 10, ""}, + {"R_ARM_TLS_DTPOFF32", Const, 10, ""}, + {"R_ARM_TLS_GD32", Const, 10, ""}, + {"R_ARM_TLS_GOTDESC", Const, 10, ""}, + {"R_ARM_TLS_IE12GP", Const, 10, ""}, + {"R_ARM_TLS_IE32", Const, 10, ""}, + {"R_ARM_TLS_LDM32", Const, 10, ""}, + {"R_ARM_TLS_LDO12", Const, 10, ""}, + {"R_ARM_TLS_LDO32", Const, 10, ""}, + {"R_ARM_TLS_LE12", Const, 10, ""}, + {"R_ARM_TLS_LE32", Const, 10, ""}, + {"R_ARM_TLS_TPOFF32", Const, 10, ""}, + {"R_ARM_V4BX", Const, 10, ""}, + {"R_ARM_XPC25", Const, 0, ""}, + {"R_INFO", Func, 0, "func(sym uint32, typ uint32) uint64"}, + {"R_INFO32", Func, 0, "func(sym uint32, typ uint32) uint32"}, + {"R_LARCH", Type, 19, ""}, + {"R_LARCH_32", Const, 19, ""}, + {"R_LARCH_32_PCREL", Const, 20, ""}, + {"R_LARCH_64", Const, 19, ""}, + {"R_LARCH_64_PCREL", Const, 22, ""}, + {"R_LARCH_ABS64_HI12", Const, 20, ""}, + {"R_LARCH_ABS64_LO20", Const, 20, ""}, + {"R_LARCH_ABS_HI20", Const, 20, ""}, + {"R_LARCH_ABS_LO12", Const, 20, ""}, + {"R_LARCH_ADD16", Const, 19, ""}, + {"R_LARCH_ADD24", Const, 19, ""}, + {"R_LARCH_ADD32", Const, 19, ""}, + {"R_LARCH_ADD6", Const, 22, ""}, + {"R_LARCH_ADD64", Const, 19, ""}, + {"R_LARCH_ADD8", Const, 19, ""}, + {"R_LARCH_ADD_ULEB128", Const, 22, ""}, + {"R_LARCH_ALIGN", Const, 22, ""}, + {"R_LARCH_B16", Const, 20, ""}, + {"R_LARCH_B21", Const, 20, ""}, + {"R_LARCH_B26", Const, 20, ""}, + {"R_LARCH_CFA", Const, 22, ""}, + {"R_LARCH_COPY", Const, 19, ""}, + {"R_LARCH_DELETE", Const, 22, ""}, + {"R_LARCH_GNU_VTENTRY", Const, 20, ""}, + {"R_LARCH_GNU_VTINHERIT", Const, 20, ""}, + {"R_LARCH_GOT64_HI12", Const, 20, ""}, + {"R_LARCH_GOT64_LO20", Const, 20, ""}, + {"R_LARCH_GOT64_PC_HI12", Const, 20, ""}, + {"R_LARCH_GOT64_PC_LO20", Const, 20, ""}, + {"R_LARCH_GOT_HI20", Const, 20, ""}, + {"R_LARCH_GOT_LO12", Const, 20, ""}, + {"R_LARCH_GOT_PC_HI20", Const, 20, ""}, + {"R_LARCH_GOT_PC_LO12", Const, 20, ""}, + {"R_LARCH_IRELATIVE", Const, 19, ""}, + {"R_LARCH_JUMP_SLOT", Const, 19, ""}, + {"R_LARCH_MARK_LA", Const, 19, ""}, + {"R_LARCH_MARK_PCREL", Const, 19, ""}, + {"R_LARCH_NONE", Const, 19, ""}, + {"R_LARCH_PCALA64_HI12", Const, 20, ""}, + {"R_LARCH_PCALA64_LO20", Const, 20, ""}, + {"R_LARCH_PCALA_HI20", Const, 20, ""}, + {"R_LARCH_PCALA_LO12", Const, 20, ""}, + {"R_LARCH_PCREL20_S2", Const, 22, ""}, + {"R_LARCH_RELATIVE", Const, 19, ""}, + {"R_LARCH_RELAX", Const, 20, ""}, + {"R_LARCH_SOP_ADD", Const, 19, ""}, + {"R_LARCH_SOP_AND", Const, 19, ""}, + {"R_LARCH_SOP_ASSERT", Const, 19, ""}, + {"R_LARCH_SOP_IF_ELSE", Const, 19, ""}, + {"R_LARCH_SOP_NOT", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_0_10_10_16_S2", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_0_5_10_16_S2", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_10_12", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_10_16", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_10_16_S2", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_10_5", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_S_5_20", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_U", Const, 19, ""}, + {"R_LARCH_SOP_POP_32_U_10_12", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_ABSOLUTE", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_DUP", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_GPREL", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_PCREL", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_PLT_PCREL", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_TLS_GD", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_TLS_GOT", Const, 19, ""}, + {"R_LARCH_SOP_PUSH_TLS_TPREL", Const, 19, ""}, + {"R_LARCH_SOP_SL", Const, 19, ""}, + {"R_LARCH_SOP_SR", Const, 19, ""}, + {"R_LARCH_SOP_SUB", Const, 19, ""}, + {"R_LARCH_SUB16", Const, 19, ""}, + {"R_LARCH_SUB24", Const, 19, ""}, + {"R_LARCH_SUB32", Const, 19, ""}, + {"R_LARCH_SUB6", Const, 22, ""}, + {"R_LARCH_SUB64", Const, 19, ""}, + {"R_LARCH_SUB8", Const, 19, ""}, + {"R_LARCH_SUB_ULEB128", Const, 22, ""}, + {"R_LARCH_TLS_DTPMOD32", Const, 19, ""}, + {"R_LARCH_TLS_DTPMOD64", Const, 19, ""}, + {"R_LARCH_TLS_DTPREL32", Const, 19, ""}, + {"R_LARCH_TLS_DTPREL64", Const, 19, ""}, + {"R_LARCH_TLS_GD_HI20", Const, 20, ""}, + {"R_LARCH_TLS_GD_PC_HI20", Const, 20, ""}, + {"R_LARCH_TLS_IE64_HI12", Const, 20, ""}, + {"R_LARCH_TLS_IE64_LO20", Const, 20, ""}, + {"R_LARCH_TLS_IE64_PC_HI12", Const, 20, ""}, + {"R_LARCH_TLS_IE64_PC_LO20", Const, 20, ""}, + {"R_LARCH_TLS_IE_HI20", Const, 20, ""}, + {"R_LARCH_TLS_IE_LO12", Const, 20, ""}, + {"R_LARCH_TLS_IE_PC_HI20", Const, 20, ""}, + {"R_LARCH_TLS_IE_PC_LO12", Const, 20, ""}, + {"R_LARCH_TLS_LD_HI20", Const, 20, ""}, + {"R_LARCH_TLS_LD_PC_HI20", Const, 20, ""}, + {"R_LARCH_TLS_LE64_HI12", Const, 20, ""}, + {"R_LARCH_TLS_LE64_LO20", Const, 20, ""}, + {"R_LARCH_TLS_LE_HI20", Const, 20, ""}, + {"R_LARCH_TLS_LE_LO12", Const, 20, ""}, + {"R_LARCH_TLS_TPREL32", Const, 19, ""}, + {"R_LARCH_TLS_TPREL64", Const, 19, ""}, + {"R_MIPS", Type, 6, ""}, + {"R_MIPS_16", Const, 6, ""}, + {"R_MIPS_26", Const, 6, ""}, + {"R_MIPS_32", Const, 6, ""}, + {"R_MIPS_64", Const, 6, ""}, + {"R_MIPS_ADD_IMMEDIATE", Const, 6, ""}, + {"R_MIPS_CALL16", Const, 6, ""}, + {"R_MIPS_CALL_HI16", Const, 6, ""}, + {"R_MIPS_CALL_LO16", Const, 6, ""}, + {"R_MIPS_DELETE", Const, 6, ""}, + {"R_MIPS_GOT16", Const, 6, ""}, + {"R_MIPS_GOT_DISP", Const, 6, ""}, + {"R_MIPS_GOT_HI16", Const, 6, ""}, + {"R_MIPS_GOT_LO16", Const, 6, ""}, + {"R_MIPS_GOT_OFST", Const, 6, ""}, + {"R_MIPS_GOT_PAGE", Const, 6, ""}, + {"R_MIPS_GPREL16", Const, 6, ""}, + {"R_MIPS_GPREL32", Const, 6, ""}, + {"R_MIPS_HI16", Const, 6, ""}, + {"R_MIPS_HIGHER", Const, 6, ""}, + {"R_MIPS_HIGHEST", Const, 6, ""}, + {"R_MIPS_INSERT_A", Const, 6, ""}, + {"R_MIPS_INSERT_B", Const, 6, ""}, + {"R_MIPS_JALR", Const, 6, ""}, + {"R_MIPS_LITERAL", Const, 6, ""}, + {"R_MIPS_LO16", Const, 6, ""}, + {"R_MIPS_NONE", Const, 6, ""}, + {"R_MIPS_PC16", Const, 6, ""}, + {"R_MIPS_PC32", Const, 22, ""}, + {"R_MIPS_PJUMP", Const, 6, ""}, + {"R_MIPS_REL16", Const, 6, ""}, + {"R_MIPS_REL32", Const, 6, ""}, + {"R_MIPS_RELGOT", Const, 6, ""}, + {"R_MIPS_SCN_DISP", Const, 6, ""}, + {"R_MIPS_SHIFT5", Const, 6, ""}, + {"R_MIPS_SHIFT6", Const, 6, ""}, + {"R_MIPS_SUB", Const, 6, ""}, + {"R_MIPS_TLS_DTPMOD32", Const, 6, ""}, + {"R_MIPS_TLS_DTPMOD64", Const, 6, ""}, + {"R_MIPS_TLS_DTPREL32", Const, 6, ""}, + {"R_MIPS_TLS_DTPREL64", Const, 6, ""}, + {"R_MIPS_TLS_DTPREL_HI16", Const, 6, ""}, + {"R_MIPS_TLS_DTPREL_LO16", Const, 6, ""}, + {"R_MIPS_TLS_GD", Const, 6, ""}, + {"R_MIPS_TLS_GOTTPREL", Const, 6, ""}, + {"R_MIPS_TLS_LDM", Const, 6, ""}, + {"R_MIPS_TLS_TPREL32", Const, 6, ""}, + {"R_MIPS_TLS_TPREL64", Const, 6, ""}, + {"R_MIPS_TLS_TPREL_HI16", Const, 6, ""}, + {"R_MIPS_TLS_TPREL_LO16", Const, 6, ""}, + {"R_PPC", Type, 0, ""}, + {"R_PPC64", Type, 5, ""}, + {"R_PPC64_ADDR14", Const, 5, ""}, + {"R_PPC64_ADDR14_BRNTAKEN", Const, 5, ""}, + {"R_PPC64_ADDR14_BRTAKEN", Const, 5, ""}, + {"R_PPC64_ADDR16", Const, 5, ""}, + {"R_PPC64_ADDR16_DS", Const, 5, ""}, + {"R_PPC64_ADDR16_HA", Const, 5, ""}, + {"R_PPC64_ADDR16_HI", Const, 5, ""}, + {"R_PPC64_ADDR16_HIGH", Const, 10, ""}, + {"R_PPC64_ADDR16_HIGHA", Const, 10, ""}, + {"R_PPC64_ADDR16_HIGHER", Const, 5, ""}, + {"R_PPC64_ADDR16_HIGHER34", Const, 20, ""}, + {"R_PPC64_ADDR16_HIGHERA", Const, 5, ""}, + {"R_PPC64_ADDR16_HIGHERA34", Const, 20, ""}, + {"R_PPC64_ADDR16_HIGHEST", Const, 5, ""}, + {"R_PPC64_ADDR16_HIGHEST34", Const, 20, ""}, + {"R_PPC64_ADDR16_HIGHESTA", Const, 5, ""}, + {"R_PPC64_ADDR16_HIGHESTA34", Const, 20, ""}, + {"R_PPC64_ADDR16_LO", Const, 5, ""}, + {"R_PPC64_ADDR16_LO_DS", Const, 5, ""}, + {"R_PPC64_ADDR24", Const, 5, ""}, + {"R_PPC64_ADDR32", Const, 5, ""}, + {"R_PPC64_ADDR64", Const, 5, ""}, + {"R_PPC64_ADDR64_LOCAL", Const, 10, ""}, + {"R_PPC64_COPY", Const, 20, ""}, + {"R_PPC64_D28", Const, 20, ""}, + {"R_PPC64_D34", Const, 20, ""}, + {"R_PPC64_D34_HA30", Const, 20, ""}, + {"R_PPC64_D34_HI30", Const, 20, ""}, + {"R_PPC64_D34_LO", Const, 20, ""}, + {"R_PPC64_DTPMOD64", Const, 5, ""}, + {"R_PPC64_DTPREL16", Const, 5, ""}, + {"R_PPC64_DTPREL16_DS", Const, 5, ""}, + {"R_PPC64_DTPREL16_HA", Const, 5, ""}, + {"R_PPC64_DTPREL16_HI", Const, 5, ""}, + {"R_PPC64_DTPREL16_HIGH", Const, 10, ""}, + {"R_PPC64_DTPREL16_HIGHA", Const, 10, ""}, + {"R_PPC64_DTPREL16_HIGHER", Const, 5, ""}, + {"R_PPC64_DTPREL16_HIGHERA", Const, 5, ""}, + {"R_PPC64_DTPREL16_HIGHEST", Const, 5, ""}, + {"R_PPC64_DTPREL16_HIGHESTA", Const, 5, ""}, + {"R_PPC64_DTPREL16_LO", Const, 5, ""}, + {"R_PPC64_DTPREL16_LO_DS", Const, 5, ""}, + {"R_PPC64_DTPREL34", Const, 20, ""}, + {"R_PPC64_DTPREL64", Const, 5, ""}, + {"R_PPC64_ENTRY", Const, 10, ""}, + {"R_PPC64_GLOB_DAT", Const, 20, ""}, + {"R_PPC64_GNU_VTENTRY", Const, 20, ""}, + {"R_PPC64_GNU_VTINHERIT", Const, 20, ""}, + {"R_PPC64_GOT16", Const, 5, ""}, + {"R_PPC64_GOT16_DS", Const, 5, ""}, + {"R_PPC64_GOT16_HA", Const, 5, ""}, + {"R_PPC64_GOT16_HI", Const, 5, ""}, + {"R_PPC64_GOT16_LO", Const, 5, ""}, + {"R_PPC64_GOT16_LO_DS", Const, 5, ""}, + {"R_PPC64_GOT_DTPREL16_DS", Const, 5, ""}, + {"R_PPC64_GOT_DTPREL16_HA", Const, 5, ""}, + {"R_PPC64_GOT_DTPREL16_HI", Const, 5, ""}, + {"R_PPC64_GOT_DTPREL16_LO_DS", Const, 5, ""}, + {"R_PPC64_GOT_DTPREL_PCREL34", Const, 20, ""}, + {"R_PPC64_GOT_PCREL34", Const, 20, ""}, + {"R_PPC64_GOT_TLSGD16", Const, 5, ""}, + {"R_PPC64_GOT_TLSGD16_HA", Const, 5, ""}, + {"R_PPC64_GOT_TLSGD16_HI", Const, 5, ""}, + {"R_PPC64_GOT_TLSGD16_LO", Const, 5, ""}, + {"R_PPC64_GOT_TLSGD_PCREL34", Const, 20, ""}, + {"R_PPC64_GOT_TLSLD16", Const, 5, ""}, + {"R_PPC64_GOT_TLSLD16_HA", Const, 5, ""}, + {"R_PPC64_GOT_TLSLD16_HI", Const, 5, ""}, + {"R_PPC64_GOT_TLSLD16_LO", Const, 5, ""}, + {"R_PPC64_GOT_TLSLD_PCREL34", Const, 20, ""}, + {"R_PPC64_GOT_TPREL16_DS", Const, 5, ""}, + {"R_PPC64_GOT_TPREL16_HA", Const, 5, ""}, + {"R_PPC64_GOT_TPREL16_HI", Const, 5, ""}, + {"R_PPC64_GOT_TPREL16_LO_DS", Const, 5, ""}, + {"R_PPC64_GOT_TPREL_PCREL34", Const, 20, ""}, + {"R_PPC64_IRELATIVE", Const, 10, ""}, + {"R_PPC64_JMP_IREL", Const, 10, ""}, + {"R_PPC64_JMP_SLOT", Const, 5, ""}, + {"R_PPC64_NONE", Const, 5, ""}, + {"R_PPC64_PCREL28", Const, 20, ""}, + {"R_PPC64_PCREL34", Const, 20, ""}, + {"R_PPC64_PCREL_OPT", Const, 20, ""}, + {"R_PPC64_PLT16_HA", Const, 20, ""}, + {"R_PPC64_PLT16_HI", Const, 20, ""}, + {"R_PPC64_PLT16_LO", Const, 20, ""}, + {"R_PPC64_PLT16_LO_DS", Const, 10, ""}, + {"R_PPC64_PLT32", Const, 20, ""}, + {"R_PPC64_PLT64", Const, 20, ""}, + {"R_PPC64_PLTCALL", Const, 20, ""}, + {"R_PPC64_PLTCALL_NOTOC", Const, 20, ""}, + {"R_PPC64_PLTGOT16", Const, 10, ""}, + {"R_PPC64_PLTGOT16_DS", Const, 10, ""}, + {"R_PPC64_PLTGOT16_HA", Const, 10, ""}, + {"R_PPC64_PLTGOT16_HI", Const, 10, ""}, + {"R_PPC64_PLTGOT16_LO", Const, 10, ""}, + {"R_PPC64_PLTGOT_LO_DS", Const, 10, ""}, + {"R_PPC64_PLTREL32", Const, 20, ""}, + {"R_PPC64_PLTREL64", Const, 20, ""}, + {"R_PPC64_PLTSEQ", Const, 20, ""}, + {"R_PPC64_PLTSEQ_NOTOC", Const, 20, ""}, + {"R_PPC64_PLT_PCREL34", Const, 20, ""}, + {"R_PPC64_PLT_PCREL34_NOTOC", Const, 20, ""}, + {"R_PPC64_REL14", Const, 5, ""}, + {"R_PPC64_REL14_BRNTAKEN", Const, 5, ""}, + {"R_PPC64_REL14_BRTAKEN", Const, 5, ""}, + {"R_PPC64_REL16", Const, 5, ""}, + {"R_PPC64_REL16DX_HA", Const, 10, ""}, + {"R_PPC64_REL16_HA", Const, 5, ""}, + {"R_PPC64_REL16_HI", Const, 5, ""}, + {"R_PPC64_REL16_HIGH", Const, 20, ""}, + {"R_PPC64_REL16_HIGHA", Const, 20, ""}, + {"R_PPC64_REL16_HIGHER", Const, 20, ""}, + {"R_PPC64_REL16_HIGHER34", Const, 20, ""}, + {"R_PPC64_REL16_HIGHERA", Const, 20, ""}, + {"R_PPC64_REL16_HIGHERA34", Const, 20, ""}, + {"R_PPC64_REL16_HIGHEST", Const, 20, ""}, + {"R_PPC64_REL16_HIGHEST34", Const, 20, ""}, + {"R_PPC64_REL16_HIGHESTA", Const, 20, ""}, + {"R_PPC64_REL16_HIGHESTA34", Const, 20, ""}, + {"R_PPC64_REL16_LO", Const, 5, ""}, + {"R_PPC64_REL24", Const, 5, ""}, + {"R_PPC64_REL24_NOTOC", Const, 10, ""}, + {"R_PPC64_REL24_P9NOTOC", Const, 21, ""}, + {"R_PPC64_REL30", Const, 20, ""}, + {"R_PPC64_REL32", Const, 5, ""}, + {"R_PPC64_REL64", Const, 5, ""}, + {"R_PPC64_RELATIVE", Const, 18, ""}, + {"R_PPC64_SECTOFF", Const, 20, ""}, + {"R_PPC64_SECTOFF_DS", Const, 10, ""}, + {"R_PPC64_SECTOFF_HA", Const, 20, ""}, + {"R_PPC64_SECTOFF_HI", Const, 20, ""}, + {"R_PPC64_SECTOFF_LO", Const, 20, ""}, + {"R_PPC64_SECTOFF_LO_DS", Const, 10, ""}, + {"R_PPC64_TLS", Const, 5, ""}, + {"R_PPC64_TLSGD", Const, 5, ""}, + {"R_PPC64_TLSLD", Const, 5, ""}, + {"R_PPC64_TOC", Const, 5, ""}, + {"R_PPC64_TOC16", Const, 5, ""}, + {"R_PPC64_TOC16_DS", Const, 5, ""}, + {"R_PPC64_TOC16_HA", Const, 5, ""}, + {"R_PPC64_TOC16_HI", Const, 5, ""}, + {"R_PPC64_TOC16_LO", Const, 5, ""}, + {"R_PPC64_TOC16_LO_DS", Const, 5, ""}, + {"R_PPC64_TOCSAVE", Const, 10, ""}, + {"R_PPC64_TPREL16", Const, 5, ""}, + {"R_PPC64_TPREL16_DS", Const, 5, ""}, + {"R_PPC64_TPREL16_HA", Const, 5, ""}, + {"R_PPC64_TPREL16_HI", Const, 5, ""}, + {"R_PPC64_TPREL16_HIGH", Const, 10, ""}, + {"R_PPC64_TPREL16_HIGHA", Const, 10, ""}, + {"R_PPC64_TPREL16_HIGHER", Const, 5, ""}, + {"R_PPC64_TPREL16_HIGHERA", Const, 5, ""}, + {"R_PPC64_TPREL16_HIGHEST", Const, 5, ""}, + {"R_PPC64_TPREL16_HIGHESTA", Const, 5, ""}, + {"R_PPC64_TPREL16_LO", Const, 5, ""}, + {"R_PPC64_TPREL16_LO_DS", Const, 5, ""}, + {"R_PPC64_TPREL34", Const, 20, ""}, + {"R_PPC64_TPREL64", Const, 5, ""}, + {"R_PPC64_UADDR16", Const, 20, ""}, + {"R_PPC64_UADDR32", Const, 20, ""}, + {"R_PPC64_UADDR64", Const, 20, ""}, + {"R_PPC_ADDR14", Const, 0, ""}, + {"R_PPC_ADDR14_BRNTAKEN", Const, 0, ""}, + {"R_PPC_ADDR14_BRTAKEN", Const, 0, ""}, + {"R_PPC_ADDR16", Const, 0, ""}, + {"R_PPC_ADDR16_HA", Const, 0, ""}, + {"R_PPC_ADDR16_HI", Const, 0, ""}, + {"R_PPC_ADDR16_LO", Const, 0, ""}, + {"R_PPC_ADDR24", Const, 0, ""}, + {"R_PPC_ADDR32", Const, 0, ""}, + {"R_PPC_COPY", Const, 0, ""}, + {"R_PPC_DTPMOD32", Const, 0, ""}, + {"R_PPC_DTPREL16", Const, 0, ""}, + {"R_PPC_DTPREL16_HA", Const, 0, ""}, + {"R_PPC_DTPREL16_HI", Const, 0, ""}, + {"R_PPC_DTPREL16_LO", Const, 0, ""}, + {"R_PPC_DTPREL32", Const, 0, ""}, + {"R_PPC_EMB_BIT_FLD", Const, 0, ""}, + {"R_PPC_EMB_MRKREF", Const, 0, ""}, + {"R_PPC_EMB_NADDR16", Const, 0, ""}, + {"R_PPC_EMB_NADDR16_HA", Const, 0, ""}, + {"R_PPC_EMB_NADDR16_HI", Const, 0, ""}, + {"R_PPC_EMB_NADDR16_LO", Const, 0, ""}, + {"R_PPC_EMB_NADDR32", Const, 0, ""}, + {"R_PPC_EMB_RELSDA", Const, 0, ""}, + {"R_PPC_EMB_RELSEC16", Const, 0, ""}, + {"R_PPC_EMB_RELST_HA", Const, 0, ""}, + {"R_PPC_EMB_RELST_HI", Const, 0, ""}, + {"R_PPC_EMB_RELST_LO", Const, 0, ""}, + {"R_PPC_EMB_SDA21", Const, 0, ""}, + {"R_PPC_EMB_SDA2I16", Const, 0, ""}, + {"R_PPC_EMB_SDA2REL", Const, 0, ""}, + {"R_PPC_EMB_SDAI16", Const, 0, ""}, + {"R_PPC_GLOB_DAT", Const, 0, ""}, + {"R_PPC_GOT16", Const, 0, ""}, + {"R_PPC_GOT16_HA", Const, 0, ""}, + {"R_PPC_GOT16_HI", Const, 0, ""}, + {"R_PPC_GOT16_LO", Const, 0, ""}, + {"R_PPC_GOT_TLSGD16", Const, 0, ""}, + {"R_PPC_GOT_TLSGD16_HA", Const, 0, ""}, + {"R_PPC_GOT_TLSGD16_HI", Const, 0, ""}, + {"R_PPC_GOT_TLSGD16_LO", Const, 0, ""}, + {"R_PPC_GOT_TLSLD16", Const, 0, ""}, + {"R_PPC_GOT_TLSLD16_HA", Const, 0, ""}, + {"R_PPC_GOT_TLSLD16_HI", Const, 0, ""}, + {"R_PPC_GOT_TLSLD16_LO", Const, 0, ""}, + {"R_PPC_GOT_TPREL16", Const, 0, ""}, + {"R_PPC_GOT_TPREL16_HA", Const, 0, ""}, + {"R_PPC_GOT_TPREL16_HI", Const, 0, ""}, + {"R_PPC_GOT_TPREL16_LO", Const, 0, ""}, + {"R_PPC_JMP_SLOT", Const, 0, ""}, + {"R_PPC_LOCAL24PC", Const, 0, ""}, + {"R_PPC_NONE", Const, 0, ""}, + {"R_PPC_PLT16_HA", Const, 0, ""}, + {"R_PPC_PLT16_HI", Const, 0, ""}, + {"R_PPC_PLT16_LO", Const, 0, ""}, + {"R_PPC_PLT32", Const, 0, ""}, + {"R_PPC_PLTREL24", Const, 0, ""}, + {"R_PPC_PLTREL32", Const, 0, ""}, + {"R_PPC_REL14", Const, 0, ""}, + {"R_PPC_REL14_BRNTAKEN", Const, 0, ""}, + {"R_PPC_REL14_BRTAKEN", Const, 0, ""}, + {"R_PPC_REL24", Const, 0, ""}, + {"R_PPC_REL32", Const, 0, ""}, + {"R_PPC_RELATIVE", Const, 0, ""}, + {"R_PPC_SDAREL16", Const, 0, ""}, + {"R_PPC_SECTOFF", Const, 0, ""}, + {"R_PPC_SECTOFF_HA", Const, 0, ""}, + {"R_PPC_SECTOFF_HI", Const, 0, ""}, + {"R_PPC_SECTOFF_LO", Const, 0, ""}, + {"R_PPC_TLS", Const, 0, ""}, + {"R_PPC_TPREL16", Const, 0, ""}, + {"R_PPC_TPREL16_HA", Const, 0, ""}, + {"R_PPC_TPREL16_HI", Const, 0, ""}, + {"R_PPC_TPREL16_LO", Const, 0, ""}, + {"R_PPC_TPREL32", Const, 0, ""}, + {"R_PPC_UADDR16", Const, 0, ""}, + {"R_PPC_UADDR32", Const, 0, ""}, + {"R_RISCV", Type, 11, ""}, + {"R_RISCV_32", Const, 11, ""}, + {"R_RISCV_32_PCREL", Const, 12, ""}, + {"R_RISCV_64", Const, 11, ""}, + {"R_RISCV_ADD16", Const, 11, ""}, + {"R_RISCV_ADD32", Const, 11, ""}, + {"R_RISCV_ADD64", Const, 11, ""}, + {"R_RISCV_ADD8", Const, 11, ""}, + {"R_RISCV_ALIGN", Const, 11, ""}, + {"R_RISCV_BRANCH", Const, 11, ""}, + {"R_RISCV_CALL", Const, 11, ""}, + {"R_RISCV_CALL_PLT", Const, 11, ""}, + {"R_RISCV_COPY", Const, 11, ""}, + {"R_RISCV_GNU_VTENTRY", Const, 11, ""}, + {"R_RISCV_GNU_VTINHERIT", Const, 11, ""}, + {"R_RISCV_GOT_HI20", Const, 11, ""}, + {"R_RISCV_GPREL_I", Const, 11, ""}, + {"R_RISCV_GPREL_S", Const, 11, ""}, + {"R_RISCV_HI20", Const, 11, ""}, + {"R_RISCV_JAL", Const, 11, ""}, + {"R_RISCV_JUMP_SLOT", Const, 11, ""}, + {"R_RISCV_LO12_I", Const, 11, ""}, + {"R_RISCV_LO12_S", Const, 11, ""}, + {"R_RISCV_NONE", Const, 11, ""}, + {"R_RISCV_PCREL_HI20", Const, 11, ""}, + {"R_RISCV_PCREL_LO12_I", Const, 11, ""}, + {"R_RISCV_PCREL_LO12_S", Const, 11, ""}, + {"R_RISCV_RELATIVE", Const, 11, ""}, + {"R_RISCV_RELAX", Const, 11, ""}, + {"R_RISCV_RVC_BRANCH", Const, 11, ""}, + {"R_RISCV_RVC_JUMP", Const, 11, ""}, + {"R_RISCV_RVC_LUI", Const, 11, ""}, + {"R_RISCV_SET16", Const, 11, ""}, + {"R_RISCV_SET32", Const, 11, ""}, + {"R_RISCV_SET6", Const, 11, ""}, + {"R_RISCV_SET8", Const, 11, ""}, + {"R_RISCV_SUB16", Const, 11, ""}, + {"R_RISCV_SUB32", Const, 11, ""}, + {"R_RISCV_SUB6", Const, 11, ""}, + {"R_RISCV_SUB64", Const, 11, ""}, + {"R_RISCV_SUB8", Const, 11, ""}, + {"R_RISCV_TLS_DTPMOD32", Const, 11, ""}, + {"R_RISCV_TLS_DTPMOD64", Const, 11, ""}, + {"R_RISCV_TLS_DTPREL32", Const, 11, ""}, + {"R_RISCV_TLS_DTPREL64", Const, 11, ""}, + {"R_RISCV_TLS_GD_HI20", Const, 11, ""}, + {"R_RISCV_TLS_GOT_HI20", Const, 11, ""}, + {"R_RISCV_TLS_TPREL32", Const, 11, ""}, + {"R_RISCV_TLS_TPREL64", Const, 11, ""}, + {"R_RISCV_TPREL_ADD", Const, 11, ""}, + {"R_RISCV_TPREL_HI20", Const, 11, ""}, + {"R_RISCV_TPREL_I", Const, 11, ""}, + {"R_RISCV_TPREL_LO12_I", Const, 11, ""}, + {"R_RISCV_TPREL_LO12_S", Const, 11, ""}, + {"R_RISCV_TPREL_S", Const, 11, ""}, + {"R_SPARC", Type, 0, ""}, + {"R_SPARC_10", Const, 0, ""}, + {"R_SPARC_11", Const, 0, ""}, + {"R_SPARC_13", Const, 0, ""}, + {"R_SPARC_16", Const, 0, ""}, + {"R_SPARC_22", Const, 0, ""}, + {"R_SPARC_32", Const, 0, ""}, + {"R_SPARC_5", Const, 0, ""}, + {"R_SPARC_6", Const, 0, ""}, + {"R_SPARC_64", Const, 0, ""}, + {"R_SPARC_7", Const, 0, ""}, + {"R_SPARC_8", Const, 0, ""}, + {"R_SPARC_COPY", Const, 0, ""}, + {"R_SPARC_DISP16", Const, 0, ""}, + {"R_SPARC_DISP32", Const, 0, ""}, + {"R_SPARC_DISP64", Const, 0, ""}, + {"R_SPARC_DISP8", Const, 0, ""}, + {"R_SPARC_GLOB_DAT", Const, 0, ""}, + {"R_SPARC_GLOB_JMP", Const, 0, ""}, + {"R_SPARC_GOT10", Const, 0, ""}, + {"R_SPARC_GOT13", Const, 0, ""}, + {"R_SPARC_GOT22", Const, 0, ""}, + {"R_SPARC_H44", Const, 0, ""}, + {"R_SPARC_HH22", Const, 0, ""}, + {"R_SPARC_HI22", Const, 0, ""}, + {"R_SPARC_HIPLT22", Const, 0, ""}, + {"R_SPARC_HIX22", Const, 0, ""}, + {"R_SPARC_HM10", Const, 0, ""}, + {"R_SPARC_JMP_SLOT", Const, 0, ""}, + {"R_SPARC_L44", Const, 0, ""}, + {"R_SPARC_LM22", Const, 0, ""}, + {"R_SPARC_LO10", Const, 0, ""}, + {"R_SPARC_LOPLT10", Const, 0, ""}, + {"R_SPARC_LOX10", Const, 0, ""}, + {"R_SPARC_M44", Const, 0, ""}, + {"R_SPARC_NONE", Const, 0, ""}, + {"R_SPARC_OLO10", Const, 0, ""}, + {"R_SPARC_PC10", Const, 0, ""}, + {"R_SPARC_PC22", Const, 0, ""}, + {"R_SPARC_PCPLT10", Const, 0, ""}, + {"R_SPARC_PCPLT22", Const, 0, ""}, + {"R_SPARC_PCPLT32", Const, 0, ""}, + {"R_SPARC_PC_HH22", Const, 0, ""}, + {"R_SPARC_PC_HM10", Const, 0, ""}, + {"R_SPARC_PC_LM22", Const, 0, ""}, + {"R_SPARC_PLT32", Const, 0, ""}, + {"R_SPARC_PLT64", Const, 0, ""}, + {"R_SPARC_REGISTER", Const, 0, ""}, + {"R_SPARC_RELATIVE", Const, 0, ""}, + {"R_SPARC_UA16", Const, 0, ""}, + {"R_SPARC_UA32", Const, 0, ""}, + {"R_SPARC_UA64", Const, 0, ""}, + {"R_SPARC_WDISP16", Const, 0, ""}, + {"R_SPARC_WDISP19", Const, 0, ""}, + {"R_SPARC_WDISP22", Const, 0, ""}, + {"R_SPARC_WDISP30", Const, 0, ""}, + {"R_SPARC_WPLT30", Const, 0, ""}, + {"R_SYM32", Func, 0, "func(info uint32) uint32"}, + {"R_SYM64", Func, 0, "func(info uint64) uint32"}, + {"R_TYPE32", Func, 0, "func(info uint32) uint32"}, + {"R_TYPE64", Func, 0, "func(info uint64) uint32"}, + {"R_X86_64", Type, 0, ""}, + {"R_X86_64_16", Const, 0, ""}, + {"R_X86_64_32", Const, 0, ""}, + {"R_X86_64_32S", Const, 0, ""}, + {"R_X86_64_64", Const, 0, ""}, + {"R_X86_64_8", Const, 0, ""}, + {"R_X86_64_COPY", Const, 0, ""}, + {"R_X86_64_DTPMOD64", Const, 0, ""}, + {"R_X86_64_DTPOFF32", Const, 0, ""}, + {"R_X86_64_DTPOFF64", Const, 0, ""}, + {"R_X86_64_GLOB_DAT", Const, 0, ""}, + {"R_X86_64_GOT32", Const, 0, ""}, + {"R_X86_64_GOT64", Const, 10, ""}, + {"R_X86_64_GOTOFF64", Const, 10, ""}, + {"R_X86_64_GOTPC32", Const, 10, ""}, + {"R_X86_64_GOTPC32_TLSDESC", Const, 10, ""}, + {"R_X86_64_GOTPC64", Const, 10, ""}, + {"R_X86_64_GOTPCREL", Const, 0, ""}, + {"R_X86_64_GOTPCREL64", Const, 10, ""}, + {"R_X86_64_GOTPCRELX", Const, 10, ""}, + {"R_X86_64_GOTPLT64", Const, 10, ""}, + {"R_X86_64_GOTTPOFF", Const, 0, ""}, + {"R_X86_64_IRELATIVE", Const, 10, ""}, + {"R_X86_64_JMP_SLOT", Const, 0, ""}, + {"R_X86_64_NONE", Const, 0, ""}, + {"R_X86_64_PC16", Const, 0, ""}, + {"R_X86_64_PC32", Const, 0, ""}, + {"R_X86_64_PC32_BND", Const, 10, ""}, + {"R_X86_64_PC64", Const, 10, ""}, + {"R_X86_64_PC8", Const, 0, ""}, + {"R_X86_64_PLT32", Const, 0, ""}, + {"R_X86_64_PLT32_BND", Const, 10, ""}, + {"R_X86_64_PLTOFF64", Const, 10, ""}, + {"R_X86_64_RELATIVE", Const, 0, ""}, + {"R_X86_64_RELATIVE64", Const, 10, ""}, + {"R_X86_64_REX_GOTPCRELX", Const, 10, ""}, + {"R_X86_64_SIZE32", Const, 10, ""}, + {"R_X86_64_SIZE64", Const, 10, ""}, + {"R_X86_64_TLSDESC", Const, 10, ""}, + {"R_X86_64_TLSDESC_CALL", Const, 10, ""}, + {"R_X86_64_TLSGD", Const, 0, ""}, + {"R_X86_64_TLSLD", Const, 0, ""}, + {"R_X86_64_TPOFF32", Const, 0, ""}, + {"R_X86_64_TPOFF64", Const, 0, ""}, + {"Rel32", Type, 0, ""}, + {"Rel32.Info", Field, 0, ""}, + {"Rel32.Off", Field, 0, ""}, + {"Rel64", Type, 0, ""}, + {"Rel64.Info", Field, 0, ""}, + {"Rel64.Off", Field, 0, ""}, + {"Rela32", Type, 0, ""}, + {"Rela32.Addend", Field, 0, ""}, + {"Rela32.Info", Field, 0, ""}, + {"Rela32.Off", Field, 0, ""}, + {"Rela64", Type, 0, ""}, + {"Rela64.Addend", Field, 0, ""}, + {"Rela64.Info", Field, 0, ""}, + {"Rela64.Off", Field, 0, ""}, + {"SHF_ALLOC", Const, 0, ""}, + {"SHF_COMPRESSED", Const, 6, ""}, + {"SHF_EXECINSTR", Const, 0, ""}, + {"SHF_GROUP", Const, 0, ""}, + {"SHF_INFO_LINK", Const, 0, ""}, + {"SHF_LINK_ORDER", Const, 0, ""}, + {"SHF_MASKOS", Const, 0, ""}, + {"SHF_MASKPROC", Const, 0, ""}, + {"SHF_MERGE", Const, 0, ""}, + {"SHF_OS_NONCONFORMING", Const, 0, ""}, + {"SHF_STRINGS", Const, 0, ""}, + {"SHF_TLS", Const, 0, ""}, + {"SHF_WRITE", Const, 0, ""}, + {"SHN_ABS", Const, 0, ""}, + {"SHN_COMMON", Const, 0, ""}, + {"SHN_HIOS", Const, 0, ""}, + {"SHN_HIPROC", Const, 0, ""}, + {"SHN_HIRESERVE", Const, 0, ""}, + {"SHN_LOOS", Const, 0, ""}, + {"SHN_LOPROC", Const, 0, ""}, + {"SHN_LORESERVE", Const, 0, ""}, + {"SHN_UNDEF", Const, 0, ""}, + {"SHN_XINDEX", Const, 0, ""}, + {"SHT_DYNAMIC", Const, 0, ""}, + {"SHT_DYNSYM", Const, 0, ""}, + {"SHT_FINI_ARRAY", Const, 0, ""}, + {"SHT_GNU_ATTRIBUTES", Const, 0, ""}, + {"SHT_GNU_HASH", Const, 0, ""}, + {"SHT_GNU_LIBLIST", Const, 0, ""}, + {"SHT_GNU_VERDEF", Const, 0, ""}, + {"SHT_GNU_VERNEED", Const, 0, ""}, + {"SHT_GNU_VERSYM", Const, 0, ""}, + {"SHT_GROUP", Const, 0, ""}, + {"SHT_HASH", Const, 0, ""}, + {"SHT_HIOS", Const, 0, ""}, + {"SHT_HIPROC", Const, 0, ""}, + {"SHT_HIUSER", Const, 0, ""}, + {"SHT_INIT_ARRAY", Const, 0, ""}, + {"SHT_LOOS", Const, 0, ""}, + {"SHT_LOPROC", Const, 0, ""}, + {"SHT_LOUSER", Const, 0, ""}, + {"SHT_MIPS_ABIFLAGS", Const, 17, ""}, + {"SHT_NOBITS", Const, 0, ""}, + {"SHT_NOTE", Const, 0, ""}, + {"SHT_NULL", Const, 0, ""}, + {"SHT_PREINIT_ARRAY", Const, 0, ""}, + {"SHT_PROGBITS", Const, 0, ""}, + {"SHT_REL", Const, 0, ""}, + {"SHT_RELA", Const, 0, ""}, + {"SHT_RISCV_ATTRIBUTES", Const, 25, ""}, + {"SHT_SHLIB", Const, 0, ""}, + {"SHT_STRTAB", Const, 0, ""}, + {"SHT_SYMTAB", Const, 0, ""}, + {"SHT_SYMTAB_SHNDX", Const, 0, ""}, + {"STB_GLOBAL", Const, 0, ""}, + {"STB_HIOS", Const, 0, ""}, + {"STB_HIPROC", Const, 0, ""}, + {"STB_LOCAL", Const, 0, ""}, + {"STB_LOOS", Const, 0, ""}, + {"STB_LOPROC", Const, 0, ""}, + {"STB_WEAK", Const, 0, ""}, + {"STT_COMMON", Const, 0, ""}, + {"STT_FILE", Const, 0, ""}, + {"STT_FUNC", Const, 0, ""}, + {"STT_GNU_IFUNC", Const, 23, ""}, + {"STT_HIOS", Const, 0, ""}, + {"STT_HIPROC", Const, 0, ""}, + {"STT_LOOS", Const, 0, ""}, + {"STT_LOPROC", Const, 0, ""}, + {"STT_NOTYPE", Const, 0, ""}, + {"STT_OBJECT", Const, 0, ""}, + {"STT_RELC", Const, 23, ""}, + {"STT_SECTION", Const, 0, ""}, + {"STT_SRELC", Const, 23, ""}, + {"STT_TLS", Const, 0, ""}, + {"STV_DEFAULT", Const, 0, ""}, + {"STV_HIDDEN", Const, 0, ""}, + {"STV_INTERNAL", Const, 0, ""}, + {"STV_PROTECTED", Const, 0, ""}, + {"ST_BIND", Func, 0, "func(info uint8) SymBind"}, + {"ST_INFO", Func, 0, "func(bind SymBind, typ SymType) uint8"}, + {"ST_TYPE", Func, 0, "func(info uint8) SymType"}, + {"ST_VISIBILITY", Func, 0, "func(other uint8) SymVis"}, + {"Section", Type, 0, ""}, + {"Section.ReaderAt", Field, 0, ""}, + {"Section.SectionHeader", Field, 0, ""}, + {"Section32", Type, 0, ""}, + {"Section32.Addr", Field, 0, ""}, + {"Section32.Addralign", Field, 0, ""}, + {"Section32.Entsize", Field, 0, ""}, + {"Section32.Flags", Field, 0, ""}, + {"Section32.Info", Field, 0, ""}, + {"Section32.Link", Field, 0, ""}, + {"Section32.Name", Field, 0, ""}, + {"Section32.Off", Field, 0, ""}, + {"Section32.Size", Field, 0, ""}, + {"Section32.Type", Field, 0, ""}, + {"Section64", Type, 0, ""}, + {"Section64.Addr", Field, 0, ""}, + {"Section64.Addralign", Field, 0, ""}, + {"Section64.Entsize", Field, 0, ""}, + {"Section64.Flags", Field, 0, ""}, + {"Section64.Info", Field, 0, ""}, + {"Section64.Link", Field, 0, ""}, + {"Section64.Name", Field, 0, ""}, + {"Section64.Off", Field, 0, ""}, + {"Section64.Size", Field, 0, ""}, + {"Section64.Type", Field, 0, ""}, + {"SectionFlag", Type, 0, ""}, + {"SectionHeader", Type, 0, ""}, + {"SectionHeader.Addr", Field, 0, ""}, + {"SectionHeader.Addralign", Field, 0, ""}, + {"SectionHeader.Entsize", Field, 0, ""}, + {"SectionHeader.FileSize", Field, 6, ""}, + {"SectionHeader.Flags", Field, 0, ""}, + {"SectionHeader.Info", Field, 0, ""}, + {"SectionHeader.Link", Field, 0, ""}, + {"SectionHeader.Name", Field, 0, ""}, + {"SectionHeader.Offset", Field, 0, ""}, + {"SectionHeader.Size", Field, 0, ""}, + {"SectionHeader.Type", Field, 0, ""}, + {"SectionIndex", Type, 0, ""}, + {"SectionType", Type, 0, ""}, + {"Sym32", Type, 0, ""}, + {"Sym32.Info", Field, 0, ""}, + {"Sym32.Name", Field, 0, ""}, + {"Sym32.Other", Field, 0, ""}, + {"Sym32.Shndx", Field, 0, ""}, + {"Sym32.Size", Field, 0, ""}, + {"Sym32.Value", Field, 0, ""}, + {"Sym32Size", Const, 0, ""}, + {"Sym64", Type, 0, ""}, + {"Sym64.Info", Field, 0, ""}, + {"Sym64.Name", Field, 0, ""}, + {"Sym64.Other", Field, 0, ""}, + {"Sym64.Shndx", Field, 0, ""}, + {"Sym64.Size", Field, 0, ""}, + {"Sym64.Value", Field, 0, ""}, + {"Sym64Size", Const, 0, ""}, + {"SymBind", Type, 0, ""}, + {"SymType", Type, 0, ""}, + {"SymVis", Type, 0, ""}, + {"Symbol", Type, 0, ""}, + {"Symbol.HasVersion", Field, 24, ""}, + {"Symbol.Info", Field, 0, ""}, + {"Symbol.Library", Field, 13, ""}, + {"Symbol.Name", Field, 0, ""}, + {"Symbol.Other", Field, 0, ""}, + {"Symbol.Section", Field, 0, ""}, + {"Symbol.Size", Field, 0, ""}, + {"Symbol.Value", Field, 0, ""}, + {"Symbol.Version", Field, 13, ""}, + {"Symbol.VersionIndex", Field, 24, ""}, + {"Type", Type, 0, ""}, + {"VER_FLG_BASE", Const, 24, ""}, + {"VER_FLG_INFO", Const, 24, ""}, + {"VER_FLG_WEAK", Const, 24, ""}, + {"Version", Type, 0, ""}, + {"VersionIndex", Type, 24, ""}, }, "debug/gosym": { - {"(*DecodingError).Error", Method, 0}, - {"(*LineTable).LineToPC", Method, 0}, - {"(*LineTable).PCToLine", Method, 0}, - {"(*Sym).BaseName", Method, 0}, - {"(*Sym).PackageName", Method, 0}, - {"(*Sym).ReceiverName", Method, 0}, - {"(*Sym).Static", Method, 0}, - {"(*Table).LineToPC", Method, 0}, - {"(*Table).LookupFunc", Method, 0}, - {"(*Table).LookupSym", Method, 0}, - {"(*Table).PCToFunc", Method, 0}, - {"(*Table).PCToLine", Method, 0}, - {"(*Table).SymByAddr", Method, 0}, - {"(*UnknownLineError).Error", Method, 0}, - {"(Func).BaseName", Method, 0}, - {"(Func).PackageName", Method, 0}, - {"(Func).ReceiverName", Method, 0}, - {"(Func).Static", Method, 0}, - {"(UnknownFileError).Error", Method, 0}, - {"DecodingError", Type, 0}, - {"Func", Type, 0}, - {"Func.End", Field, 0}, - {"Func.Entry", Field, 0}, - {"Func.FrameSize", Field, 0}, - {"Func.LineTable", Field, 0}, - {"Func.Locals", Field, 0}, - {"Func.Obj", Field, 0}, - {"Func.Params", Field, 0}, - {"Func.Sym", Field, 0}, - {"LineTable", Type, 0}, - {"LineTable.Data", Field, 0}, - {"LineTable.Line", Field, 0}, - {"LineTable.PC", Field, 0}, - {"NewLineTable", Func, 0}, - {"NewTable", Func, 0}, - {"Obj", Type, 0}, - {"Obj.Funcs", Field, 0}, - {"Obj.Paths", Field, 0}, - {"Sym", Type, 0}, - {"Sym.Func", Field, 0}, - {"Sym.GoType", Field, 0}, - {"Sym.Name", Field, 0}, - {"Sym.Type", Field, 0}, - {"Sym.Value", Field, 0}, - {"Table", Type, 0}, - {"Table.Files", Field, 0}, - {"Table.Funcs", Field, 0}, - {"Table.Objs", Field, 0}, - {"Table.Syms", Field, 0}, - {"UnknownFileError", Type, 0}, - {"UnknownLineError", Type, 0}, - {"UnknownLineError.File", Field, 0}, - {"UnknownLineError.Line", Field, 0}, + {"(*DecodingError).Error", Method, 0, ""}, + {"(*LineTable).LineToPC", Method, 0, ""}, + {"(*LineTable).PCToLine", Method, 0, ""}, + {"(*Sym).BaseName", Method, 0, ""}, + {"(*Sym).PackageName", Method, 0, ""}, + {"(*Sym).ReceiverName", Method, 0, ""}, + {"(*Sym).Static", Method, 0, ""}, + {"(*Table).LineToPC", Method, 0, ""}, + {"(*Table).LookupFunc", Method, 0, ""}, + {"(*Table).LookupSym", Method, 0, ""}, + {"(*Table).PCToFunc", Method, 0, ""}, + {"(*Table).PCToLine", Method, 0, ""}, + {"(*Table).SymByAddr", Method, 0, ""}, + {"(*UnknownLineError).Error", Method, 0, ""}, + {"(Func).BaseName", Method, 0, ""}, + {"(Func).PackageName", Method, 0, ""}, + {"(Func).ReceiverName", Method, 0, ""}, + {"(Func).Static", Method, 0, ""}, + {"(UnknownFileError).Error", Method, 0, ""}, + {"DecodingError", Type, 0, ""}, + {"Func", Type, 0, ""}, + {"Func.End", Field, 0, ""}, + {"Func.Entry", Field, 0, ""}, + {"Func.FrameSize", Field, 0, ""}, + {"Func.LineTable", Field, 0, ""}, + {"Func.Locals", Field, 0, ""}, + {"Func.Obj", Field, 0, ""}, + {"Func.Params", Field, 0, ""}, + {"Func.Sym", Field, 0, ""}, + {"LineTable", Type, 0, ""}, + {"LineTable.Data", Field, 0, ""}, + {"LineTable.Line", Field, 0, ""}, + {"LineTable.PC", Field, 0, ""}, + {"NewLineTable", Func, 0, "func(data []byte, text uint64) *LineTable"}, + {"NewTable", Func, 0, "func(symtab []byte, pcln *LineTable) (*Table, error)"}, + {"Obj", Type, 0, ""}, + {"Obj.Funcs", Field, 0, ""}, + {"Obj.Paths", Field, 0, ""}, + {"Sym", Type, 0, ""}, + {"Sym.Func", Field, 0, ""}, + {"Sym.GoType", Field, 0, ""}, + {"Sym.Name", Field, 0, ""}, + {"Sym.Type", Field, 0, ""}, + {"Sym.Value", Field, 0, ""}, + {"Table", Type, 0, ""}, + {"Table.Files", Field, 0, ""}, + {"Table.Funcs", Field, 0, ""}, + {"Table.Objs", Field, 0, ""}, + {"Table.Syms", Field, 0, ""}, + {"UnknownFileError", Type, 0, ""}, + {"UnknownLineError", Type, 0, ""}, + {"UnknownLineError.File", Field, 0, ""}, + {"UnknownLineError.Line", Field, 0, ""}, }, "debug/macho": { - {"(*FatFile).Close", Method, 3}, - {"(*File).Close", Method, 0}, - {"(*File).DWARF", Method, 0}, - {"(*File).ImportedLibraries", Method, 0}, - {"(*File).ImportedSymbols", Method, 0}, - {"(*File).Section", Method, 0}, - {"(*File).Segment", Method, 0}, - {"(*FormatError).Error", Method, 0}, - {"(*Section).Data", Method, 0}, - {"(*Section).Open", Method, 0}, - {"(*Segment).Data", Method, 0}, - {"(*Segment).Open", Method, 0}, - {"(Cpu).GoString", Method, 0}, - {"(Cpu).String", Method, 0}, - {"(Dylib).Raw", Method, 0}, - {"(Dysymtab).Raw", Method, 0}, - {"(FatArch).Close", Method, 3}, - {"(FatArch).DWARF", Method, 3}, - {"(FatArch).ImportedLibraries", Method, 3}, - {"(FatArch).ImportedSymbols", Method, 3}, - {"(FatArch).Section", Method, 3}, - {"(FatArch).Segment", Method, 3}, - {"(LoadBytes).Raw", Method, 0}, - {"(LoadCmd).GoString", Method, 0}, - {"(LoadCmd).String", Method, 0}, - {"(RelocTypeARM).GoString", Method, 10}, - {"(RelocTypeARM).String", Method, 10}, - {"(RelocTypeARM64).GoString", Method, 10}, - {"(RelocTypeARM64).String", Method, 10}, - {"(RelocTypeGeneric).GoString", Method, 10}, - {"(RelocTypeGeneric).String", Method, 10}, - {"(RelocTypeX86_64).GoString", Method, 10}, - {"(RelocTypeX86_64).String", Method, 10}, - {"(Rpath).Raw", Method, 10}, - {"(Section).ReadAt", Method, 0}, - {"(Segment).Raw", Method, 0}, - {"(Segment).ReadAt", Method, 0}, - {"(Symtab).Raw", Method, 0}, - {"(Type).GoString", Method, 10}, - {"(Type).String", Method, 10}, - {"ARM64_RELOC_ADDEND", Const, 10}, - {"ARM64_RELOC_BRANCH26", Const, 10}, - {"ARM64_RELOC_GOT_LOAD_PAGE21", Const, 10}, - {"ARM64_RELOC_GOT_LOAD_PAGEOFF12", Const, 10}, - {"ARM64_RELOC_PAGE21", Const, 10}, - {"ARM64_RELOC_PAGEOFF12", Const, 10}, - {"ARM64_RELOC_POINTER_TO_GOT", Const, 10}, - {"ARM64_RELOC_SUBTRACTOR", Const, 10}, - {"ARM64_RELOC_TLVP_LOAD_PAGE21", Const, 10}, - {"ARM64_RELOC_TLVP_LOAD_PAGEOFF12", Const, 10}, - {"ARM64_RELOC_UNSIGNED", Const, 10}, - {"ARM_RELOC_BR24", Const, 10}, - {"ARM_RELOC_HALF", Const, 10}, - {"ARM_RELOC_HALF_SECTDIFF", Const, 10}, - {"ARM_RELOC_LOCAL_SECTDIFF", Const, 10}, - {"ARM_RELOC_PAIR", Const, 10}, - {"ARM_RELOC_PB_LA_PTR", Const, 10}, - {"ARM_RELOC_SECTDIFF", Const, 10}, - {"ARM_RELOC_VANILLA", Const, 10}, - {"ARM_THUMB_32BIT_BRANCH", Const, 10}, - {"ARM_THUMB_RELOC_BR22", Const, 10}, - {"Cpu", Type, 0}, - {"Cpu386", Const, 0}, - {"CpuAmd64", Const, 0}, - {"CpuArm", Const, 3}, - {"CpuArm64", Const, 11}, - {"CpuPpc", Const, 3}, - {"CpuPpc64", Const, 3}, - {"Dylib", Type, 0}, - {"Dylib.CompatVersion", Field, 0}, - {"Dylib.CurrentVersion", Field, 0}, - {"Dylib.LoadBytes", Field, 0}, - {"Dylib.Name", Field, 0}, - {"Dylib.Time", Field, 0}, - {"DylibCmd", Type, 0}, - {"DylibCmd.Cmd", Field, 0}, - {"DylibCmd.CompatVersion", Field, 0}, - {"DylibCmd.CurrentVersion", Field, 0}, - {"DylibCmd.Len", Field, 0}, - {"DylibCmd.Name", Field, 0}, - {"DylibCmd.Time", Field, 0}, - {"Dysymtab", Type, 0}, - {"Dysymtab.DysymtabCmd", Field, 0}, - {"Dysymtab.IndirectSyms", Field, 0}, - {"Dysymtab.LoadBytes", Field, 0}, - {"DysymtabCmd", Type, 0}, - {"DysymtabCmd.Cmd", Field, 0}, - {"DysymtabCmd.Extrefsymoff", Field, 0}, - {"DysymtabCmd.Extreloff", Field, 0}, - {"DysymtabCmd.Iextdefsym", Field, 0}, - {"DysymtabCmd.Ilocalsym", Field, 0}, - {"DysymtabCmd.Indirectsymoff", Field, 0}, - {"DysymtabCmd.Iundefsym", Field, 0}, - {"DysymtabCmd.Len", Field, 0}, - {"DysymtabCmd.Locreloff", Field, 0}, - {"DysymtabCmd.Modtaboff", Field, 0}, - {"DysymtabCmd.Nextdefsym", Field, 0}, - {"DysymtabCmd.Nextrefsyms", Field, 0}, - {"DysymtabCmd.Nextrel", Field, 0}, - {"DysymtabCmd.Nindirectsyms", Field, 0}, - {"DysymtabCmd.Nlocalsym", Field, 0}, - {"DysymtabCmd.Nlocrel", Field, 0}, - {"DysymtabCmd.Nmodtab", Field, 0}, - {"DysymtabCmd.Ntoc", Field, 0}, - {"DysymtabCmd.Nundefsym", Field, 0}, - {"DysymtabCmd.Tocoffset", Field, 0}, - {"ErrNotFat", Var, 3}, - {"FatArch", Type, 3}, - {"FatArch.FatArchHeader", Field, 3}, - {"FatArch.File", Field, 3}, - {"FatArchHeader", Type, 3}, - {"FatArchHeader.Align", Field, 3}, - {"FatArchHeader.Cpu", Field, 3}, - {"FatArchHeader.Offset", Field, 3}, - {"FatArchHeader.Size", Field, 3}, - {"FatArchHeader.SubCpu", Field, 3}, - {"FatFile", Type, 3}, - {"FatFile.Arches", Field, 3}, - {"FatFile.Magic", Field, 3}, - {"File", Type, 0}, - {"File.ByteOrder", Field, 0}, - {"File.Dysymtab", Field, 0}, - {"File.FileHeader", Field, 0}, - {"File.Loads", Field, 0}, - {"File.Sections", Field, 0}, - {"File.Symtab", Field, 0}, - {"FileHeader", Type, 0}, - {"FileHeader.Cmdsz", Field, 0}, - {"FileHeader.Cpu", Field, 0}, - {"FileHeader.Flags", Field, 0}, - {"FileHeader.Magic", Field, 0}, - {"FileHeader.Ncmd", Field, 0}, - {"FileHeader.SubCpu", Field, 0}, - {"FileHeader.Type", Field, 0}, - {"FlagAllModsBound", Const, 10}, - {"FlagAllowStackExecution", Const, 10}, - {"FlagAppExtensionSafe", Const, 10}, - {"FlagBindAtLoad", Const, 10}, - {"FlagBindsToWeak", Const, 10}, - {"FlagCanonical", Const, 10}, - {"FlagDeadStrippableDylib", Const, 10}, - {"FlagDyldLink", Const, 10}, - {"FlagForceFlat", Const, 10}, - {"FlagHasTLVDescriptors", Const, 10}, - {"FlagIncrLink", Const, 10}, - {"FlagLazyInit", Const, 10}, - {"FlagNoFixPrebinding", Const, 10}, - {"FlagNoHeapExecution", Const, 10}, - {"FlagNoMultiDefs", Const, 10}, - {"FlagNoReexportedDylibs", Const, 10}, - {"FlagNoUndefs", Const, 10}, - {"FlagPIE", Const, 10}, - {"FlagPrebindable", Const, 10}, - {"FlagPrebound", Const, 10}, - {"FlagRootSafe", Const, 10}, - {"FlagSetuidSafe", Const, 10}, - {"FlagSplitSegs", Const, 10}, - {"FlagSubsectionsViaSymbols", Const, 10}, - {"FlagTwoLevel", Const, 10}, - {"FlagWeakDefines", Const, 10}, - {"FormatError", Type, 0}, - {"GENERIC_RELOC_LOCAL_SECTDIFF", Const, 10}, - {"GENERIC_RELOC_PAIR", Const, 10}, - {"GENERIC_RELOC_PB_LA_PTR", Const, 10}, - {"GENERIC_RELOC_SECTDIFF", Const, 10}, - {"GENERIC_RELOC_TLV", Const, 10}, - {"GENERIC_RELOC_VANILLA", Const, 10}, - {"Load", Type, 0}, - {"LoadBytes", Type, 0}, - {"LoadCmd", Type, 0}, - {"LoadCmdDylib", Const, 0}, - {"LoadCmdDylinker", Const, 0}, - {"LoadCmdDysymtab", Const, 0}, - {"LoadCmdRpath", Const, 10}, - {"LoadCmdSegment", Const, 0}, - {"LoadCmdSegment64", Const, 0}, - {"LoadCmdSymtab", Const, 0}, - {"LoadCmdThread", Const, 0}, - {"LoadCmdUnixThread", Const, 0}, - {"Magic32", Const, 0}, - {"Magic64", Const, 0}, - {"MagicFat", Const, 3}, - {"NewFatFile", Func, 3}, - {"NewFile", Func, 0}, - {"Nlist32", Type, 0}, - {"Nlist32.Desc", Field, 0}, - {"Nlist32.Name", Field, 0}, - {"Nlist32.Sect", Field, 0}, - {"Nlist32.Type", Field, 0}, - {"Nlist32.Value", Field, 0}, - {"Nlist64", Type, 0}, - {"Nlist64.Desc", Field, 0}, - {"Nlist64.Name", Field, 0}, - {"Nlist64.Sect", Field, 0}, - {"Nlist64.Type", Field, 0}, - {"Nlist64.Value", Field, 0}, - {"Open", Func, 0}, - {"OpenFat", Func, 3}, - {"Regs386", Type, 0}, - {"Regs386.AX", Field, 0}, - {"Regs386.BP", Field, 0}, - {"Regs386.BX", Field, 0}, - {"Regs386.CS", Field, 0}, - {"Regs386.CX", Field, 0}, - {"Regs386.DI", Field, 0}, - {"Regs386.DS", Field, 0}, - {"Regs386.DX", Field, 0}, - {"Regs386.ES", Field, 0}, - {"Regs386.FLAGS", Field, 0}, - {"Regs386.FS", Field, 0}, - {"Regs386.GS", Field, 0}, - {"Regs386.IP", Field, 0}, - {"Regs386.SI", Field, 0}, - {"Regs386.SP", Field, 0}, - {"Regs386.SS", Field, 0}, - {"RegsAMD64", Type, 0}, - {"RegsAMD64.AX", Field, 0}, - {"RegsAMD64.BP", Field, 0}, - {"RegsAMD64.BX", Field, 0}, - {"RegsAMD64.CS", Field, 0}, - {"RegsAMD64.CX", Field, 0}, - {"RegsAMD64.DI", Field, 0}, - {"RegsAMD64.DX", Field, 0}, - {"RegsAMD64.FLAGS", Field, 0}, - {"RegsAMD64.FS", Field, 0}, - {"RegsAMD64.GS", Field, 0}, - {"RegsAMD64.IP", Field, 0}, - {"RegsAMD64.R10", Field, 0}, - {"RegsAMD64.R11", Field, 0}, - {"RegsAMD64.R12", Field, 0}, - {"RegsAMD64.R13", Field, 0}, - {"RegsAMD64.R14", Field, 0}, - {"RegsAMD64.R15", Field, 0}, - {"RegsAMD64.R8", Field, 0}, - {"RegsAMD64.R9", Field, 0}, - {"RegsAMD64.SI", Field, 0}, - {"RegsAMD64.SP", Field, 0}, - {"Reloc", Type, 10}, - {"Reloc.Addr", Field, 10}, - {"Reloc.Extern", Field, 10}, - {"Reloc.Len", Field, 10}, - {"Reloc.Pcrel", Field, 10}, - {"Reloc.Scattered", Field, 10}, - {"Reloc.Type", Field, 10}, - {"Reloc.Value", Field, 10}, - {"RelocTypeARM", Type, 10}, - {"RelocTypeARM64", Type, 10}, - {"RelocTypeGeneric", Type, 10}, - {"RelocTypeX86_64", Type, 10}, - {"Rpath", Type, 10}, - {"Rpath.LoadBytes", Field, 10}, - {"Rpath.Path", Field, 10}, - {"RpathCmd", Type, 10}, - {"RpathCmd.Cmd", Field, 10}, - {"RpathCmd.Len", Field, 10}, - {"RpathCmd.Path", Field, 10}, - {"Section", Type, 0}, - {"Section.ReaderAt", Field, 0}, - {"Section.Relocs", Field, 10}, - {"Section.SectionHeader", Field, 0}, - {"Section32", Type, 0}, - {"Section32.Addr", Field, 0}, - {"Section32.Align", Field, 0}, - {"Section32.Flags", Field, 0}, - {"Section32.Name", Field, 0}, - {"Section32.Nreloc", Field, 0}, - {"Section32.Offset", Field, 0}, - {"Section32.Reloff", Field, 0}, - {"Section32.Reserve1", Field, 0}, - {"Section32.Reserve2", Field, 0}, - {"Section32.Seg", Field, 0}, - {"Section32.Size", Field, 0}, - {"Section64", Type, 0}, - {"Section64.Addr", Field, 0}, - {"Section64.Align", Field, 0}, - {"Section64.Flags", Field, 0}, - {"Section64.Name", Field, 0}, - {"Section64.Nreloc", Field, 0}, - {"Section64.Offset", Field, 0}, - {"Section64.Reloff", Field, 0}, - {"Section64.Reserve1", Field, 0}, - {"Section64.Reserve2", Field, 0}, - {"Section64.Reserve3", Field, 0}, - {"Section64.Seg", Field, 0}, - {"Section64.Size", Field, 0}, - {"SectionHeader", Type, 0}, - {"SectionHeader.Addr", Field, 0}, - {"SectionHeader.Align", Field, 0}, - {"SectionHeader.Flags", Field, 0}, - {"SectionHeader.Name", Field, 0}, - {"SectionHeader.Nreloc", Field, 0}, - {"SectionHeader.Offset", Field, 0}, - {"SectionHeader.Reloff", Field, 0}, - {"SectionHeader.Seg", Field, 0}, - {"SectionHeader.Size", Field, 0}, - {"Segment", Type, 0}, - {"Segment.LoadBytes", Field, 0}, - {"Segment.ReaderAt", Field, 0}, - {"Segment.SegmentHeader", Field, 0}, - {"Segment32", Type, 0}, - {"Segment32.Addr", Field, 0}, - {"Segment32.Cmd", Field, 0}, - {"Segment32.Filesz", Field, 0}, - {"Segment32.Flag", Field, 0}, - {"Segment32.Len", Field, 0}, - {"Segment32.Maxprot", Field, 0}, - {"Segment32.Memsz", Field, 0}, - {"Segment32.Name", Field, 0}, - {"Segment32.Nsect", Field, 0}, - {"Segment32.Offset", Field, 0}, - {"Segment32.Prot", Field, 0}, - {"Segment64", Type, 0}, - {"Segment64.Addr", Field, 0}, - {"Segment64.Cmd", Field, 0}, - {"Segment64.Filesz", Field, 0}, - {"Segment64.Flag", Field, 0}, - {"Segment64.Len", Field, 0}, - {"Segment64.Maxprot", Field, 0}, - {"Segment64.Memsz", Field, 0}, - {"Segment64.Name", Field, 0}, - {"Segment64.Nsect", Field, 0}, - {"Segment64.Offset", Field, 0}, - {"Segment64.Prot", Field, 0}, - {"SegmentHeader", Type, 0}, - {"SegmentHeader.Addr", Field, 0}, - {"SegmentHeader.Cmd", Field, 0}, - {"SegmentHeader.Filesz", Field, 0}, - {"SegmentHeader.Flag", Field, 0}, - {"SegmentHeader.Len", Field, 0}, - {"SegmentHeader.Maxprot", Field, 0}, - {"SegmentHeader.Memsz", Field, 0}, - {"SegmentHeader.Name", Field, 0}, - {"SegmentHeader.Nsect", Field, 0}, - {"SegmentHeader.Offset", Field, 0}, - {"SegmentHeader.Prot", Field, 0}, - {"Symbol", Type, 0}, - {"Symbol.Desc", Field, 0}, - {"Symbol.Name", Field, 0}, - {"Symbol.Sect", Field, 0}, - {"Symbol.Type", Field, 0}, - {"Symbol.Value", Field, 0}, - {"Symtab", Type, 0}, - {"Symtab.LoadBytes", Field, 0}, - {"Symtab.Syms", Field, 0}, - {"Symtab.SymtabCmd", Field, 0}, - {"SymtabCmd", Type, 0}, - {"SymtabCmd.Cmd", Field, 0}, - {"SymtabCmd.Len", Field, 0}, - {"SymtabCmd.Nsyms", Field, 0}, - {"SymtabCmd.Stroff", Field, 0}, - {"SymtabCmd.Strsize", Field, 0}, - {"SymtabCmd.Symoff", Field, 0}, - {"Thread", Type, 0}, - {"Thread.Cmd", Field, 0}, - {"Thread.Data", Field, 0}, - {"Thread.Len", Field, 0}, - {"Thread.Type", Field, 0}, - {"Type", Type, 0}, - {"TypeBundle", Const, 3}, - {"TypeDylib", Const, 3}, - {"TypeExec", Const, 0}, - {"TypeObj", Const, 0}, - {"X86_64_RELOC_BRANCH", Const, 10}, - {"X86_64_RELOC_GOT", Const, 10}, - {"X86_64_RELOC_GOT_LOAD", Const, 10}, - {"X86_64_RELOC_SIGNED", Const, 10}, - {"X86_64_RELOC_SIGNED_1", Const, 10}, - {"X86_64_RELOC_SIGNED_2", Const, 10}, - {"X86_64_RELOC_SIGNED_4", Const, 10}, - {"X86_64_RELOC_SUBTRACTOR", Const, 10}, - {"X86_64_RELOC_TLV", Const, 10}, - {"X86_64_RELOC_UNSIGNED", Const, 10}, + {"(*FatFile).Close", Method, 3, ""}, + {"(*File).Close", Method, 0, ""}, + {"(*File).DWARF", Method, 0, ""}, + {"(*File).ImportedLibraries", Method, 0, ""}, + {"(*File).ImportedSymbols", Method, 0, ""}, + {"(*File).Section", Method, 0, ""}, + {"(*File).Segment", Method, 0, ""}, + {"(*FormatError).Error", Method, 0, ""}, + {"(*Section).Data", Method, 0, ""}, + {"(*Section).Open", Method, 0, ""}, + {"(*Segment).Data", Method, 0, ""}, + {"(*Segment).Open", Method, 0, ""}, + {"(Cpu).GoString", Method, 0, ""}, + {"(Cpu).String", Method, 0, ""}, + {"(Dylib).Raw", Method, 0, ""}, + {"(Dysymtab).Raw", Method, 0, ""}, + {"(FatArch).Close", Method, 3, ""}, + {"(FatArch).DWARF", Method, 3, ""}, + {"(FatArch).ImportedLibraries", Method, 3, ""}, + {"(FatArch).ImportedSymbols", Method, 3, ""}, + {"(FatArch).Section", Method, 3, ""}, + {"(FatArch).Segment", Method, 3, ""}, + {"(LoadBytes).Raw", Method, 0, ""}, + {"(LoadCmd).GoString", Method, 0, ""}, + {"(LoadCmd).String", Method, 0, ""}, + {"(RelocTypeARM).GoString", Method, 10, ""}, + {"(RelocTypeARM).String", Method, 10, ""}, + {"(RelocTypeARM64).GoString", Method, 10, ""}, + {"(RelocTypeARM64).String", Method, 10, ""}, + {"(RelocTypeGeneric).GoString", Method, 10, ""}, + {"(RelocTypeGeneric).String", Method, 10, ""}, + {"(RelocTypeX86_64).GoString", Method, 10, ""}, + {"(RelocTypeX86_64).String", Method, 10, ""}, + {"(Rpath).Raw", Method, 10, ""}, + {"(Section).ReadAt", Method, 0, ""}, + {"(Segment).Raw", Method, 0, ""}, + {"(Segment).ReadAt", Method, 0, ""}, + {"(Symtab).Raw", Method, 0, ""}, + {"(Type).GoString", Method, 10, ""}, + {"(Type).String", Method, 10, ""}, + {"ARM64_RELOC_ADDEND", Const, 10, ""}, + {"ARM64_RELOC_BRANCH26", Const, 10, ""}, + {"ARM64_RELOC_GOT_LOAD_PAGE21", Const, 10, ""}, + {"ARM64_RELOC_GOT_LOAD_PAGEOFF12", Const, 10, ""}, + {"ARM64_RELOC_PAGE21", Const, 10, ""}, + {"ARM64_RELOC_PAGEOFF12", Const, 10, ""}, + {"ARM64_RELOC_POINTER_TO_GOT", Const, 10, ""}, + {"ARM64_RELOC_SUBTRACTOR", Const, 10, ""}, + {"ARM64_RELOC_TLVP_LOAD_PAGE21", Const, 10, ""}, + {"ARM64_RELOC_TLVP_LOAD_PAGEOFF12", Const, 10, ""}, + {"ARM64_RELOC_UNSIGNED", Const, 10, ""}, + {"ARM_RELOC_BR24", Const, 10, ""}, + {"ARM_RELOC_HALF", Const, 10, ""}, + {"ARM_RELOC_HALF_SECTDIFF", Const, 10, ""}, + {"ARM_RELOC_LOCAL_SECTDIFF", Const, 10, ""}, + {"ARM_RELOC_PAIR", Const, 10, ""}, + {"ARM_RELOC_PB_LA_PTR", Const, 10, ""}, + {"ARM_RELOC_SECTDIFF", Const, 10, ""}, + {"ARM_RELOC_VANILLA", Const, 10, ""}, + {"ARM_THUMB_32BIT_BRANCH", Const, 10, ""}, + {"ARM_THUMB_RELOC_BR22", Const, 10, ""}, + {"Cpu", Type, 0, ""}, + {"Cpu386", Const, 0, ""}, + {"CpuAmd64", Const, 0, ""}, + {"CpuArm", Const, 3, ""}, + {"CpuArm64", Const, 11, ""}, + {"CpuPpc", Const, 3, ""}, + {"CpuPpc64", Const, 3, ""}, + {"Dylib", Type, 0, ""}, + {"Dylib.CompatVersion", Field, 0, ""}, + {"Dylib.CurrentVersion", Field, 0, ""}, + {"Dylib.LoadBytes", Field, 0, ""}, + {"Dylib.Name", Field, 0, ""}, + {"Dylib.Time", Field, 0, ""}, + {"DylibCmd", Type, 0, ""}, + {"DylibCmd.Cmd", Field, 0, ""}, + {"DylibCmd.CompatVersion", Field, 0, ""}, + {"DylibCmd.CurrentVersion", Field, 0, ""}, + {"DylibCmd.Len", Field, 0, ""}, + {"DylibCmd.Name", Field, 0, ""}, + {"DylibCmd.Time", Field, 0, ""}, + {"Dysymtab", Type, 0, ""}, + {"Dysymtab.DysymtabCmd", Field, 0, ""}, + {"Dysymtab.IndirectSyms", Field, 0, ""}, + {"Dysymtab.LoadBytes", Field, 0, ""}, + {"DysymtabCmd", Type, 0, ""}, + {"DysymtabCmd.Cmd", Field, 0, ""}, + {"DysymtabCmd.Extrefsymoff", Field, 0, ""}, + {"DysymtabCmd.Extreloff", Field, 0, ""}, + {"DysymtabCmd.Iextdefsym", Field, 0, ""}, + {"DysymtabCmd.Ilocalsym", Field, 0, ""}, + {"DysymtabCmd.Indirectsymoff", Field, 0, ""}, + {"DysymtabCmd.Iundefsym", Field, 0, ""}, + {"DysymtabCmd.Len", Field, 0, ""}, + {"DysymtabCmd.Locreloff", Field, 0, ""}, + {"DysymtabCmd.Modtaboff", Field, 0, ""}, + {"DysymtabCmd.Nextdefsym", Field, 0, ""}, + {"DysymtabCmd.Nextrefsyms", Field, 0, ""}, + {"DysymtabCmd.Nextrel", Field, 0, ""}, + {"DysymtabCmd.Nindirectsyms", Field, 0, ""}, + {"DysymtabCmd.Nlocalsym", Field, 0, ""}, + {"DysymtabCmd.Nlocrel", Field, 0, ""}, + {"DysymtabCmd.Nmodtab", Field, 0, ""}, + {"DysymtabCmd.Ntoc", Field, 0, ""}, + {"DysymtabCmd.Nundefsym", Field, 0, ""}, + {"DysymtabCmd.Tocoffset", Field, 0, ""}, + {"ErrNotFat", Var, 3, ""}, + {"FatArch", Type, 3, ""}, + {"FatArch.FatArchHeader", Field, 3, ""}, + {"FatArch.File", Field, 3, ""}, + {"FatArchHeader", Type, 3, ""}, + {"FatArchHeader.Align", Field, 3, ""}, + {"FatArchHeader.Cpu", Field, 3, ""}, + {"FatArchHeader.Offset", Field, 3, ""}, + {"FatArchHeader.Size", Field, 3, ""}, + {"FatArchHeader.SubCpu", Field, 3, ""}, + {"FatFile", Type, 3, ""}, + {"FatFile.Arches", Field, 3, ""}, + {"FatFile.Magic", Field, 3, ""}, + {"File", Type, 0, ""}, + {"File.ByteOrder", Field, 0, ""}, + {"File.Dysymtab", Field, 0, ""}, + {"File.FileHeader", Field, 0, ""}, + {"File.Loads", Field, 0, ""}, + {"File.Sections", Field, 0, ""}, + {"File.Symtab", Field, 0, ""}, + {"FileHeader", Type, 0, ""}, + {"FileHeader.Cmdsz", Field, 0, ""}, + {"FileHeader.Cpu", Field, 0, ""}, + {"FileHeader.Flags", Field, 0, ""}, + {"FileHeader.Magic", Field, 0, ""}, + {"FileHeader.Ncmd", Field, 0, ""}, + {"FileHeader.SubCpu", Field, 0, ""}, + {"FileHeader.Type", Field, 0, ""}, + {"FlagAllModsBound", Const, 10, ""}, + {"FlagAllowStackExecution", Const, 10, ""}, + {"FlagAppExtensionSafe", Const, 10, ""}, + {"FlagBindAtLoad", Const, 10, ""}, + {"FlagBindsToWeak", Const, 10, ""}, + {"FlagCanonical", Const, 10, ""}, + {"FlagDeadStrippableDylib", Const, 10, ""}, + {"FlagDyldLink", Const, 10, ""}, + {"FlagForceFlat", Const, 10, ""}, + {"FlagHasTLVDescriptors", Const, 10, ""}, + {"FlagIncrLink", Const, 10, ""}, + {"FlagLazyInit", Const, 10, ""}, + {"FlagNoFixPrebinding", Const, 10, ""}, + {"FlagNoHeapExecution", Const, 10, ""}, + {"FlagNoMultiDefs", Const, 10, ""}, + {"FlagNoReexportedDylibs", Const, 10, ""}, + {"FlagNoUndefs", Const, 10, ""}, + {"FlagPIE", Const, 10, ""}, + {"FlagPrebindable", Const, 10, ""}, + {"FlagPrebound", Const, 10, ""}, + {"FlagRootSafe", Const, 10, ""}, + {"FlagSetuidSafe", Const, 10, ""}, + {"FlagSplitSegs", Const, 10, ""}, + {"FlagSubsectionsViaSymbols", Const, 10, ""}, + {"FlagTwoLevel", Const, 10, ""}, + {"FlagWeakDefines", Const, 10, ""}, + {"FormatError", Type, 0, ""}, + {"GENERIC_RELOC_LOCAL_SECTDIFF", Const, 10, ""}, + {"GENERIC_RELOC_PAIR", Const, 10, ""}, + {"GENERIC_RELOC_PB_LA_PTR", Const, 10, ""}, + {"GENERIC_RELOC_SECTDIFF", Const, 10, ""}, + {"GENERIC_RELOC_TLV", Const, 10, ""}, + {"GENERIC_RELOC_VANILLA", Const, 10, ""}, + {"Load", Type, 0, ""}, + {"LoadBytes", Type, 0, ""}, + {"LoadCmd", Type, 0, ""}, + {"LoadCmdDylib", Const, 0, ""}, + {"LoadCmdDylinker", Const, 0, ""}, + {"LoadCmdDysymtab", Const, 0, ""}, + {"LoadCmdRpath", Const, 10, ""}, + {"LoadCmdSegment", Const, 0, ""}, + {"LoadCmdSegment64", Const, 0, ""}, + {"LoadCmdSymtab", Const, 0, ""}, + {"LoadCmdThread", Const, 0, ""}, + {"LoadCmdUnixThread", Const, 0, ""}, + {"Magic32", Const, 0, ""}, + {"Magic64", Const, 0, ""}, + {"MagicFat", Const, 3, ""}, + {"NewFatFile", Func, 3, "func(r io.ReaderAt) (*FatFile, error)"}, + {"NewFile", Func, 0, "func(r io.ReaderAt) (*File, error)"}, + {"Nlist32", Type, 0, ""}, + {"Nlist32.Desc", Field, 0, ""}, + {"Nlist32.Name", Field, 0, ""}, + {"Nlist32.Sect", Field, 0, ""}, + {"Nlist32.Type", Field, 0, ""}, + {"Nlist32.Value", Field, 0, ""}, + {"Nlist64", Type, 0, ""}, + {"Nlist64.Desc", Field, 0, ""}, + {"Nlist64.Name", Field, 0, ""}, + {"Nlist64.Sect", Field, 0, ""}, + {"Nlist64.Type", Field, 0, ""}, + {"Nlist64.Value", Field, 0, ""}, + {"Open", Func, 0, "func(name string) (*File, error)"}, + {"OpenFat", Func, 3, "func(name string) (*FatFile, error)"}, + {"Regs386", Type, 0, ""}, + {"Regs386.AX", Field, 0, ""}, + {"Regs386.BP", Field, 0, ""}, + {"Regs386.BX", Field, 0, ""}, + {"Regs386.CS", Field, 0, ""}, + {"Regs386.CX", Field, 0, ""}, + {"Regs386.DI", Field, 0, ""}, + {"Regs386.DS", Field, 0, ""}, + {"Regs386.DX", Field, 0, ""}, + {"Regs386.ES", Field, 0, ""}, + {"Regs386.FLAGS", Field, 0, ""}, + {"Regs386.FS", Field, 0, ""}, + {"Regs386.GS", Field, 0, ""}, + {"Regs386.IP", Field, 0, ""}, + {"Regs386.SI", Field, 0, ""}, + {"Regs386.SP", Field, 0, ""}, + {"Regs386.SS", Field, 0, ""}, + {"RegsAMD64", Type, 0, ""}, + {"RegsAMD64.AX", Field, 0, ""}, + {"RegsAMD64.BP", Field, 0, ""}, + {"RegsAMD64.BX", Field, 0, ""}, + {"RegsAMD64.CS", Field, 0, ""}, + {"RegsAMD64.CX", Field, 0, ""}, + {"RegsAMD64.DI", Field, 0, ""}, + {"RegsAMD64.DX", Field, 0, ""}, + {"RegsAMD64.FLAGS", Field, 0, ""}, + {"RegsAMD64.FS", Field, 0, ""}, + {"RegsAMD64.GS", Field, 0, ""}, + {"RegsAMD64.IP", Field, 0, ""}, + {"RegsAMD64.R10", Field, 0, ""}, + {"RegsAMD64.R11", Field, 0, ""}, + {"RegsAMD64.R12", Field, 0, ""}, + {"RegsAMD64.R13", Field, 0, ""}, + {"RegsAMD64.R14", Field, 0, ""}, + {"RegsAMD64.R15", Field, 0, ""}, + {"RegsAMD64.R8", Field, 0, ""}, + {"RegsAMD64.R9", Field, 0, ""}, + {"RegsAMD64.SI", Field, 0, ""}, + {"RegsAMD64.SP", Field, 0, ""}, + {"Reloc", Type, 10, ""}, + {"Reloc.Addr", Field, 10, ""}, + {"Reloc.Extern", Field, 10, ""}, + {"Reloc.Len", Field, 10, ""}, + {"Reloc.Pcrel", Field, 10, ""}, + {"Reloc.Scattered", Field, 10, ""}, + {"Reloc.Type", Field, 10, ""}, + {"Reloc.Value", Field, 10, ""}, + {"RelocTypeARM", Type, 10, ""}, + {"RelocTypeARM64", Type, 10, ""}, + {"RelocTypeGeneric", Type, 10, ""}, + {"RelocTypeX86_64", Type, 10, ""}, + {"Rpath", Type, 10, ""}, + {"Rpath.LoadBytes", Field, 10, ""}, + {"Rpath.Path", Field, 10, ""}, + {"RpathCmd", Type, 10, ""}, + {"RpathCmd.Cmd", Field, 10, ""}, + {"RpathCmd.Len", Field, 10, ""}, + {"RpathCmd.Path", Field, 10, ""}, + {"Section", Type, 0, ""}, + {"Section.ReaderAt", Field, 0, ""}, + {"Section.Relocs", Field, 10, ""}, + {"Section.SectionHeader", Field, 0, ""}, + {"Section32", Type, 0, ""}, + {"Section32.Addr", Field, 0, ""}, + {"Section32.Align", Field, 0, ""}, + {"Section32.Flags", Field, 0, ""}, + {"Section32.Name", Field, 0, ""}, + {"Section32.Nreloc", Field, 0, ""}, + {"Section32.Offset", Field, 0, ""}, + {"Section32.Reloff", Field, 0, ""}, + {"Section32.Reserve1", Field, 0, ""}, + {"Section32.Reserve2", Field, 0, ""}, + {"Section32.Seg", Field, 0, ""}, + {"Section32.Size", Field, 0, ""}, + {"Section64", Type, 0, ""}, + {"Section64.Addr", Field, 0, ""}, + {"Section64.Align", Field, 0, ""}, + {"Section64.Flags", Field, 0, ""}, + {"Section64.Name", Field, 0, ""}, + {"Section64.Nreloc", Field, 0, ""}, + {"Section64.Offset", Field, 0, ""}, + {"Section64.Reloff", Field, 0, ""}, + {"Section64.Reserve1", Field, 0, ""}, + {"Section64.Reserve2", Field, 0, ""}, + {"Section64.Reserve3", Field, 0, ""}, + {"Section64.Seg", Field, 0, ""}, + {"Section64.Size", Field, 0, ""}, + {"SectionHeader", Type, 0, ""}, + {"SectionHeader.Addr", Field, 0, ""}, + {"SectionHeader.Align", Field, 0, ""}, + {"SectionHeader.Flags", Field, 0, ""}, + {"SectionHeader.Name", Field, 0, ""}, + {"SectionHeader.Nreloc", Field, 0, ""}, + {"SectionHeader.Offset", Field, 0, ""}, + {"SectionHeader.Reloff", Field, 0, ""}, + {"SectionHeader.Seg", Field, 0, ""}, + {"SectionHeader.Size", Field, 0, ""}, + {"Segment", Type, 0, ""}, + {"Segment.LoadBytes", Field, 0, ""}, + {"Segment.ReaderAt", Field, 0, ""}, + {"Segment.SegmentHeader", Field, 0, ""}, + {"Segment32", Type, 0, ""}, + {"Segment32.Addr", Field, 0, ""}, + {"Segment32.Cmd", Field, 0, ""}, + {"Segment32.Filesz", Field, 0, ""}, + {"Segment32.Flag", Field, 0, ""}, + {"Segment32.Len", Field, 0, ""}, + {"Segment32.Maxprot", Field, 0, ""}, + {"Segment32.Memsz", Field, 0, ""}, + {"Segment32.Name", Field, 0, ""}, + {"Segment32.Nsect", Field, 0, ""}, + {"Segment32.Offset", Field, 0, ""}, + {"Segment32.Prot", Field, 0, ""}, + {"Segment64", Type, 0, ""}, + {"Segment64.Addr", Field, 0, ""}, + {"Segment64.Cmd", Field, 0, ""}, + {"Segment64.Filesz", Field, 0, ""}, + {"Segment64.Flag", Field, 0, ""}, + {"Segment64.Len", Field, 0, ""}, + {"Segment64.Maxprot", Field, 0, ""}, + {"Segment64.Memsz", Field, 0, ""}, + {"Segment64.Name", Field, 0, ""}, + {"Segment64.Nsect", Field, 0, ""}, + {"Segment64.Offset", Field, 0, ""}, + {"Segment64.Prot", Field, 0, ""}, + {"SegmentHeader", Type, 0, ""}, + {"SegmentHeader.Addr", Field, 0, ""}, + {"SegmentHeader.Cmd", Field, 0, ""}, + {"SegmentHeader.Filesz", Field, 0, ""}, + {"SegmentHeader.Flag", Field, 0, ""}, + {"SegmentHeader.Len", Field, 0, ""}, + {"SegmentHeader.Maxprot", Field, 0, ""}, + {"SegmentHeader.Memsz", Field, 0, ""}, + {"SegmentHeader.Name", Field, 0, ""}, + {"SegmentHeader.Nsect", Field, 0, ""}, + {"SegmentHeader.Offset", Field, 0, ""}, + {"SegmentHeader.Prot", Field, 0, ""}, + {"Symbol", Type, 0, ""}, + {"Symbol.Desc", Field, 0, ""}, + {"Symbol.Name", Field, 0, ""}, + {"Symbol.Sect", Field, 0, ""}, + {"Symbol.Type", Field, 0, ""}, + {"Symbol.Value", Field, 0, ""}, + {"Symtab", Type, 0, ""}, + {"Symtab.LoadBytes", Field, 0, ""}, + {"Symtab.Syms", Field, 0, ""}, + {"Symtab.SymtabCmd", Field, 0, ""}, + {"SymtabCmd", Type, 0, ""}, + {"SymtabCmd.Cmd", Field, 0, ""}, + {"SymtabCmd.Len", Field, 0, ""}, + {"SymtabCmd.Nsyms", Field, 0, ""}, + {"SymtabCmd.Stroff", Field, 0, ""}, + {"SymtabCmd.Strsize", Field, 0, ""}, + {"SymtabCmd.Symoff", Field, 0, ""}, + {"Thread", Type, 0, ""}, + {"Thread.Cmd", Field, 0, ""}, + {"Thread.Data", Field, 0, ""}, + {"Thread.Len", Field, 0, ""}, + {"Thread.Type", Field, 0, ""}, + {"Type", Type, 0, ""}, + {"TypeBundle", Const, 3, ""}, + {"TypeDylib", Const, 3, ""}, + {"TypeExec", Const, 0, ""}, + {"TypeObj", Const, 0, ""}, + {"X86_64_RELOC_BRANCH", Const, 10, ""}, + {"X86_64_RELOC_GOT", Const, 10, ""}, + {"X86_64_RELOC_GOT_LOAD", Const, 10, ""}, + {"X86_64_RELOC_SIGNED", Const, 10, ""}, + {"X86_64_RELOC_SIGNED_1", Const, 10, ""}, + {"X86_64_RELOC_SIGNED_2", Const, 10, ""}, + {"X86_64_RELOC_SIGNED_4", Const, 10, ""}, + {"X86_64_RELOC_SUBTRACTOR", Const, 10, ""}, + {"X86_64_RELOC_TLV", Const, 10, ""}, + {"X86_64_RELOC_UNSIGNED", Const, 10, ""}, }, "debug/pe": { - {"(*COFFSymbol).FullName", Method, 8}, - {"(*File).COFFSymbolReadSectionDefAux", Method, 19}, - {"(*File).Close", Method, 0}, - {"(*File).DWARF", Method, 0}, - {"(*File).ImportedLibraries", Method, 0}, - {"(*File).ImportedSymbols", Method, 0}, - {"(*File).Section", Method, 0}, - {"(*FormatError).Error", Method, 0}, - {"(*Section).Data", Method, 0}, - {"(*Section).Open", Method, 0}, - {"(Section).ReadAt", Method, 0}, - {"(StringTable).String", Method, 8}, - {"COFFSymbol", Type, 1}, - {"COFFSymbol.Name", Field, 1}, - {"COFFSymbol.NumberOfAuxSymbols", Field, 1}, - {"COFFSymbol.SectionNumber", Field, 1}, - {"COFFSymbol.StorageClass", Field, 1}, - {"COFFSymbol.Type", Field, 1}, - {"COFFSymbol.Value", Field, 1}, - {"COFFSymbolAuxFormat5", Type, 19}, - {"COFFSymbolAuxFormat5.Checksum", Field, 19}, - {"COFFSymbolAuxFormat5.NumLineNumbers", Field, 19}, - {"COFFSymbolAuxFormat5.NumRelocs", Field, 19}, - {"COFFSymbolAuxFormat5.SecNum", Field, 19}, - {"COFFSymbolAuxFormat5.Selection", Field, 19}, - {"COFFSymbolAuxFormat5.Size", Field, 19}, - {"COFFSymbolSize", Const, 1}, - {"DataDirectory", Type, 3}, - {"DataDirectory.Size", Field, 3}, - {"DataDirectory.VirtualAddress", Field, 3}, - {"File", Type, 0}, - {"File.COFFSymbols", Field, 8}, - {"File.FileHeader", Field, 0}, - {"File.OptionalHeader", Field, 3}, - {"File.Sections", Field, 0}, - {"File.StringTable", Field, 8}, - {"File.Symbols", Field, 1}, - {"FileHeader", Type, 0}, - {"FileHeader.Characteristics", Field, 0}, - {"FileHeader.Machine", Field, 0}, - {"FileHeader.NumberOfSections", Field, 0}, - {"FileHeader.NumberOfSymbols", Field, 0}, - {"FileHeader.PointerToSymbolTable", Field, 0}, - {"FileHeader.SizeOfOptionalHeader", Field, 0}, - {"FileHeader.TimeDateStamp", Field, 0}, - {"FormatError", Type, 0}, - {"IMAGE_COMDAT_SELECT_ANY", Const, 19}, - {"IMAGE_COMDAT_SELECT_ASSOCIATIVE", Const, 19}, - {"IMAGE_COMDAT_SELECT_EXACT_MATCH", Const, 19}, - {"IMAGE_COMDAT_SELECT_LARGEST", Const, 19}, - {"IMAGE_COMDAT_SELECT_NODUPLICATES", Const, 19}, - {"IMAGE_COMDAT_SELECT_SAME_SIZE", Const, 19}, - {"IMAGE_DIRECTORY_ENTRY_ARCHITECTURE", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_BASERELOC", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_DEBUG", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_EXCEPTION", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_EXPORT", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_GLOBALPTR", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_IAT", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_IMPORT", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_RESOURCE", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_SECURITY", Const, 11}, - {"IMAGE_DIRECTORY_ENTRY_TLS", Const, 11}, - {"IMAGE_DLLCHARACTERISTICS_APPCONTAINER", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_GUARD_CF", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_NO_BIND", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_NO_ISOLATION", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_NO_SEH", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_NX_COMPAT", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE", Const, 15}, - {"IMAGE_DLLCHARACTERISTICS_WDM_DRIVER", Const, 15}, - {"IMAGE_FILE_32BIT_MACHINE", Const, 15}, - {"IMAGE_FILE_AGGRESIVE_WS_TRIM", Const, 15}, - {"IMAGE_FILE_BYTES_REVERSED_HI", Const, 15}, - {"IMAGE_FILE_BYTES_REVERSED_LO", Const, 15}, - {"IMAGE_FILE_DEBUG_STRIPPED", Const, 15}, - {"IMAGE_FILE_DLL", Const, 15}, - {"IMAGE_FILE_EXECUTABLE_IMAGE", Const, 15}, - {"IMAGE_FILE_LARGE_ADDRESS_AWARE", Const, 15}, - {"IMAGE_FILE_LINE_NUMS_STRIPPED", Const, 15}, - {"IMAGE_FILE_LOCAL_SYMS_STRIPPED", Const, 15}, - {"IMAGE_FILE_MACHINE_AM33", Const, 0}, - {"IMAGE_FILE_MACHINE_AMD64", Const, 0}, - {"IMAGE_FILE_MACHINE_ARM", Const, 0}, - {"IMAGE_FILE_MACHINE_ARM64", Const, 11}, - {"IMAGE_FILE_MACHINE_ARMNT", Const, 12}, - {"IMAGE_FILE_MACHINE_EBC", Const, 0}, - {"IMAGE_FILE_MACHINE_I386", Const, 0}, - {"IMAGE_FILE_MACHINE_IA64", Const, 0}, - {"IMAGE_FILE_MACHINE_LOONGARCH32", Const, 19}, - {"IMAGE_FILE_MACHINE_LOONGARCH64", Const, 19}, - {"IMAGE_FILE_MACHINE_M32R", Const, 0}, - {"IMAGE_FILE_MACHINE_MIPS16", Const, 0}, - {"IMAGE_FILE_MACHINE_MIPSFPU", Const, 0}, - {"IMAGE_FILE_MACHINE_MIPSFPU16", Const, 0}, - {"IMAGE_FILE_MACHINE_POWERPC", Const, 0}, - {"IMAGE_FILE_MACHINE_POWERPCFP", Const, 0}, - {"IMAGE_FILE_MACHINE_R4000", Const, 0}, - {"IMAGE_FILE_MACHINE_RISCV128", Const, 20}, - {"IMAGE_FILE_MACHINE_RISCV32", Const, 20}, - {"IMAGE_FILE_MACHINE_RISCV64", Const, 20}, - {"IMAGE_FILE_MACHINE_SH3", Const, 0}, - {"IMAGE_FILE_MACHINE_SH3DSP", Const, 0}, - {"IMAGE_FILE_MACHINE_SH4", Const, 0}, - {"IMAGE_FILE_MACHINE_SH5", Const, 0}, - {"IMAGE_FILE_MACHINE_THUMB", Const, 0}, - {"IMAGE_FILE_MACHINE_UNKNOWN", Const, 0}, - {"IMAGE_FILE_MACHINE_WCEMIPSV2", Const, 0}, - {"IMAGE_FILE_NET_RUN_FROM_SWAP", Const, 15}, - {"IMAGE_FILE_RELOCS_STRIPPED", Const, 15}, - {"IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP", Const, 15}, - {"IMAGE_FILE_SYSTEM", Const, 15}, - {"IMAGE_FILE_UP_SYSTEM_ONLY", Const, 15}, - {"IMAGE_SCN_CNT_CODE", Const, 19}, - {"IMAGE_SCN_CNT_INITIALIZED_DATA", Const, 19}, - {"IMAGE_SCN_CNT_UNINITIALIZED_DATA", Const, 19}, - {"IMAGE_SCN_LNK_COMDAT", Const, 19}, - {"IMAGE_SCN_MEM_DISCARDABLE", Const, 19}, - {"IMAGE_SCN_MEM_EXECUTE", Const, 19}, - {"IMAGE_SCN_MEM_READ", Const, 19}, - {"IMAGE_SCN_MEM_WRITE", Const, 19}, - {"IMAGE_SUBSYSTEM_EFI_APPLICATION", Const, 15}, - {"IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER", Const, 15}, - {"IMAGE_SUBSYSTEM_EFI_ROM", Const, 15}, - {"IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER", Const, 15}, - {"IMAGE_SUBSYSTEM_NATIVE", Const, 15}, - {"IMAGE_SUBSYSTEM_NATIVE_WINDOWS", Const, 15}, - {"IMAGE_SUBSYSTEM_OS2_CUI", Const, 15}, - {"IMAGE_SUBSYSTEM_POSIX_CUI", Const, 15}, - {"IMAGE_SUBSYSTEM_UNKNOWN", Const, 15}, - {"IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION", Const, 15}, - {"IMAGE_SUBSYSTEM_WINDOWS_CE_GUI", Const, 15}, - {"IMAGE_SUBSYSTEM_WINDOWS_CUI", Const, 15}, - {"IMAGE_SUBSYSTEM_WINDOWS_GUI", Const, 15}, - {"IMAGE_SUBSYSTEM_XBOX", Const, 15}, - {"ImportDirectory", Type, 0}, - {"ImportDirectory.FirstThunk", Field, 0}, - {"ImportDirectory.ForwarderChain", Field, 0}, - {"ImportDirectory.Name", Field, 0}, - {"ImportDirectory.OriginalFirstThunk", Field, 0}, - {"ImportDirectory.TimeDateStamp", Field, 0}, - {"NewFile", Func, 0}, - {"Open", Func, 0}, - {"OptionalHeader32", Type, 3}, - {"OptionalHeader32.AddressOfEntryPoint", Field, 3}, - {"OptionalHeader32.BaseOfCode", Field, 3}, - {"OptionalHeader32.BaseOfData", Field, 3}, - {"OptionalHeader32.CheckSum", Field, 3}, - {"OptionalHeader32.DataDirectory", Field, 3}, - {"OptionalHeader32.DllCharacteristics", Field, 3}, - {"OptionalHeader32.FileAlignment", Field, 3}, - {"OptionalHeader32.ImageBase", Field, 3}, - {"OptionalHeader32.LoaderFlags", Field, 3}, - {"OptionalHeader32.Magic", Field, 3}, - {"OptionalHeader32.MajorImageVersion", Field, 3}, - {"OptionalHeader32.MajorLinkerVersion", Field, 3}, - {"OptionalHeader32.MajorOperatingSystemVersion", Field, 3}, - {"OptionalHeader32.MajorSubsystemVersion", Field, 3}, - {"OptionalHeader32.MinorImageVersion", Field, 3}, - {"OptionalHeader32.MinorLinkerVersion", Field, 3}, - {"OptionalHeader32.MinorOperatingSystemVersion", Field, 3}, - {"OptionalHeader32.MinorSubsystemVersion", Field, 3}, - {"OptionalHeader32.NumberOfRvaAndSizes", Field, 3}, - {"OptionalHeader32.SectionAlignment", Field, 3}, - {"OptionalHeader32.SizeOfCode", Field, 3}, - {"OptionalHeader32.SizeOfHeaders", Field, 3}, - {"OptionalHeader32.SizeOfHeapCommit", Field, 3}, - {"OptionalHeader32.SizeOfHeapReserve", Field, 3}, - {"OptionalHeader32.SizeOfImage", Field, 3}, - {"OptionalHeader32.SizeOfInitializedData", Field, 3}, - {"OptionalHeader32.SizeOfStackCommit", Field, 3}, - {"OptionalHeader32.SizeOfStackReserve", Field, 3}, - {"OptionalHeader32.SizeOfUninitializedData", Field, 3}, - {"OptionalHeader32.Subsystem", Field, 3}, - {"OptionalHeader32.Win32VersionValue", Field, 3}, - {"OptionalHeader64", Type, 3}, - {"OptionalHeader64.AddressOfEntryPoint", Field, 3}, - {"OptionalHeader64.BaseOfCode", Field, 3}, - {"OptionalHeader64.CheckSum", Field, 3}, - {"OptionalHeader64.DataDirectory", Field, 3}, - {"OptionalHeader64.DllCharacteristics", Field, 3}, - {"OptionalHeader64.FileAlignment", Field, 3}, - {"OptionalHeader64.ImageBase", Field, 3}, - {"OptionalHeader64.LoaderFlags", Field, 3}, - {"OptionalHeader64.Magic", Field, 3}, - {"OptionalHeader64.MajorImageVersion", Field, 3}, - {"OptionalHeader64.MajorLinkerVersion", Field, 3}, - {"OptionalHeader64.MajorOperatingSystemVersion", Field, 3}, - {"OptionalHeader64.MajorSubsystemVersion", Field, 3}, - {"OptionalHeader64.MinorImageVersion", Field, 3}, - {"OptionalHeader64.MinorLinkerVersion", Field, 3}, - {"OptionalHeader64.MinorOperatingSystemVersion", Field, 3}, - {"OptionalHeader64.MinorSubsystemVersion", Field, 3}, - {"OptionalHeader64.NumberOfRvaAndSizes", Field, 3}, - {"OptionalHeader64.SectionAlignment", Field, 3}, - {"OptionalHeader64.SizeOfCode", Field, 3}, - {"OptionalHeader64.SizeOfHeaders", Field, 3}, - {"OptionalHeader64.SizeOfHeapCommit", Field, 3}, - {"OptionalHeader64.SizeOfHeapReserve", Field, 3}, - {"OptionalHeader64.SizeOfImage", Field, 3}, - {"OptionalHeader64.SizeOfInitializedData", Field, 3}, - {"OptionalHeader64.SizeOfStackCommit", Field, 3}, - {"OptionalHeader64.SizeOfStackReserve", Field, 3}, - {"OptionalHeader64.SizeOfUninitializedData", Field, 3}, - {"OptionalHeader64.Subsystem", Field, 3}, - {"OptionalHeader64.Win32VersionValue", Field, 3}, - {"Reloc", Type, 8}, - {"Reloc.SymbolTableIndex", Field, 8}, - {"Reloc.Type", Field, 8}, - {"Reloc.VirtualAddress", Field, 8}, - {"Section", Type, 0}, - {"Section.ReaderAt", Field, 0}, - {"Section.Relocs", Field, 8}, - {"Section.SectionHeader", Field, 0}, - {"SectionHeader", Type, 0}, - {"SectionHeader.Characteristics", Field, 0}, - {"SectionHeader.Name", Field, 0}, - {"SectionHeader.NumberOfLineNumbers", Field, 0}, - {"SectionHeader.NumberOfRelocations", Field, 0}, - {"SectionHeader.Offset", Field, 0}, - {"SectionHeader.PointerToLineNumbers", Field, 0}, - {"SectionHeader.PointerToRelocations", Field, 0}, - {"SectionHeader.Size", Field, 0}, - {"SectionHeader.VirtualAddress", Field, 0}, - {"SectionHeader.VirtualSize", Field, 0}, - {"SectionHeader32", Type, 0}, - {"SectionHeader32.Characteristics", Field, 0}, - {"SectionHeader32.Name", Field, 0}, - {"SectionHeader32.NumberOfLineNumbers", Field, 0}, - {"SectionHeader32.NumberOfRelocations", Field, 0}, - {"SectionHeader32.PointerToLineNumbers", Field, 0}, - {"SectionHeader32.PointerToRawData", Field, 0}, - {"SectionHeader32.PointerToRelocations", Field, 0}, - {"SectionHeader32.SizeOfRawData", Field, 0}, - {"SectionHeader32.VirtualAddress", Field, 0}, - {"SectionHeader32.VirtualSize", Field, 0}, - {"StringTable", Type, 8}, - {"Symbol", Type, 1}, - {"Symbol.Name", Field, 1}, - {"Symbol.SectionNumber", Field, 1}, - {"Symbol.StorageClass", Field, 1}, - {"Symbol.Type", Field, 1}, - {"Symbol.Value", Field, 1}, + {"(*COFFSymbol).FullName", Method, 8, ""}, + {"(*File).COFFSymbolReadSectionDefAux", Method, 19, ""}, + {"(*File).Close", Method, 0, ""}, + {"(*File).DWARF", Method, 0, ""}, + {"(*File).ImportedLibraries", Method, 0, ""}, + {"(*File).ImportedSymbols", Method, 0, ""}, + {"(*File).Section", Method, 0, ""}, + {"(*FormatError).Error", Method, 0, ""}, + {"(*Section).Data", Method, 0, ""}, + {"(*Section).Open", Method, 0, ""}, + {"(Section).ReadAt", Method, 0, ""}, + {"(StringTable).String", Method, 8, ""}, + {"COFFSymbol", Type, 1, ""}, + {"COFFSymbol.Name", Field, 1, ""}, + {"COFFSymbol.NumberOfAuxSymbols", Field, 1, ""}, + {"COFFSymbol.SectionNumber", Field, 1, ""}, + {"COFFSymbol.StorageClass", Field, 1, ""}, + {"COFFSymbol.Type", Field, 1, ""}, + {"COFFSymbol.Value", Field, 1, ""}, + {"COFFSymbolAuxFormat5", Type, 19, ""}, + {"COFFSymbolAuxFormat5.Checksum", Field, 19, ""}, + {"COFFSymbolAuxFormat5.NumLineNumbers", Field, 19, ""}, + {"COFFSymbolAuxFormat5.NumRelocs", Field, 19, ""}, + {"COFFSymbolAuxFormat5.SecNum", Field, 19, ""}, + {"COFFSymbolAuxFormat5.Selection", Field, 19, ""}, + {"COFFSymbolAuxFormat5.Size", Field, 19, ""}, + {"COFFSymbolSize", Const, 1, ""}, + {"DataDirectory", Type, 3, ""}, + {"DataDirectory.Size", Field, 3, ""}, + {"DataDirectory.VirtualAddress", Field, 3, ""}, + {"File", Type, 0, ""}, + {"File.COFFSymbols", Field, 8, ""}, + {"File.FileHeader", Field, 0, ""}, + {"File.OptionalHeader", Field, 3, ""}, + {"File.Sections", Field, 0, ""}, + {"File.StringTable", Field, 8, ""}, + {"File.Symbols", Field, 1, ""}, + {"FileHeader", Type, 0, ""}, + {"FileHeader.Characteristics", Field, 0, ""}, + {"FileHeader.Machine", Field, 0, ""}, + {"FileHeader.NumberOfSections", Field, 0, ""}, + {"FileHeader.NumberOfSymbols", Field, 0, ""}, + {"FileHeader.PointerToSymbolTable", Field, 0, ""}, + {"FileHeader.SizeOfOptionalHeader", Field, 0, ""}, + {"FileHeader.TimeDateStamp", Field, 0, ""}, + {"FormatError", Type, 0, ""}, + {"IMAGE_COMDAT_SELECT_ANY", Const, 19, ""}, + {"IMAGE_COMDAT_SELECT_ASSOCIATIVE", Const, 19, ""}, + {"IMAGE_COMDAT_SELECT_EXACT_MATCH", Const, 19, ""}, + {"IMAGE_COMDAT_SELECT_LARGEST", Const, 19, ""}, + {"IMAGE_COMDAT_SELECT_NODUPLICATES", Const, 19, ""}, + {"IMAGE_COMDAT_SELECT_SAME_SIZE", Const, 19, ""}, + {"IMAGE_DIRECTORY_ENTRY_ARCHITECTURE", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_BASERELOC", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_DEBUG", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_EXCEPTION", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_EXPORT", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_GLOBALPTR", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_IAT", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_IMPORT", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_RESOURCE", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_SECURITY", Const, 11, ""}, + {"IMAGE_DIRECTORY_ENTRY_TLS", Const, 11, ""}, + {"IMAGE_DLLCHARACTERISTICS_APPCONTAINER", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_GUARD_CF", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_NO_BIND", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_NO_ISOLATION", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_NO_SEH", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_NX_COMPAT", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE", Const, 15, ""}, + {"IMAGE_DLLCHARACTERISTICS_WDM_DRIVER", Const, 15, ""}, + {"IMAGE_FILE_32BIT_MACHINE", Const, 15, ""}, + {"IMAGE_FILE_AGGRESIVE_WS_TRIM", Const, 15, ""}, + {"IMAGE_FILE_BYTES_REVERSED_HI", Const, 15, ""}, + {"IMAGE_FILE_BYTES_REVERSED_LO", Const, 15, ""}, + {"IMAGE_FILE_DEBUG_STRIPPED", Const, 15, ""}, + {"IMAGE_FILE_DLL", Const, 15, ""}, + {"IMAGE_FILE_EXECUTABLE_IMAGE", Const, 15, ""}, + {"IMAGE_FILE_LARGE_ADDRESS_AWARE", Const, 15, ""}, + {"IMAGE_FILE_LINE_NUMS_STRIPPED", Const, 15, ""}, + {"IMAGE_FILE_LOCAL_SYMS_STRIPPED", Const, 15, ""}, + {"IMAGE_FILE_MACHINE_AM33", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_AMD64", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_ARM", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_ARM64", Const, 11, ""}, + {"IMAGE_FILE_MACHINE_ARMNT", Const, 12, ""}, + {"IMAGE_FILE_MACHINE_EBC", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_I386", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_IA64", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_LOONGARCH32", Const, 19, ""}, + {"IMAGE_FILE_MACHINE_LOONGARCH64", Const, 19, ""}, + {"IMAGE_FILE_MACHINE_M32R", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_MIPS16", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_MIPSFPU", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_MIPSFPU16", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_POWERPC", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_POWERPCFP", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_R4000", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_RISCV128", Const, 20, ""}, + {"IMAGE_FILE_MACHINE_RISCV32", Const, 20, ""}, + {"IMAGE_FILE_MACHINE_RISCV64", Const, 20, ""}, + {"IMAGE_FILE_MACHINE_SH3", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_SH3DSP", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_SH4", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_SH5", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_THUMB", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_UNKNOWN", Const, 0, ""}, + {"IMAGE_FILE_MACHINE_WCEMIPSV2", Const, 0, ""}, + {"IMAGE_FILE_NET_RUN_FROM_SWAP", Const, 15, ""}, + {"IMAGE_FILE_RELOCS_STRIPPED", Const, 15, ""}, + {"IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP", Const, 15, ""}, + {"IMAGE_FILE_SYSTEM", Const, 15, ""}, + {"IMAGE_FILE_UP_SYSTEM_ONLY", Const, 15, ""}, + {"IMAGE_SCN_CNT_CODE", Const, 19, ""}, + {"IMAGE_SCN_CNT_INITIALIZED_DATA", Const, 19, ""}, + {"IMAGE_SCN_CNT_UNINITIALIZED_DATA", Const, 19, ""}, + {"IMAGE_SCN_LNK_COMDAT", Const, 19, ""}, + {"IMAGE_SCN_MEM_DISCARDABLE", Const, 19, ""}, + {"IMAGE_SCN_MEM_EXECUTE", Const, 19, ""}, + {"IMAGE_SCN_MEM_READ", Const, 19, ""}, + {"IMAGE_SCN_MEM_WRITE", Const, 19, ""}, + {"IMAGE_SUBSYSTEM_EFI_APPLICATION", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_EFI_ROM", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_NATIVE", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_NATIVE_WINDOWS", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_OS2_CUI", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_POSIX_CUI", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_UNKNOWN", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_WINDOWS_CE_GUI", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_WINDOWS_CUI", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_WINDOWS_GUI", Const, 15, ""}, + {"IMAGE_SUBSYSTEM_XBOX", Const, 15, ""}, + {"ImportDirectory", Type, 0, ""}, + {"ImportDirectory.FirstThunk", Field, 0, ""}, + {"ImportDirectory.ForwarderChain", Field, 0, ""}, + {"ImportDirectory.Name", Field, 0, ""}, + {"ImportDirectory.OriginalFirstThunk", Field, 0, ""}, + {"ImportDirectory.TimeDateStamp", Field, 0, ""}, + {"NewFile", Func, 0, "func(r io.ReaderAt) (*File, error)"}, + {"Open", Func, 0, "func(name string) (*File, error)"}, + {"OptionalHeader32", Type, 3, ""}, + {"OptionalHeader32.AddressOfEntryPoint", Field, 3, ""}, + {"OptionalHeader32.BaseOfCode", Field, 3, ""}, + {"OptionalHeader32.BaseOfData", Field, 3, ""}, + {"OptionalHeader32.CheckSum", Field, 3, ""}, + {"OptionalHeader32.DataDirectory", Field, 3, ""}, + {"OptionalHeader32.DllCharacteristics", Field, 3, ""}, + {"OptionalHeader32.FileAlignment", Field, 3, ""}, + {"OptionalHeader32.ImageBase", Field, 3, ""}, + {"OptionalHeader32.LoaderFlags", Field, 3, ""}, + {"OptionalHeader32.Magic", Field, 3, ""}, + {"OptionalHeader32.MajorImageVersion", Field, 3, ""}, + {"OptionalHeader32.MajorLinkerVersion", Field, 3, ""}, + {"OptionalHeader32.MajorOperatingSystemVersion", Field, 3, ""}, + {"OptionalHeader32.MajorSubsystemVersion", Field, 3, ""}, + {"OptionalHeader32.MinorImageVersion", Field, 3, ""}, + {"OptionalHeader32.MinorLinkerVersion", Field, 3, ""}, + {"OptionalHeader32.MinorOperatingSystemVersion", Field, 3, ""}, + {"OptionalHeader32.MinorSubsystemVersion", Field, 3, ""}, + {"OptionalHeader32.NumberOfRvaAndSizes", Field, 3, ""}, + {"OptionalHeader32.SectionAlignment", Field, 3, ""}, + {"OptionalHeader32.SizeOfCode", Field, 3, ""}, + {"OptionalHeader32.SizeOfHeaders", Field, 3, ""}, + {"OptionalHeader32.SizeOfHeapCommit", Field, 3, ""}, + {"OptionalHeader32.SizeOfHeapReserve", Field, 3, ""}, + {"OptionalHeader32.SizeOfImage", Field, 3, ""}, + {"OptionalHeader32.SizeOfInitializedData", Field, 3, ""}, + {"OptionalHeader32.SizeOfStackCommit", Field, 3, ""}, + {"OptionalHeader32.SizeOfStackReserve", Field, 3, ""}, + {"OptionalHeader32.SizeOfUninitializedData", Field, 3, ""}, + {"OptionalHeader32.Subsystem", Field, 3, ""}, + {"OptionalHeader32.Win32VersionValue", Field, 3, ""}, + {"OptionalHeader64", Type, 3, ""}, + {"OptionalHeader64.AddressOfEntryPoint", Field, 3, ""}, + {"OptionalHeader64.BaseOfCode", Field, 3, ""}, + {"OptionalHeader64.CheckSum", Field, 3, ""}, + {"OptionalHeader64.DataDirectory", Field, 3, ""}, + {"OptionalHeader64.DllCharacteristics", Field, 3, ""}, + {"OptionalHeader64.FileAlignment", Field, 3, ""}, + {"OptionalHeader64.ImageBase", Field, 3, ""}, + {"OptionalHeader64.LoaderFlags", Field, 3, ""}, + {"OptionalHeader64.Magic", Field, 3, ""}, + {"OptionalHeader64.MajorImageVersion", Field, 3, ""}, + {"OptionalHeader64.MajorLinkerVersion", Field, 3, ""}, + {"OptionalHeader64.MajorOperatingSystemVersion", Field, 3, ""}, + {"OptionalHeader64.MajorSubsystemVersion", Field, 3, ""}, + {"OptionalHeader64.MinorImageVersion", Field, 3, ""}, + {"OptionalHeader64.MinorLinkerVersion", Field, 3, ""}, + {"OptionalHeader64.MinorOperatingSystemVersion", Field, 3, ""}, + {"OptionalHeader64.MinorSubsystemVersion", Field, 3, ""}, + {"OptionalHeader64.NumberOfRvaAndSizes", Field, 3, ""}, + {"OptionalHeader64.SectionAlignment", Field, 3, ""}, + {"OptionalHeader64.SizeOfCode", Field, 3, ""}, + {"OptionalHeader64.SizeOfHeaders", Field, 3, ""}, + {"OptionalHeader64.SizeOfHeapCommit", Field, 3, ""}, + {"OptionalHeader64.SizeOfHeapReserve", Field, 3, ""}, + {"OptionalHeader64.SizeOfImage", Field, 3, ""}, + {"OptionalHeader64.SizeOfInitializedData", Field, 3, ""}, + {"OptionalHeader64.SizeOfStackCommit", Field, 3, ""}, + {"OptionalHeader64.SizeOfStackReserve", Field, 3, ""}, + {"OptionalHeader64.SizeOfUninitializedData", Field, 3, ""}, + {"OptionalHeader64.Subsystem", Field, 3, ""}, + {"OptionalHeader64.Win32VersionValue", Field, 3, ""}, + {"Reloc", Type, 8, ""}, + {"Reloc.SymbolTableIndex", Field, 8, ""}, + {"Reloc.Type", Field, 8, ""}, + {"Reloc.VirtualAddress", Field, 8, ""}, + {"Section", Type, 0, ""}, + {"Section.ReaderAt", Field, 0, ""}, + {"Section.Relocs", Field, 8, ""}, + {"Section.SectionHeader", Field, 0, ""}, + {"SectionHeader", Type, 0, ""}, + {"SectionHeader.Characteristics", Field, 0, ""}, + {"SectionHeader.Name", Field, 0, ""}, + {"SectionHeader.NumberOfLineNumbers", Field, 0, ""}, + {"SectionHeader.NumberOfRelocations", Field, 0, ""}, + {"SectionHeader.Offset", Field, 0, ""}, + {"SectionHeader.PointerToLineNumbers", Field, 0, ""}, + {"SectionHeader.PointerToRelocations", Field, 0, ""}, + {"SectionHeader.Size", Field, 0, ""}, + {"SectionHeader.VirtualAddress", Field, 0, ""}, + {"SectionHeader.VirtualSize", Field, 0, ""}, + {"SectionHeader32", Type, 0, ""}, + {"SectionHeader32.Characteristics", Field, 0, ""}, + {"SectionHeader32.Name", Field, 0, ""}, + {"SectionHeader32.NumberOfLineNumbers", Field, 0, ""}, + {"SectionHeader32.NumberOfRelocations", Field, 0, ""}, + {"SectionHeader32.PointerToLineNumbers", Field, 0, ""}, + {"SectionHeader32.PointerToRawData", Field, 0, ""}, + {"SectionHeader32.PointerToRelocations", Field, 0, ""}, + {"SectionHeader32.SizeOfRawData", Field, 0, ""}, + {"SectionHeader32.VirtualAddress", Field, 0, ""}, + {"SectionHeader32.VirtualSize", Field, 0, ""}, + {"StringTable", Type, 8, ""}, + {"Symbol", Type, 1, ""}, + {"Symbol.Name", Field, 1, ""}, + {"Symbol.SectionNumber", Field, 1, ""}, + {"Symbol.StorageClass", Field, 1, ""}, + {"Symbol.Type", Field, 1, ""}, + {"Symbol.Value", Field, 1, ""}, }, "debug/plan9obj": { - {"(*File).Close", Method, 3}, - {"(*File).Section", Method, 3}, - {"(*File).Symbols", Method, 3}, - {"(*Section).Data", Method, 3}, - {"(*Section).Open", Method, 3}, - {"(Section).ReadAt", Method, 3}, - {"ErrNoSymbols", Var, 18}, - {"File", Type, 3}, - {"File.FileHeader", Field, 3}, - {"File.Sections", Field, 3}, - {"FileHeader", Type, 3}, - {"FileHeader.Bss", Field, 3}, - {"FileHeader.Entry", Field, 3}, - {"FileHeader.HdrSize", Field, 4}, - {"FileHeader.LoadAddress", Field, 4}, - {"FileHeader.Magic", Field, 3}, - {"FileHeader.PtrSize", Field, 3}, - {"Magic386", Const, 3}, - {"Magic64", Const, 3}, - {"MagicAMD64", Const, 3}, - {"MagicARM", Const, 3}, - {"NewFile", Func, 3}, - {"Open", Func, 3}, - {"Section", Type, 3}, - {"Section.ReaderAt", Field, 3}, - {"Section.SectionHeader", Field, 3}, - {"SectionHeader", Type, 3}, - {"SectionHeader.Name", Field, 3}, - {"SectionHeader.Offset", Field, 3}, - {"SectionHeader.Size", Field, 3}, - {"Sym", Type, 3}, - {"Sym.Name", Field, 3}, - {"Sym.Type", Field, 3}, - {"Sym.Value", Field, 3}, + {"(*File).Close", Method, 3, ""}, + {"(*File).Section", Method, 3, ""}, + {"(*File).Symbols", Method, 3, ""}, + {"(*Section).Data", Method, 3, ""}, + {"(*Section).Open", Method, 3, ""}, + {"(Section).ReadAt", Method, 3, ""}, + {"ErrNoSymbols", Var, 18, ""}, + {"File", Type, 3, ""}, + {"File.FileHeader", Field, 3, ""}, + {"File.Sections", Field, 3, ""}, + {"FileHeader", Type, 3, ""}, + {"FileHeader.Bss", Field, 3, ""}, + {"FileHeader.Entry", Field, 3, ""}, + {"FileHeader.HdrSize", Field, 4, ""}, + {"FileHeader.LoadAddress", Field, 4, ""}, + {"FileHeader.Magic", Field, 3, ""}, + {"FileHeader.PtrSize", Field, 3, ""}, + {"Magic386", Const, 3, ""}, + {"Magic64", Const, 3, ""}, + {"MagicAMD64", Const, 3, ""}, + {"MagicARM", Const, 3, ""}, + {"NewFile", Func, 3, "func(r io.ReaderAt) (*File, error)"}, + {"Open", Func, 3, "func(name string) (*File, error)"}, + {"Section", Type, 3, ""}, + {"Section.ReaderAt", Field, 3, ""}, + {"Section.SectionHeader", Field, 3, ""}, + {"SectionHeader", Type, 3, ""}, + {"SectionHeader.Name", Field, 3, ""}, + {"SectionHeader.Offset", Field, 3, ""}, + {"SectionHeader.Size", Field, 3, ""}, + {"Sym", Type, 3, ""}, + {"Sym.Name", Field, 3, ""}, + {"Sym.Type", Field, 3, ""}, + {"Sym.Value", Field, 3, ""}, }, "embed": { - {"(FS).Open", Method, 16}, - {"(FS).ReadDir", Method, 16}, - {"(FS).ReadFile", Method, 16}, - {"FS", Type, 16}, + {"(FS).Open", Method, 16, ""}, + {"(FS).ReadDir", Method, 16, ""}, + {"(FS).ReadFile", Method, 16, ""}, + {"FS", Type, 16, ""}, }, "encoding": { - {"BinaryAppender", Type, 24}, - {"BinaryMarshaler", Type, 2}, - {"BinaryUnmarshaler", Type, 2}, - {"TextAppender", Type, 24}, - {"TextMarshaler", Type, 2}, - {"TextUnmarshaler", Type, 2}, + {"BinaryAppender", Type, 24, ""}, + {"BinaryMarshaler", Type, 2, ""}, + {"BinaryUnmarshaler", Type, 2, ""}, + {"TextAppender", Type, 24, ""}, + {"TextMarshaler", Type, 2, ""}, + {"TextUnmarshaler", Type, 2, ""}, }, "encoding/ascii85": { - {"(CorruptInputError).Error", Method, 0}, - {"CorruptInputError", Type, 0}, - {"Decode", Func, 0}, - {"Encode", Func, 0}, - {"MaxEncodedLen", Func, 0}, - {"NewDecoder", Func, 0}, - {"NewEncoder", Func, 0}, + {"(CorruptInputError).Error", Method, 0, ""}, + {"CorruptInputError", Type, 0, ""}, + {"Decode", Func, 0, "func(dst []byte, src []byte, flush bool) (ndst int, nsrc int, err error)"}, + {"Encode", Func, 0, "func(dst []byte, src []byte) int"}, + {"MaxEncodedLen", Func, 0, "func(n int) int"}, + {"NewDecoder", Func, 0, "func(r io.Reader) io.Reader"}, + {"NewEncoder", Func, 0, "func(w io.Writer) io.WriteCloser"}, }, "encoding/asn1": { - {"(BitString).At", Method, 0}, - {"(BitString).RightAlign", Method, 0}, - {"(ObjectIdentifier).Equal", Method, 0}, - {"(ObjectIdentifier).String", Method, 3}, - {"(StructuralError).Error", Method, 0}, - {"(SyntaxError).Error", Method, 0}, - {"BitString", Type, 0}, - {"BitString.BitLength", Field, 0}, - {"BitString.Bytes", Field, 0}, - {"ClassApplication", Const, 6}, - {"ClassContextSpecific", Const, 6}, - {"ClassPrivate", Const, 6}, - {"ClassUniversal", Const, 6}, - {"Enumerated", Type, 0}, - {"Flag", Type, 0}, - {"Marshal", Func, 0}, - {"MarshalWithParams", Func, 10}, - {"NullBytes", Var, 9}, - {"NullRawValue", Var, 9}, - {"ObjectIdentifier", Type, 0}, - {"RawContent", Type, 0}, - {"RawValue", Type, 0}, - {"RawValue.Bytes", Field, 0}, - {"RawValue.Class", Field, 0}, - {"RawValue.FullBytes", Field, 0}, - {"RawValue.IsCompound", Field, 0}, - {"RawValue.Tag", Field, 0}, - {"StructuralError", Type, 0}, - {"StructuralError.Msg", Field, 0}, - {"SyntaxError", Type, 0}, - {"SyntaxError.Msg", Field, 0}, - {"TagBMPString", Const, 14}, - {"TagBitString", Const, 6}, - {"TagBoolean", Const, 6}, - {"TagEnum", Const, 6}, - {"TagGeneralString", Const, 6}, - {"TagGeneralizedTime", Const, 6}, - {"TagIA5String", Const, 6}, - {"TagInteger", Const, 6}, - {"TagNull", Const, 9}, - {"TagNumericString", Const, 10}, - {"TagOID", Const, 6}, - {"TagOctetString", Const, 6}, - {"TagPrintableString", Const, 6}, - {"TagSequence", Const, 6}, - {"TagSet", Const, 6}, - {"TagT61String", Const, 6}, - {"TagUTCTime", Const, 6}, - {"TagUTF8String", Const, 6}, - {"Unmarshal", Func, 0}, - {"UnmarshalWithParams", Func, 0}, + {"(BitString).At", Method, 0, ""}, + {"(BitString).RightAlign", Method, 0, ""}, + {"(ObjectIdentifier).Equal", Method, 0, ""}, + {"(ObjectIdentifier).String", Method, 3, ""}, + {"(StructuralError).Error", Method, 0, ""}, + {"(SyntaxError).Error", Method, 0, ""}, + {"BitString", Type, 0, ""}, + {"BitString.BitLength", Field, 0, ""}, + {"BitString.Bytes", Field, 0, ""}, + {"ClassApplication", Const, 6, ""}, + {"ClassContextSpecific", Const, 6, ""}, + {"ClassPrivate", Const, 6, ""}, + {"ClassUniversal", Const, 6, ""}, + {"Enumerated", Type, 0, ""}, + {"Flag", Type, 0, ""}, + {"Marshal", Func, 0, "func(val any) ([]byte, error)"}, + {"MarshalWithParams", Func, 10, "func(val any, params string) ([]byte, error)"}, + {"NullBytes", Var, 9, ""}, + {"NullRawValue", Var, 9, ""}, + {"ObjectIdentifier", Type, 0, ""}, + {"RawContent", Type, 0, ""}, + {"RawValue", Type, 0, ""}, + {"RawValue.Bytes", Field, 0, ""}, + {"RawValue.Class", Field, 0, ""}, + {"RawValue.FullBytes", Field, 0, ""}, + {"RawValue.IsCompound", Field, 0, ""}, + {"RawValue.Tag", Field, 0, ""}, + {"StructuralError", Type, 0, ""}, + {"StructuralError.Msg", Field, 0, ""}, + {"SyntaxError", Type, 0, ""}, + {"SyntaxError.Msg", Field, 0, ""}, + {"TagBMPString", Const, 14, ""}, + {"TagBitString", Const, 6, ""}, + {"TagBoolean", Const, 6, ""}, + {"TagEnum", Const, 6, ""}, + {"TagGeneralString", Const, 6, ""}, + {"TagGeneralizedTime", Const, 6, ""}, + {"TagIA5String", Const, 6, ""}, + {"TagInteger", Const, 6, ""}, + {"TagNull", Const, 9, ""}, + {"TagNumericString", Const, 10, ""}, + {"TagOID", Const, 6, ""}, + {"TagOctetString", Const, 6, ""}, + {"TagPrintableString", Const, 6, ""}, + {"TagSequence", Const, 6, ""}, + {"TagSet", Const, 6, ""}, + {"TagT61String", Const, 6, ""}, + {"TagUTCTime", Const, 6, ""}, + {"TagUTF8String", Const, 6, ""}, + {"Unmarshal", Func, 0, "func(b []byte, val any) (rest []byte, err error)"}, + {"UnmarshalWithParams", Func, 0, "func(b []byte, val any, params string) (rest []byte, err error)"}, }, "encoding/base32": { - {"(*Encoding).AppendDecode", Method, 22}, - {"(*Encoding).AppendEncode", Method, 22}, - {"(*Encoding).Decode", Method, 0}, - {"(*Encoding).DecodeString", Method, 0}, - {"(*Encoding).DecodedLen", Method, 0}, - {"(*Encoding).Encode", Method, 0}, - {"(*Encoding).EncodeToString", Method, 0}, - {"(*Encoding).EncodedLen", Method, 0}, - {"(CorruptInputError).Error", Method, 0}, - {"(Encoding).WithPadding", Method, 9}, - {"CorruptInputError", Type, 0}, - {"Encoding", Type, 0}, - {"HexEncoding", Var, 0}, - {"NewDecoder", Func, 0}, - {"NewEncoder", Func, 0}, - {"NewEncoding", Func, 0}, - {"NoPadding", Const, 9}, - {"StdEncoding", Var, 0}, - {"StdPadding", Const, 9}, + {"(*Encoding).AppendDecode", Method, 22, ""}, + {"(*Encoding).AppendEncode", Method, 22, ""}, + {"(*Encoding).Decode", Method, 0, ""}, + {"(*Encoding).DecodeString", Method, 0, ""}, + {"(*Encoding).DecodedLen", Method, 0, ""}, + {"(*Encoding).Encode", Method, 0, ""}, + {"(*Encoding).EncodeToString", Method, 0, ""}, + {"(*Encoding).EncodedLen", Method, 0, ""}, + {"(CorruptInputError).Error", Method, 0, ""}, + {"(Encoding).WithPadding", Method, 9, ""}, + {"CorruptInputError", Type, 0, ""}, + {"Encoding", Type, 0, ""}, + {"HexEncoding", Var, 0, ""}, + {"NewDecoder", Func, 0, "func(enc *Encoding, r io.Reader) io.Reader"}, + {"NewEncoder", Func, 0, "func(enc *Encoding, w io.Writer) io.WriteCloser"}, + {"NewEncoding", Func, 0, "func(encoder string) *Encoding"}, + {"NoPadding", Const, 9, ""}, + {"StdEncoding", Var, 0, ""}, + {"StdPadding", Const, 9, ""}, }, "encoding/base64": { - {"(*Encoding).AppendDecode", Method, 22}, - {"(*Encoding).AppendEncode", Method, 22}, - {"(*Encoding).Decode", Method, 0}, - {"(*Encoding).DecodeString", Method, 0}, - {"(*Encoding).DecodedLen", Method, 0}, - {"(*Encoding).Encode", Method, 0}, - {"(*Encoding).EncodeToString", Method, 0}, - {"(*Encoding).EncodedLen", Method, 0}, - {"(CorruptInputError).Error", Method, 0}, - {"(Encoding).Strict", Method, 8}, - {"(Encoding).WithPadding", Method, 5}, - {"CorruptInputError", Type, 0}, - {"Encoding", Type, 0}, - {"NewDecoder", Func, 0}, - {"NewEncoder", Func, 0}, - {"NewEncoding", Func, 0}, - {"NoPadding", Const, 5}, - {"RawStdEncoding", Var, 5}, - {"RawURLEncoding", Var, 5}, - {"StdEncoding", Var, 0}, - {"StdPadding", Const, 5}, - {"URLEncoding", Var, 0}, + {"(*Encoding).AppendDecode", Method, 22, ""}, + {"(*Encoding).AppendEncode", Method, 22, ""}, + {"(*Encoding).Decode", Method, 0, ""}, + {"(*Encoding).DecodeString", Method, 0, ""}, + {"(*Encoding).DecodedLen", Method, 0, ""}, + {"(*Encoding).Encode", Method, 0, ""}, + {"(*Encoding).EncodeToString", Method, 0, ""}, + {"(*Encoding).EncodedLen", Method, 0, ""}, + {"(CorruptInputError).Error", Method, 0, ""}, + {"(Encoding).Strict", Method, 8, ""}, + {"(Encoding).WithPadding", Method, 5, ""}, + {"CorruptInputError", Type, 0, ""}, + {"Encoding", Type, 0, ""}, + {"NewDecoder", Func, 0, "func(enc *Encoding, r io.Reader) io.Reader"}, + {"NewEncoder", Func, 0, "func(enc *Encoding, w io.Writer) io.WriteCloser"}, + {"NewEncoding", Func, 0, "func(encoder string) *Encoding"}, + {"NoPadding", Const, 5, ""}, + {"RawStdEncoding", Var, 5, ""}, + {"RawURLEncoding", Var, 5, ""}, + {"StdEncoding", Var, 0, ""}, + {"StdPadding", Const, 5, ""}, + {"URLEncoding", Var, 0, ""}, }, "encoding/binary": { - {"Append", Func, 23}, - {"AppendByteOrder", Type, 19}, - {"AppendUvarint", Func, 19}, - {"AppendVarint", Func, 19}, - {"BigEndian", Var, 0}, - {"ByteOrder", Type, 0}, - {"Decode", Func, 23}, - {"Encode", Func, 23}, - {"LittleEndian", Var, 0}, - {"MaxVarintLen16", Const, 0}, - {"MaxVarintLen32", Const, 0}, - {"MaxVarintLen64", Const, 0}, - {"NativeEndian", Var, 21}, - {"PutUvarint", Func, 0}, - {"PutVarint", Func, 0}, - {"Read", Func, 0}, - {"ReadUvarint", Func, 0}, - {"ReadVarint", Func, 0}, - {"Size", Func, 0}, - {"Uvarint", Func, 0}, - {"Varint", Func, 0}, - {"Write", Func, 0}, + {"Append", Func, 23, "func(buf []byte, order ByteOrder, data any) ([]byte, error)"}, + {"AppendByteOrder", Type, 19, ""}, + {"AppendUvarint", Func, 19, "func(buf []byte, x uint64) []byte"}, + {"AppendVarint", Func, 19, "func(buf []byte, x int64) []byte"}, + {"BigEndian", Var, 0, ""}, + {"ByteOrder", Type, 0, ""}, + {"Decode", Func, 23, "func(buf []byte, order ByteOrder, data any) (int, error)"}, + {"Encode", Func, 23, "func(buf []byte, order ByteOrder, data any) (int, error)"}, + {"LittleEndian", Var, 0, ""}, + {"MaxVarintLen16", Const, 0, ""}, + {"MaxVarintLen32", Const, 0, ""}, + {"MaxVarintLen64", Const, 0, ""}, + {"NativeEndian", Var, 21, ""}, + {"PutUvarint", Func, 0, "func(buf []byte, x uint64) int"}, + {"PutVarint", Func, 0, "func(buf []byte, x int64) int"}, + {"Read", Func, 0, "func(r io.Reader, order ByteOrder, data any) error"}, + {"ReadUvarint", Func, 0, "func(r io.ByteReader) (uint64, error)"}, + {"ReadVarint", Func, 0, "func(r io.ByteReader) (int64, error)"}, + {"Size", Func, 0, "func(v any) int"}, + {"Uvarint", Func, 0, "func(buf []byte) (uint64, int)"}, + {"Varint", Func, 0, "func(buf []byte) (int64, int)"}, + {"Write", Func, 0, "func(w io.Writer, order ByteOrder, data any) error"}, }, "encoding/csv": { - {"(*ParseError).Error", Method, 0}, - {"(*ParseError).Unwrap", Method, 13}, - {"(*Reader).FieldPos", Method, 17}, - {"(*Reader).InputOffset", Method, 19}, - {"(*Reader).Read", Method, 0}, - {"(*Reader).ReadAll", Method, 0}, - {"(*Writer).Error", Method, 1}, - {"(*Writer).Flush", Method, 0}, - {"(*Writer).Write", Method, 0}, - {"(*Writer).WriteAll", Method, 0}, - {"ErrBareQuote", Var, 0}, - {"ErrFieldCount", Var, 0}, - {"ErrQuote", Var, 0}, - {"ErrTrailingComma", Var, 0}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"ParseError", Type, 0}, - {"ParseError.Column", Field, 0}, - {"ParseError.Err", Field, 0}, - {"ParseError.Line", Field, 0}, - {"ParseError.StartLine", Field, 10}, - {"Reader", Type, 0}, - {"Reader.Comma", Field, 0}, - {"Reader.Comment", Field, 0}, - {"Reader.FieldsPerRecord", Field, 0}, - {"Reader.LazyQuotes", Field, 0}, - {"Reader.ReuseRecord", Field, 9}, - {"Reader.TrailingComma", Field, 0}, - {"Reader.TrimLeadingSpace", Field, 0}, - {"Writer", Type, 0}, - {"Writer.Comma", Field, 0}, - {"Writer.UseCRLF", Field, 0}, + {"(*ParseError).Error", Method, 0, ""}, + {"(*ParseError).Unwrap", Method, 13, ""}, + {"(*Reader).FieldPos", Method, 17, ""}, + {"(*Reader).InputOffset", Method, 19, ""}, + {"(*Reader).Read", Method, 0, ""}, + {"(*Reader).ReadAll", Method, 0, ""}, + {"(*Writer).Error", Method, 1, ""}, + {"(*Writer).Flush", Method, 0, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"(*Writer).WriteAll", Method, 0, ""}, + {"ErrBareQuote", Var, 0, ""}, + {"ErrFieldCount", Var, 0, ""}, + {"ErrQuote", Var, 0, ""}, + {"ErrTrailingComma", Var, 0, ""}, + {"NewReader", Func, 0, "func(r io.Reader) *Reader"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"ParseError", Type, 0, ""}, + {"ParseError.Column", Field, 0, ""}, + {"ParseError.Err", Field, 0, ""}, + {"ParseError.Line", Field, 0, ""}, + {"ParseError.StartLine", Field, 10, ""}, + {"Reader", Type, 0, ""}, + {"Reader.Comma", Field, 0, ""}, + {"Reader.Comment", Field, 0, ""}, + {"Reader.FieldsPerRecord", Field, 0, ""}, + {"Reader.LazyQuotes", Field, 0, ""}, + {"Reader.ReuseRecord", Field, 9, ""}, + {"Reader.TrailingComma", Field, 0, ""}, + {"Reader.TrimLeadingSpace", Field, 0, ""}, + {"Writer", Type, 0, ""}, + {"Writer.Comma", Field, 0, ""}, + {"Writer.UseCRLF", Field, 0, ""}, }, "encoding/gob": { - {"(*Decoder).Decode", Method, 0}, - {"(*Decoder).DecodeValue", Method, 0}, - {"(*Encoder).Encode", Method, 0}, - {"(*Encoder).EncodeValue", Method, 0}, - {"CommonType", Type, 0}, - {"CommonType.Id", Field, 0}, - {"CommonType.Name", Field, 0}, - {"Decoder", Type, 0}, - {"Encoder", Type, 0}, - {"GobDecoder", Type, 0}, - {"GobEncoder", Type, 0}, - {"NewDecoder", Func, 0}, - {"NewEncoder", Func, 0}, - {"Register", Func, 0}, - {"RegisterName", Func, 0}, + {"(*Decoder).Decode", Method, 0, ""}, + {"(*Decoder).DecodeValue", Method, 0, ""}, + {"(*Encoder).Encode", Method, 0, ""}, + {"(*Encoder).EncodeValue", Method, 0, ""}, + {"CommonType", Type, 0, ""}, + {"CommonType.Id", Field, 0, ""}, + {"CommonType.Name", Field, 0, ""}, + {"Decoder", Type, 0, ""}, + {"Encoder", Type, 0, ""}, + {"GobDecoder", Type, 0, ""}, + {"GobEncoder", Type, 0, ""}, + {"NewDecoder", Func, 0, "func(r io.Reader) *Decoder"}, + {"NewEncoder", Func, 0, "func(w io.Writer) *Encoder"}, + {"Register", Func, 0, "func(value any)"}, + {"RegisterName", Func, 0, "func(name string, value any)"}, }, "encoding/hex": { - {"(InvalidByteError).Error", Method, 0}, - {"AppendDecode", Func, 22}, - {"AppendEncode", Func, 22}, - {"Decode", Func, 0}, - {"DecodeString", Func, 0}, - {"DecodedLen", Func, 0}, - {"Dump", Func, 0}, - {"Dumper", Func, 0}, - {"Encode", Func, 0}, - {"EncodeToString", Func, 0}, - {"EncodedLen", Func, 0}, - {"ErrLength", Var, 0}, - {"InvalidByteError", Type, 0}, - {"NewDecoder", Func, 10}, - {"NewEncoder", Func, 10}, + {"(InvalidByteError).Error", Method, 0, ""}, + {"AppendDecode", Func, 22, "func(dst []byte, src []byte) ([]byte, error)"}, + {"AppendEncode", Func, 22, "func(dst []byte, src []byte) []byte"}, + {"Decode", Func, 0, "func(dst []byte, src []byte) (int, error)"}, + {"DecodeString", Func, 0, "func(s string) ([]byte, error)"}, + {"DecodedLen", Func, 0, "func(x int) int"}, + {"Dump", Func, 0, "func(data []byte) string"}, + {"Dumper", Func, 0, "func(w io.Writer) io.WriteCloser"}, + {"Encode", Func, 0, "func(dst []byte, src []byte) int"}, + {"EncodeToString", Func, 0, "func(src []byte) string"}, + {"EncodedLen", Func, 0, "func(n int) int"}, + {"ErrLength", Var, 0, ""}, + {"InvalidByteError", Type, 0, ""}, + {"NewDecoder", Func, 10, "func(r io.Reader) io.Reader"}, + {"NewEncoder", Func, 10, "func(w io.Writer) io.Writer"}, }, "encoding/json": { - {"(*Decoder).Buffered", Method, 1}, - {"(*Decoder).Decode", Method, 0}, - {"(*Decoder).DisallowUnknownFields", Method, 10}, - {"(*Decoder).InputOffset", Method, 14}, - {"(*Decoder).More", Method, 5}, - {"(*Decoder).Token", Method, 5}, - {"(*Decoder).UseNumber", Method, 1}, - {"(*Encoder).Encode", Method, 0}, - {"(*Encoder).SetEscapeHTML", Method, 7}, - {"(*Encoder).SetIndent", Method, 7}, - {"(*InvalidUTF8Error).Error", Method, 0}, - {"(*InvalidUnmarshalError).Error", Method, 0}, - {"(*MarshalerError).Error", Method, 0}, - {"(*MarshalerError).Unwrap", Method, 13}, - {"(*RawMessage).MarshalJSON", Method, 0}, - {"(*RawMessage).UnmarshalJSON", Method, 0}, - {"(*SyntaxError).Error", Method, 0}, - {"(*UnmarshalFieldError).Error", Method, 0}, - {"(*UnmarshalTypeError).Error", Method, 0}, - {"(*UnsupportedTypeError).Error", Method, 0}, - {"(*UnsupportedValueError).Error", Method, 0}, - {"(Delim).String", Method, 5}, - {"(Number).Float64", Method, 1}, - {"(Number).Int64", Method, 1}, - {"(Number).String", Method, 1}, - {"(RawMessage).MarshalJSON", Method, 8}, - {"Compact", Func, 0}, - {"Decoder", Type, 0}, - {"Delim", Type, 5}, - {"Encoder", Type, 0}, - {"HTMLEscape", Func, 0}, - {"Indent", Func, 0}, - {"InvalidUTF8Error", Type, 0}, - {"InvalidUTF8Error.S", Field, 0}, - {"InvalidUnmarshalError", Type, 0}, - {"InvalidUnmarshalError.Type", Field, 0}, - {"Marshal", Func, 0}, - {"MarshalIndent", Func, 0}, - {"Marshaler", Type, 0}, - {"MarshalerError", Type, 0}, - {"MarshalerError.Err", Field, 0}, - {"MarshalerError.Type", Field, 0}, - {"NewDecoder", Func, 0}, - {"NewEncoder", Func, 0}, - {"Number", Type, 1}, - {"RawMessage", Type, 0}, - {"SyntaxError", Type, 0}, - {"SyntaxError.Offset", Field, 0}, - {"Token", Type, 5}, - {"Unmarshal", Func, 0}, - {"UnmarshalFieldError", Type, 0}, - {"UnmarshalFieldError.Field", Field, 0}, - {"UnmarshalFieldError.Key", Field, 0}, - {"UnmarshalFieldError.Type", Field, 0}, - {"UnmarshalTypeError", Type, 0}, - {"UnmarshalTypeError.Field", Field, 8}, - {"UnmarshalTypeError.Offset", Field, 5}, - {"UnmarshalTypeError.Struct", Field, 8}, - {"UnmarshalTypeError.Type", Field, 0}, - {"UnmarshalTypeError.Value", Field, 0}, - {"Unmarshaler", Type, 0}, - {"UnsupportedTypeError", Type, 0}, - {"UnsupportedTypeError.Type", Field, 0}, - {"UnsupportedValueError", Type, 0}, - {"UnsupportedValueError.Str", Field, 0}, - {"UnsupportedValueError.Value", Field, 0}, - {"Valid", Func, 9}, + {"(*Decoder).Buffered", Method, 1, ""}, + {"(*Decoder).Decode", Method, 0, ""}, + {"(*Decoder).DisallowUnknownFields", Method, 10, ""}, + {"(*Decoder).InputOffset", Method, 14, ""}, + {"(*Decoder).More", Method, 5, ""}, + {"(*Decoder).Token", Method, 5, ""}, + {"(*Decoder).UseNumber", Method, 1, ""}, + {"(*Encoder).Encode", Method, 0, ""}, + {"(*Encoder).SetEscapeHTML", Method, 7, ""}, + {"(*Encoder).SetIndent", Method, 7, ""}, + {"(*InvalidUTF8Error).Error", Method, 0, ""}, + {"(*InvalidUnmarshalError).Error", Method, 0, ""}, + {"(*MarshalerError).Error", Method, 0, ""}, + {"(*MarshalerError).Unwrap", Method, 13, ""}, + {"(*RawMessage).MarshalJSON", Method, 0, ""}, + {"(*RawMessage).UnmarshalJSON", Method, 0, ""}, + {"(*SyntaxError).Error", Method, 0, ""}, + {"(*UnmarshalFieldError).Error", Method, 0, ""}, + {"(*UnmarshalTypeError).Error", Method, 0, ""}, + {"(*UnsupportedTypeError).Error", Method, 0, ""}, + {"(*UnsupportedValueError).Error", Method, 0, ""}, + {"(Delim).String", Method, 5, ""}, + {"(Number).Float64", Method, 1, ""}, + {"(Number).Int64", Method, 1, ""}, + {"(Number).String", Method, 1, ""}, + {"(RawMessage).MarshalJSON", Method, 8, ""}, + {"Compact", Func, 0, "func(dst *bytes.Buffer, src []byte) error"}, + {"Decoder", Type, 0, ""}, + {"Delim", Type, 5, ""}, + {"Encoder", Type, 0, ""}, + {"HTMLEscape", Func, 0, "func(dst *bytes.Buffer, src []byte)"}, + {"Indent", Func, 0, "func(dst *bytes.Buffer, src []byte, prefix string, indent string) error"}, + {"InvalidUTF8Error", Type, 0, ""}, + {"InvalidUTF8Error.S", Field, 0, ""}, + {"InvalidUnmarshalError", Type, 0, ""}, + {"InvalidUnmarshalError.Type", Field, 0, ""}, + {"Marshal", Func, 0, "func(v any) ([]byte, error)"}, + {"MarshalIndent", Func, 0, "func(v any, prefix string, indent string) ([]byte, error)"}, + {"Marshaler", Type, 0, ""}, + {"MarshalerError", Type, 0, ""}, + {"MarshalerError.Err", Field, 0, ""}, + {"MarshalerError.Type", Field, 0, ""}, + {"NewDecoder", Func, 0, "func(r io.Reader) *Decoder"}, + {"NewEncoder", Func, 0, "func(w io.Writer) *Encoder"}, + {"Number", Type, 1, ""}, + {"RawMessage", Type, 0, ""}, + {"SyntaxError", Type, 0, ""}, + {"SyntaxError.Offset", Field, 0, ""}, + {"Token", Type, 5, ""}, + {"Unmarshal", Func, 0, "func(data []byte, v any) error"}, + {"UnmarshalFieldError", Type, 0, ""}, + {"UnmarshalFieldError.Field", Field, 0, ""}, + {"UnmarshalFieldError.Key", Field, 0, ""}, + {"UnmarshalFieldError.Type", Field, 0, ""}, + {"UnmarshalTypeError", Type, 0, ""}, + {"UnmarshalTypeError.Field", Field, 8, ""}, + {"UnmarshalTypeError.Offset", Field, 5, ""}, + {"UnmarshalTypeError.Struct", Field, 8, ""}, + {"UnmarshalTypeError.Type", Field, 0, ""}, + {"UnmarshalTypeError.Value", Field, 0, ""}, + {"Unmarshaler", Type, 0, ""}, + {"UnsupportedTypeError", Type, 0, ""}, + {"UnsupportedTypeError.Type", Field, 0, ""}, + {"UnsupportedValueError", Type, 0, ""}, + {"UnsupportedValueError.Str", Field, 0, ""}, + {"UnsupportedValueError.Value", Field, 0, ""}, + {"Valid", Func, 9, "func(data []byte) bool"}, }, "encoding/pem": { - {"Block", Type, 0}, - {"Block.Bytes", Field, 0}, - {"Block.Headers", Field, 0}, - {"Block.Type", Field, 0}, - {"Decode", Func, 0}, - {"Encode", Func, 0}, - {"EncodeToMemory", Func, 0}, + {"Block", Type, 0, ""}, + {"Block.Bytes", Field, 0, ""}, + {"Block.Headers", Field, 0, ""}, + {"Block.Type", Field, 0, ""}, + {"Decode", Func, 0, "func(data []byte) (p *Block, rest []byte)"}, + {"Encode", Func, 0, "func(out io.Writer, b *Block) error"}, + {"EncodeToMemory", Func, 0, "func(b *Block) []byte"}, }, "encoding/xml": { - {"(*Decoder).Decode", Method, 0}, - {"(*Decoder).DecodeElement", Method, 0}, - {"(*Decoder).InputOffset", Method, 4}, - {"(*Decoder).InputPos", Method, 19}, - {"(*Decoder).RawToken", Method, 0}, - {"(*Decoder).Skip", Method, 0}, - {"(*Decoder).Token", Method, 0}, - {"(*Encoder).Close", Method, 20}, - {"(*Encoder).Encode", Method, 0}, - {"(*Encoder).EncodeElement", Method, 2}, - {"(*Encoder).EncodeToken", Method, 2}, - {"(*Encoder).Flush", Method, 2}, - {"(*Encoder).Indent", Method, 1}, - {"(*SyntaxError).Error", Method, 0}, - {"(*TagPathError).Error", Method, 0}, - {"(*UnsupportedTypeError).Error", Method, 0}, - {"(CharData).Copy", Method, 0}, - {"(Comment).Copy", Method, 0}, - {"(Directive).Copy", Method, 0}, - {"(ProcInst).Copy", Method, 0}, - {"(StartElement).Copy", Method, 0}, - {"(StartElement).End", Method, 2}, - {"(UnmarshalError).Error", Method, 0}, - {"Attr", Type, 0}, - {"Attr.Name", Field, 0}, - {"Attr.Value", Field, 0}, - {"CharData", Type, 0}, - {"Comment", Type, 0}, - {"CopyToken", Func, 0}, - {"Decoder", Type, 0}, - {"Decoder.AutoClose", Field, 0}, - {"Decoder.CharsetReader", Field, 0}, - {"Decoder.DefaultSpace", Field, 1}, - {"Decoder.Entity", Field, 0}, - {"Decoder.Strict", Field, 0}, - {"Directive", Type, 0}, - {"Encoder", Type, 0}, - {"EndElement", Type, 0}, - {"EndElement.Name", Field, 0}, - {"Escape", Func, 0}, - {"EscapeText", Func, 1}, - {"HTMLAutoClose", Var, 0}, - {"HTMLEntity", Var, 0}, - {"Header", Const, 0}, - {"Marshal", Func, 0}, - {"MarshalIndent", Func, 0}, - {"Marshaler", Type, 2}, - {"MarshalerAttr", Type, 2}, - {"Name", Type, 0}, - {"Name.Local", Field, 0}, - {"Name.Space", Field, 0}, - {"NewDecoder", Func, 0}, - {"NewEncoder", Func, 0}, - {"NewTokenDecoder", Func, 10}, - {"ProcInst", Type, 0}, - {"ProcInst.Inst", Field, 0}, - {"ProcInst.Target", Field, 0}, - {"StartElement", Type, 0}, - {"StartElement.Attr", Field, 0}, - {"StartElement.Name", Field, 0}, - {"SyntaxError", Type, 0}, - {"SyntaxError.Line", Field, 0}, - {"SyntaxError.Msg", Field, 0}, - {"TagPathError", Type, 0}, - {"TagPathError.Field1", Field, 0}, - {"TagPathError.Field2", Field, 0}, - {"TagPathError.Struct", Field, 0}, - {"TagPathError.Tag1", Field, 0}, - {"TagPathError.Tag2", Field, 0}, - {"Token", Type, 0}, - {"TokenReader", Type, 10}, - {"Unmarshal", Func, 0}, - {"UnmarshalError", Type, 0}, - {"Unmarshaler", Type, 2}, - {"UnmarshalerAttr", Type, 2}, - {"UnsupportedTypeError", Type, 0}, - {"UnsupportedTypeError.Type", Field, 0}, + {"(*Decoder).Decode", Method, 0, ""}, + {"(*Decoder).DecodeElement", Method, 0, ""}, + {"(*Decoder).InputOffset", Method, 4, ""}, + {"(*Decoder).InputPos", Method, 19, ""}, + {"(*Decoder).RawToken", Method, 0, ""}, + {"(*Decoder).Skip", Method, 0, ""}, + {"(*Decoder).Token", Method, 0, ""}, + {"(*Encoder).Close", Method, 20, ""}, + {"(*Encoder).Encode", Method, 0, ""}, + {"(*Encoder).EncodeElement", Method, 2, ""}, + {"(*Encoder).EncodeToken", Method, 2, ""}, + {"(*Encoder).Flush", Method, 2, ""}, + {"(*Encoder).Indent", Method, 1, ""}, + {"(*SyntaxError).Error", Method, 0, ""}, + {"(*TagPathError).Error", Method, 0, ""}, + {"(*UnsupportedTypeError).Error", Method, 0, ""}, + {"(CharData).Copy", Method, 0, ""}, + {"(Comment).Copy", Method, 0, ""}, + {"(Directive).Copy", Method, 0, ""}, + {"(ProcInst).Copy", Method, 0, ""}, + {"(StartElement).Copy", Method, 0, ""}, + {"(StartElement).End", Method, 2, ""}, + {"(UnmarshalError).Error", Method, 0, ""}, + {"Attr", Type, 0, ""}, + {"Attr.Name", Field, 0, ""}, + {"Attr.Value", Field, 0, ""}, + {"CharData", Type, 0, ""}, + {"Comment", Type, 0, ""}, + {"CopyToken", Func, 0, "func(t Token) Token"}, + {"Decoder", Type, 0, ""}, + {"Decoder.AutoClose", Field, 0, ""}, + {"Decoder.CharsetReader", Field, 0, ""}, + {"Decoder.DefaultSpace", Field, 1, ""}, + {"Decoder.Entity", Field, 0, ""}, + {"Decoder.Strict", Field, 0, ""}, + {"Directive", Type, 0, ""}, + {"Encoder", Type, 0, ""}, + {"EndElement", Type, 0, ""}, + {"EndElement.Name", Field, 0, ""}, + {"Escape", Func, 0, "func(w io.Writer, s []byte)"}, + {"EscapeText", Func, 1, "func(w io.Writer, s []byte) error"}, + {"HTMLAutoClose", Var, 0, ""}, + {"HTMLEntity", Var, 0, ""}, + {"Header", Const, 0, ""}, + {"Marshal", Func, 0, "func(v any) ([]byte, error)"}, + {"MarshalIndent", Func, 0, "func(v any, prefix string, indent string) ([]byte, error)"}, + {"Marshaler", Type, 2, ""}, + {"MarshalerAttr", Type, 2, ""}, + {"Name", Type, 0, ""}, + {"Name.Local", Field, 0, ""}, + {"Name.Space", Field, 0, ""}, + {"NewDecoder", Func, 0, "func(r io.Reader) *Decoder"}, + {"NewEncoder", Func, 0, "func(w io.Writer) *Encoder"}, + {"NewTokenDecoder", Func, 10, "func(t TokenReader) *Decoder"}, + {"ProcInst", Type, 0, ""}, + {"ProcInst.Inst", Field, 0, ""}, + {"ProcInst.Target", Field, 0, ""}, + {"StartElement", Type, 0, ""}, + {"StartElement.Attr", Field, 0, ""}, + {"StartElement.Name", Field, 0, ""}, + {"SyntaxError", Type, 0, ""}, + {"SyntaxError.Line", Field, 0, ""}, + {"SyntaxError.Msg", Field, 0, ""}, + {"TagPathError", Type, 0, ""}, + {"TagPathError.Field1", Field, 0, ""}, + {"TagPathError.Field2", Field, 0, ""}, + {"TagPathError.Struct", Field, 0, ""}, + {"TagPathError.Tag1", Field, 0, ""}, + {"TagPathError.Tag2", Field, 0, ""}, + {"Token", Type, 0, ""}, + {"TokenReader", Type, 10, ""}, + {"Unmarshal", Func, 0, "func(data []byte, v any) error"}, + {"UnmarshalError", Type, 0, ""}, + {"Unmarshaler", Type, 2, ""}, + {"UnmarshalerAttr", Type, 2, ""}, + {"UnsupportedTypeError", Type, 0, ""}, + {"UnsupportedTypeError.Type", Field, 0, ""}, }, "errors": { - {"As", Func, 13}, - {"ErrUnsupported", Var, 21}, - {"Is", Func, 13}, - {"Join", Func, 20}, - {"New", Func, 0}, - {"Unwrap", Func, 13}, + {"As", Func, 13, "func(err error, target any) bool"}, + {"ErrUnsupported", Var, 21, ""}, + {"Is", Func, 13, "func(err error, target error) bool"}, + {"Join", Func, 20, "func(errs ...error) error"}, + {"New", Func, 0, "func(text string) error"}, + {"Unwrap", Func, 13, "func(err error) error"}, }, "expvar": { - {"(*Float).Add", Method, 0}, - {"(*Float).Set", Method, 0}, - {"(*Float).String", Method, 0}, - {"(*Float).Value", Method, 8}, - {"(*Int).Add", Method, 0}, - {"(*Int).Set", Method, 0}, - {"(*Int).String", Method, 0}, - {"(*Int).Value", Method, 8}, - {"(*Map).Add", Method, 0}, - {"(*Map).AddFloat", Method, 0}, - {"(*Map).Delete", Method, 12}, - {"(*Map).Do", Method, 0}, - {"(*Map).Get", Method, 0}, - {"(*Map).Init", Method, 0}, - {"(*Map).Set", Method, 0}, - {"(*Map).String", Method, 0}, - {"(*String).Set", Method, 0}, - {"(*String).String", Method, 0}, - {"(*String).Value", Method, 8}, - {"(Func).String", Method, 0}, - {"(Func).Value", Method, 8}, - {"Do", Func, 0}, - {"Float", Type, 0}, - {"Func", Type, 0}, - {"Get", Func, 0}, - {"Handler", Func, 8}, - {"Int", Type, 0}, - {"KeyValue", Type, 0}, - {"KeyValue.Key", Field, 0}, - {"KeyValue.Value", Field, 0}, - {"Map", Type, 0}, - {"NewFloat", Func, 0}, - {"NewInt", Func, 0}, - {"NewMap", Func, 0}, - {"NewString", Func, 0}, - {"Publish", Func, 0}, - {"String", Type, 0}, - {"Var", Type, 0}, + {"(*Float).Add", Method, 0, ""}, + {"(*Float).Set", Method, 0, ""}, + {"(*Float).String", Method, 0, ""}, + {"(*Float).Value", Method, 8, ""}, + {"(*Int).Add", Method, 0, ""}, + {"(*Int).Set", Method, 0, ""}, + {"(*Int).String", Method, 0, ""}, + {"(*Int).Value", Method, 8, ""}, + {"(*Map).Add", Method, 0, ""}, + {"(*Map).AddFloat", Method, 0, ""}, + {"(*Map).Delete", Method, 12, ""}, + {"(*Map).Do", Method, 0, ""}, + {"(*Map).Get", Method, 0, ""}, + {"(*Map).Init", Method, 0, ""}, + {"(*Map).Set", Method, 0, ""}, + {"(*Map).String", Method, 0, ""}, + {"(*String).Set", Method, 0, ""}, + {"(*String).String", Method, 0, ""}, + {"(*String).Value", Method, 8, ""}, + {"(Func).String", Method, 0, ""}, + {"(Func).Value", Method, 8, ""}, + {"Do", Func, 0, "func(f func(KeyValue))"}, + {"Float", Type, 0, ""}, + {"Func", Type, 0, ""}, + {"Get", Func, 0, "func(name string) Var"}, + {"Handler", Func, 8, "func() http.Handler"}, + {"Int", Type, 0, ""}, + {"KeyValue", Type, 0, ""}, + {"KeyValue.Key", Field, 0, ""}, + {"KeyValue.Value", Field, 0, ""}, + {"Map", Type, 0, ""}, + {"NewFloat", Func, 0, "func(name string) *Float"}, + {"NewInt", Func, 0, "func(name string) *Int"}, + {"NewMap", Func, 0, "func(name string) *Map"}, + {"NewString", Func, 0, "func(name string) *String"}, + {"Publish", Func, 0, "func(name string, v Var)"}, + {"String", Type, 0, ""}, + {"Var", Type, 0, ""}, }, "flag": { - {"(*FlagSet).Arg", Method, 0}, - {"(*FlagSet).Args", Method, 0}, - {"(*FlagSet).Bool", Method, 0}, - {"(*FlagSet).BoolFunc", Method, 21}, - {"(*FlagSet).BoolVar", Method, 0}, - {"(*FlagSet).Duration", Method, 0}, - {"(*FlagSet).DurationVar", Method, 0}, - {"(*FlagSet).ErrorHandling", Method, 10}, - {"(*FlagSet).Float64", Method, 0}, - {"(*FlagSet).Float64Var", Method, 0}, - {"(*FlagSet).Func", Method, 16}, - {"(*FlagSet).Init", Method, 0}, - {"(*FlagSet).Int", Method, 0}, - {"(*FlagSet).Int64", Method, 0}, - {"(*FlagSet).Int64Var", Method, 0}, - {"(*FlagSet).IntVar", Method, 0}, - {"(*FlagSet).Lookup", Method, 0}, - {"(*FlagSet).NArg", Method, 0}, - {"(*FlagSet).NFlag", Method, 0}, - {"(*FlagSet).Name", Method, 10}, - {"(*FlagSet).Output", Method, 10}, - {"(*FlagSet).Parse", Method, 0}, - {"(*FlagSet).Parsed", Method, 0}, - {"(*FlagSet).PrintDefaults", Method, 0}, - {"(*FlagSet).Set", Method, 0}, - {"(*FlagSet).SetOutput", Method, 0}, - {"(*FlagSet).String", Method, 0}, - {"(*FlagSet).StringVar", Method, 0}, - {"(*FlagSet).TextVar", Method, 19}, - {"(*FlagSet).Uint", Method, 0}, - {"(*FlagSet).Uint64", Method, 0}, - {"(*FlagSet).Uint64Var", Method, 0}, - {"(*FlagSet).UintVar", Method, 0}, - {"(*FlagSet).Var", Method, 0}, - {"(*FlagSet).Visit", Method, 0}, - {"(*FlagSet).VisitAll", Method, 0}, - {"Arg", Func, 0}, - {"Args", Func, 0}, - {"Bool", Func, 0}, - {"BoolFunc", Func, 21}, - {"BoolVar", Func, 0}, - {"CommandLine", Var, 2}, - {"ContinueOnError", Const, 0}, - {"Duration", Func, 0}, - {"DurationVar", Func, 0}, - {"ErrHelp", Var, 0}, - {"ErrorHandling", Type, 0}, - {"ExitOnError", Const, 0}, - {"Flag", Type, 0}, - {"Flag.DefValue", Field, 0}, - {"Flag.Name", Field, 0}, - {"Flag.Usage", Field, 0}, - {"Flag.Value", Field, 0}, - {"FlagSet", Type, 0}, - {"FlagSet.Usage", Field, 0}, - {"Float64", Func, 0}, - {"Float64Var", Func, 0}, - {"Func", Func, 16}, - {"Getter", Type, 2}, - {"Int", Func, 0}, - {"Int64", Func, 0}, - {"Int64Var", Func, 0}, - {"IntVar", Func, 0}, - {"Lookup", Func, 0}, - {"NArg", Func, 0}, - {"NFlag", Func, 0}, - {"NewFlagSet", Func, 0}, - {"PanicOnError", Const, 0}, - {"Parse", Func, 0}, - {"Parsed", Func, 0}, - {"PrintDefaults", Func, 0}, - {"Set", Func, 0}, - {"String", Func, 0}, - {"StringVar", Func, 0}, - {"TextVar", Func, 19}, - {"Uint", Func, 0}, - {"Uint64", Func, 0}, - {"Uint64Var", Func, 0}, - {"UintVar", Func, 0}, - {"UnquoteUsage", Func, 5}, - {"Usage", Var, 0}, - {"Value", Type, 0}, - {"Var", Func, 0}, - {"Visit", Func, 0}, - {"VisitAll", Func, 0}, + {"(*FlagSet).Arg", Method, 0, ""}, + {"(*FlagSet).Args", Method, 0, ""}, + {"(*FlagSet).Bool", Method, 0, ""}, + {"(*FlagSet).BoolFunc", Method, 21, ""}, + {"(*FlagSet).BoolVar", Method, 0, ""}, + {"(*FlagSet).Duration", Method, 0, ""}, + {"(*FlagSet).DurationVar", Method, 0, ""}, + {"(*FlagSet).ErrorHandling", Method, 10, ""}, + {"(*FlagSet).Float64", Method, 0, ""}, + {"(*FlagSet).Float64Var", Method, 0, ""}, + {"(*FlagSet).Func", Method, 16, ""}, + {"(*FlagSet).Init", Method, 0, ""}, + {"(*FlagSet).Int", Method, 0, ""}, + {"(*FlagSet).Int64", Method, 0, ""}, + {"(*FlagSet).Int64Var", Method, 0, ""}, + {"(*FlagSet).IntVar", Method, 0, ""}, + {"(*FlagSet).Lookup", Method, 0, ""}, + {"(*FlagSet).NArg", Method, 0, ""}, + {"(*FlagSet).NFlag", Method, 0, ""}, + {"(*FlagSet).Name", Method, 10, ""}, + {"(*FlagSet).Output", Method, 10, ""}, + {"(*FlagSet).Parse", Method, 0, ""}, + {"(*FlagSet).Parsed", Method, 0, ""}, + {"(*FlagSet).PrintDefaults", Method, 0, ""}, + {"(*FlagSet).Set", Method, 0, ""}, + {"(*FlagSet).SetOutput", Method, 0, ""}, + {"(*FlagSet).String", Method, 0, ""}, + {"(*FlagSet).StringVar", Method, 0, ""}, + {"(*FlagSet).TextVar", Method, 19, ""}, + {"(*FlagSet).Uint", Method, 0, ""}, + {"(*FlagSet).Uint64", Method, 0, ""}, + {"(*FlagSet).Uint64Var", Method, 0, ""}, + {"(*FlagSet).UintVar", Method, 0, ""}, + {"(*FlagSet).Var", Method, 0, ""}, + {"(*FlagSet).Visit", Method, 0, ""}, + {"(*FlagSet).VisitAll", Method, 0, ""}, + {"Arg", Func, 0, "func(i int) string"}, + {"Args", Func, 0, "func() []string"}, + {"Bool", Func, 0, "func(name string, value bool, usage string) *bool"}, + {"BoolFunc", Func, 21, "func(name string, usage string, fn func(string) error)"}, + {"BoolVar", Func, 0, "func(p *bool, name string, value bool, usage string)"}, + {"CommandLine", Var, 2, ""}, + {"ContinueOnError", Const, 0, ""}, + {"Duration", Func, 0, "func(name string, value time.Duration, usage string) *time.Duration"}, + {"DurationVar", Func, 0, "func(p *time.Duration, name string, value time.Duration, usage string)"}, + {"ErrHelp", Var, 0, ""}, + {"ErrorHandling", Type, 0, ""}, + {"ExitOnError", Const, 0, ""}, + {"Flag", Type, 0, ""}, + {"Flag.DefValue", Field, 0, ""}, + {"Flag.Name", Field, 0, ""}, + {"Flag.Usage", Field, 0, ""}, + {"Flag.Value", Field, 0, ""}, + {"FlagSet", Type, 0, ""}, + {"FlagSet.Usage", Field, 0, ""}, + {"Float64", Func, 0, "func(name string, value float64, usage string) *float64"}, + {"Float64Var", Func, 0, "func(p *float64, name string, value float64, usage string)"}, + {"Func", Func, 16, "func(name string, usage string, fn func(string) error)"}, + {"Getter", Type, 2, ""}, + {"Int", Func, 0, "func(name string, value int, usage string) *int"}, + {"Int64", Func, 0, "func(name string, value int64, usage string) *int64"}, + {"Int64Var", Func, 0, "func(p *int64, name string, value int64, usage string)"}, + {"IntVar", Func, 0, "func(p *int, name string, value int, usage string)"}, + {"Lookup", Func, 0, "func(name string) *Flag"}, + {"NArg", Func, 0, "func() int"}, + {"NFlag", Func, 0, "func() int"}, + {"NewFlagSet", Func, 0, "func(name string, errorHandling ErrorHandling) *FlagSet"}, + {"PanicOnError", Const, 0, ""}, + {"Parse", Func, 0, "func()"}, + {"Parsed", Func, 0, "func() bool"}, + {"PrintDefaults", Func, 0, "func()"}, + {"Set", Func, 0, "func(name string, value string) error"}, + {"String", Func, 0, "func(name string, value string, usage string) *string"}, + {"StringVar", Func, 0, "func(p *string, name string, value string, usage string)"}, + {"TextVar", Func, 19, "func(p encoding.TextUnmarshaler, name string, value encoding.TextMarshaler, usage string)"}, + {"Uint", Func, 0, "func(name string, value uint, usage string) *uint"}, + {"Uint64", Func, 0, "func(name string, value uint64, usage string) *uint64"}, + {"Uint64Var", Func, 0, "func(p *uint64, name string, value uint64, usage string)"}, + {"UintVar", Func, 0, "func(p *uint, name string, value uint, usage string)"}, + {"UnquoteUsage", Func, 5, "func(flag *Flag) (name string, usage string)"}, + {"Usage", Var, 0, ""}, + {"Value", Type, 0, ""}, + {"Var", Func, 0, "func(value Value, name string, usage string)"}, + {"Visit", Func, 0, "func(fn func(*Flag))"}, + {"VisitAll", Func, 0, "func(fn func(*Flag))"}, }, "fmt": { - {"Append", Func, 19}, - {"Appendf", Func, 19}, - {"Appendln", Func, 19}, - {"Errorf", Func, 0}, - {"FormatString", Func, 20}, - {"Formatter", Type, 0}, - {"Fprint", Func, 0}, - {"Fprintf", Func, 0}, - {"Fprintln", Func, 0}, - {"Fscan", Func, 0}, - {"Fscanf", Func, 0}, - {"Fscanln", Func, 0}, - {"GoStringer", Type, 0}, - {"Print", Func, 0}, - {"Printf", Func, 0}, - {"Println", Func, 0}, - {"Scan", Func, 0}, - {"ScanState", Type, 0}, - {"Scanf", Func, 0}, - {"Scanln", Func, 0}, - {"Scanner", Type, 0}, - {"Sprint", Func, 0}, - {"Sprintf", Func, 0}, - {"Sprintln", Func, 0}, - {"Sscan", Func, 0}, - {"Sscanf", Func, 0}, - {"Sscanln", Func, 0}, - {"State", Type, 0}, - {"Stringer", Type, 0}, + {"Append", Func, 19, "func(b []byte, a ...any) []byte"}, + {"Appendf", Func, 19, "func(b []byte, format string, a ...any) []byte"}, + {"Appendln", Func, 19, "func(b []byte, a ...any) []byte"}, + {"Errorf", Func, 0, "func(format string, a ...any) error"}, + {"FormatString", Func, 20, "func(state State, verb rune) string"}, + {"Formatter", Type, 0, ""}, + {"Fprint", Func, 0, "func(w io.Writer, a ...any) (n int, err error)"}, + {"Fprintf", Func, 0, "func(w io.Writer, format string, a ...any) (n int, err error)"}, + {"Fprintln", Func, 0, "func(w io.Writer, a ...any) (n int, err error)"}, + {"Fscan", Func, 0, "func(r io.Reader, a ...any) (n int, err error)"}, + {"Fscanf", Func, 0, "func(r io.Reader, format string, a ...any) (n int, err error)"}, + {"Fscanln", Func, 0, "func(r io.Reader, a ...any) (n int, err error)"}, + {"GoStringer", Type, 0, ""}, + {"Print", Func, 0, "func(a ...any) (n int, err error)"}, + {"Printf", Func, 0, "func(format string, a ...any) (n int, err error)"}, + {"Println", Func, 0, "func(a ...any) (n int, err error)"}, + {"Scan", Func, 0, "func(a ...any) (n int, err error)"}, + {"ScanState", Type, 0, ""}, + {"Scanf", Func, 0, "func(format string, a ...any) (n int, err error)"}, + {"Scanln", Func, 0, "func(a ...any) (n int, err error)"}, + {"Scanner", Type, 0, ""}, + {"Sprint", Func, 0, "func(a ...any) string"}, + {"Sprintf", Func, 0, "func(format string, a ...any) string"}, + {"Sprintln", Func, 0, "func(a ...any) string"}, + {"Sscan", Func, 0, "func(str string, a ...any) (n int, err error)"}, + {"Sscanf", Func, 0, "func(str string, format string, a ...any) (n int, err error)"}, + {"Sscanln", Func, 0, "func(str string, a ...any) (n int, err error)"}, + {"State", Type, 0, ""}, + {"Stringer", Type, 0, ""}, }, "go/ast": { - {"(*ArrayType).End", Method, 0}, - {"(*ArrayType).Pos", Method, 0}, - {"(*AssignStmt).End", Method, 0}, - {"(*AssignStmt).Pos", Method, 0}, - {"(*BadDecl).End", Method, 0}, - {"(*BadDecl).Pos", Method, 0}, - {"(*BadExpr).End", Method, 0}, - {"(*BadExpr).Pos", Method, 0}, - {"(*BadStmt).End", Method, 0}, - {"(*BadStmt).Pos", Method, 0}, - {"(*BasicLit).End", Method, 0}, - {"(*BasicLit).Pos", Method, 0}, - {"(*BinaryExpr).End", Method, 0}, - {"(*BinaryExpr).Pos", Method, 0}, - {"(*BlockStmt).End", Method, 0}, - {"(*BlockStmt).Pos", Method, 0}, - {"(*BranchStmt).End", Method, 0}, - {"(*BranchStmt).Pos", Method, 0}, - {"(*CallExpr).End", Method, 0}, - {"(*CallExpr).Pos", Method, 0}, - {"(*CaseClause).End", Method, 0}, - {"(*CaseClause).Pos", Method, 0}, - {"(*ChanType).End", Method, 0}, - {"(*ChanType).Pos", Method, 0}, - {"(*CommClause).End", Method, 0}, - {"(*CommClause).Pos", Method, 0}, - {"(*Comment).End", Method, 0}, - {"(*Comment).Pos", Method, 0}, - {"(*CommentGroup).End", Method, 0}, - {"(*CommentGroup).Pos", Method, 0}, - {"(*CommentGroup).Text", Method, 0}, - {"(*CompositeLit).End", Method, 0}, - {"(*CompositeLit).Pos", Method, 0}, - {"(*DeclStmt).End", Method, 0}, - {"(*DeclStmt).Pos", Method, 0}, - {"(*DeferStmt).End", Method, 0}, - {"(*DeferStmt).Pos", Method, 0}, - {"(*Ellipsis).End", Method, 0}, - {"(*Ellipsis).Pos", Method, 0}, - {"(*EmptyStmt).End", Method, 0}, - {"(*EmptyStmt).Pos", Method, 0}, - {"(*ExprStmt).End", Method, 0}, - {"(*ExprStmt).Pos", Method, 0}, - {"(*Field).End", Method, 0}, - {"(*Field).Pos", Method, 0}, - {"(*FieldList).End", Method, 0}, - {"(*FieldList).NumFields", Method, 0}, - {"(*FieldList).Pos", Method, 0}, - {"(*File).End", Method, 0}, - {"(*File).Pos", Method, 0}, - {"(*ForStmt).End", Method, 0}, - {"(*ForStmt).Pos", Method, 0}, - {"(*FuncDecl).End", Method, 0}, - {"(*FuncDecl).Pos", Method, 0}, - {"(*FuncLit).End", Method, 0}, - {"(*FuncLit).Pos", Method, 0}, - {"(*FuncType).End", Method, 0}, - {"(*FuncType).Pos", Method, 0}, - {"(*GenDecl).End", Method, 0}, - {"(*GenDecl).Pos", Method, 0}, - {"(*GoStmt).End", Method, 0}, - {"(*GoStmt).Pos", Method, 0}, - {"(*Ident).End", Method, 0}, - {"(*Ident).IsExported", Method, 0}, - {"(*Ident).Pos", Method, 0}, - {"(*Ident).String", Method, 0}, - {"(*IfStmt).End", Method, 0}, - {"(*IfStmt).Pos", Method, 0}, - {"(*ImportSpec).End", Method, 0}, - {"(*ImportSpec).Pos", Method, 0}, - {"(*IncDecStmt).End", Method, 0}, - {"(*IncDecStmt).Pos", Method, 0}, - {"(*IndexExpr).End", Method, 0}, - {"(*IndexExpr).Pos", Method, 0}, - {"(*IndexListExpr).End", Method, 18}, - {"(*IndexListExpr).Pos", Method, 18}, - {"(*InterfaceType).End", Method, 0}, - {"(*InterfaceType).Pos", Method, 0}, - {"(*KeyValueExpr).End", Method, 0}, - {"(*KeyValueExpr).Pos", Method, 0}, - {"(*LabeledStmt).End", Method, 0}, - {"(*LabeledStmt).Pos", Method, 0}, - {"(*MapType).End", Method, 0}, - {"(*MapType).Pos", Method, 0}, - {"(*Object).Pos", Method, 0}, - {"(*Package).End", Method, 0}, - {"(*Package).Pos", Method, 0}, - {"(*ParenExpr).End", Method, 0}, - {"(*ParenExpr).Pos", Method, 0}, - {"(*RangeStmt).End", Method, 0}, - {"(*RangeStmt).Pos", Method, 0}, - {"(*ReturnStmt).End", Method, 0}, - {"(*ReturnStmt).Pos", Method, 0}, - {"(*Scope).Insert", Method, 0}, - {"(*Scope).Lookup", Method, 0}, - {"(*Scope).String", Method, 0}, - {"(*SelectStmt).End", Method, 0}, - {"(*SelectStmt).Pos", Method, 0}, - {"(*SelectorExpr).End", Method, 0}, - {"(*SelectorExpr).Pos", Method, 0}, - {"(*SendStmt).End", Method, 0}, - {"(*SendStmt).Pos", Method, 0}, - {"(*SliceExpr).End", Method, 0}, - {"(*SliceExpr).Pos", Method, 0}, - {"(*StarExpr).End", Method, 0}, - {"(*StarExpr).Pos", Method, 0}, - {"(*StructType).End", Method, 0}, - {"(*StructType).Pos", Method, 0}, - {"(*SwitchStmt).End", Method, 0}, - {"(*SwitchStmt).Pos", Method, 0}, - {"(*TypeAssertExpr).End", Method, 0}, - {"(*TypeAssertExpr).Pos", Method, 0}, - {"(*TypeSpec).End", Method, 0}, - {"(*TypeSpec).Pos", Method, 0}, - {"(*TypeSwitchStmt).End", Method, 0}, - {"(*TypeSwitchStmt).Pos", Method, 0}, - {"(*UnaryExpr).End", Method, 0}, - {"(*UnaryExpr).Pos", Method, 0}, - {"(*ValueSpec).End", Method, 0}, - {"(*ValueSpec).Pos", Method, 0}, - {"(CommentMap).Comments", Method, 1}, - {"(CommentMap).Filter", Method, 1}, - {"(CommentMap).String", Method, 1}, - {"(CommentMap).Update", Method, 1}, - {"(ObjKind).String", Method, 0}, - {"ArrayType", Type, 0}, - {"ArrayType.Elt", Field, 0}, - {"ArrayType.Lbrack", Field, 0}, - {"ArrayType.Len", Field, 0}, - {"AssignStmt", Type, 0}, - {"AssignStmt.Lhs", Field, 0}, - {"AssignStmt.Rhs", Field, 0}, - {"AssignStmt.Tok", Field, 0}, - {"AssignStmt.TokPos", Field, 0}, - {"Bad", Const, 0}, - {"BadDecl", Type, 0}, - {"BadDecl.From", Field, 0}, - {"BadDecl.To", Field, 0}, - {"BadExpr", Type, 0}, - {"BadExpr.From", Field, 0}, - {"BadExpr.To", Field, 0}, - {"BadStmt", Type, 0}, - {"BadStmt.From", Field, 0}, - {"BadStmt.To", Field, 0}, - {"BasicLit", Type, 0}, - {"BasicLit.Kind", Field, 0}, - {"BasicLit.Value", Field, 0}, - {"BasicLit.ValuePos", Field, 0}, - {"BinaryExpr", Type, 0}, - {"BinaryExpr.Op", Field, 0}, - {"BinaryExpr.OpPos", Field, 0}, - {"BinaryExpr.X", Field, 0}, - {"BinaryExpr.Y", Field, 0}, - {"BlockStmt", Type, 0}, - {"BlockStmt.Lbrace", Field, 0}, - {"BlockStmt.List", Field, 0}, - {"BlockStmt.Rbrace", Field, 0}, - {"BranchStmt", Type, 0}, - {"BranchStmt.Label", Field, 0}, - {"BranchStmt.Tok", Field, 0}, - {"BranchStmt.TokPos", Field, 0}, - {"CallExpr", Type, 0}, - {"CallExpr.Args", Field, 0}, - {"CallExpr.Ellipsis", Field, 0}, - {"CallExpr.Fun", Field, 0}, - {"CallExpr.Lparen", Field, 0}, - {"CallExpr.Rparen", Field, 0}, - {"CaseClause", Type, 0}, - {"CaseClause.Body", Field, 0}, - {"CaseClause.Case", Field, 0}, - {"CaseClause.Colon", Field, 0}, - {"CaseClause.List", Field, 0}, - {"ChanDir", Type, 0}, - {"ChanType", Type, 0}, - {"ChanType.Arrow", Field, 1}, - {"ChanType.Begin", Field, 0}, - {"ChanType.Dir", Field, 0}, - {"ChanType.Value", Field, 0}, - {"CommClause", Type, 0}, - {"CommClause.Body", Field, 0}, - {"CommClause.Case", Field, 0}, - {"CommClause.Colon", Field, 0}, - {"CommClause.Comm", Field, 0}, - {"Comment", Type, 0}, - {"Comment.Slash", Field, 0}, - {"Comment.Text", Field, 0}, - {"CommentGroup", Type, 0}, - {"CommentGroup.List", Field, 0}, - {"CommentMap", Type, 1}, - {"CompositeLit", Type, 0}, - {"CompositeLit.Elts", Field, 0}, - {"CompositeLit.Incomplete", Field, 11}, - {"CompositeLit.Lbrace", Field, 0}, - {"CompositeLit.Rbrace", Field, 0}, - {"CompositeLit.Type", Field, 0}, - {"Con", Const, 0}, - {"Decl", Type, 0}, - {"DeclStmt", Type, 0}, - {"DeclStmt.Decl", Field, 0}, - {"DeferStmt", Type, 0}, - {"DeferStmt.Call", Field, 0}, - {"DeferStmt.Defer", Field, 0}, - {"Ellipsis", Type, 0}, - {"Ellipsis.Ellipsis", Field, 0}, - {"Ellipsis.Elt", Field, 0}, - {"EmptyStmt", Type, 0}, - {"EmptyStmt.Implicit", Field, 5}, - {"EmptyStmt.Semicolon", Field, 0}, - {"Expr", Type, 0}, - {"ExprStmt", Type, 0}, - {"ExprStmt.X", Field, 0}, - {"Field", Type, 0}, - {"Field.Comment", Field, 0}, - {"Field.Doc", Field, 0}, - {"Field.Names", Field, 0}, - {"Field.Tag", Field, 0}, - {"Field.Type", Field, 0}, - {"FieldFilter", Type, 0}, - {"FieldList", Type, 0}, - {"FieldList.Closing", Field, 0}, - {"FieldList.List", Field, 0}, - {"FieldList.Opening", Field, 0}, - {"File", Type, 0}, - {"File.Comments", Field, 0}, - {"File.Decls", Field, 0}, - {"File.Doc", Field, 0}, - {"File.FileEnd", Field, 20}, - {"File.FileStart", Field, 20}, - {"File.GoVersion", Field, 21}, - {"File.Imports", Field, 0}, - {"File.Name", Field, 0}, - {"File.Package", Field, 0}, - {"File.Scope", Field, 0}, - {"File.Unresolved", Field, 0}, - {"FileExports", Func, 0}, - {"Filter", Type, 0}, - {"FilterDecl", Func, 0}, - {"FilterFile", Func, 0}, - {"FilterFuncDuplicates", Const, 0}, - {"FilterImportDuplicates", Const, 0}, - {"FilterPackage", Func, 0}, - {"FilterUnassociatedComments", Const, 0}, - {"ForStmt", Type, 0}, - {"ForStmt.Body", Field, 0}, - {"ForStmt.Cond", Field, 0}, - {"ForStmt.For", Field, 0}, - {"ForStmt.Init", Field, 0}, - {"ForStmt.Post", Field, 0}, - {"Fprint", Func, 0}, - {"Fun", Const, 0}, - {"FuncDecl", Type, 0}, - {"FuncDecl.Body", Field, 0}, - {"FuncDecl.Doc", Field, 0}, - {"FuncDecl.Name", Field, 0}, - {"FuncDecl.Recv", Field, 0}, - {"FuncDecl.Type", Field, 0}, - {"FuncLit", Type, 0}, - {"FuncLit.Body", Field, 0}, - {"FuncLit.Type", Field, 0}, - {"FuncType", Type, 0}, - {"FuncType.Func", Field, 0}, - {"FuncType.Params", Field, 0}, - {"FuncType.Results", Field, 0}, - {"FuncType.TypeParams", Field, 18}, - {"GenDecl", Type, 0}, - {"GenDecl.Doc", Field, 0}, - {"GenDecl.Lparen", Field, 0}, - {"GenDecl.Rparen", Field, 0}, - {"GenDecl.Specs", Field, 0}, - {"GenDecl.Tok", Field, 0}, - {"GenDecl.TokPos", Field, 0}, - {"GoStmt", Type, 0}, - {"GoStmt.Call", Field, 0}, - {"GoStmt.Go", Field, 0}, - {"Ident", Type, 0}, - {"Ident.Name", Field, 0}, - {"Ident.NamePos", Field, 0}, - {"Ident.Obj", Field, 0}, - {"IfStmt", Type, 0}, - {"IfStmt.Body", Field, 0}, - {"IfStmt.Cond", Field, 0}, - {"IfStmt.Else", Field, 0}, - {"IfStmt.If", Field, 0}, - {"IfStmt.Init", Field, 0}, - {"ImportSpec", Type, 0}, - {"ImportSpec.Comment", Field, 0}, - {"ImportSpec.Doc", Field, 0}, - {"ImportSpec.EndPos", Field, 0}, - {"ImportSpec.Name", Field, 0}, - {"ImportSpec.Path", Field, 0}, - {"Importer", Type, 0}, - {"IncDecStmt", Type, 0}, - {"IncDecStmt.Tok", Field, 0}, - {"IncDecStmt.TokPos", Field, 0}, - {"IncDecStmt.X", Field, 0}, - {"IndexExpr", Type, 0}, - {"IndexExpr.Index", Field, 0}, - {"IndexExpr.Lbrack", Field, 0}, - {"IndexExpr.Rbrack", Field, 0}, - {"IndexExpr.X", Field, 0}, - {"IndexListExpr", Type, 18}, - {"IndexListExpr.Indices", Field, 18}, - {"IndexListExpr.Lbrack", Field, 18}, - {"IndexListExpr.Rbrack", Field, 18}, - {"IndexListExpr.X", Field, 18}, - {"Inspect", Func, 0}, - {"InterfaceType", Type, 0}, - {"InterfaceType.Incomplete", Field, 0}, - {"InterfaceType.Interface", Field, 0}, - {"InterfaceType.Methods", Field, 0}, - {"IsExported", Func, 0}, - {"IsGenerated", Func, 21}, - {"KeyValueExpr", Type, 0}, - {"KeyValueExpr.Colon", Field, 0}, - {"KeyValueExpr.Key", Field, 0}, - {"KeyValueExpr.Value", Field, 0}, - {"LabeledStmt", Type, 0}, - {"LabeledStmt.Colon", Field, 0}, - {"LabeledStmt.Label", Field, 0}, - {"LabeledStmt.Stmt", Field, 0}, - {"Lbl", Const, 0}, - {"MapType", Type, 0}, - {"MapType.Key", Field, 0}, - {"MapType.Map", Field, 0}, - {"MapType.Value", Field, 0}, - {"MergeMode", Type, 0}, - {"MergePackageFiles", Func, 0}, - {"NewCommentMap", Func, 1}, - {"NewIdent", Func, 0}, - {"NewObj", Func, 0}, - {"NewPackage", Func, 0}, - {"NewScope", Func, 0}, - {"Node", Type, 0}, - {"NotNilFilter", Func, 0}, - {"ObjKind", Type, 0}, - {"Object", Type, 0}, - {"Object.Data", Field, 0}, - {"Object.Decl", Field, 0}, - {"Object.Kind", Field, 0}, - {"Object.Name", Field, 0}, - {"Object.Type", Field, 0}, - {"Package", Type, 0}, - {"Package.Files", Field, 0}, - {"Package.Imports", Field, 0}, - {"Package.Name", Field, 0}, - {"Package.Scope", Field, 0}, - {"PackageExports", Func, 0}, - {"ParenExpr", Type, 0}, - {"ParenExpr.Lparen", Field, 0}, - {"ParenExpr.Rparen", Field, 0}, - {"ParenExpr.X", Field, 0}, - {"Pkg", Const, 0}, - {"Preorder", Func, 23}, - {"Print", Func, 0}, - {"RECV", Const, 0}, - {"RangeStmt", Type, 0}, - {"RangeStmt.Body", Field, 0}, - {"RangeStmt.For", Field, 0}, - {"RangeStmt.Key", Field, 0}, - {"RangeStmt.Range", Field, 20}, - {"RangeStmt.Tok", Field, 0}, - {"RangeStmt.TokPos", Field, 0}, - {"RangeStmt.Value", Field, 0}, - {"RangeStmt.X", Field, 0}, - {"ReturnStmt", Type, 0}, - {"ReturnStmt.Results", Field, 0}, - {"ReturnStmt.Return", Field, 0}, - {"SEND", Const, 0}, - {"Scope", Type, 0}, - {"Scope.Objects", Field, 0}, - {"Scope.Outer", Field, 0}, - {"SelectStmt", Type, 0}, - {"SelectStmt.Body", Field, 0}, - {"SelectStmt.Select", Field, 0}, - {"SelectorExpr", Type, 0}, - {"SelectorExpr.Sel", Field, 0}, - {"SelectorExpr.X", Field, 0}, - {"SendStmt", Type, 0}, - {"SendStmt.Arrow", Field, 0}, - {"SendStmt.Chan", Field, 0}, - {"SendStmt.Value", Field, 0}, - {"SliceExpr", Type, 0}, - {"SliceExpr.High", Field, 0}, - {"SliceExpr.Lbrack", Field, 0}, - {"SliceExpr.Low", Field, 0}, - {"SliceExpr.Max", Field, 2}, - {"SliceExpr.Rbrack", Field, 0}, - {"SliceExpr.Slice3", Field, 2}, - {"SliceExpr.X", Field, 0}, - {"SortImports", Func, 0}, - {"Spec", Type, 0}, - {"StarExpr", Type, 0}, - {"StarExpr.Star", Field, 0}, - {"StarExpr.X", Field, 0}, - {"Stmt", Type, 0}, - {"StructType", Type, 0}, - {"StructType.Fields", Field, 0}, - {"StructType.Incomplete", Field, 0}, - {"StructType.Struct", Field, 0}, - {"SwitchStmt", Type, 0}, - {"SwitchStmt.Body", Field, 0}, - {"SwitchStmt.Init", Field, 0}, - {"SwitchStmt.Switch", Field, 0}, - {"SwitchStmt.Tag", Field, 0}, - {"Typ", Const, 0}, - {"TypeAssertExpr", Type, 0}, - {"TypeAssertExpr.Lparen", Field, 2}, - {"TypeAssertExpr.Rparen", Field, 2}, - {"TypeAssertExpr.Type", Field, 0}, - {"TypeAssertExpr.X", Field, 0}, - {"TypeSpec", Type, 0}, - {"TypeSpec.Assign", Field, 9}, - {"TypeSpec.Comment", Field, 0}, - {"TypeSpec.Doc", Field, 0}, - {"TypeSpec.Name", Field, 0}, - {"TypeSpec.Type", Field, 0}, - {"TypeSpec.TypeParams", Field, 18}, - {"TypeSwitchStmt", Type, 0}, - {"TypeSwitchStmt.Assign", Field, 0}, - {"TypeSwitchStmt.Body", Field, 0}, - {"TypeSwitchStmt.Init", Field, 0}, - {"TypeSwitchStmt.Switch", Field, 0}, - {"UnaryExpr", Type, 0}, - {"UnaryExpr.Op", Field, 0}, - {"UnaryExpr.OpPos", Field, 0}, - {"UnaryExpr.X", Field, 0}, - {"Unparen", Func, 22}, - {"ValueSpec", Type, 0}, - {"ValueSpec.Comment", Field, 0}, - {"ValueSpec.Doc", Field, 0}, - {"ValueSpec.Names", Field, 0}, - {"ValueSpec.Type", Field, 0}, - {"ValueSpec.Values", Field, 0}, - {"Var", Const, 0}, - {"Visitor", Type, 0}, - {"Walk", Func, 0}, + {"(*ArrayType).End", Method, 0, ""}, + {"(*ArrayType).Pos", Method, 0, ""}, + {"(*AssignStmt).End", Method, 0, ""}, + {"(*AssignStmt).Pos", Method, 0, ""}, + {"(*BadDecl).End", Method, 0, ""}, + {"(*BadDecl).Pos", Method, 0, ""}, + {"(*BadExpr).End", Method, 0, ""}, + {"(*BadExpr).Pos", Method, 0, ""}, + {"(*BadStmt).End", Method, 0, ""}, + {"(*BadStmt).Pos", Method, 0, ""}, + {"(*BasicLit).End", Method, 0, ""}, + {"(*BasicLit).Pos", Method, 0, ""}, + {"(*BinaryExpr).End", Method, 0, ""}, + {"(*BinaryExpr).Pos", Method, 0, ""}, + {"(*BlockStmt).End", Method, 0, ""}, + {"(*BlockStmt).Pos", Method, 0, ""}, + {"(*BranchStmt).End", Method, 0, ""}, + {"(*BranchStmt).Pos", Method, 0, ""}, + {"(*CallExpr).End", Method, 0, ""}, + {"(*CallExpr).Pos", Method, 0, ""}, + {"(*CaseClause).End", Method, 0, ""}, + {"(*CaseClause).Pos", Method, 0, ""}, + {"(*ChanType).End", Method, 0, ""}, + {"(*ChanType).Pos", Method, 0, ""}, + {"(*CommClause).End", Method, 0, ""}, + {"(*CommClause).Pos", Method, 0, ""}, + {"(*Comment).End", Method, 0, ""}, + {"(*Comment).Pos", Method, 0, ""}, + {"(*CommentGroup).End", Method, 0, ""}, + {"(*CommentGroup).Pos", Method, 0, ""}, + {"(*CommentGroup).Text", Method, 0, ""}, + {"(*CompositeLit).End", Method, 0, ""}, + {"(*CompositeLit).Pos", Method, 0, ""}, + {"(*DeclStmt).End", Method, 0, ""}, + {"(*DeclStmt).Pos", Method, 0, ""}, + {"(*DeferStmt).End", Method, 0, ""}, + {"(*DeferStmt).Pos", Method, 0, ""}, + {"(*Ellipsis).End", Method, 0, ""}, + {"(*Ellipsis).Pos", Method, 0, ""}, + {"(*EmptyStmt).End", Method, 0, ""}, + {"(*EmptyStmt).Pos", Method, 0, ""}, + {"(*ExprStmt).End", Method, 0, ""}, + {"(*ExprStmt).Pos", Method, 0, ""}, + {"(*Field).End", Method, 0, ""}, + {"(*Field).Pos", Method, 0, ""}, + {"(*FieldList).End", Method, 0, ""}, + {"(*FieldList).NumFields", Method, 0, ""}, + {"(*FieldList).Pos", Method, 0, ""}, + {"(*File).End", Method, 0, ""}, + {"(*File).Pos", Method, 0, ""}, + {"(*ForStmt).End", Method, 0, ""}, + {"(*ForStmt).Pos", Method, 0, ""}, + {"(*FuncDecl).End", Method, 0, ""}, + {"(*FuncDecl).Pos", Method, 0, ""}, + {"(*FuncLit).End", Method, 0, ""}, + {"(*FuncLit).Pos", Method, 0, ""}, + {"(*FuncType).End", Method, 0, ""}, + {"(*FuncType).Pos", Method, 0, ""}, + {"(*GenDecl).End", Method, 0, ""}, + {"(*GenDecl).Pos", Method, 0, ""}, + {"(*GoStmt).End", Method, 0, ""}, + {"(*GoStmt).Pos", Method, 0, ""}, + {"(*Ident).End", Method, 0, ""}, + {"(*Ident).IsExported", Method, 0, ""}, + {"(*Ident).Pos", Method, 0, ""}, + {"(*Ident).String", Method, 0, ""}, + {"(*IfStmt).End", Method, 0, ""}, + {"(*IfStmt).Pos", Method, 0, ""}, + {"(*ImportSpec).End", Method, 0, ""}, + {"(*ImportSpec).Pos", Method, 0, ""}, + {"(*IncDecStmt).End", Method, 0, ""}, + {"(*IncDecStmt).Pos", Method, 0, ""}, + {"(*IndexExpr).End", Method, 0, ""}, + {"(*IndexExpr).Pos", Method, 0, ""}, + {"(*IndexListExpr).End", Method, 18, ""}, + {"(*IndexListExpr).Pos", Method, 18, ""}, + {"(*InterfaceType).End", Method, 0, ""}, + {"(*InterfaceType).Pos", Method, 0, ""}, + {"(*KeyValueExpr).End", Method, 0, ""}, + {"(*KeyValueExpr).Pos", Method, 0, ""}, + {"(*LabeledStmt).End", Method, 0, ""}, + {"(*LabeledStmt).Pos", Method, 0, ""}, + {"(*MapType).End", Method, 0, ""}, + {"(*MapType).Pos", Method, 0, ""}, + {"(*Object).Pos", Method, 0, ""}, + {"(*Package).End", Method, 0, ""}, + {"(*Package).Pos", Method, 0, ""}, + {"(*ParenExpr).End", Method, 0, ""}, + {"(*ParenExpr).Pos", Method, 0, ""}, + {"(*RangeStmt).End", Method, 0, ""}, + {"(*RangeStmt).Pos", Method, 0, ""}, + {"(*ReturnStmt).End", Method, 0, ""}, + {"(*ReturnStmt).Pos", Method, 0, ""}, + {"(*Scope).Insert", Method, 0, ""}, + {"(*Scope).Lookup", Method, 0, ""}, + {"(*Scope).String", Method, 0, ""}, + {"(*SelectStmt).End", Method, 0, ""}, + {"(*SelectStmt).Pos", Method, 0, ""}, + {"(*SelectorExpr).End", Method, 0, ""}, + {"(*SelectorExpr).Pos", Method, 0, ""}, + {"(*SendStmt).End", Method, 0, ""}, + {"(*SendStmt).Pos", Method, 0, ""}, + {"(*SliceExpr).End", Method, 0, ""}, + {"(*SliceExpr).Pos", Method, 0, ""}, + {"(*StarExpr).End", Method, 0, ""}, + {"(*StarExpr).Pos", Method, 0, ""}, + {"(*StructType).End", Method, 0, ""}, + {"(*StructType).Pos", Method, 0, ""}, + {"(*SwitchStmt).End", Method, 0, ""}, + {"(*SwitchStmt).Pos", Method, 0, ""}, + {"(*TypeAssertExpr).End", Method, 0, ""}, + {"(*TypeAssertExpr).Pos", Method, 0, ""}, + {"(*TypeSpec).End", Method, 0, ""}, + {"(*TypeSpec).Pos", Method, 0, ""}, + {"(*TypeSwitchStmt).End", Method, 0, ""}, + {"(*TypeSwitchStmt).Pos", Method, 0, ""}, + {"(*UnaryExpr).End", Method, 0, ""}, + {"(*UnaryExpr).Pos", Method, 0, ""}, + {"(*ValueSpec).End", Method, 0, ""}, + {"(*ValueSpec).Pos", Method, 0, ""}, + {"(CommentMap).Comments", Method, 1, ""}, + {"(CommentMap).Filter", Method, 1, ""}, + {"(CommentMap).String", Method, 1, ""}, + {"(CommentMap).Update", Method, 1, ""}, + {"(ObjKind).String", Method, 0, ""}, + {"ArrayType", Type, 0, ""}, + {"ArrayType.Elt", Field, 0, ""}, + {"ArrayType.Lbrack", Field, 0, ""}, + {"ArrayType.Len", Field, 0, ""}, + {"AssignStmt", Type, 0, ""}, + {"AssignStmt.Lhs", Field, 0, ""}, + {"AssignStmt.Rhs", Field, 0, ""}, + {"AssignStmt.Tok", Field, 0, ""}, + {"AssignStmt.TokPos", Field, 0, ""}, + {"Bad", Const, 0, ""}, + {"BadDecl", Type, 0, ""}, + {"BadDecl.From", Field, 0, ""}, + {"BadDecl.To", Field, 0, ""}, + {"BadExpr", Type, 0, ""}, + {"BadExpr.From", Field, 0, ""}, + {"BadExpr.To", Field, 0, ""}, + {"BadStmt", Type, 0, ""}, + {"BadStmt.From", Field, 0, ""}, + {"BadStmt.To", Field, 0, ""}, + {"BasicLit", Type, 0, ""}, + {"BasicLit.Kind", Field, 0, ""}, + {"BasicLit.Value", Field, 0, ""}, + {"BasicLit.ValuePos", Field, 0, ""}, + {"BinaryExpr", Type, 0, ""}, + {"BinaryExpr.Op", Field, 0, ""}, + {"BinaryExpr.OpPos", Field, 0, ""}, + {"BinaryExpr.X", Field, 0, ""}, + {"BinaryExpr.Y", Field, 0, ""}, + {"BlockStmt", Type, 0, ""}, + {"BlockStmt.Lbrace", Field, 0, ""}, + {"BlockStmt.List", Field, 0, ""}, + {"BlockStmt.Rbrace", Field, 0, ""}, + {"BranchStmt", Type, 0, ""}, + {"BranchStmt.Label", Field, 0, ""}, + {"BranchStmt.Tok", Field, 0, ""}, + {"BranchStmt.TokPos", Field, 0, ""}, + {"CallExpr", Type, 0, ""}, + {"CallExpr.Args", Field, 0, ""}, + {"CallExpr.Ellipsis", Field, 0, ""}, + {"CallExpr.Fun", Field, 0, ""}, + {"CallExpr.Lparen", Field, 0, ""}, + {"CallExpr.Rparen", Field, 0, ""}, + {"CaseClause", Type, 0, ""}, + {"CaseClause.Body", Field, 0, ""}, + {"CaseClause.Case", Field, 0, ""}, + {"CaseClause.Colon", Field, 0, ""}, + {"CaseClause.List", Field, 0, ""}, + {"ChanDir", Type, 0, ""}, + {"ChanType", Type, 0, ""}, + {"ChanType.Arrow", Field, 1, ""}, + {"ChanType.Begin", Field, 0, ""}, + {"ChanType.Dir", Field, 0, ""}, + {"ChanType.Value", Field, 0, ""}, + {"CommClause", Type, 0, ""}, + {"CommClause.Body", Field, 0, ""}, + {"CommClause.Case", Field, 0, ""}, + {"CommClause.Colon", Field, 0, ""}, + {"CommClause.Comm", Field, 0, ""}, + {"Comment", Type, 0, ""}, + {"Comment.Slash", Field, 0, ""}, + {"Comment.Text", Field, 0, ""}, + {"CommentGroup", Type, 0, ""}, + {"CommentGroup.List", Field, 0, ""}, + {"CommentMap", Type, 1, ""}, + {"CompositeLit", Type, 0, ""}, + {"CompositeLit.Elts", Field, 0, ""}, + {"CompositeLit.Incomplete", Field, 11, ""}, + {"CompositeLit.Lbrace", Field, 0, ""}, + {"CompositeLit.Rbrace", Field, 0, ""}, + {"CompositeLit.Type", Field, 0, ""}, + {"Con", Const, 0, ""}, + {"Decl", Type, 0, ""}, + {"DeclStmt", Type, 0, ""}, + {"DeclStmt.Decl", Field, 0, ""}, + {"DeferStmt", Type, 0, ""}, + {"DeferStmt.Call", Field, 0, ""}, + {"DeferStmt.Defer", Field, 0, ""}, + {"Ellipsis", Type, 0, ""}, + {"Ellipsis.Ellipsis", Field, 0, ""}, + {"Ellipsis.Elt", Field, 0, ""}, + {"EmptyStmt", Type, 0, ""}, + {"EmptyStmt.Implicit", Field, 5, ""}, + {"EmptyStmt.Semicolon", Field, 0, ""}, + {"Expr", Type, 0, ""}, + {"ExprStmt", Type, 0, ""}, + {"ExprStmt.X", Field, 0, ""}, + {"Field", Type, 0, ""}, + {"Field.Comment", Field, 0, ""}, + {"Field.Doc", Field, 0, ""}, + {"Field.Names", Field, 0, ""}, + {"Field.Tag", Field, 0, ""}, + {"Field.Type", Field, 0, ""}, + {"FieldFilter", Type, 0, ""}, + {"FieldList", Type, 0, ""}, + {"FieldList.Closing", Field, 0, ""}, + {"FieldList.List", Field, 0, ""}, + {"FieldList.Opening", Field, 0, ""}, + {"File", Type, 0, ""}, + {"File.Comments", Field, 0, ""}, + {"File.Decls", Field, 0, ""}, + {"File.Doc", Field, 0, ""}, + {"File.FileEnd", Field, 20, ""}, + {"File.FileStart", Field, 20, ""}, + {"File.GoVersion", Field, 21, ""}, + {"File.Imports", Field, 0, ""}, + {"File.Name", Field, 0, ""}, + {"File.Package", Field, 0, ""}, + {"File.Scope", Field, 0, ""}, + {"File.Unresolved", Field, 0, ""}, + {"FileExports", Func, 0, "func(src *File) bool"}, + {"Filter", Type, 0, ""}, + {"FilterDecl", Func, 0, "func(decl Decl, f Filter) bool"}, + {"FilterFile", Func, 0, "func(src *File, f Filter) bool"}, + {"FilterFuncDuplicates", Const, 0, ""}, + {"FilterImportDuplicates", Const, 0, ""}, + {"FilterPackage", Func, 0, "func(pkg *Package, f Filter) bool"}, + {"FilterUnassociatedComments", Const, 0, ""}, + {"ForStmt", Type, 0, ""}, + {"ForStmt.Body", Field, 0, ""}, + {"ForStmt.Cond", Field, 0, ""}, + {"ForStmt.For", Field, 0, ""}, + {"ForStmt.Init", Field, 0, ""}, + {"ForStmt.Post", Field, 0, ""}, + {"Fprint", Func, 0, "func(w io.Writer, fset *token.FileSet, x any, f FieldFilter) error"}, + {"Fun", Const, 0, ""}, + {"FuncDecl", Type, 0, ""}, + {"FuncDecl.Body", Field, 0, ""}, + {"FuncDecl.Doc", Field, 0, ""}, + {"FuncDecl.Name", Field, 0, ""}, + {"FuncDecl.Recv", Field, 0, ""}, + {"FuncDecl.Type", Field, 0, ""}, + {"FuncLit", Type, 0, ""}, + {"FuncLit.Body", Field, 0, ""}, + {"FuncLit.Type", Field, 0, ""}, + {"FuncType", Type, 0, ""}, + {"FuncType.Func", Field, 0, ""}, + {"FuncType.Params", Field, 0, ""}, + {"FuncType.Results", Field, 0, ""}, + {"FuncType.TypeParams", Field, 18, ""}, + {"GenDecl", Type, 0, ""}, + {"GenDecl.Doc", Field, 0, ""}, + {"GenDecl.Lparen", Field, 0, ""}, + {"GenDecl.Rparen", Field, 0, ""}, + {"GenDecl.Specs", Field, 0, ""}, + {"GenDecl.Tok", Field, 0, ""}, + {"GenDecl.TokPos", Field, 0, ""}, + {"GoStmt", Type, 0, ""}, + {"GoStmt.Call", Field, 0, ""}, + {"GoStmt.Go", Field, 0, ""}, + {"Ident", Type, 0, ""}, + {"Ident.Name", Field, 0, ""}, + {"Ident.NamePos", Field, 0, ""}, + {"Ident.Obj", Field, 0, ""}, + {"IfStmt", Type, 0, ""}, + {"IfStmt.Body", Field, 0, ""}, + {"IfStmt.Cond", Field, 0, ""}, + {"IfStmt.Else", Field, 0, ""}, + {"IfStmt.If", Field, 0, ""}, + {"IfStmt.Init", Field, 0, ""}, + {"ImportSpec", Type, 0, ""}, + {"ImportSpec.Comment", Field, 0, ""}, + {"ImportSpec.Doc", Field, 0, ""}, + {"ImportSpec.EndPos", Field, 0, ""}, + {"ImportSpec.Name", Field, 0, ""}, + {"ImportSpec.Path", Field, 0, ""}, + {"Importer", Type, 0, ""}, + {"IncDecStmt", Type, 0, ""}, + {"IncDecStmt.Tok", Field, 0, ""}, + {"IncDecStmt.TokPos", Field, 0, ""}, + {"IncDecStmt.X", Field, 0, ""}, + {"IndexExpr", Type, 0, ""}, + {"IndexExpr.Index", Field, 0, ""}, + {"IndexExpr.Lbrack", Field, 0, ""}, + {"IndexExpr.Rbrack", Field, 0, ""}, + {"IndexExpr.X", Field, 0, ""}, + {"IndexListExpr", Type, 18, ""}, + {"IndexListExpr.Indices", Field, 18, ""}, + {"IndexListExpr.Lbrack", Field, 18, ""}, + {"IndexListExpr.Rbrack", Field, 18, ""}, + {"IndexListExpr.X", Field, 18, ""}, + {"Inspect", Func, 0, "func(node Node, f func(Node) bool)"}, + {"InterfaceType", Type, 0, ""}, + {"InterfaceType.Incomplete", Field, 0, ""}, + {"InterfaceType.Interface", Field, 0, ""}, + {"InterfaceType.Methods", Field, 0, ""}, + {"IsExported", Func, 0, "func(name string) bool"}, + {"IsGenerated", Func, 21, "func(file *File) bool"}, + {"KeyValueExpr", Type, 0, ""}, + {"KeyValueExpr.Colon", Field, 0, ""}, + {"KeyValueExpr.Key", Field, 0, ""}, + {"KeyValueExpr.Value", Field, 0, ""}, + {"LabeledStmt", Type, 0, ""}, + {"LabeledStmt.Colon", Field, 0, ""}, + {"LabeledStmt.Label", Field, 0, ""}, + {"LabeledStmt.Stmt", Field, 0, ""}, + {"Lbl", Const, 0, ""}, + {"MapType", Type, 0, ""}, + {"MapType.Key", Field, 0, ""}, + {"MapType.Map", Field, 0, ""}, + {"MapType.Value", Field, 0, ""}, + {"MergeMode", Type, 0, ""}, + {"MergePackageFiles", Func, 0, "func(pkg *Package, mode MergeMode) *File"}, + {"NewCommentMap", Func, 1, "func(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap"}, + {"NewIdent", Func, 0, "func(name string) *Ident"}, + {"NewObj", Func, 0, "func(kind ObjKind, name string) *Object"}, + {"NewPackage", Func, 0, "func(fset *token.FileSet, files map[string]*File, importer Importer, universe *Scope) (*Package, error)"}, + {"NewScope", Func, 0, "func(outer *Scope) *Scope"}, + {"Node", Type, 0, ""}, + {"NotNilFilter", Func, 0, "func(_ string, v reflect.Value) bool"}, + {"ObjKind", Type, 0, ""}, + {"Object", Type, 0, ""}, + {"Object.Data", Field, 0, ""}, + {"Object.Decl", Field, 0, ""}, + {"Object.Kind", Field, 0, ""}, + {"Object.Name", Field, 0, ""}, + {"Object.Type", Field, 0, ""}, + {"Package", Type, 0, ""}, + {"Package.Files", Field, 0, ""}, + {"Package.Imports", Field, 0, ""}, + {"Package.Name", Field, 0, ""}, + {"Package.Scope", Field, 0, ""}, + {"PackageExports", Func, 0, "func(pkg *Package) bool"}, + {"ParenExpr", Type, 0, ""}, + {"ParenExpr.Lparen", Field, 0, ""}, + {"ParenExpr.Rparen", Field, 0, ""}, + {"ParenExpr.X", Field, 0, ""}, + {"Pkg", Const, 0, ""}, + {"Preorder", Func, 23, "func(root Node) iter.Seq[Node]"}, + {"PreorderStack", Func, 25, "func(root Node, stack []Node, f func(n Node, stack []Node) bool)"}, + {"Print", Func, 0, "func(fset *token.FileSet, x any) error"}, + {"RECV", Const, 0, ""}, + {"RangeStmt", Type, 0, ""}, + {"RangeStmt.Body", Field, 0, ""}, + {"RangeStmt.For", Field, 0, ""}, + {"RangeStmt.Key", Field, 0, ""}, + {"RangeStmt.Range", Field, 20, ""}, + {"RangeStmt.Tok", Field, 0, ""}, + {"RangeStmt.TokPos", Field, 0, ""}, + {"RangeStmt.Value", Field, 0, ""}, + {"RangeStmt.X", Field, 0, ""}, + {"ReturnStmt", Type, 0, ""}, + {"ReturnStmt.Results", Field, 0, ""}, + {"ReturnStmt.Return", Field, 0, ""}, + {"SEND", Const, 0, ""}, + {"Scope", Type, 0, ""}, + {"Scope.Objects", Field, 0, ""}, + {"Scope.Outer", Field, 0, ""}, + {"SelectStmt", Type, 0, ""}, + {"SelectStmt.Body", Field, 0, ""}, + {"SelectStmt.Select", Field, 0, ""}, + {"SelectorExpr", Type, 0, ""}, + {"SelectorExpr.Sel", Field, 0, ""}, + {"SelectorExpr.X", Field, 0, ""}, + {"SendStmt", Type, 0, ""}, + {"SendStmt.Arrow", Field, 0, ""}, + {"SendStmt.Chan", Field, 0, ""}, + {"SendStmt.Value", Field, 0, ""}, + {"SliceExpr", Type, 0, ""}, + {"SliceExpr.High", Field, 0, ""}, + {"SliceExpr.Lbrack", Field, 0, ""}, + {"SliceExpr.Low", Field, 0, ""}, + {"SliceExpr.Max", Field, 2, ""}, + {"SliceExpr.Rbrack", Field, 0, ""}, + {"SliceExpr.Slice3", Field, 2, ""}, + {"SliceExpr.X", Field, 0, ""}, + {"SortImports", Func, 0, "func(fset *token.FileSet, f *File)"}, + {"Spec", Type, 0, ""}, + {"StarExpr", Type, 0, ""}, + {"StarExpr.Star", Field, 0, ""}, + {"StarExpr.X", Field, 0, ""}, + {"Stmt", Type, 0, ""}, + {"StructType", Type, 0, ""}, + {"StructType.Fields", Field, 0, ""}, + {"StructType.Incomplete", Field, 0, ""}, + {"StructType.Struct", Field, 0, ""}, + {"SwitchStmt", Type, 0, ""}, + {"SwitchStmt.Body", Field, 0, ""}, + {"SwitchStmt.Init", Field, 0, ""}, + {"SwitchStmt.Switch", Field, 0, ""}, + {"SwitchStmt.Tag", Field, 0, ""}, + {"Typ", Const, 0, ""}, + {"TypeAssertExpr", Type, 0, ""}, + {"TypeAssertExpr.Lparen", Field, 2, ""}, + {"TypeAssertExpr.Rparen", Field, 2, ""}, + {"TypeAssertExpr.Type", Field, 0, ""}, + {"TypeAssertExpr.X", Field, 0, ""}, + {"TypeSpec", Type, 0, ""}, + {"TypeSpec.Assign", Field, 9, ""}, + {"TypeSpec.Comment", Field, 0, ""}, + {"TypeSpec.Doc", Field, 0, ""}, + {"TypeSpec.Name", Field, 0, ""}, + {"TypeSpec.Type", Field, 0, ""}, + {"TypeSpec.TypeParams", Field, 18, ""}, + {"TypeSwitchStmt", Type, 0, ""}, + {"TypeSwitchStmt.Assign", Field, 0, ""}, + {"TypeSwitchStmt.Body", Field, 0, ""}, + {"TypeSwitchStmt.Init", Field, 0, ""}, + {"TypeSwitchStmt.Switch", Field, 0, ""}, + {"UnaryExpr", Type, 0, ""}, + {"UnaryExpr.Op", Field, 0, ""}, + {"UnaryExpr.OpPos", Field, 0, ""}, + {"UnaryExpr.X", Field, 0, ""}, + {"Unparen", Func, 22, "func(e Expr) Expr"}, + {"ValueSpec", Type, 0, ""}, + {"ValueSpec.Comment", Field, 0, ""}, + {"ValueSpec.Doc", Field, 0, ""}, + {"ValueSpec.Names", Field, 0, ""}, + {"ValueSpec.Type", Field, 0, ""}, + {"ValueSpec.Values", Field, 0, ""}, + {"Var", Const, 0, ""}, + {"Visitor", Type, 0, ""}, + {"Walk", Func, 0, "func(v Visitor, node Node)"}, }, "go/build": { - {"(*Context).Import", Method, 0}, - {"(*Context).ImportDir", Method, 0}, - {"(*Context).MatchFile", Method, 2}, - {"(*Context).SrcDirs", Method, 0}, - {"(*MultiplePackageError).Error", Method, 4}, - {"(*NoGoError).Error", Method, 0}, - {"(*Package).IsCommand", Method, 0}, - {"AllowBinary", Const, 0}, - {"ArchChar", Func, 0}, - {"Context", Type, 0}, - {"Context.BuildTags", Field, 0}, - {"Context.CgoEnabled", Field, 0}, - {"Context.Compiler", Field, 0}, - {"Context.Dir", Field, 14}, - {"Context.GOARCH", Field, 0}, - {"Context.GOOS", Field, 0}, - {"Context.GOPATH", Field, 0}, - {"Context.GOROOT", Field, 0}, - {"Context.HasSubdir", Field, 0}, - {"Context.InstallSuffix", Field, 1}, - {"Context.IsAbsPath", Field, 0}, - {"Context.IsDir", Field, 0}, - {"Context.JoinPath", Field, 0}, - {"Context.OpenFile", Field, 0}, - {"Context.ReadDir", Field, 0}, - {"Context.ReleaseTags", Field, 1}, - {"Context.SplitPathList", Field, 0}, - {"Context.ToolTags", Field, 17}, - {"Context.UseAllFiles", Field, 0}, - {"Default", Var, 0}, - {"Directive", Type, 21}, - {"Directive.Pos", Field, 21}, - {"Directive.Text", Field, 21}, - {"FindOnly", Const, 0}, - {"IgnoreVendor", Const, 6}, - {"Import", Func, 0}, - {"ImportComment", Const, 4}, - {"ImportDir", Func, 0}, - {"ImportMode", Type, 0}, - {"IsLocalImport", Func, 0}, - {"MultiplePackageError", Type, 4}, - {"MultiplePackageError.Dir", Field, 4}, - {"MultiplePackageError.Files", Field, 4}, - {"MultiplePackageError.Packages", Field, 4}, - {"NoGoError", Type, 0}, - {"NoGoError.Dir", Field, 0}, - {"Package", Type, 0}, - {"Package.AllTags", Field, 2}, - {"Package.BinDir", Field, 0}, - {"Package.BinaryOnly", Field, 7}, - {"Package.CFiles", Field, 0}, - {"Package.CXXFiles", Field, 2}, - {"Package.CgoCFLAGS", Field, 0}, - {"Package.CgoCPPFLAGS", Field, 2}, - {"Package.CgoCXXFLAGS", Field, 2}, - {"Package.CgoFFLAGS", Field, 7}, - {"Package.CgoFiles", Field, 0}, - {"Package.CgoLDFLAGS", Field, 0}, - {"Package.CgoPkgConfig", Field, 0}, - {"Package.ConflictDir", Field, 2}, - {"Package.Dir", Field, 0}, - {"Package.Directives", Field, 21}, - {"Package.Doc", Field, 0}, - {"Package.EmbedPatternPos", Field, 16}, - {"Package.EmbedPatterns", Field, 16}, - {"Package.FFiles", Field, 7}, - {"Package.GoFiles", Field, 0}, - {"Package.Goroot", Field, 0}, - {"Package.HFiles", Field, 0}, - {"Package.IgnoredGoFiles", Field, 1}, - {"Package.IgnoredOtherFiles", Field, 16}, - {"Package.ImportComment", Field, 4}, - {"Package.ImportPath", Field, 0}, - {"Package.ImportPos", Field, 0}, - {"Package.Imports", Field, 0}, - {"Package.InvalidGoFiles", Field, 6}, - {"Package.MFiles", Field, 3}, - {"Package.Name", Field, 0}, - {"Package.PkgObj", Field, 0}, - {"Package.PkgRoot", Field, 0}, - {"Package.PkgTargetRoot", Field, 5}, - {"Package.Root", Field, 0}, - {"Package.SFiles", Field, 0}, - {"Package.SrcRoot", Field, 0}, - {"Package.SwigCXXFiles", Field, 1}, - {"Package.SwigFiles", Field, 1}, - {"Package.SysoFiles", Field, 0}, - {"Package.TestDirectives", Field, 21}, - {"Package.TestEmbedPatternPos", Field, 16}, - {"Package.TestEmbedPatterns", Field, 16}, - {"Package.TestGoFiles", Field, 0}, - {"Package.TestImportPos", Field, 0}, - {"Package.TestImports", Field, 0}, - {"Package.XTestDirectives", Field, 21}, - {"Package.XTestEmbedPatternPos", Field, 16}, - {"Package.XTestEmbedPatterns", Field, 16}, - {"Package.XTestGoFiles", Field, 0}, - {"Package.XTestImportPos", Field, 0}, - {"Package.XTestImports", Field, 0}, - {"ToolDir", Var, 0}, + {"(*Context).Import", Method, 0, ""}, + {"(*Context).ImportDir", Method, 0, ""}, + {"(*Context).MatchFile", Method, 2, ""}, + {"(*Context).SrcDirs", Method, 0, ""}, + {"(*MultiplePackageError).Error", Method, 4, ""}, + {"(*NoGoError).Error", Method, 0, ""}, + {"(*Package).IsCommand", Method, 0, ""}, + {"AllowBinary", Const, 0, ""}, + {"ArchChar", Func, 0, "func(goarch string) (string, error)"}, + {"Context", Type, 0, ""}, + {"Context.BuildTags", Field, 0, ""}, + {"Context.CgoEnabled", Field, 0, ""}, + {"Context.Compiler", Field, 0, ""}, + {"Context.Dir", Field, 14, ""}, + {"Context.GOARCH", Field, 0, ""}, + {"Context.GOOS", Field, 0, ""}, + {"Context.GOPATH", Field, 0, ""}, + {"Context.GOROOT", Field, 0, ""}, + {"Context.HasSubdir", Field, 0, ""}, + {"Context.InstallSuffix", Field, 1, ""}, + {"Context.IsAbsPath", Field, 0, ""}, + {"Context.IsDir", Field, 0, ""}, + {"Context.JoinPath", Field, 0, ""}, + {"Context.OpenFile", Field, 0, ""}, + {"Context.ReadDir", Field, 0, ""}, + {"Context.ReleaseTags", Field, 1, ""}, + {"Context.SplitPathList", Field, 0, ""}, + {"Context.ToolTags", Field, 17, ""}, + {"Context.UseAllFiles", Field, 0, ""}, + {"Default", Var, 0, ""}, + {"Directive", Type, 21, ""}, + {"Directive.Pos", Field, 21, ""}, + {"Directive.Text", Field, 21, ""}, + {"FindOnly", Const, 0, ""}, + {"IgnoreVendor", Const, 6, ""}, + {"Import", Func, 0, "func(path string, srcDir string, mode ImportMode) (*Package, error)"}, + {"ImportComment", Const, 4, ""}, + {"ImportDir", Func, 0, "func(dir string, mode ImportMode) (*Package, error)"}, + {"ImportMode", Type, 0, ""}, + {"IsLocalImport", Func, 0, "func(path string) bool"}, + {"MultiplePackageError", Type, 4, ""}, + {"MultiplePackageError.Dir", Field, 4, ""}, + {"MultiplePackageError.Files", Field, 4, ""}, + {"MultiplePackageError.Packages", Field, 4, ""}, + {"NoGoError", Type, 0, ""}, + {"NoGoError.Dir", Field, 0, ""}, + {"Package", Type, 0, ""}, + {"Package.AllTags", Field, 2, ""}, + {"Package.BinDir", Field, 0, ""}, + {"Package.BinaryOnly", Field, 7, ""}, + {"Package.CFiles", Field, 0, ""}, + {"Package.CXXFiles", Field, 2, ""}, + {"Package.CgoCFLAGS", Field, 0, ""}, + {"Package.CgoCPPFLAGS", Field, 2, ""}, + {"Package.CgoCXXFLAGS", Field, 2, ""}, + {"Package.CgoFFLAGS", Field, 7, ""}, + {"Package.CgoFiles", Field, 0, ""}, + {"Package.CgoLDFLAGS", Field, 0, ""}, + {"Package.CgoPkgConfig", Field, 0, ""}, + {"Package.ConflictDir", Field, 2, ""}, + {"Package.Dir", Field, 0, ""}, + {"Package.Directives", Field, 21, ""}, + {"Package.Doc", Field, 0, ""}, + {"Package.EmbedPatternPos", Field, 16, ""}, + {"Package.EmbedPatterns", Field, 16, ""}, + {"Package.FFiles", Field, 7, ""}, + {"Package.GoFiles", Field, 0, ""}, + {"Package.Goroot", Field, 0, ""}, + {"Package.HFiles", Field, 0, ""}, + {"Package.IgnoredGoFiles", Field, 1, ""}, + {"Package.IgnoredOtherFiles", Field, 16, ""}, + {"Package.ImportComment", Field, 4, ""}, + {"Package.ImportPath", Field, 0, ""}, + {"Package.ImportPos", Field, 0, ""}, + {"Package.Imports", Field, 0, ""}, + {"Package.InvalidGoFiles", Field, 6, ""}, + {"Package.MFiles", Field, 3, ""}, + {"Package.Name", Field, 0, ""}, + {"Package.PkgObj", Field, 0, ""}, + {"Package.PkgRoot", Field, 0, ""}, + {"Package.PkgTargetRoot", Field, 5, ""}, + {"Package.Root", Field, 0, ""}, + {"Package.SFiles", Field, 0, ""}, + {"Package.SrcRoot", Field, 0, ""}, + {"Package.SwigCXXFiles", Field, 1, ""}, + {"Package.SwigFiles", Field, 1, ""}, + {"Package.SysoFiles", Field, 0, ""}, + {"Package.TestDirectives", Field, 21, ""}, + {"Package.TestEmbedPatternPos", Field, 16, ""}, + {"Package.TestEmbedPatterns", Field, 16, ""}, + {"Package.TestGoFiles", Field, 0, ""}, + {"Package.TestImportPos", Field, 0, ""}, + {"Package.TestImports", Field, 0, ""}, + {"Package.XTestDirectives", Field, 21, ""}, + {"Package.XTestEmbedPatternPos", Field, 16, ""}, + {"Package.XTestEmbedPatterns", Field, 16, ""}, + {"Package.XTestGoFiles", Field, 0, ""}, + {"Package.XTestImportPos", Field, 0, ""}, + {"Package.XTestImports", Field, 0, ""}, + {"ToolDir", Var, 0, ""}, }, "go/build/constraint": { - {"(*AndExpr).Eval", Method, 16}, - {"(*AndExpr).String", Method, 16}, - {"(*NotExpr).Eval", Method, 16}, - {"(*NotExpr).String", Method, 16}, - {"(*OrExpr).Eval", Method, 16}, - {"(*OrExpr).String", Method, 16}, - {"(*SyntaxError).Error", Method, 16}, - {"(*TagExpr).Eval", Method, 16}, - {"(*TagExpr).String", Method, 16}, - {"AndExpr", Type, 16}, - {"AndExpr.X", Field, 16}, - {"AndExpr.Y", Field, 16}, - {"Expr", Type, 16}, - {"GoVersion", Func, 21}, - {"IsGoBuild", Func, 16}, - {"IsPlusBuild", Func, 16}, - {"NotExpr", Type, 16}, - {"NotExpr.X", Field, 16}, - {"OrExpr", Type, 16}, - {"OrExpr.X", Field, 16}, - {"OrExpr.Y", Field, 16}, - {"Parse", Func, 16}, - {"PlusBuildLines", Func, 16}, - {"SyntaxError", Type, 16}, - {"SyntaxError.Err", Field, 16}, - {"SyntaxError.Offset", Field, 16}, - {"TagExpr", Type, 16}, - {"TagExpr.Tag", Field, 16}, + {"(*AndExpr).Eval", Method, 16, ""}, + {"(*AndExpr).String", Method, 16, ""}, + {"(*NotExpr).Eval", Method, 16, ""}, + {"(*NotExpr).String", Method, 16, ""}, + {"(*OrExpr).Eval", Method, 16, ""}, + {"(*OrExpr).String", Method, 16, ""}, + {"(*SyntaxError).Error", Method, 16, ""}, + {"(*TagExpr).Eval", Method, 16, ""}, + {"(*TagExpr).String", Method, 16, ""}, + {"AndExpr", Type, 16, ""}, + {"AndExpr.X", Field, 16, ""}, + {"AndExpr.Y", Field, 16, ""}, + {"Expr", Type, 16, ""}, + {"GoVersion", Func, 21, "func(x Expr) string"}, + {"IsGoBuild", Func, 16, "func(line string) bool"}, + {"IsPlusBuild", Func, 16, "func(line string) bool"}, + {"NotExpr", Type, 16, ""}, + {"NotExpr.X", Field, 16, ""}, + {"OrExpr", Type, 16, ""}, + {"OrExpr.X", Field, 16, ""}, + {"OrExpr.Y", Field, 16, ""}, + {"Parse", Func, 16, "func(line string) (Expr, error)"}, + {"PlusBuildLines", Func, 16, "func(x Expr) ([]string, error)"}, + {"SyntaxError", Type, 16, ""}, + {"SyntaxError.Err", Field, 16, ""}, + {"SyntaxError.Offset", Field, 16, ""}, + {"TagExpr", Type, 16, ""}, + {"TagExpr.Tag", Field, 16, ""}, }, "go/constant": { - {"(Kind).String", Method, 18}, - {"BinaryOp", Func, 5}, - {"BitLen", Func, 5}, - {"Bool", Const, 5}, - {"BoolVal", Func, 5}, - {"Bytes", Func, 5}, - {"Compare", Func, 5}, - {"Complex", Const, 5}, - {"Denom", Func, 5}, - {"Float", Const, 5}, - {"Float32Val", Func, 5}, - {"Float64Val", Func, 5}, - {"Imag", Func, 5}, - {"Int", Const, 5}, - {"Int64Val", Func, 5}, - {"Kind", Type, 5}, - {"Make", Func, 13}, - {"MakeBool", Func, 5}, - {"MakeFloat64", Func, 5}, - {"MakeFromBytes", Func, 5}, - {"MakeFromLiteral", Func, 5}, - {"MakeImag", Func, 5}, - {"MakeInt64", Func, 5}, - {"MakeString", Func, 5}, - {"MakeUint64", Func, 5}, - {"MakeUnknown", Func, 5}, - {"Num", Func, 5}, - {"Real", Func, 5}, - {"Shift", Func, 5}, - {"Sign", Func, 5}, - {"String", Const, 5}, - {"StringVal", Func, 5}, - {"ToComplex", Func, 6}, - {"ToFloat", Func, 6}, - {"ToInt", Func, 6}, - {"Uint64Val", Func, 5}, - {"UnaryOp", Func, 5}, - {"Unknown", Const, 5}, - {"Val", Func, 13}, - {"Value", Type, 5}, + {"(Kind).String", Method, 18, ""}, + {"BinaryOp", Func, 5, "func(x_ Value, op token.Token, y_ Value) Value"}, + {"BitLen", Func, 5, "func(x Value) int"}, + {"Bool", Const, 5, ""}, + {"BoolVal", Func, 5, "func(x Value) bool"}, + {"Bytes", Func, 5, "func(x Value) []byte"}, + {"Compare", Func, 5, "func(x_ Value, op token.Token, y_ Value) bool"}, + {"Complex", Const, 5, ""}, + {"Denom", Func, 5, "func(x Value) Value"}, + {"Float", Const, 5, ""}, + {"Float32Val", Func, 5, "func(x Value) (float32, bool)"}, + {"Float64Val", Func, 5, "func(x Value) (float64, bool)"}, + {"Imag", Func, 5, "func(x Value) Value"}, + {"Int", Const, 5, ""}, + {"Int64Val", Func, 5, "func(x Value) (int64, bool)"}, + {"Kind", Type, 5, ""}, + {"Make", Func, 13, "func(x any) Value"}, + {"MakeBool", Func, 5, "func(b bool) Value"}, + {"MakeFloat64", Func, 5, "func(x float64) Value"}, + {"MakeFromBytes", Func, 5, "func(bytes []byte) Value"}, + {"MakeFromLiteral", Func, 5, "func(lit string, tok token.Token, zero uint) Value"}, + {"MakeImag", Func, 5, "func(x Value) Value"}, + {"MakeInt64", Func, 5, "func(x int64) Value"}, + {"MakeString", Func, 5, "func(s string) Value"}, + {"MakeUint64", Func, 5, "func(x uint64) Value"}, + {"MakeUnknown", Func, 5, "func() Value"}, + {"Num", Func, 5, "func(x Value) Value"}, + {"Real", Func, 5, "func(x Value) Value"}, + {"Shift", Func, 5, "func(x Value, op token.Token, s uint) Value"}, + {"Sign", Func, 5, "func(x Value) int"}, + {"String", Const, 5, ""}, + {"StringVal", Func, 5, "func(x Value) string"}, + {"ToComplex", Func, 6, "func(x Value) Value"}, + {"ToFloat", Func, 6, "func(x Value) Value"}, + {"ToInt", Func, 6, "func(x Value) Value"}, + {"Uint64Val", Func, 5, "func(x Value) (uint64, bool)"}, + {"UnaryOp", Func, 5, "func(op token.Token, y Value, prec uint) Value"}, + {"Unknown", Const, 5, ""}, + {"Val", Func, 13, "func(x Value) any"}, + {"Value", Type, 5, ""}, }, "go/doc": { - {"(*Package).Filter", Method, 0}, - {"(*Package).HTML", Method, 19}, - {"(*Package).Markdown", Method, 19}, - {"(*Package).Parser", Method, 19}, - {"(*Package).Printer", Method, 19}, - {"(*Package).Synopsis", Method, 19}, - {"(*Package).Text", Method, 19}, - {"AllDecls", Const, 0}, - {"AllMethods", Const, 0}, - {"Example", Type, 0}, - {"Example.Code", Field, 0}, - {"Example.Comments", Field, 0}, - {"Example.Doc", Field, 0}, - {"Example.EmptyOutput", Field, 1}, - {"Example.Name", Field, 0}, - {"Example.Order", Field, 1}, - {"Example.Output", Field, 0}, - {"Example.Play", Field, 1}, - {"Example.Suffix", Field, 14}, - {"Example.Unordered", Field, 7}, - {"Examples", Func, 0}, - {"Filter", Type, 0}, - {"Func", Type, 0}, - {"Func.Decl", Field, 0}, - {"Func.Doc", Field, 0}, - {"Func.Examples", Field, 14}, - {"Func.Level", Field, 0}, - {"Func.Name", Field, 0}, - {"Func.Orig", Field, 0}, - {"Func.Recv", Field, 0}, - {"IllegalPrefixes", Var, 1}, - {"IsPredeclared", Func, 8}, - {"Mode", Type, 0}, - {"New", Func, 0}, - {"NewFromFiles", Func, 14}, - {"Note", Type, 1}, - {"Note.Body", Field, 1}, - {"Note.End", Field, 1}, - {"Note.Pos", Field, 1}, - {"Note.UID", Field, 1}, - {"Package", Type, 0}, - {"Package.Bugs", Field, 0}, - {"Package.Consts", Field, 0}, - {"Package.Doc", Field, 0}, - {"Package.Examples", Field, 14}, - {"Package.Filenames", Field, 0}, - {"Package.Funcs", Field, 0}, - {"Package.ImportPath", Field, 0}, - {"Package.Imports", Field, 0}, - {"Package.Name", Field, 0}, - {"Package.Notes", Field, 1}, - {"Package.Types", Field, 0}, - {"Package.Vars", Field, 0}, - {"PreserveAST", Const, 12}, - {"Synopsis", Func, 0}, - {"ToHTML", Func, 0}, - {"ToText", Func, 0}, - {"Type", Type, 0}, - {"Type.Consts", Field, 0}, - {"Type.Decl", Field, 0}, - {"Type.Doc", Field, 0}, - {"Type.Examples", Field, 14}, - {"Type.Funcs", Field, 0}, - {"Type.Methods", Field, 0}, - {"Type.Name", Field, 0}, - {"Type.Vars", Field, 0}, - {"Value", Type, 0}, - {"Value.Decl", Field, 0}, - {"Value.Doc", Field, 0}, - {"Value.Names", Field, 0}, + {"(*Package).Filter", Method, 0, ""}, + {"(*Package).HTML", Method, 19, ""}, + {"(*Package).Markdown", Method, 19, ""}, + {"(*Package).Parser", Method, 19, ""}, + {"(*Package).Printer", Method, 19, ""}, + {"(*Package).Synopsis", Method, 19, ""}, + {"(*Package).Text", Method, 19, ""}, + {"AllDecls", Const, 0, ""}, + {"AllMethods", Const, 0, ""}, + {"Example", Type, 0, ""}, + {"Example.Code", Field, 0, ""}, + {"Example.Comments", Field, 0, ""}, + {"Example.Doc", Field, 0, ""}, + {"Example.EmptyOutput", Field, 1, ""}, + {"Example.Name", Field, 0, ""}, + {"Example.Order", Field, 1, ""}, + {"Example.Output", Field, 0, ""}, + {"Example.Play", Field, 1, ""}, + {"Example.Suffix", Field, 14, ""}, + {"Example.Unordered", Field, 7, ""}, + {"Examples", Func, 0, "func(testFiles ...*ast.File) []*Example"}, + {"Filter", Type, 0, ""}, + {"Func", Type, 0, ""}, + {"Func.Decl", Field, 0, ""}, + {"Func.Doc", Field, 0, ""}, + {"Func.Examples", Field, 14, ""}, + {"Func.Level", Field, 0, ""}, + {"Func.Name", Field, 0, ""}, + {"Func.Orig", Field, 0, ""}, + {"Func.Recv", Field, 0, ""}, + {"IllegalPrefixes", Var, 1, ""}, + {"IsPredeclared", Func, 8, "func(s string) bool"}, + {"Mode", Type, 0, ""}, + {"New", Func, 0, "func(pkg *ast.Package, importPath string, mode Mode) *Package"}, + {"NewFromFiles", Func, 14, "func(fset *token.FileSet, files []*ast.File, importPath string, opts ...any) (*Package, error)"}, + {"Note", Type, 1, ""}, + {"Note.Body", Field, 1, ""}, + {"Note.End", Field, 1, ""}, + {"Note.Pos", Field, 1, ""}, + {"Note.UID", Field, 1, ""}, + {"Package", Type, 0, ""}, + {"Package.Bugs", Field, 0, ""}, + {"Package.Consts", Field, 0, ""}, + {"Package.Doc", Field, 0, ""}, + {"Package.Examples", Field, 14, ""}, + {"Package.Filenames", Field, 0, ""}, + {"Package.Funcs", Field, 0, ""}, + {"Package.ImportPath", Field, 0, ""}, + {"Package.Imports", Field, 0, ""}, + {"Package.Name", Field, 0, ""}, + {"Package.Notes", Field, 1, ""}, + {"Package.Types", Field, 0, ""}, + {"Package.Vars", Field, 0, ""}, + {"PreserveAST", Const, 12, ""}, + {"Synopsis", Func, 0, "func(text string) string"}, + {"ToHTML", Func, 0, "func(w io.Writer, text string, words map[string]string)"}, + {"ToText", Func, 0, "func(w io.Writer, text string, prefix string, codePrefix string, width int)"}, + {"Type", Type, 0, ""}, + {"Type.Consts", Field, 0, ""}, + {"Type.Decl", Field, 0, ""}, + {"Type.Doc", Field, 0, ""}, + {"Type.Examples", Field, 14, ""}, + {"Type.Funcs", Field, 0, ""}, + {"Type.Methods", Field, 0, ""}, + {"Type.Name", Field, 0, ""}, + {"Type.Vars", Field, 0, ""}, + {"Value", Type, 0, ""}, + {"Value.Decl", Field, 0, ""}, + {"Value.Doc", Field, 0, ""}, + {"Value.Names", Field, 0, ""}, }, "go/doc/comment": { - {"(*DocLink).DefaultURL", Method, 19}, - {"(*Heading).DefaultID", Method, 19}, - {"(*List).BlankBefore", Method, 19}, - {"(*List).BlankBetween", Method, 19}, - {"(*Parser).Parse", Method, 19}, - {"(*Printer).Comment", Method, 19}, - {"(*Printer).HTML", Method, 19}, - {"(*Printer).Markdown", Method, 19}, - {"(*Printer).Text", Method, 19}, - {"Block", Type, 19}, - {"Code", Type, 19}, - {"Code.Text", Field, 19}, - {"DefaultLookupPackage", Func, 19}, - {"Doc", Type, 19}, - {"Doc.Content", Field, 19}, - {"Doc.Links", Field, 19}, - {"DocLink", Type, 19}, - {"DocLink.ImportPath", Field, 19}, - {"DocLink.Name", Field, 19}, - {"DocLink.Recv", Field, 19}, - {"DocLink.Text", Field, 19}, - {"Heading", Type, 19}, - {"Heading.Text", Field, 19}, - {"Italic", Type, 19}, - {"Link", Type, 19}, - {"Link.Auto", Field, 19}, - {"Link.Text", Field, 19}, - {"Link.URL", Field, 19}, - {"LinkDef", Type, 19}, - {"LinkDef.Text", Field, 19}, - {"LinkDef.URL", Field, 19}, - {"LinkDef.Used", Field, 19}, - {"List", Type, 19}, - {"List.ForceBlankBefore", Field, 19}, - {"List.ForceBlankBetween", Field, 19}, - {"List.Items", Field, 19}, - {"ListItem", Type, 19}, - {"ListItem.Content", Field, 19}, - {"ListItem.Number", Field, 19}, - {"Paragraph", Type, 19}, - {"Paragraph.Text", Field, 19}, - {"Parser", Type, 19}, - {"Parser.LookupPackage", Field, 19}, - {"Parser.LookupSym", Field, 19}, - {"Parser.Words", Field, 19}, - {"Plain", Type, 19}, - {"Printer", Type, 19}, - {"Printer.DocLinkBaseURL", Field, 19}, - {"Printer.DocLinkURL", Field, 19}, - {"Printer.HeadingID", Field, 19}, - {"Printer.HeadingLevel", Field, 19}, - {"Printer.TextCodePrefix", Field, 19}, - {"Printer.TextPrefix", Field, 19}, - {"Printer.TextWidth", Field, 19}, - {"Text", Type, 19}, + {"(*DocLink).DefaultURL", Method, 19, ""}, + {"(*Heading).DefaultID", Method, 19, ""}, + {"(*List).BlankBefore", Method, 19, ""}, + {"(*List).BlankBetween", Method, 19, ""}, + {"(*Parser).Parse", Method, 19, ""}, + {"(*Printer).Comment", Method, 19, ""}, + {"(*Printer).HTML", Method, 19, ""}, + {"(*Printer).Markdown", Method, 19, ""}, + {"(*Printer).Text", Method, 19, ""}, + {"Block", Type, 19, ""}, + {"Code", Type, 19, ""}, + {"Code.Text", Field, 19, ""}, + {"DefaultLookupPackage", Func, 19, "func(name string) (importPath string, ok bool)"}, + {"Doc", Type, 19, ""}, + {"Doc.Content", Field, 19, ""}, + {"Doc.Links", Field, 19, ""}, + {"DocLink", Type, 19, ""}, + {"DocLink.ImportPath", Field, 19, ""}, + {"DocLink.Name", Field, 19, ""}, + {"DocLink.Recv", Field, 19, ""}, + {"DocLink.Text", Field, 19, ""}, + {"Heading", Type, 19, ""}, + {"Heading.Text", Field, 19, ""}, + {"Italic", Type, 19, ""}, + {"Link", Type, 19, ""}, + {"Link.Auto", Field, 19, ""}, + {"Link.Text", Field, 19, ""}, + {"Link.URL", Field, 19, ""}, + {"LinkDef", Type, 19, ""}, + {"LinkDef.Text", Field, 19, ""}, + {"LinkDef.URL", Field, 19, ""}, + {"LinkDef.Used", Field, 19, ""}, + {"List", Type, 19, ""}, + {"List.ForceBlankBefore", Field, 19, ""}, + {"List.ForceBlankBetween", Field, 19, ""}, + {"List.Items", Field, 19, ""}, + {"ListItem", Type, 19, ""}, + {"ListItem.Content", Field, 19, ""}, + {"ListItem.Number", Field, 19, ""}, + {"Paragraph", Type, 19, ""}, + {"Paragraph.Text", Field, 19, ""}, + {"Parser", Type, 19, ""}, + {"Parser.LookupPackage", Field, 19, ""}, + {"Parser.LookupSym", Field, 19, ""}, + {"Parser.Words", Field, 19, ""}, + {"Plain", Type, 19, ""}, + {"Printer", Type, 19, ""}, + {"Printer.DocLinkBaseURL", Field, 19, ""}, + {"Printer.DocLinkURL", Field, 19, ""}, + {"Printer.HeadingID", Field, 19, ""}, + {"Printer.HeadingLevel", Field, 19, ""}, + {"Printer.TextCodePrefix", Field, 19, ""}, + {"Printer.TextPrefix", Field, 19, ""}, + {"Printer.TextWidth", Field, 19, ""}, + {"Text", Type, 19, ""}, }, "go/format": { - {"Node", Func, 1}, - {"Source", Func, 1}, + {"Node", Func, 1, "func(dst io.Writer, fset *token.FileSet, node any) error"}, + {"Source", Func, 1, "func(src []byte) ([]byte, error)"}, }, "go/importer": { - {"Default", Func, 5}, - {"For", Func, 5}, - {"ForCompiler", Func, 12}, - {"Lookup", Type, 5}, + {"Default", Func, 5, "func() types.Importer"}, + {"For", Func, 5, "func(compiler string, lookup Lookup) types.Importer"}, + {"ForCompiler", Func, 12, "func(fset *token.FileSet, compiler string, lookup Lookup) types.Importer"}, + {"Lookup", Type, 5, ""}, }, "go/parser": { - {"AllErrors", Const, 1}, - {"DeclarationErrors", Const, 0}, - {"ImportsOnly", Const, 0}, - {"Mode", Type, 0}, - {"PackageClauseOnly", Const, 0}, - {"ParseComments", Const, 0}, - {"ParseDir", Func, 0}, - {"ParseExpr", Func, 0}, - {"ParseExprFrom", Func, 5}, - {"ParseFile", Func, 0}, - {"SkipObjectResolution", Const, 17}, - {"SpuriousErrors", Const, 0}, - {"Trace", Const, 0}, + {"AllErrors", Const, 1, ""}, + {"DeclarationErrors", Const, 0, ""}, + {"ImportsOnly", Const, 0, ""}, + {"Mode", Type, 0, ""}, + {"PackageClauseOnly", Const, 0, ""}, + {"ParseComments", Const, 0, ""}, + {"ParseDir", Func, 0, "func(fset *token.FileSet, path string, filter func(fs.FileInfo) bool, mode Mode) (pkgs map[string]*ast.Package, first error)"}, + {"ParseExpr", Func, 0, "func(x string) (ast.Expr, error)"}, + {"ParseExprFrom", Func, 5, "func(fset *token.FileSet, filename string, src any, mode Mode) (expr ast.Expr, err error)"}, + {"ParseFile", Func, 0, "func(fset *token.FileSet, filename string, src any, mode Mode) (f *ast.File, err error)"}, + {"SkipObjectResolution", Const, 17, ""}, + {"SpuriousErrors", Const, 0, ""}, + {"Trace", Const, 0, ""}, }, "go/printer": { - {"(*Config).Fprint", Method, 0}, - {"CommentedNode", Type, 0}, - {"CommentedNode.Comments", Field, 0}, - {"CommentedNode.Node", Field, 0}, - {"Config", Type, 0}, - {"Config.Indent", Field, 1}, - {"Config.Mode", Field, 0}, - {"Config.Tabwidth", Field, 0}, - {"Fprint", Func, 0}, - {"Mode", Type, 0}, - {"RawFormat", Const, 0}, - {"SourcePos", Const, 0}, - {"TabIndent", Const, 0}, - {"UseSpaces", Const, 0}, + {"(*Config).Fprint", Method, 0, ""}, + {"CommentedNode", Type, 0, ""}, + {"CommentedNode.Comments", Field, 0, ""}, + {"CommentedNode.Node", Field, 0, ""}, + {"Config", Type, 0, ""}, + {"Config.Indent", Field, 1, ""}, + {"Config.Mode", Field, 0, ""}, + {"Config.Tabwidth", Field, 0, ""}, + {"Fprint", Func, 0, "func(output io.Writer, fset *token.FileSet, node any) error"}, + {"Mode", Type, 0, ""}, + {"RawFormat", Const, 0, ""}, + {"SourcePos", Const, 0, ""}, + {"TabIndent", Const, 0, ""}, + {"UseSpaces", Const, 0, ""}, }, "go/scanner": { - {"(*ErrorList).Add", Method, 0}, - {"(*ErrorList).RemoveMultiples", Method, 0}, - {"(*ErrorList).Reset", Method, 0}, - {"(*Scanner).Init", Method, 0}, - {"(*Scanner).Scan", Method, 0}, - {"(Error).Error", Method, 0}, - {"(ErrorList).Err", Method, 0}, - {"(ErrorList).Error", Method, 0}, - {"(ErrorList).Len", Method, 0}, - {"(ErrorList).Less", Method, 0}, - {"(ErrorList).Sort", Method, 0}, - {"(ErrorList).Swap", Method, 0}, - {"Error", Type, 0}, - {"Error.Msg", Field, 0}, - {"Error.Pos", Field, 0}, - {"ErrorHandler", Type, 0}, - {"ErrorList", Type, 0}, - {"Mode", Type, 0}, - {"PrintError", Func, 0}, - {"ScanComments", Const, 0}, - {"Scanner", Type, 0}, - {"Scanner.ErrorCount", Field, 0}, + {"(*ErrorList).Add", Method, 0, ""}, + {"(*ErrorList).RemoveMultiples", Method, 0, ""}, + {"(*ErrorList).Reset", Method, 0, ""}, + {"(*Scanner).Init", Method, 0, ""}, + {"(*Scanner).Scan", Method, 0, ""}, + {"(Error).Error", Method, 0, ""}, + {"(ErrorList).Err", Method, 0, ""}, + {"(ErrorList).Error", Method, 0, ""}, + {"(ErrorList).Len", Method, 0, ""}, + {"(ErrorList).Less", Method, 0, ""}, + {"(ErrorList).Sort", Method, 0, ""}, + {"(ErrorList).Swap", Method, 0, ""}, + {"Error", Type, 0, ""}, + {"Error.Msg", Field, 0, ""}, + {"Error.Pos", Field, 0, ""}, + {"ErrorHandler", Type, 0, ""}, + {"ErrorList", Type, 0, ""}, + {"Mode", Type, 0, ""}, + {"PrintError", Func, 0, "func(w io.Writer, err error)"}, + {"ScanComments", Const, 0, ""}, + {"Scanner", Type, 0, ""}, + {"Scanner.ErrorCount", Field, 0, ""}, }, "go/token": { - {"(*File).AddLine", Method, 0}, - {"(*File).AddLineColumnInfo", Method, 11}, - {"(*File).AddLineInfo", Method, 0}, - {"(*File).Base", Method, 0}, - {"(*File).Line", Method, 0}, - {"(*File).LineCount", Method, 0}, - {"(*File).LineStart", Method, 12}, - {"(*File).Lines", Method, 21}, - {"(*File).MergeLine", Method, 2}, - {"(*File).Name", Method, 0}, - {"(*File).Offset", Method, 0}, - {"(*File).Pos", Method, 0}, - {"(*File).Position", Method, 0}, - {"(*File).PositionFor", Method, 4}, - {"(*File).SetLines", Method, 0}, - {"(*File).SetLinesForContent", Method, 0}, - {"(*File).Size", Method, 0}, - {"(*FileSet).AddFile", Method, 0}, - {"(*FileSet).Base", Method, 0}, - {"(*FileSet).File", Method, 0}, - {"(*FileSet).Iterate", Method, 0}, - {"(*FileSet).Position", Method, 0}, - {"(*FileSet).PositionFor", Method, 4}, - {"(*FileSet).Read", Method, 0}, - {"(*FileSet).RemoveFile", Method, 20}, - {"(*FileSet).Write", Method, 0}, - {"(*Position).IsValid", Method, 0}, - {"(Pos).IsValid", Method, 0}, - {"(Position).String", Method, 0}, - {"(Token).IsKeyword", Method, 0}, - {"(Token).IsLiteral", Method, 0}, - {"(Token).IsOperator", Method, 0}, - {"(Token).Precedence", Method, 0}, - {"(Token).String", Method, 0}, - {"ADD", Const, 0}, - {"ADD_ASSIGN", Const, 0}, - {"AND", Const, 0}, - {"AND_ASSIGN", Const, 0}, - {"AND_NOT", Const, 0}, - {"AND_NOT_ASSIGN", Const, 0}, - {"ARROW", Const, 0}, - {"ASSIGN", Const, 0}, - {"BREAK", Const, 0}, - {"CASE", Const, 0}, - {"CHAN", Const, 0}, - {"CHAR", Const, 0}, - {"COLON", Const, 0}, - {"COMMA", Const, 0}, - {"COMMENT", Const, 0}, - {"CONST", Const, 0}, - {"CONTINUE", Const, 0}, - {"DEC", Const, 0}, - {"DEFAULT", Const, 0}, - {"DEFER", Const, 0}, - {"DEFINE", Const, 0}, - {"ELLIPSIS", Const, 0}, - {"ELSE", Const, 0}, - {"EOF", Const, 0}, - {"EQL", Const, 0}, - {"FALLTHROUGH", Const, 0}, - {"FLOAT", Const, 0}, - {"FOR", Const, 0}, - {"FUNC", Const, 0}, - {"File", Type, 0}, - {"FileSet", Type, 0}, - {"GEQ", Const, 0}, - {"GO", Const, 0}, - {"GOTO", Const, 0}, - {"GTR", Const, 0}, - {"HighestPrec", Const, 0}, - {"IDENT", Const, 0}, - {"IF", Const, 0}, - {"ILLEGAL", Const, 0}, - {"IMAG", Const, 0}, - {"IMPORT", Const, 0}, - {"INC", Const, 0}, - {"INT", Const, 0}, - {"INTERFACE", Const, 0}, - {"IsExported", Func, 13}, - {"IsIdentifier", Func, 13}, - {"IsKeyword", Func, 13}, - {"LAND", Const, 0}, - {"LBRACE", Const, 0}, - {"LBRACK", Const, 0}, - {"LEQ", Const, 0}, - {"LOR", Const, 0}, - {"LPAREN", Const, 0}, - {"LSS", Const, 0}, - {"Lookup", Func, 0}, - {"LowestPrec", Const, 0}, - {"MAP", Const, 0}, - {"MUL", Const, 0}, - {"MUL_ASSIGN", Const, 0}, - {"NEQ", Const, 0}, - {"NOT", Const, 0}, - {"NewFileSet", Func, 0}, - {"NoPos", Const, 0}, - {"OR", Const, 0}, - {"OR_ASSIGN", Const, 0}, - {"PACKAGE", Const, 0}, - {"PERIOD", Const, 0}, - {"Pos", Type, 0}, - {"Position", Type, 0}, - {"Position.Column", Field, 0}, - {"Position.Filename", Field, 0}, - {"Position.Line", Field, 0}, - {"Position.Offset", Field, 0}, - {"QUO", Const, 0}, - {"QUO_ASSIGN", Const, 0}, - {"RANGE", Const, 0}, - {"RBRACE", Const, 0}, - {"RBRACK", Const, 0}, - {"REM", Const, 0}, - {"REM_ASSIGN", Const, 0}, - {"RETURN", Const, 0}, - {"RPAREN", Const, 0}, - {"SELECT", Const, 0}, - {"SEMICOLON", Const, 0}, - {"SHL", Const, 0}, - {"SHL_ASSIGN", Const, 0}, - {"SHR", Const, 0}, - {"SHR_ASSIGN", Const, 0}, - {"STRING", Const, 0}, - {"STRUCT", Const, 0}, - {"SUB", Const, 0}, - {"SUB_ASSIGN", Const, 0}, - {"SWITCH", Const, 0}, - {"TILDE", Const, 18}, - {"TYPE", Const, 0}, - {"Token", Type, 0}, - {"UnaryPrec", Const, 0}, - {"VAR", Const, 0}, - {"XOR", Const, 0}, - {"XOR_ASSIGN", Const, 0}, + {"(*File).AddLine", Method, 0, ""}, + {"(*File).AddLineColumnInfo", Method, 11, ""}, + {"(*File).AddLineInfo", Method, 0, ""}, + {"(*File).Base", Method, 0, ""}, + {"(*File).Line", Method, 0, ""}, + {"(*File).LineCount", Method, 0, ""}, + {"(*File).LineStart", Method, 12, ""}, + {"(*File).Lines", Method, 21, ""}, + {"(*File).MergeLine", Method, 2, ""}, + {"(*File).Name", Method, 0, ""}, + {"(*File).Offset", Method, 0, ""}, + {"(*File).Pos", Method, 0, ""}, + {"(*File).Position", Method, 0, ""}, + {"(*File).PositionFor", Method, 4, ""}, + {"(*File).SetLines", Method, 0, ""}, + {"(*File).SetLinesForContent", Method, 0, ""}, + {"(*File).Size", Method, 0, ""}, + {"(*FileSet).AddExistingFiles", Method, 25, ""}, + {"(*FileSet).AddFile", Method, 0, ""}, + {"(*FileSet).Base", Method, 0, ""}, + {"(*FileSet).File", Method, 0, ""}, + {"(*FileSet).Iterate", Method, 0, ""}, + {"(*FileSet).Position", Method, 0, ""}, + {"(*FileSet).PositionFor", Method, 4, ""}, + {"(*FileSet).Read", Method, 0, ""}, + {"(*FileSet).RemoveFile", Method, 20, ""}, + {"(*FileSet).Write", Method, 0, ""}, + {"(*Position).IsValid", Method, 0, ""}, + {"(Pos).IsValid", Method, 0, ""}, + {"(Position).String", Method, 0, ""}, + {"(Token).IsKeyword", Method, 0, ""}, + {"(Token).IsLiteral", Method, 0, ""}, + {"(Token).IsOperator", Method, 0, ""}, + {"(Token).Precedence", Method, 0, ""}, + {"(Token).String", Method, 0, ""}, + {"ADD", Const, 0, ""}, + {"ADD_ASSIGN", Const, 0, ""}, + {"AND", Const, 0, ""}, + {"AND_ASSIGN", Const, 0, ""}, + {"AND_NOT", Const, 0, ""}, + {"AND_NOT_ASSIGN", Const, 0, ""}, + {"ARROW", Const, 0, ""}, + {"ASSIGN", Const, 0, ""}, + {"BREAK", Const, 0, ""}, + {"CASE", Const, 0, ""}, + {"CHAN", Const, 0, ""}, + {"CHAR", Const, 0, ""}, + {"COLON", Const, 0, ""}, + {"COMMA", Const, 0, ""}, + {"COMMENT", Const, 0, ""}, + {"CONST", Const, 0, ""}, + {"CONTINUE", Const, 0, ""}, + {"DEC", Const, 0, ""}, + {"DEFAULT", Const, 0, ""}, + {"DEFER", Const, 0, ""}, + {"DEFINE", Const, 0, ""}, + {"ELLIPSIS", Const, 0, ""}, + {"ELSE", Const, 0, ""}, + {"EOF", Const, 0, ""}, + {"EQL", Const, 0, ""}, + {"FALLTHROUGH", Const, 0, ""}, + {"FLOAT", Const, 0, ""}, + {"FOR", Const, 0, ""}, + {"FUNC", Const, 0, ""}, + {"File", Type, 0, ""}, + {"FileSet", Type, 0, ""}, + {"GEQ", Const, 0, ""}, + {"GO", Const, 0, ""}, + {"GOTO", Const, 0, ""}, + {"GTR", Const, 0, ""}, + {"HighestPrec", Const, 0, ""}, + {"IDENT", Const, 0, ""}, + {"IF", Const, 0, ""}, + {"ILLEGAL", Const, 0, ""}, + {"IMAG", Const, 0, ""}, + {"IMPORT", Const, 0, ""}, + {"INC", Const, 0, ""}, + {"INT", Const, 0, ""}, + {"INTERFACE", Const, 0, ""}, + {"IsExported", Func, 13, "func(name string) bool"}, + {"IsIdentifier", Func, 13, "func(name string) bool"}, + {"IsKeyword", Func, 13, "func(name string) bool"}, + {"LAND", Const, 0, ""}, + {"LBRACE", Const, 0, ""}, + {"LBRACK", Const, 0, ""}, + {"LEQ", Const, 0, ""}, + {"LOR", Const, 0, ""}, + {"LPAREN", Const, 0, ""}, + {"LSS", Const, 0, ""}, + {"Lookup", Func, 0, "func(ident string) Token"}, + {"LowestPrec", Const, 0, ""}, + {"MAP", Const, 0, ""}, + {"MUL", Const, 0, ""}, + {"MUL_ASSIGN", Const, 0, ""}, + {"NEQ", Const, 0, ""}, + {"NOT", Const, 0, ""}, + {"NewFileSet", Func, 0, "func() *FileSet"}, + {"NoPos", Const, 0, ""}, + {"OR", Const, 0, ""}, + {"OR_ASSIGN", Const, 0, ""}, + {"PACKAGE", Const, 0, ""}, + {"PERIOD", Const, 0, ""}, + {"Pos", Type, 0, ""}, + {"Position", Type, 0, ""}, + {"Position.Column", Field, 0, ""}, + {"Position.Filename", Field, 0, ""}, + {"Position.Line", Field, 0, ""}, + {"Position.Offset", Field, 0, ""}, + {"QUO", Const, 0, ""}, + {"QUO_ASSIGN", Const, 0, ""}, + {"RANGE", Const, 0, ""}, + {"RBRACE", Const, 0, ""}, + {"RBRACK", Const, 0, ""}, + {"REM", Const, 0, ""}, + {"REM_ASSIGN", Const, 0, ""}, + {"RETURN", Const, 0, ""}, + {"RPAREN", Const, 0, ""}, + {"SELECT", Const, 0, ""}, + {"SEMICOLON", Const, 0, ""}, + {"SHL", Const, 0, ""}, + {"SHL_ASSIGN", Const, 0, ""}, + {"SHR", Const, 0, ""}, + {"SHR_ASSIGN", Const, 0, ""}, + {"STRING", Const, 0, ""}, + {"STRUCT", Const, 0, ""}, + {"SUB", Const, 0, ""}, + {"SUB_ASSIGN", Const, 0, ""}, + {"SWITCH", Const, 0, ""}, + {"TILDE", Const, 18, ""}, + {"TYPE", Const, 0, ""}, + {"Token", Type, 0, ""}, + {"UnaryPrec", Const, 0, ""}, + {"VAR", Const, 0, ""}, + {"XOR", Const, 0, ""}, + {"XOR_ASSIGN", Const, 0, ""}, }, "go/types": { - {"(*Alias).Obj", Method, 22}, - {"(*Alias).Origin", Method, 23}, - {"(*Alias).Rhs", Method, 23}, - {"(*Alias).SetTypeParams", Method, 23}, - {"(*Alias).String", Method, 22}, - {"(*Alias).TypeArgs", Method, 23}, - {"(*Alias).TypeParams", Method, 23}, - {"(*Alias).Underlying", Method, 22}, - {"(*ArgumentError).Error", Method, 18}, - {"(*ArgumentError).Unwrap", Method, 18}, - {"(*Array).Elem", Method, 5}, - {"(*Array).Len", Method, 5}, - {"(*Array).String", Method, 5}, - {"(*Array).Underlying", Method, 5}, - {"(*Basic).Info", Method, 5}, - {"(*Basic).Kind", Method, 5}, - {"(*Basic).Name", Method, 5}, - {"(*Basic).String", Method, 5}, - {"(*Basic).Underlying", Method, 5}, - {"(*Builtin).Exported", Method, 5}, - {"(*Builtin).Id", Method, 5}, - {"(*Builtin).Name", Method, 5}, - {"(*Builtin).Parent", Method, 5}, - {"(*Builtin).Pkg", Method, 5}, - {"(*Builtin).Pos", Method, 5}, - {"(*Builtin).String", Method, 5}, - {"(*Builtin).Type", Method, 5}, - {"(*Chan).Dir", Method, 5}, - {"(*Chan).Elem", Method, 5}, - {"(*Chan).String", Method, 5}, - {"(*Chan).Underlying", Method, 5}, - {"(*Checker).Files", Method, 5}, - {"(*Config).Check", Method, 5}, - {"(*Const).Exported", Method, 5}, - {"(*Const).Id", Method, 5}, - {"(*Const).Name", Method, 5}, - {"(*Const).Parent", Method, 5}, - {"(*Const).Pkg", Method, 5}, - {"(*Const).Pos", Method, 5}, - {"(*Const).String", Method, 5}, - {"(*Const).Type", Method, 5}, - {"(*Const).Val", Method, 5}, - {"(*Func).Exported", Method, 5}, - {"(*Func).FullName", Method, 5}, - {"(*Func).Id", Method, 5}, - {"(*Func).Name", Method, 5}, - {"(*Func).Origin", Method, 19}, - {"(*Func).Parent", Method, 5}, - {"(*Func).Pkg", Method, 5}, - {"(*Func).Pos", Method, 5}, - {"(*Func).Scope", Method, 5}, - {"(*Func).Signature", Method, 23}, - {"(*Func).String", Method, 5}, - {"(*Func).Type", Method, 5}, - {"(*Info).ObjectOf", Method, 5}, - {"(*Info).PkgNameOf", Method, 22}, - {"(*Info).TypeOf", Method, 5}, - {"(*Initializer).String", Method, 5}, - {"(*Interface).Complete", Method, 5}, - {"(*Interface).Embedded", Method, 5}, - {"(*Interface).EmbeddedType", Method, 11}, - {"(*Interface).EmbeddedTypes", Method, 24}, - {"(*Interface).Empty", Method, 5}, - {"(*Interface).ExplicitMethod", Method, 5}, - {"(*Interface).ExplicitMethods", Method, 24}, - {"(*Interface).IsComparable", Method, 18}, - {"(*Interface).IsImplicit", Method, 18}, - {"(*Interface).IsMethodSet", Method, 18}, - {"(*Interface).MarkImplicit", Method, 18}, - {"(*Interface).Method", Method, 5}, - {"(*Interface).Methods", Method, 24}, - {"(*Interface).NumEmbeddeds", Method, 5}, - {"(*Interface).NumExplicitMethods", Method, 5}, - {"(*Interface).NumMethods", Method, 5}, - {"(*Interface).String", Method, 5}, - {"(*Interface).Underlying", Method, 5}, - {"(*Label).Exported", Method, 5}, - {"(*Label).Id", Method, 5}, - {"(*Label).Name", Method, 5}, - {"(*Label).Parent", Method, 5}, - {"(*Label).Pkg", Method, 5}, - {"(*Label).Pos", Method, 5}, - {"(*Label).String", Method, 5}, - {"(*Label).Type", Method, 5}, - {"(*Map).Elem", Method, 5}, - {"(*Map).Key", Method, 5}, - {"(*Map).String", Method, 5}, - {"(*Map).Underlying", Method, 5}, - {"(*MethodSet).At", Method, 5}, - {"(*MethodSet).Len", Method, 5}, - {"(*MethodSet).Lookup", Method, 5}, - {"(*MethodSet).Methods", Method, 24}, - {"(*MethodSet).String", Method, 5}, - {"(*Named).AddMethod", Method, 5}, - {"(*Named).Method", Method, 5}, - {"(*Named).Methods", Method, 24}, - {"(*Named).NumMethods", Method, 5}, - {"(*Named).Obj", Method, 5}, - {"(*Named).Origin", Method, 18}, - {"(*Named).SetTypeParams", Method, 18}, - {"(*Named).SetUnderlying", Method, 5}, - {"(*Named).String", Method, 5}, - {"(*Named).TypeArgs", Method, 18}, - {"(*Named).TypeParams", Method, 18}, - {"(*Named).Underlying", Method, 5}, - {"(*Nil).Exported", Method, 5}, - {"(*Nil).Id", Method, 5}, - {"(*Nil).Name", Method, 5}, - {"(*Nil).Parent", Method, 5}, - {"(*Nil).Pkg", Method, 5}, - {"(*Nil).Pos", Method, 5}, - {"(*Nil).String", Method, 5}, - {"(*Nil).Type", Method, 5}, - {"(*Package).Complete", Method, 5}, - {"(*Package).GoVersion", Method, 21}, - {"(*Package).Imports", Method, 5}, - {"(*Package).MarkComplete", Method, 5}, - {"(*Package).Name", Method, 5}, - {"(*Package).Path", Method, 5}, - {"(*Package).Scope", Method, 5}, - {"(*Package).SetImports", Method, 5}, - {"(*Package).SetName", Method, 6}, - {"(*Package).String", Method, 5}, - {"(*PkgName).Exported", Method, 5}, - {"(*PkgName).Id", Method, 5}, - {"(*PkgName).Imported", Method, 5}, - {"(*PkgName).Name", Method, 5}, - {"(*PkgName).Parent", Method, 5}, - {"(*PkgName).Pkg", Method, 5}, - {"(*PkgName).Pos", Method, 5}, - {"(*PkgName).String", Method, 5}, - {"(*PkgName).Type", Method, 5}, - {"(*Pointer).Elem", Method, 5}, - {"(*Pointer).String", Method, 5}, - {"(*Pointer).Underlying", Method, 5}, - {"(*Scope).Child", Method, 5}, - {"(*Scope).Children", Method, 24}, - {"(*Scope).Contains", Method, 5}, - {"(*Scope).End", Method, 5}, - {"(*Scope).Innermost", Method, 5}, - {"(*Scope).Insert", Method, 5}, - {"(*Scope).Len", Method, 5}, - {"(*Scope).Lookup", Method, 5}, - {"(*Scope).LookupParent", Method, 5}, - {"(*Scope).Names", Method, 5}, - {"(*Scope).NumChildren", Method, 5}, - {"(*Scope).Parent", Method, 5}, - {"(*Scope).Pos", Method, 5}, - {"(*Scope).String", Method, 5}, - {"(*Scope).WriteTo", Method, 5}, - {"(*Selection).Index", Method, 5}, - {"(*Selection).Indirect", Method, 5}, - {"(*Selection).Kind", Method, 5}, - {"(*Selection).Obj", Method, 5}, - {"(*Selection).Recv", Method, 5}, - {"(*Selection).String", Method, 5}, - {"(*Selection).Type", Method, 5}, - {"(*Signature).Params", Method, 5}, - {"(*Signature).Recv", Method, 5}, - {"(*Signature).RecvTypeParams", Method, 18}, - {"(*Signature).Results", Method, 5}, - {"(*Signature).String", Method, 5}, - {"(*Signature).TypeParams", Method, 18}, - {"(*Signature).Underlying", Method, 5}, - {"(*Signature).Variadic", Method, 5}, - {"(*Slice).Elem", Method, 5}, - {"(*Slice).String", Method, 5}, - {"(*Slice).Underlying", Method, 5}, - {"(*StdSizes).Alignof", Method, 5}, - {"(*StdSizes).Offsetsof", Method, 5}, - {"(*StdSizes).Sizeof", Method, 5}, - {"(*Struct).Field", Method, 5}, - {"(*Struct).Fields", Method, 24}, - {"(*Struct).NumFields", Method, 5}, - {"(*Struct).String", Method, 5}, - {"(*Struct).Tag", Method, 5}, - {"(*Struct).Underlying", Method, 5}, - {"(*Term).String", Method, 18}, - {"(*Term).Tilde", Method, 18}, - {"(*Term).Type", Method, 18}, - {"(*Tuple).At", Method, 5}, - {"(*Tuple).Len", Method, 5}, - {"(*Tuple).String", Method, 5}, - {"(*Tuple).Underlying", Method, 5}, - {"(*Tuple).Variables", Method, 24}, - {"(*TypeList).At", Method, 18}, - {"(*TypeList).Len", Method, 18}, - {"(*TypeList).Types", Method, 24}, - {"(*TypeName).Exported", Method, 5}, - {"(*TypeName).Id", Method, 5}, - {"(*TypeName).IsAlias", Method, 9}, - {"(*TypeName).Name", Method, 5}, - {"(*TypeName).Parent", Method, 5}, - {"(*TypeName).Pkg", Method, 5}, - {"(*TypeName).Pos", Method, 5}, - {"(*TypeName).String", Method, 5}, - {"(*TypeName).Type", Method, 5}, - {"(*TypeParam).Constraint", Method, 18}, - {"(*TypeParam).Index", Method, 18}, - {"(*TypeParam).Obj", Method, 18}, - {"(*TypeParam).SetConstraint", Method, 18}, - {"(*TypeParam).String", Method, 18}, - {"(*TypeParam).Underlying", Method, 18}, - {"(*TypeParamList).At", Method, 18}, - {"(*TypeParamList).Len", Method, 18}, - {"(*TypeParamList).TypeParams", Method, 24}, - {"(*Union).Len", Method, 18}, - {"(*Union).String", Method, 18}, - {"(*Union).Term", Method, 18}, - {"(*Union).Terms", Method, 24}, - {"(*Union).Underlying", Method, 18}, - {"(*Var).Anonymous", Method, 5}, - {"(*Var).Embedded", Method, 11}, - {"(*Var).Exported", Method, 5}, - {"(*Var).Id", Method, 5}, - {"(*Var).IsField", Method, 5}, - {"(*Var).Name", Method, 5}, - {"(*Var).Origin", Method, 19}, - {"(*Var).Parent", Method, 5}, - {"(*Var).Pkg", Method, 5}, - {"(*Var).Pos", Method, 5}, - {"(*Var).String", Method, 5}, - {"(*Var).Type", Method, 5}, - {"(Checker).ObjectOf", Method, 5}, - {"(Checker).PkgNameOf", Method, 22}, - {"(Checker).TypeOf", Method, 5}, - {"(Error).Error", Method, 5}, - {"(TypeAndValue).Addressable", Method, 5}, - {"(TypeAndValue).Assignable", Method, 5}, - {"(TypeAndValue).HasOk", Method, 5}, - {"(TypeAndValue).IsBuiltin", Method, 5}, - {"(TypeAndValue).IsNil", Method, 5}, - {"(TypeAndValue).IsType", Method, 5}, - {"(TypeAndValue).IsValue", Method, 5}, - {"(TypeAndValue).IsVoid", Method, 5}, - {"Alias", Type, 22}, - {"ArgumentError", Type, 18}, - {"ArgumentError.Err", Field, 18}, - {"ArgumentError.Index", Field, 18}, - {"Array", Type, 5}, - {"AssertableTo", Func, 5}, - {"AssignableTo", Func, 5}, - {"Basic", Type, 5}, - {"BasicInfo", Type, 5}, - {"BasicKind", Type, 5}, - {"Bool", Const, 5}, - {"Builtin", Type, 5}, - {"Byte", Const, 5}, - {"Chan", Type, 5}, - {"ChanDir", Type, 5}, - {"CheckExpr", Func, 13}, - {"Checker", Type, 5}, - {"Checker.Info", Field, 5}, - {"Comparable", Func, 5}, - {"Complex128", Const, 5}, - {"Complex64", Const, 5}, - {"Config", Type, 5}, - {"Config.Context", Field, 18}, - {"Config.DisableUnusedImportCheck", Field, 5}, - {"Config.Error", Field, 5}, - {"Config.FakeImportC", Field, 5}, - {"Config.GoVersion", Field, 18}, - {"Config.IgnoreFuncBodies", Field, 5}, - {"Config.Importer", Field, 5}, - {"Config.Sizes", Field, 5}, - {"Const", Type, 5}, - {"Context", Type, 18}, - {"ConvertibleTo", Func, 5}, - {"DefPredeclaredTestFuncs", Func, 5}, - {"Default", Func, 8}, - {"Error", Type, 5}, - {"Error.Fset", Field, 5}, - {"Error.Msg", Field, 5}, - {"Error.Pos", Field, 5}, - {"Error.Soft", Field, 5}, - {"Eval", Func, 5}, - {"ExprString", Func, 5}, - {"FieldVal", Const, 5}, - {"Float32", Const, 5}, - {"Float64", Const, 5}, - {"Func", Type, 5}, - {"Id", Func, 5}, - {"Identical", Func, 5}, - {"IdenticalIgnoreTags", Func, 8}, - {"Implements", Func, 5}, - {"ImportMode", Type, 6}, - {"Importer", Type, 5}, - {"ImporterFrom", Type, 6}, - {"Info", Type, 5}, - {"Info.Defs", Field, 5}, - {"Info.FileVersions", Field, 22}, - {"Info.Implicits", Field, 5}, - {"Info.InitOrder", Field, 5}, - {"Info.Instances", Field, 18}, - {"Info.Scopes", Field, 5}, - {"Info.Selections", Field, 5}, - {"Info.Types", Field, 5}, - {"Info.Uses", Field, 5}, - {"Initializer", Type, 5}, - {"Initializer.Lhs", Field, 5}, - {"Initializer.Rhs", Field, 5}, - {"Instance", Type, 18}, - {"Instance.Type", Field, 18}, - {"Instance.TypeArgs", Field, 18}, - {"Instantiate", Func, 18}, - {"Int", Const, 5}, - {"Int16", Const, 5}, - {"Int32", Const, 5}, - {"Int64", Const, 5}, - {"Int8", Const, 5}, - {"Interface", Type, 5}, - {"Invalid", Const, 5}, - {"IsBoolean", Const, 5}, - {"IsComplex", Const, 5}, - {"IsConstType", Const, 5}, - {"IsFloat", Const, 5}, - {"IsInteger", Const, 5}, - {"IsInterface", Func, 5}, - {"IsNumeric", Const, 5}, - {"IsOrdered", Const, 5}, - {"IsString", Const, 5}, - {"IsUnsigned", Const, 5}, - {"IsUntyped", Const, 5}, - {"Label", Type, 5}, - {"LookupFieldOrMethod", Func, 5}, - {"Map", Type, 5}, - {"MethodExpr", Const, 5}, - {"MethodSet", Type, 5}, - {"MethodVal", Const, 5}, - {"MissingMethod", Func, 5}, - {"Named", Type, 5}, - {"NewAlias", Func, 22}, - {"NewArray", Func, 5}, - {"NewChan", Func, 5}, - {"NewChecker", Func, 5}, - {"NewConst", Func, 5}, - {"NewContext", Func, 18}, - {"NewField", Func, 5}, - {"NewFunc", Func, 5}, - {"NewInterface", Func, 5}, - {"NewInterfaceType", Func, 11}, - {"NewLabel", Func, 5}, - {"NewMap", Func, 5}, - {"NewMethodSet", Func, 5}, - {"NewNamed", Func, 5}, - {"NewPackage", Func, 5}, - {"NewParam", Func, 5}, - {"NewPkgName", Func, 5}, - {"NewPointer", Func, 5}, - {"NewScope", Func, 5}, - {"NewSignature", Func, 5}, - {"NewSignatureType", Func, 18}, - {"NewSlice", Func, 5}, - {"NewStruct", Func, 5}, - {"NewTerm", Func, 18}, - {"NewTuple", Func, 5}, - {"NewTypeName", Func, 5}, - {"NewTypeParam", Func, 18}, - {"NewUnion", Func, 18}, - {"NewVar", Func, 5}, - {"Nil", Type, 5}, - {"Object", Type, 5}, - {"ObjectString", Func, 5}, - {"Package", Type, 5}, - {"PkgName", Type, 5}, - {"Pointer", Type, 5}, - {"Qualifier", Type, 5}, - {"RecvOnly", Const, 5}, - {"RelativeTo", Func, 5}, - {"Rune", Const, 5}, - {"Satisfies", Func, 20}, - {"Scope", Type, 5}, - {"Selection", Type, 5}, - {"SelectionKind", Type, 5}, - {"SelectionString", Func, 5}, - {"SendOnly", Const, 5}, - {"SendRecv", Const, 5}, - {"Signature", Type, 5}, - {"Sizes", Type, 5}, - {"SizesFor", Func, 9}, - {"Slice", Type, 5}, - {"StdSizes", Type, 5}, - {"StdSizes.MaxAlign", Field, 5}, - {"StdSizes.WordSize", Field, 5}, - {"String", Const, 5}, - {"Struct", Type, 5}, - {"Term", Type, 18}, - {"Tuple", Type, 5}, - {"Typ", Var, 5}, - {"Type", Type, 5}, - {"TypeAndValue", Type, 5}, - {"TypeAndValue.Type", Field, 5}, - {"TypeAndValue.Value", Field, 5}, - {"TypeList", Type, 18}, - {"TypeName", Type, 5}, - {"TypeParam", Type, 18}, - {"TypeParamList", Type, 18}, - {"TypeString", Func, 5}, - {"Uint", Const, 5}, - {"Uint16", Const, 5}, - {"Uint32", Const, 5}, - {"Uint64", Const, 5}, - {"Uint8", Const, 5}, - {"Uintptr", Const, 5}, - {"Unalias", Func, 22}, - {"Union", Type, 18}, - {"Universe", Var, 5}, - {"Unsafe", Var, 5}, - {"UnsafePointer", Const, 5}, - {"UntypedBool", Const, 5}, - {"UntypedComplex", Const, 5}, - {"UntypedFloat", Const, 5}, - {"UntypedInt", Const, 5}, - {"UntypedNil", Const, 5}, - {"UntypedRune", Const, 5}, - {"UntypedString", Const, 5}, - {"Var", Type, 5}, - {"WriteExpr", Func, 5}, - {"WriteSignature", Func, 5}, - {"WriteType", Func, 5}, + {"(*Alias).Obj", Method, 22, ""}, + {"(*Alias).Origin", Method, 23, ""}, + {"(*Alias).Rhs", Method, 23, ""}, + {"(*Alias).SetTypeParams", Method, 23, ""}, + {"(*Alias).String", Method, 22, ""}, + {"(*Alias).TypeArgs", Method, 23, ""}, + {"(*Alias).TypeParams", Method, 23, ""}, + {"(*Alias).Underlying", Method, 22, ""}, + {"(*ArgumentError).Error", Method, 18, ""}, + {"(*ArgumentError).Unwrap", Method, 18, ""}, + {"(*Array).Elem", Method, 5, ""}, + {"(*Array).Len", Method, 5, ""}, + {"(*Array).String", Method, 5, ""}, + {"(*Array).Underlying", Method, 5, ""}, + {"(*Basic).Info", Method, 5, ""}, + {"(*Basic).Kind", Method, 5, ""}, + {"(*Basic).Name", Method, 5, ""}, + {"(*Basic).String", Method, 5, ""}, + {"(*Basic).Underlying", Method, 5, ""}, + {"(*Builtin).Exported", Method, 5, ""}, + {"(*Builtin).Id", Method, 5, ""}, + {"(*Builtin).Name", Method, 5, ""}, + {"(*Builtin).Parent", Method, 5, ""}, + {"(*Builtin).Pkg", Method, 5, ""}, + {"(*Builtin).Pos", Method, 5, ""}, + {"(*Builtin).String", Method, 5, ""}, + {"(*Builtin).Type", Method, 5, ""}, + {"(*Chan).Dir", Method, 5, ""}, + {"(*Chan).Elem", Method, 5, ""}, + {"(*Chan).String", Method, 5, ""}, + {"(*Chan).Underlying", Method, 5, ""}, + {"(*Checker).Files", Method, 5, ""}, + {"(*Config).Check", Method, 5, ""}, + {"(*Const).Exported", Method, 5, ""}, + {"(*Const).Id", Method, 5, ""}, + {"(*Const).Name", Method, 5, ""}, + {"(*Const).Parent", Method, 5, ""}, + {"(*Const).Pkg", Method, 5, ""}, + {"(*Const).Pos", Method, 5, ""}, + {"(*Const).String", Method, 5, ""}, + {"(*Const).Type", Method, 5, ""}, + {"(*Const).Val", Method, 5, ""}, + {"(*Func).Exported", Method, 5, ""}, + {"(*Func).FullName", Method, 5, ""}, + {"(*Func).Id", Method, 5, ""}, + {"(*Func).Name", Method, 5, ""}, + {"(*Func).Origin", Method, 19, ""}, + {"(*Func).Parent", Method, 5, ""}, + {"(*Func).Pkg", Method, 5, ""}, + {"(*Func).Pos", Method, 5, ""}, + {"(*Func).Scope", Method, 5, ""}, + {"(*Func).Signature", Method, 23, ""}, + {"(*Func).String", Method, 5, ""}, + {"(*Func).Type", Method, 5, ""}, + {"(*Info).ObjectOf", Method, 5, ""}, + {"(*Info).PkgNameOf", Method, 22, ""}, + {"(*Info).TypeOf", Method, 5, ""}, + {"(*Initializer).String", Method, 5, ""}, + {"(*Interface).Complete", Method, 5, ""}, + {"(*Interface).Embedded", Method, 5, ""}, + {"(*Interface).EmbeddedType", Method, 11, ""}, + {"(*Interface).EmbeddedTypes", Method, 24, ""}, + {"(*Interface).Empty", Method, 5, ""}, + {"(*Interface).ExplicitMethod", Method, 5, ""}, + {"(*Interface).ExplicitMethods", Method, 24, ""}, + {"(*Interface).IsComparable", Method, 18, ""}, + {"(*Interface).IsImplicit", Method, 18, ""}, + {"(*Interface).IsMethodSet", Method, 18, ""}, + {"(*Interface).MarkImplicit", Method, 18, ""}, + {"(*Interface).Method", Method, 5, ""}, + {"(*Interface).Methods", Method, 24, ""}, + {"(*Interface).NumEmbeddeds", Method, 5, ""}, + {"(*Interface).NumExplicitMethods", Method, 5, ""}, + {"(*Interface).NumMethods", Method, 5, ""}, + {"(*Interface).String", Method, 5, ""}, + {"(*Interface).Underlying", Method, 5, ""}, + {"(*Label).Exported", Method, 5, ""}, + {"(*Label).Id", Method, 5, ""}, + {"(*Label).Name", Method, 5, ""}, + {"(*Label).Parent", Method, 5, ""}, + {"(*Label).Pkg", Method, 5, ""}, + {"(*Label).Pos", Method, 5, ""}, + {"(*Label).String", Method, 5, ""}, + {"(*Label).Type", Method, 5, ""}, + {"(*Map).Elem", Method, 5, ""}, + {"(*Map).Key", Method, 5, ""}, + {"(*Map).String", Method, 5, ""}, + {"(*Map).Underlying", Method, 5, ""}, + {"(*MethodSet).At", Method, 5, ""}, + {"(*MethodSet).Len", Method, 5, ""}, + {"(*MethodSet).Lookup", Method, 5, ""}, + {"(*MethodSet).Methods", Method, 24, ""}, + {"(*MethodSet).String", Method, 5, ""}, + {"(*Named).AddMethod", Method, 5, ""}, + {"(*Named).Method", Method, 5, ""}, + {"(*Named).Methods", Method, 24, ""}, + {"(*Named).NumMethods", Method, 5, ""}, + {"(*Named).Obj", Method, 5, ""}, + {"(*Named).Origin", Method, 18, ""}, + {"(*Named).SetTypeParams", Method, 18, ""}, + {"(*Named).SetUnderlying", Method, 5, ""}, + {"(*Named).String", Method, 5, ""}, + {"(*Named).TypeArgs", Method, 18, ""}, + {"(*Named).TypeParams", Method, 18, ""}, + {"(*Named).Underlying", Method, 5, ""}, + {"(*Nil).Exported", Method, 5, ""}, + {"(*Nil).Id", Method, 5, ""}, + {"(*Nil).Name", Method, 5, ""}, + {"(*Nil).Parent", Method, 5, ""}, + {"(*Nil).Pkg", Method, 5, ""}, + {"(*Nil).Pos", Method, 5, ""}, + {"(*Nil).String", Method, 5, ""}, + {"(*Nil).Type", Method, 5, ""}, + {"(*Package).Complete", Method, 5, ""}, + {"(*Package).GoVersion", Method, 21, ""}, + {"(*Package).Imports", Method, 5, ""}, + {"(*Package).MarkComplete", Method, 5, ""}, + {"(*Package).Name", Method, 5, ""}, + {"(*Package).Path", Method, 5, ""}, + {"(*Package).Scope", Method, 5, ""}, + {"(*Package).SetImports", Method, 5, ""}, + {"(*Package).SetName", Method, 6, ""}, + {"(*Package).String", Method, 5, ""}, + {"(*PkgName).Exported", Method, 5, ""}, + {"(*PkgName).Id", Method, 5, ""}, + {"(*PkgName).Imported", Method, 5, ""}, + {"(*PkgName).Name", Method, 5, ""}, + {"(*PkgName).Parent", Method, 5, ""}, + {"(*PkgName).Pkg", Method, 5, ""}, + {"(*PkgName).Pos", Method, 5, ""}, + {"(*PkgName).String", Method, 5, ""}, + {"(*PkgName).Type", Method, 5, ""}, + {"(*Pointer).Elem", Method, 5, ""}, + {"(*Pointer).String", Method, 5, ""}, + {"(*Pointer).Underlying", Method, 5, ""}, + {"(*Scope).Child", Method, 5, ""}, + {"(*Scope).Children", Method, 24, ""}, + {"(*Scope).Contains", Method, 5, ""}, + {"(*Scope).End", Method, 5, ""}, + {"(*Scope).Innermost", Method, 5, ""}, + {"(*Scope).Insert", Method, 5, ""}, + {"(*Scope).Len", Method, 5, ""}, + {"(*Scope).Lookup", Method, 5, ""}, + {"(*Scope).LookupParent", Method, 5, ""}, + {"(*Scope).Names", Method, 5, ""}, + {"(*Scope).NumChildren", Method, 5, ""}, + {"(*Scope).Parent", Method, 5, ""}, + {"(*Scope).Pos", Method, 5, ""}, + {"(*Scope).String", Method, 5, ""}, + {"(*Scope).WriteTo", Method, 5, ""}, + {"(*Selection).Index", Method, 5, ""}, + {"(*Selection).Indirect", Method, 5, ""}, + {"(*Selection).Kind", Method, 5, ""}, + {"(*Selection).Obj", Method, 5, ""}, + {"(*Selection).Recv", Method, 5, ""}, + {"(*Selection).String", Method, 5, ""}, + {"(*Selection).Type", Method, 5, ""}, + {"(*Signature).Params", Method, 5, ""}, + {"(*Signature).Recv", Method, 5, ""}, + {"(*Signature).RecvTypeParams", Method, 18, ""}, + {"(*Signature).Results", Method, 5, ""}, + {"(*Signature).String", Method, 5, ""}, + {"(*Signature).TypeParams", Method, 18, ""}, + {"(*Signature).Underlying", Method, 5, ""}, + {"(*Signature).Variadic", Method, 5, ""}, + {"(*Slice).Elem", Method, 5, ""}, + {"(*Slice).String", Method, 5, ""}, + {"(*Slice).Underlying", Method, 5, ""}, + {"(*StdSizes).Alignof", Method, 5, ""}, + {"(*StdSizes).Offsetsof", Method, 5, ""}, + {"(*StdSizes).Sizeof", Method, 5, ""}, + {"(*Struct).Field", Method, 5, ""}, + {"(*Struct).Fields", Method, 24, ""}, + {"(*Struct).NumFields", Method, 5, ""}, + {"(*Struct).String", Method, 5, ""}, + {"(*Struct).Tag", Method, 5, ""}, + {"(*Struct).Underlying", Method, 5, ""}, + {"(*Term).String", Method, 18, ""}, + {"(*Term).Tilde", Method, 18, ""}, + {"(*Term).Type", Method, 18, ""}, + {"(*Tuple).At", Method, 5, ""}, + {"(*Tuple).Len", Method, 5, ""}, + {"(*Tuple).String", Method, 5, ""}, + {"(*Tuple).Underlying", Method, 5, ""}, + {"(*Tuple).Variables", Method, 24, ""}, + {"(*TypeList).At", Method, 18, ""}, + {"(*TypeList).Len", Method, 18, ""}, + {"(*TypeList).Types", Method, 24, ""}, + {"(*TypeName).Exported", Method, 5, ""}, + {"(*TypeName).Id", Method, 5, ""}, + {"(*TypeName).IsAlias", Method, 9, ""}, + {"(*TypeName).Name", Method, 5, ""}, + {"(*TypeName).Parent", Method, 5, ""}, + {"(*TypeName).Pkg", Method, 5, ""}, + {"(*TypeName).Pos", Method, 5, ""}, + {"(*TypeName).String", Method, 5, ""}, + {"(*TypeName).Type", Method, 5, ""}, + {"(*TypeParam).Constraint", Method, 18, ""}, + {"(*TypeParam).Index", Method, 18, ""}, + {"(*TypeParam).Obj", Method, 18, ""}, + {"(*TypeParam).SetConstraint", Method, 18, ""}, + {"(*TypeParam).String", Method, 18, ""}, + {"(*TypeParam).Underlying", Method, 18, ""}, + {"(*TypeParamList).At", Method, 18, ""}, + {"(*TypeParamList).Len", Method, 18, ""}, + {"(*TypeParamList).TypeParams", Method, 24, ""}, + {"(*Union).Len", Method, 18, ""}, + {"(*Union).String", Method, 18, ""}, + {"(*Union).Term", Method, 18, ""}, + {"(*Union).Terms", Method, 24, ""}, + {"(*Union).Underlying", Method, 18, ""}, + {"(*Var).Anonymous", Method, 5, ""}, + {"(*Var).Embedded", Method, 11, ""}, + {"(*Var).Exported", Method, 5, ""}, + {"(*Var).Id", Method, 5, ""}, + {"(*Var).IsField", Method, 5, ""}, + {"(*Var).Kind", Method, 25, ""}, + {"(*Var).Name", Method, 5, ""}, + {"(*Var).Origin", Method, 19, ""}, + {"(*Var).Parent", Method, 5, ""}, + {"(*Var).Pkg", Method, 5, ""}, + {"(*Var).Pos", Method, 5, ""}, + {"(*Var).SetKind", Method, 25, ""}, + {"(*Var).String", Method, 5, ""}, + {"(*Var).Type", Method, 5, ""}, + {"(Checker).ObjectOf", Method, 5, ""}, + {"(Checker).PkgNameOf", Method, 22, ""}, + {"(Checker).TypeOf", Method, 5, ""}, + {"(Error).Error", Method, 5, ""}, + {"(TypeAndValue).Addressable", Method, 5, ""}, + {"(TypeAndValue).Assignable", Method, 5, ""}, + {"(TypeAndValue).HasOk", Method, 5, ""}, + {"(TypeAndValue).IsBuiltin", Method, 5, ""}, + {"(TypeAndValue).IsNil", Method, 5, ""}, + {"(TypeAndValue).IsType", Method, 5, ""}, + {"(TypeAndValue).IsValue", Method, 5, ""}, + {"(TypeAndValue).IsVoid", Method, 5, ""}, + {"(VarKind).String", Method, 25, ""}, + {"Alias", Type, 22, ""}, + {"ArgumentError", Type, 18, ""}, + {"ArgumentError.Err", Field, 18, ""}, + {"ArgumentError.Index", Field, 18, ""}, + {"Array", Type, 5, ""}, + {"AssertableTo", Func, 5, "func(V *Interface, T Type) bool"}, + {"AssignableTo", Func, 5, "func(V Type, T Type) bool"}, + {"Basic", Type, 5, ""}, + {"BasicInfo", Type, 5, ""}, + {"BasicKind", Type, 5, ""}, + {"Bool", Const, 5, ""}, + {"Builtin", Type, 5, ""}, + {"Byte", Const, 5, ""}, + {"Chan", Type, 5, ""}, + {"ChanDir", Type, 5, ""}, + {"CheckExpr", Func, 13, "func(fset *token.FileSet, pkg *Package, pos token.Pos, expr ast.Expr, info *Info) (err error)"}, + {"Checker", Type, 5, ""}, + {"Checker.Info", Field, 5, ""}, + {"Comparable", Func, 5, "func(T Type) bool"}, + {"Complex128", Const, 5, ""}, + {"Complex64", Const, 5, ""}, + {"Config", Type, 5, ""}, + {"Config.Context", Field, 18, ""}, + {"Config.DisableUnusedImportCheck", Field, 5, ""}, + {"Config.Error", Field, 5, ""}, + {"Config.FakeImportC", Field, 5, ""}, + {"Config.GoVersion", Field, 18, ""}, + {"Config.IgnoreFuncBodies", Field, 5, ""}, + {"Config.Importer", Field, 5, ""}, + {"Config.Sizes", Field, 5, ""}, + {"Const", Type, 5, ""}, + {"Context", Type, 18, ""}, + {"ConvertibleTo", Func, 5, "func(V Type, T Type) bool"}, + {"DefPredeclaredTestFuncs", Func, 5, "func()"}, + {"Default", Func, 8, "func(t Type) Type"}, + {"Error", Type, 5, ""}, + {"Error.Fset", Field, 5, ""}, + {"Error.Msg", Field, 5, ""}, + {"Error.Pos", Field, 5, ""}, + {"Error.Soft", Field, 5, ""}, + {"Eval", Func, 5, "func(fset *token.FileSet, pkg *Package, pos token.Pos, expr string) (_ TypeAndValue, err error)"}, + {"ExprString", Func, 5, "func(x ast.Expr) string"}, + {"FieldVal", Const, 5, ""}, + {"FieldVar", Const, 25, ""}, + {"Float32", Const, 5, ""}, + {"Float64", Const, 5, ""}, + {"Func", Type, 5, ""}, + {"Id", Func, 5, "func(pkg *Package, name string) string"}, + {"Identical", Func, 5, "func(x Type, y Type) bool"}, + {"IdenticalIgnoreTags", Func, 8, "func(x Type, y Type) bool"}, + {"Implements", Func, 5, "func(V Type, T *Interface) bool"}, + {"ImportMode", Type, 6, ""}, + {"Importer", Type, 5, ""}, + {"ImporterFrom", Type, 6, ""}, + {"Info", Type, 5, ""}, + {"Info.Defs", Field, 5, ""}, + {"Info.FileVersions", Field, 22, ""}, + {"Info.Implicits", Field, 5, ""}, + {"Info.InitOrder", Field, 5, ""}, + {"Info.Instances", Field, 18, ""}, + {"Info.Scopes", Field, 5, ""}, + {"Info.Selections", Field, 5, ""}, + {"Info.Types", Field, 5, ""}, + {"Info.Uses", Field, 5, ""}, + {"Initializer", Type, 5, ""}, + {"Initializer.Lhs", Field, 5, ""}, + {"Initializer.Rhs", Field, 5, ""}, + {"Instance", Type, 18, ""}, + {"Instance.Type", Field, 18, ""}, + {"Instance.TypeArgs", Field, 18, ""}, + {"Instantiate", Func, 18, "func(ctxt *Context, orig Type, targs []Type, validate bool) (Type, error)"}, + {"Int", Const, 5, ""}, + {"Int16", Const, 5, ""}, + {"Int32", Const, 5, ""}, + {"Int64", Const, 5, ""}, + {"Int8", Const, 5, ""}, + {"Interface", Type, 5, ""}, + {"Invalid", Const, 5, ""}, + {"IsBoolean", Const, 5, ""}, + {"IsComplex", Const, 5, ""}, + {"IsConstType", Const, 5, ""}, + {"IsFloat", Const, 5, ""}, + {"IsInteger", Const, 5, ""}, + {"IsInterface", Func, 5, "func(t Type) bool"}, + {"IsNumeric", Const, 5, ""}, + {"IsOrdered", Const, 5, ""}, + {"IsString", Const, 5, ""}, + {"IsUnsigned", Const, 5, ""}, + {"IsUntyped", Const, 5, ""}, + {"Label", Type, 5, ""}, + {"LocalVar", Const, 25, ""}, + {"LookupFieldOrMethod", Func, 5, "func(T Type, addressable bool, pkg *Package, name string) (obj Object, index []int, indirect bool)"}, + {"LookupSelection", Func, 25, "func(T Type, addressable bool, pkg *Package, name string) (Selection, bool)"}, + {"Map", Type, 5, ""}, + {"MethodExpr", Const, 5, ""}, + {"MethodSet", Type, 5, ""}, + {"MethodVal", Const, 5, ""}, + {"MissingMethod", Func, 5, "func(V Type, T *Interface, static bool) (method *Func, wrongType bool)"}, + {"Named", Type, 5, ""}, + {"NewAlias", Func, 22, "func(obj *TypeName, rhs Type) *Alias"}, + {"NewArray", Func, 5, "func(elem Type, len int64) *Array"}, + {"NewChan", Func, 5, "func(dir ChanDir, elem Type) *Chan"}, + {"NewChecker", Func, 5, "func(conf *Config, fset *token.FileSet, pkg *Package, info *Info) *Checker"}, + {"NewConst", Func, 5, "func(pos token.Pos, pkg *Package, name string, typ Type, val constant.Value) *Const"}, + {"NewContext", Func, 18, "func() *Context"}, + {"NewField", Func, 5, "func(pos token.Pos, pkg *Package, name string, typ Type, embedded bool) *Var"}, + {"NewFunc", Func, 5, "func(pos token.Pos, pkg *Package, name string, sig *Signature) *Func"}, + {"NewInterface", Func, 5, "func(methods []*Func, embeddeds []*Named) *Interface"}, + {"NewInterfaceType", Func, 11, "func(methods []*Func, embeddeds []Type) *Interface"}, + {"NewLabel", Func, 5, "func(pos token.Pos, pkg *Package, name string) *Label"}, + {"NewMap", Func, 5, "func(key Type, elem Type) *Map"}, + {"NewMethodSet", Func, 5, "func(T Type) *MethodSet"}, + {"NewNamed", Func, 5, "func(obj *TypeName, underlying Type, methods []*Func) *Named"}, + {"NewPackage", Func, 5, "func(path string, name string) *Package"}, + {"NewParam", Func, 5, "func(pos token.Pos, pkg *Package, name string, typ Type) *Var"}, + {"NewPkgName", Func, 5, "func(pos token.Pos, pkg *Package, name string, imported *Package) *PkgName"}, + {"NewPointer", Func, 5, "func(elem Type) *Pointer"}, + {"NewScope", Func, 5, "func(parent *Scope, pos token.Pos, end token.Pos, comment string) *Scope"}, + {"NewSignature", Func, 5, "func(recv *Var, params *Tuple, results *Tuple, variadic bool) *Signature"}, + {"NewSignatureType", Func, 18, "func(recv *Var, recvTypeParams []*TypeParam, typeParams []*TypeParam, params *Tuple, results *Tuple, variadic bool) *Signature"}, + {"NewSlice", Func, 5, "func(elem Type) *Slice"}, + {"NewStruct", Func, 5, "func(fields []*Var, tags []string) *Struct"}, + {"NewTerm", Func, 18, "func(tilde bool, typ Type) *Term"}, + {"NewTuple", Func, 5, "func(x ...*Var) *Tuple"}, + {"NewTypeName", Func, 5, "func(pos token.Pos, pkg *Package, name string, typ Type) *TypeName"}, + {"NewTypeParam", Func, 18, "func(obj *TypeName, constraint Type) *TypeParam"}, + {"NewUnion", Func, 18, "func(terms []*Term) *Union"}, + {"NewVar", Func, 5, "func(pos token.Pos, pkg *Package, name string, typ Type) *Var"}, + {"Nil", Type, 5, ""}, + {"Object", Type, 5, ""}, + {"ObjectString", Func, 5, "func(obj Object, qf Qualifier) string"}, + {"Package", Type, 5, ""}, + {"PackageVar", Const, 25, ""}, + {"ParamVar", Const, 25, ""}, + {"PkgName", Type, 5, ""}, + {"Pointer", Type, 5, ""}, + {"Qualifier", Type, 5, ""}, + {"RecvOnly", Const, 5, ""}, + {"RecvVar", Const, 25, ""}, + {"RelativeTo", Func, 5, "func(pkg *Package) Qualifier"}, + {"ResultVar", Const, 25, ""}, + {"Rune", Const, 5, ""}, + {"Satisfies", Func, 20, "func(V Type, T *Interface) bool"}, + {"Scope", Type, 5, ""}, + {"Selection", Type, 5, ""}, + {"SelectionKind", Type, 5, ""}, + {"SelectionString", Func, 5, "func(s *Selection, qf Qualifier) string"}, + {"SendOnly", Const, 5, ""}, + {"SendRecv", Const, 5, ""}, + {"Signature", Type, 5, ""}, + {"Sizes", Type, 5, ""}, + {"SizesFor", Func, 9, "func(compiler string, arch string) Sizes"}, + {"Slice", Type, 5, ""}, + {"StdSizes", Type, 5, ""}, + {"StdSizes.MaxAlign", Field, 5, ""}, + {"StdSizes.WordSize", Field, 5, ""}, + {"String", Const, 5, ""}, + {"Struct", Type, 5, ""}, + {"Term", Type, 18, ""}, + {"Tuple", Type, 5, ""}, + {"Typ", Var, 5, ""}, + {"Type", Type, 5, ""}, + {"TypeAndValue", Type, 5, ""}, + {"TypeAndValue.Type", Field, 5, ""}, + {"TypeAndValue.Value", Field, 5, ""}, + {"TypeList", Type, 18, ""}, + {"TypeName", Type, 5, ""}, + {"TypeParam", Type, 18, ""}, + {"TypeParamList", Type, 18, ""}, + {"TypeString", Func, 5, "func(typ Type, qf Qualifier) string"}, + {"Uint", Const, 5, ""}, + {"Uint16", Const, 5, ""}, + {"Uint32", Const, 5, ""}, + {"Uint64", Const, 5, ""}, + {"Uint8", Const, 5, ""}, + {"Uintptr", Const, 5, ""}, + {"Unalias", Func, 22, "func(t Type) Type"}, + {"Union", Type, 18, ""}, + {"Universe", Var, 5, ""}, + {"Unsafe", Var, 5, ""}, + {"UnsafePointer", Const, 5, ""}, + {"UntypedBool", Const, 5, ""}, + {"UntypedComplex", Const, 5, ""}, + {"UntypedFloat", Const, 5, ""}, + {"UntypedInt", Const, 5, ""}, + {"UntypedNil", Const, 5, ""}, + {"UntypedRune", Const, 5, ""}, + {"UntypedString", Const, 5, ""}, + {"Var", Type, 5, ""}, + {"VarKind", Type, 25, ""}, + {"WriteExpr", Func, 5, "func(buf *bytes.Buffer, x ast.Expr)"}, + {"WriteSignature", Func, 5, "func(buf *bytes.Buffer, sig *Signature, qf Qualifier)"}, + {"WriteType", Func, 5, "func(buf *bytes.Buffer, typ Type, qf Qualifier)"}, }, "go/version": { - {"Compare", Func, 22}, - {"IsValid", Func, 22}, - {"Lang", Func, 22}, + {"Compare", Func, 22, "func(x string, y string) int"}, + {"IsValid", Func, 22, "func(x string) bool"}, + {"Lang", Func, 22, "func(x string) string"}, }, "hash": { - {"Hash", Type, 0}, - {"Hash32", Type, 0}, - {"Hash64", Type, 0}, + {"Cloner", Type, 25, ""}, + {"Hash", Type, 0, ""}, + {"Hash32", Type, 0, ""}, + {"Hash64", Type, 0, ""}, + {"XOF", Type, 25, ""}, }, "hash/adler32": { - {"Checksum", Func, 0}, - {"New", Func, 0}, - {"Size", Const, 0}, + {"Checksum", Func, 0, "func(data []byte) uint32"}, + {"New", Func, 0, "func() hash.Hash32"}, + {"Size", Const, 0, ""}, }, "hash/crc32": { - {"Castagnoli", Const, 0}, - {"Checksum", Func, 0}, - {"ChecksumIEEE", Func, 0}, - {"IEEE", Const, 0}, - {"IEEETable", Var, 0}, - {"Koopman", Const, 0}, - {"MakeTable", Func, 0}, - {"New", Func, 0}, - {"NewIEEE", Func, 0}, - {"Size", Const, 0}, - {"Table", Type, 0}, - {"Update", Func, 0}, + {"Castagnoli", Const, 0, ""}, + {"Checksum", Func, 0, "func(data []byte, tab *Table) uint32"}, + {"ChecksumIEEE", Func, 0, "func(data []byte) uint32"}, + {"IEEE", Const, 0, ""}, + {"IEEETable", Var, 0, ""}, + {"Koopman", Const, 0, ""}, + {"MakeTable", Func, 0, "func(poly uint32) *Table"}, + {"New", Func, 0, "func(tab *Table) hash.Hash32"}, + {"NewIEEE", Func, 0, "func() hash.Hash32"}, + {"Size", Const, 0, ""}, + {"Table", Type, 0, ""}, + {"Update", Func, 0, "func(crc uint32, tab *Table, p []byte) uint32"}, }, "hash/crc64": { - {"Checksum", Func, 0}, - {"ECMA", Const, 0}, - {"ISO", Const, 0}, - {"MakeTable", Func, 0}, - {"New", Func, 0}, - {"Size", Const, 0}, - {"Table", Type, 0}, - {"Update", Func, 0}, + {"Checksum", Func, 0, "func(data []byte, tab *Table) uint64"}, + {"ECMA", Const, 0, ""}, + {"ISO", Const, 0, ""}, + {"MakeTable", Func, 0, "func(poly uint64) *Table"}, + {"New", Func, 0, "func(tab *Table) hash.Hash64"}, + {"Size", Const, 0, ""}, + {"Table", Type, 0, ""}, + {"Update", Func, 0, "func(crc uint64, tab *Table, p []byte) uint64"}, }, "hash/fnv": { - {"New128", Func, 9}, - {"New128a", Func, 9}, - {"New32", Func, 0}, - {"New32a", Func, 0}, - {"New64", Func, 0}, - {"New64a", Func, 0}, + {"New128", Func, 9, "func() hash.Hash"}, + {"New128a", Func, 9, "func() hash.Hash"}, + {"New32", Func, 0, "func() hash.Hash32"}, + {"New32a", Func, 0, "func() hash.Hash32"}, + {"New64", Func, 0, "func() hash.Hash64"}, + {"New64a", Func, 0, "func() hash.Hash64"}, }, "hash/maphash": { - {"(*Hash).BlockSize", Method, 14}, - {"(*Hash).Reset", Method, 14}, - {"(*Hash).Seed", Method, 14}, - {"(*Hash).SetSeed", Method, 14}, - {"(*Hash).Size", Method, 14}, - {"(*Hash).Sum", Method, 14}, - {"(*Hash).Sum64", Method, 14}, - {"(*Hash).Write", Method, 14}, - {"(*Hash).WriteByte", Method, 14}, - {"(*Hash).WriteString", Method, 14}, - {"Bytes", Func, 19}, - {"Comparable", Func, 24}, - {"Hash", Type, 14}, - {"MakeSeed", Func, 14}, - {"Seed", Type, 14}, - {"String", Func, 19}, - {"WriteComparable", Func, 24}, + {"(*Hash).BlockSize", Method, 14, ""}, + {"(*Hash).Clone", Method, 25, ""}, + {"(*Hash).Reset", Method, 14, ""}, + {"(*Hash).Seed", Method, 14, ""}, + {"(*Hash).SetSeed", Method, 14, ""}, + {"(*Hash).Size", Method, 14, ""}, + {"(*Hash).Sum", Method, 14, ""}, + {"(*Hash).Sum64", Method, 14, ""}, + {"(*Hash).Write", Method, 14, ""}, + {"(*Hash).WriteByte", Method, 14, ""}, + {"(*Hash).WriteString", Method, 14, ""}, + {"Bytes", Func, 19, "func(seed Seed, b []byte) uint64"}, + {"Comparable", Func, 24, "func[T comparable](seed Seed, v T) uint64"}, + {"Hash", Type, 14, ""}, + {"MakeSeed", Func, 14, "func() Seed"}, + {"Seed", Type, 14, ""}, + {"String", Func, 19, "func(seed Seed, s string) uint64"}, + {"WriteComparable", Func, 24, "func[T comparable](h *Hash, x T)"}, }, "html": { - {"EscapeString", Func, 0}, - {"UnescapeString", Func, 0}, + {"EscapeString", Func, 0, "func(s string) string"}, + {"UnescapeString", Func, 0, "func(s string) string"}, }, "html/template": { - {"(*Error).Error", Method, 0}, - {"(*Template).AddParseTree", Method, 0}, - {"(*Template).Clone", Method, 0}, - {"(*Template).DefinedTemplates", Method, 6}, - {"(*Template).Delims", Method, 0}, - {"(*Template).Execute", Method, 0}, - {"(*Template).ExecuteTemplate", Method, 0}, - {"(*Template).Funcs", Method, 0}, - {"(*Template).Lookup", Method, 0}, - {"(*Template).Name", Method, 0}, - {"(*Template).New", Method, 0}, - {"(*Template).Option", Method, 5}, - {"(*Template).Parse", Method, 0}, - {"(*Template).ParseFS", Method, 16}, - {"(*Template).ParseFiles", Method, 0}, - {"(*Template).ParseGlob", Method, 0}, - {"(*Template).Templates", Method, 0}, - {"CSS", Type, 0}, - {"ErrAmbigContext", Const, 0}, - {"ErrBadHTML", Const, 0}, - {"ErrBranchEnd", Const, 0}, - {"ErrEndContext", Const, 0}, - {"ErrJSTemplate", Const, 21}, - {"ErrNoSuchTemplate", Const, 0}, - {"ErrOutputContext", Const, 0}, - {"ErrPartialCharset", Const, 0}, - {"ErrPartialEscape", Const, 0}, - {"ErrPredefinedEscaper", Const, 9}, - {"ErrRangeLoopReentry", Const, 0}, - {"ErrSlashAmbig", Const, 0}, - {"Error", Type, 0}, - {"Error.Description", Field, 0}, - {"Error.ErrorCode", Field, 0}, - {"Error.Line", Field, 0}, - {"Error.Name", Field, 0}, - {"Error.Node", Field, 4}, - {"ErrorCode", Type, 0}, - {"FuncMap", Type, 0}, - {"HTML", Type, 0}, - {"HTMLAttr", Type, 0}, - {"HTMLEscape", Func, 0}, - {"HTMLEscapeString", Func, 0}, - {"HTMLEscaper", Func, 0}, - {"IsTrue", Func, 6}, - {"JS", Type, 0}, - {"JSEscape", Func, 0}, - {"JSEscapeString", Func, 0}, - {"JSEscaper", Func, 0}, - {"JSStr", Type, 0}, - {"Must", Func, 0}, - {"New", Func, 0}, - {"OK", Const, 0}, - {"ParseFS", Func, 16}, - {"ParseFiles", Func, 0}, - {"ParseGlob", Func, 0}, - {"Srcset", Type, 10}, - {"Template", Type, 0}, - {"Template.Tree", Field, 2}, - {"URL", Type, 0}, - {"URLQueryEscaper", Func, 0}, + {"(*Error).Error", Method, 0, ""}, + {"(*Template).AddParseTree", Method, 0, ""}, + {"(*Template).Clone", Method, 0, ""}, + {"(*Template).DefinedTemplates", Method, 6, ""}, + {"(*Template).Delims", Method, 0, ""}, + {"(*Template).Execute", Method, 0, ""}, + {"(*Template).ExecuteTemplate", Method, 0, ""}, + {"(*Template).Funcs", Method, 0, ""}, + {"(*Template).Lookup", Method, 0, ""}, + {"(*Template).Name", Method, 0, ""}, + {"(*Template).New", Method, 0, ""}, + {"(*Template).Option", Method, 5, ""}, + {"(*Template).Parse", Method, 0, ""}, + {"(*Template).ParseFS", Method, 16, ""}, + {"(*Template).ParseFiles", Method, 0, ""}, + {"(*Template).ParseGlob", Method, 0, ""}, + {"(*Template).Templates", Method, 0, ""}, + {"CSS", Type, 0, ""}, + {"ErrAmbigContext", Const, 0, ""}, + {"ErrBadHTML", Const, 0, ""}, + {"ErrBranchEnd", Const, 0, ""}, + {"ErrEndContext", Const, 0, ""}, + {"ErrJSTemplate", Const, 21, ""}, + {"ErrNoSuchTemplate", Const, 0, ""}, + {"ErrOutputContext", Const, 0, ""}, + {"ErrPartialCharset", Const, 0, ""}, + {"ErrPartialEscape", Const, 0, ""}, + {"ErrPredefinedEscaper", Const, 9, ""}, + {"ErrRangeLoopReentry", Const, 0, ""}, + {"ErrSlashAmbig", Const, 0, ""}, + {"Error", Type, 0, ""}, + {"Error.Description", Field, 0, ""}, + {"Error.ErrorCode", Field, 0, ""}, + {"Error.Line", Field, 0, ""}, + {"Error.Name", Field, 0, ""}, + {"Error.Node", Field, 4, ""}, + {"ErrorCode", Type, 0, ""}, + {"FuncMap", Type, 0, ""}, + {"HTML", Type, 0, ""}, + {"HTMLAttr", Type, 0, ""}, + {"HTMLEscape", Func, 0, "func(w io.Writer, b []byte)"}, + {"HTMLEscapeString", Func, 0, "func(s string) string"}, + {"HTMLEscaper", Func, 0, "func(args ...any) string"}, + {"IsTrue", Func, 6, "func(val any) (truth bool, ok bool)"}, + {"JS", Type, 0, ""}, + {"JSEscape", Func, 0, "func(w io.Writer, b []byte)"}, + {"JSEscapeString", Func, 0, "func(s string) string"}, + {"JSEscaper", Func, 0, "func(args ...any) string"}, + {"JSStr", Type, 0, ""}, + {"Must", Func, 0, "func(t *Template, err error) *Template"}, + {"New", Func, 0, "func(name string) *Template"}, + {"OK", Const, 0, ""}, + {"ParseFS", Func, 16, "func(fs fs.FS, patterns ...string) (*Template, error)"}, + {"ParseFiles", Func, 0, "func(filenames ...string) (*Template, error)"}, + {"ParseGlob", Func, 0, "func(pattern string) (*Template, error)"}, + {"Srcset", Type, 10, ""}, + {"Template", Type, 0, ""}, + {"Template.Tree", Field, 2, ""}, + {"URL", Type, 0, ""}, + {"URLQueryEscaper", Func, 0, "func(args ...any) string"}, }, "image": { - {"(*Alpha).AlphaAt", Method, 4}, - {"(*Alpha).At", Method, 0}, - {"(*Alpha).Bounds", Method, 0}, - {"(*Alpha).ColorModel", Method, 0}, - {"(*Alpha).Opaque", Method, 0}, - {"(*Alpha).PixOffset", Method, 0}, - {"(*Alpha).RGBA64At", Method, 17}, - {"(*Alpha).Set", Method, 0}, - {"(*Alpha).SetAlpha", Method, 0}, - {"(*Alpha).SetRGBA64", Method, 17}, - {"(*Alpha).SubImage", Method, 0}, - {"(*Alpha16).Alpha16At", Method, 4}, - {"(*Alpha16).At", Method, 0}, - {"(*Alpha16).Bounds", Method, 0}, - {"(*Alpha16).ColorModel", Method, 0}, - {"(*Alpha16).Opaque", Method, 0}, - {"(*Alpha16).PixOffset", Method, 0}, - {"(*Alpha16).RGBA64At", Method, 17}, - {"(*Alpha16).Set", Method, 0}, - {"(*Alpha16).SetAlpha16", Method, 0}, - {"(*Alpha16).SetRGBA64", Method, 17}, - {"(*Alpha16).SubImage", Method, 0}, - {"(*CMYK).At", Method, 5}, - {"(*CMYK).Bounds", Method, 5}, - {"(*CMYK).CMYKAt", Method, 5}, - {"(*CMYK).ColorModel", Method, 5}, - {"(*CMYK).Opaque", Method, 5}, - {"(*CMYK).PixOffset", Method, 5}, - {"(*CMYK).RGBA64At", Method, 17}, - {"(*CMYK).Set", Method, 5}, - {"(*CMYK).SetCMYK", Method, 5}, - {"(*CMYK).SetRGBA64", Method, 17}, - {"(*CMYK).SubImage", Method, 5}, - {"(*Gray).At", Method, 0}, - {"(*Gray).Bounds", Method, 0}, - {"(*Gray).ColorModel", Method, 0}, - {"(*Gray).GrayAt", Method, 4}, - {"(*Gray).Opaque", Method, 0}, - {"(*Gray).PixOffset", Method, 0}, - {"(*Gray).RGBA64At", Method, 17}, - {"(*Gray).Set", Method, 0}, - {"(*Gray).SetGray", Method, 0}, - {"(*Gray).SetRGBA64", Method, 17}, - {"(*Gray).SubImage", Method, 0}, - {"(*Gray16).At", Method, 0}, - {"(*Gray16).Bounds", Method, 0}, - {"(*Gray16).ColorModel", Method, 0}, - {"(*Gray16).Gray16At", Method, 4}, - {"(*Gray16).Opaque", Method, 0}, - {"(*Gray16).PixOffset", Method, 0}, - {"(*Gray16).RGBA64At", Method, 17}, - {"(*Gray16).Set", Method, 0}, - {"(*Gray16).SetGray16", Method, 0}, - {"(*Gray16).SetRGBA64", Method, 17}, - {"(*Gray16).SubImage", Method, 0}, - {"(*NRGBA).At", Method, 0}, - {"(*NRGBA).Bounds", Method, 0}, - {"(*NRGBA).ColorModel", Method, 0}, - {"(*NRGBA).NRGBAAt", Method, 4}, - {"(*NRGBA).Opaque", Method, 0}, - {"(*NRGBA).PixOffset", Method, 0}, - {"(*NRGBA).RGBA64At", Method, 17}, - {"(*NRGBA).Set", Method, 0}, - {"(*NRGBA).SetNRGBA", Method, 0}, - {"(*NRGBA).SetRGBA64", Method, 17}, - {"(*NRGBA).SubImage", Method, 0}, - {"(*NRGBA64).At", Method, 0}, - {"(*NRGBA64).Bounds", Method, 0}, - {"(*NRGBA64).ColorModel", Method, 0}, - {"(*NRGBA64).NRGBA64At", Method, 4}, - {"(*NRGBA64).Opaque", Method, 0}, - {"(*NRGBA64).PixOffset", Method, 0}, - {"(*NRGBA64).RGBA64At", Method, 17}, - {"(*NRGBA64).Set", Method, 0}, - {"(*NRGBA64).SetNRGBA64", Method, 0}, - {"(*NRGBA64).SetRGBA64", Method, 17}, - {"(*NRGBA64).SubImage", Method, 0}, - {"(*NYCbCrA).AOffset", Method, 6}, - {"(*NYCbCrA).At", Method, 6}, - {"(*NYCbCrA).Bounds", Method, 6}, - {"(*NYCbCrA).COffset", Method, 6}, - {"(*NYCbCrA).ColorModel", Method, 6}, - {"(*NYCbCrA).NYCbCrAAt", Method, 6}, - {"(*NYCbCrA).Opaque", Method, 6}, - {"(*NYCbCrA).RGBA64At", Method, 17}, - {"(*NYCbCrA).SubImage", Method, 6}, - {"(*NYCbCrA).YCbCrAt", Method, 6}, - {"(*NYCbCrA).YOffset", Method, 6}, - {"(*Paletted).At", Method, 0}, - {"(*Paletted).Bounds", Method, 0}, - {"(*Paletted).ColorIndexAt", Method, 0}, - {"(*Paletted).ColorModel", Method, 0}, - {"(*Paletted).Opaque", Method, 0}, - {"(*Paletted).PixOffset", Method, 0}, - {"(*Paletted).RGBA64At", Method, 17}, - {"(*Paletted).Set", Method, 0}, - {"(*Paletted).SetColorIndex", Method, 0}, - {"(*Paletted).SetRGBA64", Method, 17}, - {"(*Paletted).SubImage", Method, 0}, - {"(*RGBA).At", Method, 0}, - {"(*RGBA).Bounds", Method, 0}, - {"(*RGBA).ColorModel", Method, 0}, - {"(*RGBA).Opaque", Method, 0}, - {"(*RGBA).PixOffset", Method, 0}, - {"(*RGBA).RGBA64At", Method, 17}, - {"(*RGBA).RGBAAt", Method, 4}, - {"(*RGBA).Set", Method, 0}, - {"(*RGBA).SetRGBA", Method, 0}, - {"(*RGBA).SetRGBA64", Method, 17}, - {"(*RGBA).SubImage", Method, 0}, - {"(*RGBA64).At", Method, 0}, - {"(*RGBA64).Bounds", Method, 0}, - {"(*RGBA64).ColorModel", Method, 0}, - {"(*RGBA64).Opaque", Method, 0}, - {"(*RGBA64).PixOffset", Method, 0}, - {"(*RGBA64).RGBA64At", Method, 4}, - {"(*RGBA64).Set", Method, 0}, - {"(*RGBA64).SetRGBA64", Method, 0}, - {"(*RGBA64).SubImage", Method, 0}, - {"(*Uniform).At", Method, 0}, - {"(*Uniform).Bounds", Method, 0}, - {"(*Uniform).ColorModel", Method, 0}, - {"(*Uniform).Convert", Method, 0}, - {"(*Uniform).Opaque", Method, 0}, - {"(*Uniform).RGBA", Method, 0}, - {"(*Uniform).RGBA64At", Method, 17}, - {"(*YCbCr).At", Method, 0}, - {"(*YCbCr).Bounds", Method, 0}, - {"(*YCbCr).COffset", Method, 0}, - {"(*YCbCr).ColorModel", Method, 0}, - {"(*YCbCr).Opaque", Method, 0}, - {"(*YCbCr).RGBA64At", Method, 17}, - {"(*YCbCr).SubImage", Method, 0}, - {"(*YCbCr).YCbCrAt", Method, 4}, - {"(*YCbCr).YOffset", Method, 0}, - {"(Point).Add", Method, 0}, - {"(Point).Div", Method, 0}, - {"(Point).Eq", Method, 0}, - {"(Point).In", Method, 0}, - {"(Point).Mod", Method, 0}, - {"(Point).Mul", Method, 0}, - {"(Point).String", Method, 0}, - {"(Point).Sub", Method, 0}, - {"(Rectangle).Add", Method, 0}, - {"(Rectangle).At", Method, 5}, - {"(Rectangle).Bounds", Method, 5}, - {"(Rectangle).Canon", Method, 0}, - {"(Rectangle).ColorModel", Method, 5}, - {"(Rectangle).Dx", Method, 0}, - {"(Rectangle).Dy", Method, 0}, - {"(Rectangle).Empty", Method, 0}, - {"(Rectangle).Eq", Method, 0}, - {"(Rectangle).In", Method, 0}, - {"(Rectangle).Inset", Method, 0}, - {"(Rectangle).Intersect", Method, 0}, - {"(Rectangle).Overlaps", Method, 0}, - {"(Rectangle).RGBA64At", Method, 17}, - {"(Rectangle).Size", Method, 0}, - {"(Rectangle).String", Method, 0}, - {"(Rectangle).Sub", Method, 0}, - {"(Rectangle).Union", Method, 0}, - {"(YCbCrSubsampleRatio).String", Method, 0}, - {"Alpha", Type, 0}, - {"Alpha.Pix", Field, 0}, - {"Alpha.Rect", Field, 0}, - {"Alpha.Stride", Field, 0}, - {"Alpha16", Type, 0}, - {"Alpha16.Pix", Field, 0}, - {"Alpha16.Rect", Field, 0}, - {"Alpha16.Stride", Field, 0}, - {"Black", Var, 0}, - {"CMYK", Type, 5}, - {"CMYK.Pix", Field, 5}, - {"CMYK.Rect", Field, 5}, - {"CMYK.Stride", Field, 5}, - {"Config", Type, 0}, - {"Config.ColorModel", Field, 0}, - {"Config.Height", Field, 0}, - {"Config.Width", Field, 0}, - {"Decode", Func, 0}, - {"DecodeConfig", Func, 0}, - {"ErrFormat", Var, 0}, - {"Gray", Type, 0}, - {"Gray.Pix", Field, 0}, - {"Gray.Rect", Field, 0}, - {"Gray.Stride", Field, 0}, - {"Gray16", Type, 0}, - {"Gray16.Pix", Field, 0}, - {"Gray16.Rect", Field, 0}, - {"Gray16.Stride", Field, 0}, - {"Image", Type, 0}, - {"NRGBA", Type, 0}, - {"NRGBA.Pix", Field, 0}, - {"NRGBA.Rect", Field, 0}, - {"NRGBA.Stride", Field, 0}, - {"NRGBA64", Type, 0}, - {"NRGBA64.Pix", Field, 0}, - {"NRGBA64.Rect", Field, 0}, - {"NRGBA64.Stride", Field, 0}, - {"NYCbCrA", Type, 6}, - {"NYCbCrA.A", Field, 6}, - {"NYCbCrA.AStride", Field, 6}, - {"NYCbCrA.YCbCr", Field, 6}, - {"NewAlpha", Func, 0}, - {"NewAlpha16", Func, 0}, - {"NewCMYK", Func, 5}, - {"NewGray", Func, 0}, - {"NewGray16", Func, 0}, - {"NewNRGBA", Func, 0}, - {"NewNRGBA64", Func, 0}, - {"NewNYCbCrA", Func, 6}, - {"NewPaletted", Func, 0}, - {"NewRGBA", Func, 0}, - {"NewRGBA64", Func, 0}, - {"NewUniform", Func, 0}, - {"NewYCbCr", Func, 0}, - {"Opaque", Var, 0}, - {"Paletted", Type, 0}, - {"Paletted.Palette", Field, 0}, - {"Paletted.Pix", Field, 0}, - {"Paletted.Rect", Field, 0}, - {"Paletted.Stride", Field, 0}, - {"PalettedImage", Type, 0}, - {"Point", Type, 0}, - {"Point.X", Field, 0}, - {"Point.Y", Field, 0}, - {"Pt", Func, 0}, - {"RGBA", Type, 0}, - {"RGBA.Pix", Field, 0}, - {"RGBA.Rect", Field, 0}, - {"RGBA.Stride", Field, 0}, - {"RGBA64", Type, 0}, - {"RGBA64.Pix", Field, 0}, - {"RGBA64.Rect", Field, 0}, - {"RGBA64.Stride", Field, 0}, - {"RGBA64Image", Type, 17}, - {"Rect", Func, 0}, - {"Rectangle", Type, 0}, - {"Rectangle.Max", Field, 0}, - {"Rectangle.Min", Field, 0}, - {"RegisterFormat", Func, 0}, - {"Transparent", Var, 0}, - {"Uniform", Type, 0}, - {"Uniform.C", Field, 0}, - {"White", Var, 0}, - {"YCbCr", Type, 0}, - {"YCbCr.CStride", Field, 0}, - {"YCbCr.Cb", Field, 0}, - {"YCbCr.Cr", Field, 0}, - {"YCbCr.Rect", Field, 0}, - {"YCbCr.SubsampleRatio", Field, 0}, - {"YCbCr.Y", Field, 0}, - {"YCbCr.YStride", Field, 0}, - {"YCbCrSubsampleRatio", Type, 0}, - {"YCbCrSubsampleRatio410", Const, 5}, - {"YCbCrSubsampleRatio411", Const, 5}, - {"YCbCrSubsampleRatio420", Const, 0}, - {"YCbCrSubsampleRatio422", Const, 0}, - {"YCbCrSubsampleRatio440", Const, 1}, - {"YCbCrSubsampleRatio444", Const, 0}, - {"ZP", Var, 0}, - {"ZR", Var, 0}, + {"(*Alpha).AlphaAt", Method, 4, ""}, + {"(*Alpha).At", Method, 0, ""}, + {"(*Alpha).Bounds", Method, 0, ""}, + {"(*Alpha).ColorModel", Method, 0, ""}, + {"(*Alpha).Opaque", Method, 0, ""}, + {"(*Alpha).PixOffset", Method, 0, ""}, + {"(*Alpha).RGBA64At", Method, 17, ""}, + {"(*Alpha).Set", Method, 0, ""}, + {"(*Alpha).SetAlpha", Method, 0, ""}, + {"(*Alpha).SetRGBA64", Method, 17, ""}, + {"(*Alpha).SubImage", Method, 0, ""}, + {"(*Alpha16).Alpha16At", Method, 4, ""}, + {"(*Alpha16).At", Method, 0, ""}, + {"(*Alpha16).Bounds", Method, 0, ""}, + {"(*Alpha16).ColorModel", Method, 0, ""}, + {"(*Alpha16).Opaque", Method, 0, ""}, + {"(*Alpha16).PixOffset", Method, 0, ""}, + {"(*Alpha16).RGBA64At", Method, 17, ""}, + {"(*Alpha16).Set", Method, 0, ""}, + {"(*Alpha16).SetAlpha16", Method, 0, ""}, + {"(*Alpha16).SetRGBA64", Method, 17, ""}, + {"(*Alpha16).SubImage", Method, 0, ""}, + {"(*CMYK).At", Method, 5, ""}, + {"(*CMYK).Bounds", Method, 5, ""}, + {"(*CMYK).CMYKAt", Method, 5, ""}, + {"(*CMYK).ColorModel", Method, 5, ""}, + {"(*CMYK).Opaque", Method, 5, ""}, + {"(*CMYK).PixOffset", Method, 5, ""}, + {"(*CMYK).RGBA64At", Method, 17, ""}, + {"(*CMYK).Set", Method, 5, ""}, + {"(*CMYK).SetCMYK", Method, 5, ""}, + {"(*CMYK).SetRGBA64", Method, 17, ""}, + {"(*CMYK).SubImage", Method, 5, ""}, + {"(*Gray).At", Method, 0, ""}, + {"(*Gray).Bounds", Method, 0, ""}, + {"(*Gray).ColorModel", Method, 0, ""}, + {"(*Gray).GrayAt", Method, 4, ""}, + {"(*Gray).Opaque", Method, 0, ""}, + {"(*Gray).PixOffset", Method, 0, ""}, + {"(*Gray).RGBA64At", Method, 17, ""}, + {"(*Gray).Set", Method, 0, ""}, + {"(*Gray).SetGray", Method, 0, ""}, + {"(*Gray).SetRGBA64", Method, 17, ""}, + {"(*Gray).SubImage", Method, 0, ""}, + {"(*Gray16).At", Method, 0, ""}, + {"(*Gray16).Bounds", Method, 0, ""}, + {"(*Gray16).ColorModel", Method, 0, ""}, + {"(*Gray16).Gray16At", Method, 4, ""}, + {"(*Gray16).Opaque", Method, 0, ""}, + {"(*Gray16).PixOffset", Method, 0, ""}, + {"(*Gray16).RGBA64At", Method, 17, ""}, + {"(*Gray16).Set", Method, 0, ""}, + {"(*Gray16).SetGray16", Method, 0, ""}, + {"(*Gray16).SetRGBA64", Method, 17, ""}, + {"(*Gray16).SubImage", Method, 0, ""}, + {"(*NRGBA).At", Method, 0, ""}, + {"(*NRGBA).Bounds", Method, 0, ""}, + {"(*NRGBA).ColorModel", Method, 0, ""}, + {"(*NRGBA).NRGBAAt", Method, 4, ""}, + {"(*NRGBA).Opaque", Method, 0, ""}, + {"(*NRGBA).PixOffset", Method, 0, ""}, + {"(*NRGBA).RGBA64At", Method, 17, ""}, + {"(*NRGBA).Set", Method, 0, ""}, + {"(*NRGBA).SetNRGBA", Method, 0, ""}, + {"(*NRGBA).SetRGBA64", Method, 17, ""}, + {"(*NRGBA).SubImage", Method, 0, ""}, + {"(*NRGBA64).At", Method, 0, ""}, + {"(*NRGBA64).Bounds", Method, 0, ""}, + {"(*NRGBA64).ColorModel", Method, 0, ""}, + {"(*NRGBA64).NRGBA64At", Method, 4, ""}, + {"(*NRGBA64).Opaque", Method, 0, ""}, + {"(*NRGBA64).PixOffset", Method, 0, ""}, + {"(*NRGBA64).RGBA64At", Method, 17, ""}, + {"(*NRGBA64).Set", Method, 0, ""}, + {"(*NRGBA64).SetNRGBA64", Method, 0, ""}, + {"(*NRGBA64).SetRGBA64", Method, 17, ""}, + {"(*NRGBA64).SubImage", Method, 0, ""}, + {"(*NYCbCrA).AOffset", Method, 6, ""}, + {"(*NYCbCrA).At", Method, 6, ""}, + {"(*NYCbCrA).Bounds", Method, 6, ""}, + {"(*NYCbCrA).COffset", Method, 6, ""}, + {"(*NYCbCrA).ColorModel", Method, 6, ""}, + {"(*NYCbCrA).NYCbCrAAt", Method, 6, ""}, + {"(*NYCbCrA).Opaque", Method, 6, ""}, + {"(*NYCbCrA).RGBA64At", Method, 17, ""}, + {"(*NYCbCrA).SubImage", Method, 6, ""}, + {"(*NYCbCrA).YCbCrAt", Method, 6, ""}, + {"(*NYCbCrA).YOffset", Method, 6, ""}, + {"(*Paletted).At", Method, 0, ""}, + {"(*Paletted).Bounds", Method, 0, ""}, + {"(*Paletted).ColorIndexAt", Method, 0, ""}, + {"(*Paletted).ColorModel", Method, 0, ""}, + {"(*Paletted).Opaque", Method, 0, ""}, + {"(*Paletted).PixOffset", Method, 0, ""}, + {"(*Paletted).RGBA64At", Method, 17, ""}, + {"(*Paletted).Set", Method, 0, ""}, + {"(*Paletted).SetColorIndex", Method, 0, ""}, + {"(*Paletted).SetRGBA64", Method, 17, ""}, + {"(*Paletted).SubImage", Method, 0, ""}, + {"(*RGBA).At", Method, 0, ""}, + {"(*RGBA).Bounds", Method, 0, ""}, + {"(*RGBA).ColorModel", Method, 0, ""}, + {"(*RGBA).Opaque", Method, 0, ""}, + {"(*RGBA).PixOffset", Method, 0, ""}, + {"(*RGBA).RGBA64At", Method, 17, ""}, + {"(*RGBA).RGBAAt", Method, 4, ""}, + {"(*RGBA).Set", Method, 0, ""}, + {"(*RGBA).SetRGBA", Method, 0, ""}, + {"(*RGBA).SetRGBA64", Method, 17, ""}, + {"(*RGBA).SubImage", Method, 0, ""}, + {"(*RGBA64).At", Method, 0, ""}, + {"(*RGBA64).Bounds", Method, 0, ""}, + {"(*RGBA64).ColorModel", Method, 0, ""}, + {"(*RGBA64).Opaque", Method, 0, ""}, + {"(*RGBA64).PixOffset", Method, 0, ""}, + {"(*RGBA64).RGBA64At", Method, 4, ""}, + {"(*RGBA64).Set", Method, 0, ""}, + {"(*RGBA64).SetRGBA64", Method, 0, ""}, + {"(*RGBA64).SubImage", Method, 0, ""}, + {"(*Uniform).At", Method, 0, ""}, + {"(*Uniform).Bounds", Method, 0, ""}, + {"(*Uniform).ColorModel", Method, 0, ""}, + {"(*Uniform).Convert", Method, 0, ""}, + {"(*Uniform).Opaque", Method, 0, ""}, + {"(*Uniform).RGBA", Method, 0, ""}, + {"(*Uniform).RGBA64At", Method, 17, ""}, + {"(*YCbCr).At", Method, 0, ""}, + {"(*YCbCr).Bounds", Method, 0, ""}, + {"(*YCbCr).COffset", Method, 0, ""}, + {"(*YCbCr).ColorModel", Method, 0, ""}, + {"(*YCbCr).Opaque", Method, 0, ""}, + {"(*YCbCr).RGBA64At", Method, 17, ""}, + {"(*YCbCr).SubImage", Method, 0, ""}, + {"(*YCbCr).YCbCrAt", Method, 4, ""}, + {"(*YCbCr).YOffset", Method, 0, ""}, + {"(Point).Add", Method, 0, ""}, + {"(Point).Div", Method, 0, ""}, + {"(Point).Eq", Method, 0, ""}, + {"(Point).In", Method, 0, ""}, + {"(Point).Mod", Method, 0, ""}, + {"(Point).Mul", Method, 0, ""}, + {"(Point).String", Method, 0, ""}, + {"(Point).Sub", Method, 0, ""}, + {"(Rectangle).Add", Method, 0, ""}, + {"(Rectangle).At", Method, 5, ""}, + {"(Rectangle).Bounds", Method, 5, ""}, + {"(Rectangle).Canon", Method, 0, ""}, + {"(Rectangle).ColorModel", Method, 5, ""}, + {"(Rectangle).Dx", Method, 0, ""}, + {"(Rectangle).Dy", Method, 0, ""}, + {"(Rectangle).Empty", Method, 0, ""}, + {"(Rectangle).Eq", Method, 0, ""}, + {"(Rectangle).In", Method, 0, ""}, + {"(Rectangle).Inset", Method, 0, ""}, + {"(Rectangle).Intersect", Method, 0, ""}, + {"(Rectangle).Overlaps", Method, 0, ""}, + {"(Rectangle).RGBA64At", Method, 17, ""}, + {"(Rectangle).Size", Method, 0, ""}, + {"(Rectangle).String", Method, 0, ""}, + {"(Rectangle).Sub", Method, 0, ""}, + {"(Rectangle).Union", Method, 0, ""}, + {"(YCbCrSubsampleRatio).String", Method, 0, ""}, + {"Alpha", Type, 0, ""}, + {"Alpha.Pix", Field, 0, ""}, + {"Alpha.Rect", Field, 0, ""}, + {"Alpha.Stride", Field, 0, ""}, + {"Alpha16", Type, 0, ""}, + {"Alpha16.Pix", Field, 0, ""}, + {"Alpha16.Rect", Field, 0, ""}, + {"Alpha16.Stride", Field, 0, ""}, + {"Black", Var, 0, ""}, + {"CMYK", Type, 5, ""}, + {"CMYK.Pix", Field, 5, ""}, + {"CMYK.Rect", Field, 5, ""}, + {"CMYK.Stride", Field, 5, ""}, + {"Config", Type, 0, ""}, + {"Config.ColorModel", Field, 0, ""}, + {"Config.Height", Field, 0, ""}, + {"Config.Width", Field, 0, ""}, + {"Decode", Func, 0, "func(r io.Reader) (Image, string, error)"}, + {"DecodeConfig", Func, 0, "func(r io.Reader) (Config, string, error)"}, + {"ErrFormat", Var, 0, ""}, + {"Gray", Type, 0, ""}, + {"Gray.Pix", Field, 0, ""}, + {"Gray.Rect", Field, 0, ""}, + {"Gray.Stride", Field, 0, ""}, + {"Gray16", Type, 0, ""}, + {"Gray16.Pix", Field, 0, ""}, + {"Gray16.Rect", Field, 0, ""}, + {"Gray16.Stride", Field, 0, ""}, + {"Image", Type, 0, ""}, + {"NRGBA", Type, 0, ""}, + {"NRGBA.Pix", Field, 0, ""}, + {"NRGBA.Rect", Field, 0, ""}, + {"NRGBA.Stride", Field, 0, ""}, + {"NRGBA64", Type, 0, ""}, + {"NRGBA64.Pix", Field, 0, ""}, + {"NRGBA64.Rect", Field, 0, ""}, + {"NRGBA64.Stride", Field, 0, ""}, + {"NYCbCrA", Type, 6, ""}, + {"NYCbCrA.A", Field, 6, ""}, + {"NYCbCrA.AStride", Field, 6, ""}, + {"NYCbCrA.YCbCr", Field, 6, ""}, + {"NewAlpha", Func, 0, "func(r Rectangle) *Alpha"}, + {"NewAlpha16", Func, 0, "func(r Rectangle) *Alpha16"}, + {"NewCMYK", Func, 5, "func(r Rectangle) *CMYK"}, + {"NewGray", Func, 0, "func(r Rectangle) *Gray"}, + {"NewGray16", Func, 0, "func(r Rectangle) *Gray16"}, + {"NewNRGBA", Func, 0, "func(r Rectangle) *NRGBA"}, + {"NewNRGBA64", Func, 0, "func(r Rectangle) *NRGBA64"}, + {"NewNYCbCrA", Func, 6, "func(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *NYCbCrA"}, + {"NewPaletted", Func, 0, "func(r Rectangle, p color.Palette) *Paletted"}, + {"NewRGBA", Func, 0, "func(r Rectangle) *RGBA"}, + {"NewRGBA64", Func, 0, "func(r Rectangle) *RGBA64"}, + {"NewUniform", Func, 0, "func(c color.Color) *Uniform"}, + {"NewYCbCr", Func, 0, "func(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *YCbCr"}, + {"Opaque", Var, 0, ""}, + {"Paletted", Type, 0, ""}, + {"Paletted.Palette", Field, 0, ""}, + {"Paletted.Pix", Field, 0, ""}, + {"Paletted.Rect", Field, 0, ""}, + {"Paletted.Stride", Field, 0, ""}, + {"PalettedImage", Type, 0, ""}, + {"Point", Type, 0, ""}, + {"Point.X", Field, 0, ""}, + {"Point.Y", Field, 0, ""}, + {"Pt", Func, 0, "func(X int, Y int) Point"}, + {"RGBA", Type, 0, ""}, + {"RGBA.Pix", Field, 0, ""}, + {"RGBA.Rect", Field, 0, ""}, + {"RGBA.Stride", Field, 0, ""}, + {"RGBA64", Type, 0, ""}, + {"RGBA64.Pix", Field, 0, ""}, + {"RGBA64.Rect", Field, 0, ""}, + {"RGBA64.Stride", Field, 0, ""}, + {"RGBA64Image", Type, 17, ""}, + {"Rect", Func, 0, "func(x0 int, y0 int, x1 int, y1 int) Rectangle"}, + {"Rectangle", Type, 0, ""}, + {"Rectangle.Max", Field, 0, ""}, + {"Rectangle.Min", Field, 0, ""}, + {"RegisterFormat", Func, 0, "func(name string, magic string, decode func(io.Reader) (Image, error), decodeConfig func(io.Reader) (Config, error))"}, + {"Transparent", Var, 0, ""}, + {"Uniform", Type, 0, ""}, + {"Uniform.C", Field, 0, ""}, + {"White", Var, 0, ""}, + {"YCbCr", Type, 0, ""}, + {"YCbCr.CStride", Field, 0, ""}, + {"YCbCr.Cb", Field, 0, ""}, + {"YCbCr.Cr", Field, 0, ""}, + {"YCbCr.Rect", Field, 0, ""}, + {"YCbCr.SubsampleRatio", Field, 0, ""}, + {"YCbCr.Y", Field, 0, ""}, + {"YCbCr.YStride", Field, 0, ""}, + {"YCbCrSubsampleRatio", Type, 0, ""}, + {"YCbCrSubsampleRatio410", Const, 5, ""}, + {"YCbCrSubsampleRatio411", Const, 5, ""}, + {"YCbCrSubsampleRatio420", Const, 0, ""}, + {"YCbCrSubsampleRatio422", Const, 0, ""}, + {"YCbCrSubsampleRatio440", Const, 1, ""}, + {"YCbCrSubsampleRatio444", Const, 0, ""}, + {"ZP", Var, 0, ""}, + {"ZR", Var, 0, ""}, }, "image/color": { - {"(Alpha).RGBA", Method, 0}, - {"(Alpha16).RGBA", Method, 0}, - {"(CMYK).RGBA", Method, 5}, - {"(Gray).RGBA", Method, 0}, - {"(Gray16).RGBA", Method, 0}, - {"(NRGBA).RGBA", Method, 0}, - {"(NRGBA64).RGBA", Method, 0}, - {"(NYCbCrA).RGBA", Method, 6}, - {"(Palette).Convert", Method, 0}, - {"(Palette).Index", Method, 0}, - {"(RGBA).RGBA", Method, 0}, - {"(RGBA64).RGBA", Method, 0}, - {"(YCbCr).RGBA", Method, 0}, - {"Alpha", Type, 0}, - {"Alpha.A", Field, 0}, - {"Alpha16", Type, 0}, - {"Alpha16.A", Field, 0}, - {"Alpha16Model", Var, 0}, - {"AlphaModel", Var, 0}, - {"Black", Var, 0}, - {"CMYK", Type, 5}, - {"CMYK.C", Field, 5}, - {"CMYK.K", Field, 5}, - {"CMYK.M", Field, 5}, - {"CMYK.Y", Field, 5}, - {"CMYKModel", Var, 5}, - {"CMYKToRGB", Func, 5}, - {"Color", Type, 0}, - {"Gray", Type, 0}, - {"Gray.Y", Field, 0}, - {"Gray16", Type, 0}, - {"Gray16.Y", Field, 0}, - {"Gray16Model", Var, 0}, - {"GrayModel", Var, 0}, - {"Model", Type, 0}, - {"ModelFunc", Func, 0}, - {"NRGBA", Type, 0}, - {"NRGBA.A", Field, 0}, - {"NRGBA.B", Field, 0}, - {"NRGBA.G", Field, 0}, - {"NRGBA.R", Field, 0}, - {"NRGBA64", Type, 0}, - {"NRGBA64.A", Field, 0}, - {"NRGBA64.B", Field, 0}, - {"NRGBA64.G", Field, 0}, - {"NRGBA64.R", Field, 0}, - {"NRGBA64Model", Var, 0}, - {"NRGBAModel", Var, 0}, - {"NYCbCrA", Type, 6}, - {"NYCbCrA.A", Field, 6}, - {"NYCbCrA.YCbCr", Field, 6}, - {"NYCbCrAModel", Var, 6}, - {"Opaque", Var, 0}, - {"Palette", Type, 0}, - {"RGBA", Type, 0}, - {"RGBA.A", Field, 0}, - {"RGBA.B", Field, 0}, - {"RGBA.G", Field, 0}, - {"RGBA.R", Field, 0}, - {"RGBA64", Type, 0}, - {"RGBA64.A", Field, 0}, - {"RGBA64.B", Field, 0}, - {"RGBA64.G", Field, 0}, - {"RGBA64.R", Field, 0}, - {"RGBA64Model", Var, 0}, - {"RGBAModel", Var, 0}, - {"RGBToCMYK", Func, 5}, - {"RGBToYCbCr", Func, 0}, - {"Transparent", Var, 0}, - {"White", Var, 0}, - {"YCbCr", Type, 0}, - {"YCbCr.Cb", Field, 0}, - {"YCbCr.Cr", Field, 0}, - {"YCbCr.Y", Field, 0}, - {"YCbCrModel", Var, 0}, - {"YCbCrToRGB", Func, 0}, + {"(Alpha).RGBA", Method, 0, ""}, + {"(Alpha16).RGBA", Method, 0, ""}, + {"(CMYK).RGBA", Method, 5, ""}, + {"(Gray).RGBA", Method, 0, ""}, + {"(Gray16).RGBA", Method, 0, ""}, + {"(NRGBA).RGBA", Method, 0, ""}, + {"(NRGBA64).RGBA", Method, 0, ""}, + {"(NYCbCrA).RGBA", Method, 6, ""}, + {"(Palette).Convert", Method, 0, ""}, + {"(Palette).Index", Method, 0, ""}, + {"(RGBA).RGBA", Method, 0, ""}, + {"(RGBA64).RGBA", Method, 0, ""}, + {"(YCbCr).RGBA", Method, 0, ""}, + {"Alpha", Type, 0, ""}, + {"Alpha.A", Field, 0, ""}, + {"Alpha16", Type, 0, ""}, + {"Alpha16.A", Field, 0, ""}, + {"Alpha16Model", Var, 0, ""}, + {"AlphaModel", Var, 0, ""}, + {"Black", Var, 0, ""}, + {"CMYK", Type, 5, ""}, + {"CMYK.C", Field, 5, ""}, + {"CMYK.K", Field, 5, ""}, + {"CMYK.M", Field, 5, ""}, + {"CMYK.Y", Field, 5, ""}, + {"CMYKModel", Var, 5, ""}, + {"CMYKToRGB", Func, 5, "func(c uint8, m uint8, y uint8, k uint8) (uint8, uint8, uint8)"}, + {"Color", Type, 0, ""}, + {"Gray", Type, 0, ""}, + {"Gray.Y", Field, 0, ""}, + {"Gray16", Type, 0, ""}, + {"Gray16.Y", Field, 0, ""}, + {"Gray16Model", Var, 0, ""}, + {"GrayModel", Var, 0, ""}, + {"Model", Type, 0, ""}, + {"ModelFunc", Func, 0, "func(f func(Color) Color) Model"}, + {"NRGBA", Type, 0, ""}, + {"NRGBA.A", Field, 0, ""}, + {"NRGBA.B", Field, 0, ""}, + {"NRGBA.G", Field, 0, ""}, + {"NRGBA.R", Field, 0, ""}, + {"NRGBA64", Type, 0, ""}, + {"NRGBA64.A", Field, 0, ""}, + {"NRGBA64.B", Field, 0, ""}, + {"NRGBA64.G", Field, 0, ""}, + {"NRGBA64.R", Field, 0, ""}, + {"NRGBA64Model", Var, 0, ""}, + {"NRGBAModel", Var, 0, ""}, + {"NYCbCrA", Type, 6, ""}, + {"NYCbCrA.A", Field, 6, ""}, + {"NYCbCrA.YCbCr", Field, 6, ""}, + {"NYCbCrAModel", Var, 6, ""}, + {"Opaque", Var, 0, ""}, + {"Palette", Type, 0, ""}, + {"RGBA", Type, 0, ""}, + {"RGBA.A", Field, 0, ""}, + {"RGBA.B", Field, 0, ""}, + {"RGBA.G", Field, 0, ""}, + {"RGBA.R", Field, 0, ""}, + {"RGBA64", Type, 0, ""}, + {"RGBA64.A", Field, 0, ""}, + {"RGBA64.B", Field, 0, ""}, + {"RGBA64.G", Field, 0, ""}, + {"RGBA64.R", Field, 0, ""}, + {"RGBA64Model", Var, 0, ""}, + {"RGBAModel", Var, 0, ""}, + {"RGBToCMYK", Func, 5, "func(r uint8, g uint8, b uint8) (uint8, uint8, uint8, uint8)"}, + {"RGBToYCbCr", Func, 0, "func(r uint8, g uint8, b uint8) (uint8, uint8, uint8)"}, + {"Transparent", Var, 0, ""}, + {"White", Var, 0, ""}, + {"YCbCr", Type, 0, ""}, + {"YCbCr.Cb", Field, 0, ""}, + {"YCbCr.Cr", Field, 0, ""}, + {"YCbCr.Y", Field, 0, ""}, + {"YCbCrModel", Var, 0, ""}, + {"YCbCrToRGB", Func, 0, "func(y uint8, cb uint8, cr uint8) (uint8, uint8, uint8)"}, }, "image/color/palette": { - {"Plan9", Var, 2}, - {"WebSafe", Var, 2}, + {"Plan9", Var, 2, ""}, + {"WebSafe", Var, 2, ""}, }, "image/draw": { - {"(Op).Draw", Method, 2}, - {"Draw", Func, 0}, - {"DrawMask", Func, 0}, - {"Drawer", Type, 2}, - {"FloydSteinberg", Var, 2}, - {"Image", Type, 0}, - {"Op", Type, 0}, - {"Over", Const, 0}, - {"Quantizer", Type, 2}, - {"RGBA64Image", Type, 17}, - {"Src", Const, 0}, + {"(Op).Draw", Method, 2, ""}, + {"Draw", Func, 0, "func(dst Image, r image.Rectangle, src image.Image, sp image.Point, op Op)"}, + {"DrawMask", Func, 0, "func(dst Image, r image.Rectangle, src image.Image, sp image.Point, mask image.Image, mp image.Point, op Op)"}, + {"Drawer", Type, 2, ""}, + {"FloydSteinberg", Var, 2, ""}, + {"Image", Type, 0, ""}, + {"Op", Type, 0, ""}, + {"Over", Const, 0, ""}, + {"Quantizer", Type, 2, ""}, + {"RGBA64Image", Type, 17, ""}, + {"Src", Const, 0, ""}, }, "image/gif": { - {"Decode", Func, 0}, - {"DecodeAll", Func, 0}, - {"DecodeConfig", Func, 0}, - {"DisposalBackground", Const, 5}, - {"DisposalNone", Const, 5}, - {"DisposalPrevious", Const, 5}, - {"Encode", Func, 2}, - {"EncodeAll", Func, 2}, - {"GIF", Type, 0}, - {"GIF.BackgroundIndex", Field, 5}, - {"GIF.Config", Field, 5}, - {"GIF.Delay", Field, 0}, - {"GIF.Disposal", Field, 5}, - {"GIF.Image", Field, 0}, - {"GIF.LoopCount", Field, 0}, - {"Options", Type, 2}, - {"Options.Drawer", Field, 2}, - {"Options.NumColors", Field, 2}, - {"Options.Quantizer", Field, 2}, + {"Decode", Func, 0, "func(r io.Reader) (image.Image, error)"}, + {"DecodeAll", Func, 0, "func(r io.Reader) (*GIF, error)"}, + {"DecodeConfig", Func, 0, "func(r io.Reader) (image.Config, error)"}, + {"DisposalBackground", Const, 5, ""}, + {"DisposalNone", Const, 5, ""}, + {"DisposalPrevious", Const, 5, ""}, + {"Encode", Func, 2, "func(w io.Writer, m image.Image, o *Options) error"}, + {"EncodeAll", Func, 2, "func(w io.Writer, g *GIF) error"}, + {"GIF", Type, 0, ""}, + {"GIF.BackgroundIndex", Field, 5, ""}, + {"GIF.Config", Field, 5, ""}, + {"GIF.Delay", Field, 0, ""}, + {"GIF.Disposal", Field, 5, ""}, + {"GIF.Image", Field, 0, ""}, + {"GIF.LoopCount", Field, 0, ""}, + {"Options", Type, 2, ""}, + {"Options.Drawer", Field, 2, ""}, + {"Options.NumColors", Field, 2, ""}, + {"Options.Quantizer", Field, 2, ""}, }, "image/jpeg": { - {"(FormatError).Error", Method, 0}, - {"(UnsupportedError).Error", Method, 0}, - {"Decode", Func, 0}, - {"DecodeConfig", Func, 0}, - {"DefaultQuality", Const, 0}, - {"Encode", Func, 0}, - {"FormatError", Type, 0}, - {"Options", Type, 0}, - {"Options.Quality", Field, 0}, - {"Reader", Type, 0}, - {"UnsupportedError", Type, 0}, + {"(FormatError).Error", Method, 0, ""}, + {"(UnsupportedError).Error", Method, 0, ""}, + {"Decode", Func, 0, "func(r io.Reader) (image.Image, error)"}, + {"DecodeConfig", Func, 0, "func(r io.Reader) (image.Config, error)"}, + {"DefaultQuality", Const, 0, ""}, + {"Encode", Func, 0, "func(w io.Writer, m image.Image, o *Options) error"}, + {"FormatError", Type, 0, ""}, + {"Options", Type, 0, ""}, + {"Options.Quality", Field, 0, ""}, + {"Reader", Type, 0, ""}, + {"UnsupportedError", Type, 0, ""}, }, "image/png": { - {"(*Encoder).Encode", Method, 4}, - {"(FormatError).Error", Method, 0}, - {"(UnsupportedError).Error", Method, 0}, - {"BestCompression", Const, 4}, - {"BestSpeed", Const, 4}, - {"CompressionLevel", Type, 4}, - {"Decode", Func, 0}, - {"DecodeConfig", Func, 0}, - {"DefaultCompression", Const, 4}, - {"Encode", Func, 0}, - {"Encoder", Type, 4}, - {"Encoder.BufferPool", Field, 9}, - {"Encoder.CompressionLevel", Field, 4}, - {"EncoderBuffer", Type, 9}, - {"EncoderBufferPool", Type, 9}, - {"FormatError", Type, 0}, - {"NoCompression", Const, 4}, - {"UnsupportedError", Type, 0}, + {"(*Encoder).Encode", Method, 4, ""}, + {"(FormatError).Error", Method, 0, ""}, + {"(UnsupportedError).Error", Method, 0, ""}, + {"BestCompression", Const, 4, ""}, + {"BestSpeed", Const, 4, ""}, + {"CompressionLevel", Type, 4, ""}, + {"Decode", Func, 0, "func(r io.Reader) (image.Image, error)"}, + {"DecodeConfig", Func, 0, "func(r io.Reader) (image.Config, error)"}, + {"DefaultCompression", Const, 4, ""}, + {"Encode", Func, 0, "func(w io.Writer, m image.Image) error"}, + {"Encoder", Type, 4, ""}, + {"Encoder.BufferPool", Field, 9, ""}, + {"Encoder.CompressionLevel", Field, 4, ""}, + {"EncoderBuffer", Type, 9, ""}, + {"EncoderBufferPool", Type, 9, ""}, + {"FormatError", Type, 0, ""}, + {"NoCompression", Const, 4, ""}, + {"UnsupportedError", Type, 0, ""}, }, "index/suffixarray": { - {"(*Index).Bytes", Method, 0}, - {"(*Index).FindAllIndex", Method, 0}, - {"(*Index).Lookup", Method, 0}, - {"(*Index).Read", Method, 0}, - {"(*Index).Write", Method, 0}, - {"Index", Type, 0}, - {"New", Func, 0}, + {"(*Index).Bytes", Method, 0, ""}, + {"(*Index).FindAllIndex", Method, 0, ""}, + {"(*Index).Lookup", Method, 0, ""}, + {"(*Index).Read", Method, 0, ""}, + {"(*Index).Write", Method, 0, ""}, + {"Index", Type, 0, ""}, + {"New", Func, 0, "func(data []byte) *Index"}, }, "io": { - {"(*LimitedReader).Read", Method, 0}, - {"(*OffsetWriter).Seek", Method, 20}, - {"(*OffsetWriter).Write", Method, 20}, - {"(*OffsetWriter).WriteAt", Method, 20}, - {"(*PipeReader).Close", Method, 0}, - {"(*PipeReader).CloseWithError", Method, 0}, - {"(*PipeReader).Read", Method, 0}, - {"(*PipeWriter).Close", Method, 0}, - {"(*PipeWriter).CloseWithError", Method, 0}, - {"(*PipeWriter).Write", Method, 0}, - {"(*SectionReader).Outer", Method, 22}, - {"(*SectionReader).Read", Method, 0}, - {"(*SectionReader).ReadAt", Method, 0}, - {"(*SectionReader).Seek", Method, 0}, - {"(*SectionReader).Size", Method, 0}, - {"ByteReader", Type, 0}, - {"ByteScanner", Type, 0}, - {"ByteWriter", Type, 1}, - {"Closer", Type, 0}, - {"Copy", Func, 0}, - {"CopyBuffer", Func, 5}, - {"CopyN", Func, 0}, - {"Discard", Var, 16}, - {"EOF", Var, 0}, - {"ErrClosedPipe", Var, 0}, - {"ErrNoProgress", Var, 1}, - {"ErrShortBuffer", Var, 0}, - {"ErrShortWrite", Var, 0}, - {"ErrUnexpectedEOF", Var, 0}, - {"LimitReader", Func, 0}, - {"LimitedReader", Type, 0}, - {"LimitedReader.N", Field, 0}, - {"LimitedReader.R", Field, 0}, - {"MultiReader", Func, 0}, - {"MultiWriter", Func, 0}, - {"NewOffsetWriter", Func, 20}, - {"NewSectionReader", Func, 0}, - {"NopCloser", Func, 16}, - {"OffsetWriter", Type, 20}, - {"Pipe", Func, 0}, - {"PipeReader", Type, 0}, - {"PipeWriter", Type, 0}, - {"ReadAll", Func, 16}, - {"ReadAtLeast", Func, 0}, - {"ReadCloser", Type, 0}, - {"ReadFull", Func, 0}, - {"ReadSeekCloser", Type, 16}, - {"ReadSeeker", Type, 0}, - {"ReadWriteCloser", Type, 0}, - {"ReadWriteSeeker", Type, 0}, - {"ReadWriter", Type, 0}, - {"Reader", Type, 0}, - {"ReaderAt", Type, 0}, - {"ReaderFrom", Type, 0}, - {"RuneReader", Type, 0}, - {"RuneScanner", Type, 0}, - {"SectionReader", Type, 0}, - {"SeekCurrent", Const, 7}, - {"SeekEnd", Const, 7}, - {"SeekStart", Const, 7}, - {"Seeker", Type, 0}, - {"StringWriter", Type, 12}, - {"TeeReader", Func, 0}, - {"WriteCloser", Type, 0}, - {"WriteSeeker", Type, 0}, - {"WriteString", Func, 0}, - {"Writer", Type, 0}, - {"WriterAt", Type, 0}, - {"WriterTo", Type, 0}, + {"(*LimitedReader).Read", Method, 0, ""}, + {"(*OffsetWriter).Seek", Method, 20, ""}, + {"(*OffsetWriter).Write", Method, 20, ""}, + {"(*OffsetWriter).WriteAt", Method, 20, ""}, + {"(*PipeReader).Close", Method, 0, ""}, + {"(*PipeReader).CloseWithError", Method, 0, ""}, + {"(*PipeReader).Read", Method, 0, ""}, + {"(*PipeWriter).Close", Method, 0, ""}, + {"(*PipeWriter).CloseWithError", Method, 0, ""}, + {"(*PipeWriter).Write", Method, 0, ""}, + {"(*SectionReader).Outer", Method, 22, ""}, + {"(*SectionReader).Read", Method, 0, ""}, + {"(*SectionReader).ReadAt", Method, 0, ""}, + {"(*SectionReader).Seek", Method, 0, ""}, + {"(*SectionReader).Size", Method, 0, ""}, + {"ByteReader", Type, 0, ""}, + {"ByteScanner", Type, 0, ""}, + {"ByteWriter", Type, 1, ""}, + {"Closer", Type, 0, ""}, + {"Copy", Func, 0, "func(dst Writer, src Reader) (written int64, err error)"}, + {"CopyBuffer", Func, 5, "func(dst Writer, src Reader, buf []byte) (written int64, err error)"}, + {"CopyN", Func, 0, "func(dst Writer, src Reader, n int64) (written int64, err error)"}, + {"Discard", Var, 16, ""}, + {"EOF", Var, 0, ""}, + {"ErrClosedPipe", Var, 0, ""}, + {"ErrNoProgress", Var, 1, ""}, + {"ErrShortBuffer", Var, 0, ""}, + {"ErrShortWrite", Var, 0, ""}, + {"ErrUnexpectedEOF", Var, 0, ""}, + {"LimitReader", Func, 0, "func(r Reader, n int64) Reader"}, + {"LimitedReader", Type, 0, ""}, + {"LimitedReader.N", Field, 0, ""}, + {"LimitedReader.R", Field, 0, ""}, + {"MultiReader", Func, 0, "func(readers ...Reader) Reader"}, + {"MultiWriter", Func, 0, "func(writers ...Writer) Writer"}, + {"NewOffsetWriter", Func, 20, "func(w WriterAt, off int64) *OffsetWriter"}, + {"NewSectionReader", Func, 0, "func(r ReaderAt, off int64, n int64) *SectionReader"}, + {"NopCloser", Func, 16, "func(r Reader) ReadCloser"}, + {"OffsetWriter", Type, 20, ""}, + {"Pipe", Func, 0, "func() (*PipeReader, *PipeWriter)"}, + {"PipeReader", Type, 0, ""}, + {"PipeWriter", Type, 0, ""}, + {"ReadAll", Func, 16, "func(r Reader) ([]byte, error)"}, + {"ReadAtLeast", Func, 0, "func(r Reader, buf []byte, min int) (n int, err error)"}, + {"ReadCloser", Type, 0, ""}, + {"ReadFull", Func, 0, "func(r Reader, buf []byte) (n int, err error)"}, + {"ReadSeekCloser", Type, 16, ""}, + {"ReadSeeker", Type, 0, ""}, + {"ReadWriteCloser", Type, 0, ""}, + {"ReadWriteSeeker", Type, 0, ""}, + {"ReadWriter", Type, 0, ""}, + {"Reader", Type, 0, ""}, + {"ReaderAt", Type, 0, ""}, + {"ReaderFrom", Type, 0, ""}, + {"RuneReader", Type, 0, ""}, + {"RuneScanner", Type, 0, ""}, + {"SectionReader", Type, 0, ""}, + {"SeekCurrent", Const, 7, ""}, + {"SeekEnd", Const, 7, ""}, + {"SeekStart", Const, 7, ""}, + {"Seeker", Type, 0, ""}, + {"StringWriter", Type, 12, ""}, + {"TeeReader", Func, 0, "func(r Reader, w Writer) Reader"}, + {"WriteCloser", Type, 0, ""}, + {"WriteSeeker", Type, 0, ""}, + {"WriteString", Func, 0, "func(w Writer, s string) (n int, err error)"}, + {"Writer", Type, 0, ""}, + {"WriterAt", Type, 0, ""}, + {"WriterTo", Type, 0, ""}, }, "io/fs": { - {"(*PathError).Error", Method, 16}, - {"(*PathError).Timeout", Method, 16}, - {"(*PathError).Unwrap", Method, 16}, - {"(FileMode).IsDir", Method, 16}, - {"(FileMode).IsRegular", Method, 16}, - {"(FileMode).Perm", Method, 16}, - {"(FileMode).String", Method, 16}, - {"(FileMode).Type", Method, 16}, - {"DirEntry", Type, 16}, - {"ErrClosed", Var, 16}, - {"ErrExist", Var, 16}, - {"ErrInvalid", Var, 16}, - {"ErrNotExist", Var, 16}, - {"ErrPermission", Var, 16}, - {"FS", Type, 16}, - {"File", Type, 16}, - {"FileInfo", Type, 16}, - {"FileInfoToDirEntry", Func, 17}, - {"FileMode", Type, 16}, - {"FormatDirEntry", Func, 21}, - {"FormatFileInfo", Func, 21}, - {"Glob", Func, 16}, - {"GlobFS", Type, 16}, - {"ModeAppend", Const, 16}, - {"ModeCharDevice", Const, 16}, - {"ModeDevice", Const, 16}, - {"ModeDir", Const, 16}, - {"ModeExclusive", Const, 16}, - {"ModeIrregular", Const, 16}, - {"ModeNamedPipe", Const, 16}, - {"ModePerm", Const, 16}, - {"ModeSetgid", Const, 16}, - {"ModeSetuid", Const, 16}, - {"ModeSocket", Const, 16}, - {"ModeSticky", Const, 16}, - {"ModeSymlink", Const, 16}, - {"ModeTemporary", Const, 16}, - {"ModeType", Const, 16}, - {"PathError", Type, 16}, - {"PathError.Err", Field, 16}, - {"PathError.Op", Field, 16}, - {"PathError.Path", Field, 16}, - {"ReadDir", Func, 16}, - {"ReadDirFS", Type, 16}, - {"ReadDirFile", Type, 16}, - {"ReadFile", Func, 16}, - {"ReadFileFS", Type, 16}, - {"SkipAll", Var, 20}, - {"SkipDir", Var, 16}, - {"Stat", Func, 16}, - {"StatFS", Type, 16}, - {"Sub", Func, 16}, - {"SubFS", Type, 16}, - {"ValidPath", Func, 16}, - {"WalkDir", Func, 16}, - {"WalkDirFunc", Type, 16}, + {"(*PathError).Error", Method, 16, ""}, + {"(*PathError).Timeout", Method, 16, ""}, + {"(*PathError).Unwrap", Method, 16, ""}, + {"(FileMode).IsDir", Method, 16, ""}, + {"(FileMode).IsRegular", Method, 16, ""}, + {"(FileMode).Perm", Method, 16, ""}, + {"(FileMode).String", Method, 16, ""}, + {"(FileMode).Type", Method, 16, ""}, + {"DirEntry", Type, 16, ""}, + {"ErrClosed", Var, 16, ""}, + {"ErrExist", Var, 16, ""}, + {"ErrInvalid", Var, 16, ""}, + {"ErrNotExist", Var, 16, ""}, + {"ErrPermission", Var, 16, ""}, + {"FS", Type, 16, ""}, + {"File", Type, 16, ""}, + {"FileInfo", Type, 16, ""}, + {"FileInfoToDirEntry", Func, 17, "func(info FileInfo) DirEntry"}, + {"FileMode", Type, 16, ""}, + {"FormatDirEntry", Func, 21, "func(dir DirEntry) string"}, + {"FormatFileInfo", Func, 21, "func(info FileInfo) string"}, + {"Glob", Func, 16, "func(fsys FS, pattern string) (matches []string, err error)"}, + {"GlobFS", Type, 16, ""}, + {"Lstat", Func, 25, "func(fsys FS, name string) (FileInfo, error)"}, + {"ModeAppend", Const, 16, ""}, + {"ModeCharDevice", Const, 16, ""}, + {"ModeDevice", Const, 16, ""}, + {"ModeDir", Const, 16, ""}, + {"ModeExclusive", Const, 16, ""}, + {"ModeIrregular", Const, 16, ""}, + {"ModeNamedPipe", Const, 16, ""}, + {"ModePerm", Const, 16, ""}, + {"ModeSetgid", Const, 16, ""}, + {"ModeSetuid", Const, 16, ""}, + {"ModeSocket", Const, 16, ""}, + {"ModeSticky", Const, 16, ""}, + {"ModeSymlink", Const, 16, ""}, + {"ModeTemporary", Const, 16, ""}, + {"ModeType", Const, 16, ""}, + {"PathError", Type, 16, ""}, + {"PathError.Err", Field, 16, ""}, + {"PathError.Op", Field, 16, ""}, + {"PathError.Path", Field, 16, ""}, + {"ReadDir", Func, 16, "func(fsys FS, name string) ([]DirEntry, error)"}, + {"ReadDirFS", Type, 16, ""}, + {"ReadDirFile", Type, 16, ""}, + {"ReadFile", Func, 16, "func(fsys FS, name string) ([]byte, error)"}, + {"ReadFileFS", Type, 16, ""}, + {"ReadLink", Func, 25, "func(fsys FS, name string) (string, error)"}, + {"ReadLinkFS", Type, 25, ""}, + {"SkipAll", Var, 20, ""}, + {"SkipDir", Var, 16, ""}, + {"Stat", Func, 16, "func(fsys FS, name string) (FileInfo, error)"}, + {"StatFS", Type, 16, ""}, + {"Sub", Func, 16, "func(fsys FS, dir string) (FS, error)"}, + {"SubFS", Type, 16, ""}, + {"ValidPath", Func, 16, "func(name string) bool"}, + {"WalkDir", Func, 16, "func(fsys FS, root string, fn WalkDirFunc) error"}, + {"WalkDirFunc", Type, 16, ""}, }, "io/ioutil": { - {"Discard", Var, 0}, - {"NopCloser", Func, 0}, - {"ReadAll", Func, 0}, - {"ReadDir", Func, 0}, - {"ReadFile", Func, 0}, - {"TempDir", Func, 0}, - {"TempFile", Func, 0}, - {"WriteFile", Func, 0}, + {"Discard", Var, 0, ""}, + {"NopCloser", Func, 0, "func(r io.Reader) io.ReadCloser"}, + {"ReadAll", Func, 0, "func(r io.Reader) ([]byte, error)"}, + {"ReadDir", Func, 0, "func(dirname string) ([]fs.FileInfo, error)"}, + {"ReadFile", Func, 0, "func(filename string) ([]byte, error)"}, + {"TempDir", Func, 0, "func(dir string, pattern string) (name string, err error)"}, + {"TempFile", Func, 0, "func(dir string, pattern string) (f *os.File, err error)"}, + {"WriteFile", Func, 0, "func(filename string, data []byte, perm fs.FileMode) error"}, }, "iter": { - {"Pull", Func, 23}, - {"Pull2", Func, 23}, - {"Seq", Type, 23}, - {"Seq2", Type, 23}, + {"Pull", Func, 23, "func[V any](seq Seq[V]) (next func() (V, bool), stop func())"}, + {"Pull2", Func, 23, "func[K, V any](seq Seq2[K, V]) (next func() (K, V, bool), stop func())"}, + {"Seq", Type, 23, ""}, + {"Seq2", Type, 23, ""}, }, "log": { - {"(*Logger).Fatal", Method, 0}, - {"(*Logger).Fatalf", Method, 0}, - {"(*Logger).Fatalln", Method, 0}, - {"(*Logger).Flags", Method, 0}, - {"(*Logger).Output", Method, 0}, - {"(*Logger).Panic", Method, 0}, - {"(*Logger).Panicf", Method, 0}, - {"(*Logger).Panicln", Method, 0}, - {"(*Logger).Prefix", Method, 0}, - {"(*Logger).Print", Method, 0}, - {"(*Logger).Printf", Method, 0}, - {"(*Logger).Println", Method, 0}, - {"(*Logger).SetFlags", Method, 0}, - {"(*Logger).SetOutput", Method, 5}, - {"(*Logger).SetPrefix", Method, 0}, - {"(*Logger).Writer", Method, 12}, - {"Default", Func, 16}, - {"Fatal", Func, 0}, - {"Fatalf", Func, 0}, - {"Fatalln", Func, 0}, - {"Flags", Func, 0}, - {"LUTC", Const, 5}, - {"Ldate", Const, 0}, - {"Llongfile", Const, 0}, - {"Lmicroseconds", Const, 0}, - {"Lmsgprefix", Const, 14}, - {"Logger", Type, 0}, - {"Lshortfile", Const, 0}, - {"LstdFlags", Const, 0}, - {"Ltime", Const, 0}, - {"New", Func, 0}, - {"Output", Func, 5}, - {"Panic", Func, 0}, - {"Panicf", Func, 0}, - {"Panicln", Func, 0}, - {"Prefix", Func, 0}, - {"Print", Func, 0}, - {"Printf", Func, 0}, - {"Println", Func, 0}, - {"SetFlags", Func, 0}, - {"SetOutput", Func, 0}, - {"SetPrefix", Func, 0}, - {"Writer", Func, 13}, + {"(*Logger).Fatal", Method, 0, ""}, + {"(*Logger).Fatalf", Method, 0, ""}, + {"(*Logger).Fatalln", Method, 0, ""}, + {"(*Logger).Flags", Method, 0, ""}, + {"(*Logger).Output", Method, 0, ""}, + {"(*Logger).Panic", Method, 0, ""}, + {"(*Logger).Panicf", Method, 0, ""}, + {"(*Logger).Panicln", Method, 0, ""}, + {"(*Logger).Prefix", Method, 0, ""}, + {"(*Logger).Print", Method, 0, ""}, + {"(*Logger).Printf", Method, 0, ""}, + {"(*Logger).Println", Method, 0, ""}, + {"(*Logger).SetFlags", Method, 0, ""}, + {"(*Logger).SetOutput", Method, 5, ""}, + {"(*Logger).SetPrefix", Method, 0, ""}, + {"(*Logger).Writer", Method, 12, ""}, + {"Default", Func, 16, "func() *Logger"}, + {"Fatal", Func, 0, "func(v ...any)"}, + {"Fatalf", Func, 0, "func(format string, v ...any)"}, + {"Fatalln", Func, 0, "func(v ...any)"}, + {"Flags", Func, 0, "func() int"}, + {"LUTC", Const, 5, ""}, + {"Ldate", Const, 0, ""}, + {"Llongfile", Const, 0, ""}, + {"Lmicroseconds", Const, 0, ""}, + {"Lmsgprefix", Const, 14, ""}, + {"Logger", Type, 0, ""}, + {"Lshortfile", Const, 0, ""}, + {"LstdFlags", Const, 0, ""}, + {"Ltime", Const, 0, ""}, + {"New", Func, 0, "func(out io.Writer, prefix string, flag int) *Logger"}, + {"Output", Func, 5, "func(calldepth int, s string) error"}, + {"Panic", Func, 0, "func(v ...any)"}, + {"Panicf", Func, 0, "func(format string, v ...any)"}, + {"Panicln", Func, 0, "func(v ...any)"}, + {"Prefix", Func, 0, "func() string"}, + {"Print", Func, 0, "func(v ...any)"}, + {"Printf", Func, 0, "func(format string, v ...any)"}, + {"Println", Func, 0, "func(v ...any)"}, + {"SetFlags", Func, 0, "func(flag int)"}, + {"SetOutput", Func, 0, "func(w io.Writer)"}, + {"SetPrefix", Func, 0, "func(prefix string)"}, + {"Writer", Func, 13, "func() io.Writer"}, }, "log/slog": { - {"(*JSONHandler).Enabled", Method, 21}, - {"(*JSONHandler).Handle", Method, 21}, - {"(*JSONHandler).WithAttrs", Method, 21}, - {"(*JSONHandler).WithGroup", Method, 21}, - {"(*Level).UnmarshalJSON", Method, 21}, - {"(*Level).UnmarshalText", Method, 21}, - {"(*LevelVar).AppendText", Method, 24}, - {"(*LevelVar).Level", Method, 21}, - {"(*LevelVar).MarshalText", Method, 21}, - {"(*LevelVar).Set", Method, 21}, - {"(*LevelVar).String", Method, 21}, - {"(*LevelVar).UnmarshalText", Method, 21}, - {"(*Logger).Debug", Method, 21}, - {"(*Logger).DebugContext", Method, 21}, - {"(*Logger).Enabled", Method, 21}, - {"(*Logger).Error", Method, 21}, - {"(*Logger).ErrorContext", Method, 21}, - {"(*Logger).Handler", Method, 21}, - {"(*Logger).Info", Method, 21}, - {"(*Logger).InfoContext", Method, 21}, - {"(*Logger).Log", Method, 21}, - {"(*Logger).LogAttrs", Method, 21}, - {"(*Logger).Warn", Method, 21}, - {"(*Logger).WarnContext", Method, 21}, - {"(*Logger).With", Method, 21}, - {"(*Logger).WithGroup", Method, 21}, - {"(*Record).Add", Method, 21}, - {"(*Record).AddAttrs", Method, 21}, - {"(*TextHandler).Enabled", Method, 21}, - {"(*TextHandler).Handle", Method, 21}, - {"(*TextHandler).WithAttrs", Method, 21}, - {"(*TextHandler).WithGroup", Method, 21}, - {"(Attr).Equal", Method, 21}, - {"(Attr).String", Method, 21}, - {"(Kind).String", Method, 21}, - {"(Level).AppendText", Method, 24}, - {"(Level).Level", Method, 21}, - {"(Level).MarshalJSON", Method, 21}, - {"(Level).MarshalText", Method, 21}, - {"(Level).String", Method, 21}, - {"(Record).Attrs", Method, 21}, - {"(Record).Clone", Method, 21}, - {"(Record).NumAttrs", Method, 21}, - {"(Value).Any", Method, 21}, - {"(Value).Bool", Method, 21}, - {"(Value).Duration", Method, 21}, - {"(Value).Equal", Method, 21}, - {"(Value).Float64", Method, 21}, - {"(Value).Group", Method, 21}, - {"(Value).Int64", Method, 21}, - {"(Value).Kind", Method, 21}, - {"(Value).LogValuer", Method, 21}, - {"(Value).Resolve", Method, 21}, - {"(Value).String", Method, 21}, - {"(Value).Time", Method, 21}, - {"(Value).Uint64", Method, 21}, - {"Any", Func, 21}, - {"AnyValue", Func, 21}, - {"Attr", Type, 21}, - {"Attr.Key", Field, 21}, - {"Attr.Value", Field, 21}, - {"Bool", Func, 21}, - {"BoolValue", Func, 21}, - {"Debug", Func, 21}, - {"DebugContext", Func, 21}, - {"Default", Func, 21}, - {"DiscardHandler", Var, 24}, - {"Duration", Func, 21}, - {"DurationValue", Func, 21}, - {"Error", Func, 21}, - {"ErrorContext", Func, 21}, - {"Float64", Func, 21}, - {"Float64Value", Func, 21}, - {"Group", Func, 21}, - {"GroupValue", Func, 21}, - {"Handler", Type, 21}, - {"HandlerOptions", Type, 21}, - {"HandlerOptions.AddSource", Field, 21}, - {"HandlerOptions.Level", Field, 21}, - {"HandlerOptions.ReplaceAttr", Field, 21}, - {"Info", Func, 21}, - {"InfoContext", Func, 21}, - {"Int", Func, 21}, - {"Int64", Func, 21}, - {"Int64Value", Func, 21}, - {"IntValue", Func, 21}, - {"JSONHandler", Type, 21}, - {"Kind", Type, 21}, - {"KindAny", Const, 21}, - {"KindBool", Const, 21}, - {"KindDuration", Const, 21}, - {"KindFloat64", Const, 21}, - {"KindGroup", Const, 21}, - {"KindInt64", Const, 21}, - {"KindLogValuer", Const, 21}, - {"KindString", Const, 21}, - {"KindTime", Const, 21}, - {"KindUint64", Const, 21}, - {"Level", Type, 21}, - {"LevelDebug", Const, 21}, - {"LevelError", Const, 21}, - {"LevelInfo", Const, 21}, - {"LevelKey", Const, 21}, - {"LevelVar", Type, 21}, - {"LevelWarn", Const, 21}, - {"Leveler", Type, 21}, - {"Log", Func, 21}, - {"LogAttrs", Func, 21}, - {"LogValuer", Type, 21}, - {"Logger", Type, 21}, - {"MessageKey", Const, 21}, - {"New", Func, 21}, - {"NewJSONHandler", Func, 21}, - {"NewLogLogger", Func, 21}, - {"NewRecord", Func, 21}, - {"NewTextHandler", Func, 21}, - {"Record", Type, 21}, - {"Record.Level", Field, 21}, - {"Record.Message", Field, 21}, - {"Record.PC", Field, 21}, - {"Record.Time", Field, 21}, - {"SetDefault", Func, 21}, - {"SetLogLoggerLevel", Func, 22}, - {"Source", Type, 21}, - {"Source.File", Field, 21}, - {"Source.Function", Field, 21}, - {"Source.Line", Field, 21}, - {"SourceKey", Const, 21}, - {"String", Func, 21}, - {"StringValue", Func, 21}, - {"TextHandler", Type, 21}, - {"Time", Func, 21}, - {"TimeKey", Const, 21}, - {"TimeValue", Func, 21}, - {"Uint64", Func, 21}, - {"Uint64Value", Func, 21}, - {"Value", Type, 21}, - {"Warn", Func, 21}, - {"WarnContext", Func, 21}, - {"With", Func, 21}, + {"(*JSONHandler).Enabled", Method, 21, ""}, + {"(*JSONHandler).Handle", Method, 21, ""}, + {"(*JSONHandler).WithAttrs", Method, 21, ""}, + {"(*JSONHandler).WithGroup", Method, 21, ""}, + {"(*Level).UnmarshalJSON", Method, 21, ""}, + {"(*Level).UnmarshalText", Method, 21, ""}, + {"(*LevelVar).AppendText", Method, 24, ""}, + {"(*LevelVar).Level", Method, 21, ""}, + {"(*LevelVar).MarshalText", Method, 21, ""}, + {"(*LevelVar).Set", Method, 21, ""}, + {"(*LevelVar).String", Method, 21, ""}, + {"(*LevelVar).UnmarshalText", Method, 21, ""}, + {"(*Logger).Debug", Method, 21, ""}, + {"(*Logger).DebugContext", Method, 21, ""}, + {"(*Logger).Enabled", Method, 21, ""}, + {"(*Logger).Error", Method, 21, ""}, + {"(*Logger).ErrorContext", Method, 21, ""}, + {"(*Logger).Handler", Method, 21, ""}, + {"(*Logger).Info", Method, 21, ""}, + {"(*Logger).InfoContext", Method, 21, ""}, + {"(*Logger).Log", Method, 21, ""}, + {"(*Logger).LogAttrs", Method, 21, ""}, + {"(*Logger).Warn", Method, 21, ""}, + {"(*Logger).WarnContext", Method, 21, ""}, + {"(*Logger).With", Method, 21, ""}, + {"(*Logger).WithGroup", Method, 21, ""}, + {"(*Record).Add", Method, 21, ""}, + {"(*Record).AddAttrs", Method, 21, ""}, + {"(*TextHandler).Enabled", Method, 21, ""}, + {"(*TextHandler).Handle", Method, 21, ""}, + {"(*TextHandler).WithAttrs", Method, 21, ""}, + {"(*TextHandler).WithGroup", Method, 21, ""}, + {"(Attr).Equal", Method, 21, ""}, + {"(Attr).String", Method, 21, ""}, + {"(Kind).String", Method, 21, ""}, + {"(Level).AppendText", Method, 24, ""}, + {"(Level).Level", Method, 21, ""}, + {"(Level).MarshalJSON", Method, 21, ""}, + {"(Level).MarshalText", Method, 21, ""}, + {"(Level).String", Method, 21, ""}, + {"(Record).Attrs", Method, 21, ""}, + {"(Record).Clone", Method, 21, ""}, + {"(Record).NumAttrs", Method, 21, ""}, + {"(Record).Source", Method, 25, ""}, + {"(Value).Any", Method, 21, ""}, + {"(Value).Bool", Method, 21, ""}, + {"(Value).Duration", Method, 21, ""}, + {"(Value).Equal", Method, 21, ""}, + {"(Value).Float64", Method, 21, ""}, + {"(Value).Group", Method, 21, ""}, + {"(Value).Int64", Method, 21, ""}, + {"(Value).Kind", Method, 21, ""}, + {"(Value).LogValuer", Method, 21, ""}, + {"(Value).Resolve", Method, 21, ""}, + {"(Value).String", Method, 21, ""}, + {"(Value).Time", Method, 21, ""}, + {"(Value).Uint64", Method, 21, ""}, + {"Any", Func, 21, "func(key string, value any) Attr"}, + {"AnyValue", Func, 21, "func(v any) Value"}, + {"Attr", Type, 21, ""}, + {"Attr.Key", Field, 21, ""}, + {"Attr.Value", Field, 21, ""}, + {"Bool", Func, 21, "func(key string, v bool) Attr"}, + {"BoolValue", Func, 21, "func(v bool) Value"}, + {"Debug", Func, 21, "func(msg string, args ...any)"}, + {"DebugContext", Func, 21, "func(ctx context.Context, msg string, args ...any)"}, + {"Default", Func, 21, "func() *Logger"}, + {"DiscardHandler", Var, 24, ""}, + {"Duration", Func, 21, "func(key string, v time.Duration) Attr"}, + {"DurationValue", Func, 21, "func(v time.Duration) Value"}, + {"Error", Func, 21, "func(msg string, args ...any)"}, + {"ErrorContext", Func, 21, "func(ctx context.Context, msg string, args ...any)"}, + {"Float64", Func, 21, "func(key string, v float64) Attr"}, + {"Float64Value", Func, 21, "func(v float64) Value"}, + {"Group", Func, 21, "func(key string, args ...any) Attr"}, + {"GroupAttrs", Func, 25, "func(key string, attrs ...Attr) Attr"}, + {"GroupValue", Func, 21, "func(as ...Attr) Value"}, + {"Handler", Type, 21, ""}, + {"HandlerOptions", Type, 21, ""}, + {"HandlerOptions.AddSource", Field, 21, ""}, + {"HandlerOptions.Level", Field, 21, ""}, + {"HandlerOptions.ReplaceAttr", Field, 21, ""}, + {"Info", Func, 21, "func(msg string, args ...any)"}, + {"InfoContext", Func, 21, "func(ctx context.Context, msg string, args ...any)"}, + {"Int", Func, 21, "func(key string, value int) Attr"}, + {"Int64", Func, 21, "func(key string, value int64) Attr"}, + {"Int64Value", Func, 21, "func(v int64) Value"}, + {"IntValue", Func, 21, "func(v int) Value"}, + {"JSONHandler", Type, 21, ""}, + {"Kind", Type, 21, ""}, + {"KindAny", Const, 21, ""}, + {"KindBool", Const, 21, ""}, + {"KindDuration", Const, 21, ""}, + {"KindFloat64", Const, 21, ""}, + {"KindGroup", Const, 21, ""}, + {"KindInt64", Const, 21, ""}, + {"KindLogValuer", Const, 21, ""}, + {"KindString", Const, 21, ""}, + {"KindTime", Const, 21, ""}, + {"KindUint64", Const, 21, ""}, + {"Level", Type, 21, ""}, + {"LevelDebug", Const, 21, ""}, + {"LevelError", Const, 21, ""}, + {"LevelInfo", Const, 21, ""}, + {"LevelKey", Const, 21, ""}, + {"LevelVar", Type, 21, ""}, + {"LevelWarn", Const, 21, ""}, + {"Leveler", Type, 21, ""}, + {"Log", Func, 21, "func(ctx context.Context, level Level, msg string, args ...any)"}, + {"LogAttrs", Func, 21, "func(ctx context.Context, level Level, msg string, attrs ...Attr)"}, + {"LogValuer", Type, 21, ""}, + {"Logger", Type, 21, ""}, + {"MessageKey", Const, 21, ""}, + {"New", Func, 21, "func(h Handler) *Logger"}, + {"NewJSONHandler", Func, 21, "func(w io.Writer, opts *HandlerOptions) *JSONHandler"}, + {"NewLogLogger", Func, 21, "func(h Handler, level Level) *log.Logger"}, + {"NewRecord", Func, 21, "func(t time.Time, level Level, msg string, pc uintptr) Record"}, + {"NewTextHandler", Func, 21, "func(w io.Writer, opts *HandlerOptions) *TextHandler"}, + {"Record", Type, 21, ""}, + {"Record.Level", Field, 21, ""}, + {"Record.Message", Field, 21, ""}, + {"Record.PC", Field, 21, ""}, + {"Record.Time", Field, 21, ""}, + {"SetDefault", Func, 21, "func(l *Logger)"}, + {"SetLogLoggerLevel", Func, 22, "func(level Level) (oldLevel Level)"}, + {"Source", Type, 21, ""}, + {"Source.File", Field, 21, ""}, + {"Source.Function", Field, 21, ""}, + {"Source.Line", Field, 21, ""}, + {"SourceKey", Const, 21, ""}, + {"String", Func, 21, "func(key string, value string) Attr"}, + {"StringValue", Func, 21, "func(value string) Value"}, + {"TextHandler", Type, 21, ""}, + {"Time", Func, 21, "func(key string, v time.Time) Attr"}, + {"TimeKey", Const, 21, ""}, + {"TimeValue", Func, 21, "func(v time.Time) Value"}, + {"Uint64", Func, 21, "func(key string, v uint64) Attr"}, + {"Uint64Value", Func, 21, "func(v uint64) Value"}, + {"Value", Type, 21, ""}, + {"Warn", Func, 21, "func(msg string, args ...any)"}, + {"WarnContext", Func, 21, "func(ctx context.Context, msg string, args ...any)"}, + {"With", Func, 21, "func(args ...any) *Logger"}, }, "log/syslog": { - {"(*Writer).Alert", Method, 0}, - {"(*Writer).Close", Method, 0}, - {"(*Writer).Crit", Method, 0}, - {"(*Writer).Debug", Method, 0}, - {"(*Writer).Emerg", Method, 0}, - {"(*Writer).Err", Method, 0}, - {"(*Writer).Info", Method, 0}, - {"(*Writer).Notice", Method, 0}, - {"(*Writer).Warning", Method, 0}, - {"(*Writer).Write", Method, 0}, - {"Dial", Func, 0}, - {"LOG_ALERT", Const, 0}, - {"LOG_AUTH", Const, 1}, - {"LOG_AUTHPRIV", Const, 1}, - {"LOG_CRIT", Const, 0}, - {"LOG_CRON", Const, 1}, - {"LOG_DAEMON", Const, 1}, - {"LOG_DEBUG", Const, 0}, - {"LOG_EMERG", Const, 0}, - {"LOG_ERR", Const, 0}, - {"LOG_FTP", Const, 1}, - {"LOG_INFO", Const, 0}, - {"LOG_KERN", Const, 1}, - {"LOG_LOCAL0", Const, 1}, - {"LOG_LOCAL1", Const, 1}, - {"LOG_LOCAL2", Const, 1}, - {"LOG_LOCAL3", Const, 1}, - {"LOG_LOCAL4", Const, 1}, - {"LOG_LOCAL5", Const, 1}, - {"LOG_LOCAL6", Const, 1}, - {"LOG_LOCAL7", Const, 1}, - {"LOG_LPR", Const, 1}, - {"LOG_MAIL", Const, 1}, - {"LOG_NEWS", Const, 1}, - {"LOG_NOTICE", Const, 0}, - {"LOG_SYSLOG", Const, 1}, - {"LOG_USER", Const, 1}, - {"LOG_UUCP", Const, 1}, - {"LOG_WARNING", Const, 0}, - {"New", Func, 0}, - {"NewLogger", Func, 0}, - {"Priority", Type, 0}, - {"Writer", Type, 0}, + {"(*Writer).Alert", Method, 0, ""}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).Crit", Method, 0, ""}, + {"(*Writer).Debug", Method, 0, ""}, + {"(*Writer).Emerg", Method, 0, ""}, + {"(*Writer).Err", Method, 0, ""}, + {"(*Writer).Info", Method, 0, ""}, + {"(*Writer).Notice", Method, 0, ""}, + {"(*Writer).Warning", Method, 0, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"Dial", Func, 0, "func(network string, raddr string, priority Priority, tag string) (*Writer, error)"}, + {"LOG_ALERT", Const, 0, ""}, + {"LOG_AUTH", Const, 1, ""}, + {"LOG_AUTHPRIV", Const, 1, ""}, + {"LOG_CRIT", Const, 0, ""}, + {"LOG_CRON", Const, 1, ""}, + {"LOG_DAEMON", Const, 1, ""}, + {"LOG_DEBUG", Const, 0, ""}, + {"LOG_EMERG", Const, 0, ""}, + {"LOG_ERR", Const, 0, ""}, + {"LOG_FTP", Const, 1, ""}, + {"LOG_INFO", Const, 0, ""}, + {"LOG_KERN", Const, 1, ""}, + {"LOG_LOCAL0", Const, 1, ""}, + {"LOG_LOCAL1", Const, 1, ""}, + {"LOG_LOCAL2", Const, 1, ""}, + {"LOG_LOCAL3", Const, 1, ""}, + {"LOG_LOCAL4", Const, 1, ""}, + {"LOG_LOCAL5", Const, 1, ""}, + {"LOG_LOCAL6", Const, 1, ""}, + {"LOG_LOCAL7", Const, 1, ""}, + {"LOG_LPR", Const, 1, ""}, + {"LOG_MAIL", Const, 1, ""}, + {"LOG_NEWS", Const, 1, ""}, + {"LOG_NOTICE", Const, 0, ""}, + {"LOG_SYSLOG", Const, 1, ""}, + {"LOG_USER", Const, 1, ""}, + {"LOG_UUCP", Const, 1, ""}, + {"LOG_WARNING", Const, 0, ""}, + {"New", Func, 0, "func(priority Priority, tag string) (*Writer, error)"}, + {"NewLogger", Func, 0, "func(p Priority, logFlag int) (*log.Logger, error)"}, + {"Priority", Type, 0, ""}, + {"Writer", Type, 0, ""}, }, "maps": { - {"All", Func, 23}, - {"Clone", Func, 21}, - {"Collect", Func, 23}, - {"Copy", Func, 21}, - {"DeleteFunc", Func, 21}, - {"Equal", Func, 21}, - {"EqualFunc", Func, 21}, - {"Insert", Func, 23}, - {"Keys", Func, 23}, - {"Values", Func, 23}, + {"All", Func, 23, "func[Map ~map[K]V, K comparable, V any](m Map) iter.Seq2[K, V]"}, + {"Clone", Func, 21, "func[M ~map[K]V, K comparable, V any](m M) M"}, + {"Collect", Func, 23, "func[K comparable, V any](seq iter.Seq2[K, V]) map[K]V"}, + {"Copy", Func, 21, "func[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2)"}, + {"DeleteFunc", Func, 21, "func[M ~map[K]V, K comparable, V any](m M, del func(K, V) bool)"}, + {"Equal", Func, 21, "func[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool"}, + {"EqualFunc", Func, 21, "func[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool"}, + {"Insert", Func, 23, "func[Map ~map[K]V, K comparable, V any](m Map, seq iter.Seq2[K, V])"}, + {"Keys", Func, 23, "func[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[K]"}, + {"Values", Func, 23, "func[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[V]"}, }, "math": { - {"Abs", Func, 0}, - {"Acos", Func, 0}, - {"Acosh", Func, 0}, - {"Asin", Func, 0}, - {"Asinh", Func, 0}, - {"Atan", Func, 0}, - {"Atan2", Func, 0}, - {"Atanh", Func, 0}, - {"Cbrt", Func, 0}, - {"Ceil", Func, 0}, - {"Copysign", Func, 0}, - {"Cos", Func, 0}, - {"Cosh", Func, 0}, - {"Dim", Func, 0}, - {"E", Const, 0}, - {"Erf", Func, 0}, - {"Erfc", Func, 0}, - {"Erfcinv", Func, 10}, - {"Erfinv", Func, 10}, - {"Exp", Func, 0}, - {"Exp2", Func, 0}, - {"Expm1", Func, 0}, - {"FMA", Func, 14}, - {"Float32bits", Func, 0}, - {"Float32frombits", Func, 0}, - {"Float64bits", Func, 0}, - {"Float64frombits", Func, 0}, - {"Floor", Func, 0}, - {"Frexp", Func, 0}, - {"Gamma", Func, 0}, - {"Hypot", Func, 0}, - {"Ilogb", Func, 0}, - {"Inf", Func, 0}, - {"IsInf", Func, 0}, - {"IsNaN", Func, 0}, - {"J0", Func, 0}, - {"J1", Func, 0}, - {"Jn", Func, 0}, - {"Ldexp", Func, 0}, - {"Lgamma", Func, 0}, - {"Ln10", Const, 0}, - {"Ln2", Const, 0}, - {"Log", Func, 0}, - {"Log10", Func, 0}, - {"Log10E", Const, 0}, - {"Log1p", Func, 0}, - {"Log2", Func, 0}, - {"Log2E", Const, 0}, - {"Logb", Func, 0}, - {"Max", Func, 0}, - {"MaxFloat32", Const, 0}, - {"MaxFloat64", Const, 0}, - {"MaxInt", Const, 17}, - {"MaxInt16", Const, 0}, - {"MaxInt32", Const, 0}, - {"MaxInt64", Const, 0}, - {"MaxInt8", Const, 0}, - {"MaxUint", Const, 17}, - {"MaxUint16", Const, 0}, - {"MaxUint32", Const, 0}, - {"MaxUint64", Const, 0}, - {"MaxUint8", Const, 0}, - {"Min", Func, 0}, - {"MinInt", Const, 17}, - {"MinInt16", Const, 0}, - {"MinInt32", Const, 0}, - {"MinInt64", Const, 0}, - {"MinInt8", Const, 0}, - {"Mod", Func, 0}, - {"Modf", Func, 0}, - {"NaN", Func, 0}, - {"Nextafter", Func, 0}, - {"Nextafter32", Func, 4}, - {"Phi", Const, 0}, - {"Pi", Const, 0}, - {"Pow", Func, 0}, - {"Pow10", Func, 0}, - {"Remainder", Func, 0}, - {"Round", Func, 10}, - {"RoundToEven", Func, 10}, - {"Signbit", Func, 0}, - {"Sin", Func, 0}, - {"Sincos", Func, 0}, - {"Sinh", Func, 0}, - {"SmallestNonzeroFloat32", Const, 0}, - {"SmallestNonzeroFloat64", Const, 0}, - {"Sqrt", Func, 0}, - {"Sqrt2", Const, 0}, - {"SqrtE", Const, 0}, - {"SqrtPhi", Const, 0}, - {"SqrtPi", Const, 0}, - {"Tan", Func, 0}, - {"Tanh", Func, 0}, - {"Trunc", Func, 0}, - {"Y0", Func, 0}, - {"Y1", Func, 0}, - {"Yn", Func, 0}, + {"Abs", Func, 0, "func(x float64) float64"}, + {"Acos", Func, 0, "func(x float64) float64"}, + {"Acosh", Func, 0, "func(x float64) float64"}, + {"Asin", Func, 0, "func(x float64) float64"}, + {"Asinh", Func, 0, "func(x float64) float64"}, + {"Atan", Func, 0, "func(x float64) float64"}, + {"Atan2", Func, 0, "func(y float64, x float64) float64"}, + {"Atanh", Func, 0, "func(x float64) float64"}, + {"Cbrt", Func, 0, "func(x float64) float64"}, + {"Ceil", Func, 0, "func(x float64) float64"}, + {"Copysign", Func, 0, "func(f float64, sign float64) float64"}, + {"Cos", Func, 0, "func(x float64) float64"}, + {"Cosh", Func, 0, "func(x float64) float64"}, + {"Dim", Func, 0, "func(x float64, y float64) float64"}, + {"E", Const, 0, ""}, + {"Erf", Func, 0, "func(x float64) float64"}, + {"Erfc", Func, 0, "func(x float64) float64"}, + {"Erfcinv", Func, 10, "func(x float64) float64"}, + {"Erfinv", Func, 10, "func(x float64) float64"}, + {"Exp", Func, 0, "func(x float64) float64"}, + {"Exp2", Func, 0, "func(x float64) float64"}, + {"Expm1", Func, 0, "func(x float64) float64"}, + {"FMA", Func, 14, "func(x float64, y float64, z float64) float64"}, + {"Float32bits", Func, 0, "func(f float32) uint32"}, + {"Float32frombits", Func, 0, "func(b uint32) float32"}, + {"Float64bits", Func, 0, "func(f float64) uint64"}, + {"Float64frombits", Func, 0, "func(b uint64) float64"}, + {"Floor", Func, 0, "func(x float64) float64"}, + {"Frexp", Func, 0, "func(f float64) (frac float64, exp int)"}, + {"Gamma", Func, 0, "func(x float64) float64"}, + {"Hypot", Func, 0, "func(p float64, q float64) float64"}, + {"Ilogb", Func, 0, "func(x float64) int"}, + {"Inf", Func, 0, "func(sign int) float64"}, + {"IsInf", Func, 0, "func(f float64, sign int) bool"}, + {"IsNaN", Func, 0, "func(f float64) (is bool)"}, + {"J0", Func, 0, "func(x float64) float64"}, + {"J1", Func, 0, "func(x float64) float64"}, + {"Jn", Func, 0, "func(n int, x float64) float64"}, + {"Ldexp", Func, 0, "func(frac float64, exp int) float64"}, + {"Lgamma", Func, 0, "func(x float64) (lgamma float64, sign int)"}, + {"Ln10", Const, 0, ""}, + {"Ln2", Const, 0, ""}, + {"Log", Func, 0, "func(x float64) float64"}, + {"Log10", Func, 0, "func(x float64) float64"}, + {"Log10E", Const, 0, ""}, + {"Log1p", Func, 0, "func(x float64) float64"}, + {"Log2", Func, 0, "func(x float64) float64"}, + {"Log2E", Const, 0, ""}, + {"Logb", Func, 0, "func(x float64) float64"}, + {"Max", Func, 0, "func(x float64, y float64) float64"}, + {"MaxFloat32", Const, 0, ""}, + {"MaxFloat64", Const, 0, ""}, + {"MaxInt", Const, 17, ""}, + {"MaxInt16", Const, 0, ""}, + {"MaxInt32", Const, 0, ""}, + {"MaxInt64", Const, 0, ""}, + {"MaxInt8", Const, 0, ""}, + {"MaxUint", Const, 17, ""}, + {"MaxUint16", Const, 0, ""}, + {"MaxUint32", Const, 0, ""}, + {"MaxUint64", Const, 0, ""}, + {"MaxUint8", Const, 0, ""}, + {"Min", Func, 0, "func(x float64, y float64) float64"}, + {"MinInt", Const, 17, ""}, + {"MinInt16", Const, 0, ""}, + {"MinInt32", Const, 0, ""}, + {"MinInt64", Const, 0, ""}, + {"MinInt8", Const, 0, ""}, + {"Mod", Func, 0, "func(x float64, y float64) float64"}, + {"Modf", Func, 0, "func(f float64) (int float64, frac float64)"}, + {"NaN", Func, 0, "func() float64"}, + {"Nextafter", Func, 0, "func(x float64, y float64) (r float64)"}, + {"Nextafter32", Func, 4, "func(x float32, y float32) (r float32)"}, + {"Phi", Const, 0, ""}, + {"Pi", Const, 0, ""}, + {"Pow", Func, 0, "func(x float64, y float64) float64"}, + {"Pow10", Func, 0, "func(n int) float64"}, + {"Remainder", Func, 0, "func(x float64, y float64) float64"}, + {"Round", Func, 10, "func(x float64) float64"}, + {"RoundToEven", Func, 10, "func(x float64) float64"}, + {"Signbit", Func, 0, "func(x float64) bool"}, + {"Sin", Func, 0, "func(x float64) float64"}, + {"Sincos", Func, 0, "func(x float64) (sin float64, cos float64)"}, + {"Sinh", Func, 0, "func(x float64) float64"}, + {"SmallestNonzeroFloat32", Const, 0, ""}, + {"SmallestNonzeroFloat64", Const, 0, ""}, + {"Sqrt", Func, 0, "func(x float64) float64"}, + {"Sqrt2", Const, 0, ""}, + {"SqrtE", Const, 0, ""}, + {"SqrtPhi", Const, 0, ""}, + {"SqrtPi", Const, 0, ""}, + {"Tan", Func, 0, "func(x float64) float64"}, + {"Tanh", Func, 0, "func(x float64) float64"}, + {"Trunc", Func, 0, "func(x float64) float64"}, + {"Y0", Func, 0, "func(x float64) float64"}, + {"Y1", Func, 0, "func(x float64) float64"}, + {"Yn", Func, 0, "func(n int, x float64) float64"}, }, "math/big": { - {"(*Float).Abs", Method, 5}, - {"(*Float).Acc", Method, 5}, - {"(*Float).Add", Method, 5}, - {"(*Float).Append", Method, 5}, - {"(*Float).AppendText", Method, 24}, - {"(*Float).Cmp", Method, 5}, - {"(*Float).Copy", Method, 5}, - {"(*Float).Float32", Method, 5}, - {"(*Float).Float64", Method, 5}, - {"(*Float).Format", Method, 5}, - {"(*Float).GobDecode", Method, 7}, - {"(*Float).GobEncode", Method, 7}, - {"(*Float).Int", Method, 5}, - {"(*Float).Int64", Method, 5}, - {"(*Float).IsInf", Method, 5}, - {"(*Float).IsInt", Method, 5}, - {"(*Float).MantExp", Method, 5}, - {"(*Float).MarshalText", Method, 6}, - {"(*Float).MinPrec", Method, 5}, - {"(*Float).Mode", Method, 5}, - {"(*Float).Mul", Method, 5}, - {"(*Float).Neg", Method, 5}, - {"(*Float).Parse", Method, 5}, - {"(*Float).Prec", Method, 5}, - {"(*Float).Quo", Method, 5}, - {"(*Float).Rat", Method, 5}, - {"(*Float).Scan", Method, 8}, - {"(*Float).Set", Method, 5}, - {"(*Float).SetFloat64", Method, 5}, - {"(*Float).SetInf", Method, 5}, - {"(*Float).SetInt", Method, 5}, - {"(*Float).SetInt64", Method, 5}, - {"(*Float).SetMantExp", Method, 5}, - {"(*Float).SetMode", Method, 5}, - {"(*Float).SetPrec", Method, 5}, - {"(*Float).SetRat", Method, 5}, - {"(*Float).SetString", Method, 5}, - {"(*Float).SetUint64", Method, 5}, - {"(*Float).Sign", Method, 5}, - {"(*Float).Signbit", Method, 5}, - {"(*Float).Sqrt", Method, 10}, - {"(*Float).String", Method, 5}, - {"(*Float).Sub", Method, 5}, - {"(*Float).Text", Method, 5}, - {"(*Float).Uint64", Method, 5}, - {"(*Float).UnmarshalText", Method, 6}, - {"(*Int).Abs", Method, 0}, - {"(*Int).Add", Method, 0}, - {"(*Int).And", Method, 0}, - {"(*Int).AndNot", Method, 0}, - {"(*Int).Append", Method, 6}, - {"(*Int).AppendText", Method, 24}, - {"(*Int).Binomial", Method, 0}, - {"(*Int).Bit", Method, 0}, - {"(*Int).BitLen", Method, 0}, - {"(*Int).Bits", Method, 0}, - {"(*Int).Bytes", Method, 0}, - {"(*Int).Cmp", Method, 0}, - {"(*Int).CmpAbs", Method, 10}, - {"(*Int).Div", Method, 0}, - {"(*Int).DivMod", Method, 0}, - {"(*Int).Exp", Method, 0}, - {"(*Int).FillBytes", Method, 15}, - {"(*Int).Float64", Method, 21}, - {"(*Int).Format", Method, 0}, - {"(*Int).GCD", Method, 0}, - {"(*Int).GobDecode", Method, 0}, - {"(*Int).GobEncode", Method, 0}, - {"(*Int).Int64", Method, 0}, - {"(*Int).IsInt64", Method, 9}, - {"(*Int).IsUint64", Method, 9}, - {"(*Int).Lsh", Method, 0}, - {"(*Int).MarshalJSON", Method, 1}, - {"(*Int).MarshalText", Method, 3}, - {"(*Int).Mod", Method, 0}, - {"(*Int).ModInverse", Method, 0}, - {"(*Int).ModSqrt", Method, 5}, - {"(*Int).Mul", Method, 0}, - {"(*Int).MulRange", Method, 0}, - {"(*Int).Neg", Method, 0}, - {"(*Int).Not", Method, 0}, - {"(*Int).Or", Method, 0}, - {"(*Int).ProbablyPrime", Method, 0}, - {"(*Int).Quo", Method, 0}, - {"(*Int).QuoRem", Method, 0}, - {"(*Int).Rand", Method, 0}, - {"(*Int).Rem", Method, 0}, - {"(*Int).Rsh", Method, 0}, - {"(*Int).Scan", Method, 0}, - {"(*Int).Set", Method, 0}, - {"(*Int).SetBit", Method, 0}, - {"(*Int).SetBits", Method, 0}, - {"(*Int).SetBytes", Method, 0}, - {"(*Int).SetInt64", Method, 0}, - {"(*Int).SetString", Method, 0}, - {"(*Int).SetUint64", Method, 1}, - {"(*Int).Sign", Method, 0}, - {"(*Int).Sqrt", Method, 8}, - {"(*Int).String", Method, 0}, - {"(*Int).Sub", Method, 0}, - {"(*Int).Text", Method, 6}, - {"(*Int).TrailingZeroBits", Method, 13}, - {"(*Int).Uint64", Method, 1}, - {"(*Int).UnmarshalJSON", Method, 1}, - {"(*Int).UnmarshalText", Method, 3}, - {"(*Int).Xor", Method, 0}, - {"(*Rat).Abs", Method, 0}, - {"(*Rat).Add", Method, 0}, - {"(*Rat).AppendText", Method, 24}, - {"(*Rat).Cmp", Method, 0}, - {"(*Rat).Denom", Method, 0}, - {"(*Rat).Float32", Method, 4}, - {"(*Rat).Float64", Method, 1}, - {"(*Rat).FloatPrec", Method, 22}, - {"(*Rat).FloatString", Method, 0}, - {"(*Rat).GobDecode", Method, 0}, - {"(*Rat).GobEncode", Method, 0}, - {"(*Rat).Inv", Method, 0}, - {"(*Rat).IsInt", Method, 0}, - {"(*Rat).MarshalText", Method, 3}, - {"(*Rat).Mul", Method, 0}, - {"(*Rat).Neg", Method, 0}, - {"(*Rat).Num", Method, 0}, - {"(*Rat).Quo", Method, 0}, - {"(*Rat).RatString", Method, 0}, - {"(*Rat).Scan", Method, 0}, - {"(*Rat).Set", Method, 0}, - {"(*Rat).SetFloat64", Method, 1}, - {"(*Rat).SetFrac", Method, 0}, - {"(*Rat).SetFrac64", Method, 0}, - {"(*Rat).SetInt", Method, 0}, - {"(*Rat).SetInt64", Method, 0}, - {"(*Rat).SetString", Method, 0}, - {"(*Rat).SetUint64", Method, 13}, - {"(*Rat).Sign", Method, 0}, - {"(*Rat).String", Method, 0}, - {"(*Rat).Sub", Method, 0}, - {"(*Rat).UnmarshalText", Method, 3}, - {"(Accuracy).String", Method, 5}, - {"(ErrNaN).Error", Method, 5}, - {"(RoundingMode).String", Method, 5}, - {"Above", Const, 5}, - {"Accuracy", Type, 5}, - {"AwayFromZero", Const, 5}, - {"Below", Const, 5}, - {"ErrNaN", Type, 5}, - {"Exact", Const, 5}, - {"Float", Type, 5}, - {"Int", Type, 0}, - {"Jacobi", Func, 5}, - {"MaxBase", Const, 0}, - {"MaxExp", Const, 5}, - {"MaxPrec", Const, 5}, - {"MinExp", Const, 5}, - {"NewFloat", Func, 5}, - {"NewInt", Func, 0}, - {"NewRat", Func, 0}, - {"ParseFloat", Func, 5}, - {"Rat", Type, 0}, - {"RoundingMode", Type, 5}, - {"ToNearestAway", Const, 5}, - {"ToNearestEven", Const, 5}, - {"ToNegativeInf", Const, 5}, - {"ToPositiveInf", Const, 5}, - {"ToZero", Const, 5}, - {"Word", Type, 0}, + {"(*Float).Abs", Method, 5, ""}, + {"(*Float).Acc", Method, 5, ""}, + {"(*Float).Add", Method, 5, ""}, + {"(*Float).Append", Method, 5, ""}, + {"(*Float).AppendText", Method, 24, ""}, + {"(*Float).Cmp", Method, 5, ""}, + {"(*Float).Copy", Method, 5, ""}, + {"(*Float).Float32", Method, 5, ""}, + {"(*Float).Float64", Method, 5, ""}, + {"(*Float).Format", Method, 5, ""}, + {"(*Float).GobDecode", Method, 7, ""}, + {"(*Float).GobEncode", Method, 7, ""}, + {"(*Float).Int", Method, 5, ""}, + {"(*Float).Int64", Method, 5, ""}, + {"(*Float).IsInf", Method, 5, ""}, + {"(*Float).IsInt", Method, 5, ""}, + {"(*Float).MantExp", Method, 5, ""}, + {"(*Float).MarshalText", Method, 6, ""}, + {"(*Float).MinPrec", Method, 5, ""}, + {"(*Float).Mode", Method, 5, ""}, + {"(*Float).Mul", Method, 5, ""}, + {"(*Float).Neg", Method, 5, ""}, + {"(*Float).Parse", Method, 5, ""}, + {"(*Float).Prec", Method, 5, ""}, + {"(*Float).Quo", Method, 5, ""}, + {"(*Float).Rat", Method, 5, ""}, + {"(*Float).Scan", Method, 8, ""}, + {"(*Float).Set", Method, 5, ""}, + {"(*Float).SetFloat64", Method, 5, ""}, + {"(*Float).SetInf", Method, 5, ""}, + {"(*Float).SetInt", Method, 5, ""}, + {"(*Float).SetInt64", Method, 5, ""}, + {"(*Float).SetMantExp", Method, 5, ""}, + {"(*Float).SetMode", Method, 5, ""}, + {"(*Float).SetPrec", Method, 5, ""}, + {"(*Float).SetRat", Method, 5, ""}, + {"(*Float).SetString", Method, 5, ""}, + {"(*Float).SetUint64", Method, 5, ""}, + {"(*Float).Sign", Method, 5, ""}, + {"(*Float).Signbit", Method, 5, ""}, + {"(*Float).Sqrt", Method, 10, ""}, + {"(*Float).String", Method, 5, ""}, + {"(*Float).Sub", Method, 5, ""}, + {"(*Float).Text", Method, 5, ""}, + {"(*Float).Uint64", Method, 5, ""}, + {"(*Float).UnmarshalText", Method, 6, ""}, + {"(*Int).Abs", Method, 0, ""}, + {"(*Int).Add", Method, 0, ""}, + {"(*Int).And", Method, 0, ""}, + {"(*Int).AndNot", Method, 0, ""}, + {"(*Int).Append", Method, 6, ""}, + {"(*Int).AppendText", Method, 24, ""}, + {"(*Int).Binomial", Method, 0, ""}, + {"(*Int).Bit", Method, 0, ""}, + {"(*Int).BitLen", Method, 0, ""}, + {"(*Int).Bits", Method, 0, ""}, + {"(*Int).Bytes", Method, 0, ""}, + {"(*Int).Cmp", Method, 0, ""}, + {"(*Int).CmpAbs", Method, 10, ""}, + {"(*Int).Div", Method, 0, ""}, + {"(*Int).DivMod", Method, 0, ""}, + {"(*Int).Exp", Method, 0, ""}, + {"(*Int).FillBytes", Method, 15, ""}, + {"(*Int).Float64", Method, 21, ""}, + {"(*Int).Format", Method, 0, ""}, + {"(*Int).GCD", Method, 0, ""}, + {"(*Int).GobDecode", Method, 0, ""}, + {"(*Int).GobEncode", Method, 0, ""}, + {"(*Int).Int64", Method, 0, ""}, + {"(*Int).IsInt64", Method, 9, ""}, + {"(*Int).IsUint64", Method, 9, ""}, + {"(*Int).Lsh", Method, 0, ""}, + {"(*Int).MarshalJSON", Method, 1, ""}, + {"(*Int).MarshalText", Method, 3, ""}, + {"(*Int).Mod", Method, 0, ""}, + {"(*Int).ModInverse", Method, 0, ""}, + {"(*Int).ModSqrt", Method, 5, ""}, + {"(*Int).Mul", Method, 0, ""}, + {"(*Int).MulRange", Method, 0, ""}, + {"(*Int).Neg", Method, 0, ""}, + {"(*Int).Not", Method, 0, ""}, + {"(*Int).Or", Method, 0, ""}, + {"(*Int).ProbablyPrime", Method, 0, ""}, + {"(*Int).Quo", Method, 0, ""}, + {"(*Int).QuoRem", Method, 0, ""}, + {"(*Int).Rand", Method, 0, ""}, + {"(*Int).Rem", Method, 0, ""}, + {"(*Int).Rsh", Method, 0, ""}, + {"(*Int).Scan", Method, 0, ""}, + {"(*Int).Set", Method, 0, ""}, + {"(*Int).SetBit", Method, 0, ""}, + {"(*Int).SetBits", Method, 0, ""}, + {"(*Int).SetBytes", Method, 0, ""}, + {"(*Int).SetInt64", Method, 0, ""}, + {"(*Int).SetString", Method, 0, ""}, + {"(*Int).SetUint64", Method, 1, ""}, + {"(*Int).Sign", Method, 0, ""}, + {"(*Int).Sqrt", Method, 8, ""}, + {"(*Int).String", Method, 0, ""}, + {"(*Int).Sub", Method, 0, ""}, + {"(*Int).Text", Method, 6, ""}, + {"(*Int).TrailingZeroBits", Method, 13, ""}, + {"(*Int).Uint64", Method, 1, ""}, + {"(*Int).UnmarshalJSON", Method, 1, ""}, + {"(*Int).UnmarshalText", Method, 3, ""}, + {"(*Int).Xor", Method, 0, ""}, + {"(*Rat).Abs", Method, 0, ""}, + {"(*Rat).Add", Method, 0, ""}, + {"(*Rat).AppendText", Method, 24, ""}, + {"(*Rat).Cmp", Method, 0, ""}, + {"(*Rat).Denom", Method, 0, ""}, + {"(*Rat).Float32", Method, 4, ""}, + {"(*Rat).Float64", Method, 1, ""}, + {"(*Rat).FloatPrec", Method, 22, ""}, + {"(*Rat).FloatString", Method, 0, ""}, + {"(*Rat).GobDecode", Method, 0, ""}, + {"(*Rat).GobEncode", Method, 0, ""}, + {"(*Rat).Inv", Method, 0, ""}, + {"(*Rat).IsInt", Method, 0, ""}, + {"(*Rat).MarshalText", Method, 3, ""}, + {"(*Rat).Mul", Method, 0, ""}, + {"(*Rat).Neg", Method, 0, ""}, + {"(*Rat).Num", Method, 0, ""}, + {"(*Rat).Quo", Method, 0, ""}, + {"(*Rat).RatString", Method, 0, ""}, + {"(*Rat).Scan", Method, 0, ""}, + {"(*Rat).Set", Method, 0, ""}, + {"(*Rat).SetFloat64", Method, 1, ""}, + {"(*Rat).SetFrac", Method, 0, ""}, + {"(*Rat).SetFrac64", Method, 0, ""}, + {"(*Rat).SetInt", Method, 0, ""}, + {"(*Rat).SetInt64", Method, 0, ""}, + {"(*Rat).SetString", Method, 0, ""}, + {"(*Rat).SetUint64", Method, 13, ""}, + {"(*Rat).Sign", Method, 0, ""}, + {"(*Rat).String", Method, 0, ""}, + {"(*Rat).Sub", Method, 0, ""}, + {"(*Rat).UnmarshalText", Method, 3, ""}, + {"(Accuracy).String", Method, 5, ""}, + {"(ErrNaN).Error", Method, 5, ""}, + {"(RoundingMode).String", Method, 5, ""}, + {"Above", Const, 5, ""}, + {"Accuracy", Type, 5, ""}, + {"AwayFromZero", Const, 5, ""}, + {"Below", Const, 5, ""}, + {"ErrNaN", Type, 5, ""}, + {"Exact", Const, 5, ""}, + {"Float", Type, 5, ""}, + {"Int", Type, 0, ""}, + {"Jacobi", Func, 5, "func(x *Int, y *Int) int"}, + {"MaxBase", Const, 0, ""}, + {"MaxExp", Const, 5, ""}, + {"MaxPrec", Const, 5, ""}, + {"MinExp", Const, 5, ""}, + {"NewFloat", Func, 5, "func(x float64) *Float"}, + {"NewInt", Func, 0, "func(x int64) *Int"}, + {"NewRat", Func, 0, "func(a int64, b int64) *Rat"}, + {"ParseFloat", Func, 5, "func(s string, base int, prec uint, mode RoundingMode) (f *Float, b int, err error)"}, + {"Rat", Type, 0, ""}, + {"RoundingMode", Type, 5, ""}, + {"ToNearestAway", Const, 5, ""}, + {"ToNearestEven", Const, 5, ""}, + {"ToNegativeInf", Const, 5, ""}, + {"ToPositiveInf", Const, 5, ""}, + {"ToZero", Const, 5, ""}, + {"Word", Type, 0, ""}, }, "math/bits": { - {"Add", Func, 12}, - {"Add32", Func, 12}, - {"Add64", Func, 12}, - {"Div", Func, 12}, - {"Div32", Func, 12}, - {"Div64", Func, 12}, - {"LeadingZeros", Func, 9}, - {"LeadingZeros16", Func, 9}, - {"LeadingZeros32", Func, 9}, - {"LeadingZeros64", Func, 9}, - {"LeadingZeros8", Func, 9}, - {"Len", Func, 9}, - {"Len16", Func, 9}, - {"Len32", Func, 9}, - {"Len64", Func, 9}, - {"Len8", Func, 9}, - {"Mul", Func, 12}, - {"Mul32", Func, 12}, - {"Mul64", Func, 12}, - {"OnesCount", Func, 9}, - {"OnesCount16", Func, 9}, - {"OnesCount32", Func, 9}, - {"OnesCount64", Func, 9}, - {"OnesCount8", Func, 9}, - {"Rem", Func, 14}, - {"Rem32", Func, 14}, - {"Rem64", Func, 14}, - {"Reverse", Func, 9}, - {"Reverse16", Func, 9}, - {"Reverse32", Func, 9}, - {"Reverse64", Func, 9}, - {"Reverse8", Func, 9}, - {"ReverseBytes", Func, 9}, - {"ReverseBytes16", Func, 9}, - {"ReverseBytes32", Func, 9}, - {"ReverseBytes64", Func, 9}, - {"RotateLeft", Func, 9}, - {"RotateLeft16", Func, 9}, - {"RotateLeft32", Func, 9}, - {"RotateLeft64", Func, 9}, - {"RotateLeft8", Func, 9}, - {"Sub", Func, 12}, - {"Sub32", Func, 12}, - {"Sub64", Func, 12}, - {"TrailingZeros", Func, 9}, - {"TrailingZeros16", Func, 9}, - {"TrailingZeros32", Func, 9}, - {"TrailingZeros64", Func, 9}, - {"TrailingZeros8", Func, 9}, - {"UintSize", Const, 9}, + {"Add", Func, 12, "func(x uint, y uint, carry uint) (sum uint, carryOut uint)"}, + {"Add32", Func, 12, "func(x uint32, y uint32, carry uint32) (sum uint32, carryOut uint32)"}, + {"Add64", Func, 12, "func(x uint64, y uint64, carry uint64) (sum uint64, carryOut uint64)"}, + {"Div", Func, 12, "func(hi uint, lo uint, y uint) (quo uint, rem uint)"}, + {"Div32", Func, 12, "func(hi uint32, lo uint32, y uint32) (quo uint32, rem uint32)"}, + {"Div64", Func, 12, "func(hi uint64, lo uint64, y uint64) (quo uint64, rem uint64)"}, + {"LeadingZeros", Func, 9, "func(x uint) int"}, + {"LeadingZeros16", Func, 9, "func(x uint16) int"}, + {"LeadingZeros32", Func, 9, "func(x uint32) int"}, + {"LeadingZeros64", Func, 9, "func(x uint64) int"}, + {"LeadingZeros8", Func, 9, "func(x uint8) int"}, + {"Len", Func, 9, "func(x uint) int"}, + {"Len16", Func, 9, "func(x uint16) (n int)"}, + {"Len32", Func, 9, "func(x uint32) (n int)"}, + {"Len64", Func, 9, "func(x uint64) (n int)"}, + {"Len8", Func, 9, "func(x uint8) int"}, + {"Mul", Func, 12, "func(x uint, y uint) (hi uint, lo uint)"}, + {"Mul32", Func, 12, "func(x uint32, y uint32) (hi uint32, lo uint32)"}, + {"Mul64", Func, 12, "func(x uint64, y uint64) (hi uint64, lo uint64)"}, + {"OnesCount", Func, 9, "func(x uint) int"}, + {"OnesCount16", Func, 9, "func(x uint16) int"}, + {"OnesCount32", Func, 9, "func(x uint32) int"}, + {"OnesCount64", Func, 9, "func(x uint64) int"}, + {"OnesCount8", Func, 9, "func(x uint8) int"}, + {"Rem", Func, 14, "func(hi uint, lo uint, y uint) uint"}, + {"Rem32", Func, 14, "func(hi uint32, lo uint32, y uint32) uint32"}, + {"Rem64", Func, 14, "func(hi uint64, lo uint64, y uint64) uint64"}, + {"Reverse", Func, 9, "func(x uint) uint"}, + {"Reverse16", Func, 9, "func(x uint16) uint16"}, + {"Reverse32", Func, 9, "func(x uint32) uint32"}, + {"Reverse64", Func, 9, "func(x uint64) uint64"}, + {"Reverse8", Func, 9, "func(x uint8) uint8"}, + {"ReverseBytes", Func, 9, "func(x uint) uint"}, + {"ReverseBytes16", Func, 9, "func(x uint16) uint16"}, + {"ReverseBytes32", Func, 9, "func(x uint32) uint32"}, + {"ReverseBytes64", Func, 9, "func(x uint64) uint64"}, + {"RotateLeft", Func, 9, "func(x uint, k int) uint"}, + {"RotateLeft16", Func, 9, "func(x uint16, k int) uint16"}, + {"RotateLeft32", Func, 9, "func(x uint32, k int) uint32"}, + {"RotateLeft64", Func, 9, "func(x uint64, k int) uint64"}, + {"RotateLeft8", Func, 9, "func(x uint8, k int) uint8"}, + {"Sub", Func, 12, "func(x uint, y uint, borrow uint) (diff uint, borrowOut uint)"}, + {"Sub32", Func, 12, "func(x uint32, y uint32, borrow uint32) (diff uint32, borrowOut uint32)"}, + {"Sub64", Func, 12, "func(x uint64, y uint64, borrow uint64) (diff uint64, borrowOut uint64)"}, + {"TrailingZeros", Func, 9, "func(x uint) int"}, + {"TrailingZeros16", Func, 9, "func(x uint16) int"}, + {"TrailingZeros32", Func, 9, "func(x uint32) int"}, + {"TrailingZeros64", Func, 9, "func(x uint64) int"}, + {"TrailingZeros8", Func, 9, "func(x uint8) int"}, + {"UintSize", Const, 9, ""}, }, "math/cmplx": { - {"Abs", Func, 0}, - {"Acos", Func, 0}, - {"Acosh", Func, 0}, - {"Asin", Func, 0}, - {"Asinh", Func, 0}, - {"Atan", Func, 0}, - {"Atanh", Func, 0}, - {"Conj", Func, 0}, - {"Cos", Func, 0}, - {"Cosh", Func, 0}, - {"Cot", Func, 0}, - {"Exp", Func, 0}, - {"Inf", Func, 0}, - {"IsInf", Func, 0}, - {"IsNaN", Func, 0}, - {"Log", Func, 0}, - {"Log10", Func, 0}, - {"NaN", Func, 0}, - {"Phase", Func, 0}, - {"Polar", Func, 0}, - {"Pow", Func, 0}, - {"Rect", Func, 0}, - {"Sin", Func, 0}, - {"Sinh", Func, 0}, - {"Sqrt", Func, 0}, - {"Tan", Func, 0}, - {"Tanh", Func, 0}, + {"Abs", Func, 0, "func(x complex128) float64"}, + {"Acos", Func, 0, "func(x complex128) complex128"}, + {"Acosh", Func, 0, "func(x complex128) complex128"}, + {"Asin", Func, 0, "func(x complex128) complex128"}, + {"Asinh", Func, 0, "func(x complex128) complex128"}, + {"Atan", Func, 0, "func(x complex128) complex128"}, + {"Atanh", Func, 0, "func(x complex128) complex128"}, + {"Conj", Func, 0, "func(x complex128) complex128"}, + {"Cos", Func, 0, "func(x complex128) complex128"}, + {"Cosh", Func, 0, "func(x complex128) complex128"}, + {"Cot", Func, 0, "func(x complex128) complex128"}, + {"Exp", Func, 0, "func(x complex128) complex128"}, + {"Inf", Func, 0, "func() complex128"}, + {"IsInf", Func, 0, "func(x complex128) bool"}, + {"IsNaN", Func, 0, "func(x complex128) bool"}, + {"Log", Func, 0, "func(x complex128) complex128"}, + {"Log10", Func, 0, "func(x complex128) complex128"}, + {"NaN", Func, 0, "func() complex128"}, + {"Phase", Func, 0, "func(x complex128) float64"}, + {"Polar", Func, 0, "func(x complex128) (r float64, θ float64)"}, + {"Pow", Func, 0, "func(x complex128, y complex128) complex128"}, + {"Rect", Func, 0, "func(r float64, θ float64) complex128"}, + {"Sin", Func, 0, "func(x complex128) complex128"}, + {"Sinh", Func, 0, "func(x complex128) complex128"}, + {"Sqrt", Func, 0, "func(x complex128) complex128"}, + {"Tan", Func, 0, "func(x complex128) complex128"}, + {"Tanh", Func, 0, "func(x complex128) complex128"}, }, "math/rand": { - {"(*Rand).ExpFloat64", Method, 0}, - {"(*Rand).Float32", Method, 0}, - {"(*Rand).Float64", Method, 0}, - {"(*Rand).Int", Method, 0}, - {"(*Rand).Int31", Method, 0}, - {"(*Rand).Int31n", Method, 0}, - {"(*Rand).Int63", Method, 0}, - {"(*Rand).Int63n", Method, 0}, - {"(*Rand).Intn", Method, 0}, - {"(*Rand).NormFloat64", Method, 0}, - {"(*Rand).Perm", Method, 0}, - {"(*Rand).Read", Method, 6}, - {"(*Rand).Seed", Method, 0}, - {"(*Rand).Shuffle", Method, 10}, - {"(*Rand).Uint32", Method, 0}, - {"(*Rand).Uint64", Method, 8}, - {"(*Zipf).Uint64", Method, 0}, - {"ExpFloat64", Func, 0}, - {"Float32", Func, 0}, - {"Float64", Func, 0}, - {"Int", Func, 0}, - {"Int31", Func, 0}, - {"Int31n", Func, 0}, - {"Int63", Func, 0}, - {"Int63n", Func, 0}, - {"Intn", Func, 0}, - {"New", Func, 0}, - {"NewSource", Func, 0}, - {"NewZipf", Func, 0}, - {"NormFloat64", Func, 0}, - {"Perm", Func, 0}, - {"Rand", Type, 0}, - {"Read", Func, 6}, - {"Seed", Func, 0}, - {"Shuffle", Func, 10}, - {"Source", Type, 0}, - {"Source64", Type, 8}, - {"Uint32", Func, 0}, - {"Uint64", Func, 8}, - {"Zipf", Type, 0}, + {"(*Rand).ExpFloat64", Method, 0, ""}, + {"(*Rand).Float32", Method, 0, ""}, + {"(*Rand).Float64", Method, 0, ""}, + {"(*Rand).Int", Method, 0, ""}, + {"(*Rand).Int31", Method, 0, ""}, + {"(*Rand).Int31n", Method, 0, ""}, + {"(*Rand).Int63", Method, 0, ""}, + {"(*Rand).Int63n", Method, 0, ""}, + {"(*Rand).Intn", Method, 0, ""}, + {"(*Rand).NormFloat64", Method, 0, ""}, + {"(*Rand).Perm", Method, 0, ""}, + {"(*Rand).Read", Method, 6, ""}, + {"(*Rand).Seed", Method, 0, ""}, + {"(*Rand).Shuffle", Method, 10, ""}, + {"(*Rand).Uint32", Method, 0, ""}, + {"(*Rand).Uint64", Method, 8, ""}, + {"(*Zipf).Uint64", Method, 0, ""}, + {"ExpFloat64", Func, 0, "func() float64"}, + {"Float32", Func, 0, "func() float32"}, + {"Float64", Func, 0, "func() float64"}, + {"Int", Func, 0, "func() int"}, + {"Int31", Func, 0, "func() int32"}, + {"Int31n", Func, 0, "func(n int32) int32"}, + {"Int63", Func, 0, "func() int64"}, + {"Int63n", Func, 0, "func(n int64) int64"}, + {"Intn", Func, 0, "func(n int) int"}, + {"New", Func, 0, "func(src Source) *Rand"}, + {"NewSource", Func, 0, "func(seed int64) Source"}, + {"NewZipf", Func, 0, "func(r *Rand, s float64, v float64, imax uint64) *Zipf"}, + {"NormFloat64", Func, 0, "func() float64"}, + {"Perm", Func, 0, "func(n int) []int"}, + {"Rand", Type, 0, ""}, + {"Read", Func, 6, "func(p []byte) (n int, err error)"}, + {"Seed", Func, 0, "func(seed int64)"}, + {"Shuffle", Func, 10, "func(n int, swap func(i int, j int))"}, + {"Source", Type, 0, ""}, + {"Source64", Type, 8, ""}, + {"Uint32", Func, 0, "func() uint32"}, + {"Uint64", Func, 8, "func() uint64"}, + {"Zipf", Type, 0, ""}, }, "math/rand/v2": { - {"(*ChaCha8).AppendBinary", Method, 24}, - {"(*ChaCha8).MarshalBinary", Method, 22}, - {"(*ChaCha8).Read", Method, 23}, - {"(*ChaCha8).Seed", Method, 22}, - {"(*ChaCha8).Uint64", Method, 22}, - {"(*ChaCha8).UnmarshalBinary", Method, 22}, - {"(*PCG).AppendBinary", Method, 24}, - {"(*PCG).MarshalBinary", Method, 22}, - {"(*PCG).Seed", Method, 22}, - {"(*PCG).Uint64", Method, 22}, - {"(*PCG).UnmarshalBinary", Method, 22}, - {"(*Rand).ExpFloat64", Method, 22}, - {"(*Rand).Float32", Method, 22}, - {"(*Rand).Float64", Method, 22}, - {"(*Rand).Int", Method, 22}, - {"(*Rand).Int32", Method, 22}, - {"(*Rand).Int32N", Method, 22}, - {"(*Rand).Int64", Method, 22}, - {"(*Rand).Int64N", Method, 22}, - {"(*Rand).IntN", Method, 22}, - {"(*Rand).NormFloat64", Method, 22}, - {"(*Rand).Perm", Method, 22}, - {"(*Rand).Shuffle", Method, 22}, - {"(*Rand).Uint", Method, 23}, - {"(*Rand).Uint32", Method, 22}, - {"(*Rand).Uint32N", Method, 22}, - {"(*Rand).Uint64", Method, 22}, - {"(*Rand).Uint64N", Method, 22}, - {"(*Rand).UintN", Method, 22}, - {"(*Zipf).Uint64", Method, 22}, - {"ChaCha8", Type, 22}, - {"ExpFloat64", Func, 22}, - {"Float32", Func, 22}, - {"Float64", Func, 22}, - {"Int", Func, 22}, - {"Int32", Func, 22}, - {"Int32N", Func, 22}, - {"Int64", Func, 22}, - {"Int64N", Func, 22}, - {"IntN", Func, 22}, - {"N", Func, 22}, - {"New", Func, 22}, - {"NewChaCha8", Func, 22}, - {"NewPCG", Func, 22}, - {"NewZipf", Func, 22}, - {"NormFloat64", Func, 22}, - {"PCG", Type, 22}, - {"Perm", Func, 22}, - {"Rand", Type, 22}, - {"Shuffle", Func, 22}, - {"Source", Type, 22}, - {"Uint", Func, 23}, - {"Uint32", Func, 22}, - {"Uint32N", Func, 22}, - {"Uint64", Func, 22}, - {"Uint64N", Func, 22}, - {"UintN", Func, 22}, - {"Zipf", Type, 22}, + {"(*ChaCha8).AppendBinary", Method, 24, ""}, + {"(*ChaCha8).MarshalBinary", Method, 22, ""}, + {"(*ChaCha8).Read", Method, 23, ""}, + {"(*ChaCha8).Seed", Method, 22, ""}, + {"(*ChaCha8).Uint64", Method, 22, ""}, + {"(*ChaCha8).UnmarshalBinary", Method, 22, ""}, + {"(*PCG).AppendBinary", Method, 24, ""}, + {"(*PCG).MarshalBinary", Method, 22, ""}, + {"(*PCG).Seed", Method, 22, ""}, + {"(*PCG).Uint64", Method, 22, ""}, + {"(*PCG).UnmarshalBinary", Method, 22, ""}, + {"(*Rand).ExpFloat64", Method, 22, ""}, + {"(*Rand).Float32", Method, 22, ""}, + {"(*Rand).Float64", Method, 22, ""}, + {"(*Rand).Int", Method, 22, ""}, + {"(*Rand).Int32", Method, 22, ""}, + {"(*Rand).Int32N", Method, 22, ""}, + {"(*Rand).Int64", Method, 22, ""}, + {"(*Rand).Int64N", Method, 22, ""}, + {"(*Rand).IntN", Method, 22, ""}, + {"(*Rand).NormFloat64", Method, 22, ""}, + {"(*Rand).Perm", Method, 22, ""}, + {"(*Rand).Shuffle", Method, 22, ""}, + {"(*Rand).Uint", Method, 23, ""}, + {"(*Rand).Uint32", Method, 22, ""}, + {"(*Rand).Uint32N", Method, 22, ""}, + {"(*Rand).Uint64", Method, 22, ""}, + {"(*Rand).Uint64N", Method, 22, ""}, + {"(*Rand).UintN", Method, 22, ""}, + {"(*Zipf).Uint64", Method, 22, ""}, + {"ChaCha8", Type, 22, ""}, + {"ExpFloat64", Func, 22, "func() float64"}, + {"Float32", Func, 22, "func() float32"}, + {"Float64", Func, 22, "func() float64"}, + {"Int", Func, 22, "func() int"}, + {"Int32", Func, 22, "func() int32"}, + {"Int32N", Func, 22, "func(n int32) int32"}, + {"Int64", Func, 22, "func() int64"}, + {"Int64N", Func, 22, "func(n int64) int64"}, + {"IntN", Func, 22, "func(n int) int"}, + {"N", Func, 22, "func[Int intType](n Int) Int"}, + {"New", Func, 22, "func(src Source) *Rand"}, + {"NewChaCha8", Func, 22, "func(seed [32]byte) *ChaCha8"}, + {"NewPCG", Func, 22, "func(seed1 uint64, seed2 uint64) *PCG"}, + {"NewZipf", Func, 22, "func(r *Rand, s float64, v float64, imax uint64) *Zipf"}, + {"NormFloat64", Func, 22, "func() float64"}, + {"PCG", Type, 22, ""}, + {"Perm", Func, 22, "func(n int) []int"}, + {"Rand", Type, 22, ""}, + {"Shuffle", Func, 22, "func(n int, swap func(i int, j int))"}, + {"Source", Type, 22, ""}, + {"Uint", Func, 23, "func() uint"}, + {"Uint32", Func, 22, "func() uint32"}, + {"Uint32N", Func, 22, "func(n uint32) uint32"}, + {"Uint64", Func, 22, "func() uint64"}, + {"Uint64N", Func, 22, "func(n uint64) uint64"}, + {"UintN", Func, 22, "func(n uint) uint"}, + {"Zipf", Type, 22, ""}, }, "mime": { - {"(*WordDecoder).Decode", Method, 5}, - {"(*WordDecoder).DecodeHeader", Method, 5}, - {"(WordEncoder).Encode", Method, 5}, - {"AddExtensionType", Func, 0}, - {"BEncoding", Const, 5}, - {"ErrInvalidMediaParameter", Var, 9}, - {"ExtensionsByType", Func, 5}, - {"FormatMediaType", Func, 0}, - {"ParseMediaType", Func, 0}, - {"QEncoding", Const, 5}, - {"TypeByExtension", Func, 0}, - {"WordDecoder", Type, 5}, - {"WordDecoder.CharsetReader", Field, 5}, - {"WordEncoder", Type, 5}, + {"(*WordDecoder).Decode", Method, 5, ""}, + {"(*WordDecoder).DecodeHeader", Method, 5, ""}, + {"(WordEncoder).Encode", Method, 5, ""}, + {"AddExtensionType", Func, 0, "func(ext string, typ string) error"}, + {"BEncoding", Const, 5, ""}, + {"ErrInvalidMediaParameter", Var, 9, ""}, + {"ExtensionsByType", Func, 5, "func(typ string) ([]string, error)"}, + {"FormatMediaType", Func, 0, "func(t string, param map[string]string) string"}, + {"ParseMediaType", Func, 0, "func(v string) (mediatype string, params map[string]string, err error)"}, + {"QEncoding", Const, 5, ""}, + {"TypeByExtension", Func, 0, "func(ext string) string"}, + {"WordDecoder", Type, 5, ""}, + {"WordDecoder.CharsetReader", Field, 5, ""}, + {"WordEncoder", Type, 5, ""}, }, "mime/multipart": { - {"(*FileHeader).Open", Method, 0}, - {"(*Form).RemoveAll", Method, 0}, - {"(*Part).Close", Method, 0}, - {"(*Part).FileName", Method, 0}, - {"(*Part).FormName", Method, 0}, - {"(*Part).Read", Method, 0}, - {"(*Reader).NextPart", Method, 0}, - {"(*Reader).NextRawPart", Method, 14}, - {"(*Reader).ReadForm", Method, 0}, - {"(*Writer).Boundary", Method, 0}, - {"(*Writer).Close", Method, 0}, - {"(*Writer).CreateFormField", Method, 0}, - {"(*Writer).CreateFormFile", Method, 0}, - {"(*Writer).CreatePart", Method, 0}, - {"(*Writer).FormDataContentType", Method, 0}, - {"(*Writer).SetBoundary", Method, 1}, - {"(*Writer).WriteField", Method, 0}, - {"ErrMessageTooLarge", Var, 9}, - {"File", Type, 0}, - {"FileHeader", Type, 0}, - {"FileHeader.Filename", Field, 0}, - {"FileHeader.Header", Field, 0}, - {"FileHeader.Size", Field, 9}, - {"Form", Type, 0}, - {"Form.File", Field, 0}, - {"Form.Value", Field, 0}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"Part", Type, 0}, - {"Part.Header", Field, 0}, - {"Reader", Type, 0}, - {"Writer", Type, 0}, + {"(*FileHeader).Open", Method, 0, ""}, + {"(*Form).RemoveAll", Method, 0, ""}, + {"(*Part).Close", Method, 0, ""}, + {"(*Part).FileName", Method, 0, ""}, + {"(*Part).FormName", Method, 0, ""}, + {"(*Part).Read", Method, 0, ""}, + {"(*Reader).NextPart", Method, 0, ""}, + {"(*Reader).NextRawPart", Method, 14, ""}, + {"(*Reader).ReadForm", Method, 0, ""}, + {"(*Writer).Boundary", Method, 0, ""}, + {"(*Writer).Close", Method, 0, ""}, + {"(*Writer).CreateFormField", Method, 0, ""}, + {"(*Writer).CreateFormFile", Method, 0, ""}, + {"(*Writer).CreatePart", Method, 0, ""}, + {"(*Writer).FormDataContentType", Method, 0, ""}, + {"(*Writer).SetBoundary", Method, 1, ""}, + {"(*Writer).WriteField", Method, 0, ""}, + {"ErrMessageTooLarge", Var, 9, ""}, + {"File", Type, 0, ""}, + {"FileContentDisposition", Func, 25, "func(fieldname string, filename string) string"}, + {"FileHeader", Type, 0, ""}, + {"FileHeader.Filename", Field, 0, ""}, + {"FileHeader.Header", Field, 0, ""}, + {"FileHeader.Size", Field, 9, ""}, + {"Form", Type, 0, ""}, + {"Form.File", Field, 0, ""}, + {"Form.Value", Field, 0, ""}, + {"NewReader", Func, 0, "func(r io.Reader, boundary string) *Reader"}, + {"NewWriter", Func, 0, "func(w io.Writer) *Writer"}, + {"Part", Type, 0, ""}, + {"Part.Header", Field, 0, ""}, + {"Reader", Type, 0, ""}, + {"Writer", Type, 0, ""}, }, "mime/quotedprintable": { - {"(*Reader).Read", Method, 5}, - {"(*Writer).Close", Method, 5}, - {"(*Writer).Write", Method, 5}, - {"NewReader", Func, 5}, - {"NewWriter", Func, 5}, - {"Reader", Type, 5}, - {"Writer", Type, 5}, - {"Writer.Binary", Field, 5}, + {"(*Reader).Read", Method, 5, ""}, + {"(*Writer).Close", Method, 5, ""}, + {"(*Writer).Write", Method, 5, ""}, + {"NewReader", Func, 5, "func(r io.Reader) *Reader"}, + {"NewWriter", Func, 5, "func(w io.Writer) *Writer"}, + {"Reader", Type, 5, ""}, + {"Writer", Type, 5, ""}, + {"Writer.Binary", Field, 5, ""}, }, "net": { - {"(*AddrError).Error", Method, 0}, - {"(*AddrError).Temporary", Method, 0}, - {"(*AddrError).Timeout", Method, 0}, - {"(*Buffers).Read", Method, 8}, - {"(*Buffers).WriteTo", Method, 8}, - {"(*DNSConfigError).Error", Method, 0}, - {"(*DNSConfigError).Temporary", Method, 0}, - {"(*DNSConfigError).Timeout", Method, 0}, - {"(*DNSConfigError).Unwrap", Method, 13}, - {"(*DNSError).Error", Method, 0}, - {"(*DNSError).Temporary", Method, 0}, - {"(*DNSError).Timeout", Method, 0}, - {"(*DNSError).Unwrap", Method, 23}, - {"(*Dialer).Dial", Method, 1}, - {"(*Dialer).DialContext", Method, 7}, - {"(*Dialer).MultipathTCP", Method, 21}, - {"(*Dialer).SetMultipathTCP", Method, 21}, - {"(*IP).UnmarshalText", Method, 2}, - {"(*IPAddr).Network", Method, 0}, - {"(*IPAddr).String", Method, 0}, - {"(*IPConn).Close", Method, 0}, - {"(*IPConn).File", Method, 0}, - {"(*IPConn).LocalAddr", Method, 0}, - {"(*IPConn).Read", Method, 0}, - {"(*IPConn).ReadFrom", Method, 0}, - {"(*IPConn).ReadFromIP", Method, 0}, - {"(*IPConn).ReadMsgIP", Method, 1}, - {"(*IPConn).RemoteAddr", Method, 0}, - {"(*IPConn).SetDeadline", Method, 0}, - {"(*IPConn).SetReadBuffer", Method, 0}, - {"(*IPConn).SetReadDeadline", Method, 0}, - {"(*IPConn).SetWriteBuffer", Method, 0}, - {"(*IPConn).SetWriteDeadline", Method, 0}, - {"(*IPConn).SyscallConn", Method, 9}, - {"(*IPConn).Write", Method, 0}, - {"(*IPConn).WriteMsgIP", Method, 1}, - {"(*IPConn).WriteTo", Method, 0}, - {"(*IPConn).WriteToIP", Method, 0}, - {"(*IPNet).Contains", Method, 0}, - {"(*IPNet).Network", Method, 0}, - {"(*IPNet).String", Method, 0}, - {"(*Interface).Addrs", Method, 0}, - {"(*Interface).MulticastAddrs", Method, 0}, - {"(*ListenConfig).Listen", Method, 11}, - {"(*ListenConfig).ListenPacket", Method, 11}, - {"(*ListenConfig).MultipathTCP", Method, 21}, - {"(*ListenConfig).SetMultipathTCP", Method, 21}, - {"(*OpError).Error", Method, 0}, - {"(*OpError).Temporary", Method, 0}, - {"(*OpError).Timeout", Method, 0}, - {"(*OpError).Unwrap", Method, 13}, - {"(*ParseError).Error", Method, 0}, - {"(*ParseError).Temporary", Method, 17}, - {"(*ParseError).Timeout", Method, 17}, - {"(*Resolver).LookupAddr", Method, 8}, - {"(*Resolver).LookupCNAME", Method, 8}, - {"(*Resolver).LookupHost", Method, 8}, - {"(*Resolver).LookupIP", Method, 15}, - {"(*Resolver).LookupIPAddr", Method, 8}, - {"(*Resolver).LookupMX", Method, 8}, - {"(*Resolver).LookupNS", Method, 8}, - {"(*Resolver).LookupNetIP", Method, 18}, - {"(*Resolver).LookupPort", Method, 8}, - {"(*Resolver).LookupSRV", Method, 8}, - {"(*Resolver).LookupTXT", Method, 8}, - {"(*TCPAddr).AddrPort", Method, 18}, - {"(*TCPAddr).Network", Method, 0}, - {"(*TCPAddr).String", Method, 0}, - {"(*TCPConn).Close", Method, 0}, - {"(*TCPConn).CloseRead", Method, 0}, - {"(*TCPConn).CloseWrite", Method, 0}, - {"(*TCPConn).File", Method, 0}, - {"(*TCPConn).LocalAddr", Method, 0}, - {"(*TCPConn).MultipathTCP", Method, 21}, - {"(*TCPConn).Read", Method, 0}, - {"(*TCPConn).ReadFrom", Method, 0}, - {"(*TCPConn).RemoteAddr", Method, 0}, - {"(*TCPConn).SetDeadline", Method, 0}, - {"(*TCPConn).SetKeepAlive", Method, 0}, - {"(*TCPConn).SetKeepAliveConfig", Method, 23}, - {"(*TCPConn).SetKeepAlivePeriod", Method, 2}, - {"(*TCPConn).SetLinger", Method, 0}, - {"(*TCPConn).SetNoDelay", Method, 0}, - {"(*TCPConn).SetReadBuffer", Method, 0}, - {"(*TCPConn).SetReadDeadline", Method, 0}, - {"(*TCPConn).SetWriteBuffer", Method, 0}, - {"(*TCPConn).SetWriteDeadline", Method, 0}, - {"(*TCPConn).SyscallConn", Method, 9}, - {"(*TCPConn).Write", Method, 0}, - {"(*TCPConn).WriteTo", Method, 22}, - {"(*TCPListener).Accept", Method, 0}, - {"(*TCPListener).AcceptTCP", Method, 0}, - {"(*TCPListener).Addr", Method, 0}, - {"(*TCPListener).Close", Method, 0}, - {"(*TCPListener).File", Method, 0}, - {"(*TCPListener).SetDeadline", Method, 0}, - {"(*TCPListener).SyscallConn", Method, 10}, - {"(*UDPAddr).AddrPort", Method, 18}, - {"(*UDPAddr).Network", Method, 0}, - {"(*UDPAddr).String", Method, 0}, - {"(*UDPConn).Close", Method, 0}, - {"(*UDPConn).File", Method, 0}, - {"(*UDPConn).LocalAddr", Method, 0}, - {"(*UDPConn).Read", Method, 0}, - {"(*UDPConn).ReadFrom", Method, 0}, - {"(*UDPConn).ReadFromUDP", Method, 0}, - {"(*UDPConn).ReadFromUDPAddrPort", Method, 18}, - {"(*UDPConn).ReadMsgUDP", Method, 1}, - {"(*UDPConn).ReadMsgUDPAddrPort", Method, 18}, - {"(*UDPConn).RemoteAddr", Method, 0}, - {"(*UDPConn).SetDeadline", Method, 0}, - {"(*UDPConn).SetReadBuffer", Method, 0}, - {"(*UDPConn).SetReadDeadline", Method, 0}, - {"(*UDPConn).SetWriteBuffer", Method, 0}, - {"(*UDPConn).SetWriteDeadline", Method, 0}, - {"(*UDPConn).SyscallConn", Method, 9}, - {"(*UDPConn).Write", Method, 0}, - {"(*UDPConn).WriteMsgUDP", Method, 1}, - {"(*UDPConn).WriteMsgUDPAddrPort", Method, 18}, - {"(*UDPConn).WriteTo", Method, 0}, - {"(*UDPConn).WriteToUDP", Method, 0}, - {"(*UDPConn).WriteToUDPAddrPort", Method, 18}, - {"(*UnixAddr).Network", Method, 0}, - {"(*UnixAddr).String", Method, 0}, - {"(*UnixConn).Close", Method, 0}, - {"(*UnixConn).CloseRead", Method, 1}, - {"(*UnixConn).CloseWrite", Method, 1}, - {"(*UnixConn).File", Method, 0}, - {"(*UnixConn).LocalAddr", Method, 0}, - {"(*UnixConn).Read", Method, 0}, - {"(*UnixConn).ReadFrom", Method, 0}, - {"(*UnixConn).ReadFromUnix", Method, 0}, - {"(*UnixConn).ReadMsgUnix", Method, 0}, - {"(*UnixConn).RemoteAddr", Method, 0}, - {"(*UnixConn).SetDeadline", Method, 0}, - {"(*UnixConn).SetReadBuffer", Method, 0}, - {"(*UnixConn).SetReadDeadline", Method, 0}, - {"(*UnixConn).SetWriteBuffer", Method, 0}, - {"(*UnixConn).SetWriteDeadline", Method, 0}, - {"(*UnixConn).SyscallConn", Method, 9}, - {"(*UnixConn).Write", Method, 0}, - {"(*UnixConn).WriteMsgUnix", Method, 0}, - {"(*UnixConn).WriteTo", Method, 0}, - {"(*UnixConn).WriteToUnix", Method, 0}, - {"(*UnixListener).Accept", Method, 0}, - {"(*UnixListener).AcceptUnix", Method, 0}, - {"(*UnixListener).Addr", Method, 0}, - {"(*UnixListener).Close", Method, 0}, - {"(*UnixListener).File", Method, 0}, - {"(*UnixListener).SetDeadline", Method, 0}, - {"(*UnixListener).SetUnlinkOnClose", Method, 8}, - {"(*UnixListener).SyscallConn", Method, 10}, - {"(Flags).String", Method, 0}, - {"(HardwareAddr).String", Method, 0}, - {"(IP).AppendText", Method, 24}, - {"(IP).DefaultMask", Method, 0}, - {"(IP).Equal", Method, 0}, - {"(IP).IsGlobalUnicast", Method, 0}, - {"(IP).IsInterfaceLocalMulticast", Method, 0}, - {"(IP).IsLinkLocalMulticast", Method, 0}, - {"(IP).IsLinkLocalUnicast", Method, 0}, - {"(IP).IsLoopback", Method, 0}, - {"(IP).IsMulticast", Method, 0}, - {"(IP).IsPrivate", Method, 17}, - {"(IP).IsUnspecified", Method, 0}, - {"(IP).MarshalText", Method, 2}, - {"(IP).Mask", Method, 0}, - {"(IP).String", Method, 0}, - {"(IP).To16", Method, 0}, - {"(IP).To4", Method, 0}, - {"(IPMask).Size", Method, 0}, - {"(IPMask).String", Method, 0}, - {"(InvalidAddrError).Error", Method, 0}, - {"(InvalidAddrError).Temporary", Method, 0}, - {"(InvalidAddrError).Timeout", Method, 0}, - {"(UnknownNetworkError).Error", Method, 0}, - {"(UnknownNetworkError).Temporary", Method, 0}, - {"(UnknownNetworkError).Timeout", Method, 0}, - {"Addr", Type, 0}, - {"AddrError", Type, 0}, - {"AddrError.Addr", Field, 0}, - {"AddrError.Err", Field, 0}, - {"Buffers", Type, 8}, - {"CIDRMask", Func, 0}, - {"Conn", Type, 0}, - {"DNSConfigError", Type, 0}, - {"DNSConfigError.Err", Field, 0}, - {"DNSError", Type, 0}, - {"DNSError.Err", Field, 0}, - {"DNSError.IsNotFound", Field, 13}, - {"DNSError.IsTemporary", Field, 6}, - {"DNSError.IsTimeout", Field, 0}, - {"DNSError.Name", Field, 0}, - {"DNSError.Server", Field, 0}, - {"DNSError.UnwrapErr", Field, 23}, - {"DefaultResolver", Var, 8}, - {"Dial", Func, 0}, - {"DialIP", Func, 0}, - {"DialTCP", Func, 0}, - {"DialTimeout", Func, 0}, - {"DialUDP", Func, 0}, - {"DialUnix", Func, 0}, - {"Dialer", Type, 1}, - {"Dialer.Cancel", Field, 6}, - {"Dialer.Control", Field, 11}, - {"Dialer.ControlContext", Field, 20}, - {"Dialer.Deadline", Field, 1}, - {"Dialer.DualStack", Field, 2}, - {"Dialer.FallbackDelay", Field, 5}, - {"Dialer.KeepAlive", Field, 3}, - {"Dialer.KeepAliveConfig", Field, 23}, - {"Dialer.LocalAddr", Field, 1}, - {"Dialer.Resolver", Field, 8}, - {"Dialer.Timeout", Field, 1}, - {"ErrClosed", Var, 16}, - {"ErrWriteToConnected", Var, 0}, - {"Error", Type, 0}, - {"FileConn", Func, 0}, - {"FileListener", Func, 0}, - {"FilePacketConn", Func, 0}, - {"FlagBroadcast", Const, 0}, - {"FlagLoopback", Const, 0}, - {"FlagMulticast", Const, 0}, - {"FlagPointToPoint", Const, 0}, - {"FlagRunning", Const, 20}, - {"FlagUp", Const, 0}, - {"Flags", Type, 0}, - {"HardwareAddr", Type, 0}, - {"IP", Type, 0}, - {"IPAddr", Type, 0}, - {"IPAddr.IP", Field, 0}, - {"IPAddr.Zone", Field, 1}, - {"IPConn", Type, 0}, - {"IPMask", Type, 0}, - {"IPNet", Type, 0}, - {"IPNet.IP", Field, 0}, - {"IPNet.Mask", Field, 0}, - {"IPv4", Func, 0}, - {"IPv4Mask", Func, 0}, - {"IPv4allrouter", Var, 0}, - {"IPv4allsys", Var, 0}, - {"IPv4bcast", Var, 0}, - {"IPv4len", Const, 0}, - {"IPv4zero", Var, 0}, - {"IPv6interfacelocalallnodes", Var, 0}, - {"IPv6len", Const, 0}, - {"IPv6linklocalallnodes", Var, 0}, - {"IPv6linklocalallrouters", Var, 0}, - {"IPv6loopback", Var, 0}, - {"IPv6unspecified", Var, 0}, - {"IPv6zero", Var, 0}, - {"Interface", Type, 0}, - {"Interface.Flags", Field, 0}, - {"Interface.HardwareAddr", Field, 0}, - {"Interface.Index", Field, 0}, - {"Interface.MTU", Field, 0}, - {"Interface.Name", Field, 0}, - {"InterfaceAddrs", Func, 0}, - {"InterfaceByIndex", Func, 0}, - {"InterfaceByName", Func, 0}, - {"Interfaces", Func, 0}, - {"InvalidAddrError", Type, 0}, - {"JoinHostPort", Func, 0}, - {"KeepAliveConfig", Type, 23}, - {"KeepAliveConfig.Count", Field, 23}, - {"KeepAliveConfig.Enable", Field, 23}, - {"KeepAliveConfig.Idle", Field, 23}, - {"KeepAliveConfig.Interval", Field, 23}, - {"Listen", Func, 0}, - {"ListenConfig", Type, 11}, - {"ListenConfig.Control", Field, 11}, - {"ListenConfig.KeepAlive", Field, 13}, - {"ListenConfig.KeepAliveConfig", Field, 23}, - {"ListenIP", Func, 0}, - {"ListenMulticastUDP", Func, 0}, - {"ListenPacket", Func, 0}, - {"ListenTCP", Func, 0}, - {"ListenUDP", Func, 0}, - {"ListenUnix", Func, 0}, - {"ListenUnixgram", Func, 0}, - {"Listener", Type, 0}, - {"LookupAddr", Func, 0}, - {"LookupCNAME", Func, 0}, - {"LookupHost", Func, 0}, - {"LookupIP", Func, 0}, - {"LookupMX", Func, 0}, - {"LookupNS", Func, 1}, - {"LookupPort", Func, 0}, - {"LookupSRV", Func, 0}, - {"LookupTXT", Func, 0}, - {"MX", Type, 0}, - {"MX.Host", Field, 0}, - {"MX.Pref", Field, 0}, - {"NS", Type, 1}, - {"NS.Host", Field, 1}, - {"OpError", Type, 0}, - {"OpError.Addr", Field, 0}, - {"OpError.Err", Field, 0}, - {"OpError.Net", Field, 0}, - {"OpError.Op", Field, 0}, - {"OpError.Source", Field, 5}, - {"PacketConn", Type, 0}, - {"ParseCIDR", Func, 0}, - {"ParseError", Type, 0}, - {"ParseError.Text", Field, 0}, - {"ParseError.Type", Field, 0}, - {"ParseIP", Func, 0}, - {"ParseMAC", Func, 0}, - {"Pipe", Func, 0}, - {"ResolveIPAddr", Func, 0}, - {"ResolveTCPAddr", Func, 0}, - {"ResolveUDPAddr", Func, 0}, - {"ResolveUnixAddr", Func, 0}, - {"Resolver", Type, 8}, - {"Resolver.Dial", Field, 9}, - {"Resolver.PreferGo", Field, 8}, - {"Resolver.StrictErrors", Field, 9}, - {"SRV", Type, 0}, - {"SRV.Port", Field, 0}, - {"SRV.Priority", Field, 0}, - {"SRV.Target", Field, 0}, - {"SRV.Weight", Field, 0}, - {"SplitHostPort", Func, 0}, - {"TCPAddr", Type, 0}, - {"TCPAddr.IP", Field, 0}, - {"TCPAddr.Port", Field, 0}, - {"TCPAddr.Zone", Field, 1}, - {"TCPAddrFromAddrPort", Func, 18}, - {"TCPConn", Type, 0}, - {"TCPListener", Type, 0}, - {"UDPAddr", Type, 0}, - {"UDPAddr.IP", Field, 0}, - {"UDPAddr.Port", Field, 0}, - {"UDPAddr.Zone", Field, 1}, - {"UDPAddrFromAddrPort", Func, 18}, - {"UDPConn", Type, 0}, - {"UnixAddr", Type, 0}, - {"UnixAddr.Name", Field, 0}, - {"UnixAddr.Net", Field, 0}, - {"UnixConn", Type, 0}, - {"UnixListener", Type, 0}, - {"UnknownNetworkError", Type, 0}, + {"(*AddrError).Error", Method, 0, ""}, + {"(*AddrError).Temporary", Method, 0, ""}, + {"(*AddrError).Timeout", Method, 0, ""}, + {"(*Buffers).Read", Method, 8, ""}, + {"(*Buffers).WriteTo", Method, 8, ""}, + {"(*DNSConfigError).Error", Method, 0, ""}, + {"(*DNSConfigError).Temporary", Method, 0, ""}, + {"(*DNSConfigError).Timeout", Method, 0, ""}, + {"(*DNSConfigError).Unwrap", Method, 13, ""}, + {"(*DNSError).Error", Method, 0, ""}, + {"(*DNSError).Temporary", Method, 0, ""}, + {"(*DNSError).Timeout", Method, 0, ""}, + {"(*DNSError).Unwrap", Method, 23, ""}, + {"(*Dialer).Dial", Method, 1, ""}, + {"(*Dialer).DialContext", Method, 7, ""}, + {"(*Dialer).MultipathTCP", Method, 21, ""}, + {"(*Dialer).SetMultipathTCP", Method, 21, ""}, + {"(*IP).UnmarshalText", Method, 2, ""}, + {"(*IPAddr).Network", Method, 0, ""}, + {"(*IPAddr).String", Method, 0, ""}, + {"(*IPConn).Close", Method, 0, ""}, + {"(*IPConn).File", Method, 0, ""}, + {"(*IPConn).LocalAddr", Method, 0, ""}, + {"(*IPConn).Read", Method, 0, ""}, + {"(*IPConn).ReadFrom", Method, 0, ""}, + {"(*IPConn).ReadFromIP", Method, 0, ""}, + {"(*IPConn).ReadMsgIP", Method, 1, ""}, + {"(*IPConn).RemoteAddr", Method, 0, ""}, + {"(*IPConn).SetDeadline", Method, 0, ""}, + {"(*IPConn).SetReadBuffer", Method, 0, ""}, + {"(*IPConn).SetReadDeadline", Method, 0, ""}, + {"(*IPConn).SetWriteBuffer", Method, 0, ""}, + {"(*IPConn).SetWriteDeadline", Method, 0, ""}, + {"(*IPConn).SyscallConn", Method, 9, ""}, + {"(*IPConn).Write", Method, 0, ""}, + {"(*IPConn).WriteMsgIP", Method, 1, ""}, + {"(*IPConn).WriteTo", Method, 0, ""}, + {"(*IPConn).WriteToIP", Method, 0, ""}, + {"(*IPNet).Contains", Method, 0, ""}, + {"(*IPNet).Network", Method, 0, ""}, + {"(*IPNet).String", Method, 0, ""}, + {"(*Interface).Addrs", Method, 0, ""}, + {"(*Interface).MulticastAddrs", Method, 0, ""}, + {"(*ListenConfig).Listen", Method, 11, ""}, + {"(*ListenConfig).ListenPacket", Method, 11, ""}, + {"(*ListenConfig).MultipathTCP", Method, 21, ""}, + {"(*ListenConfig).SetMultipathTCP", Method, 21, ""}, + {"(*OpError).Error", Method, 0, ""}, + {"(*OpError).Temporary", Method, 0, ""}, + {"(*OpError).Timeout", Method, 0, ""}, + {"(*OpError).Unwrap", Method, 13, ""}, + {"(*ParseError).Error", Method, 0, ""}, + {"(*ParseError).Temporary", Method, 17, ""}, + {"(*ParseError).Timeout", Method, 17, ""}, + {"(*Resolver).LookupAddr", Method, 8, ""}, + {"(*Resolver).LookupCNAME", Method, 8, ""}, + {"(*Resolver).LookupHost", Method, 8, ""}, + {"(*Resolver).LookupIP", Method, 15, ""}, + {"(*Resolver).LookupIPAddr", Method, 8, ""}, + {"(*Resolver).LookupMX", Method, 8, ""}, + {"(*Resolver).LookupNS", Method, 8, ""}, + {"(*Resolver).LookupNetIP", Method, 18, ""}, + {"(*Resolver).LookupPort", Method, 8, ""}, + {"(*Resolver).LookupSRV", Method, 8, ""}, + {"(*Resolver).LookupTXT", Method, 8, ""}, + {"(*TCPAddr).AddrPort", Method, 18, ""}, + {"(*TCPAddr).Network", Method, 0, ""}, + {"(*TCPAddr).String", Method, 0, ""}, + {"(*TCPConn).Close", Method, 0, ""}, + {"(*TCPConn).CloseRead", Method, 0, ""}, + {"(*TCPConn).CloseWrite", Method, 0, ""}, + {"(*TCPConn).File", Method, 0, ""}, + {"(*TCPConn).LocalAddr", Method, 0, ""}, + {"(*TCPConn).MultipathTCP", Method, 21, ""}, + {"(*TCPConn).Read", Method, 0, ""}, + {"(*TCPConn).ReadFrom", Method, 0, ""}, + {"(*TCPConn).RemoteAddr", Method, 0, ""}, + {"(*TCPConn).SetDeadline", Method, 0, ""}, + {"(*TCPConn).SetKeepAlive", Method, 0, ""}, + {"(*TCPConn).SetKeepAliveConfig", Method, 23, ""}, + {"(*TCPConn).SetKeepAlivePeriod", Method, 2, ""}, + {"(*TCPConn).SetLinger", Method, 0, ""}, + {"(*TCPConn).SetNoDelay", Method, 0, ""}, + {"(*TCPConn).SetReadBuffer", Method, 0, ""}, + {"(*TCPConn).SetReadDeadline", Method, 0, ""}, + {"(*TCPConn).SetWriteBuffer", Method, 0, ""}, + {"(*TCPConn).SetWriteDeadline", Method, 0, ""}, + {"(*TCPConn).SyscallConn", Method, 9, ""}, + {"(*TCPConn).Write", Method, 0, ""}, + {"(*TCPConn).WriteTo", Method, 22, ""}, + {"(*TCPListener).Accept", Method, 0, ""}, + {"(*TCPListener).AcceptTCP", Method, 0, ""}, + {"(*TCPListener).Addr", Method, 0, ""}, + {"(*TCPListener).Close", Method, 0, ""}, + {"(*TCPListener).File", Method, 0, ""}, + {"(*TCPListener).SetDeadline", Method, 0, ""}, + {"(*TCPListener).SyscallConn", Method, 10, ""}, + {"(*UDPAddr).AddrPort", Method, 18, ""}, + {"(*UDPAddr).Network", Method, 0, ""}, + {"(*UDPAddr).String", Method, 0, ""}, + {"(*UDPConn).Close", Method, 0, ""}, + {"(*UDPConn).File", Method, 0, ""}, + {"(*UDPConn).LocalAddr", Method, 0, ""}, + {"(*UDPConn).Read", Method, 0, ""}, + {"(*UDPConn).ReadFrom", Method, 0, ""}, + {"(*UDPConn).ReadFromUDP", Method, 0, ""}, + {"(*UDPConn).ReadFromUDPAddrPort", Method, 18, ""}, + {"(*UDPConn).ReadMsgUDP", Method, 1, ""}, + {"(*UDPConn).ReadMsgUDPAddrPort", Method, 18, ""}, + {"(*UDPConn).RemoteAddr", Method, 0, ""}, + {"(*UDPConn).SetDeadline", Method, 0, ""}, + {"(*UDPConn).SetReadBuffer", Method, 0, ""}, + {"(*UDPConn).SetReadDeadline", Method, 0, ""}, + {"(*UDPConn).SetWriteBuffer", Method, 0, ""}, + {"(*UDPConn).SetWriteDeadline", Method, 0, ""}, + {"(*UDPConn).SyscallConn", Method, 9, ""}, + {"(*UDPConn).Write", Method, 0, ""}, + {"(*UDPConn).WriteMsgUDP", Method, 1, ""}, + {"(*UDPConn).WriteMsgUDPAddrPort", Method, 18, ""}, + {"(*UDPConn).WriteTo", Method, 0, ""}, + {"(*UDPConn).WriteToUDP", Method, 0, ""}, + {"(*UDPConn).WriteToUDPAddrPort", Method, 18, ""}, + {"(*UnixAddr).Network", Method, 0, ""}, + {"(*UnixAddr).String", Method, 0, ""}, + {"(*UnixConn).Close", Method, 0, ""}, + {"(*UnixConn).CloseRead", Method, 1, ""}, + {"(*UnixConn).CloseWrite", Method, 1, ""}, + {"(*UnixConn).File", Method, 0, ""}, + {"(*UnixConn).LocalAddr", Method, 0, ""}, + {"(*UnixConn).Read", Method, 0, ""}, + {"(*UnixConn).ReadFrom", Method, 0, ""}, + {"(*UnixConn).ReadFromUnix", Method, 0, ""}, + {"(*UnixConn).ReadMsgUnix", Method, 0, ""}, + {"(*UnixConn).RemoteAddr", Method, 0, ""}, + {"(*UnixConn).SetDeadline", Method, 0, ""}, + {"(*UnixConn).SetReadBuffer", Method, 0, ""}, + {"(*UnixConn).SetReadDeadline", Method, 0, ""}, + {"(*UnixConn).SetWriteBuffer", Method, 0, ""}, + {"(*UnixConn).SetWriteDeadline", Method, 0, ""}, + {"(*UnixConn).SyscallConn", Method, 9, ""}, + {"(*UnixConn).Write", Method, 0, ""}, + {"(*UnixConn).WriteMsgUnix", Method, 0, ""}, + {"(*UnixConn).WriteTo", Method, 0, ""}, + {"(*UnixConn).WriteToUnix", Method, 0, ""}, + {"(*UnixListener).Accept", Method, 0, ""}, + {"(*UnixListener).AcceptUnix", Method, 0, ""}, + {"(*UnixListener).Addr", Method, 0, ""}, + {"(*UnixListener).Close", Method, 0, ""}, + {"(*UnixListener).File", Method, 0, ""}, + {"(*UnixListener).SetDeadline", Method, 0, ""}, + {"(*UnixListener).SetUnlinkOnClose", Method, 8, ""}, + {"(*UnixListener).SyscallConn", Method, 10, ""}, + {"(Flags).String", Method, 0, ""}, + {"(HardwareAddr).String", Method, 0, ""}, + {"(IP).AppendText", Method, 24, ""}, + {"(IP).DefaultMask", Method, 0, ""}, + {"(IP).Equal", Method, 0, ""}, + {"(IP).IsGlobalUnicast", Method, 0, ""}, + {"(IP).IsInterfaceLocalMulticast", Method, 0, ""}, + {"(IP).IsLinkLocalMulticast", Method, 0, ""}, + {"(IP).IsLinkLocalUnicast", Method, 0, ""}, + {"(IP).IsLoopback", Method, 0, ""}, + {"(IP).IsMulticast", Method, 0, ""}, + {"(IP).IsPrivate", Method, 17, ""}, + {"(IP).IsUnspecified", Method, 0, ""}, + {"(IP).MarshalText", Method, 2, ""}, + {"(IP).Mask", Method, 0, ""}, + {"(IP).String", Method, 0, ""}, + {"(IP).To16", Method, 0, ""}, + {"(IP).To4", Method, 0, ""}, + {"(IPMask).Size", Method, 0, ""}, + {"(IPMask).String", Method, 0, ""}, + {"(InvalidAddrError).Error", Method, 0, ""}, + {"(InvalidAddrError).Temporary", Method, 0, ""}, + {"(InvalidAddrError).Timeout", Method, 0, ""}, + {"(UnknownNetworkError).Error", Method, 0, ""}, + {"(UnknownNetworkError).Temporary", Method, 0, ""}, + {"(UnknownNetworkError).Timeout", Method, 0, ""}, + {"Addr", Type, 0, ""}, + {"AddrError", Type, 0, ""}, + {"AddrError.Addr", Field, 0, ""}, + {"AddrError.Err", Field, 0, ""}, + {"Buffers", Type, 8, ""}, + {"CIDRMask", Func, 0, "func(ones int, bits int) IPMask"}, + {"Conn", Type, 0, ""}, + {"DNSConfigError", Type, 0, ""}, + {"DNSConfigError.Err", Field, 0, ""}, + {"DNSError", Type, 0, ""}, + {"DNSError.Err", Field, 0, ""}, + {"DNSError.IsNotFound", Field, 13, ""}, + {"DNSError.IsTemporary", Field, 6, ""}, + {"DNSError.IsTimeout", Field, 0, ""}, + {"DNSError.Name", Field, 0, ""}, + {"DNSError.Server", Field, 0, ""}, + {"DNSError.UnwrapErr", Field, 23, ""}, + {"DefaultResolver", Var, 8, ""}, + {"Dial", Func, 0, "func(network string, address string) (Conn, error)"}, + {"DialIP", Func, 0, "func(network string, laddr *IPAddr, raddr *IPAddr) (*IPConn, error)"}, + {"DialTCP", Func, 0, "func(network string, laddr *TCPAddr, raddr *TCPAddr) (*TCPConn, error)"}, + {"DialTimeout", Func, 0, "func(network string, address string, timeout time.Duration) (Conn, error)"}, + {"DialUDP", Func, 0, "func(network string, laddr *UDPAddr, raddr *UDPAddr) (*UDPConn, error)"}, + {"DialUnix", Func, 0, "func(network string, laddr *UnixAddr, raddr *UnixAddr) (*UnixConn, error)"}, + {"Dialer", Type, 1, ""}, + {"Dialer.Cancel", Field, 6, ""}, + {"Dialer.Control", Field, 11, ""}, + {"Dialer.ControlContext", Field, 20, ""}, + {"Dialer.Deadline", Field, 1, ""}, + {"Dialer.DualStack", Field, 2, ""}, + {"Dialer.FallbackDelay", Field, 5, ""}, + {"Dialer.KeepAlive", Field, 3, ""}, + {"Dialer.KeepAliveConfig", Field, 23, ""}, + {"Dialer.LocalAddr", Field, 1, ""}, + {"Dialer.Resolver", Field, 8, ""}, + {"Dialer.Timeout", Field, 1, ""}, + {"ErrClosed", Var, 16, ""}, + {"ErrWriteToConnected", Var, 0, ""}, + {"Error", Type, 0, ""}, + {"FileConn", Func, 0, "func(f *os.File) (c Conn, err error)"}, + {"FileListener", Func, 0, "func(f *os.File) (ln Listener, err error)"}, + {"FilePacketConn", Func, 0, "func(f *os.File) (c PacketConn, err error)"}, + {"FlagBroadcast", Const, 0, ""}, + {"FlagLoopback", Const, 0, ""}, + {"FlagMulticast", Const, 0, ""}, + {"FlagPointToPoint", Const, 0, ""}, + {"FlagRunning", Const, 20, ""}, + {"FlagUp", Const, 0, ""}, + {"Flags", Type, 0, ""}, + {"HardwareAddr", Type, 0, ""}, + {"IP", Type, 0, ""}, + {"IPAddr", Type, 0, ""}, + {"IPAddr.IP", Field, 0, ""}, + {"IPAddr.Zone", Field, 1, ""}, + {"IPConn", Type, 0, ""}, + {"IPMask", Type, 0, ""}, + {"IPNet", Type, 0, ""}, + {"IPNet.IP", Field, 0, ""}, + {"IPNet.Mask", Field, 0, ""}, + {"IPv4", Func, 0, "func(a byte, b byte, c byte, d byte) IP"}, + {"IPv4Mask", Func, 0, "func(a byte, b byte, c byte, d byte) IPMask"}, + {"IPv4allrouter", Var, 0, ""}, + {"IPv4allsys", Var, 0, ""}, + {"IPv4bcast", Var, 0, ""}, + {"IPv4len", Const, 0, ""}, + {"IPv4zero", Var, 0, ""}, + {"IPv6interfacelocalallnodes", Var, 0, ""}, + {"IPv6len", Const, 0, ""}, + {"IPv6linklocalallnodes", Var, 0, ""}, + {"IPv6linklocalallrouters", Var, 0, ""}, + {"IPv6loopback", Var, 0, ""}, + {"IPv6unspecified", Var, 0, ""}, + {"IPv6zero", Var, 0, ""}, + {"Interface", Type, 0, ""}, + {"Interface.Flags", Field, 0, ""}, + {"Interface.HardwareAddr", Field, 0, ""}, + {"Interface.Index", Field, 0, ""}, + {"Interface.MTU", Field, 0, ""}, + {"Interface.Name", Field, 0, ""}, + {"InterfaceAddrs", Func, 0, "func() ([]Addr, error)"}, + {"InterfaceByIndex", Func, 0, "func(index int) (*Interface, error)"}, + {"InterfaceByName", Func, 0, "func(name string) (*Interface, error)"}, + {"Interfaces", Func, 0, "func() ([]Interface, error)"}, + {"InvalidAddrError", Type, 0, ""}, + {"JoinHostPort", Func, 0, "func(host string, port string) string"}, + {"KeepAliveConfig", Type, 23, ""}, + {"KeepAliveConfig.Count", Field, 23, ""}, + {"KeepAliveConfig.Enable", Field, 23, ""}, + {"KeepAliveConfig.Idle", Field, 23, ""}, + {"KeepAliveConfig.Interval", Field, 23, ""}, + {"Listen", Func, 0, "func(network string, address string) (Listener, error)"}, + {"ListenConfig", Type, 11, ""}, + {"ListenConfig.Control", Field, 11, ""}, + {"ListenConfig.KeepAlive", Field, 13, ""}, + {"ListenConfig.KeepAliveConfig", Field, 23, ""}, + {"ListenIP", Func, 0, "func(network string, laddr *IPAddr) (*IPConn, error)"}, + {"ListenMulticastUDP", Func, 0, "func(network string, ifi *Interface, gaddr *UDPAddr) (*UDPConn, error)"}, + {"ListenPacket", Func, 0, "func(network string, address string) (PacketConn, error)"}, + {"ListenTCP", Func, 0, "func(network string, laddr *TCPAddr) (*TCPListener, error)"}, + {"ListenUDP", Func, 0, "func(network string, laddr *UDPAddr) (*UDPConn, error)"}, + {"ListenUnix", Func, 0, "func(network string, laddr *UnixAddr) (*UnixListener, error)"}, + {"ListenUnixgram", Func, 0, "func(network string, laddr *UnixAddr) (*UnixConn, error)"}, + {"Listener", Type, 0, ""}, + {"LookupAddr", Func, 0, "func(addr string) (names []string, err error)"}, + {"LookupCNAME", Func, 0, "func(host string) (cname string, err error)"}, + {"LookupHost", Func, 0, "func(host string) (addrs []string, err error)"}, + {"LookupIP", Func, 0, "func(host string) ([]IP, error)"}, + {"LookupMX", Func, 0, "func(name string) ([]*MX, error)"}, + {"LookupNS", Func, 1, "func(name string) ([]*NS, error)"}, + {"LookupPort", Func, 0, "func(network string, service string) (port int, err error)"}, + {"LookupSRV", Func, 0, "func(service string, proto string, name string) (cname string, addrs []*SRV, err error)"}, + {"LookupTXT", Func, 0, "func(name string) ([]string, error)"}, + {"MX", Type, 0, ""}, + {"MX.Host", Field, 0, ""}, + {"MX.Pref", Field, 0, ""}, + {"NS", Type, 1, ""}, + {"NS.Host", Field, 1, ""}, + {"OpError", Type, 0, ""}, + {"OpError.Addr", Field, 0, ""}, + {"OpError.Err", Field, 0, ""}, + {"OpError.Net", Field, 0, ""}, + {"OpError.Op", Field, 0, ""}, + {"OpError.Source", Field, 5, ""}, + {"PacketConn", Type, 0, ""}, + {"ParseCIDR", Func, 0, "func(s string) (IP, *IPNet, error)"}, + {"ParseError", Type, 0, ""}, + {"ParseError.Text", Field, 0, ""}, + {"ParseError.Type", Field, 0, ""}, + {"ParseIP", Func, 0, "func(s string) IP"}, + {"ParseMAC", Func, 0, "func(s string) (hw HardwareAddr, err error)"}, + {"Pipe", Func, 0, "func() (Conn, Conn)"}, + {"ResolveIPAddr", Func, 0, "func(network string, address string) (*IPAddr, error)"}, + {"ResolveTCPAddr", Func, 0, "func(network string, address string) (*TCPAddr, error)"}, + {"ResolveUDPAddr", Func, 0, "func(network string, address string) (*UDPAddr, error)"}, + {"ResolveUnixAddr", Func, 0, "func(network string, address string) (*UnixAddr, error)"}, + {"Resolver", Type, 8, ""}, + {"Resolver.Dial", Field, 9, ""}, + {"Resolver.PreferGo", Field, 8, ""}, + {"Resolver.StrictErrors", Field, 9, ""}, + {"SRV", Type, 0, ""}, + {"SRV.Port", Field, 0, ""}, + {"SRV.Priority", Field, 0, ""}, + {"SRV.Target", Field, 0, ""}, + {"SRV.Weight", Field, 0, ""}, + {"SplitHostPort", Func, 0, "func(hostport string) (host string, port string, err error)"}, + {"TCPAddr", Type, 0, ""}, + {"TCPAddr.IP", Field, 0, ""}, + {"TCPAddr.Port", Field, 0, ""}, + {"TCPAddr.Zone", Field, 1, ""}, + {"TCPAddrFromAddrPort", Func, 18, "func(addr netip.AddrPort) *TCPAddr"}, + {"TCPConn", Type, 0, ""}, + {"TCPListener", Type, 0, ""}, + {"UDPAddr", Type, 0, ""}, + {"UDPAddr.IP", Field, 0, ""}, + {"UDPAddr.Port", Field, 0, ""}, + {"UDPAddr.Zone", Field, 1, ""}, + {"UDPAddrFromAddrPort", Func, 18, "func(addr netip.AddrPort) *UDPAddr"}, + {"UDPConn", Type, 0, ""}, + {"UnixAddr", Type, 0, ""}, + {"UnixAddr.Name", Field, 0, ""}, + {"UnixAddr.Net", Field, 0, ""}, + {"UnixConn", Type, 0, ""}, + {"UnixListener", Type, 0, ""}, + {"UnknownNetworkError", Type, 0, ""}, }, "net/http": { - {"(*Client).CloseIdleConnections", Method, 12}, - {"(*Client).Do", Method, 0}, - {"(*Client).Get", Method, 0}, - {"(*Client).Head", Method, 0}, - {"(*Client).Post", Method, 0}, - {"(*Client).PostForm", Method, 0}, - {"(*Cookie).String", Method, 0}, - {"(*Cookie).Valid", Method, 18}, - {"(*MaxBytesError).Error", Method, 19}, - {"(*ProtocolError).Error", Method, 0}, - {"(*ProtocolError).Is", Method, 21}, - {"(*Protocols).SetHTTP1", Method, 24}, - {"(*Protocols).SetHTTP2", Method, 24}, - {"(*Protocols).SetUnencryptedHTTP2", Method, 24}, - {"(*Request).AddCookie", Method, 0}, - {"(*Request).BasicAuth", Method, 4}, - {"(*Request).Clone", Method, 13}, - {"(*Request).Context", Method, 7}, - {"(*Request).Cookie", Method, 0}, - {"(*Request).Cookies", Method, 0}, - {"(*Request).CookiesNamed", Method, 23}, - {"(*Request).FormFile", Method, 0}, - {"(*Request).FormValue", Method, 0}, - {"(*Request).MultipartReader", Method, 0}, - {"(*Request).ParseForm", Method, 0}, - {"(*Request).ParseMultipartForm", Method, 0}, - {"(*Request).PathValue", Method, 22}, - {"(*Request).PostFormValue", Method, 1}, - {"(*Request).ProtoAtLeast", Method, 0}, - {"(*Request).Referer", Method, 0}, - {"(*Request).SetBasicAuth", Method, 0}, - {"(*Request).SetPathValue", Method, 22}, - {"(*Request).UserAgent", Method, 0}, - {"(*Request).WithContext", Method, 7}, - {"(*Request).Write", Method, 0}, - {"(*Request).WriteProxy", Method, 0}, - {"(*Response).Cookies", Method, 0}, - {"(*Response).Location", Method, 0}, - {"(*Response).ProtoAtLeast", Method, 0}, - {"(*Response).Write", Method, 0}, - {"(*ResponseController).EnableFullDuplex", Method, 21}, - {"(*ResponseController).Flush", Method, 20}, - {"(*ResponseController).Hijack", Method, 20}, - {"(*ResponseController).SetReadDeadline", Method, 20}, - {"(*ResponseController).SetWriteDeadline", Method, 20}, - {"(*ServeMux).Handle", Method, 0}, - {"(*ServeMux).HandleFunc", Method, 0}, - {"(*ServeMux).Handler", Method, 1}, - {"(*ServeMux).ServeHTTP", Method, 0}, - {"(*Server).Close", Method, 8}, - {"(*Server).ListenAndServe", Method, 0}, - {"(*Server).ListenAndServeTLS", Method, 0}, - {"(*Server).RegisterOnShutdown", Method, 9}, - {"(*Server).Serve", Method, 0}, - {"(*Server).ServeTLS", Method, 9}, - {"(*Server).SetKeepAlivesEnabled", Method, 3}, - {"(*Server).Shutdown", Method, 8}, - {"(*Transport).CancelRequest", Method, 1}, - {"(*Transport).Clone", Method, 13}, - {"(*Transport).CloseIdleConnections", Method, 0}, - {"(*Transport).RegisterProtocol", Method, 0}, - {"(*Transport).RoundTrip", Method, 0}, - {"(ConnState).String", Method, 3}, - {"(Dir).Open", Method, 0}, - {"(HandlerFunc).ServeHTTP", Method, 0}, - {"(Header).Add", Method, 0}, - {"(Header).Clone", Method, 13}, - {"(Header).Del", Method, 0}, - {"(Header).Get", Method, 0}, - {"(Header).Set", Method, 0}, - {"(Header).Values", Method, 14}, - {"(Header).Write", Method, 0}, - {"(Header).WriteSubset", Method, 0}, - {"(Protocols).HTTP1", Method, 24}, - {"(Protocols).HTTP2", Method, 24}, - {"(Protocols).String", Method, 24}, - {"(Protocols).UnencryptedHTTP2", Method, 24}, - {"AllowQuerySemicolons", Func, 17}, - {"CanonicalHeaderKey", Func, 0}, - {"Client", Type, 0}, - {"Client.CheckRedirect", Field, 0}, - {"Client.Jar", Field, 0}, - {"Client.Timeout", Field, 3}, - {"Client.Transport", Field, 0}, - {"CloseNotifier", Type, 1}, - {"ConnState", Type, 3}, - {"Cookie", Type, 0}, - {"Cookie.Domain", Field, 0}, - {"Cookie.Expires", Field, 0}, - {"Cookie.HttpOnly", Field, 0}, - {"Cookie.MaxAge", Field, 0}, - {"Cookie.Name", Field, 0}, - {"Cookie.Partitioned", Field, 23}, - {"Cookie.Path", Field, 0}, - {"Cookie.Quoted", Field, 23}, - {"Cookie.Raw", Field, 0}, - {"Cookie.RawExpires", Field, 0}, - {"Cookie.SameSite", Field, 11}, - {"Cookie.Secure", Field, 0}, - {"Cookie.Unparsed", Field, 0}, - {"Cookie.Value", Field, 0}, - {"CookieJar", Type, 0}, - {"DefaultClient", Var, 0}, - {"DefaultMaxHeaderBytes", Const, 0}, - {"DefaultMaxIdleConnsPerHost", Const, 0}, - {"DefaultServeMux", Var, 0}, - {"DefaultTransport", Var, 0}, - {"DetectContentType", Func, 0}, - {"Dir", Type, 0}, - {"ErrAbortHandler", Var, 8}, - {"ErrBodyNotAllowed", Var, 0}, - {"ErrBodyReadAfterClose", Var, 0}, - {"ErrContentLength", Var, 0}, - {"ErrHandlerTimeout", Var, 0}, - {"ErrHeaderTooLong", Var, 0}, - {"ErrHijacked", Var, 0}, - {"ErrLineTooLong", Var, 0}, - {"ErrMissingBoundary", Var, 0}, - {"ErrMissingContentLength", Var, 0}, - {"ErrMissingFile", Var, 0}, - {"ErrNoCookie", Var, 0}, - {"ErrNoLocation", Var, 0}, - {"ErrNotMultipart", Var, 0}, - {"ErrNotSupported", Var, 0}, - {"ErrSchemeMismatch", Var, 21}, - {"ErrServerClosed", Var, 8}, - {"ErrShortBody", Var, 0}, - {"ErrSkipAltProtocol", Var, 6}, - {"ErrUnexpectedTrailer", Var, 0}, - {"ErrUseLastResponse", Var, 7}, - {"ErrWriteAfterFlush", Var, 0}, - {"Error", Func, 0}, - {"FS", Func, 16}, - {"File", Type, 0}, - {"FileServer", Func, 0}, - {"FileServerFS", Func, 22}, - {"FileSystem", Type, 0}, - {"Flusher", Type, 0}, - {"Get", Func, 0}, - {"HTTP2Config", Type, 24}, - {"HTTP2Config.CountError", Field, 24}, - {"HTTP2Config.MaxConcurrentStreams", Field, 24}, - {"HTTP2Config.MaxDecoderHeaderTableSize", Field, 24}, - {"HTTP2Config.MaxEncoderHeaderTableSize", Field, 24}, - {"HTTP2Config.MaxReadFrameSize", Field, 24}, - {"HTTP2Config.MaxReceiveBufferPerConnection", Field, 24}, - {"HTTP2Config.MaxReceiveBufferPerStream", Field, 24}, - {"HTTP2Config.PermitProhibitedCipherSuites", Field, 24}, - {"HTTP2Config.PingTimeout", Field, 24}, - {"HTTP2Config.SendPingTimeout", Field, 24}, - {"HTTP2Config.WriteByteTimeout", Field, 24}, - {"Handle", Func, 0}, - {"HandleFunc", Func, 0}, - {"Handler", Type, 0}, - {"HandlerFunc", Type, 0}, - {"Head", Func, 0}, - {"Header", Type, 0}, - {"Hijacker", Type, 0}, - {"ListenAndServe", Func, 0}, - {"ListenAndServeTLS", Func, 0}, - {"LocalAddrContextKey", Var, 7}, - {"MaxBytesError", Type, 19}, - {"MaxBytesError.Limit", Field, 19}, - {"MaxBytesHandler", Func, 18}, - {"MaxBytesReader", Func, 0}, - {"MethodConnect", Const, 6}, - {"MethodDelete", Const, 6}, - {"MethodGet", Const, 6}, - {"MethodHead", Const, 6}, - {"MethodOptions", Const, 6}, - {"MethodPatch", Const, 6}, - {"MethodPost", Const, 6}, - {"MethodPut", Const, 6}, - {"MethodTrace", Const, 6}, - {"NewFileTransport", Func, 0}, - {"NewFileTransportFS", Func, 22}, - {"NewRequest", Func, 0}, - {"NewRequestWithContext", Func, 13}, - {"NewResponseController", Func, 20}, - {"NewServeMux", Func, 0}, - {"NoBody", Var, 8}, - {"NotFound", Func, 0}, - {"NotFoundHandler", Func, 0}, - {"ParseCookie", Func, 23}, - {"ParseHTTPVersion", Func, 0}, - {"ParseSetCookie", Func, 23}, - {"ParseTime", Func, 1}, - {"Post", Func, 0}, - {"PostForm", Func, 0}, - {"ProtocolError", Type, 0}, - {"ProtocolError.ErrorString", Field, 0}, - {"Protocols", Type, 24}, - {"ProxyFromEnvironment", Func, 0}, - {"ProxyURL", Func, 0}, - {"PushOptions", Type, 8}, - {"PushOptions.Header", Field, 8}, - {"PushOptions.Method", Field, 8}, - {"Pusher", Type, 8}, - {"ReadRequest", Func, 0}, - {"ReadResponse", Func, 0}, - {"Redirect", Func, 0}, - {"RedirectHandler", Func, 0}, - {"Request", Type, 0}, - {"Request.Body", Field, 0}, - {"Request.Cancel", Field, 5}, - {"Request.Close", Field, 0}, - {"Request.ContentLength", Field, 0}, - {"Request.Form", Field, 0}, - {"Request.GetBody", Field, 8}, - {"Request.Header", Field, 0}, - {"Request.Host", Field, 0}, - {"Request.Method", Field, 0}, - {"Request.MultipartForm", Field, 0}, - {"Request.Pattern", Field, 23}, - {"Request.PostForm", Field, 1}, - {"Request.Proto", Field, 0}, - {"Request.ProtoMajor", Field, 0}, - {"Request.ProtoMinor", Field, 0}, - {"Request.RemoteAddr", Field, 0}, - {"Request.RequestURI", Field, 0}, - {"Request.Response", Field, 7}, - {"Request.TLS", Field, 0}, - {"Request.Trailer", Field, 0}, - {"Request.TransferEncoding", Field, 0}, - {"Request.URL", Field, 0}, - {"Response", Type, 0}, - {"Response.Body", Field, 0}, - {"Response.Close", Field, 0}, - {"Response.ContentLength", Field, 0}, - {"Response.Header", Field, 0}, - {"Response.Proto", Field, 0}, - {"Response.ProtoMajor", Field, 0}, - {"Response.ProtoMinor", Field, 0}, - {"Response.Request", Field, 0}, - {"Response.Status", Field, 0}, - {"Response.StatusCode", Field, 0}, - {"Response.TLS", Field, 3}, - {"Response.Trailer", Field, 0}, - {"Response.TransferEncoding", Field, 0}, - {"Response.Uncompressed", Field, 7}, - {"ResponseController", Type, 20}, - {"ResponseWriter", Type, 0}, - {"RoundTripper", Type, 0}, - {"SameSite", Type, 11}, - {"SameSiteDefaultMode", Const, 11}, - {"SameSiteLaxMode", Const, 11}, - {"SameSiteNoneMode", Const, 13}, - {"SameSiteStrictMode", Const, 11}, - {"Serve", Func, 0}, - {"ServeContent", Func, 0}, - {"ServeFile", Func, 0}, - {"ServeFileFS", Func, 22}, - {"ServeMux", Type, 0}, - {"ServeTLS", Func, 9}, - {"Server", Type, 0}, - {"Server.Addr", Field, 0}, - {"Server.BaseContext", Field, 13}, - {"Server.ConnContext", Field, 13}, - {"Server.ConnState", Field, 3}, - {"Server.DisableGeneralOptionsHandler", Field, 20}, - {"Server.ErrorLog", Field, 3}, - {"Server.HTTP2", Field, 24}, - {"Server.Handler", Field, 0}, - {"Server.IdleTimeout", Field, 8}, - {"Server.MaxHeaderBytes", Field, 0}, - {"Server.Protocols", Field, 24}, - {"Server.ReadHeaderTimeout", Field, 8}, - {"Server.ReadTimeout", Field, 0}, - {"Server.TLSConfig", Field, 0}, - {"Server.TLSNextProto", Field, 1}, - {"Server.WriteTimeout", Field, 0}, - {"ServerContextKey", Var, 7}, - {"SetCookie", Func, 0}, - {"StateActive", Const, 3}, - {"StateClosed", Const, 3}, - {"StateHijacked", Const, 3}, - {"StateIdle", Const, 3}, - {"StateNew", Const, 3}, - {"StatusAccepted", Const, 0}, - {"StatusAlreadyReported", Const, 7}, - {"StatusBadGateway", Const, 0}, - {"StatusBadRequest", Const, 0}, - {"StatusConflict", Const, 0}, - {"StatusContinue", Const, 0}, - {"StatusCreated", Const, 0}, - {"StatusEarlyHints", Const, 13}, - {"StatusExpectationFailed", Const, 0}, - {"StatusFailedDependency", Const, 7}, - {"StatusForbidden", Const, 0}, - {"StatusFound", Const, 0}, - {"StatusGatewayTimeout", Const, 0}, - {"StatusGone", Const, 0}, - {"StatusHTTPVersionNotSupported", Const, 0}, - {"StatusIMUsed", Const, 7}, - {"StatusInsufficientStorage", Const, 7}, - {"StatusInternalServerError", Const, 0}, - {"StatusLengthRequired", Const, 0}, - {"StatusLocked", Const, 7}, - {"StatusLoopDetected", Const, 7}, - {"StatusMethodNotAllowed", Const, 0}, - {"StatusMisdirectedRequest", Const, 11}, - {"StatusMovedPermanently", Const, 0}, - {"StatusMultiStatus", Const, 7}, - {"StatusMultipleChoices", Const, 0}, - {"StatusNetworkAuthenticationRequired", Const, 6}, - {"StatusNoContent", Const, 0}, - {"StatusNonAuthoritativeInfo", Const, 0}, - {"StatusNotAcceptable", Const, 0}, - {"StatusNotExtended", Const, 7}, - {"StatusNotFound", Const, 0}, - {"StatusNotImplemented", Const, 0}, - {"StatusNotModified", Const, 0}, - {"StatusOK", Const, 0}, - {"StatusPartialContent", Const, 0}, - {"StatusPaymentRequired", Const, 0}, - {"StatusPermanentRedirect", Const, 7}, - {"StatusPreconditionFailed", Const, 0}, - {"StatusPreconditionRequired", Const, 6}, - {"StatusProcessing", Const, 7}, - {"StatusProxyAuthRequired", Const, 0}, - {"StatusRequestEntityTooLarge", Const, 0}, - {"StatusRequestHeaderFieldsTooLarge", Const, 6}, - {"StatusRequestTimeout", Const, 0}, - {"StatusRequestURITooLong", Const, 0}, - {"StatusRequestedRangeNotSatisfiable", Const, 0}, - {"StatusResetContent", Const, 0}, - {"StatusSeeOther", Const, 0}, - {"StatusServiceUnavailable", Const, 0}, - {"StatusSwitchingProtocols", Const, 0}, - {"StatusTeapot", Const, 0}, - {"StatusTemporaryRedirect", Const, 0}, - {"StatusText", Func, 0}, - {"StatusTooEarly", Const, 12}, - {"StatusTooManyRequests", Const, 6}, - {"StatusUnauthorized", Const, 0}, - {"StatusUnavailableForLegalReasons", Const, 6}, - {"StatusUnprocessableEntity", Const, 7}, - {"StatusUnsupportedMediaType", Const, 0}, - {"StatusUpgradeRequired", Const, 7}, - {"StatusUseProxy", Const, 0}, - {"StatusVariantAlsoNegotiates", Const, 7}, - {"StripPrefix", Func, 0}, - {"TimeFormat", Const, 0}, - {"TimeoutHandler", Func, 0}, - {"TrailerPrefix", Const, 8}, - {"Transport", Type, 0}, - {"Transport.Dial", Field, 0}, - {"Transport.DialContext", Field, 7}, - {"Transport.DialTLS", Field, 4}, - {"Transport.DialTLSContext", Field, 14}, - {"Transport.DisableCompression", Field, 0}, - {"Transport.DisableKeepAlives", Field, 0}, - {"Transport.ExpectContinueTimeout", Field, 6}, - {"Transport.ForceAttemptHTTP2", Field, 13}, - {"Transport.GetProxyConnectHeader", Field, 16}, - {"Transport.HTTP2", Field, 24}, - {"Transport.IdleConnTimeout", Field, 7}, - {"Transport.MaxConnsPerHost", Field, 11}, - {"Transport.MaxIdleConns", Field, 7}, - {"Transport.MaxIdleConnsPerHost", Field, 0}, - {"Transport.MaxResponseHeaderBytes", Field, 7}, - {"Transport.OnProxyConnectResponse", Field, 20}, - {"Transport.Protocols", Field, 24}, - {"Transport.Proxy", Field, 0}, - {"Transport.ProxyConnectHeader", Field, 8}, - {"Transport.ReadBufferSize", Field, 13}, - {"Transport.ResponseHeaderTimeout", Field, 1}, - {"Transport.TLSClientConfig", Field, 0}, - {"Transport.TLSHandshakeTimeout", Field, 3}, - {"Transport.TLSNextProto", Field, 6}, - {"Transport.WriteBufferSize", Field, 13}, + {"(*Client).CloseIdleConnections", Method, 12, ""}, + {"(*Client).Do", Method, 0, ""}, + {"(*Client).Get", Method, 0, ""}, + {"(*Client).Head", Method, 0, ""}, + {"(*Client).Post", Method, 0, ""}, + {"(*Client).PostForm", Method, 0, ""}, + {"(*Cookie).String", Method, 0, ""}, + {"(*Cookie).Valid", Method, 18, ""}, + {"(*CrossOriginProtection).AddInsecureBypassPattern", Method, 25, ""}, + {"(*CrossOriginProtection).AddTrustedOrigin", Method, 25, ""}, + {"(*CrossOriginProtection).Check", Method, 25, ""}, + {"(*CrossOriginProtection).Handler", Method, 25, ""}, + {"(*CrossOriginProtection).SetDenyHandler", Method, 25, ""}, + {"(*MaxBytesError).Error", Method, 19, ""}, + {"(*ProtocolError).Error", Method, 0, ""}, + {"(*ProtocolError).Is", Method, 21, ""}, + {"(*Protocols).SetHTTP1", Method, 24, ""}, + {"(*Protocols).SetHTTP2", Method, 24, ""}, + {"(*Protocols).SetUnencryptedHTTP2", Method, 24, ""}, + {"(*Request).AddCookie", Method, 0, ""}, + {"(*Request).BasicAuth", Method, 4, ""}, + {"(*Request).Clone", Method, 13, ""}, + {"(*Request).Context", Method, 7, ""}, + {"(*Request).Cookie", Method, 0, ""}, + {"(*Request).Cookies", Method, 0, ""}, + {"(*Request).CookiesNamed", Method, 23, ""}, + {"(*Request).FormFile", Method, 0, ""}, + {"(*Request).FormValue", Method, 0, ""}, + {"(*Request).MultipartReader", Method, 0, ""}, + {"(*Request).ParseForm", Method, 0, ""}, + {"(*Request).ParseMultipartForm", Method, 0, ""}, + {"(*Request).PathValue", Method, 22, ""}, + {"(*Request).PostFormValue", Method, 1, ""}, + {"(*Request).ProtoAtLeast", Method, 0, ""}, + {"(*Request).Referer", Method, 0, ""}, + {"(*Request).SetBasicAuth", Method, 0, ""}, + {"(*Request).SetPathValue", Method, 22, ""}, + {"(*Request).UserAgent", Method, 0, ""}, + {"(*Request).WithContext", Method, 7, ""}, + {"(*Request).Write", Method, 0, ""}, + {"(*Request).WriteProxy", Method, 0, ""}, + {"(*Response).Cookies", Method, 0, ""}, + {"(*Response).Location", Method, 0, ""}, + {"(*Response).ProtoAtLeast", Method, 0, ""}, + {"(*Response).Write", Method, 0, ""}, + {"(*ResponseController).EnableFullDuplex", Method, 21, ""}, + {"(*ResponseController).Flush", Method, 20, ""}, + {"(*ResponseController).Hijack", Method, 20, ""}, + {"(*ResponseController).SetReadDeadline", Method, 20, ""}, + {"(*ResponseController).SetWriteDeadline", Method, 20, ""}, + {"(*ServeMux).Handle", Method, 0, ""}, + {"(*ServeMux).HandleFunc", Method, 0, ""}, + {"(*ServeMux).Handler", Method, 1, ""}, + {"(*ServeMux).ServeHTTP", Method, 0, ""}, + {"(*Server).Close", Method, 8, ""}, + {"(*Server).ListenAndServe", Method, 0, ""}, + {"(*Server).ListenAndServeTLS", Method, 0, ""}, + {"(*Server).RegisterOnShutdown", Method, 9, ""}, + {"(*Server).Serve", Method, 0, ""}, + {"(*Server).ServeTLS", Method, 9, ""}, + {"(*Server).SetKeepAlivesEnabled", Method, 3, ""}, + {"(*Server).Shutdown", Method, 8, ""}, + {"(*Transport).CancelRequest", Method, 1, ""}, + {"(*Transport).Clone", Method, 13, ""}, + {"(*Transport).CloseIdleConnections", Method, 0, ""}, + {"(*Transport).RegisterProtocol", Method, 0, ""}, + {"(*Transport).RoundTrip", Method, 0, ""}, + {"(ConnState).String", Method, 3, ""}, + {"(Dir).Open", Method, 0, ""}, + {"(HandlerFunc).ServeHTTP", Method, 0, ""}, + {"(Header).Add", Method, 0, ""}, + {"(Header).Clone", Method, 13, ""}, + {"(Header).Del", Method, 0, ""}, + {"(Header).Get", Method, 0, ""}, + {"(Header).Set", Method, 0, ""}, + {"(Header).Values", Method, 14, ""}, + {"(Header).Write", Method, 0, ""}, + {"(Header).WriteSubset", Method, 0, ""}, + {"(Protocols).HTTP1", Method, 24, ""}, + {"(Protocols).HTTP2", Method, 24, ""}, + {"(Protocols).String", Method, 24, ""}, + {"(Protocols).UnencryptedHTTP2", Method, 24, ""}, + {"AllowQuerySemicolons", Func, 17, "func(h Handler) Handler"}, + {"CanonicalHeaderKey", Func, 0, "func(s string) string"}, + {"Client", Type, 0, ""}, + {"Client.CheckRedirect", Field, 0, ""}, + {"Client.Jar", Field, 0, ""}, + {"Client.Timeout", Field, 3, ""}, + {"Client.Transport", Field, 0, ""}, + {"CloseNotifier", Type, 1, ""}, + {"ConnState", Type, 3, ""}, + {"Cookie", Type, 0, ""}, + {"Cookie.Domain", Field, 0, ""}, + {"Cookie.Expires", Field, 0, ""}, + {"Cookie.HttpOnly", Field, 0, ""}, + {"Cookie.MaxAge", Field, 0, ""}, + {"Cookie.Name", Field, 0, ""}, + {"Cookie.Partitioned", Field, 23, ""}, + {"Cookie.Path", Field, 0, ""}, + {"Cookie.Quoted", Field, 23, ""}, + {"Cookie.Raw", Field, 0, ""}, + {"Cookie.RawExpires", Field, 0, ""}, + {"Cookie.SameSite", Field, 11, ""}, + {"Cookie.Secure", Field, 0, ""}, + {"Cookie.Unparsed", Field, 0, ""}, + {"Cookie.Value", Field, 0, ""}, + {"CookieJar", Type, 0, ""}, + {"CrossOriginProtection", Type, 25, ""}, + {"DefaultClient", Var, 0, ""}, + {"DefaultMaxHeaderBytes", Const, 0, ""}, + {"DefaultMaxIdleConnsPerHost", Const, 0, ""}, + {"DefaultServeMux", Var, 0, ""}, + {"DefaultTransport", Var, 0, ""}, + {"DetectContentType", Func, 0, "func(data []byte) string"}, + {"Dir", Type, 0, ""}, + {"ErrAbortHandler", Var, 8, ""}, + {"ErrBodyNotAllowed", Var, 0, ""}, + {"ErrBodyReadAfterClose", Var, 0, ""}, + {"ErrContentLength", Var, 0, ""}, + {"ErrHandlerTimeout", Var, 0, ""}, + {"ErrHeaderTooLong", Var, 0, ""}, + {"ErrHijacked", Var, 0, ""}, + {"ErrLineTooLong", Var, 0, ""}, + {"ErrMissingBoundary", Var, 0, ""}, + {"ErrMissingContentLength", Var, 0, ""}, + {"ErrMissingFile", Var, 0, ""}, + {"ErrNoCookie", Var, 0, ""}, + {"ErrNoLocation", Var, 0, ""}, + {"ErrNotMultipart", Var, 0, ""}, + {"ErrNotSupported", Var, 0, ""}, + {"ErrSchemeMismatch", Var, 21, ""}, + {"ErrServerClosed", Var, 8, ""}, + {"ErrShortBody", Var, 0, ""}, + {"ErrSkipAltProtocol", Var, 6, ""}, + {"ErrUnexpectedTrailer", Var, 0, ""}, + {"ErrUseLastResponse", Var, 7, ""}, + {"ErrWriteAfterFlush", Var, 0, ""}, + {"Error", Func, 0, "func(w ResponseWriter, error string, code int)"}, + {"FS", Func, 16, "func(fsys fs.FS) FileSystem"}, + {"File", Type, 0, ""}, + {"FileServer", Func, 0, "func(root FileSystem) Handler"}, + {"FileServerFS", Func, 22, "func(root fs.FS) Handler"}, + {"FileSystem", Type, 0, ""}, + {"Flusher", Type, 0, ""}, + {"Get", Func, 0, "func(url string) (resp *Response, err error)"}, + {"HTTP2Config", Type, 24, ""}, + {"HTTP2Config.CountError", Field, 24, ""}, + {"HTTP2Config.MaxConcurrentStreams", Field, 24, ""}, + {"HTTP2Config.MaxDecoderHeaderTableSize", Field, 24, ""}, + {"HTTP2Config.MaxEncoderHeaderTableSize", Field, 24, ""}, + {"HTTP2Config.MaxReadFrameSize", Field, 24, ""}, + {"HTTP2Config.MaxReceiveBufferPerConnection", Field, 24, ""}, + {"HTTP2Config.MaxReceiveBufferPerStream", Field, 24, ""}, + {"HTTP2Config.PermitProhibitedCipherSuites", Field, 24, ""}, + {"HTTP2Config.PingTimeout", Field, 24, ""}, + {"HTTP2Config.SendPingTimeout", Field, 24, ""}, + {"HTTP2Config.WriteByteTimeout", Field, 24, ""}, + {"Handle", Func, 0, "func(pattern string, handler Handler)"}, + {"HandleFunc", Func, 0, "func(pattern string, handler func(ResponseWriter, *Request))"}, + {"Handler", Type, 0, ""}, + {"HandlerFunc", Type, 0, ""}, + {"Head", Func, 0, "func(url string) (resp *Response, err error)"}, + {"Header", Type, 0, ""}, + {"Hijacker", Type, 0, ""}, + {"ListenAndServe", Func, 0, "func(addr string, handler Handler) error"}, + {"ListenAndServeTLS", Func, 0, "func(addr string, certFile string, keyFile string, handler Handler) error"}, + {"LocalAddrContextKey", Var, 7, ""}, + {"MaxBytesError", Type, 19, ""}, + {"MaxBytesError.Limit", Field, 19, ""}, + {"MaxBytesHandler", Func, 18, "func(h Handler, n int64) Handler"}, + {"MaxBytesReader", Func, 0, "func(w ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser"}, + {"MethodConnect", Const, 6, ""}, + {"MethodDelete", Const, 6, ""}, + {"MethodGet", Const, 6, ""}, + {"MethodHead", Const, 6, ""}, + {"MethodOptions", Const, 6, ""}, + {"MethodPatch", Const, 6, ""}, + {"MethodPost", Const, 6, ""}, + {"MethodPut", Const, 6, ""}, + {"MethodTrace", Const, 6, ""}, + {"NewCrossOriginProtection", Func, 25, "func() *CrossOriginProtection"}, + {"NewFileTransport", Func, 0, "func(fs FileSystem) RoundTripper"}, + {"NewFileTransportFS", Func, 22, "func(fsys fs.FS) RoundTripper"}, + {"NewRequest", Func, 0, "func(method string, url string, body io.Reader) (*Request, error)"}, + {"NewRequestWithContext", Func, 13, "func(ctx context.Context, method string, url string, body io.Reader) (*Request, error)"}, + {"NewResponseController", Func, 20, "func(rw ResponseWriter) *ResponseController"}, + {"NewServeMux", Func, 0, "func() *ServeMux"}, + {"NoBody", Var, 8, ""}, + {"NotFound", Func, 0, "func(w ResponseWriter, r *Request)"}, + {"NotFoundHandler", Func, 0, "func() Handler"}, + {"ParseCookie", Func, 23, "func(line string) ([]*Cookie, error)"}, + {"ParseHTTPVersion", Func, 0, "func(vers string) (major int, minor int, ok bool)"}, + {"ParseSetCookie", Func, 23, "func(line string) (*Cookie, error)"}, + {"ParseTime", Func, 1, "func(text string) (t time.Time, err error)"}, + {"Post", Func, 0, "func(url string, contentType string, body io.Reader) (resp *Response, err error)"}, + {"PostForm", Func, 0, "func(url string, data url.Values) (resp *Response, err error)"}, + {"ProtocolError", Type, 0, ""}, + {"ProtocolError.ErrorString", Field, 0, ""}, + {"Protocols", Type, 24, ""}, + {"ProxyFromEnvironment", Func, 0, "func(req *Request) (*url.URL, error)"}, + {"ProxyURL", Func, 0, "func(fixedURL *url.URL) func(*Request) (*url.URL, error)"}, + {"PushOptions", Type, 8, ""}, + {"PushOptions.Header", Field, 8, ""}, + {"PushOptions.Method", Field, 8, ""}, + {"Pusher", Type, 8, ""}, + {"ReadRequest", Func, 0, "func(b *bufio.Reader) (*Request, error)"}, + {"ReadResponse", Func, 0, "func(r *bufio.Reader, req *Request) (*Response, error)"}, + {"Redirect", Func, 0, "func(w ResponseWriter, r *Request, url string, code int)"}, + {"RedirectHandler", Func, 0, "func(url string, code int) Handler"}, + {"Request", Type, 0, ""}, + {"Request.Body", Field, 0, ""}, + {"Request.Cancel", Field, 5, ""}, + {"Request.Close", Field, 0, ""}, + {"Request.ContentLength", Field, 0, ""}, + {"Request.Form", Field, 0, ""}, + {"Request.GetBody", Field, 8, ""}, + {"Request.Header", Field, 0, ""}, + {"Request.Host", Field, 0, ""}, + {"Request.Method", Field, 0, ""}, + {"Request.MultipartForm", Field, 0, ""}, + {"Request.Pattern", Field, 23, ""}, + {"Request.PostForm", Field, 1, ""}, + {"Request.Proto", Field, 0, ""}, + {"Request.ProtoMajor", Field, 0, ""}, + {"Request.ProtoMinor", Field, 0, ""}, + {"Request.RemoteAddr", Field, 0, ""}, + {"Request.RequestURI", Field, 0, ""}, + {"Request.Response", Field, 7, ""}, + {"Request.TLS", Field, 0, ""}, + {"Request.Trailer", Field, 0, ""}, + {"Request.TransferEncoding", Field, 0, ""}, + {"Request.URL", Field, 0, ""}, + {"Response", Type, 0, ""}, + {"Response.Body", Field, 0, ""}, + {"Response.Close", Field, 0, ""}, + {"Response.ContentLength", Field, 0, ""}, + {"Response.Header", Field, 0, ""}, + {"Response.Proto", Field, 0, ""}, + {"Response.ProtoMajor", Field, 0, ""}, + {"Response.ProtoMinor", Field, 0, ""}, + {"Response.Request", Field, 0, ""}, + {"Response.Status", Field, 0, ""}, + {"Response.StatusCode", Field, 0, ""}, + {"Response.TLS", Field, 3, ""}, + {"Response.Trailer", Field, 0, ""}, + {"Response.TransferEncoding", Field, 0, ""}, + {"Response.Uncompressed", Field, 7, ""}, + {"ResponseController", Type, 20, ""}, + {"ResponseWriter", Type, 0, ""}, + {"RoundTripper", Type, 0, ""}, + {"SameSite", Type, 11, ""}, + {"SameSiteDefaultMode", Const, 11, ""}, + {"SameSiteLaxMode", Const, 11, ""}, + {"SameSiteNoneMode", Const, 13, ""}, + {"SameSiteStrictMode", Const, 11, ""}, + {"Serve", Func, 0, "func(l net.Listener, handler Handler) error"}, + {"ServeContent", Func, 0, "func(w ResponseWriter, req *Request, name string, modtime time.Time, content io.ReadSeeker)"}, + {"ServeFile", Func, 0, "func(w ResponseWriter, r *Request, name string)"}, + {"ServeFileFS", Func, 22, "func(w ResponseWriter, r *Request, fsys fs.FS, name string)"}, + {"ServeMux", Type, 0, ""}, + {"ServeTLS", Func, 9, "func(l net.Listener, handler Handler, certFile string, keyFile string) error"}, + {"Server", Type, 0, ""}, + {"Server.Addr", Field, 0, ""}, + {"Server.BaseContext", Field, 13, ""}, + {"Server.ConnContext", Field, 13, ""}, + {"Server.ConnState", Field, 3, ""}, + {"Server.DisableGeneralOptionsHandler", Field, 20, ""}, + {"Server.ErrorLog", Field, 3, ""}, + {"Server.HTTP2", Field, 24, ""}, + {"Server.Handler", Field, 0, ""}, + {"Server.IdleTimeout", Field, 8, ""}, + {"Server.MaxHeaderBytes", Field, 0, ""}, + {"Server.Protocols", Field, 24, ""}, + {"Server.ReadHeaderTimeout", Field, 8, ""}, + {"Server.ReadTimeout", Field, 0, ""}, + {"Server.TLSConfig", Field, 0, ""}, + {"Server.TLSNextProto", Field, 1, ""}, + {"Server.WriteTimeout", Field, 0, ""}, + {"ServerContextKey", Var, 7, ""}, + {"SetCookie", Func, 0, "func(w ResponseWriter, cookie *Cookie)"}, + {"StateActive", Const, 3, ""}, + {"StateClosed", Const, 3, ""}, + {"StateHijacked", Const, 3, ""}, + {"StateIdle", Const, 3, ""}, + {"StateNew", Const, 3, ""}, + {"StatusAccepted", Const, 0, ""}, + {"StatusAlreadyReported", Const, 7, ""}, + {"StatusBadGateway", Const, 0, ""}, + {"StatusBadRequest", Const, 0, ""}, + {"StatusConflict", Const, 0, ""}, + {"StatusContinue", Const, 0, ""}, + {"StatusCreated", Const, 0, ""}, + {"StatusEarlyHints", Const, 13, ""}, + {"StatusExpectationFailed", Const, 0, ""}, + {"StatusFailedDependency", Const, 7, ""}, + {"StatusForbidden", Const, 0, ""}, + {"StatusFound", Const, 0, ""}, + {"StatusGatewayTimeout", Const, 0, ""}, + {"StatusGone", Const, 0, ""}, + {"StatusHTTPVersionNotSupported", Const, 0, ""}, + {"StatusIMUsed", Const, 7, ""}, + {"StatusInsufficientStorage", Const, 7, ""}, + {"StatusInternalServerError", Const, 0, ""}, + {"StatusLengthRequired", Const, 0, ""}, + {"StatusLocked", Const, 7, ""}, + {"StatusLoopDetected", Const, 7, ""}, + {"StatusMethodNotAllowed", Const, 0, ""}, + {"StatusMisdirectedRequest", Const, 11, ""}, + {"StatusMovedPermanently", Const, 0, ""}, + {"StatusMultiStatus", Const, 7, ""}, + {"StatusMultipleChoices", Const, 0, ""}, + {"StatusNetworkAuthenticationRequired", Const, 6, ""}, + {"StatusNoContent", Const, 0, ""}, + {"StatusNonAuthoritativeInfo", Const, 0, ""}, + {"StatusNotAcceptable", Const, 0, ""}, + {"StatusNotExtended", Const, 7, ""}, + {"StatusNotFound", Const, 0, ""}, + {"StatusNotImplemented", Const, 0, ""}, + {"StatusNotModified", Const, 0, ""}, + {"StatusOK", Const, 0, ""}, + {"StatusPartialContent", Const, 0, ""}, + {"StatusPaymentRequired", Const, 0, ""}, + {"StatusPermanentRedirect", Const, 7, ""}, + {"StatusPreconditionFailed", Const, 0, ""}, + {"StatusPreconditionRequired", Const, 6, ""}, + {"StatusProcessing", Const, 7, ""}, + {"StatusProxyAuthRequired", Const, 0, ""}, + {"StatusRequestEntityTooLarge", Const, 0, ""}, + {"StatusRequestHeaderFieldsTooLarge", Const, 6, ""}, + {"StatusRequestTimeout", Const, 0, ""}, + {"StatusRequestURITooLong", Const, 0, ""}, + {"StatusRequestedRangeNotSatisfiable", Const, 0, ""}, + {"StatusResetContent", Const, 0, ""}, + {"StatusSeeOther", Const, 0, ""}, + {"StatusServiceUnavailable", Const, 0, ""}, + {"StatusSwitchingProtocols", Const, 0, ""}, + {"StatusTeapot", Const, 0, ""}, + {"StatusTemporaryRedirect", Const, 0, ""}, + {"StatusText", Func, 0, "func(code int) string"}, + {"StatusTooEarly", Const, 12, ""}, + {"StatusTooManyRequests", Const, 6, ""}, + {"StatusUnauthorized", Const, 0, ""}, + {"StatusUnavailableForLegalReasons", Const, 6, ""}, + {"StatusUnprocessableEntity", Const, 7, ""}, + {"StatusUnsupportedMediaType", Const, 0, ""}, + {"StatusUpgradeRequired", Const, 7, ""}, + {"StatusUseProxy", Const, 0, ""}, + {"StatusVariantAlsoNegotiates", Const, 7, ""}, + {"StripPrefix", Func, 0, "func(prefix string, h Handler) Handler"}, + {"TimeFormat", Const, 0, ""}, + {"TimeoutHandler", Func, 0, "func(h Handler, dt time.Duration, msg string) Handler"}, + {"TrailerPrefix", Const, 8, ""}, + {"Transport", Type, 0, ""}, + {"Transport.Dial", Field, 0, ""}, + {"Transport.DialContext", Field, 7, ""}, + {"Transport.DialTLS", Field, 4, ""}, + {"Transport.DialTLSContext", Field, 14, ""}, + {"Transport.DisableCompression", Field, 0, ""}, + {"Transport.DisableKeepAlives", Field, 0, ""}, + {"Transport.ExpectContinueTimeout", Field, 6, ""}, + {"Transport.ForceAttemptHTTP2", Field, 13, ""}, + {"Transport.GetProxyConnectHeader", Field, 16, ""}, + {"Transport.HTTP2", Field, 24, ""}, + {"Transport.IdleConnTimeout", Field, 7, ""}, + {"Transport.MaxConnsPerHost", Field, 11, ""}, + {"Transport.MaxIdleConns", Field, 7, ""}, + {"Transport.MaxIdleConnsPerHost", Field, 0, ""}, + {"Transport.MaxResponseHeaderBytes", Field, 7, ""}, + {"Transport.OnProxyConnectResponse", Field, 20, ""}, + {"Transport.Protocols", Field, 24, ""}, + {"Transport.Proxy", Field, 0, ""}, + {"Transport.ProxyConnectHeader", Field, 8, ""}, + {"Transport.ReadBufferSize", Field, 13, ""}, + {"Transport.ResponseHeaderTimeout", Field, 1, ""}, + {"Transport.TLSClientConfig", Field, 0, ""}, + {"Transport.TLSHandshakeTimeout", Field, 3, ""}, + {"Transport.TLSNextProto", Field, 6, ""}, + {"Transport.WriteBufferSize", Field, 13, ""}, }, "net/http/cgi": { - {"(*Handler).ServeHTTP", Method, 0}, - {"Handler", Type, 0}, - {"Handler.Args", Field, 0}, - {"Handler.Dir", Field, 0}, - {"Handler.Env", Field, 0}, - {"Handler.InheritEnv", Field, 0}, - {"Handler.Logger", Field, 0}, - {"Handler.Path", Field, 0}, - {"Handler.PathLocationHandler", Field, 0}, - {"Handler.Root", Field, 0}, - {"Handler.Stderr", Field, 7}, - {"Request", Func, 0}, - {"RequestFromMap", Func, 0}, - {"Serve", Func, 0}, + {"(*Handler).ServeHTTP", Method, 0, ""}, + {"Handler", Type, 0, ""}, + {"Handler.Args", Field, 0, ""}, + {"Handler.Dir", Field, 0, ""}, + {"Handler.Env", Field, 0, ""}, + {"Handler.InheritEnv", Field, 0, ""}, + {"Handler.Logger", Field, 0, ""}, + {"Handler.Path", Field, 0, ""}, + {"Handler.PathLocationHandler", Field, 0, ""}, + {"Handler.Root", Field, 0, ""}, + {"Handler.Stderr", Field, 7, ""}, + {"Request", Func, 0, "func() (*http.Request, error)"}, + {"RequestFromMap", Func, 0, "func(params map[string]string) (*http.Request, error)"}, + {"Serve", Func, 0, "func(handler http.Handler) error"}, }, "net/http/cookiejar": { - {"(*Jar).Cookies", Method, 1}, - {"(*Jar).SetCookies", Method, 1}, - {"Jar", Type, 1}, - {"New", Func, 1}, - {"Options", Type, 1}, - {"Options.PublicSuffixList", Field, 1}, - {"PublicSuffixList", Type, 1}, + {"(*Jar).Cookies", Method, 1, ""}, + {"(*Jar).SetCookies", Method, 1, ""}, + {"Jar", Type, 1, ""}, + {"New", Func, 1, "func(o *Options) (*Jar, error)"}, + {"Options", Type, 1, ""}, + {"Options.PublicSuffixList", Field, 1, ""}, + {"PublicSuffixList", Type, 1, ""}, }, "net/http/fcgi": { - {"ErrConnClosed", Var, 5}, - {"ErrRequestAborted", Var, 5}, - {"ProcessEnv", Func, 9}, - {"Serve", Func, 0}, + {"ErrConnClosed", Var, 5, ""}, + {"ErrRequestAborted", Var, 5, ""}, + {"ProcessEnv", Func, 9, "func(r *http.Request) map[string]string"}, + {"Serve", Func, 0, "func(l net.Listener, handler http.Handler) error"}, }, "net/http/httptest": { - {"(*ResponseRecorder).Flush", Method, 0}, - {"(*ResponseRecorder).Header", Method, 0}, - {"(*ResponseRecorder).Result", Method, 7}, - {"(*ResponseRecorder).Write", Method, 0}, - {"(*ResponseRecorder).WriteHeader", Method, 0}, - {"(*ResponseRecorder).WriteString", Method, 6}, - {"(*Server).Certificate", Method, 9}, - {"(*Server).Client", Method, 9}, - {"(*Server).Close", Method, 0}, - {"(*Server).CloseClientConnections", Method, 0}, - {"(*Server).Start", Method, 0}, - {"(*Server).StartTLS", Method, 0}, - {"DefaultRemoteAddr", Const, 0}, - {"NewRecorder", Func, 0}, - {"NewRequest", Func, 7}, - {"NewRequestWithContext", Func, 23}, - {"NewServer", Func, 0}, - {"NewTLSServer", Func, 0}, - {"NewUnstartedServer", Func, 0}, - {"ResponseRecorder", Type, 0}, - {"ResponseRecorder.Body", Field, 0}, - {"ResponseRecorder.Code", Field, 0}, - {"ResponseRecorder.Flushed", Field, 0}, - {"ResponseRecorder.HeaderMap", Field, 0}, - {"Server", Type, 0}, - {"Server.Config", Field, 0}, - {"Server.EnableHTTP2", Field, 14}, - {"Server.Listener", Field, 0}, - {"Server.TLS", Field, 0}, - {"Server.URL", Field, 0}, + {"(*ResponseRecorder).Flush", Method, 0, ""}, + {"(*ResponseRecorder).Header", Method, 0, ""}, + {"(*ResponseRecorder).Result", Method, 7, ""}, + {"(*ResponseRecorder).Write", Method, 0, ""}, + {"(*ResponseRecorder).WriteHeader", Method, 0, ""}, + {"(*ResponseRecorder).WriteString", Method, 6, ""}, + {"(*Server).Certificate", Method, 9, ""}, + {"(*Server).Client", Method, 9, ""}, + {"(*Server).Close", Method, 0, ""}, + {"(*Server).CloseClientConnections", Method, 0, ""}, + {"(*Server).Start", Method, 0, ""}, + {"(*Server).StartTLS", Method, 0, ""}, + {"DefaultRemoteAddr", Const, 0, ""}, + {"NewRecorder", Func, 0, "func() *ResponseRecorder"}, + {"NewRequest", Func, 7, "func(method string, target string, body io.Reader) *http.Request"}, + {"NewRequestWithContext", Func, 23, "func(ctx context.Context, method string, target string, body io.Reader) *http.Request"}, + {"NewServer", Func, 0, "func(handler http.Handler) *Server"}, + {"NewTLSServer", Func, 0, "func(handler http.Handler) *Server"}, + {"NewUnstartedServer", Func, 0, "func(handler http.Handler) *Server"}, + {"ResponseRecorder", Type, 0, ""}, + {"ResponseRecorder.Body", Field, 0, ""}, + {"ResponseRecorder.Code", Field, 0, ""}, + {"ResponseRecorder.Flushed", Field, 0, ""}, + {"ResponseRecorder.HeaderMap", Field, 0, ""}, + {"Server", Type, 0, ""}, + {"Server.Config", Field, 0, ""}, + {"Server.EnableHTTP2", Field, 14, ""}, + {"Server.Listener", Field, 0, ""}, + {"Server.TLS", Field, 0, ""}, + {"Server.URL", Field, 0, ""}, }, "net/http/httptrace": { - {"ClientTrace", Type, 7}, - {"ClientTrace.ConnectDone", Field, 7}, - {"ClientTrace.ConnectStart", Field, 7}, - {"ClientTrace.DNSDone", Field, 7}, - {"ClientTrace.DNSStart", Field, 7}, - {"ClientTrace.GetConn", Field, 7}, - {"ClientTrace.Got100Continue", Field, 7}, - {"ClientTrace.Got1xxResponse", Field, 11}, - {"ClientTrace.GotConn", Field, 7}, - {"ClientTrace.GotFirstResponseByte", Field, 7}, - {"ClientTrace.PutIdleConn", Field, 7}, - {"ClientTrace.TLSHandshakeDone", Field, 8}, - {"ClientTrace.TLSHandshakeStart", Field, 8}, - {"ClientTrace.Wait100Continue", Field, 7}, - {"ClientTrace.WroteHeaderField", Field, 11}, - {"ClientTrace.WroteHeaders", Field, 7}, - {"ClientTrace.WroteRequest", Field, 7}, - {"ContextClientTrace", Func, 7}, - {"DNSDoneInfo", Type, 7}, - {"DNSDoneInfo.Addrs", Field, 7}, - {"DNSDoneInfo.Coalesced", Field, 7}, - {"DNSDoneInfo.Err", Field, 7}, - {"DNSStartInfo", Type, 7}, - {"DNSStartInfo.Host", Field, 7}, - {"GotConnInfo", Type, 7}, - {"GotConnInfo.Conn", Field, 7}, - {"GotConnInfo.IdleTime", Field, 7}, - {"GotConnInfo.Reused", Field, 7}, - {"GotConnInfo.WasIdle", Field, 7}, - {"WithClientTrace", Func, 7}, - {"WroteRequestInfo", Type, 7}, - {"WroteRequestInfo.Err", Field, 7}, + {"ClientTrace", Type, 7, ""}, + {"ClientTrace.ConnectDone", Field, 7, ""}, + {"ClientTrace.ConnectStart", Field, 7, ""}, + {"ClientTrace.DNSDone", Field, 7, ""}, + {"ClientTrace.DNSStart", Field, 7, ""}, + {"ClientTrace.GetConn", Field, 7, ""}, + {"ClientTrace.Got100Continue", Field, 7, ""}, + {"ClientTrace.Got1xxResponse", Field, 11, ""}, + {"ClientTrace.GotConn", Field, 7, ""}, + {"ClientTrace.GotFirstResponseByte", Field, 7, ""}, + {"ClientTrace.PutIdleConn", Field, 7, ""}, + {"ClientTrace.TLSHandshakeDone", Field, 8, ""}, + {"ClientTrace.TLSHandshakeStart", Field, 8, ""}, + {"ClientTrace.Wait100Continue", Field, 7, ""}, + {"ClientTrace.WroteHeaderField", Field, 11, ""}, + {"ClientTrace.WroteHeaders", Field, 7, ""}, + {"ClientTrace.WroteRequest", Field, 7, ""}, + {"ContextClientTrace", Func, 7, "func(ctx context.Context) *ClientTrace"}, + {"DNSDoneInfo", Type, 7, ""}, + {"DNSDoneInfo.Addrs", Field, 7, ""}, + {"DNSDoneInfo.Coalesced", Field, 7, ""}, + {"DNSDoneInfo.Err", Field, 7, ""}, + {"DNSStartInfo", Type, 7, ""}, + {"DNSStartInfo.Host", Field, 7, ""}, + {"GotConnInfo", Type, 7, ""}, + {"GotConnInfo.Conn", Field, 7, ""}, + {"GotConnInfo.IdleTime", Field, 7, ""}, + {"GotConnInfo.Reused", Field, 7, ""}, + {"GotConnInfo.WasIdle", Field, 7, ""}, + {"WithClientTrace", Func, 7, "func(ctx context.Context, trace *ClientTrace) context.Context"}, + {"WroteRequestInfo", Type, 7, ""}, + {"WroteRequestInfo.Err", Field, 7, ""}, }, "net/http/httputil": { - {"(*ClientConn).Close", Method, 0}, - {"(*ClientConn).Do", Method, 0}, - {"(*ClientConn).Hijack", Method, 0}, - {"(*ClientConn).Pending", Method, 0}, - {"(*ClientConn).Read", Method, 0}, - {"(*ClientConn).Write", Method, 0}, - {"(*ProxyRequest).SetURL", Method, 20}, - {"(*ProxyRequest).SetXForwarded", Method, 20}, - {"(*ReverseProxy).ServeHTTP", Method, 0}, - {"(*ServerConn).Close", Method, 0}, - {"(*ServerConn).Hijack", Method, 0}, - {"(*ServerConn).Pending", Method, 0}, - {"(*ServerConn).Read", Method, 0}, - {"(*ServerConn).Write", Method, 0}, - {"BufferPool", Type, 6}, - {"ClientConn", Type, 0}, - {"DumpRequest", Func, 0}, - {"DumpRequestOut", Func, 0}, - {"DumpResponse", Func, 0}, - {"ErrClosed", Var, 0}, - {"ErrLineTooLong", Var, 0}, - {"ErrPersistEOF", Var, 0}, - {"ErrPipeline", Var, 0}, - {"NewChunkedReader", Func, 0}, - {"NewChunkedWriter", Func, 0}, - {"NewClientConn", Func, 0}, - {"NewProxyClientConn", Func, 0}, - {"NewServerConn", Func, 0}, - {"NewSingleHostReverseProxy", Func, 0}, - {"ProxyRequest", Type, 20}, - {"ProxyRequest.In", Field, 20}, - {"ProxyRequest.Out", Field, 20}, - {"ReverseProxy", Type, 0}, - {"ReverseProxy.BufferPool", Field, 6}, - {"ReverseProxy.Director", Field, 0}, - {"ReverseProxy.ErrorHandler", Field, 11}, - {"ReverseProxy.ErrorLog", Field, 4}, - {"ReverseProxy.FlushInterval", Field, 0}, - {"ReverseProxy.ModifyResponse", Field, 8}, - {"ReverseProxy.Rewrite", Field, 20}, - {"ReverseProxy.Transport", Field, 0}, - {"ServerConn", Type, 0}, + {"(*ClientConn).Close", Method, 0, ""}, + {"(*ClientConn).Do", Method, 0, ""}, + {"(*ClientConn).Hijack", Method, 0, ""}, + {"(*ClientConn).Pending", Method, 0, ""}, + {"(*ClientConn).Read", Method, 0, ""}, + {"(*ClientConn).Write", Method, 0, ""}, + {"(*ProxyRequest).SetURL", Method, 20, ""}, + {"(*ProxyRequest).SetXForwarded", Method, 20, ""}, + {"(*ReverseProxy).ServeHTTP", Method, 0, ""}, + {"(*ServerConn).Close", Method, 0, ""}, + {"(*ServerConn).Hijack", Method, 0, ""}, + {"(*ServerConn).Pending", Method, 0, ""}, + {"(*ServerConn).Read", Method, 0, ""}, + {"(*ServerConn).Write", Method, 0, ""}, + {"BufferPool", Type, 6, ""}, + {"ClientConn", Type, 0, ""}, + {"DumpRequest", Func, 0, "func(req *http.Request, body bool) ([]byte, error)"}, + {"DumpRequestOut", Func, 0, "func(req *http.Request, body bool) ([]byte, error)"}, + {"DumpResponse", Func, 0, "func(resp *http.Response, body bool) ([]byte, error)"}, + {"ErrClosed", Var, 0, ""}, + {"ErrLineTooLong", Var, 0, ""}, + {"ErrPersistEOF", Var, 0, ""}, + {"ErrPipeline", Var, 0, ""}, + {"NewChunkedReader", Func, 0, "func(r io.Reader) io.Reader"}, + {"NewChunkedWriter", Func, 0, "func(w io.Writer) io.WriteCloser"}, + {"NewClientConn", Func, 0, "func(c net.Conn, r *bufio.Reader) *ClientConn"}, + {"NewProxyClientConn", Func, 0, "func(c net.Conn, r *bufio.Reader) *ClientConn"}, + {"NewServerConn", Func, 0, "func(c net.Conn, r *bufio.Reader) *ServerConn"}, + {"NewSingleHostReverseProxy", Func, 0, "func(target *url.URL) *ReverseProxy"}, + {"ProxyRequest", Type, 20, ""}, + {"ProxyRequest.In", Field, 20, ""}, + {"ProxyRequest.Out", Field, 20, ""}, + {"ReverseProxy", Type, 0, ""}, + {"ReverseProxy.BufferPool", Field, 6, ""}, + {"ReverseProxy.Director", Field, 0, ""}, + {"ReverseProxy.ErrorHandler", Field, 11, ""}, + {"ReverseProxy.ErrorLog", Field, 4, ""}, + {"ReverseProxy.FlushInterval", Field, 0, ""}, + {"ReverseProxy.ModifyResponse", Field, 8, ""}, + {"ReverseProxy.Rewrite", Field, 20, ""}, + {"ReverseProxy.Transport", Field, 0, ""}, + {"ServerConn", Type, 0, ""}, }, "net/http/pprof": { - {"Cmdline", Func, 0}, - {"Handler", Func, 0}, - {"Index", Func, 0}, - {"Profile", Func, 0}, - {"Symbol", Func, 0}, - {"Trace", Func, 5}, + {"Cmdline", Func, 0, "func(w http.ResponseWriter, r *http.Request)"}, + {"Handler", Func, 0, "func(name string) http.Handler"}, + {"Index", Func, 0, "func(w http.ResponseWriter, r *http.Request)"}, + {"Profile", Func, 0, "func(w http.ResponseWriter, r *http.Request)"}, + {"Symbol", Func, 0, "func(w http.ResponseWriter, r *http.Request)"}, + {"Trace", Func, 5, "func(w http.ResponseWriter, r *http.Request)"}, }, "net/mail": { - {"(*Address).String", Method, 0}, - {"(*AddressParser).Parse", Method, 5}, - {"(*AddressParser).ParseList", Method, 5}, - {"(Header).AddressList", Method, 0}, - {"(Header).Date", Method, 0}, - {"(Header).Get", Method, 0}, - {"Address", Type, 0}, - {"Address.Address", Field, 0}, - {"Address.Name", Field, 0}, - {"AddressParser", Type, 5}, - {"AddressParser.WordDecoder", Field, 5}, - {"ErrHeaderNotPresent", Var, 0}, - {"Header", Type, 0}, - {"Message", Type, 0}, - {"Message.Body", Field, 0}, - {"Message.Header", Field, 0}, - {"ParseAddress", Func, 1}, - {"ParseAddressList", Func, 1}, - {"ParseDate", Func, 8}, - {"ReadMessage", Func, 0}, + {"(*Address).String", Method, 0, ""}, + {"(*AddressParser).Parse", Method, 5, ""}, + {"(*AddressParser).ParseList", Method, 5, ""}, + {"(Header).AddressList", Method, 0, ""}, + {"(Header).Date", Method, 0, ""}, + {"(Header).Get", Method, 0, ""}, + {"Address", Type, 0, ""}, + {"Address.Address", Field, 0, ""}, + {"Address.Name", Field, 0, ""}, + {"AddressParser", Type, 5, ""}, + {"AddressParser.WordDecoder", Field, 5, ""}, + {"ErrHeaderNotPresent", Var, 0, ""}, + {"Header", Type, 0, ""}, + {"Message", Type, 0, ""}, + {"Message.Body", Field, 0, ""}, + {"Message.Header", Field, 0, ""}, + {"ParseAddress", Func, 1, "func(address string) (*Address, error)"}, + {"ParseAddressList", Func, 1, "func(list string) ([]*Address, error)"}, + {"ParseDate", Func, 8, "func(date string) (time.Time, error)"}, + {"ReadMessage", Func, 0, "func(r io.Reader) (msg *Message, err error)"}, }, "net/netip": { - {"(*Addr).UnmarshalBinary", Method, 18}, - {"(*Addr).UnmarshalText", Method, 18}, - {"(*AddrPort).UnmarshalBinary", Method, 18}, - {"(*AddrPort).UnmarshalText", Method, 18}, - {"(*Prefix).UnmarshalBinary", Method, 18}, - {"(*Prefix).UnmarshalText", Method, 18}, - {"(Addr).AppendBinary", Method, 24}, - {"(Addr).AppendText", Method, 24}, - {"(Addr).AppendTo", Method, 18}, - {"(Addr).As16", Method, 18}, - {"(Addr).As4", Method, 18}, - {"(Addr).AsSlice", Method, 18}, - {"(Addr).BitLen", Method, 18}, - {"(Addr).Compare", Method, 18}, - {"(Addr).Is4", Method, 18}, - {"(Addr).Is4In6", Method, 18}, - {"(Addr).Is6", Method, 18}, - {"(Addr).IsGlobalUnicast", Method, 18}, - {"(Addr).IsInterfaceLocalMulticast", Method, 18}, - {"(Addr).IsLinkLocalMulticast", Method, 18}, - {"(Addr).IsLinkLocalUnicast", Method, 18}, - {"(Addr).IsLoopback", Method, 18}, - {"(Addr).IsMulticast", Method, 18}, - {"(Addr).IsPrivate", Method, 18}, - {"(Addr).IsUnspecified", Method, 18}, - {"(Addr).IsValid", Method, 18}, - {"(Addr).Less", Method, 18}, - {"(Addr).MarshalBinary", Method, 18}, - {"(Addr).MarshalText", Method, 18}, - {"(Addr).Next", Method, 18}, - {"(Addr).Prefix", Method, 18}, - {"(Addr).Prev", Method, 18}, - {"(Addr).String", Method, 18}, - {"(Addr).StringExpanded", Method, 18}, - {"(Addr).Unmap", Method, 18}, - {"(Addr).WithZone", Method, 18}, - {"(Addr).Zone", Method, 18}, - {"(AddrPort).Addr", Method, 18}, - {"(AddrPort).AppendBinary", Method, 24}, - {"(AddrPort).AppendText", Method, 24}, - {"(AddrPort).AppendTo", Method, 18}, - {"(AddrPort).Compare", Method, 22}, - {"(AddrPort).IsValid", Method, 18}, - {"(AddrPort).MarshalBinary", Method, 18}, - {"(AddrPort).MarshalText", Method, 18}, - {"(AddrPort).Port", Method, 18}, - {"(AddrPort).String", Method, 18}, - {"(Prefix).Addr", Method, 18}, - {"(Prefix).AppendBinary", Method, 24}, - {"(Prefix).AppendText", Method, 24}, - {"(Prefix).AppendTo", Method, 18}, - {"(Prefix).Bits", Method, 18}, - {"(Prefix).Contains", Method, 18}, - {"(Prefix).IsSingleIP", Method, 18}, - {"(Prefix).IsValid", Method, 18}, - {"(Prefix).MarshalBinary", Method, 18}, - {"(Prefix).MarshalText", Method, 18}, - {"(Prefix).Masked", Method, 18}, - {"(Prefix).Overlaps", Method, 18}, - {"(Prefix).String", Method, 18}, - {"Addr", Type, 18}, - {"AddrFrom16", Func, 18}, - {"AddrFrom4", Func, 18}, - {"AddrFromSlice", Func, 18}, - {"AddrPort", Type, 18}, - {"AddrPortFrom", Func, 18}, - {"IPv4Unspecified", Func, 18}, - {"IPv6LinkLocalAllNodes", Func, 18}, - {"IPv6LinkLocalAllRouters", Func, 20}, - {"IPv6Loopback", Func, 20}, - {"IPv6Unspecified", Func, 18}, - {"MustParseAddr", Func, 18}, - {"MustParseAddrPort", Func, 18}, - {"MustParsePrefix", Func, 18}, - {"ParseAddr", Func, 18}, - {"ParseAddrPort", Func, 18}, - {"ParsePrefix", Func, 18}, - {"Prefix", Type, 18}, - {"PrefixFrom", Func, 18}, + {"(*Addr).UnmarshalBinary", Method, 18, ""}, + {"(*Addr).UnmarshalText", Method, 18, ""}, + {"(*AddrPort).UnmarshalBinary", Method, 18, ""}, + {"(*AddrPort).UnmarshalText", Method, 18, ""}, + {"(*Prefix).UnmarshalBinary", Method, 18, ""}, + {"(*Prefix).UnmarshalText", Method, 18, ""}, + {"(Addr).AppendBinary", Method, 24, ""}, + {"(Addr).AppendText", Method, 24, ""}, + {"(Addr).AppendTo", Method, 18, ""}, + {"(Addr).As16", Method, 18, ""}, + {"(Addr).As4", Method, 18, ""}, + {"(Addr).AsSlice", Method, 18, ""}, + {"(Addr).BitLen", Method, 18, ""}, + {"(Addr).Compare", Method, 18, ""}, + {"(Addr).Is4", Method, 18, ""}, + {"(Addr).Is4In6", Method, 18, ""}, + {"(Addr).Is6", Method, 18, ""}, + {"(Addr).IsGlobalUnicast", Method, 18, ""}, + {"(Addr).IsInterfaceLocalMulticast", Method, 18, ""}, + {"(Addr).IsLinkLocalMulticast", Method, 18, ""}, + {"(Addr).IsLinkLocalUnicast", Method, 18, ""}, + {"(Addr).IsLoopback", Method, 18, ""}, + {"(Addr).IsMulticast", Method, 18, ""}, + {"(Addr).IsPrivate", Method, 18, ""}, + {"(Addr).IsUnspecified", Method, 18, ""}, + {"(Addr).IsValid", Method, 18, ""}, + {"(Addr).Less", Method, 18, ""}, + {"(Addr).MarshalBinary", Method, 18, ""}, + {"(Addr).MarshalText", Method, 18, ""}, + {"(Addr).Next", Method, 18, ""}, + {"(Addr).Prefix", Method, 18, ""}, + {"(Addr).Prev", Method, 18, ""}, + {"(Addr).String", Method, 18, ""}, + {"(Addr).StringExpanded", Method, 18, ""}, + {"(Addr).Unmap", Method, 18, ""}, + {"(Addr).WithZone", Method, 18, ""}, + {"(Addr).Zone", Method, 18, ""}, + {"(AddrPort).Addr", Method, 18, ""}, + {"(AddrPort).AppendBinary", Method, 24, ""}, + {"(AddrPort).AppendText", Method, 24, ""}, + {"(AddrPort).AppendTo", Method, 18, ""}, + {"(AddrPort).Compare", Method, 22, ""}, + {"(AddrPort).IsValid", Method, 18, ""}, + {"(AddrPort).MarshalBinary", Method, 18, ""}, + {"(AddrPort).MarshalText", Method, 18, ""}, + {"(AddrPort).Port", Method, 18, ""}, + {"(AddrPort).String", Method, 18, ""}, + {"(Prefix).Addr", Method, 18, ""}, + {"(Prefix).AppendBinary", Method, 24, ""}, + {"(Prefix).AppendText", Method, 24, ""}, + {"(Prefix).AppendTo", Method, 18, ""}, + {"(Prefix).Bits", Method, 18, ""}, + {"(Prefix).Contains", Method, 18, ""}, + {"(Prefix).IsSingleIP", Method, 18, ""}, + {"(Prefix).IsValid", Method, 18, ""}, + {"(Prefix).MarshalBinary", Method, 18, ""}, + {"(Prefix).MarshalText", Method, 18, ""}, + {"(Prefix).Masked", Method, 18, ""}, + {"(Prefix).Overlaps", Method, 18, ""}, + {"(Prefix).String", Method, 18, ""}, + {"Addr", Type, 18, ""}, + {"AddrFrom16", Func, 18, "func(addr [16]byte) Addr"}, + {"AddrFrom4", Func, 18, "func(addr [4]byte) Addr"}, + {"AddrFromSlice", Func, 18, "func(slice []byte) (ip Addr, ok bool)"}, + {"AddrPort", Type, 18, ""}, + {"AddrPortFrom", Func, 18, "func(ip Addr, port uint16) AddrPort"}, + {"IPv4Unspecified", Func, 18, "func() Addr"}, + {"IPv6LinkLocalAllNodes", Func, 18, "func() Addr"}, + {"IPv6LinkLocalAllRouters", Func, 20, "func() Addr"}, + {"IPv6Loopback", Func, 20, "func() Addr"}, + {"IPv6Unspecified", Func, 18, "func() Addr"}, + {"MustParseAddr", Func, 18, "func(s string) Addr"}, + {"MustParseAddrPort", Func, 18, "func(s string) AddrPort"}, + {"MustParsePrefix", Func, 18, "func(s string) Prefix"}, + {"ParseAddr", Func, 18, "func(s string) (Addr, error)"}, + {"ParseAddrPort", Func, 18, "func(s string) (AddrPort, error)"}, + {"ParsePrefix", Func, 18, "func(s string) (Prefix, error)"}, + {"Prefix", Type, 18, ""}, + {"PrefixFrom", Func, 18, "func(ip Addr, bits int) Prefix"}, }, "net/rpc": { - {"(*Client).Call", Method, 0}, - {"(*Client).Close", Method, 0}, - {"(*Client).Go", Method, 0}, - {"(*Server).Accept", Method, 0}, - {"(*Server).HandleHTTP", Method, 0}, - {"(*Server).Register", Method, 0}, - {"(*Server).RegisterName", Method, 0}, - {"(*Server).ServeCodec", Method, 0}, - {"(*Server).ServeConn", Method, 0}, - {"(*Server).ServeHTTP", Method, 0}, - {"(*Server).ServeRequest", Method, 0}, - {"(ServerError).Error", Method, 0}, - {"Accept", Func, 0}, - {"Call", Type, 0}, - {"Call.Args", Field, 0}, - {"Call.Done", Field, 0}, - {"Call.Error", Field, 0}, - {"Call.Reply", Field, 0}, - {"Call.ServiceMethod", Field, 0}, - {"Client", Type, 0}, - {"ClientCodec", Type, 0}, - {"DefaultDebugPath", Const, 0}, - {"DefaultRPCPath", Const, 0}, - {"DefaultServer", Var, 0}, - {"Dial", Func, 0}, - {"DialHTTP", Func, 0}, - {"DialHTTPPath", Func, 0}, - {"ErrShutdown", Var, 0}, - {"HandleHTTP", Func, 0}, - {"NewClient", Func, 0}, - {"NewClientWithCodec", Func, 0}, - {"NewServer", Func, 0}, - {"Register", Func, 0}, - {"RegisterName", Func, 0}, - {"Request", Type, 0}, - {"Request.Seq", Field, 0}, - {"Request.ServiceMethod", Field, 0}, - {"Response", Type, 0}, - {"Response.Error", Field, 0}, - {"Response.Seq", Field, 0}, - {"Response.ServiceMethod", Field, 0}, - {"ServeCodec", Func, 0}, - {"ServeConn", Func, 0}, - {"ServeRequest", Func, 0}, - {"Server", Type, 0}, - {"ServerCodec", Type, 0}, - {"ServerError", Type, 0}, + {"(*Client).Call", Method, 0, ""}, + {"(*Client).Close", Method, 0, ""}, + {"(*Client).Go", Method, 0, ""}, + {"(*Server).Accept", Method, 0, ""}, + {"(*Server).HandleHTTP", Method, 0, ""}, + {"(*Server).Register", Method, 0, ""}, + {"(*Server).RegisterName", Method, 0, ""}, + {"(*Server).ServeCodec", Method, 0, ""}, + {"(*Server).ServeConn", Method, 0, ""}, + {"(*Server).ServeHTTP", Method, 0, ""}, + {"(*Server).ServeRequest", Method, 0, ""}, + {"(ServerError).Error", Method, 0, ""}, + {"Accept", Func, 0, "func(lis net.Listener)"}, + {"Call", Type, 0, ""}, + {"Call.Args", Field, 0, ""}, + {"Call.Done", Field, 0, ""}, + {"Call.Error", Field, 0, ""}, + {"Call.Reply", Field, 0, ""}, + {"Call.ServiceMethod", Field, 0, ""}, + {"Client", Type, 0, ""}, + {"ClientCodec", Type, 0, ""}, + {"DefaultDebugPath", Const, 0, ""}, + {"DefaultRPCPath", Const, 0, ""}, + {"DefaultServer", Var, 0, ""}, + {"Dial", Func, 0, "func(network string, address string) (*Client, error)"}, + {"DialHTTP", Func, 0, "func(network string, address string) (*Client, error)"}, + {"DialHTTPPath", Func, 0, "func(network string, address string, path string) (*Client, error)"}, + {"ErrShutdown", Var, 0, ""}, + {"HandleHTTP", Func, 0, "func()"}, + {"NewClient", Func, 0, "func(conn io.ReadWriteCloser) *Client"}, + {"NewClientWithCodec", Func, 0, "func(codec ClientCodec) *Client"}, + {"NewServer", Func, 0, "func() *Server"}, + {"Register", Func, 0, "func(rcvr any) error"}, + {"RegisterName", Func, 0, "func(name string, rcvr any) error"}, + {"Request", Type, 0, ""}, + {"Request.Seq", Field, 0, ""}, + {"Request.ServiceMethod", Field, 0, ""}, + {"Response", Type, 0, ""}, + {"Response.Error", Field, 0, ""}, + {"Response.Seq", Field, 0, ""}, + {"Response.ServiceMethod", Field, 0, ""}, + {"ServeCodec", Func, 0, "func(codec ServerCodec)"}, + {"ServeConn", Func, 0, "func(conn io.ReadWriteCloser)"}, + {"ServeRequest", Func, 0, "func(codec ServerCodec) error"}, + {"Server", Type, 0, ""}, + {"ServerCodec", Type, 0, ""}, + {"ServerError", Type, 0, ""}, }, "net/rpc/jsonrpc": { - {"Dial", Func, 0}, - {"NewClient", Func, 0}, - {"NewClientCodec", Func, 0}, - {"NewServerCodec", Func, 0}, - {"ServeConn", Func, 0}, + {"Dial", Func, 0, "func(network string, address string) (*rpc.Client, error)"}, + {"NewClient", Func, 0, "func(conn io.ReadWriteCloser) *rpc.Client"}, + {"NewClientCodec", Func, 0, "func(conn io.ReadWriteCloser) rpc.ClientCodec"}, + {"NewServerCodec", Func, 0, "func(conn io.ReadWriteCloser) rpc.ServerCodec"}, + {"ServeConn", Func, 0, "func(conn io.ReadWriteCloser)"}, }, "net/smtp": { - {"(*Client).Auth", Method, 0}, - {"(*Client).Close", Method, 2}, - {"(*Client).Data", Method, 0}, - {"(*Client).Extension", Method, 0}, - {"(*Client).Hello", Method, 1}, - {"(*Client).Mail", Method, 0}, - {"(*Client).Noop", Method, 10}, - {"(*Client).Quit", Method, 0}, - {"(*Client).Rcpt", Method, 0}, - {"(*Client).Reset", Method, 0}, - {"(*Client).StartTLS", Method, 0}, - {"(*Client).TLSConnectionState", Method, 5}, - {"(*Client).Verify", Method, 0}, - {"Auth", Type, 0}, - {"CRAMMD5Auth", Func, 0}, - {"Client", Type, 0}, - {"Client.Text", Field, 0}, - {"Dial", Func, 0}, - {"NewClient", Func, 0}, - {"PlainAuth", Func, 0}, - {"SendMail", Func, 0}, - {"ServerInfo", Type, 0}, - {"ServerInfo.Auth", Field, 0}, - {"ServerInfo.Name", Field, 0}, - {"ServerInfo.TLS", Field, 0}, + {"(*Client).Auth", Method, 0, ""}, + {"(*Client).Close", Method, 2, ""}, + {"(*Client).Data", Method, 0, ""}, + {"(*Client).Extension", Method, 0, ""}, + {"(*Client).Hello", Method, 1, ""}, + {"(*Client).Mail", Method, 0, ""}, + {"(*Client).Noop", Method, 10, ""}, + {"(*Client).Quit", Method, 0, ""}, + {"(*Client).Rcpt", Method, 0, ""}, + {"(*Client).Reset", Method, 0, ""}, + {"(*Client).StartTLS", Method, 0, ""}, + {"(*Client).TLSConnectionState", Method, 5, ""}, + {"(*Client).Verify", Method, 0, ""}, + {"Auth", Type, 0, ""}, + {"CRAMMD5Auth", Func, 0, "func(username string, secret string) Auth"}, + {"Client", Type, 0, ""}, + {"Client.Text", Field, 0, ""}, + {"Dial", Func, 0, "func(addr string) (*Client, error)"}, + {"NewClient", Func, 0, "func(conn net.Conn, host string) (*Client, error)"}, + {"PlainAuth", Func, 0, "func(identity string, username string, password string, host string) Auth"}, + {"SendMail", Func, 0, "func(addr string, a Auth, from string, to []string, msg []byte) error"}, + {"ServerInfo", Type, 0, ""}, + {"ServerInfo.Auth", Field, 0, ""}, + {"ServerInfo.Name", Field, 0, ""}, + {"ServerInfo.TLS", Field, 0, ""}, }, "net/textproto": { - {"(*Conn).Close", Method, 0}, - {"(*Conn).Cmd", Method, 0}, - {"(*Conn).DotReader", Method, 0}, - {"(*Conn).DotWriter", Method, 0}, - {"(*Conn).EndRequest", Method, 0}, - {"(*Conn).EndResponse", Method, 0}, - {"(*Conn).Next", Method, 0}, - {"(*Conn).PrintfLine", Method, 0}, - {"(*Conn).ReadCodeLine", Method, 0}, - {"(*Conn).ReadContinuedLine", Method, 0}, - {"(*Conn).ReadContinuedLineBytes", Method, 0}, - {"(*Conn).ReadDotBytes", Method, 0}, - {"(*Conn).ReadDotLines", Method, 0}, - {"(*Conn).ReadLine", Method, 0}, - {"(*Conn).ReadLineBytes", Method, 0}, - {"(*Conn).ReadMIMEHeader", Method, 0}, - {"(*Conn).ReadResponse", Method, 0}, - {"(*Conn).StartRequest", Method, 0}, - {"(*Conn).StartResponse", Method, 0}, - {"(*Error).Error", Method, 0}, - {"(*Pipeline).EndRequest", Method, 0}, - {"(*Pipeline).EndResponse", Method, 0}, - {"(*Pipeline).Next", Method, 0}, - {"(*Pipeline).StartRequest", Method, 0}, - {"(*Pipeline).StartResponse", Method, 0}, - {"(*Reader).DotReader", Method, 0}, - {"(*Reader).ReadCodeLine", Method, 0}, - {"(*Reader).ReadContinuedLine", Method, 0}, - {"(*Reader).ReadContinuedLineBytes", Method, 0}, - {"(*Reader).ReadDotBytes", Method, 0}, - {"(*Reader).ReadDotLines", Method, 0}, - {"(*Reader).ReadLine", Method, 0}, - {"(*Reader).ReadLineBytes", Method, 0}, - {"(*Reader).ReadMIMEHeader", Method, 0}, - {"(*Reader).ReadResponse", Method, 0}, - {"(*Writer).DotWriter", Method, 0}, - {"(*Writer).PrintfLine", Method, 0}, - {"(MIMEHeader).Add", Method, 0}, - {"(MIMEHeader).Del", Method, 0}, - {"(MIMEHeader).Get", Method, 0}, - {"(MIMEHeader).Set", Method, 0}, - {"(MIMEHeader).Values", Method, 14}, - {"(ProtocolError).Error", Method, 0}, - {"CanonicalMIMEHeaderKey", Func, 0}, - {"Conn", Type, 0}, - {"Conn.Pipeline", Field, 0}, - {"Conn.Reader", Field, 0}, - {"Conn.Writer", Field, 0}, - {"Dial", Func, 0}, - {"Error", Type, 0}, - {"Error.Code", Field, 0}, - {"Error.Msg", Field, 0}, - {"MIMEHeader", Type, 0}, - {"NewConn", Func, 0}, - {"NewReader", Func, 0}, - {"NewWriter", Func, 0}, - {"Pipeline", Type, 0}, - {"ProtocolError", Type, 0}, - {"Reader", Type, 0}, - {"Reader.R", Field, 0}, - {"TrimBytes", Func, 1}, - {"TrimString", Func, 1}, - {"Writer", Type, 0}, - {"Writer.W", Field, 0}, + {"(*Conn).Close", Method, 0, ""}, + {"(*Conn).Cmd", Method, 0, ""}, + {"(*Conn).DotReader", Method, 0, ""}, + {"(*Conn).DotWriter", Method, 0, ""}, + {"(*Conn).EndRequest", Method, 0, ""}, + {"(*Conn).EndResponse", Method, 0, ""}, + {"(*Conn).Next", Method, 0, ""}, + {"(*Conn).PrintfLine", Method, 0, ""}, + {"(*Conn).ReadCodeLine", Method, 0, ""}, + {"(*Conn).ReadContinuedLine", Method, 0, ""}, + {"(*Conn).ReadContinuedLineBytes", Method, 0, ""}, + {"(*Conn).ReadDotBytes", Method, 0, ""}, + {"(*Conn).ReadDotLines", Method, 0, ""}, + {"(*Conn).ReadLine", Method, 0, ""}, + {"(*Conn).ReadLineBytes", Method, 0, ""}, + {"(*Conn).ReadMIMEHeader", Method, 0, ""}, + {"(*Conn).ReadResponse", Method, 0, ""}, + {"(*Conn).StartRequest", Method, 0, ""}, + {"(*Conn).StartResponse", Method, 0, ""}, + {"(*Error).Error", Method, 0, ""}, + {"(*Pipeline).EndRequest", Method, 0, ""}, + {"(*Pipeline).EndResponse", Method, 0, ""}, + {"(*Pipeline).Next", Method, 0, ""}, + {"(*Pipeline).StartRequest", Method, 0, ""}, + {"(*Pipeline).StartResponse", Method, 0, ""}, + {"(*Reader).DotReader", Method, 0, ""}, + {"(*Reader).ReadCodeLine", Method, 0, ""}, + {"(*Reader).ReadContinuedLine", Method, 0, ""}, + {"(*Reader).ReadContinuedLineBytes", Method, 0, ""}, + {"(*Reader).ReadDotBytes", Method, 0, ""}, + {"(*Reader).ReadDotLines", Method, 0, ""}, + {"(*Reader).ReadLine", Method, 0, ""}, + {"(*Reader).ReadLineBytes", Method, 0, ""}, + {"(*Reader).ReadMIMEHeader", Method, 0, ""}, + {"(*Reader).ReadResponse", Method, 0, ""}, + {"(*Writer).DotWriter", Method, 0, ""}, + {"(*Writer).PrintfLine", Method, 0, ""}, + {"(MIMEHeader).Add", Method, 0, ""}, + {"(MIMEHeader).Del", Method, 0, ""}, + {"(MIMEHeader).Get", Method, 0, ""}, + {"(MIMEHeader).Set", Method, 0, ""}, + {"(MIMEHeader).Values", Method, 14, ""}, + {"(ProtocolError).Error", Method, 0, ""}, + {"CanonicalMIMEHeaderKey", Func, 0, "func(s string) string"}, + {"Conn", Type, 0, ""}, + {"Conn.Pipeline", Field, 0, ""}, + {"Conn.Reader", Field, 0, ""}, + {"Conn.Writer", Field, 0, ""}, + {"Dial", Func, 0, "func(network string, addr string) (*Conn, error)"}, + {"Error", Type, 0, ""}, + {"Error.Code", Field, 0, ""}, + {"Error.Msg", Field, 0, ""}, + {"MIMEHeader", Type, 0, ""}, + {"NewConn", Func, 0, "func(conn io.ReadWriteCloser) *Conn"}, + {"NewReader", Func, 0, "func(r *bufio.Reader) *Reader"}, + {"NewWriter", Func, 0, "func(w *bufio.Writer) *Writer"}, + {"Pipeline", Type, 0, ""}, + {"ProtocolError", Type, 0, ""}, + {"Reader", Type, 0, ""}, + {"Reader.R", Field, 0, ""}, + {"TrimBytes", Func, 1, "func(b []byte) []byte"}, + {"TrimString", Func, 1, "func(s string) string"}, + {"Writer", Type, 0, ""}, + {"Writer.W", Field, 0, ""}, }, "net/url": { - {"(*Error).Error", Method, 0}, - {"(*Error).Temporary", Method, 6}, - {"(*Error).Timeout", Method, 6}, - {"(*Error).Unwrap", Method, 13}, - {"(*URL).AppendBinary", Method, 24}, - {"(*URL).EscapedFragment", Method, 15}, - {"(*URL).EscapedPath", Method, 5}, - {"(*URL).Hostname", Method, 8}, - {"(*URL).IsAbs", Method, 0}, - {"(*URL).JoinPath", Method, 19}, - {"(*URL).MarshalBinary", Method, 8}, - {"(*URL).Parse", Method, 0}, - {"(*URL).Port", Method, 8}, - {"(*URL).Query", Method, 0}, - {"(*URL).Redacted", Method, 15}, - {"(*URL).RequestURI", Method, 0}, - {"(*URL).ResolveReference", Method, 0}, - {"(*URL).String", Method, 0}, - {"(*URL).UnmarshalBinary", Method, 8}, - {"(*Userinfo).Password", Method, 0}, - {"(*Userinfo).String", Method, 0}, - {"(*Userinfo).Username", Method, 0}, - {"(EscapeError).Error", Method, 0}, - {"(InvalidHostError).Error", Method, 6}, - {"(Values).Add", Method, 0}, - {"(Values).Del", Method, 0}, - {"(Values).Encode", Method, 0}, - {"(Values).Get", Method, 0}, - {"(Values).Has", Method, 17}, - {"(Values).Set", Method, 0}, - {"Error", Type, 0}, - {"Error.Err", Field, 0}, - {"Error.Op", Field, 0}, - {"Error.URL", Field, 0}, - {"EscapeError", Type, 0}, - {"InvalidHostError", Type, 6}, - {"JoinPath", Func, 19}, - {"Parse", Func, 0}, - {"ParseQuery", Func, 0}, - {"ParseRequestURI", Func, 0}, - {"PathEscape", Func, 8}, - {"PathUnescape", Func, 8}, - {"QueryEscape", Func, 0}, - {"QueryUnescape", Func, 0}, - {"URL", Type, 0}, - {"URL.ForceQuery", Field, 7}, - {"URL.Fragment", Field, 0}, - {"URL.Host", Field, 0}, - {"URL.OmitHost", Field, 19}, - {"URL.Opaque", Field, 0}, - {"URL.Path", Field, 0}, - {"URL.RawFragment", Field, 15}, - {"URL.RawPath", Field, 5}, - {"URL.RawQuery", Field, 0}, - {"URL.Scheme", Field, 0}, - {"URL.User", Field, 0}, - {"User", Func, 0}, - {"UserPassword", Func, 0}, - {"Userinfo", Type, 0}, - {"Values", Type, 0}, + {"(*Error).Error", Method, 0, ""}, + {"(*Error).Temporary", Method, 6, ""}, + {"(*Error).Timeout", Method, 6, ""}, + {"(*Error).Unwrap", Method, 13, ""}, + {"(*URL).AppendBinary", Method, 24, ""}, + {"(*URL).EscapedFragment", Method, 15, ""}, + {"(*URL).EscapedPath", Method, 5, ""}, + {"(*URL).Hostname", Method, 8, ""}, + {"(*URL).IsAbs", Method, 0, ""}, + {"(*URL).JoinPath", Method, 19, ""}, + {"(*URL).MarshalBinary", Method, 8, ""}, + {"(*URL).Parse", Method, 0, ""}, + {"(*URL).Port", Method, 8, ""}, + {"(*URL).Query", Method, 0, ""}, + {"(*URL).Redacted", Method, 15, ""}, + {"(*URL).RequestURI", Method, 0, ""}, + {"(*URL).ResolveReference", Method, 0, ""}, + {"(*URL).String", Method, 0, ""}, + {"(*URL).UnmarshalBinary", Method, 8, ""}, + {"(*Userinfo).Password", Method, 0, ""}, + {"(*Userinfo).String", Method, 0, ""}, + {"(*Userinfo).Username", Method, 0, ""}, + {"(EscapeError).Error", Method, 0, ""}, + {"(InvalidHostError).Error", Method, 6, ""}, + {"(Values).Add", Method, 0, ""}, + {"(Values).Del", Method, 0, ""}, + {"(Values).Encode", Method, 0, ""}, + {"(Values).Get", Method, 0, ""}, + {"(Values).Has", Method, 17, ""}, + {"(Values).Set", Method, 0, ""}, + {"Error", Type, 0, ""}, + {"Error.Err", Field, 0, ""}, + {"Error.Op", Field, 0, ""}, + {"Error.URL", Field, 0, ""}, + {"EscapeError", Type, 0, ""}, + {"InvalidHostError", Type, 6, ""}, + {"JoinPath", Func, 19, "func(base string, elem ...string) (result string, err error)"}, + {"Parse", Func, 0, "func(rawURL string) (*URL, error)"}, + {"ParseQuery", Func, 0, "func(query string) (Values, error)"}, + {"ParseRequestURI", Func, 0, "func(rawURL string) (*URL, error)"}, + {"PathEscape", Func, 8, "func(s string) string"}, + {"PathUnescape", Func, 8, "func(s string) (string, error)"}, + {"QueryEscape", Func, 0, "func(s string) string"}, + {"QueryUnescape", Func, 0, "func(s string) (string, error)"}, + {"URL", Type, 0, ""}, + {"URL.ForceQuery", Field, 7, ""}, + {"URL.Fragment", Field, 0, ""}, + {"URL.Host", Field, 0, ""}, + {"URL.OmitHost", Field, 19, ""}, + {"URL.Opaque", Field, 0, ""}, + {"URL.Path", Field, 0, ""}, + {"URL.RawFragment", Field, 15, ""}, + {"URL.RawPath", Field, 5, ""}, + {"URL.RawQuery", Field, 0, ""}, + {"URL.Scheme", Field, 0, ""}, + {"URL.User", Field, 0, ""}, + {"User", Func, 0, "func(username string) *Userinfo"}, + {"UserPassword", Func, 0, "func(username string, password string) *Userinfo"}, + {"Userinfo", Type, 0, ""}, + {"Values", Type, 0, ""}, }, "os": { - {"(*File).Chdir", Method, 0}, - {"(*File).Chmod", Method, 0}, - {"(*File).Chown", Method, 0}, - {"(*File).Close", Method, 0}, - {"(*File).Fd", Method, 0}, - {"(*File).Name", Method, 0}, - {"(*File).Read", Method, 0}, - {"(*File).ReadAt", Method, 0}, - {"(*File).ReadDir", Method, 16}, - {"(*File).ReadFrom", Method, 15}, - {"(*File).Readdir", Method, 0}, - {"(*File).Readdirnames", Method, 0}, - {"(*File).Seek", Method, 0}, - {"(*File).SetDeadline", Method, 10}, - {"(*File).SetReadDeadline", Method, 10}, - {"(*File).SetWriteDeadline", Method, 10}, - {"(*File).Stat", Method, 0}, - {"(*File).Sync", Method, 0}, - {"(*File).SyscallConn", Method, 12}, - {"(*File).Truncate", Method, 0}, - {"(*File).Write", Method, 0}, - {"(*File).WriteAt", Method, 0}, - {"(*File).WriteString", Method, 0}, - {"(*File).WriteTo", Method, 22}, - {"(*LinkError).Error", Method, 0}, - {"(*LinkError).Unwrap", Method, 13}, - {"(*PathError).Error", Method, 0}, - {"(*PathError).Timeout", Method, 10}, - {"(*PathError).Unwrap", Method, 13}, - {"(*Process).Kill", Method, 0}, - {"(*Process).Release", Method, 0}, - {"(*Process).Signal", Method, 0}, - {"(*Process).Wait", Method, 0}, - {"(*ProcessState).ExitCode", Method, 12}, - {"(*ProcessState).Exited", Method, 0}, - {"(*ProcessState).Pid", Method, 0}, - {"(*ProcessState).String", Method, 0}, - {"(*ProcessState).Success", Method, 0}, - {"(*ProcessState).Sys", Method, 0}, - {"(*ProcessState).SysUsage", Method, 0}, - {"(*ProcessState).SystemTime", Method, 0}, - {"(*ProcessState).UserTime", Method, 0}, - {"(*Root).Close", Method, 24}, - {"(*Root).Create", Method, 24}, - {"(*Root).FS", Method, 24}, - {"(*Root).Lstat", Method, 24}, - {"(*Root).Mkdir", Method, 24}, - {"(*Root).Name", Method, 24}, - {"(*Root).Open", Method, 24}, - {"(*Root).OpenFile", Method, 24}, - {"(*Root).OpenRoot", Method, 24}, - {"(*Root).Remove", Method, 24}, - {"(*Root).Stat", Method, 24}, - {"(*SyscallError).Error", Method, 0}, - {"(*SyscallError).Timeout", Method, 10}, - {"(*SyscallError).Unwrap", Method, 13}, - {"(FileMode).IsDir", Method, 0}, - {"(FileMode).IsRegular", Method, 1}, - {"(FileMode).Perm", Method, 0}, - {"(FileMode).String", Method, 0}, - {"Args", Var, 0}, - {"Chdir", Func, 0}, - {"Chmod", Func, 0}, - {"Chown", Func, 0}, - {"Chtimes", Func, 0}, - {"Clearenv", Func, 0}, - {"CopyFS", Func, 23}, - {"Create", Func, 0}, - {"CreateTemp", Func, 16}, - {"DevNull", Const, 0}, - {"DirEntry", Type, 16}, - {"DirFS", Func, 16}, - {"Environ", Func, 0}, - {"ErrClosed", Var, 8}, - {"ErrDeadlineExceeded", Var, 15}, - {"ErrExist", Var, 0}, - {"ErrInvalid", Var, 0}, - {"ErrNoDeadline", Var, 10}, - {"ErrNotExist", Var, 0}, - {"ErrPermission", Var, 0}, - {"ErrProcessDone", Var, 16}, - {"Executable", Func, 8}, - {"Exit", Func, 0}, - {"Expand", Func, 0}, - {"ExpandEnv", Func, 0}, - {"File", Type, 0}, - {"FileInfo", Type, 0}, - {"FileMode", Type, 0}, - {"FindProcess", Func, 0}, - {"Getegid", Func, 0}, - {"Getenv", Func, 0}, - {"Geteuid", Func, 0}, - {"Getgid", Func, 0}, - {"Getgroups", Func, 0}, - {"Getpagesize", Func, 0}, - {"Getpid", Func, 0}, - {"Getppid", Func, 0}, - {"Getuid", Func, 0}, - {"Getwd", Func, 0}, - {"Hostname", Func, 0}, - {"Interrupt", Var, 0}, - {"IsExist", Func, 0}, - {"IsNotExist", Func, 0}, - {"IsPathSeparator", Func, 0}, - {"IsPermission", Func, 0}, - {"IsTimeout", Func, 10}, - {"Kill", Var, 0}, - {"Lchown", Func, 0}, - {"Link", Func, 0}, - {"LinkError", Type, 0}, - {"LinkError.Err", Field, 0}, - {"LinkError.New", Field, 0}, - {"LinkError.Old", Field, 0}, - {"LinkError.Op", Field, 0}, - {"LookupEnv", Func, 5}, - {"Lstat", Func, 0}, - {"Mkdir", Func, 0}, - {"MkdirAll", Func, 0}, - {"MkdirTemp", Func, 16}, - {"ModeAppend", Const, 0}, - {"ModeCharDevice", Const, 0}, - {"ModeDevice", Const, 0}, - {"ModeDir", Const, 0}, - {"ModeExclusive", Const, 0}, - {"ModeIrregular", Const, 11}, - {"ModeNamedPipe", Const, 0}, - {"ModePerm", Const, 0}, - {"ModeSetgid", Const, 0}, - {"ModeSetuid", Const, 0}, - {"ModeSocket", Const, 0}, - {"ModeSticky", Const, 0}, - {"ModeSymlink", Const, 0}, - {"ModeTemporary", Const, 0}, - {"ModeType", Const, 0}, - {"NewFile", Func, 0}, - {"NewSyscallError", Func, 0}, - {"O_APPEND", Const, 0}, - {"O_CREATE", Const, 0}, - {"O_EXCL", Const, 0}, - {"O_RDONLY", Const, 0}, - {"O_RDWR", Const, 0}, - {"O_SYNC", Const, 0}, - {"O_TRUNC", Const, 0}, - {"O_WRONLY", Const, 0}, - {"Open", Func, 0}, - {"OpenFile", Func, 0}, - {"OpenInRoot", Func, 24}, - {"OpenRoot", Func, 24}, - {"PathError", Type, 0}, - {"PathError.Err", Field, 0}, - {"PathError.Op", Field, 0}, - {"PathError.Path", Field, 0}, - {"PathListSeparator", Const, 0}, - {"PathSeparator", Const, 0}, - {"Pipe", Func, 0}, - {"ProcAttr", Type, 0}, - {"ProcAttr.Dir", Field, 0}, - {"ProcAttr.Env", Field, 0}, - {"ProcAttr.Files", Field, 0}, - {"ProcAttr.Sys", Field, 0}, - {"Process", Type, 0}, - {"Process.Pid", Field, 0}, - {"ProcessState", Type, 0}, - {"ReadDir", Func, 16}, - {"ReadFile", Func, 16}, - {"Readlink", Func, 0}, - {"Remove", Func, 0}, - {"RemoveAll", Func, 0}, - {"Rename", Func, 0}, - {"Root", Type, 24}, - {"SEEK_CUR", Const, 0}, - {"SEEK_END", Const, 0}, - {"SEEK_SET", Const, 0}, - {"SameFile", Func, 0}, - {"Setenv", Func, 0}, - {"Signal", Type, 0}, - {"StartProcess", Func, 0}, - {"Stat", Func, 0}, - {"Stderr", Var, 0}, - {"Stdin", Var, 0}, - {"Stdout", Var, 0}, - {"Symlink", Func, 0}, - {"SyscallError", Type, 0}, - {"SyscallError.Err", Field, 0}, - {"SyscallError.Syscall", Field, 0}, - {"TempDir", Func, 0}, - {"Truncate", Func, 0}, - {"Unsetenv", Func, 4}, - {"UserCacheDir", Func, 11}, - {"UserConfigDir", Func, 13}, - {"UserHomeDir", Func, 12}, - {"WriteFile", Func, 16}, + {"(*File).Chdir", Method, 0, ""}, + {"(*File).Chmod", Method, 0, ""}, + {"(*File).Chown", Method, 0, ""}, + {"(*File).Close", Method, 0, ""}, + {"(*File).Fd", Method, 0, ""}, + {"(*File).Name", Method, 0, ""}, + {"(*File).Read", Method, 0, ""}, + {"(*File).ReadAt", Method, 0, ""}, + {"(*File).ReadDir", Method, 16, ""}, + {"(*File).ReadFrom", Method, 15, ""}, + {"(*File).Readdir", Method, 0, ""}, + {"(*File).Readdirnames", Method, 0, ""}, + {"(*File).Seek", Method, 0, ""}, + {"(*File).SetDeadline", Method, 10, ""}, + {"(*File).SetReadDeadline", Method, 10, ""}, + {"(*File).SetWriteDeadline", Method, 10, ""}, + {"(*File).Stat", Method, 0, ""}, + {"(*File).Sync", Method, 0, ""}, + {"(*File).SyscallConn", Method, 12, ""}, + {"(*File).Truncate", Method, 0, ""}, + {"(*File).Write", Method, 0, ""}, + {"(*File).WriteAt", Method, 0, ""}, + {"(*File).WriteString", Method, 0, ""}, + {"(*File).WriteTo", Method, 22, ""}, + {"(*LinkError).Error", Method, 0, ""}, + {"(*LinkError).Unwrap", Method, 13, ""}, + {"(*PathError).Error", Method, 0, ""}, + {"(*PathError).Timeout", Method, 10, ""}, + {"(*PathError).Unwrap", Method, 13, ""}, + {"(*Process).Kill", Method, 0, ""}, + {"(*Process).Release", Method, 0, ""}, + {"(*Process).Signal", Method, 0, ""}, + {"(*Process).Wait", Method, 0, ""}, + {"(*ProcessState).ExitCode", Method, 12, ""}, + {"(*ProcessState).Exited", Method, 0, ""}, + {"(*ProcessState).Pid", Method, 0, ""}, + {"(*ProcessState).String", Method, 0, ""}, + {"(*ProcessState).Success", Method, 0, ""}, + {"(*ProcessState).Sys", Method, 0, ""}, + {"(*ProcessState).SysUsage", Method, 0, ""}, + {"(*ProcessState).SystemTime", Method, 0, ""}, + {"(*ProcessState).UserTime", Method, 0, ""}, + {"(*Root).Chmod", Method, 25, ""}, + {"(*Root).Chown", Method, 25, ""}, + {"(*Root).Chtimes", Method, 25, ""}, + {"(*Root).Close", Method, 24, ""}, + {"(*Root).Create", Method, 24, ""}, + {"(*Root).FS", Method, 24, ""}, + {"(*Root).Lchown", Method, 25, ""}, + {"(*Root).Link", Method, 25, ""}, + {"(*Root).Lstat", Method, 24, ""}, + {"(*Root).Mkdir", Method, 24, ""}, + {"(*Root).MkdirAll", Method, 25, ""}, + {"(*Root).Name", Method, 24, ""}, + {"(*Root).Open", Method, 24, ""}, + {"(*Root).OpenFile", Method, 24, ""}, + {"(*Root).OpenRoot", Method, 24, ""}, + {"(*Root).ReadFile", Method, 25, ""}, + {"(*Root).Readlink", Method, 25, ""}, + {"(*Root).Remove", Method, 24, ""}, + {"(*Root).RemoveAll", Method, 25, ""}, + {"(*Root).Rename", Method, 25, ""}, + {"(*Root).Stat", Method, 24, ""}, + {"(*Root).Symlink", Method, 25, ""}, + {"(*Root).WriteFile", Method, 25, ""}, + {"(*SyscallError).Error", Method, 0, ""}, + {"(*SyscallError).Timeout", Method, 10, ""}, + {"(*SyscallError).Unwrap", Method, 13, ""}, + {"(FileMode).IsDir", Method, 0, ""}, + {"(FileMode).IsRegular", Method, 1, ""}, + {"(FileMode).Perm", Method, 0, ""}, + {"(FileMode).String", Method, 0, ""}, + {"Args", Var, 0, ""}, + {"Chdir", Func, 0, "func(dir string) error"}, + {"Chmod", Func, 0, "func(name string, mode FileMode) error"}, + {"Chown", Func, 0, "func(name string, uid int, gid int) error"}, + {"Chtimes", Func, 0, "func(name string, atime time.Time, mtime time.Time) error"}, + {"Clearenv", Func, 0, "func()"}, + {"CopyFS", Func, 23, "func(dir string, fsys fs.FS) error"}, + {"Create", Func, 0, "func(name string) (*File, error)"}, + {"CreateTemp", Func, 16, "func(dir string, pattern string) (*File, error)"}, + {"DevNull", Const, 0, ""}, + {"DirEntry", Type, 16, ""}, + {"DirFS", Func, 16, "func(dir string) fs.FS"}, + {"Environ", Func, 0, "func() []string"}, + {"ErrClosed", Var, 8, ""}, + {"ErrDeadlineExceeded", Var, 15, ""}, + {"ErrExist", Var, 0, ""}, + {"ErrInvalid", Var, 0, ""}, + {"ErrNoDeadline", Var, 10, ""}, + {"ErrNotExist", Var, 0, ""}, + {"ErrPermission", Var, 0, ""}, + {"ErrProcessDone", Var, 16, ""}, + {"Executable", Func, 8, "func() (string, error)"}, + {"Exit", Func, 0, "func(code int)"}, + {"Expand", Func, 0, "func(s string, mapping func(string) string) string"}, + {"ExpandEnv", Func, 0, "func(s string) string"}, + {"File", Type, 0, ""}, + {"FileInfo", Type, 0, ""}, + {"FileMode", Type, 0, ""}, + {"FindProcess", Func, 0, "func(pid int) (*Process, error)"}, + {"Getegid", Func, 0, "func() int"}, + {"Getenv", Func, 0, "func(key string) string"}, + {"Geteuid", Func, 0, "func() int"}, + {"Getgid", Func, 0, "func() int"}, + {"Getgroups", Func, 0, "func() ([]int, error)"}, + {"Getpagesize", Func, 0, "func() int"}, + {"Getpid", Func, 0, "func() int"}, + {"Getppid", Func, 0, "func() int"}, + {"Getuid", Func, 0, "func() int"}, + {"Getwd", Func, 0, "func() (dir string, err error)"}, + {"Hostname", Func, 0, "func() (name string, err error)"}, + {"Interrupt", Var, 0, ""}, + {"IsExist", Func, 0, "func(err error) bool"}, + {"IsNotExist", Func, 0, "func(err error) bool"}, + {"IsPathSeparator", Func, 0, "func(c uint8) bool"}, + {"IsPermission", Func, 0, "func(err error) bool"}, + {"IsTimeout", Func, 10, "func(err error) bool"}, + {"Kill", Var, 0, ""}, + {"Lchown", Func, 0, "func(name string, uid int, gid int) error"}, + {"Link", Func, 0, "func(oldname string, newname string) error"}, + {"LinkError", Type, 0, ""}, + {"LinkError.Err", Field, 0, ""}, + {"LinkError.New", Field, 0, ""}, + {"LinkError.Old", Field, 0, ""}, + {"LinkError.Op", Field, 0, ""}, + {"LookupEnv", Func, 5, "func(key string) (string, bool)"}, + {"Lstat", Func, 0, "func(name string) (FileInfo, error)"}, + {"Mkdir", Func, 0, "func(name string, perm FileMode) error"}, + {"MkdirAll", Func, 0, "func(path string, perm FileMode) error"}, + {"MkdirTemp", Func, 16, "func(dir string, pattern string) (string, error)"}, + {"ModeAppend", Const, 0, ""}, + {"ModeCharDevice", Const, 0, ""}, + {"ModeDevice", Const, 0, ""}, + {"ModeDir", Const, 0, ""}, + {"ModeExclusive", Const, 0, ""}, + {"ModeIrregular", Const, 11, ""}, + {"ModeNamedPipe", Const, 0, ""}, + {"ModePerm", Const, 0, ""}, + {"ModeSetgid", Const, 0, ""}, + {"ModeSetuid", Const, 0, ""}, + {"ModeSocket", Const, 0, ""}, + {"ModeSticky", Const, 0, ""}, + {"ModeSymlink", Const, 0, ""}, + {"ModeTemporary", Const, 0, ""}, + {"ModeType", Const, 0, ""}, + {"NewFile", Func, 0, "func(fd uintptr, name string) *File"}, + {"NewSyscallError", Func, 0, "func(syscall string, err error) error"}, + {"O_APPEND", Const, 0, ""}, + {"O_CREATE", Const, 0, ""}, + {"O_EXCL", Const, 0, ""}, + {"O_RDONLY", Const, 0, ""}, + {"O_RDWR", Const, 0, ""}, + {"O_SYNC", Const, 0, ""}, + {"O_TRUNC", Const, 0, ""}, + {"O_WRONLY", Const, 0, ""}, + {"Open", Func, 0, "func(name string) (*File, error)"}, + {"OpenFile", Func, 0, "func(name string, flag int, perm FileMode) (*File, error)"}, + {"OpenInRoot", Func, 24, "func(dir string, name string) (*File, error)"}, + {"OpenRoot", Func, 24, "func(name string) (*Root, error)"}, + {"PathError", Type, 0, ""}, + {"PathError.Err", Field, 0, ""}, + {"PathError.Op", Field, 0, ""}, + {"PathError.Path", Field, 0, ""}, + {"PathListSeparator", Const, 0, ""}, + {"PathSeparator", Const, 0, ""}, + {"Pipe", Func, 0, "func() (r *File, w *File, err error)"}, + {"ProcAttr", Type, 0, ""}, + {"ProcAttr.Dir", Field, 0, ""}, + {"ProcAttr.Env", Field, 0, ""}, + {"ProcAttr.Files", Field, 0, ""}, + {"ProcAttr.Sys", Field, 0, ""}, + {"Process", Type, 0, ""}, + {"Process.Pid", Field, 0, ""}, + {"ProcessState", Type, 0, ""}, + {"ReadDir", Func, 16, "func(name string) ([]DirEntry, error)"}, + {"ReadFile", Func, 16, "func(name string) ([]byte, error)"}, + {"Readlink", Func, 0, "func(name string) (string, error)"}, + {"Remove", Func, 0, "func(name string) error"}, + {"RemoveAll", Func, 0, "func(path string) error"}, + {"Rename", Func, 0, "func(oldpath string, newpath string) error"}, + {"Root", Type, 24, ""}, + {"SEEK_CUR", Const, 0, ""}, + {"SEEK_END", Const, 0, ""}, + {"SEEK_SET", Const, 0, ""}, + {"SameFile", Func, 0, "func(fi1 FileInfo, fi2 FileInfo) bool"}, + {"Setenv", Func, 0, "func(key string, value string) error"}, + {"Signal", Type, 0, ""}, + {"StartProcess", Func, 0, "func(name string, argv []string, attr *ProcAttr) (*Process, error)"}, + {"Stat", Func, 0, "func(name string) (FileInfo, error)"}, + {"Stderr", Var, 0, ""}, + {"Stdin", Var, 0, ""}, + {"Stdout", Var, 0, ""}, + {"Symlink", Func, 0, "func(oldname string, newname string) error"}, + {"SyscallError", Type, 0, ""}, + {"SyscallError.Err", Field, 0, ""}, + {"SyscallError.Syscall", Field, 0, ""}, + {"TempDir", Func, 0, "func() string"}, + {"Truncate", Func, 0, "func(name string, size int64) error"}, + {"Unsetenv", Func, 4, "func(key string) error"}, + {"UserCacheDir", Func, 11, "func() (string, error)"}, + {"UserConfigDir", Func, 13, "func() (string, error)"}, + {"UserHomeDir", Func, 12, "func() (string, error)"}, + {"WriteFile", Func, 16, "func(name string, data []byte, perm FileMode) error"}, }, "os/exec": { - {"(*Cmd).CombinedOutput", Method, 0}, - {"(*Cmd).Environ", Method, 19}, - {"(*Cmd).Output", Method, 0}, - {"(*Cmd).Run", Method, 0}, - {"(*Cmd).Start", Method, 0}, - {"(*Cmd).StderrPipe", Method, 0}, - {"(*Cmd).StdinPipe", Method, 0}, - {"(*Cmd).StdoutPipe", Method, 0}, - {"(*Cmd).String", Method, 13}, - {"(*Cmd).Wait", Method, 0}, - {"(*Error).Error", Method, 0}, - {"(*Error).Unwrap", Method, 13}, - {"(*ExitError).Error", Method, 0}, - {"(ExitError).ExitCode", Method, 12}, - {"(ExitError).Exited", Method, 0}, - {"(ExitError).Pid", Method, 0}, - {"(ExitError).String", Method, 0}, - {"(ExitError).Success", Method, 0}, - {"(ExitError).Sys", Method, 0}, - {"(ExitError).SysUsage", Method, 0}, - {"(ExitError).SystemTime", Method, 0}, - {"(ExitError).UserTime", Method, 0}, - {"Cmd", Type, 0}, - {"Cmd.Args", Field, 0}, - {"Cmd.Cancel", Field, 20}, - {"Cmd.Dir", Field, 0}, - {"Cmd.Env", Field, 0}, - {"Cmd.Err", Field, 19}, - {"Cmd.ExtraFiles", Field, 0}, - {"Cmd.Path", Field, 0}, - {"Cmd.Process", Field, 0}, - {"Cmd.ProcessState", Field, 0}, - {"Cmd.Stderr", Field, 0}, - {"Cmd.Stdin", Field, 0}, - {"Cmd.Stdout", Field, 0}, - {"Cmd.SysProcAttr", Field, 0}, - {"Cmd.WaitDelay", Field, 20}, - {"Command", Func, 0}, - {"CommandContext", Func, 7}, - {"ErrDot", Var, 19}, - {"ErrNotFound", Var, 0}, - {"ErrWaitDelay", Var, 20}, - {"Error", Type, 0}, - {"Error.Err", Field, 0}, - {"Error.Name", Field, 0}, - {"ExitError", Type, 0}, - {"ExitError.ProcessState", Field, 0}, - {"ExitError.Stderr", Field, 6}, - {"LookPath", Func, 0}, + {"(*Cmd).CombinedOutput", Method, 0, ""}, + {"(*Cmd).Environ", Method, 19, ""}, + {"(*Cmd).Output", Method, 0, ""}, + {"(*Cmd).Run", Method, 0, ""}, + {"(*Cmd).Start", Method, 0, ""}, + {"(*Cmd).StderrPipe", Method, 0, ""}, + {"(*Cmd).StdinPipe", Method, 0, ""}, + {"(*Cmd).StdoutPipe", Method, 0, ""}, + {"(*Cmd).String", Method, 13, ""}, + {"(*Cmd).Wait", Method, 0, ""}, + {"(*Error).Error", Method, 0, ""}, + {"(*Error).Unwrap", Method, 13, ""}, + {"(*ExitError).Error", Method, 0, ""}, + {"(ExitError).ExitCode", Method, 12, ""}, + {"(ExitError).Exited", Method, 0, ""}, + {"(ExitError).Pid", Method, 0, ""}, + {"(ExitError).String", Method, 0, ""}, + {"(ExitError).Success", Method, 0, ""}, + {"(ExitError).Sys", Method, 0, ""}, + {"(ExitError).SysUsage", Method, 0, ""}, + {"(ExitError).SystemTime", Method, 0, ""}, + {"(ExitError).UserTime", Method, 0, ""}, + {"Cmd", Type, 0, ""}, + {"Cmd.Args", Field, 0, ""}, + {"Cmd.Cancel", Field, 20, ""}, + {"Cmd.Dir", Field, 0, ""}, + {"Cmd.Env", Field, 0, ""}, + {"Cmd.Err", Field, 19, ""}, + {"Cmd.ExtraFiles", Field, 0, ""}, + {"Cmd.Path", Field, 0, ""}, + {"Cmd.Process", Field, 0, ""}, + {"Cmd.ProcessState", Field, 0, ""}, + {"Cmd.Stderr", Field, 0, ""}, + {"Cmd.Stdin", Field, 0, ""}, + {"Cmd.Stdout", Field, 0, ""}, + {"Cmd.SysProcAttr", Field, 0, ""}, + {"Cmd.WaitDelay", Field, 20, ""}, + {"Command", Func, 0, "func(name string, arg ...string) *Cmd"}, + {"CommandContext", Func, 7, "func(ctx context.Context, name string, arg ...string) *Cmd"}, + {"ErrDot", Var, 19, ""}, + {"ErrNotFound", Var, 0, ""}, + {"ErrWaitDelay", Var, 20, ""}, + {"Error", Type, 0, ""}, + {"Error.Err", Field, 0, ""}, + {"Error.Name", Field, 0, ""}, + {"ExitError", Type, 0, ""}, + {"ExitError.ProcessState", Field, 0, ""}, + {"ExitError.Stderr", Field, 6, ""}, + {"LookPath", Func, 0, "func(file string) (string, error)"}, }, "os/signal": { - {"Ignore", Func, 5}, - {"Ignored", Func, 11}, - {"Notify", Func, 0}, - {"NotifyContext", Func, 16}, - {"Reset", Func, 5}, - {"Stop", Func, 1}, + {"Ignore", Func, 5, "func(sig ...os.Signal)"}, + {"Ignored", Func, 11, "func(sig os.Signal) bool"}, + {"Notify", Func, 0, "func(c chan<- os.Signal, sig ...os.Signal)"}, + {"NotifyContext", Func, 16, "func(parent context.Context, signals ...os.Signal) (ctx context.Context, stop context.CancelFunc)"}, + {"Reset", Func, 5, "func(sig ...os.Signal)"}, + {"Stop", Func, 1, "func(c chan<- os.Signal)"}, }, "os/user": { - {"(*User).GroupIds", Method, 7}, - {"(UnknownGroupError).Error", Method, 7}, - {"(UnknownGroupIdError).Error", Method, 7}, - {"(UnknownUserError).Error", Method, 0}, - {"(UnknownUserIdError).Error", Method, 0}, - {"Current", Func, 0}, - {"Group", Type, 7}, - {"Group.Gid", Field, 7}, - {"Group.Name", Field, 7}, - {"Lookup", Func, 0}, - {"LookupGroup", Func, 7}, - {"LookupGroupId", Func, 7}, - {"LookupId", Func, 0}, - {"UnknownGroupError", Type, 7}, - {"UnknownGroupIdError", Type, 7}, - {"UnknownUserError", Type, 0}, - {"UnknownUserIdError", Type, 0}, - {"User", Type, 0}, - {"User.Gid", Field, 0}, - {"User.HomeDir", Field, 0}, - {"User.Name", Field, 0}, - {"User.Uid", Field, 0}, - {"User.Username", Field, 0}, + {"(*User).GroupIds", Method, 7, ""}, + {"(UnknownGroupError).Error", Method, 7, ""}, + {"(UnknownGroupIdError).Error", Method, 7, ""}, + {"(UnknownUserError).Error", Method, 0, ""}, + {"(UnknownUserIdError).Error", Method, 0, ""}, + {"Current", Func, 0, "func() (*User, error)"}, + {"Group", Type, 7, ""}, + {"Group.Gid", Field, 7, ""}, + {"Group.Name", Field, 7, ""}, + {"Lookup", Func, 0, "func(username string) (*User, error)"}, + {"LookupGroup", Func, 7, "func(name string) (*Group, error)"}, + {"LookupGroupId", Func, 7, "func(gid string) (*Group, error)"}, + {"LookupId", Func, 0, "func(uid string) (*User, error)"}, + {"UnknownGroupError", Type, 7, ""}, + {"UnknownGroupIdError", Type, 7, ""}, + {"UnknownUserError", Type, 0, ""}, + {"UnknownUserIdError", Type, 0, ""}, + {"User", Type, 0, ""}, + {"User.Gid", Field, 0, ""}, + {"User.HomeDir", Field, 0, ""}, + {"User.Name", Field, 0, ""}, + {"User.Uid", Field, 0, ""}, + {"User.Username", Field, 0, ""}, }, "path": { - {"Base", Func, 0}, - {"Clean", Func, 0}, - {"Dir", Func, 0}, - {"ErrBadPattern", Var, 0}, - {"Ext", Func, 0}, - {"IsAbs", Func, 0}, - {"Join", Func, 0}, - {"Match", Func, 0}, - {"Split", Func, 0}, + {"Base", Func, 0, "func(path string) string"}, + {"Clean", Func, 0, "func(path string) string"}, + {"Dir", Func, 0, "func(path string) string"}, + {"ErrBadPattern", Var, 0, ""}, + {"Ext", Func, 0, "func(path string) string"}, + {"IsAbs", Func, 0, "func(path string) bool"}, + {"Join", Func, 0, "func(elem ...string) string"}, + {"Match", Func, 0, "func(pattern string, name string) (matched bool, err error)"}, + {"Split", Func, 0, "func(path string) (dir string, file string)"}, }, "path/filepath": { - {"Abs", Func, 0}, - {"Base", Func, 0}, - {"Clean", Func, 0}, - {"Dir", Func, 0}, - {"ErrBadPattern", Var, 0}, - {"EvalSymlinks", Func, 0}, - {"Ext", Func, 0}, - {"FromSlash", Func, 0}, - {"Glob", Func, 0}, - {"HasPrefix", Func, 0}, - {"IsAbs", Func, 0}, - {"IsLocal", Func, 20}, - {"Join", Func, 0}, - {"ListSeparator", Const, 0}, - {"Localize", Func, 23}, - {"Match", Func, 0}, - {"Rel", Func, 0}, - {"Separator", Const, 0}, - {"SkipAll", Var, 20}, - {"SkipDir", Var, 0}, - {"Split", Func, 0}, - {"SplitList", Func, 0}, - {"ToSlash", Func, 0}, - {"VolumeName", Func, 0}, - {"Walk", Func, 0}, - {"WalkDir", Func, 16}, - {"WalkFunc", Type, 0}, + {"Abs", Func, 0, "func(path string) (string, error)"}, + {"Base", Func, 0, "func(path string) string"}, + {"Clean", Func, 0, "func(path string) string"}, + {"Dir", Func, 0, "func(path string) string"}, + {"ErrBadPattern", Var, 0, ""}, + {"EvalSymlinks", Func, 0, "func(path string) (string, error)"}, + {"Ext", Func, 0, "func(path string) string"}, + {"FromSlash", Func, 0, "func(path string) string"}, + {"Glob", Func, 0, "func(pattern string) (matches []string, err error)"}, + {"HasPrefix", Func, 0, "func(p string, prefix string) bool"}, + {"IsAbs", Func, 0, "func(path string) bool"}, + {"IsLocal", Func, 20, "func(path string) bool"}, + {"Join", Func, 0, "func(elem ...string) string"}, + {"ListSeparator", Const, 0, ""}, + {"Localize", Func, 23, "func(path string) (string, error)"}, + {"Match", Func, 0, "func(pattern string, name string) (matched bool, err error)"}, + {"Rel", Func, 0, "func(basepath string, targpath string) (string, error)"}, + {"Separator", Const, 0, ""}, + {"SkipAll", Var, 20, ""}, + {"SkipDir", Var, 0, ""}, + {"Split", Func, 0, "func(path string) (dir string, file string)"}, + {"SplitList", Func, 0, "func(path string) []string"}, + {"ToSlash", Func, 0, "func(path string) string"}, + {"VolumeName", Func, 0, "func(path string) string"}, + {"Walk", Func, 0, "func(root string, fn WalkFunc) error"}, + {"WalkDir", Func, 16, "func(root string, fn fs.WalkDirFunc) error"}, + {"WalkFunc", Type, 0, ""}, }, "plugin": { - {"(*Plugin).Lookup", Method, 8}, - {"Open", Func, 8}, - {"Plugin", Type, 8}, - {"Symbol", Type, 8}, + {"(*Plugin).Lookup", Method, 8, ""}, + {"Open", Func, 8, "func(path string) (*Plugin, error)"}, + {"Plugin", Type, 8, ""}, + {"Symbol", Type, 8, ""}, }, "reflect": { - {"(*MapIter).Key", Method, 12}, - {"(*MapIter).Next", Method, 12}, - {"(*MapIter).Reset", Method, 18}, - {"(*MapIter).Value", Method, 12}, - {"(*ValueError).Error", Method, 0}, - {"(ChanDir).String", Method, 0}, - {"(Kind).String", Method, 0}, - {"(Method).IsExported", Method, 17}, - {"(StructField).IsExported", Method, 17}, - {"(StructTag).Get", Method, 0}, - {"(StructTag).Lookup", Method, 7}, - {"(Value).Addr", Method, 0}, - {"(Value).Bool", Method, 0}, - {"(Value).Bytes", Method, 0}, - {"(Value).Call", Method, 0}, - {"(Value).CallSlice", Method, 0}, - {"(Value).CanAddr", Method, 0}, - {"(Value).CanComplex", Method, 18}, - {"(Value).CanConvert", Method, 17}, - {"(Value).CanFloat", Method, 18}, - {"(Value).CanInt", Method, 18}, - {"(Value).CanInterface", Method, 0}, - {"(Value).CanSet", Method, 0}, - {"(Value).CanUint", Method, 18}, - {"(Value).Cap", Method, 0}, - {"(Value).Clear", Method, 21}, - {"(Value).Close", Method, 0}, - {"(Value).Comparable", Method, 20}, - {"(Value).Complex", Method, 0}, - {"(Value).Convert", Method, 1}, - {"(Value).Elem", Method, 0}, - {"(Value).Equal", Method, 20}, - {"(Value).Field", Method, 0}, - {"(Value).FieldByIndex", Method, 0}, - {"(Value).FieldByIndexErr", Method, 18}, - {"(Value).FieldByName", Method, 0}, - {"(Value).FieldByNameFunc", Method, 0}, - {"(Value).Float", Method, 0}, - {"(Value).Grow", Method, 20}, - {"(Value).Index", Method, 0}, - {"(Value).Int", Method, 0}, - {"(Value).Interface", Method, 0}, - {"(Value).InterfaceData", Method, 0}, - {"(Value).IsNil", Method, 0}, - {"(Value).IsValid", Method, 0}, - {"(Value).IsZero", Method, 13}, - {"(Value).Kind", Method, 0}, - {"(Value).Len", Method, 0}, - {"(Value).MapIndex", Method, 0}, - {"(Value).MapKeys", Method, 0}, - {"(Value).MapRange", Method, 12}, - {"(Value).Method", Method, 0}, - {"(Value).MethodByName", Method, 0}, - {"(Value).NumField", Method, 0}, - {"(Value).NumMethod", Method, 0}, - {"(Value).OverflowComplex", Method, 0}, - {"(Value).OverflowFloat", Method, 0}, - {"(Value).OverflowInt", Method, 0}, - {"(Value).OverflowUint", Method, 0}, - {"(Value).Pointer", Method, 0}, - {"(Value).Recv", Method, 0}, - {"(Value).Send", Method, 0}, - {"(Value).Seq", Method, 23}, - {"(Value).Seq2", Method, 23}, - {"(Value).Set", Method, 0}, - {"(Value).SetBool", Method, 0}, - {"(Value).SetBytes", Method, 0}, - {"(Value).SetCap", Method, 2}, - {"(Value).SetComplex", Method, 0}, - {"(Value).SetFloat", Method, 0}, - {"(Value).SetInt", Method, 0}, - {"(Value).SetIterKey", Method, 18}, - {"(Value).SetIterValue", Method, 18}, - {"(Value).SetLen", Method, 0}, - {"(Value).SetMapIndex", Method, 0}, - {"(Value).SetPointer", Method, 0}, - {"(Value).SetString", Method, 0}, - {"(Value).SetUint", Method, 0}, - {"(Value).SetZero", Method, 20}, - {"(Value).Slice", Method, 0}, - {"(Value).Slice3", Method, 2}, - {"(Value).String", Method, 0}, - {"(Value).TryRecv", Method, 0}, - {"(Value).TrySend", Method, 0}, - {"(Value).Type", Method, 0}, - {"(Value).Uint", Method, 0}, - {"(Value).UnsafeAddr", Method, 0}, - {"(Value).UnsafePointer", Method, 18}, - {"Append", Func, 0}, - {"AppendSlice", Func, 0}, - {"Array", Const, 0}, - {"ArrayOf", Func, 5}, - {"Bool", Const, 0}, - {"BothDir", Const, 0}, - {"Chan", Const, 0}, - {"ChanDir", Type, 0}, - {"ChanOf", Func, 1}, - {"Complex128", Const, 0}, - {"Complex64", Const, 0}, - {"Copy", Func, 0}, - {"DeepEqual", Func, 0}, - {"Float32", Const, 0}, - {"Float64", Const, 0}, - {"Func", Const, 0}, - {"FuncOf", Func, 5}, - {"Indirect", Func, 0}, - {"Int", Const, 0}, - {"Int16", Const, 0}, - {"Int32", Const, 0}, - {"Int64", Const, 0}, - {"Int8", Const, 0}, - {"Interface", Const, 0}, - {"Invalid", Const, 0}, - {"Kind", Type, 0}, - {"MakeChan", Func, 0}, - {"MakeFunc", Func, 1}, - {"MakeMap", Func, 0}, - {"MakeMapWithSize", Func, 9}, - {"MakeSlice", Func, 0}, - {"Map", Const, 0}, - {"MapIter", Type, 12}, - {"MapOf", Func, 1}, - {"Method", Type, 0}, - {"Method.Func", Field, 0}, - {"Method.Index", Field, 0}, - {"Method.Name", Field, 0}, - {"Method.PkgPath", Field, 0}, - {"Method.Type", Field, 0}, - {"New", Func, 0}, - {"NewAt", Func, 0}, - {"Pointer", Const, 18}, - {"PointerTo", Func, 18}, - {"Ptr", Const, 0}, - {"PtrTo", Func, 0}, - {"RecvDir", Const, 0}, - {"Select", Func, 1}, - {"SelectCase", Type, 1}, - {"SelectCase.Chan", Field, 1}, - {"SelectCase.Dir", Field, 1}, - {"SelectCase.Send", Field, 1}, - {"SelectDefault", Const, 1}, - {"SelectDir", Type, 1}, - {"SelectRecv", Const, 1}, - {"SelectSend", Const, 1}, - {"SendDir", Const, 0}, - {"Slice", Const, 0}, - {"SliceAt", Func, 23}, - {"SliceHeader", Type, 0}, - {"SliceHeader.Cap", Field, 0}, - {"SliceHeader.Data", Field, 0}, - {"SliceHeader.Len", Field, 0}, - {"SliceOf", Func, 1}, - {"String", Const, 0}, - {"StringHeader", Type, 0}, - {"StringHeader.Data", Field, 0}, - {"StringHeader.Len", Field, 0}, - {"Struct", Const, 0}, - {"StructField", Type, 0}, - {"StructField.Anonymous", Field, 0}, - {"StructField.Index", Field, 0}, - {"StructField.Name", Field, 0}, - {"StructField.Offset", Field, 0}, - {"StructField.PkgPath", Field, 0}, - {"StructField.Tag", Field, 0}, - {"StructField.Type", Field, 0}, - {"StructOf", Func, 7}, - {"StructTag", Type, 0}, - {"Swapper", Func, 8}, - {"Type", Type, 0}, - {"TypeFor", Func, 22}, - {"TypeOf", Func, 0}, - {"Uint", Const, 0}, - {"Uint16", Const, 0}, - {"Uint32", Const, 0}, - {"Uint64", Const, 0}, - {"Uint8", Const, 0}, - {"Uintptr", Const, 0}, - {"UnsafePointer", Const, 0}, - {"Value", Type, 0}, - {"ValueError", Type, 0}, - {"ValueError.Kind", Field, 0}, - {"ValueError.Method", Field, 0}, - {"ValueOf", Func, 0}, - {"VisibleFields", Func, 17}, - {"Zero", Func, 0}, + {"(*MapIter).Key", Method, 12, ""}, + {"(*MapIter).Next", Method, 12, ""}, + {"(*MapIter).Reset", Method, 18, ""}, + {"(*MapIter).Value", Method, 12, ""}, + {"(*ValueError).Error", Method, 0, ""}, + {"(ChanDir).String", Method, 0, ""}, + {"(Kind).String", Method, 0, ""}, + {"(Method).IsExported", Method, 17, ""}, + {"(StructField).IsExported", Method, 17, ""}, + {"(StructTag).Get", Method, 0, ""}, + {"(StructTag).Lookup", Method, 7, ""}, + {"(Value).Addr", Method, 0, ""}, + {"(Value).Bool", Method, 0, ""}, + {"(Value).Bytes", Method, 0, ""}, + {"(Value).Call", Method, 0, ""}, + {"(Value).CallSlice", Method, 0, ""}, + {"(Value).CanAddr", Method, 0, ""}, + {"(Value).CanComplex", Method, 18, ""}, + {"(Value).CanConvert", Method, 17, ""}, + {"(Value).CanFloat", Method, 18, ""}, + {"(Value).CanInt", Method, 18, ""}, + {"(Value).CanInterface", Method, 0, ""}, + {"(Value).CanSet", Method, 0, ""}, + {"(Value).CanUint", Method, 18, ""}, + {"(Value).Cap", Method, 0, ""}, + {"(Value).Clear", Method, 21, ""}, + {"(Value).Close", Method, 0, ""}, + {"(Value).Comparable", Method, 20, ""}, + {"(Value).Complex", Method, 0, ""}, + {"(Value).Convert", Method, 1, ""}, + {"(Value).Elem", Method, 0, ""}, + {"(Value).Equal", Method, 20, ""}, + {"(Value).Field", Method, 0, ""}, + {"(Value).FieldByIndex", Method, 0, ""}, + {"(Value).FieldByIndexErr", Method, 18, ""}, + {"(Value).FieldByName", Method, 0, ""}, + {"(Value).FieldByNameFunc", Method, 0, ""}, + {"(Value).Float", Method, 0, ""}, + {"(Value).Grow", Method, 20, ""}, + {"(Value).Index", Method, 0, ""}, + {"(Value).Int", Method, 0, ""}, + {"(Value).Interface", Method, 0, ""}, + {"(Value).InterfaceData", Method, 0, ""}, + {"(Value).IsNil", Method, 0, ""}, + {"(Value).IsValid", Method, 0, ""}, + {"(Value).IsZero", Method, 13, ""}, + {"(Value).Kind", Method, 0, ""}, + {"(Value).Len", Method, 0, ""}, + {"(Value).MapIndex", Method, 0, ""}, + {"(Value).MapKeys", Method, 0, ""}, + {"(Value).MapRange", Method, 12, ""}, + {"(Value).Method", Method, 0, ""}, + {"(Value).MethodByName", Method, 0, ""}, + {"(Value).NumField", Method, 0, ""}, + {"(Value).NumMethod", Method, 0, ""}, + {"(Value).OverflowComplex", Method, 0, ""}, + {"(Value).OverflowFloat", Method, 0, ""}, + {"(Value).OverflowInt", Method, 0, ""}, + {"(Value).OverflowUint", Method, 0, ""}, + {"(Value).Pointer", Method, 0, ""}, + {"(Value).Recv", Method, 0, ""}, + {"(Value).Send", Method, 0, ""}, + {"(Value).Seq", Method, 23, ""}, + {"(Value).Seq2", Method, 23, ""}, + {"(Value).Set", Method, 0, ""}, + {"(Value).SetBool", Method, 0, ""}, + {"(Value).SetBytes", Method, 0, ""}, + {"(Value).SetCap", Method, 2, ""}, + {"(Value).SetComplex", Method, 0, ""}, + {"(Value).SetFloat", Method, 0, ""}, + {"(Value).SetInt", Method, 0, ""}, + {"(Value).SetIterKey", Method, 18, ""}, + {"(Value).SetIterValue", Method, 18, ""}, + {"(Value).SetLen", Method, 0, ""}, + {"(Value).SetMapIndex", Method, 0, ""}, + {"(Value).SetPointer", Method, 0, ""}, + {"(Value).SetString", Method, 0, ""}, + {"(Value).SetUint", Method, 0, ""}, + {"(Value).SetZero", Method, 20, ""}, + {"(Value).Slice", Method, 0, ""}, + {"(Value).Slice3", Method, 2, ""}, + {"(Value).String", Method, 0, ""}, + {"(Value).TryRecv", Method, 0, ""}, + {"(Value).TrySend", Method, 0, ""}, + {"(Value).Type", Method, 0, ""}, + {"(Value).Uint", Method, 0, ""}, + {"(Value).UnsafeAddr", Method, 0, ""}, + {"(Value).UnsafePointer", Method, 18, ""}, + {"Append", Func, 0, "func(s Value, x ...Value) Value"}, + {"AppendSlice", Func, 0, "func(s Value, t Value) Value"}, + {"Array", Const, 0, ""}, + {"ArrayOf", Func, 5, "func(length int, elem Type) Type"}, + {"Bool", Const, 0, ""}, + {"BothDir", Const, 0, ""}, + {"Chan", Const, 0, ""}, + {"ChanDir", Type, 0, ""}, + {"ChanOf", Func, 1, "func(dir ChanDir, t Type) Type"}, + {"Complex128", Const, 0, ""}, + {"Complex64", Const, 0, ""}, + {"Copy", Func, 0, "func(dst Value, src Value) int"}, + {"DeepEqual", Func, 0, "func(x any, y any) bool"}, + {"Float32", Const, 0, ""}, + {"Float64", Const, 0, ""}, + {"Func", Const, 0, ""}, + {"FuncOf", Func, 5, "func(in []Type, out []Type, variadic bool) Type"}, + {"Indirect", Func, 0, "func(v Value) Value"}, + {"Int", Const, 0, ""}, + {"Int16", Const, 0, ""}, + {"Int32", Const, 0, ""}, + {"Int64", Const, 0, ""}, + {"Int8", Const, 0, ""}, + {"Interface", Const, 0, ""}, + {"Invalid", Const, 0, ""}, + {"Kind", Type, 0, ""}, + {"MakeChan", Func, 0, "func(typ Type, buffer int) Value"}, + {"MakeFunc", Func, 1, "func(typ Type, fn func(args []Value) (results []Value)) Value"}, + {"MakeMap", Func, 0, "func(typ Type) Value"}, + {"MakeMapWithSize", Func, 9, "func(typ Type, n int) Value"}, + {"MakeSlice", Func, 0, "func(typ Type, len int, cap int) Value"}, + {"Map", Const, 0, ""}, + {"MapIter", Type, 12, ""}, + {"MapOf", Func, 1, "func(key Type, elem Type) Type"}, + {"Method", Type, 0, ""}, + {"Method.Func", Field, 0, ""}, + {"Method.Index", Field, 0, ""}, + {"Method.Name", Field, 0, ""}, + {"Method.PkgPath", Field, 0, ""}, + {"Method.Type", Field, 0, ""}, + {"New", Func, 0, "func(typ Type) Value"}, + {"NewAt", Func, 0, "func(typ Type, p unsafe.Pointer) Value"}, + {"Pointer", Const, 18, ""}, + {"PointerTo", Func, 18, "func(t Type) Type"}, + {"Ptr", Const, 0, ""}, + {"PtrTo", Func, 0, "func(t Type) Type"}, + {"RecvDir", Const, 0, ""}, + {"Select", Func, 1, "func(cases []SelectCase) (chosen int, recv Value, recvOK bool)"}, + {"SelectCase", Type, 1, ""}, + {"SelectCase.Chan", Field, 1, ""}, + {"SelectCase.Dir", Field, 1, ""}, + {"SelectCase.Send", Field, 1, ""}, + {"SelectDefault", Const, 1, ""}, + {"SelectDir", Type, 1, ""}, + {"SelectRecv", Const, 1, ""}, + {"SelectSend", Const, 1, ""}, + {"SendDir", Const, 0, ""}, + {"Slice", Const, 0, ""}, + {"SliceAt", Func, 23, "func(typ Type, p unsafe.Pointer, n int) Value"}, + {"SliceHeader", Type, 0, ""}, + {"SliceHeader.Cap", Field, 0, ""}, + {"SliceHeader.Data", Field, 0, ""}, + {"SliceHeader.Len", Field, 0, ""}, + {"SliceOf", Func, 1, "func(t Type) Type"}, + {"String", Const, 0, ""}, + {"StringHeader", Type, 0, ""}, + {"StringHeader.Data", Field, 0, ""}, + {"StringHeader.Len", Field, 0, ""}, + {"Struct", Const, 0, ""}, + {"StructField", Type, 0, ""}, + {"StructField.Anonymous", Field, 0, ""}, + {"StructField.Index", Field, 0, ""}, + {"StructField.Name", Field, 0, ""}, + {"StructField.Offset", Field, 0, ""}, + {"StructField.PkgPath", Field, 0, ""}, + {"StructField.Tag", Field, 0, ""}, + {"StructField.Type", Field, 0, ""}, + {"StructOf", Func, 7, "func(fields []StructField) Type"}, + {"StructTag", Type, 0, ""}, + {"Swapper", Func, 8, "func(slice any) func(i int, j int)"}, + {"Type", Type, 0, ""}, + {"TypeAssert", Func, 25, "func[T any](v Value) (T, bool)"}, + {"TypeFor", Func, 22, "func[T any]() Type"}, + {"TypeOf", Func, 0, "func(i any) Type"}, + {"Uint", Const, 0, ""}, + {"Uint16", Const, 0, ""}, + {"Uint32", Const, 0, ""}, + {"Uint64", Const, 0, ""}, + {"Uint8", Const, 0, ""}, + {"Uintptr", Const, 0, ""}, + {"UnsafePointer", Const, 0, ""}, + {"Value", Type, 0, ""}, + {"ValueError", Type, 0, ""}, + {"ValueError.Kind", Field, 0, ""}, + {"ValueError.Method", Field, 0, ""}, + {"ValueOf", Func, 0, "func(i any) Value"}, + {"VisibleFields", Func, 17, "func(t Type) []StructField"}, + {"Zero", Func, 0, "func(typ Type) Value"}, }, "regexp": { - {"(*Regexp).AppendText", Method, 24}, - {"(*Regexp).Copy", Method, 6}, - {"(*Regexp).Expand", Method, 0}, - {"(*Regexp).ExpandString", Method, 0}, - {"(*Regexp).Find", Method, 0}, - {"(*Regexp).FindAll", Method, 0}, - {"(*Regexp).FindAllIndex", Method, 0}, - {"(*Regexp).FindAllString", Method, 0}, - {"(*Regexp).FindAllStringIndex", Method, 0}, - {"(*Regexp).FindAllStringSubmatch", Method, 0}, - {"(*Regexp).FindAllStringSubmatchIndex", Method, 0}, - {"(*Regexp).FindAllSubmatch", Method, 0}, - {"(*Regexp).FindAllSubmatchIndex", Method, 0}, - {"(*Regexp).FindIndex", Method, 0}, - {"(*Regexp).FindReaderIndex", Method, 0}, - {"(*Regexp).FindReaderSubmatchIndex", Method, 0}, - {"(*Regexp).FindString", Method, 0}, - {"(*Regexp).FindStringIndex", Method, 0}, - {"(*Regexp).FindStringSubmatch", Method, 0}, - {"(*Regexp).FindStringSubmatchIndex", Method, 0}, - {"(*Regexp).FindSubmatch", Method, 0}, - {"(*Regexp).FindSubmatchIndex", Method, 0}, - {"(*Regexp).LiteralPrefix", Method, 0}, - {"(*Regexp).Longest", Method, 1}, - {"(*Regexp).MarshalText", Method, 21}, - {"(*Regexp).Match", Method, 0}, - {"(*Regexp).MatchReader", Method, 0}, - {"(*Regexp).MatchString", Method, 0}, - {"(*Regexp).NumSubexp", Method, 0}, - {"(*Regexp).ReplaceAll", Method, 0}, - {"(*Regexp).ReplaceAllFunc", Method, 0}, - {"(*Regexp).ReplaceAllLiteral", Method, 0}, - {"(*Regexp).ReplaceAllLiteralString", Method, 0}, - {"(*Regexp).ReplaceAllString", Method, 0}, - {"(*Regexp).ReplaceAllStringFunc", Method, 0}, - {"(*Regexp).Split", Method, 1}, - {"(*Regexp).String", Method, 0}, - {"(*Regexp).SubexpIndex", Method, 15}, - {"(*Regexp).SubexpNames", Method, 0}, - {"(*Regexp).UnmarshalText", Method, 21}, - {"Compile", Func, 0}, - {"CompilePOSIX", Func, 0}, - {"Match", Func, 0}, - {"MatchReader", Func, 0}, - {"MatchString", Func, 0}, - {"MustCompile", Func, 0}, - {"MustCompilePOSIX", Func, 0}, - {"QuoteMeta", Func, 0}, - {"Regexp", Type, 0}, + {"(*Regexp).AppendText", Method, 24, ""}, + {"(*Regexp).Copy", Method, 6, ""}, + {"(*Regexp).Expand", Method, 0, ""}, + {"(*Regexp).ExpandString", Method, 0, ""}, + {"(*Regexp).Find", Method, 0, ""}, + {"(*Regexp).FindAll", Method, 0, ""}, + {"(*Regexp).FindAllIndex", Method, 0, ""}, + {"(*Regexp).FindAllString", Method, 0, ""}, + {"(*Regexp).FindAllStringIndex", Method, 0, ""}, + {"(*Regexp).FindAllStringSubmatch", Method, 0, ""}, + {"(*Regexp).FindAllStringSubmatchIndex", Method, 0, ""}, + {"(*Regexp).FindAllSubmatch", Method, 0, ""}, + {"(*Regexp).FindAllSubmatchIndex", Method, 0, ""}, + {"(*Regexp).FindIndex", Method, 0, ""}, + {"(*Regexp).FindReaderIndex", Method, 0, ""}, + {"(*Regexp).FindReaderSubmatchIndex", Method, 0, ""}, + {"(*Regexp).FindString", Method, 0, ""}, + {"(*Regexp).FindStringIndex", Method, 0, ""}, + {"(*Regexp).FindStringSubmatch", Method, 0, ""}, + {"(*Regexp).FindStringSubmatchIndex", Method, 0, ""}, + {"(*Regexp).FindSubmatch", Method, 0, ""}, + {"(*Regexp).FindSubmatchIndex", Method, 0, ""}, + {"(*Regexp).LiteralPrefix", Method, 0, ""}, + {"(*Regexp).Longest", Method, 1, ""}, + {"(*Regexp).MarshalText", Method, 21, ""}, + {"(*Regexp).Match", Method, 0, ""}, + {"(*Regexp).MatchReader", Method, 0, ""}, + {"(*Regexp).MatchString", Method, 0, ""}, + {"(*Regexp).NumSubexp", Method, 0, ""}, + {"(*Regexp).ReplaceAll", Method, 0, ""}, + {"(*Regexp).ReplaceAllFunc", Method, 0, ""}, + {"(*Regexp).ReplaceAllLiteral", Method, 0, ""}, + {"(*Regexp).ReplaceAllLiteralString", Method, 0, ""}, + {"(*Regexp).ReplaceAllString", Method, 0, ""}, + {"(*Regexp).ReplaceAllStringFunc", Method, 0, ""}, + {"(*Regexp).Split", Method, 1, ""}, + {"(*Regexp).String", Method, 0, ""}, + {"(*Regexp).SubexpIndex", Method, 15, ""}, + {"(*Regexp).SubexpNames", Method, 0, ""}, + {"(*Regexp).UnmarshalText", Method, 21, ""}, + {"Compile", Func, 0, "func(expr string) (*Regexp, error)"}, + {"CompilePOSIX", Func, 0, "func(expr string) (*Regexp, error)"}, + {"Match", Func, 0, "func(pattern string, b []byte) (matched bool, err error)"}, + {"MatchReader", Func, 0, "func(pattern string, r io.RuneReader) (matched bool, err error)"}, + {"MatchString", Func, 0, "func(pattern string, s string) (matched bool, err error)"}, + {"MustCompile", Func, 0, "func(str string) *Regexp"}, + {"MustCompilePOSIX", Func, 0, "func(str string) *Regexp"}, + {"QuoteMeta", Func, 0, "func(s string) string"}, + {"Regexp", Type, 0, ""}, }, "regexp/syntax": { - {"(*Error).Error", Method, 0}, - {"(*Inst).MatchEmptyWidth", Method, 0}, - {"(*Inst).MatchRune", Method, 0}, - {"(*Inst).MatchRunePos", Method, 3}, - {"(*Inst).String", Method, 0}, - {"(*Prog).Prefix", Method, 0}, - {"(*Prog).StartCond", Method, 0}, - {"(*Prog).String", Method, 0}, - {"(*Regexp).CapNames", Method, 0}, - {"(*Regexp).Equal", Method, 0}, - {"(*Regexp).MaxCap", Method, 0}, - {"(*Regexp).Simplify", Method, 0}, - {"(*Regexp).String", Method, 0}, - {"(ErrorCode).String", Method, 0}, - {"(InstOp).String", Method, 3}, - {"(Op).String", Method, 11}, - {"ClassNL", Const, 0}, - {"Compile", Func, 0}, - {"DotNL", Const, 0}, - {"EmptyBeginLine", Const, 0}, - {"EmptyBeginText", Const, 0}, - {"EmptyEndLine", Const, 0}, - {"EmptyEndText", Const, 0}, - {"EmptyNoWordBoundary", Const, 0}, - {"EmptyOp", Type, 0}, - {"EmptyOpContext", Func, 0}, - {"EmptyWordBoundary", Const, 0}, - {"ErrInternalError", Const, 0}, - {"ErrInvalidCharClass", Const, 0}, - {"ErrInvalidCharRange", Const, 0}, - {"ErrInvalidEscape", Const, 0}, - {"ErrInvalidNamedCapture", Const, 0}, - {"ErrInvalidPerlOp", Const, 0}, - {"ErrInvalidRepeatOp", Const, 0}, - {"ErrInvalidRepeatSize", Const, 0}, - {"ErrInvalidUTF8", Const, 0}, - {"ErrLarge", Const, 20}, - {"ErrMissingBracket", Const, 0}, - {"ErrMissingParen", Const, 0}, - {"ErrMissingRepeatArgument", Const, 0}, - {"ErrNestingDepth", Const, 19}, - {"ErrTrailingBackslash", Const, 0}, - {"ErrUnexpectedParen", Const, 1}, - {"Error", Type, 0}, - {"Error.Code", Field, 0}, - {"Error.Expr", Field, 0}, - {"ErrorCode", Type, 0}, - {"Flags", Type, 0}, - {"FoldCase", Const, 0}, - {"Inst", Type, 0}, - {"Inst.Arg", Field, 0}, - {"Inst.Op", Field, 0}, - {"Inst.Out", Field, 0}, - {"Inst.Rune", Field, 0}, - {"InstAlt", Const, 0}, - {"InstAltMatch", Const, 0}, - {"InstCapture", Const, 0}, - {"InstEmptyWidth", Const, 0}, - {"InstFail", Const, 0}, - {"InstMatch", Const, 0}, - {"InstNop", Const, 0}, - {"InstOp", Type, 0}, - {"InstRune", Const, 0}, - {"InstRune1", Const, 0}, - {"InstRuneAny", Const, 0}, - {"InstRuneAnyNotNL", Const, 0}, - {"IsWordChar", Func, 0}, - {"Literal", Const, 0}, - {"MatchNL", Const, 0}, - {"NonGreedy", Const, 0}, - {"OneLine", Const, 0}, - {"Op", Type, 0}, - {"OpAlternate", Const, 0}, - {"OpAnyChar", Const, 0}, - {"OpAnyCharNotNL", Const, 0}, - {"OpBeginLine", Const, 0}, - {"OpBeginText", Const, 0}, - {"OpCapture", Const, 0}, - {"OpCharClass", Const, 0}, - {"OpConcat", Const, 0}, - {"OpEmptyMatch", Const, 0}, - {"OpEndLine", Const, 0}, - {"OpEndText", Const, 0}, - {"OpLiteral", Const, 0}, - {"OpNoMatch", Const, 0}, - {"OpNoWordBoundary", Const, 0}, - {"OpPlus", Const, 0}, - {"OpQuest", Const, 0}, - {"OpRepeat", Const, 0}, - {"OpStar", Const, 0}, - {"OpWordBoundary", Const, 0}, - {"POSIX", Const, 0}, - {"Parse", Func, 0}, - {"Perl", Const, 0}, - {"PerlX", Const, 0}, - {"Prog", Type, 0}, - {"Prog.Inst", Field, 0}, - {"Prog.NumCap", Field, 0}, - {"Prog.Start", Field, 0}, - {"Regexp", Type, 0}, - {"Regexp.Cap", Field, 0}, - {"Regexp.Flags", Field, 0}, - {"Regexp.Max", Field, 0}, - {"Regexp.Min", Field, 0}, - {"Regexp.Name", Field, 0}, - {"Regexp.Op", Field, 0}, - {"Regexp.Rune", Field, 0}, - {"Regexp.Rune0", Field, 0}, - {"Regexp.Sub", Field, 0}, - {"Regexp.Sub0", Field, 0}, - {"Simple", Const, 0}, - {"UnicodeGroups", Const, 0}, - {"WasDollar", Const, 0}, + {"(*Error).Error", Method, 0, ""}, + {"(*Inst).MatchEmptyWidth", Method, 0, ""}, + {"(*Inst).MatchRune", Method, 0, ""}, + {"(*Inst).MatchRunePos", Method, 3, ""}, + {"(*Inst).String", Method, 0, ""}, + {"(*Prog).Prefix", Method, 0, ""}, + {"(*Prog).StartCond", Method, 0, ""}, + {"(*Prog).String", Method, 0, ""}, + {"(*Regexp).CapNames", Method, 0, ""}, + {"(*Regexp).Equal", Method, 0, ""}, + {"(*Regexp).MaxCap", Method, 0, ""}, + {"(*Regexp).Simplify", Method, 0, ""}, + {"(*Regexp).String", Method, 0, ""}, + {"(ErrorCode).String", Method, 0, ""}, + {"(InstOp).String", Method, 3, ""}, + {"(Op).String", Method, 11, ""}, + {"ClassNL", Const, 0, ""}, + {"Compile", Func, 0, "func(re *Regexp) (*Prog, error)"}, + {"DotNL", Const, 0, ""}, + {"EmptyBeginLine", Const, 0, ""}, + {"EmptyBeginText", Const, 0, ""}, + {"EmptyEndLine", Const, 0, ""}, + {"EmptyEndText", Const, 0, ""}, + {"EmptyNoWordBoundary", Const, 0, ""}, + {"EmptyOp", Type, 0, ""}, + {"EmptyOpContext", Func, 0, "func(r1 rune, r2 rune) EmptyOp"}, + {"EmptyWordBoundary", Const, 0, ""}, + {"ErrInternalError", Const, 0, ""}, + {"ErrInvalidCharClass", Const, 0, ""}, + {"ErrInvalidCharRange", Const, 0, ""}, + {"ErrInvalidEscape", Const, 0, ""}, + {"ErrInvalidNamedCapture", Const, 0, ""}, + {"ErrInvalidPerlOp", Const, 0, ""}, + {"ErrInvalidRepeatOp", Const, 0, ""}, + {"ErrInvalidRepeatSize", Const, 0, ""}, + {"ErrInvalidUTF8", Const, 0, ""}, + {"ErrLarge", Const, 20, ""}, + {"ErrMissingBracket", Const, 0, ""}, + {"ErrMissingParen", Const, 0, ""}, + {"ErrMissingRepeatArgument", Const, 0, ""}, + {"ErrNestingDepth", Const, 19, ""}, + {"ErrTrailingBackslash", Const, 0, ""}, + {"ErrUnexpectedParen", Const, 1, ""}, + {"Error", Type, 0, ""}, + {"Error.Code", Field, 0, ""}, + {"Error.Expr", Field, 0, ""}, + {"ErrorCode", Type, 0, ""}, + {"Flags", Type, 0, ""}, + {"FoldCase", Const, 0, ""}, + {"Inst", Type, 0, ""}, + {"Inst.Arg", Field, 0, ""}, + {"Inst.Op", Field, 0, ""}, + {"Inst.Out", Field, 0, ""}, + {"Inst.Rune", Field, 0, ""}, + {"InstAlt", Const, 0, ""}, + {"InstAltMatch", Const, 0, ""}, + {"InstCapture", Const, 0, ""}, + {"InstEmptyWidth", Const, 0, ""}, + {"InstFail", Const, 0, ""}, + {"InstMatch", Const, 0, ""}, + {"InstNop", Const, 0, ""}, + {"InstOp", Type, 0, ""}, + {"InstRune", Const, 0, ""}, + {"InstRune1", Const, 0, ""}, + {"InstRuneAny", Const, 0, ""}, + {"InstRuneAnyNotNL", Const, 0, ""}, + {"IsWordChar", Func, 0, "func(r rune) bool"}, + {"Literal", Const, 0, ""}, + {"MatchNL", Const, 0, ""}, + {"NonGreedy", Const, 0, ""}, + {"OneLine", Const, 0, ""}, + {"Op", Type, 0, ""}, + {"OpAlternate", Const, 0, ""}, + {"OpAnyChar", Const, 0, ""}, + {"OpAnyCharNotNL", Const, 0, ""}, + {"OpBeginLine", Const, 0, ""}, + {"OpBeginText", Const, 0, ""}, + {"OpCapture", Const, 0, ""}, + {"OpCharClass", Const, 0, ""}, + {"OpConcat", Const, 0, ""}, + {"OpEmptyMatch", Const, 0, ""}, + {"OpEndLine", Const, 0, ""}, + {"OpEndText", Const, 0, ""}, + {"OpLiteral", Const, 0, ""}, + {"OpNoMatch", Const, 0, ""}, + {"OpNoWordBoundary", Const, 0, ""}, + {"OpPlus", Const, 0, ""}, + {"OpQuest", Const, 0, ""}, + {"OpRepeat", Const, 0, ""}, + {"OpStar", Const, 0, ""}, + {"OpWordBoundary", Const, 0, ""}, + {"POSIX", Const, 0, ""}, + {"Parse", Func, 0, "func(s string, flags Flags) (*Regexp, error)"}, + {"Perl", Const, 0, ""}, + {"PerlX", Const, 0, ""}, + {"Prog", Type, 0, ""}, + {"Prog.Inst", Field, 0, ""}, + {"Prog.NumCap", Field, 0, ""}, + {"Prog.Start", Field, 0, ""}, + {"Regexp", Type, 0, ""}, + {"Regexp.Cap", Field, 0, ""}, + {"Regexp.Flags", Field, 0, ""}, + {"Regexp.Max", Field, 0, ""}, + {"Regexp.Min", Field, 0, ""}, + {"Regexp.Name", Field, 0, ""}, + {"Regexp.Op", Field, 0, ""}, + {"Regexp.Rune", Field, 0, ""}, + {"Regexp.Rune0", Field, 0, ""}, + {"Regexp.Sub", Field, 0, ""}, + {"Regexp.Sub0", Field, 0, ""}, + {"Simple", Const, 0, ""}, + {"UnicodeGroups", Const, 0, ""}, + {"WasDollar", Const, 0, ""}, }, "runtime": { - {"(*BlockProfileRecord).Stack", Method, 1}, - {"(*Frames).Next", Method, 7}, - {"(*Func).Entry", Method, 0}, - {"(*Func).FileLine", Method, 0}, - {"(*Func).Name", Method, 0}, - {"(*MemProfileRecord).InUseBytes", Method, 0}, - {"(*MemProfileRecord).InUseObjects", Method, 0}, - {"(*MemProfileRecord).Stack", Method, 0}, - {"(*PanicNilError).Error", Method, 21}, - {"(*PanicNilError).RuntimeError", Method, 21}, - {"(*Pinner).Pin", Method, 21}, - {"(*Pinner).Unpin", Method, 21}, - {"(*StackRecord).Stack", Method, 0}, - {"(*TypeAssertionError).Error", Method, 0}, - {"(*TypeAssertionError).RuntimeError", Method, 0}, - {"(Cleanup).Stop", Method, 24}, - {"AddCleanup", Func, 24}, - {"BlockProfile", Func, 1}, - {"BlockProfileRecord", Type, 1}, - {"BlockProfileRecord.Count", Field, 1}, - {"BlockProfileRecord.Cycles", Field, 1}, - {"BlockProfileRecord.StackRecord", Field, 1}, - {"Breakpoint", Func, 0}, - {"CPUProfile", Func, 0}, - {"Caller", Func, 0}, - {"Callers", Func, 0}, - {"CallersFrames", Func, 7}, - {"Cleanup", Type, 24}, - {"Compiler", Const, 0}, - {"Error", Type, 0}, - {"Frame", Type, 7}, - {"Frame.Entry", Field, 7}, - {"Frame.File", Field, 7}, - {"Frame.Func", Field, 7}, - {"Frame.Function", Field, 7}, - {"Frame.Line", Field, 7}, - {"Frame.PC", Field, 7}, - {"Frames", Type, 7}, - {"Func", Type, 0}, - {"FuncForPC", Func, 0}, - {"GC", Func, 0}, - {"GOARCH", Const, 0}, - {"GOMAXPROCS", Func, 0}, - {"GOOS", Const, 0}, - {"GOROOT", Func, 0}, - {"Goexit", Func, 0}, - {"GoroutineProfile", Func, 0}, - {"Gosched", Func, 0}, - {"KeepAlive", Func, 7}, - {"LockOSThread", Func, 0}, - {"MemProfile", Func, 0}, - {"MemProfileRate", Var, 0}, - {"MemProfileRecord", Type, 0}, - {"MemProfileRecord.AllocBytes", Field, 0}, - {"MemProfileRecord.AllocObjects", Field, 0}, - {"MemProfileRecord.FreeBytes", Field, 0}, - {"MemProfileRecord.FreeObjects", Field, 0}, - {"MemProfileRecord.Stack0", Field, 0}, - {"MemStats", Type, 0}, - {"MemStats.Alloc", Field, 0}, - {"MemStats.BuckHashSys", Field, 0}, - {"MemStats.BySize", Field, 0}, - {"MemStats.DebugGC", Field, 0}, - {"MemStats.EnableGC", Field, 0}, - {"MemStats.Frees", Field, 0}, - {"MemStats.GCCPUFraction", Field, 5}, - {"MemStats.GCSys", Field, 2}, - {"MemStats.HeapAlloc", Field, 0}, - {"MemStats.HeapIdle", Field, 0}, - {"MemStats.HeapInuse", Field, 0}, - {"MemStats.HeapObjects", Field, 0}, - {"MemStats.HeapReleased", Field, 0}, - {"MemStats.HeapSys", Field, 0}, - {"MemStats.LastGC", Field, 0}, - {"MemStats.Lookups", Field, 0}, - {"MemStats.MCacheInuse", Field, 0}, - {"MemStats.MCacheSys", Field, 0}, - {"MemStats.MSpanInuse", Field, 0}, - {"MemStats.MSpanSys", Field, 0}, - {"MemStats.Mallocs", Field, 0}, - {"MemStats.NextGC", Field, 0}, - {"MemStats.NumForcedGC", Field, 8}, - {"MemStats.NumGC", Field, 0}, - {"MemStats.OtherSys", Field, 2}, - {"MemStats.PauseEnd", Field, 4}, - {"MemStats.PauseNs", Field, 0}, - {"MemStats.PauseTotalNs", Field, 0}, - {"MemStats.StackInuse", Field, 0}, - {"MemStats.StackSys", Field, 0}, - {"MemStats.Sys", Field, 0}, - {"MemStats.TotalAlloc", Field, 0}, - {"MutexProfile", Func, 8}, - {"NumCPU", Func, 0}, - {"NumCgoCall", Func, 0}, - {"NumGoroutine", Func, 0}, - {"PanicNilError", Type, 21}, - {"Pinner", Type, 21}, - {"ReadMemStats", Func, 0}, - {"ReadTrace", Func, 5}, - {"SetBlockProfileRate", Func, 1}, - {"SetCPUProfileRate", Func, 0}, - {"SetCgoTraceback", Func, 7}, - {"SetFinalizer", Func, 0}, - {"SetMutexProfileFraction", Func, 8}, - {"Stack", Func, 0}, - {"StackRecord", Type, 0}, - {"StackRecord.Stack0", Field, 0}, - {"StartTrace", Func, 5}, - {"StopTrace", Func, 5}, - {"ThreadCreateProfile", Func, 0}, - {"TypeAssertionError", Type, 0}, - {"UnlockOSThread", Func, 0}, - {"Version", Func, 0}, + {"(*BlockProfileRecord).Stack", Method, 1, ""}, + {"(*Frames).Next", Method, 7, ""}, + {"(*Func).Entry", Method, 0, ""}, + {"(*Func).FileLine", Method, 0, ""}, + {"(*Func).Name", Method, 0, ""}, + {"(*MemProfileRecord).InUseBytes", Method, 0, ""}, + {"(*MemProfileRecord).InUseObjects", Method, 0, ""}, + {"(*MemProfileRecord).Stack", Method, 0, ""}, + {"(*PanicNilError).Error", Method, 21, ""}, + {"(*PanicNilError).RuntimeError", Method, 21, ""}, + {"(*Pinner).Pin", Method, 21, ""}, + {"(*Pinner).Unpin", Method, 21, ""}, + {"(*StackRecord).Stack", Method, 0, ""}, + {"(*TypeAssertionError).Error", Method, 0, ""}, + {"(*TypeAssertionError).RuntimeError", Method, 0, ""}, + {"(Cleanup).Stop", Method, 24, ""}, + {"AddCleanup", Func, 24, "func[T, S any](ptr *T, cleanup func(S), arg S) Cleanup"}, + {"BlockProfile", Func, 1, "func(p []BlockProfileRecord) (n int, ok bool)"}, + {"BlockProfileRecord", Type, 1, ""}, + {"BlockProfileRecord.Count", Field, 1, ""}, + {"BlockProfileRecord.Cycles", Field, 1, ""}, + {"BlockProfileRecord.StackRecord", Field, 1, ""}, + {"Breakpoint", Func, 0, "func()"}, + {"CPUProfile", Func, 0, "func() []byte"}, + {"Caller", Func, 0, "func(skip int) (pc uintptr, file string, line int, ok bool)"}, + {"Callers", Func, 0, "func(skip int, pc []uintptr) int"}, + {"CallersFrames", Func, 7, "func(callers []uintptr) *Frames"}, + {"Cleanup", Type, 24, ""}, + {"Compiler", Const, 0, ""}, + {"Error", Type, 0, ""}, + {"Frame", Type, 7, ""}, + {"Frame.Entry", Field, 7, ""}, + {"Frame.File", Field, 7, ""}, + {"Frame.Func", Field, 7, ""}, + {"Frame.Function", Field, 7, ""}, + {"Frame.Line", Field, 7, ""}, + {"Frame.PC", Field, 7, ""}, + {"Frames", Type, 7, ""}, + {"Func", Type, 0, ""}, + {"FuncForPC", Func, 0, "func(pc uintptr) *Func"}, + {"GC", Func, 0, "func()"}, + {"GOARCH", Const, 0, ""}, + {"GOMAXPROCS", Func, 0, "func(n int) int"}, + {"GOOS", Const, 0, ""}, + {"GOROOT", Func, 0, "func() string"}, + {"Goexit", Func, 0, "func()"}, + {"GoroutineProfile", Func, 0, "func(p []StackRecord) (n int, ok bool)"}, + {"Gosched", Func, 0, "func()"}, + {"KeepAlive", Func, 7, "func(x any)"}, + {"LockOSThread", Func, 0, "func()"}, + {"MemProfile", Func, 0, "func(p []MemProfileRecord, inuseZero bool) (n int, ok bool)"}, + {"MemProfileRate", Var, 0, ""}, + {"MemProfileRecord", Type, 0, ""}, + {"MemProfileRecord.AllocBytes", Field, 0, ""}, + {"MemProfileRecord.AllocObjects", Field, 0, ""}, + {"MemProfileRecord.FreeBytes", Field, 0, ""}, + {"MemProfileRecord.FreeObjects", Field, 0, ""}, + {"MemProfileRecord.Stack0", Field, 0, ""}, + {"MemStats", Type, 0, ""}, + {"MemStats.Alloc", Field, 0, ""}, + {"MemStats.BuckHashSys", Field, 0, ""}, + {"MemStats.BySize", Field, 0, ""}, + {"MemStats.DebugGC", Field, 0, ""}, + {"MemStats.EnableGC", Field, 0, ""}, + {"MemStats.Frees", Field, 0, ""}, + {"MemStats.GCCPUFraction", Field, 5, ""}, + {"MemStats.GCSys", Field, 2, ""}, + {"MemStats.HeapAlloc", Field, 0, ""}, + {"MemStats.HeapIdle", Field, 0, ""}, + {"MemStats.HeapInuse", Field, 0, ""}, + {"MemStats.HeapObjects", Field, 0, ""}, + {"MemStats.HeapReleased", Field, 0, ""}, + {"MemStats.HeapSys", Field, 0, ""}, + {"MemStats.LastGC", Field, 0, ""}, + {"MemStats.Lookups", Field, 0, ""}, + {"MemStats.MCacheInuse", Field, 0, ""}, + {"MemStats.MCacheSys", Field, 0, ""}, + {"MemStats.MSpanInuse", Field, 0, ""}, + {"MemStats.MSpanSys", Field, 0, ""}, + {"MemStats.Mallocs", Field, 0, ""}, + {"MemStats.NextGC", Field, 0, ""}, + {"MemStats.NumForcedGC", Field, 8, ""}, + {"MemStats.NumGC", Field, 0, ""}, + {"MemStats.OtherSys", Field, 2, ""}, + {"MemStats.PauseEnd", Field, 4, ""}, + {"MemStats.PauseNs", Field, 0, ""}, + {"MemStats.PauseTotalNs", Field, 0, ""}, + {"MemStats.StackInuse", Field, 0, ""}, + {"MemStats.StackSys", Field, 0, ""}, + {"MemStats.Sys", Field, 0, ""}, + {"MemStats.TotalAlloc", Field, 0, ""}, + {"MutexProfile", Func, 8, "func(p []BlockProfileRecord) (n int, ok bool)"}, + {"NumCPU", Func, 0, "func() int"}, + {"NumCgoCall", Func, 0, "func() int64"}, + {"NumGoroutine", Func, 0, "func() int"}, + {"PanicNilError", Type, 21, ""}, + {"Pinner", Type, 21, ""}, + {"ReadMemStats", Func, 0, "func(m *MemStats)"}, + {"ReadTrace", Func, 5, "func() []byte"}, + {"SetBlockProfileRate", Func, 1, "func(rate int)"}, + {"SetCPUProfileRate", Func, 0, "func(hz int)"}, + {"SetCgoTraceback", Func, 7, "func(version int, traceback unsafe.Pointer, context unsafe.Pointer, symbolizer unsafe.Pointer)"}, + {"SetDefaultGOMAXPROCS", Func, 25, "func()"}, + {"SetFinalizer", Func, 0, "func(obj any, finalizer any)"}, + {"SetMutexProfileFraction", Func, 8, "func(rate int) int"}, + {"Stack", Func, 0, "func(buf []byte, all bool) int"}, + {"StackRecord", Type, 0, ""}, + {"StackRecord.Stack0", Field, 0, ""}, + {"StartTrace", Func, 5, "func() error"}, + {"StopTrace", Func, 5, "func()"}, + {"ThreadCreateProfile", Func, 0, "func(p []StackRecord) (n int, ok bool)"}, + {"TypeAssertionError", Type, 0, ""}, + {"UnlockOSThread", Func, 0, "func()"}, + {"Version", Func, 0, "func() string"}, }, "runtime/cgo": { - {"(Handle).Delete", Method, 17}, - {"(Handle).Value", Method, 17}, - {"Handle", Type, 17}, - {"Incomplete", Type, 20}, - {"NewHandle", Func, 17}, + {"(Handle).Delete", Method, 17, ""}, + {"(Handle).Value", Method, 17, ""}, + {"Handle", Type, 17, ""}, + {"Incomplete", Type, 20, ""}, + {"NewHandle", Func, 17, ""}, }, "runtime/coverage": { - {"ClearCounters", Func, 20}, - {"WriteCounters", Func, 20}, - {"WriteCountersDir", Func, 20}, - {"WriteMeta", Func, 20}, - {"WriteMetaDir", Func, 20}, + {"ClearCounters", Func, 20, "func() error"}, + {"WriteCounters", Func, 20, "func(w io.Writer) error"}, + {"WriteCountersDir", Func, 20, "func(dir string) error"}, + {"WriteMeta", Func, 20, "func(w io.Writer) error"}, + {"WriteMetaDir", Func, 20, "func(dir string) error"}, }, "runtime/debug": { - {"(*BuildInfo).String", Method, 18}, - {"BuildInfo", Type, 12}, - {"BuildInfo.Deps", Field, 12}, - {"BuildInfo.GoVersion", Field, 18}, - {"BuildInfo.Main", Field, 12}, - {"BuildInfo.Path", Field, 12}, - {"BuildInfo.Settings", Field, 18}, - {"BuildSetting", Type, 18}, - {"BuildSetting.Key", Field, 18}, - {"BuildSetting.Value", Field, 18}, - {"CrashOptions", Type, 23}, - {"FreeOSMemory", Func, 1}, - {"GCStats", Type, 1}, - {"GCStats.LastGC", Field, 1}, - {"GCStats.NumGC", Field, 1}, - {"GCStats.Pause", Field, 1}, - {"GCStats.PauseEnd", Field, 4}, - {"GCStats.PauseQuantiles", Field, 1}, - {"GCStats.PauseTotal", Field, 1}, - {"Module", Type, 12}, - {"Module.Path", Field, 12}, - {"Module.Replace", Field, 12}, - {"Module.Sum", Field, 12}, - {"Module.Version", Field, 12}, - {"ParseBuildInfo", Func, 18}, - {"PrintStack", Func, 0}, - {"ReadBuildInfo", Func, 12}, - {"ReadGCStats", Func, 1}, - {"SetCrashOutput", Func, 23}, - {"SetGCPercent", Func, 1}, - {"SetMaxStack", Func, 2}, - {"SetMaxThreads", Func, 2}, - {"SetMemoryLimit", Func, 19}, - {"SetPanicOnFault", Func, 3}, - {"SetTraceback", Func, 6}, - {"Stack", Func, 0}, - {"WriteHeapDump", Func, 3}, + {"(*BuildInfo).String", Method, 18, ""}, + {"BuildInfo", Type, 12, ""}, + {"BuildInfo.Deps", Field, 12, ""}, + {"BuildInfo.GoVersion", Field, 18, ""}, + {"BuildInfo.Main", Field, 12, ""}, + {"BuildInfo.Path", Field, 12, ""}, + {"BuildInfo.Settings", Field, 18, ""}, + {"BuildSetting", Type, 18, ""}, + {"BuildSetting.Key", Field, 18, ""}, + {"BuildSetting.Value", Field, 18, ""}, + {"CrashOptions", Type, 23, ""}, + {"FreeOSMemory", Func, 1, "func()"}, + {"GCStats", Type, 1, ""}, + {"GCStats.LastGC", Field, 1, ""}, + {"GCStats.NumGC", Field, 1, ""}, + {"GCStats.Pause", Field, 1, ""}, + {"GCStats.PauseEnd", Field, 4, ""}, + {"GCStats.PauseQuantiles", Field, 1, ""}, + {"GCStats.PauseTotal", Field, 1, ""}, + {"Module", Type, 12, ""}, + {"Module.Path", Field, 12, ""}, + {"Module.Replace", Field, 12, ""}, + {"Module.Sum", Field, 12, ""}, + {"Module.Version", Field, 12, ""}, + {"ParseBuildInfo", Func, 18, "func(data string) (bi *BuildInfo, err error)"}, + {"PrintStack", Func, 0, "func()"}, + {"ReadBuildInfo", Func, 12, "func() (info *BuildInfo, ok bool)"}, + {"ReadGCStats", Func, 1, "func(stats *GCStats)"}, + {"SetCrashOutput", Func, 23, "func(f *os.File, opts CrashOptions) error"}, + {"SetGCPercent", Func, 1, "func(percent int) int"}, + {"SetMaxStack", Func, 2, "func(bytes int) int"}, + {"SetMaxThreads", Func, 2, "func(threads int) int"}, + {"SetMemoryLimit", Func, 19, "func(limit int64) int64"}, + {"SetPanicOnFault", Func, 3, "func(enabled bool) bool"}, + {"SetTraceback", Func, 6, "func(level string)"}, + {"Stack", Func, 0, "func() []byte"}, + {"WriteHeapDump", Func, 3, "func(fd uintptr)"}, }, "runtime/metrics": { - {"(Value).Float64", Method, 16}, - {"(Value).Float64Histogram", Method, 16}, - {"(Value).Kind", Method, 16}, - {"(Value).Uint64", Method, 16}, - {"All", Func, 16}, - {"Description", Type, 16}, - {"Description.Cumulative", Field, 16}, - {"Description.Description", Field, 16}, - {"Description.Kind", Field, 16}, - {"Description.Name", Field, 16}, - {"Float64Histogram", Type, 16}, - {"Float64Histogram.Buckets", Field, 16}, - {"Float64Histogram.Counts", Field, 16}, - {"KindBad", Const, 16}, - {"KindFloat64", Const, 16}, - {"KindFloat64Histogram", Const, 16}, - {"KindUint64", Const, 16}, - {"Read", Func, 16}, - {"Sample", Type, 16}, - {"Sample.Name", Field, 16}, - {"Sample.Value", Field, 16}, - {"Value", Type, 16}, - {"ValueKind", Type, 16}, + {"(Value).Float64", Method, 16, ""}, + {"(Value).Float64Histogram", Method, 16, ""}, + {"(Value).Kind", Method, 16, ""}, + {"(Value).Uint64", Method, 16, ""}, + {"All", Func, 16, "func() []Description"}, + {"Description", Type, 16, ""}, + {"Description.Cumulative", Field, 16, ""}, + {"Description.Description", Field, 16, ""}, + {"Description.Kind", Field, 16, ""}, + {"Description.Name", Field, 16, ""}, + {"Float64Histogram", Type, 16, ""}, + {"Float64Histogram.Buckets", Field, 16, ""}, + {"Float64Histogram.Counts", Field, 16, ""}, + {"KindBad", Const, 16, ""}, + {"KindFloat64", Const, 16, ""}, + {"KindFloat64Histogram", Const, 16, ""}, + {"KindUint64", Const, 16, ""}, + {"Read", Func, 16, "func(m []Sample)"}, + {"Sample", Type, 16, ""}, + {"Sample.Name", Field, 16, ""}, + {"Sample.Value", Field, 16, ""}, + {"Value", Type, 16, ""}, + {"ValueKind", Type, 16, ""}, }, "runtime/pprof": { - {"(*Profile).Add", Method, 0}, - {"(*Profile).Count", Method, 0}, - {"(*Profile).Name", Method, 0}, - {"(*Profile).Remove", Method, 0}, - {"(*Profile).WriteTo", Method, 0}, - {"Do", Func, 9}, - {"ForLabels", Func, 9}, - {"Label", Func, 9}, - {"LabelSet", Type, 9}, - {"Labels", Func, 9}, - {"Lookup", Func, 0}, - {"NewProfile", Func, 0}, - {"Profile", Type, 0}, - {"Profiles", Func, 0}, - {"SetGoroutineLabels", Func, 9}, - {"StartCPUProfile", Func, 0}, - {"StopCPUProfile", Func, 0}, - {"WithLabels", Func, 9}, - {"WriteHeapProfile", Func, 0}, + {"(*Profile).Add", Method, 0, ""}, + {"(*Profile).Count", Method, 0, ""}, + {"(*Profile).Name", Method, 0, ""}, + {"(*Profile).Remove", Method, 0, ""}, + {"(*Profile).WriteTo", Method, 0, ""}, + {"Do", Func, 9, "func(ctx context.Context, labels LabelSet, f func(context.Context))"}, + {"ForLabels", Func, 9, "func(ctx context.Context, f func(key string, value string) bool)"}, + {"Label", Func, 9, "func(ctx context.Context, key string) (string, bool)"}, + {"LabelSet", Type, 9, ""}, + {"Labels", Func, 9, "func(args ...string) LabelSet"}, + {"Lookup", Func, 0, "func(name string) *Profile"}, + {"NewProfile", Func, 0, "func(name string) *Profile"}, + {"Profile", Type, 0, ""}, + {"Profiles", Func, 0, "func() []*Profile"}, + {"SetGoroutineLabels", Func, 9, "func(ctx context.Context)"}, + {"StartCPUProfile", Func, 0, "func(w io.Writer) error"}, + {"StopCPUProfile", Func, 0, "func()"}, + {"WithLabels", Func, 9, "func(ctx context.Context, labels LabelSet) context.Context"}, + {"WriteHeapProfile", Func, 0, "func(w io.Writer) error"}, }, "runtime/trace": { - {"(*Region).End", Method, 11}, - {"(*Task).End", Method, 11}, - {"IsEnabled", Func, 11}, - {"Log", Func, 11}, - {"Logf", Func, 11}, - {"NewTask", Func, 11}, - {"Region", Type, 11}, - {"Start", Func, 5}, - {"StartRegion", Func, 11}, - {"Stop", Func, 5}, - {"Task", Type, 11}, - {"WithRegion", Func, 11}, + {"(*FlightRecorder).Enabled", Method, 25, ""}, + {"(*FlightRecorder).Start", Method, 25, ""}, + {"(*FlightRecorder).Stop", Method, 25, ""}, + {"(*FlightRecorder).WriteTo", Method, 25, ""}, + {"(*Region).End", Method, 11, ""}, + {"(*Task).End", Method, 11, ""}, + {"FlightRecorder", Type, 25, ""}, + {"FlightRecorderConfig", Type, 25, ""}, + {"FlightRecorderConfig.MaxBytes", Field, 25, ""}, + {"FlightRecorderConfig.MinAge", Field, 25, ""}, + {"IsEnabled", Func, 11, "func() bool"}, + {"Log", Func, 11, "func(ctx context.Context, category string, message string)"}, + {"Logf", Func, 11, "func(ctx context.Context, category string, format string, args ...any)"}, + {"NewFlightRecorder", Func, 25, "func(cfg FlightRecorderConfig) *FlightRecorder"}, + {"NewTask", Func, 11, "func(pctx context.Context, taskType string) (ctx context.Context, task *Task)"}, + {"Region", Type, 11, ""}, + {"Start", Func, 5, "func(w io.Writer) error"}, + {"StartRegion", Func, 11, "func(ctx context.Context, regionType string) *Region"}, + {"Stop", Func, 5, "func()"}, + {"Task", Type, 11, ""}, + {"WithRegion", Func, 11, "func(ctx context.Context, regionType string, fn func())"}, }, "slices": { - {"All", Func, 23}, - {"AppendSeq", Func, 23}, - {"Backward", Func, 23}, - {"BinarySearch", Func, 21}, - {"BinarySearchFunc", Func, 21}, - {"Chunk", Func, 23}, - {"Clip", Func, 21}, - {"Clone", Func, 21}, - {"Collect", Func, 23}, - {"Compact", Func, 21}, - {"CompactFunc", Func, 21}, - {"Compare", Func, 21}, - {"CompareFunc", Func, 21}, - {"Concat", Func, 22}, - {"Contains", Func, 21}, - {"ContainsFunc", Func, 21}, - {"Delete", Func, 21}, - {"DeleteFunc", Func, 21}, - {"Equal", Func, 21}, - {"EqualFunc", Func, 21}, - {"Grow", Func, 21}, - {"Index", Func, 21}, - {"IndexFunc", Func, 21}, - {"Insert", Func, 21}, - {"IsSorted", Func, 21}, - {"IsSortedFunc", Func, 21}, - {"Max", Func, 21}, - {"MaxFunc", Func, 21}, - {"Min", Func, 21}, - {"MinFunc", Func, 21}, - {"Repeat", Func, 23}, - {"Replace", Func, 21}, - {"Reverse", Func, 21}, - {"Sort", Func, 21}, - {"SortFunc", Func, 21}, - {"SortStableFunc", Func, 21}, - {"Sorted", Func, 23}, - {"SortedFunc", Func, 23}, - {"SortedStableFunc", Func, 23}, - {"Values", Func, 23}, + {"All", Func, 23, "func[Slice ~[]E, E any](s Slice) iter.Seq2[int, E]"}, + {"AppendSeq", Func, 23, "func[Slice ~[]E, E any](s Slice, seq iter.Seq[E]) Slice"}, + {"Backward", Func, 23, "func[Slice ~[]E, E any](s Slice) iter.Seq2[int, E]"}, + {"BinarySearch", Func, 21, "func[S ~[]E, E cmp.Ordered](x S, target E) (int, bool)"}, + {"BinarySearchFunc", Func, 21, "func[S ~[]E, E, T any](x S, target T, cmp func(E, T) int) (int, bool)"}, + {"Chunk", Func, 23, "func[Slice ~[]E, E any](s Slice, n int) iter.Seq[Slice]"}, + {"Clip", Func, 21, "func[S ~[]E, E any](s S) S"}, + {"Clone", Func, 21, "func[S ~[]E, E any](s S) S"}, + {"Collect", Func, 23, "func[E any](seq iter.Seq[E]) []E"}, + {"Compact", Func, 21, "func[S ~[]E, E comparable](s S) S"}, + {"CompactFunc", Func, 21, "func[S ~[]E, E any](s S, eq func(E, E) bool) S"}, + {"Compare", Func, 21, "func[S ~[]E, E cmp.Ordered](s1 S, s2 S) int"}, + {"CompareFunc", Func, 21, "func[S1 ~[]E1, S2 ~[]E2, E1, E2 any](s1 S1, s2 S2, cmp func(E1, E2) int) int"}, + {"Concat", Func, 22, "func[S ~[]E, E any](slices ...S) S"}, + {"Contains", Func, 21, "func[S ~[]E, E comparable](s S, v E) bool"}, + {"ContainsFunc", Func, 21, "func[S ~[]E, E any](s S, f func(E) bool) bool"}, + {"Delete", Func, 21, "func[S ~[]E, E any](s S, i int, j int) S"}, + {"DeleteFunc", Func, 21, "func[S ~[]E, E any](s S, del func(E) bool) S"}, + {"Equal", Func, 21, "func[S ~[]E, E comparable](s1 S, s2 S) bool"}, + {"EqualFunc", Func, 21, "func[S1 ~[]E1, S2 ~[]E2, E1, E2 any](s1 S1, s2 S2, eq func(E1, E2) bool) bool"}, + {"Grow", Func, 21, "func[S ~[]E, E any](s S, n int) S"}, + {"Index", Func, 21, "func[S ~[]E, E comparable](s S, v E) int"}, + {"IndexFunc", Func, 21, "func[S ~[]E, E any](s S, f func(E) bool) int"}, + {"Insert", Func, 21, "func[S ~[]E, E any](s S, i int, v ...E) S"}, + {"IsSorted", Func, 21, "func[S ~[]E, E cmp.Ordered](x S) bool"}, + {"IsSortedFunc", Func, 21, "func[S ~[]E, E any](x S, cmp func(a E, b E) int) bool"}, + {"Max", Func, 21, "func[S ~[]E, E cmp.Ordered](x S) E"}, + {"MaxFunc", Func, 21, "func[S ~[]E, E any](x S, cmp func(a E, b E) int) E"}, + {"Min", Func, 21, "func[S ~[]E, E cmp.Ordered](x S) E"}, + {"MinFunc", Func, 21, "func[S ~[]E, E any](x S, cmp func(a E, b E) int) E"}, + {"Repeat", Func, 23, "func[S ~[]E, E any](x S, count int) S"}, + {"Replace", Func, 21, "func[S ~[]E, E any](s S, i int, j int, v ...E) S"}, + {"Reverse", Func, 21, "func[S ~[]E, E any](s S)"}, + {"Sort", Func, 21, "func[S ~[]E, E cmp.Ordered](x S)"}, + {"SortFunc", Func, 21, "func[S ~[]E, E any](x S, cmp func(a E, b E) int)"}, + {"SortStableFunc", Func, 21, "func[S ~[]E, E any](x S, cmp func(a E, b E) int)"}, + {"Sorted", Func, 23, "func[E cmp.Ordered](seq iter.Seq[E]) []E"}, + {"SortedFunc", Func, 23, "func[E any](seq iter.Seq[E], cmp func(E, E) int) []E"}, + {"SortedStableFunc", Func, 23, "func[E any](seq iter.Seq[E], cmp func(E, E) int) []E"}, + {"Values", Func, 23, "func[Slice ~[]E, E any](s Slice) iter.Seq[E]"}, }, "sort": { - {"(Float64Slice).Len", Method, 0}, - {"(Float64Slice).Less", Method, 0}, - {"(Float64Slice).Search", Method, 0}, - {"(Float64Slice).Sort", Method, 0}, - {"(Float64Slice).Swap", Method, 0}, - {"(IntSlice).Len", Method, 0}, - {"(IntSlice).Less", Method, 0}, - {"(IntSlice).Search", Method, 0}, - {"(IntSlice).Sort", Method, 0}, - {"(IntSlice).Swap", Method, 0}, - {"(StringSlice).Len", Method, 0}, - {"(StringSlice).Less", Method, 0}, - {"(StringSlice).Search", Method, 0}, - {"(StringSlice).Sort", Method, 0}, - {"(StringSlice).Swap", Method, 0}, - {"Find", Func, 19}, - {"Float64Slice", Type, 0}, - {"Float64s", Func, 0}, - {"Float64sAreSorted", Func, 0}, - {"IntSlice", Type, 0}, - {"Interface", Type, 0}, - {"Ints", Func, 0}, - {"IntsAreSorted", Func, 0}, - {"IsSorted", Func, 0}, - {"Reverse", Func, 1}, - {"Search", Func, 0}, - {"SearchFloat64s", Func, 0}, - {"SearchInts", Func, 0}, - {"SearchStrings", Func, 0}, - {"Slice", Func, 8}, - {"SliceIsSorted", Func, 8}, - {"SliceStable", Func, 8}, - {"Sort", Func, 0}, - {"Stable", Func, 2}, - {"StringSlice", Type, 0}, - {"Strings", Func, 0}, - {"StringsAreSorted", Func, 0}, + {"(Float64Slice).Len", Method, 0, ""}, + {"(Float64Slice).Less", Method, 0, ""}, + {"(Float64Slice).Search", Method, 0, ""}, + {"(Float64Slice).Sort", Method, 0, ""}, + {"(Float64Slice).Swap", Method, 0, ""}, + {"(IntSlice).Len", Method, 0, ""}, + {"(IntSlice).Less", Method, 0, ""}, + {"(IntSlice).Search", Method, 0, ""}, + {"(IntSlice).Sort", Method, 0, ""}, + {"(IntSlice).Swap", Method, 0, ""}, + {"(StringSlice).Len", Method, 0, ""}, + {"(StringSlice).Less", Method, 0, ""}, + {"(StringSlice).Search", Method, 0, ""}, + {"(StringSlice).Sort", Method, 0, ""}, + {"(StringSlice).Swap", Method, 0, ""}, + {"Find", Func, 19, "func(n int, cmp func(int) int) (i int, found bool)"}, + {"Float64Slice", Type, 0, ""}, + {"Float64s", Func, 0, "func(x []float64)"}, + {"Float64sAreSorted", Func, 0, "func(x []float64) bool"}, + {"IntSlice", Type, 0, ""}, + {"Interface", Type, 0, ""}, + {"Ints", Func, 0, "func(x []int)"}, + {"IntsAreSorted", Func, 0, "func(x []int) bool"}, + {"IsSorted", Func, 0, "func(data Interface) bool"}, + {"Reverse", Func, 1, "func(data Interface) Interface"}, + {"Search", Func, 0, "func(n int, f func(int) bool) int"}, + {"SearchFloat64s", Func, 0, "func(a []float64, x float64) int"}, + {"SearchInts", Func, 0, "func(a []int, x int) int"}, + {"SearchStrings", Func, 0, "func(a []string, x string) int"}, + {"Slice", Func, 8, "func(x any, less func(i int, j int) bool)"}, + {"SliceIsSorted", Func, 8, "func(x any, less func(i int, j int) bool) bool"}, + {"SliceStable", Func, 8, "func(x any, less func(i int, j int) bool)"}, + {"Sort", Func, 0, "func(data Interface)"}, + {"Stable", Func, 2, "func(data Interface)"}, + {"StringSlice", Type, 0, ""}, + {"Strings", Func, 0, "func(x []string)"}, + {"StringsAreSorted", Func, 0, "func(x []string) bool"}, }, "strconv": { - {"(*NumError).Error", Method, 0}, - {"(*NumError).Unwrap", Method, 14}, - {"AppendBool", Func, 0}, - {"AppendFloat", Func, 0}, - {"AppendInt", Func, 0}, - {"AppendQuote", Func, 0}, - {"AppendQuoteRune", Func, 0}, - {"AppendQuoteRuneToASCII", Func, 0}, - {"AppendQuoteRuneToGraphic", Func, 6}, - {"AppendQuoteToASCII", Func, 0}, - {"AppendQuoteToGraphic", Func, 6}, - {"AppendUint", Func, 0}, - {"Atoi", Func, 0}, - {"CanBackquote", Func, 0}, - {"ErrRange", Var, 0}, - {"ErrSyntax", Var, 0}, - {"FormatBool", Func, 0}, - {"FormatComplex", Func, 15}, - {"FormatFloat", Func, 0}, - {"FormatInt", Func, 0}, - {"FormatUint", Func, 0}, - {"IntSize", Const, 0}, - {"IsGraphic", Func, 6}, - {"IsPrint", Func, 0}, - {"Itoa", Func, 0}, - {"NumError", Type, 0}, - {"NumError.Err", Field, 0}, - {"NumError.Func", Field, 0}, - {"NumError.Num", Field, 0}, - {"ParseBool", Func, 0}, - {"ParseComplex", Func, 15}, - {"ParseFloat", Func, 0}, - {"ParseInt", Func, 0}, - {"ParseUint", Func, 0}, - {"Quote", Func, 0}, - {"QuoteRune", Func, 0}, - {"QuoteRuneToASCII", Func, 0}, - {"QuoteRuneToGraphic", Func, 6}, - {"QuoteToASCII", Func, 0}, - {"QuoteToGraphic", Func, 6}, - {"QuotedPrefix", Func, 17}, - {"Unquote", Func, 0}, - {"UnquoteChar", Func, 0}, + {"(*NumError).Error", Method, 0, ""}, + {"(*NumError).Unwrap", Method, 14, ""}, + {"AppendBool", Func, 0, "func(dst []byte, b bool) []byte"}, + {"AppendFloat", Func, 0, "func(dst []byte, f float64, fmt byte, prec int, bitSize int) []byte"}, + {"AppendInt", Func, 0, "func(dst []byte, i int64, base int) []byte"}, + {"AppendQuote", Func, 0, "func(dst []byte, s string) []byte"}, + {"AppendQuoteRune", Func, 0, "func(dst []byte, r rune) []byte"}, + {"AppendQuoteRuneToASCII", Func, 0, "func(dst []byte, r rune) []byte"}, + {"AppendQuoteRuneToGraphic", Func, 6, "func(dst []byte, r rune) []byte"}, + {"AppendQuoteToASCII", Func, 0, "func(dst []byte, s string) []byte"}, + {"AppendQuoteToGraphic", Func, 6, "func(dst []byte, s string) []byte"}, + {"AppendUint", Func, 0, "func(dst []byte, i uint64, base int) []byte"}, + {"Atoi", Func, 0, "func(s string) (int, error)"}, + {"CanBackquote", Func, 0, "func(s string) bool"}, + {"ErrRange", Var, 0, ""}, + {"ErrSyntax", Var, 0, ""}, + {"FormatBool", Func, 0, "func(b bool) string"}, + {"FormatComplex", Func, 15, "func(c complex128, fmt byte, prec int, bitSize int) string"}, + {"FormatFloat", Func, 0, "func(f float64, fmt byte, prec int, bitSize int) string"}, + {"FormatInt", Func, 0, "func(i int64, base int) string"}, + {"FormatUint", Func, 0, "func(i uint64, base int) string"}, + {"IntSize", Const, 0, ""}, + {"IsGraphic", Func, 6, "func(r rune) bool"}, + {"IsPrint", Func, 0, "func(r rune) bool"}, + {"Itoa", Func, 0, "func(i int) string"}, + {"NumError", Type, 0, ""}, + {"NumError.Err", Field, 0, ""}, + {"NumError.Func", Field, 0, ""}, + {"NumError.Num", Field, 0, ""}, + {"ParseBool", Func, 0, "func(str string) (bool, error)"}, + {"ParseComplex", Func, 15, "func(s string, bitSize int) (complex128, error)"}, + {"ParseFloat", Func, 0, "func(s string, bitSize int) (float64, error)"}, + {"ParseInt", Func, 0, "func(s string, base int, bitSize int) (i int64, err error)"}, + {"ParseUint", Func, 0, "func(s string, base int, bitSize int) (uint64, error)"}, + {"Quote", Func, 0, "func(s string) string"}, + {"QuoteRune", Func, 0, "func(r rune) string"}, + {"QuoteRuneToASCII", Func, 0, "func(r rune) string"}, + {"QuoteRuneToGraphic", Func, 6, "func(r rune) string"}, + {"QuoteToASCII", Func, 0, "func(s string) string"}, + {"QuoteToGraphic", Func, 6, "func(s string) string"}, + {"QuotedPrefix", Func, 17, "func(s string) (string, error)"}, + {"Unquote", Func, 0, "func(s string) (string, error)"}, + {"UnquoteChar", Func, 0, "func(s string, quote byte) (value rune, multibyte bool, tail string, err error)"}, }, "strings": { - {"(*Builder).Cap", Method, 12}, - {"(*Builder).Grow", Method, 10}, - {"(*Builder).Len", Method, 10}, - {"(*Builder).Reset", Method, 10}, - {"(*Builder).String", Method, 10}, - {"(*Builder).Write", Method, 10}, - {"(*Builder).WriteByte", Method, 10}, - {"(*Builder).WriteRune", Method, 10}, - {"(*Builder).WriteString", Method, 10}, - {"(*Reader).Len", Method, 0}, - {"(*Reader).Read", Method, 0}, - {"(*Reader).ReadAt", Method, 0}, - {"(*Reader).ReadByte", Method, 0}, - {"(*Reader).ReadRune", Method, 0}, - {"(*Reader).Reset", Method, 7}, - {"(*Reader).Seek", Method, 0}, - {"(*Reader).Size", Method, 5}, - {"(*Reader).UnreadByte", Method, 0}, - {"(*Reader).UnreadRune", Method, 0}, - {"(*Reader).WriteTo", Method, 1}, - {"(*Replacer).Replace", Method, 0}, - {"(*Replacer).WriteString", Method, 0}, - {"Builder", Type, 10}, - {"Clone", Func, 18}, - {"Compare", Func, 5}, - {"Contains", Func, 0}, - {"ContainsAny", Func, 0}, - {"ContainsFunc", Func, 21}, - {"ContainsRune", Func, 0}, - {"Count", Func, 0}, - {"Cut", Func, 18}, - {"CutPrefix", Func, 20}, - {"CutSuffix", Func, 20}, - {"EqualFold", Func, 0}, - {"Fields", Func, 0}, - {"FieldsFunc", Func, 0}, - {"FieldsFuncSeq", Func, 24}, - {"FieldsSeq", Func, 24}, - {"HasPrefix", Func, 0}, - {"HasSuffix", Func, 0}, - {"Index", Func, 0}, - {"IndexAny", Func, 0}, - {"IndexByte", Func, 2}, - {"IndexFunc", Func, 0}, - {"IndexRune", Func, 0}, - {"Join", Func, 0}, - {"LastIndex", Func, 0}, - {"LastIndexAny", Func, 0}, - {"LastIndexByte", Func, 5}, - {"LastIndexFunc", Func, 0}, - {"Lines", Func, 24}, - {"Map", Func, 0}, - {"NewReader", Func, 0}, - {"NewReplacer", Func, 0}, - {"Reader", Type, 0}, - {"Repeat", Func, 0}, - {"Replace", Func, 0}, - {"ReplaceAll", Func, 12}, - {"Replacer", Type, 0}, - {"Split", Func, 0}, - {"SplitAfter", Func, 0}, - {"SplitAfterN", Func, 0}, - {"SplitAfterSeq", Func, 24}, - {"SplitN", Func, 0}, - {"SplitSeq", Func, 24}, - {"Title", Func, 0}, - {"ToLower", Func, 0}, - {"ToLowerSpecial", Func, 0}, - {"ToTitle", Func, 0}, - {"ToTitleSpecial", Func, 0}, - {"ToUpper", Func, 0}, - {"ToUpperSpecial", Func, 0}, - {"ToValidUTF8", Func, 13}, - {"Trim", Func, 0}, - {"TrimFunc", Func, 0}, - {"TrimLeft", Func, 0}, - {"TrimLeftFunc", Func, 0}, - {"TrimPrefix", Func, 1}, - {"TrimRight", Func, 0}, - {"TrimRightFunc", Func, 0}, - {"TrimSpace", Func, 0}, - {"TrimSuffix", Func, 1}, + {"(*Builder).Cap", Method, 12, ""}, + {"(*Builder).Grow", Method, 10, ""}, + {"(*Builder).Len", Method, 10, ""}, + {"(*Builder).Reset", Method, 10, ""}, + {"(*Builder).String", Method, 10, ""}, + {"(*Builder).Write", Method, 10, ""}, + {"(*Builder).WriteByte", Method, 10, ""}, + {"(*Builder).WriteRune", Method, 10, ""}, + {"(*Builder).WriteString", Method, 10, ""}, + {"(*Reader).Len", Method, 0, ""}, + {"(*Reader).Read", Method, 0, ""}, + {"(*Reader).ReadAt", Method, 0, ""}, + {"(*Reader).ReadByte", Method, 0, ""}, + {"(*Reader).ReadRune", Method, 0, ""}, + {"(*Reader).Reset", Method, 7, ""}, + {"(*Reader).Seek", Method, 0, ""}, + {"(*Reader).Size", Method, 5, ""}, + {"(*Reader).UnreadByte", Method, 0, ""}, + {"(*Reader).UnreadRune", Method, 0, ""}, + {"(*Reader).WriteTo", Method, 1, ""}, + {"(*Replacer).Replace", Method, 0, ""}, + {"(*Replacer).WriteString", Method, 0, ""}, + {"Builder", Type, 10, ""}, + {"Clone", Func, 18, "func(s string) string"}, + {"Compare", Func, 5, "func(a string, b string) int"}, + {"Contains", Func, 0, "func(s string, substr string) bool"}, + {"ContainsAny", Func, 0, "func(s string, chars string) bool"}, + {"ContainsFunc", Func, 21, "func(s string, f func(rune) bool) bool"}, + {"ContainsRune", Func, 0, "func(s string, r rune) bool"}, + {"Count", Func, 0, "func(s string, substr string) int"}, + {"Cut", Func, 18, "func(s string, sep string) (before string, after string, found bool)"}, + {"CutPrefix", Func, 20, "func(s string, prefix string) (after string, found bool)"}, + {"CutSuffix", Func, 20, "func(s string, suffix string) (before string, found bool)"}, + {"EqualFold", Func, 0, "func(s string, t string) bool"}, + {"Fields", Func, 0, "func(s string) []string"}, + {"FieldsFunc", Func, 0, "func(s string, f func(rune) bool) []string"}, + {"FieldsFuncSeq", Func, 24, "func(s string, f func(rune) bool) iter.Seq[string]"}, + {"FieldsSeq", Func, 24, "func(s string) iter.Seq[string]"}, + {"HasPrefix", Func, 0, "func(s string, prefix string) bool"}, + {"HasSuffix", Func, 0, "func(s string, suffix string) bool"}, + {"Index", Func, 0, "func(s string, substr string) int"}, + {"IndexAny", Func, 0, "func(s string, chars string) int"}, + {"IndexByte", Func, 2, "func(s string, c byte) int"}, + {"IndexFunc", Func, 0, "func(s string, f func(rune) bool) int"}, + {"IndexRune", Func, 0, "func(s string, r rune) int"}, + {"Join", Func, 0, "func(elems []string, sep string) string"}, + {"LastIndex", Func, 0, "func(s string, substr string) int"}, + {"LastIndexAny", Func, 0, "func(s string, chars string) int"}, + {"LastIndexByte", Func, 5, "func(s string, c byte) int"}, + {"LastIndexFunc", Func, 0, "func(s string, f func(rune) bool) int"}, + {"Lines", Func, 24, "func(s string) iter.Seq[string]"}, + {"Map", Func, 0, "func(mapping func(rune) rune, s string) string"}, + {"NewReader", Func, 0, "func(s string) *Reader"}, + {"NewReplacer", Func, 0, "func(oldnew ...string) *Replacer"}, + {"Reader", Type, 0, ""}, + {"Repeat", Func, 0, "func(s string, count int) string"}, + {"Replace", Func, 0, "func(s string, old string, new string, n int) string"}, + {"ReplaceAll", Func, 12, "func(s string, old string, new string) string"}, + {"Replacer", Type, 0, ""}, + {"Split", Func, 0, "func(s string, sep string) []string"}, + {"SplitAfter", Func, 0, "func(s string, sep string) []string"}, + {"SplitAfterN", Func, 0, "func(s string, sep string, n int) []string"}, + {"SplitAfterSeq", Func, 24, "func(s string, sep string) iter.Seq[string]"}, + {"SplitN", Func, 0, "func(s string, sep string, n int) []string"}, + {"SplitSeq", Func, 24, "func(s string, sep string) iter.Seq[string]"}, + {"Title", Func, 0, "func(s string) string"}, + {"ToLower", Func, 0, "func(s string) string"}, + {"ToLowerSpecial", Func, 0, "func(c unicode.SpecialCase, s string) string"}, + {"ToTitle", Func, 0, "func(s string) string"}, + {"ToTitleSpecial", Func, 0, "func(c unicode.SpecialCase, s string) string"}, + {"ToUpper", Func, 0, "func(s string) string"}, + {"ToUpperSpecial", Func, 0, "func(c unicode.SpecialCase, s string) string"}, + {"ToValidUTF8", Func, 13, "func(s string, replacement string) string"}, + {"Trim", Func, 0, "func(s string, cutset string) string"}, + {"TrimFunc", Func, 0, "func(s string, f func(rune) bool) string"}, + {"TrimLeft", Func, 0, "func(s string, cutset string) string"}, + {"TrimLeftFunc", Func, 0, "func(s string, f func(rune) bool) string"}, + {"TrimPrefix", Func, 1, "func(s string, prefix string) string"}, + {"TrimRight", Func, 0, "func(s string, cutset string) string"}, + {"TrimRightFunc", Func, 0, "func(s string, f func(rune) bool) string"}, + {"TrimSpace", Func, 0, "func(s string) string"}, + {"TrimSuffix", Func, 1, "func(s string, suffix string) string"}, }, "structs": { - {"HostLayout", Type, 23}, + {"HostLayout", Type, 23, ""}, }, "sync": { - {"(*Cond).Broadcast", Method, 0}, - {"(*Cond).Signal", Method, 0}, - {"(*Cond).Wait", Method, 0}, - {"(*Map).Clear", Method, 23}, - {"(*Map).CompareAndDelete", Method, 20}, - {"(*Map).CompareAndSwap", Method, 20}, - {"(*Map).Delete", Method, 9}, - {"(*Map).Load", Method, 9}, - {"(*Map).LoadAndDelete", Method, 15}, - {"(*Map).LoadOrStore", Method, 9}, - {"(*Map).Range", Method, 9}, - {"(*Map).Store", Method, 9}, - {"(*Map).Swap", Method, 20}, - {"(*Mutex).Lock", Method, 0}, - {"(*Mutex).TryLock", Method, 18}, - {"(*Mutex).Unlock", Method, 0}, - {"(*Once).Do", Method, 0}, - {"(*Pool).Get", Method, 3}, - {"(*Pool).Put", Method, 3}, - {"(*RWMutex).Lock", Method, 0}, - {"(*RWMutex).RLock", Method, 0}, - {"(*RWMutex).RLocker", Method, 0}, - {"(*RWMutex).RUnlock", Method, 0}, - {"(*RWMutex).TryLock", Method, 18}, - {"(*RWMutex).TryRLock", Method, 18}, - {"(*RWMutex).Unlock", Method, 0}, - {"(*WaitGroup).Add", Method, 0}, - {"(*WaitGroup).Done", Method, 0}, - {"(*WaitGroup).Wait", Method, 0}, - {"Cond", Type, 0}, - {"Cond.L", Field, 0}, - {"Locker", Type, 0}, - {"Map", Type, 9}, - {"Mutex", Type, 0}, - {"NewCond", Func, 0}, - {"Once", Type, 0}, - {"OnceFunc", Func, 21}, - {"OnceValue", Func, 21}, - {"OnceValues", Func, 21}, - {"Pool", Type, 3}, - {"Pool.New", Field, 3}, - {"RWMutex", Type, 0}, - {"WaitGroup", Type, 0}, + {"(*Cond).Broadcast", Method, 0, ""}, + {"(*Cond).Signal", Method, 0, ""}, + {"(*Cond).Wait", Method, 0, ""}, + {"(*Map).Clear", Method, 23, ""}, + {"(*Map).CompareAndDelete", Method, 20, ""}, + {"(*Map).CompareAndSwap", Method, 20, ""}, + {"(*Map).Delete", Method, 9, ""}, + {"(*Map).Load", Method, 9, ""}, + {"(*Map).LoadAndDelete", Method, 15, ""}, + {"(*Map).LoadOrStore", Method, 9, ""}, + {"(*Map).Range", Method, 9, ""}, + {"(*Map).Store", Method, 9, ""}, + {"(*Map).Swap", Method, 20, ""}, + {"(*Mutex).Lock", Method, 0, ""}, + {"(*Mutex).TryLock", Method, 18, ""}, + {"(*Mutex).Unlock", Method, 0, ""}, + {"(*Once).Do", Method, 0, ""}, + {"(*Pool).Get", Method, 3, ""}, + {"(*Pool).Put", Method, 3, ""}, + {"(*RWMutex).Lock", Method, 0, ""}, + {"(*RWMutex).RLock", Method, 0, ""}, + {"(*RWMutex).RLocker", Method, 0, ""}, + {"(*RWMutex).RUnlock", Method, 0, ""}, + {"(*RWMutex).TryLock", Method, 18, ""}, + {"(*RWMutex).TryRLock", Method, 18, ""}, + {"(*RWMutex).Unlock", Method, 0, ""}, + {"(*WaitGroup).Add", Method, 0, ""}, + {"(*WaitGroup).Done", Method, 0, ""}, + {"(*WaitGroup).Go", Method, 25, ""}, + {"(*WaitGroup).Wait", Method, 0, ""}, + {"Cond", Type, 0, ""}, + {"Cond.L", Field, 0, ""}, + {"Locker", Type, 0, ""}, + {"Map", Type, 9, ""}, + {"Mutex", Type, 0, ""}, + {"NewCond", Func, 0, "func(l Locker) *Cond"}, + {"Once", Type, 0, ""}, + {"OnceFunc", Func, 21, "func(f func()) func()"}, + {"OnceValue", Func, 21, "func[T any](f func() T) func() T"}, + {"OnceValues", Func, 21, "func[T1, T2 any](f func() (T1, T2)) func() (T1, T2)"}, + {"Pool", Type, 3, ""}, + {"Pool.New", Field, 3, ""}, + {"RWMutex", Type, 0, ""}, + {"WaitGroup", Type, 0, ""}, }, "sync/atomic": { - {"(*Bool).CompareAndSwap", Method, 19}, - {"(*Bool).Load", Method, 19}, - {"(*Bool).Store", Method, 19}, - {"(*Bool).Swap", Method, 19}, - {"(*Int32).Add", Method, 19}, - {"(*Int32).And", Method, 23}, - {"(*Int32).CompareAndSwap", Method, 19}, - {"(*Int32).Load", Method, 19}, - {"(*Int32).Or", Method, 23}, - {"(*Int32).Store", Method, 19}, - {"(*Int32).Swap", Method, 19}, - {"(*Int64).Add", Method, 19}, - {"(*Int64).And", Method, 23}, - {"(*Int64).CompareAndSwap", Method, 19}, - {"(*Int64).Load", Method, 19}, - {"(*Int64).Or", Method, 23}, - {"(*Int64).Store", Method, 19}, - {"(*Int64).Swap", Method, 19}, - {"(*Pointer).CompareAndSwap", Method, 19}, - {"(*Pointer).Load", Method, 19}, - {"(*Pointer).Store", Method, 19}, - {"(*Pointer).Swap", Method, 19}, - {"(*Uint32).Add", Method, 19}, - {"(*Uint32).And", Method, 23}, - {"(*Uint32).CompareAndSwap", Method, 19}, - {"(*Uint32).Load", Method, 19}, - {"(*Uint32).Or", Method, 23}, - {"(*Uint32).Store", Method, 19}, - {"(*Uint32).Swap", Method, 19}, - {"(*Uint64).Add", Method, 19}, - {"(*Uint64).And", Method, 23}, - {"(*Uint64).CompareAndSwap", Method, 19}, - {"(*Uint64).Load", Method, 19}, - {"(*Uint64).Or", Method, 23}, - {"(*Uint64).Store", Method, 19}, - {"(*Uint64).Swap", Method, 19}, - {"(*Uintptr).Add", Method, 19}, - {"(*Uintptr).And", Method, 23}, - {"(*Uintptr).CompareAndSwap", Method, 19}, - {"(*Uintptr).Load", Method, 19}, - {"(*Uintptr).Or", Method, 23}, - {"(*Uintptr).Store", Method, 19}, - {"(*Uintptr).Swap", Method, 19}, - {"(*Value).CompareAndSwap", Method, 17}, - {"(*Value).Load", Method, 4}, - {"(*Value).Store", Method, 4}, - {"(*Value).Swap", Method, 17}, - {"AddInt32", Func, 0}, - {"AddInt64", Func, 0}, - {"AddUint32", Func, 0}, - {"AddUint64", Func, 0}, - {"AddUintptr", Func, 0}, - {"AndInt32", Func, 23}, - {"AndInt64", Func, 23}, - {"AndUint32", Func, 23}, - {"AndUint64", Func, 23}, - {"AndUintptr", Func, 23}, - {"Bool", Type, 19}, - {"CompareAndSwapInt32", Func, 0}, - {"CompareAndSwapInt64", Func, 0}, - {"CompareAndSwapPointer", Func, 0}, - {"CompareAndSwapUint32", Func, 0}, - {"CompareAndSwapUint64", Func, 0}, - {"CompareAndSwapUintptr", Func, 0}, - {"Int32", Type, 19}, - {"Int64", Type, 19}, - {"LoadInt32", Func, 0}, - {"LoadInt64", Func, 0}, - {"LoadPointer", Func, 0}, - {"LoadUint32", Func, 0}, - {"LoadUint64", Func, 0}, - {"LoadUintptr", Func, 0}, - {"OrInt32", Func, 23}, - {"OrInt64", Func, 23}, - {"OrUint32", Func, 23}, - {"OrUint64", Func, 23}, - {"OrUintptr", Func, 23}, - {"Pointer", Type, 19}, - {"StoreInt32", Func, 0}, - {"StoreInt64", Func, 0}, - {"StorePointer", Func, 0}, - {"StoreUint32", Func, 0}, - {"StoreUint64", Func, 0}, - {"StoreUintptr", Func, 0}, - {"SwapInt32", Func, 2}, - {"SwapInt64", Func, 2}, - {"SwapPointer", Func, 2}, - {"SwapUint32", Func, 2}, - {"SwapUint64", Func, 2}, - {"SwapUintptr", Func, 2}, - {"Uint32", Type, 19}, - {"Uint64", Type, 19}, - {"Uintptr", Type, 19}, - {"Value", Type, 4}, + {"(*Bool).CompareAndSwap", Method, 19, ""}, + {"(*Bool).Load", Method, 19, ""}, + {"(*Bool).Store", Method, 19, ""}, + {"(*Bool).Swap", Method, 19, ""}, + {"(*Int32).Add", Method, 19, ""}, + {"(*Int32).And", Method, 23, ""}, + {"(*Int32).CompareAndSwap", Method, 19, ""}, + {"(*Int32).Load", Method, 19, ""}, + {"(*Int32).Or", Method, 23, ""}, + {"(*Int32).Store", Method, 19, ""}, + {"(*Int32).Swap", Method, 19, ""}, + {"(*Int64).Add", Method, 19, ""}, + {"(*Int64).And", Method, 23, ""}, + {"(*Int64).CompareAndSwap", Method, 19, ""}, + {"(*Int64).Load", Method, 19, ""}, + {"(*Int64).Or", Method, 23, ""}, + {"(*Int64).Store", Method, 19, ""}, + {"(*Int64).Swap", Method, 19, ""}, + {"(*Pointer).CompareAndSwap", Method, 19, ""}, + {"(*Pointer).Load", Method, 19, ""}, + {"(*Pointer).Store", Method, 19, ""}, + {"(*Pointer).Swap", Method, 19, ""}, + {"(*Uint32).Add", Method, 19, ""}, + {"(*Uint32).And", Method, 23, ""}, + {"(*Uint32).CompareAndSwap", Method, 19, ""}, + {"(*Uint32).Load", Method, 19, ""}, + {"(*Uint32).Or", Method, 23, ""}, + {"(*Uint32).Store", Method, 19, ""}, + {"(*Uint32).Swap", Method, 19, ""}, + {"(*Uint64).Add", Method, 19, ""}, + {"(*Uint64).And", Method, 23, ""}, + {"(*Uint64).CompareAndSwap", Method, 19, ""}, + {"(*Uint64).Load", Method, 19, ""}, + {"(*Uint64).Or", Method, 23, ""}, + {"(*Uint64).Store", Method, 19, ""}, + {"(*Uint64).Swap", Method, 19, ""}, + {"(*Uintptr).Add", Method, 19, ""}, + {"(*Uintptr).And", Method, 23, ""}, + {"(*Uintptr).CompareAndSwap", Method, 19, ""}, + {"(*Uintptr).Load", Method, 19, ""}, + {"(*Uintptr).Or", Method, 23, ""}, + {"(*Uintptr).Store", Method, 19, ""}, + {"(*Uintptr).Swap", Method, 19, ""}, + {"(*Value).CompareAndSwap", Method, 17, ""}, + {"(*Value).Load", Method, 4, ""}, + {"(*Value).Store", Method, 4, ""}, + {"(*Value).Swap", Method, 17, ""}, + {"AddInt32", Func, 0, "func(addr *int32, delta int32) (new int32)"}, + {"AddInt64", Func, 0, "func(addr *int64, delta int64) (new int64)"}, + {"AddUint32", Func, 0, "func(addr *uint32, delta uint32) (new uint32)"}, + {"AddUint64", Func, 0, "func(addr *uint64, delta uint64) (new uint64)"}, + {"AddUintptr", Func, 0, "func(addr *uintptr, delta uintptr) (new uintptr)"}, + {"AndInt32", Func, 23, "func(addr *int32, mask int32) (old int32)"}, + {"AndInt64", Func, 23, "func(addr *int64, mask int64) (old int64)"}, + {"AndUint32", Func, 23, "func(addr *uint32, mask uint32) (old uint32)"}, + {"AndUint64", Func, 23, "func(addr *uint64, mask uint64) (old uint64)"}, + {"AndUintptr", Func, 23, "func(addr *uintptr, mask uintptr) (old uintptr)"}, + {"Bool", Type, 19, ""}, + {"CompareAndSwapInt32", Func, 0, "func(addr *int32, old int32, new int32) (swapped bool)"}, + {"CompareAndSwapInt64", Func, 0, "func(addr *int64, old int64, new int64) (swapped bool)"}, + {"CompareAndSwapPointer", Func, 0, "func(addr *unsafe.Pointer, old unsafe.Pointer, new unsafe.Pointer) (swapped bool)"}, + {"CompareAndSwapUint32", Func, 0, "func(addr *uint32, old uint32, new uint32) (swapped bool)"}, + {"CompareAndSwapUint64", Func, 0, "func(addr *uint64, old uint64, new uint64) (swapped bool)"}, + {"CompareAndSwapUintptr", Func, 0, "func(addr *uintptr, old uintptr, new uintptr) (swapped bool)"}, + {"Int32", Type, 19, ""}, + {"Int64", Type, 19, ""}, + {"LoadInt32", Func, 0, "func(addr *int32) (val int32)"}, + {"LoadInt64", Func, 0, "func(addr *int64) (val int64)"}, + {"LoadPointer", Func, 0, "func(addr *unsafe.Pointer) (val unsafe.Pointer)"}, + {"LoadUint32", Func, 0, "func(addr *uint32) (val uint32)"}, + {"LoadUint64", Func, 0, "func(addr *uint64) (val uint64)"}, + {"LoadUintptr", Func, 0, "func(addr *uintptr) (val uintptr)"}, + {"OrInt32", Func, 23, "func(addr *int32, mask int32) (old int32)"}, + {"OrInt64", Func, 23, "func(addr *int64, mask int64) (old int64)"}, + {"OrUint32", Func, 23, "func(addr *uint32, mask uint32) (old uint32)"}, + {"OrUint64", Func, 23, "func(addr *uint64, mask uint64) (old uint64)"}, + {"OrUintptr", Func, 23, "func(addr *uintptr, mask uintptr) (old uintptr)"}, + {"Pointer", Type, 19, ""}, + {"StoreInt32", Func, 0, "func(addr *int32, val int32)"}, + {"StoreInt64", Func, 0, "func(addr *int64, val int64)"}, + {"StorePointer", Func, 0, "func(addr *unsafe.Pointer, val unsafe.Pointer)"}, + {"StoreUint32", Func, 0, "func(addr *uint32, val uint32)"}, + {"StoreUint64", Func, 0, "func(addr *uint64, val uint64)"}, + {"StoreUintptr", Func, 0, "func(addr *uintptr, val uintptr)"}, + {"SwapInt32", Func, 2, "func(addr *int32, new int32) (old int32)"}, + {"SwapInt64", Func, 2, "func(addr *int64, new int64) (old int64)"}, + {"SwapPointer", Func, 2, "func(addr *unsafe.Pointer, new unsafe.Pointer) (old unsafe.Pointer)"}, + {"SwapUint32", Func, 2, "func(addr *uint32, new uint32) (old uint32)"}, + {"SwapUint64", Func, 2, "func(addr *uint64, new uint64) (old uint64)"}, + {"SwapUintptr", Func, 2, "func(addr *uintptr, new uintptr) (old uintptr)"}, + {"Uint32", Type, 19, ""}, + {"Uint64", Type, 19, ""}, + {"Uintptr", Type, 19, ""}, + {"Value", Type, 4, ""}, }, "syscall": { - {"(*Cmsghdr).SetLen", Method, 0}, - {"(*DLL).FindProc", Method, 0}, - {"(*DLL).MustFindProc", Method, 0}, - {"(*DLL).Release", Method, 0}, - {"(*DLLError).Error", Method, 0}, - {"(*DLLError).Unwrap", Method, 16}, - {"(*Filetime).Nanoseconds", Method, 0}, - {"(*Iovec).SetLen", Method, 0}, - {"(*LazyDLL).Handle", Method, 0}, - {"(*LazyDLL).Load", Method, 0}, - {"(*LazyDLL).NewProc", Method, 0}, - {"(*LazyProc).Addr", Method, 0}, - {"(*LazyProc).Call", Method, 0}, - {"(*LazyProc).Find", Method, 0}, - {"(*Msghdr).SetControllen", Method, 0}, - {"(*Proc).Addr", Method, 0}, - {"(*Proc).Call", Method, 0}, - {"(*PtraceRegs).PC", Method, 0}, - {"(*PtraceRegs).SetPC", Method, 0}, - {"(*RawSockaddrAny).Sockaddr", Method, 0}, - {"(*SID).Copy", Method, 0}, - {"(*SID).Len", Method, 0}, - {"(*SID).LookupAccount", Method, 0}, - {"(*SID).String", Method, 0}, - {"(*Timespec).Nano", Method, 0}, - {"(*Timespec).Unix", Method, 0}, - {"(*Timeval).Nano", Method, 0}, - {"(*Timeval).Nanoseconds", Method, 0}, - {"(*Timeval).Unix", Method, 0}, - {"(Errno).Error", Method, 0}, - {"(Errno).Is", Method, 13}, - {"(Errno).Temporary", Method, 0}, - {"(Errno).Timeout", Method, 0}, - {"(Signal).Signal", Method, 0}, - {"(Signal).String", Method, 0}, - {"(Token).Close", Method, 0}, - {"(Token).GetTokenPrimaryGroup", Method, 0}, - {"(Token).GetTokenUser", Method, 0}, - {"(Token).GetUserProfileDirectory", Method, 0}, - {"(WaitStatus).Continued", Method, 0}, - {"(WaitStatus).CoreDump", Method, 0}, - {"(WaitStatus).ExitStatus", Method, 0}, - {"(WaitStatus).Exited", Method, 0}, - {"(WaitStatus).Signal", Method, 0}, - {"(WaitStatus).Signaled", Method, 0}, - {"(WaitStatus).StopSignal", Method, 0}, - {"(WaitStatus).Stopped", Method, 0}, - {"(WaitStatus).TrapCause", Method, 0}, - {"AF_ALG", Const, 0}, - {"AF_APPLETALK", Const, 0}, - {"AF_ARP", Const, 0}, - {"AF_ASH", Const, 0}, - {"AF_ATM", Const, 0}, - {"AF_ATMPVC", Const, 0}, - {"AF_ATMSVC", Const, 0}, - {"AF_AX25", Const, 0}, - {"AF_BLUETOOTH", Const, 0}, - {"AF_BRIDGE", Const, 0}, - {"AF_CAIF", Const, 0}, - {"AF_CAN", Const, 0}, - {"AF_CCITT", Const, 0}, - {"AF_CHAOS", Const, 0}, - {"AF_CNT", Const, 0}, - {"AF_COIP", Const, 0}, - {"AF_DATAKIT", Const, 0}, - {"AF_DECnet", Const, 0}, - {"AF_DLI", Const, 0}, - {"AF_E164", Const, 0}, - {"AF_ECMA", Const, 0}, - {"AF_ECONET", Const, 0}, - {"AF_ENCAP", Const, 1}, - {"AF_FILE", Const, 0}, - {"AF_HYLINK", Const, 0}, - {"AF_IEEE80211", Const, 0}, - {"AF_IEEE802154", Const, 0}, - {"AF_IMPLINK", Const, 0}, - {"AF_INET", Const, 0}, - {"AF_INET6", Const, 0}, - {"AF_INET6_SDP", Const, 3}, - {"AF_INET_SDP", Const, 3}, - {"AF_IPX", Const, 0}, - {"AF_IRDA", Const, 0}, - {"AF_ISDN", Const, 0}, - {"AF_ISO", Const, 0}, - {"AF_IUCV", Const, 0}, - {"AF_KEY", Const, 0}, - {"AF_LAT", Const, 0}, - {"AF_LINK", Const, 0}, - {"AF_LLC", Const, 0}, - {"AF_LOCAL", Const, 0}, - {"AF_MAX", Const, 0}, - {"AF_MPLS", Const, 1}, - {"AF_NATM", Const, 0}, - {"AF_NDRV", Const, 0}, - {"AF_NETBEUI", Const, 0}, - {"AF_NETBIOS", Const, 0}, - {"AF_NETGRAPH", Const, 0}, - {"AF_NETLINK", Const, 0}, - {"AF_NETROM", Const, 0}, - {"AF_NS", Const, 0}, - {"AF_OROUTE", Const, 1}, - {"AF_OSI", Const, 0}, - {"AF_PACKET", Const, 0}, - {"AF_PHONET", Const, 0}, - {"AF_PPP", Const, 0}, - {"AF_PPPOX", Const, 0}, - {"AF_PUP", Const, 0}, - {"AF_RDS", Const, 0}, - {"AF_RESERVED_36", Const, 0}, - {"AF_ROSE", Const, 0}, - {"AF_ROUTE", Const, 0}, - {"AF_RXRPC", Const, 0}, - {"AF_SCLUSTER", Const, 0}, - {"AF_SECURITY", Const, 0}, - {"AF_SIP", Const, 0}, - {"AF_SLOW", Const, 0}, - {"AF_SNA", Const, 0}, - {"AF_SYSTEM", Const, 0}, - {"AF_TIPC", Const, 0}, - {"AF_UNIX", Const, 0}, - {"AF_UNSPEC", Const, 0}, - {"AF_UTUN", Const, 16}, - {"AF_VENDOR00", Const, 0}, - {"AF_VENDOR01", Const, 0}, - {"AF_VENDOR02", Const, 0}, - {"AF_VENDOR03", Const, 0}, - {"AF_VENDOR04", Const, 0}, - {"AF_VENDOR05", Const, 0}, - {"AF_VENDOR06", Const, 0}, - {"AF_VENDOR07", Const, 0}, - {"AF_VENDOR08", Const, 0}, - {"AF_VENDOR09", Const, 0}, - {"AF_VENDOR10", Const, 0}, - {"AF_VENDOR11", Const, 0}, - {"AF_VENDOR12", Const, 0}, - {"AF_VENDOR13", Const, 0}, - {"AF_VENDOR14", Const, 0}, - {"AF_VENDOR15", Const, 0}, - {"AF_VENDOR16", Const, 0}, - {"AF_VENDOR17", Const, 0}, - {"AF_VENDOR18", Const, 0}, - {"AF_VENDOR19", Const, 0}, - {"AF_VENDOR20", Const, 0}, - {"AF_VENDOR21", Const, 0}, - {"AF_VENDOR22", Const, 0}, - {"AF_VENDOR23", Const, 0}, - {"AF_VENDOR24", Const, 0}, - {"AF_VENDOR25", Const, 0}, - {"AF_VENDOR26", Const, 0}, - {"AF_VENDOR27", Const, 0}, - {"AF_VENDOR28", Const, 0}, - {"AF_VENDOR29", Const, 0}, - {"AF_VENDOR30", Const, 0}, - {"AF_VENDOR31", Const, 0}, - {"AF_VENDOR32", Const, 0}, - {"AF_VENDOR33", Const, 0}, - {"AF_VENDOR34", Const, 0}, - {"AF_VENDOR35", Const, 0}, - {"AF_VENDOR36", Const, 0}, - {"AF_VENDOR37", Const, 0}, - {"AF_VENDOR38", Const, 0}, - {"AF_VENDOR39", Const, 0}, - {"AF_VENDOR40", Const, 0}, - {"AF_VENDOR41", Const, 0}, - {"AF_VENDOR42", Const, 0}, - {"AF_VENDOR43", Const, 0}, - {"AF_VENDOR44", Const, 0}, - {"AF_VENDOR45", Const, 0}, - {"AF_VENDOR46", Const, 0}, - {"AF_VENDOR47", Const, 0}, - {"AF_WANPIPE", Const, 0}, - {"AF_X25", Const, 0}, - {"AI_CANONNAME", Const, 1}, - {"AI_NUMERICHOST", Const, 1}, - {"AI_PASSIVE", Const, 1}, - {"APPLICATION_ERROR", Const, 0}, - {"ARPHRD_ADAPT", Const, 0}, - {"ARPHRD_APPLETLK", Const, 0}, - {"ARPHRD_ARCNET", Const, 0}, - {"ARPHRD_ASH", Const, 0}, - {"ARPHRD_ATM", Const, 0}, - {"ARPHRD_AX25", Const, 0}, - {"ARPHRD_BIF", Const, 0}, - {"ARPHRD_CHAOS", Const, 0}, - {"ARPHRD_CISCO", Const, 0}, - {"ARPHRD_CSLIP", Const, 0}, - {"ARPHRD_CSLIP6", Const, 0}, - {"ARPHRD_DDCMP", Const, 0}, - {"ARPHRD_DLCI", Const, 0}, - {"ARPHRD_ECONET", Const, 0}, - {"ARPHRD_EETHER", Const, 0}, - {"ARPHRD_ETHER", Const, 0}, - {"ARPHRD_EUI64", Const, 0}, - {"ARPHRD_FCAL", Const, 0}, - {"ARPHRD_FCFABRIC", Const, 0}, - {"ARPHRD_FCPL", Const, 0}, - {"ARPHRD_FCPP", Const, 0}, - {"ARPHRD_FDDI", Const, 0}, - {"ARPHRD_FRAD", Const, 0}, - {"ARPHRD_FRELAY", Const, 1}, - {"ARPHRD_HDLC", Const, 0}, - {"ARPHRD_HIPPI", Const, 0}, - {"ARPHRD_HWX25", Const, 0}, - {"ARPHRD_IEEE1394", Const, 0}, - {"ARPHRD_IEEE802", Const, 0}, - {"ARPHRD_IEEE80211", Const, 0}, - {"ARPHRD_IEEE80211_PRISM", Const, 0}, - {"ARPHRD_IEEE80211_RADIOTAP", Const, 0}, - {"ARPHRD_IEEE802154", Const, 0}, - {"ARPHRD_IEEE802154_PHY", Const, 0}, - {"ARPHRD_IEEE802_TR", Const, 0}, - {"ARPHRD_INFINIBAND", Const, 0}, - {"ARPHRD_IPDDP", Const, 0}, - {"ARPHRD_IPGRE", Const, 0}, - {"ARPHRD_IRDA", Const, 0}, - {"ARPHRD_LAPB", Const, 0}, - {"ARPHRD_LOCALTLK", Const, 0}, - {"ARPHRD_LOOPBACK", Const, 0}, - {"ARPHRD_METRICOM", Const, 0}, - {"ARPHRD_NETROM", Const, 0}, - {"ARPHRD_NONE", Const, 0}, - {"ARPHRD_PIMREG", Const, 0}, - {"ARPHRD_PPP", Const, 0}, - {"ARPHRD_PRONET", Const, 0}, - {"ARPHRD_RAWHDLC", Const, 0}, - {"ARPHRD_ROSE", Const, 0}, - {"ARPHRD_RSRVD", Const, 0}, - {"ARPHRD_SIT", Const, 0}, - {"ARPHRD_SKIP", Const, 0}, - {"ARPHRD_SLIP", Const, 0}, - {"ARPHRD_SLIP6", Const, 0}, - {"ARPHRD_STRIP", Const, 1}, - {"ARPHRD_TUNNEL", Const, 0}, - {"ARPHRD_TUNNEL6", Const, 0}, - {"ARPHRD_VOID", Const, 0}, - {"ARPHRD_X25", Const, 0}, - {"AUTHTYPE_CLIENT", Const, 0}, - {"AUTHTYPE_SERVER", Const, 0}, - {"Accept", Func, 0}, - {"Accept4", Func, 1}, - {"AcceptEx", Func, 0}, - {"Access", Func, 0}, - {"Acct", Func, 0}, - {"AddrinfoW", Type, 1}, - {"AddrinfoW.Addr", Field, 1}, - {"AddrinfoW.Addrlen", Field, 1}, - {"AddrinfoW.Canonname", Field, 1}, - {"AddrinfoW.Family", Field, 1}, - {"AddrinfoW.Flags", Field, 1}, - {"AddrinfoW.Next", Field, 1}, - {"AddrinfoW.Protocol", Field, 1}, - {"AddrinfoW.Socktype", Field, 1}, - {"Adjtime", Func, 0}, - {"Adjtimex", Func, 0}, - {"AllThreadsSyscall", Func, 16}, - {"AllThreadsSyscall6", Func, 16}, - {"AttachLsf", Func, 0}, - {"B0", Const, 0}, - {"B1000000", Const, 0}, - {"B110", Const, 0}, - {"B115200", Const, 0}, - {"B1152000", Const, 0}, - {"B1200", Const, 0}, - {"B134", Const, 0}, - {"B14400", Const, 1}, - {"B150", Const, 0}, - {"B1500000", Const, 0}, - {"B1800", Const, 0}, - {"B19200", Const, 0}, - {"B200", Const, 0}, - {"B2000000", Const, 0}, - {"B230400", Const, 0}, - {"B2400", Const, 0}, - {"B2500000", Const, 0}, - {"B28800", Const, 1}, - {"B300", Const, 0}, - {"B3000000", Const, 0}, - {"B3500000", Const, 0}, - {"B38400", Const, 0}, - {"B4000000", Const, 0}, - {"B460800", Const, 0}, - {"B4800", Const, 0}, - {"B50", Const, 0}, - {"B500000", Const, 0}, - {"B57600", Const, 0}, - {"B576000", Const, 0}, - {"B600", Const, 0}, - {"B7200", Const, 1}, - {"B75", Const, 0}, - {"B76800", Const, 1}, - {"B921600", Const, 0}, - {"B9600", Const, 0}, - {"BASE_PROTOCOL", Const, 2}, - {"BIOCFEEDBACK", Const, 0}, - {"BIOCFLUSH", Const, 0}, - {"BIOCGBLEN", Const, 0}, - {"BIOCGDIRECTION", Const, 0}, - {"BIOCGDIRFILT", Const, 1}, - {"BIOCGDLT", Const, 0}, - {"BIOCGDLTLIST", Const, 0}, - {"BIOCGETBUFMODE", Const, 0}, - {"BIOCGETIF", Const, 0}, - {"BIOCGETZMAX", Const, 0}, - {"BIOCGFEEDBACK", Const, 1}, - {"BIOCGFILDROP", Const, 1}, - {"BIOCGHDRCMPLT", Const, 0}, - {"BIOCGRSIG", Const, 0}, - {"BIOCGRTIMEOUT", Const, 0}, - {"BIOCGSEESENT", Const, 0}, - {"BIOCGSTATS", Const, 0}, - {"BIOCGSTATSOLD", Const, 1}, - {"BIOCGTSTAMP", Const, 1}, - {"BIOCIMMEDIATE", Const, 0}, - {"BIOCLOCK", Const, 0}, - {"BIOCPROMISC", Const, 0}, - {"BIOCROTZBUF", Const, 0}, - {"BIOCSBLEN", Const, 0}, - {"BIOCSDIRECTION", Const, 0}, - {"BIOCSDIRFILT", Const, 1}, - {"BIOCSDLT", Const, 0}, - {"BIOCSETBUFMODE", Const, 0}, - {"BIOCSETF", Const, 0}, - {"BIOCSETFNR", Const, 0}, - {"BIOCSETIF", Const, 0}, - {"BIOCSETWF", Const, 0}, - {"BIOCSETZBUF", Const, 0}, - {"BIOCSFEEDBACK", Const, 1}, - {"BIOCSFILDROP", Const, 1}, - {"BIOCSHDRCMPLT", Const, 0}, - {"BIOCSRSIG", Const, 0}, - {"BIOCSRTIMEOUT", Const, 0}, - {"BIOCSSEESENT", Const, 0}, - {"BIOCSTCPF", Const, 1}, - {"BIOCSTSTAMP", Const, 1}, - {"BIOCSUDPF", Const, 1}, - {"BIOCVERSION", Const, 0}, - {"BPF_A", Const, 0}, - {"BPF_ABS", Const, 0}, - {"BPF_ADD", Const, 0}, - {"BPF_ALIGNMENT", Const, 0}, - {"BPF_ALIGNMENT32", Const, 1}, - {"BPF_ALU", Const, 0}, - {"BPF_AND", Const, 0}, - {"BPF_B", Const, 0}, - {"BPF_BUFMODE_BUFFER", Const, 0}, - {"BPF_BUFMODE_ZBUF", Const, 0}, - {"BPF_DFLTBUFSIZE", Const, 1}, - {"BPF_DIRECTION_IN", Const, 1}, - {"BPF_DIRECTION_OUT", Const, 1}, - {"BPF_DIV", Const, 0}, - {"BPF_H", Const, 0}, - {"BPF_IMM", Const, 0}, - {"BPF_IND", Const, 0}, - {"BPF_JA", Const, 0}, - {"BPF_JEQ", Const, 0}, - {"BPF_JGE", Const, 0}, - {"BPF_JGT", Const, 0}, - {"BPF_JMP", Const, 0}, - {"BPF_JSET", Const, 0}, - {"BPF_K", Const, 0}, - {"BPF_LD", Const, 0}, - {"BPF_LDX", Const, 0}, - {"BPF_LEN", Const, 0}, - {"BPF_LSH", Const, 0}, - {"BPF_MAJOR_VERSION", Const, 0}, - {"BPF_MAXBUFSIZE", Const, 0}, - {"BPF_MAXINSNS", Const, 0}, - {"BPF_MEM", Const, 0}, - {"BPF_MEMWORDS", Const, 0}, - {"BPF_MINBUFSIZE", Const, 0}, - {"BPF_MINOR_VERSION", Const, 0}, - {"BPF_MISC", Const, 0}, - {"BPF_MSH", Const, 0}, - {"BPF_MUL", Const, 0}, - {"BPF_NEG", Const, 0}, - {"BPF_OR", Const, 0}, - {"BPF_RELEASE", Const, 0}, - {"BPF_RET", Const, 0}, - {"BPF_RSH", Const, 0}, - {"BPF_ST", Const, 0}, - {"BPF_STX", Const, 0}, - {"BPF_SUB", Const, 0}, - {"BPF_TAX", Const, 0}, - {"BPF_TXA", Const, 0}, - {"BPF_T_BINTIME", Const, 1}, - {"BPF_T_BINTIME_FAST", Const, 1}, - {"BPF_T_BINTIME_MONOTONIC", Const, 1}, - {"BPF_T_BINTIME_MONOTONIC_FAST", Const, 1}, - {"BPF_T_FAST", Const, 1}, - {"BPF_T_FLAG_MASK", Const, 1}, - {"BPF_T_FORMAT_MASK", Const, 1}, - {"BPF_T_MICROTIME", Const, 1}, - {"BPF_T_MICROTIME_FAST", Const, 1}, - {"BPF_T_MICROTIME_MONOTONIC", Const, 1}, - {"BPF_T_MICROTIME_MONOTONIC_FAST", Const, 1}, - {"BPF_T_MONOTONIC", Const, 1}, - {"BPF_T_MONOTONIC_FAST", Const, 1}, - {"BPF_T_NANOTIME", Const, 1}, - {"BPF_T_NANOTIME_FAST", Const, 1}, - {"BPF_T_NANOTIME_MONOTONIC", Const, 1}, - {"BPF_T_NANOTIME_MONOTONIC_FAST", Const, 1}, - {"BPF_T_NONE", Const, 1}, - {"BPF_T_NORMAL", Const, 1}, - {"BPF_W", Const, 0}, - {"BPF_X", Const, 0}, - {"BRKINT", Const, 0}, - {"Bind", Func, 0}, - {"BindToDevice", Func, 0}, - {"BpfBuflen", Func, 0}, - {"BpfDatalink", Func, 0}, - {"BpfHdr", Type, 0}, - {"BpfHdr.Caplen", Field, 0}, - {"BpfHdr.Datalen", Field, 0}, - {"BpfHdr.Hdrlen", Field, 0}, - {"BpfHdr.Pad_cgo_0", Field, 0}, - {"BpfHdr.Tstamp", Field, 0}, - {"BpfHeadercmpl", Func, 0}, - {"BpfInsn", Type, 0}, - {"BpfInsn.Code", Field, 0}, - {"BpfInsn.Jf", Field, 0}, - {"BpfInsn.Jt", Field, 0}, - {"BpfInsn.K", Field, 0}, - {"BpfInterface", Func, 0}, - {"BpfJump", Func, 0}, - {"BpfProgram", Type, 0}, - {"BpfProgram.Insns", Field, 0}, - {"BpfProgram.Len", Field, 0}, - {"BpfProgram.Pad_cgo_0", Field, 0}, - {"BpfStat", Type, 0}, - {"BpfStat.Capt", Field, 2}, - {"BpfStat.Drop", Field, 0}, - {"BpfStat.Padding", Field, 2}, - {"BpfStat.Recv", Field, 0}, - {"BpfStats", Func, 0}, - {"BpfStmt", Func, 0}, - {"BpfTimeout", Func, 0}, - {"BpfTimeval", Type, 2}, - {"BpfTimeval.Sec", Field, 2}, - {"BpfTimeval.Usec", Field, 2}, - {"BpfVersion", Type, 0}, - {"BpfVersion.Major", Field, 0}, - {"BpfVersion.Minor", Field, 0}, - {"BpfZbuf", Type, 0}, - {"BpfZbuf.Bufa", Field, 0}, - {"BpfZbuf.Bufb", Field, 0}, - {"BpfZbuf.Buflen", Field, 0}, - {"BpfZbufHeader", Type, 0}, - {"BpfZbufHeader.Kernel_gen", Field, 0}, - {"BpfZbufHeader.Kernel_len", Field, 0}, - {"BpfZbufHeader.User_gen", Field, 0}, - {"BpfZbufHeader.X_bzh_pad", Field, 0}, - {"ByHandleFileInformation", Type, 0}, - {"ByHandleFileInformation.CreationTime", Field, 0}, - {"ByHandleFileInformation.FileAttributes", Field, 0}, - {"ByHandleFileInformation.FileIndexHigh", Field, 0}, - {"ByHandleFileInformation.FileIndexLow", Field, 0}, - {"ByHandleFileInformation.FileSizeHigh", Field, 0}, - {"ByHandleFileInformation.FileSizeLow", Field, 0}, - {"ByHandleFileInformation.LastAccessTime", Field, 0}, - {"ByHandleFileInformation.LastWriteTime", Field, 0}, - {"ByHandleFileInformation.NumberOfLinks", Field, 0}, - {"ByHandleFileInformation.VolumeSerialNumber", Field, 0}, - {"BytePtrFromString", Func, 1}, - {"ByteSliceFromString", Func, 1}, - {"CCR0_FLUSH", Const, 1}, - {"CERT_CHAIN_POLICY_AUTHENTICODE", Const, 0}, - {"CERT_CHAIN_POLICY_AUTHENTICODE_TS", Const, 0}, - {"CERT_CHAIN_POLICY_BASE", Const, 0}, - {"CERT_CHAIN_POLICY_BASIC_CONSTRAINTS", Const, 0}, - {"CERT_CHAIN_POLICY_EV", Const, 0}, - {"CERT_CHAIN_POLICY_MICROSOFT_ROOT", Const, 0}, - {"CERT_CHAIN_POLICY_NT_AUTH", Const, 0}, - {"CERT_CHAIN_POLICY_SSL", Const, 0}, - {"CERT_E_CN_NO_MATCH", Const, 0}, - {"CERT_E_EXPIRED", Const, 0}, - {"CERT_E_PURPOSE", Const, 0}, - {"CERT_E_ROLE", Const, 0}, - {"CERT_E_UNTRUSTEDROOT", Const, 0}, - {"CERT_STORE_ADD_ALWAYS", Const, 0}, - {"CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG", Const, 0}, - {"CERT_STORE_PROV_MEMORY", Const, 0}, - {"CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT", Const, 0}, - {"CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT", Const, 0}, - {"CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT", Const, 0}, - {"CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT", Const, 0}, - {"CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT", Const, 0}, - {"CERT_TRUST_INVALID_BASIC_CONSTRAINTS", Const, 0}, - {"CERT_TRUST_INVALID_EXTENSION", Const, 0}, - {"CERT_TRUST_INVALID_NAME_CONSTRAINTS", Const, 0}, - {"CERT_TRUST_INVALID_POLICY_CONSTRAINTS", Const, 0}, - {"CERT_TRUST_IS_CYCLIC", Const, 0}, - {"CERT_TRUST_IS_EXPLICIT_DISTRUST", Const, 0}, - {"CERT_TRUST_IS_NOT_SIGNATURE_VALID", Const, 0}, - {"CERT_TRUST_IS_NOT_TIME_VALID", Const, 0}, - {"CERT_TRUST_IS_NOT_VALID_FOR_USAGE", Const, 0}, - {"CERT_TRUST_IS_OFFLINE_REVOCATION", Const, 0}, - {"CERT_TRUST_IS_REVOKED", Const, 0}, - {"CERT_TRUST_IS_UNTRUSTED_ROOT", Const, 0}, - {"CERT_TRUST_NO_ERROR", Const, 0}, - {"CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY", Const, 0}, - {"CERT_TRUST_REVOCATION_STATUS_UNKNOWN", Const, 0}, - {"CFLUSH", Const, 1}, - {"CLOCAL", Const, 0}, - {"CLONE_CHILD_CLEARTID", Const, 2}, - {"CLONE_CHILD_SETTID", Const, 2}, - {"CLONE_CLEAR_SIGHAND", Const, 20}, - {"CLONE_CSIGNAL", Const, 3}, - {"CLONE_DETACHED", Const, 2}, - {"CLONE_FILES", Const, 2}, - {"CLONE_FS", Const, 2}, - {"CLONE_INTO_CGROUP", Const, 20}, - {"CLONE_IO", Const, 2}, - {"CLONE_NEWCGROUP", Const, 20}, - {"CLONE_NEWIPC", Const, 2}, - {"CLONE_NEWNET", Const, 2}, - {"CLONE_NEWNS", Const, 2}, - {"CLONE_NEWPID", Const, 2}, - {"CLONE_NEWTIME", Const, 20}, - {"CLONE_NEWUSER", Const, 2}, - {"CLONE_NEWUTS", Const, 2}, - {"CLONE_PARENT", Const, 2}, - {"CLONE_PARENT_SETTID", Const, 2}, - {"CLONE_PID", Const, 3}, - {"CLONE_PIDFD", Const, 20}, - {"CLONE_PTRACE", Const, 2}, - {"CLONE_SETTLS", Const, 2}, - {"CLONE_SIGHAND", Const, 2}, - {"CLONE_SYSVSEM", Const, 2}, - {"CLONE_THREAD", Const, 2}, - {"CLONE_UNTRACED", Const, 2}, - {"CLONE_VFORK", Const, 2}, - {"CLONE_VM", Const, 2}, - {"CPUID_CFLUSH", Const, 1}, - {"CREAD", Const, 0}, - {"CREATE_ALWAYS", Const, 0}, - {"CREATE_NEW", Const, 0}, - {"CREATE_NEW_PROCESS_GROUP", Const, 1}, - {"CREATE_UNICODE_ENVIRONMENT", Const, 0}, - {"CRYPT_DEFAULT_CONTAINER_OPTIONAL", Const, 0}, - {"CRYPT_DELETEKEYSET", Const, 0}, - {"CRYPT_MACHINE_KEYSET", Const, 0}, - {"CRYPT_NEWKEYSET", Const, 0}, - {"CRYPT_SILENT", Const, 0}, - {"CRYPT_VERIFYCONTEXT", Const, 0}, - {"CS5", Const, 0}, - {"CS6", Const, 0}, - {"CS7", Const, 0}, - {"CS8", Const, 0}, - {"CSIZE", Const, 0}, - {"CSTART", Const, 1}, - {"CSTATUS", Const, 1}, - {"CSTOP", Const, 1}, - {"CSTOPB", Const, 0}, - {"CSUSP", Const, 1}, - {"CTL_MAXNAME", Const, 0}, - {"CTL_NET", Const, 0}, - {"CTL_QUERY", Const, 1}, - {"CTRL_BREAK_EVENT", Const, 1}, - {"CTRL_CLOSE_EVENT", Const, 14}, - {"CTRL_C_EVENT", Const, 1}, - {"CTRL_LOGOFF_EVENT", Const, 14}, - {"CTRL_SHUTDOWN_EVENT", Const, 14}, - {"CancelIo", Func, 0}, - {"CancelIoEx", Func, 1}, - {"CertAddCertificateContextToStore", Func, 0}, - {"CertChainContext", Type, 0}, - {"CertChainContext.ChainCount", Field, 0}, - {"CertChainContext.Chains", Field, 0}, - {"CertChainContext.HasRevocationFreshnessTime", Field, 0}, - {"CertChainContext.LowerQualityChainCount", Field, 0}, - {"CertChainContext.LowerQualityChains", Field, 0}, - {"CertChainContext.RevocationFreshnessTime", Field, 0}, - {"CertChainContext.Size", Field, 0}, - {"CertChainContext.TrustStatus", Field, 0}, - {"CertChainElement", Type, 0}, - {"CertChainElement.ApplicationUsage", Field, 0}, - {"CertChainElement.CertContext", Field, 0}, - {"CertChainElement.ExtendedErrorInfo", Field, 0}, - {"CertChainElement.IssuanceUsage", Field, 0}, - {"CertChainElement.RevocationInfo", Field, 0}, - {"CertChainElement.Size", Field, 0}, - {"CertChainElement.TrustStatus", Field, 0}, - {"CertChainPara", Type, 0}, - {"CertChainPara.CacheResync", Field, 0}, - {"CertChainPara.CheckRevocationFreshnessTime", Field, 0}, - {"CertChainPara.RequestedUsage", Field, 0}, - {"CertChainPara.RequstedIssuancePolicy", Field, 0}, - {"CertChainPara.RevocationFreshnessTime", Field, 0}, - {"CertChainPara.Size", Field, 0}, - {"CertChainPara.URLRetrievalTimeout", Field, 0}, - {"CertChainPolicyPara", Type, 0}, - {"CertChainPolicyPara.ExtraPolicyPara", Field, 0}, - {"CertChainPolicyPara.Flags", Field, 0}, - {"CertChainPolicyPara.Size", Field, 0}, - {"CertChainPolicyStatus", Type, 0}, - {"CertChainPolicyStatus.ChainIndex", Field, 0}, - {"CertChainPolicyStatus.ElementIndex", Field, 0}, - {"CertChainPolicyStatus.Error", Field, 0}, - {"CertChainPolicyStatus.ExtraPolicyStatus", Field, 0}, - {"CertChainPolicyStatus.Size", Field, 0}, - {"CertCloseStore", Func, 0}, - {"CertContext", Type, 0}, - {"CertContext.CertInfo", Field, 0}, - {"CertContext.EncodedCert", Field, 0}, - {"CertContext.EncodingType", Field, 0}, - {"CertContext.Length", Field, 0}, - {"CertContext.Store", Field, 0}, - {"CertCreateCertificateContext", Func, 0}, - {"CertEnhKeyUsage", Type, 0}, - {"CertEnhKeyUsage.Length", Field, 0}, - {"CertEnhKeyUsage.UsageIdentifiers", Field, 0}, - {"CertEnumCertificatesInStore", Func, 0}, - {"CertFreeCertificateChain", Func, 0}, - {"CertFreeCertificateContext", Func, 0}, - {"CertGetCertificateChain", Func, 0}, - {"CertInfo", Type, 11}, - {"CertOpenStore", Func, 0}, - {"CertOpenSystemStore", Func, 0}, - {"CertRevocationCrlInfo", Type, 11}, - {"CertRevocationInfo", Type, 0}, - {"CertRevocationInfo.CrlInfo", Field, 0}, - {"CertRevocationInfo.FreshnessTime", Field, 0}, - {"CertRevocationInfo.HasFreshnessTime", Field, 0}, - {"CertRevocationInfo.OidSpecificInfo", Field, 0}, - {"CertRevocationInfo.RevocationOid", Field, 0}, - {"CertRevocationInfo.RevocationResult", Field, 0}, - {"CertRevocationInfo.Size", Field, 0}, - {"CertSimpleChain", Type, 0}, - {"CertSimpleChain.Elements", Field, 0}, - {"CertSimpleChain.HasRevocationFreshnessTime", Field, 0}, - {"CertSimpleChain.NumElements", Field, 0}, - {"CertSimpleChain.RevocationFreshnessTime", Field, 0}, - {"CertSimpleChain.Size", Field, 0}, - {"CertSimpleChain.TrustListInfo", Field, 0}, - {"CertSimpleChain.TrustStatus", Field, 0}, - {"CertTrustListInfo", Type, 11}, - {"CertTrustStatus", Type, 0}, - {"CertTrustStatus.ErrorStatus", Field, 0}, - {"CertTrustStatus.InfoStatus", Field, 0}, - {"CertUsageMatch", Type, 0}, - {"CertUsageMatch.Type", Field, 0}, - {"CertUsageMatch.Usage", Field, 0}, - {"CertVerifyCertificateChainPolicy", Func, 0}, - {"Chdir", Func, 0}, - {"CheckBpfVersion", Func, 0}, - {"Chflags", Func, 0}, - {"Chmod", Func, 0}, - {"Chown", Func, 0}, - {"Chroot", Func, 0}, - {"Clearenv", Func, 0}, - {"Close", Func, 0}, - {"CloseHandle", Func, 0}, - {"CloseOnExec", Func, 0}, - {"Closesocket", Func, 0}, - {"CmsgLen", Func, 0}, - {"CmsgSpace", Func, 0}, - {"Cmsghdr", Type, 0}, - {"Cmsghdr.Len", Field, 0}, - {"Cmsghdr.Level", Field, 0}, - {"Cmsghdr.Type", Field, 0}, - {"Cmsghdr.X__cmsg_data", Field, 0}, - {"CommandLineToArgv", Func, 0}, - {"ComputerName", Func, 0}, - {"Conn", Type, 9}, - {"Connect", Func, 0}, - {"ConnectEx", Func, 1}, - {"ConvertSidToStringSid", Func, 0}, - {"ConvertStringSidToSid", Func, 0}, - {"CopySid", Func, 0}, - {"Creat", Func, 0}, - {"CreateDirectory", Func, 0}, - {"CreateFile", Func, 0}, - {"CreateFileMapping", Func, 0}, - {"CreateHardLink", Func, 4}, - {"CreateIoCompletionPort", Func, 0}, - {"CreatePipe", Func, 0}, - {"CreateProcess", Func, 0}, - {"CreateProcessAsUser", Func, 10}, - {"CreateSymbolicLink", Func, 4}, - {"CreateToolhelp32Snapshot", Func, 4}, - {"Credential", Type, 0}, - {"Credential.Gid", Field, 0}, - {"Credential.Groups", Field, 0}, - {"Credential.NoSetGroups", Field, 9}, - {"Credential.Uid", Field, 0}, - {"CryptAcquireContext", Func, 0}, - {"CryptGenRandom", Func, 0}, - {"CryptReleaseContext", Func, 0}, - {"DIOCBSFLUSH", Const, 1}, - {"DIOCOSFPFLUSH", Const, 1}, - {"DLL", Type, 0}, - {"DLL.Handle", Field, 0}, - {"DLL.Name", Field, 0}, - {"DLLError", Type, 0}, - {"DLLError.Err", Field, 0}, - {"DLLError.Msg", Field, 0}, - {"DLLError.ObjName", Field, 0}, - {"DLT_A429", Const, 0}, - {"DLT_A653_ICM", Const, 0}, - {"DLT_AIRONET_HEADER", Const, 0}, - {"DLT_AOS", Const, 1}, - {"DLT_APPLE_IP_OVER_IEEE1394", Const, 0}, - {"DLT_ARCNET", Const, 0}, - {"DLT_ARCNET_LINUX", Const, 0}, - {"DLT_ATM_CLIP", Const, 0}, - {"DLT_ATM_RFC1483", Const, 0}, - {"DLT_AURORA", Const, 0}, - {"DLT_AX25", Const, 0}, - {"DLT_AX25_KISS", Const, 0}, - {"DLT_BACNET_MS_TP", Const, 0}, - {"DLT_BLUETOOTH_HCI_H4", Const, 0}, - {"DLT_BLUETOOTH_HCI_H4_WITH_PHDR", Const, 0}, - {"DLT_CAN20B", Const, 0}, - {"DLT_CAN_SOCKETCAN", Const, 1}, - {"DLT_CHAOS", Const, 0}, - {"DLT_CHDLC", Const, 0}, - {"DLT_CISCO_IOS", Const, 0}, - {"DLT_C_HDLC", Const, 0}, - {"DLT_C_HDLC_WITH_DIR", Const, 0}, - {"DLT_DBUS", Const, 1}, - {"DLT_DECT", Const, 1}, - {"DLT_DOCSIS", Const, 0}, - {"DLT_DVB_CI", Const, 1}, - {"DLT_ECONET", Const, 0}, - {"DLT_EN10MB", Const, 0}, - {"DLT_EN3MB", Const, 0}, - {"DLT_ENC", Const, 0}, - {"DLT_ERF", Const, 0}, - {"DLT_ERF_ETH", Const, 0}, - {"DLT_ERF_POS", Const, 0}, - {"DLT_FC_2", Const, 1}, - {"DLT_FC_2_WITH_FRAME_DELIMS", Const, 1}, - {"DLT_FDDI", Const, 0}, - {"DLT_FLEXRAY", Const, 0}, - {"DLT_FRELAY", Const, 0}, - {"DLT_FRELAY_WITH_DIR", Const, 0}, - {"DLT_GCOM_SERIAL", Const, 0}, - {"DLT_GCOM_T1E1", Const, 0}, - {"DLT_GPF_F", Const, 0}, - {"DLT_GPF_T", Const, 0}, - {"DLT_GPRS_LLC", Const, 0}, - {"DLT_GSMTAP_ABIS", Const, 1}, - {"DLT_GSMTAP_UM", Const, 1}, - {"DLT_HDLC", Const, 1}, - {"DLT_HHDLC", Const, 0}, - {"DLT_HIPPI", Const, 1}, - {"DLT_IBM_SN", Const, 0}, - {"DLT_IBM_SP", Const, 0}, - {"DLT_IEEE802", Const, 0}, - {"DLT_IEEE802_11", Const, 0}, - {"DLT_IEEE802_11_RADIO", Const, 0}, - {"DLT_IEEE802_11_RADIO_AVS", Const, 0}, - {"DLT_IEEE802_15_4", Const, 0}, - {"DLT_IEEE802_15_4_LINUX", Const, 0}, - {"DLT_IEEE802_15_4_NOFCS", Const, 1}, - {"DLT_IEEE802_15_4_NONASK_PHY", Const, 0}, - {"DLT_IEEE802_16_MAC_CPS", Const, 0}, - {"DLT_IEEE802_16_MAC_CPS_RADIO", Const, 0}, - {"DLT_IPFILTER", Const, 0}, - {"DLT_IPMB", Const, 0}, - {"DLT_IPMB_LINUX", Const, 0}, - {"DLT_IPNET", Const, 1}, - {"DLT_IPOIB", Const, 1}, - {"DLT_IPV4", Const, 1}, - {"DLT_IPV6", Const, 1}, - {"DLT_IP_OVER_FC", Const, 0}, - {"DLT_JUNIPER_ATM1", Const, 0}, - {"DLT_JUNIPER_ATM2", Const, 0}, - {"DLT_JUNIPER_ATM_CEMIC", Const, 1}, - {"DLT_JUNIPER_CHDLC", Const, 0}, - {"DLT_JUNIPER_ES", Const, 0}, - {"DLT_JUNIPER_ETHER", Const, 0}, - {"DLT_JUNIPER_FIBRECHANNEL", Const, 1}, - {"DLT_JUNIPER_FRELAY", Const, 0}, - {"DLT_JUNIPER_GGSN", Const, 0}, - {"DLT_JUNIPER_ISM", Const, 0}, - {"DLT_JUNIPER_MFR", Const, 0}, - {"DLT_JUNIPER_MLFR", Const, 0}, - {"DLT_JUNIPER_MLPPP", Const, 0}, - {"DLT_JUNIPER_MONITOR", Const, 0}, - {"DLT_JUNIPER_PIC_PEER", Const, 0}, - {"DLT_JUNIPER_PPP", Const, 0}, - {"DLT_JUNIPER_PPPOE", Const, 0}, - {"DLT_JUNIPER_PPPOE_ATM", Const, 0}, - {"DLT_JUNIPER_SERVICES", Const, 0}, - {"DLT_JUNIPER_SRX_E2E", Const, 1}, - {"DLT_JUNIPER_ST", Const, 0}, - {"DLT_JUNIPER_VP", Const, 0}, - {"DLT_JUNIPER_VS", Const, 1}, - {"DLT_LAPB_WITH_DIR", Const, 0}, - {"DLT_LAPD", Const, 0}, - {"DLT_LIN", Const, 0}, - {"DLT_LINUX_EVDEV", Const, 1}, - {"DLT_LINUX_IRDA", Const, 0}, - {"DLT_LINUX_LAPD", Const, 0}, - {"DLT_LINUX_PPP_WITHDIRECTION", Const, 0}, - {"DLT_LINUX_SLL", Const, 0}, - {"DLT_LOOP", Const, 0}, - {"DLT_LTALK", Const, 0}, - {"DLT_MATCHING_MAX", Const, 1}, - {"DLT_MATCHING_MIN", Const, 1}, - {"DLT_MFR", Const, 0}, - {"DLT_MOST", Const, 0}, - {"DLT_MPEG_2_TS", Const, 1}, - {"DLT_MPLS", Const, 1}, - {"DLT_MTP2", Const, 0}, - {"DLT_MTP2_WITH_PHDR", Const, 0}, - {"DLT_MTP3", Const, 0}, - {"DLT_MUX27010", Const, 1}, - {"DLT_NETANALYZER", Const, 1}, - {"DLT_NETANALYZER_TRANSPARENT", Const, 1}, - {"DLT_NFC_LLCP", Const, 1}, - {"DLT_NFLOG", Const, 1}, - {"DLT_NG40", Const, 1}, - {"DLT_NULL", Const, 0}, - {"DLT_PCI_EXP", Const, 0}, - {"DLT_PFLOG", Const, 0}, - {"DLT_PFSYNC", Const, 0}, - {"DLT_PPI", Const, 0}, - {"DLT_PPP", Const, 0}, - {"DLT_PPP_BSDOS", Const, 0}, - {"DLT_PPP_ETHER", Const, 0}, - {"DLT_PPP_PPPD", Const, 0}, - {"DLT_PPP_SERIAL", Const, 0}, - {"DLT_PPP_WITH_DIR", Const, 0}, - {"DLT_PPP_WITH_DIRECTION", Const, 0}, - {"DLT_PRISM_HEADER", Const, 0}, - {"DLT_PRONET", Const, 0}, - {"DLT_RAIF1", Const, 0}, - {"DLT_RAW", Const, 0}, - {"DLT_RAWAF_MASK", Const, 1}, - {"DLT_RIO", Const, 0}, - {"DLT_SCCP", Const, 0}, - {"DLT_SITA", Const, 0}, - {"DLT_SLIP", Const, 0}, - {"DLT_SLIP_BSDOS", Const, 0}, - {"DLT_STANAG_5066_D_PDU", Const, 1}, - {"DLT_SUNATM", Const, 0}, - {"DLT_SYMANTEC_FIREWALL", Const, 0}, - {"DLT_TZSP", Const, 0}, - {"DLT_USB", Const, 0}, - {"DLT_USB_LINUX", Const, 0}, - {"DLT_USB_LINUX_MMAPPED", Const, 1}, - {"DLT_USER0", Const, 0}, - {"DLT_USER1", Const, 0}, - {"DLT_USER10", Const, 0}, - {"DLT_USER11", Const, 0}, - {"DLT_USER12", Const, 0}, - {"DLT_USER13", Const, 0}, - {"DLT_USER14", Const, 0}, - {"DLT_USER15", Const, 0}, - {"DLT_USER2", Const, 0}, - {"DLT_USER3", Const, 0}, - {"DLT_USER4", Const, 0}, - {"DLT_USER5", Const, 0}, - {"DLT_USER6", Const, 0}, - {"DLT_USER7", Const, 0}, - {"DLT_USER8", Const, 0}, - {"DLT_USER9", Const, 0}, - {"DLT_WIHART", Const, 1}, - {"DLT_X2E_SERIAL", Const, 0}, - {"DLT_X2E_XORAYA", Const, 0}, - {"DNSMXData", Type, 0}, - {"DNSMXData.NameExchange", Field, 0}, - {"DNSMXData.Pad", Field, 0}, - {"DNSMXData.Preference", Field, 0}, - {"DNSPTRData", Type, 0}, - {"DNSPTRData.Host", Field, 0}, - {"DNSRecord", Type, 0}, - {"DNSRecord.Data", Field, 0}, - {"DNSRecord.Dw", Field, 0}, - {"DNSRecord.Length", Field, 0}, - {"DNSRecord.Name", Field, 0}, - {"DNSRecord.Next", Field, 0}, - {"DNSRecord.Reserved", Field, 0}, - {"DNSRecord.Ttl", Field, 0}, - {"DNSRecord.Type", Field, 0}, - {"DNSSRVData", Type, 0}, - {"DNSSRVData.Pad", Field, 0}, - {"DNSSRVData.Port", Field, 0}, - {"DNSSRVData.Priority", Field, 0}, - {"DNSSRVData.Target", Field, 0}, - {"DNSSRVData.Weight", Field, 0}, - {"DNSTXTData", Type, 0}, - {"DNSTXTData.StringArray", Field, 0}, - {"DNSTXTData.StringCount", Field, 0}, - {"DNS_INFO_NO_RECORDS", Const, 4}, - {"DNS_TYPE_A", Const, 0}, - {"DNS_TYPE_A6", Const, 0}, - {"DNS_TYPE_AAAA", Const, 0}, - {"DNS_TYPE_ADDRS", Const, 0}, - {"DNS_TYPE_AFSDB", Const, 0}, - {"DNS_TYPE_ALL", Const, 0}, - {"DNS_TYPE_ANY", Const, 0}, - {"DNS_TYPE_ATMA", Const, 0}, - {"DNS_TYPE_AXFR", Const, 0}, - {"DNS_TYPE_CERT", Const, 0}, - {"DNS_TYPE_CNAME", Const, 0}, - {"DNS_TYPE_DHCID", Const, 0}, - {"DNS_TYPE_DNAME", Const, 0}, - {"DNS_TYPE_DNSKEY", Const, 0}, - {"DNS_TYPE_DS", Const, 0}, - {"DNS_TYPE_EID", Const, 0}, - {"DNS_TYPE_GID", Const, 0}, - {"DNS_TYPE_GPOS", Const, 0}, - {"DNS_TYPE_HINFO", Const, 0}, - {"DNS_TYPE_ISDN", Const, 0}, - {"DNS_TYPE_IXFR", Const, 0}, - {"DNS_TYPE_KEY", Const, 0}, - {"DNS_TYPE_KX", Const, 0}, - {"DNS_TYPE_LOC", Const, 0}, - {"DNS_TYPE_MAILA", Const, 0}, - {"DNS_TYPE_MAILB", Const, 0}, - {"DNS_TYPE_MB", Const, 0}, - {"DNS_TYPE_MD", Const, 0}, - {"DNS_TYPE_MF", Const, 0}, - {"DNS_TYPE_MG", Const, 0}, - {"DNS_TYPE_MINFO", Const, 0}, - {"DNS_TYPE_MR", Const, 0}, - {"DNS_TYPE_MX", Const, 0}, - {"DNS_TYPE_NAPTR", Const, 0}, - {"DNS_TYPE_NBSTAT", Const, 0}, - {"DNS_TYPE_NIMLOC", Const, 0}, - {"DNS_TYPE_NS", Const, 0}, - {"DNS_TYPE_NSAP", Const, 0}, - {"DNS_TYPE_NSAPPTR", Const, 0}, - {"DNS_TYPE_NSEC", Const, 0}, - {"DNS_TYPE_NULL", Const, 0}, - {"DNS_TYPE_NXT", Const, 0}, - {"DNS_TYPE_OPT", Const, 0}, - {"DNS_TYPE_PTR", Const, 0}, - {"DNS_TYPE_PX", Const, 0}, - {"DNS_TYPE_RP", Const, 0}, - {"DNS_TYPE_RRSIG", Const, 0}, - {"DNS_TYPE_RT", Const, 0}, - {"DNS_TYPE_SIG", Const, 0}, - {"DNS_TYPE_SINK", Const, 0}, - {"DNS_TYPE_SOA", Const, 0}, - {"DNS_TYPE_SRV", Const, 0}, - {"DNS_TYPE_TEXT", Const, 0}, - {"DNS_TYPE_TKEY", Const, 0}, - {"DNS_TYPE_TSIG", Const, 0}, - {"DNS_TYPE_UID", Const, 0}, - {"DNS_TYPE_UINFO", Const, 0}, - {"DNS_TYPE_UNSPEC", Const, 0}, - {"DNS_TYPE_WINS", Const, 0}, - {"DNS_TYPE_WINSR", Const, 0}, - {"DNS_TYPE_WKS", Const, 0}, - {"DNS_TYPE_X25", Const, 0}, - {"DT_BLK", Const, 0}, - {"DT_CHR", Const, 0}, - {"DT_DIR", Const, 0}, - {"DT_FIFO", Const, 0}, - {"DT_LNK", Const, 0}, - {"DT_REG", Const, 0}, - {"DT_SOCK", Const, 0}, - {"DT_UNKNOWN", Const, 0}, - {"DT_WHT", Const, 0}, - {"DUPLICATE_CLOSE_SOURCE", Const, 0}, - {"DUPLICATE_SAME_ACCESS", Const, 0}, - {"DeleteFile", Func, 0}, - {"DetachLsf", Func, 0}, - {"DeviceIoControl", Func, 4}, - {"Dirent", Type, 0}, - {"Dirent.Fileno", Field, 0}, - {"Dirent.Ino", Field, 0}, - {"Dirent.Name", Field, 0}, - {"Dirent.Namlen", Field, 0}, - {"Dirent.Off", Field, 0}, - {"Dirent.Pad0", Field, 12}, - {"Dirent.Pad1", Field, 12}, - {"Dirent.Pad_cgo_0", Field, 0}, - {"Dirent.Reclen", Field, 0}, - {"Dirent.Seekoff", Field, 0}, - {"Dirent.Type", Field, 0}, - {"Dirent.X__d_padding", Field, 3}, - {"DnsNameCompare", Func, 4}, - {"DnsQuery", Func, 0}, - {"DnsRecordListFree", Func, 0}, - {"DnsSectionAdditional", Const, 4}, - {"DnsSectionAnswer", Const, 4}, - {"DnsSectionAuthority", Const, 4}, - {"DnsSectionQuestion", Const, 4}, - {"Dup", Func, 0}, - {"Dup2", Func, 0}, - {"Dup3", Func, 2}, - {"DuplicateHandle", Func, 0}, - {"E2BIG", Const, 0}, - {"EACCES", Const, 0}, - {"EADDRINUSE", Const, 0}, - {"EADDRNOTAVAIL", Const, 0}, - {"EADV", Const, 0}, - {"EAFNOSUPPORT", Const, 0}, - {"EAGAIN", Const, 0}, - {"EALREADY", Const, 0}, - {"EAUTH", Const, 0}, - {"EBADARCH", Const, 0}, - {"EBADE", Const, 0}, - {"EBADEXEC", Const, 0}, - {"EBADF", Const, 0}, - {"EBADFD", Const, 0}, - {"EBADMACHO", Const, 0}, - {"EBADMSG", Const, 0}, - {"EBADR", Const, 0}, - {"EBADRPC", Const, 0}, - {"EBADRQC", Const, 0}, - {"EBADSLT", Const, 0}, - {"EBFONT", Const, 0}, - {"EBUSY", Const, 0}, - {"ECANCELED", Const, 0}, - {"ECAPMODE", Const, 1}, - {"ECHILD", Const, 0}, - {"ECHO", Const, 0}, - {"ECHOCTL", Const, 0}, - {"ECHOE", Const, 0}, - {"ECHOK", Const, 0}, - {"ECHOKE", Const, 0}, - {"ECHONL", Const, 0}, - {"ECHOPRT", Const, 0}, - {"ECHRNG", Const, 0}, - {"ECOMM", Const, 0}, - {"ECONNABORTED", Const, 0}, - {"ECONNREFUSED", Const, 0}, - {"ECONNRESET", Const, 0}, - {"EDEADLK", Const, 0}, - {"EDEADLOCK", Const, 0}, - {"EDESTADDRREQ", Const, 0}, - {"EDEVERR", Const, 0}, - {"EDOM", Const, 0}, - {"EDOOFUS", Const, 0}, - {"EDOTDOT", Const, 0}, - {"EDQUOT", Const, 0}, - {"EEXIST", Const, 0}, - {"EFAULT", Const, 0}, - {"EFBIG", Const, 0}, - {"EFER_LMA", Const, 1}, - {"EFER_LME", Const, 1}, - {"EFER_NXE", Const, 1}, - {"EFER_SCE", Const, 1}, - {"EFTYPE", Const, 0}, - {"EHOSTDOWN", Const, 0}, - {"EHOSTUNREACH", Const, 0}, - {"EHWPOISON", Const, 0}, - {"EIDRM", Const, 0}, - {"EILSEQ", Const, 0}, - {"EINPROGRESS", Const, 0}, - {"EINTR", Const, 0}, - {"EINVAL", Const, 0}, - {"EIO", Const, 0}, - {"EIPSEC", Const, 1}, - {"EISCONN", Const, 0}, - {"EISDIR", Const, 0}, - {"EISNAM", Const, 0}, - {"EKEYEXPIRED", Const, 0}, - {"EKEYREJECTED", Const, 0}, - {"EKEYREVOKED", Const, 0}, - {"EL2HLT", Const, 0}, - {"EL2NSYNC", Const, 0}, - {"EL3HLT", Const, 0}, - {"EL3RST", Const, 0}, - {"ELAST", Const, 0}, - {"ELF_NGREG", Const, 0}, - {"ELF_PRARGSZ", Const, 0}, - {"ELIBACC", Const, 0}, - {"ELIBBAD", Const, 0}, - {"ELIBEXEC", Const, 0}, - {"ELIBMAX", Const, 0}, - {"ELIBSCN", Const, 0}, - {"ELNRNG", Const, 0}, - {"ELOOP", Const, 0}, - {"EMEDIUMTYPE", Const, 0}, - {"EMFILE", Const, 0}, - {"EMLINK", Const, 0}, - {"EMSGSIZE", Const, 0}, - {"EMT_TAGOVF", Const, 1}, - {"EMULTIHOP", Const, 0}, - {"EMUL_ENABLED", Const, 1}, - {"EMUL_LINUX", Const, 1}, - {"EMUL_LINUX32", Const, 1}, - {"EMUL_MAXID", Const, 1}, - {"EMUL_NATIVE", Const, 1}, - {"ENAMETOOLONG", Const, 0}, - {"ENAVAIL", Const, 0}, - {"ENDRUNDISC", Const, 1}, - {"ENEEDAUTH", Const, 0}, - {"ENETDOWN", Const, 0}, - {"ENETRESET", Const, 0}, - {"ENETUNREACH", Const, 0}, - {"ENFILE", Const, 0}, - {"ENOANO", Const, 0}, - {"ENOATTR", Const, 0}, - {"ENOBUFS", Const, 0}, - {"ENOCSI", Const, 0}, - {"ENODATA", Const, 0}, - {"ENODEV", Const, 0}, - {"ENOENT", Const, 0}, - {"ENOEXEC", Const, 0}, - {"ENOKEY", Const, 0}, - {"ENOLCK", Const, 0}, - {"ENOLINK", Const, 0}, - {"ENOMEDIUM", Const, 0}, - {"ENOMEM", Const, 0}, - {"ENOMSG", Const, 0}, - {"ENONET", Const, 0}, - {"ENOPKG", Const, 0}, - {"ENOPOLICY", Const, 0}, - {"ENOPROTOOPT", Const, 0}, - {"ENOSPC", Const, 0}, - {"ENOSR", Const, 0}, - {"ENOSTR", Const, 0}, - {"ENOSYS", Const, 0}, - {"ENOTBLK", Const, 0}, - {"ENOTCAPABLE", Const, 0}, - {"ENOTCONN", Const, 0}, - {"ENOTDIR", Const, 0}, - {"ENOTEMPTY", Const, 0}, - {"ENOTNAM", Const, 0}, - {"ENOTRECOVERABLE", Const, 0}, - {"ENOTSOCK", Const, 0}, - {"ENOTSUP", Const, 0}, - {"ENOTTY", Const, 0}, - {"ENOTUNIQ", Const, 0}, - {"ENXIO", Const, 0}, - {"EN_SW_CTL_INF", Const, 1}, - {"EN_SW_CTL_PREC", Const, 1}, - {"EN_SW_CTL_ROUND", Const, 1}, - {"EN_SW_DATACHAIN", Const, 1}, - {"EN_SW_DENORM", Const, 1}, - {"EN_SW_INVOP", Const, 1}, - {"EN_SW_OVERFLOW", Const, 1}, - {"EN_SW_PRECLOSS", Const, 1}, - {"EN_SW_UNDERFLOW", Const, 1}, - {"EN_SW_ZERODIV", Const, 1}, - {"EOPNOTSUPP", Const, 0}, - {"EOVERFLOW", Const, 0}, - {"EOWNERDEAD", Const, 0}, - {"EPERM", Const, 0}, - {"EPFNOSUPPORT", Const, 0}, - {"EPIPE", Const, 0}, - {"EPOLLERR", Const, 0}, - {"EPOLLET", Const, 0}, - {"EPOLLHUP", Const, 0}, - {"EPOLLIN", Const, 0}, - {"EPOLLMSG", Const, 0}, - {"EPOLLONESHOT", Const, 0}, - {"EPOLLOUT", Const, 0}, - {"EPOLLPRI", Const, 0}, - {"EPOLLRDBAND", Const, 0}, - {"EPOLLRDHUP", Const, 0}, - {"EPOLLRDNORM", Const, 0}, - {"EPOLLWRBAND", Const, 0}, - {"EPOLLWRNORM", Const, 0}, - {"EPOLL_CLOEXEC", Const, 0}, - {"EPOLL_CTL_ADD", Const, 0}, - {"EPOLL_CTL_DEL", Const, 0}, - {"EPOLL_CTL_MOD", Const, 0}, - {"EPOLL_NONBLOCK", Const, 0}, - {"EPROCLIM", Const, 0}, - {"EPROCUNAVAIL", Const, 0}, - {"EPROGMISMATCH", Const, 0}, - {"EPROGUNAVAIL", Const, 0}, - {"EPROTO", Const, 0}, - {"EPROTONOSUPPORT", Const, 0}, - {"EPROTOTYPE", Const, 0}, - {"EPWROFF", Const, 0}, - {"EQFULL", Const, 16}, - {"ERANGE", Const, 0}, - {"EREMCHG", Const, 0}, - {"EREMOTE", Const, 0}, - {"EREMOTEIO", Const, 0}, - {"ERESTART", Const, 0}, - {"ERFKILL", Const, 0}, - {"EROFS", Const, 0}, - {"ERPCMISMATCH", Const, 0}, - {"ERROR_ACCESS_DENIED", Const, 0}, - {"ERROR_ALREADY_EXISTS", Const, 0}, - {"ERROR_BROKEN_PIPE", Const, 0}, - {"ERROR_BUFFER_OVERFLOW", Const, 0}, - {"ERROR_DIR_NOT_EMPTY", Const, 8}, - {"ERROR_ENVVAR_NOT_FOUND", Const, 0}, - {"ERROR_FILE_EXISTS", Const, 0}, - {"ERROR_FILE_NOT_FOUND", Const, 0}, - {"ERROR_HANDLE_EOF", Const, 2}, - {"ERROR_INSUFFICIENT_BUFFER", Const, 0}, - {"ERROR_IO_PENDING", Const, 0}, - {"ERROR_MOD_NOT_FOUND", Const, 0}, - {"ERROR_MORE_DATA", Const, 3}, - {"ERROR_NETNAME_DELETED", Const, 3}, - {"ERROR_NOT_FOUND", Const, 1}, - {"ERROR_NO_MORE_FILES", Const, 0}, - {"ERROR_OPERATION_ABORTED", Const, 0}, - {"ERROR_PATH_NOT_FOUND", Const, 0}, - {"ERROR_PRIVILEGE_NOT_HELD", Const, 4}, - {"ERROR_PROC_NOT_FOUND", Const, 0}, - {"ESHLIBVERS", Const, 0}, - {"ESHUTDOWN", Const, 0}, - {"ESOCKTNOSUPPORT", Const, 0}, - {"ESPIPE", Const, 0}, - {"ESRCH", Const, 0}, - {"ESRMNT", Const, 0}, - {"ESTALE", Const, 0}, - {"ESTRPIPE", Const, 0}, - {"ETHERCAP_JUMBO_MTU", Const, 1}, - {"ETHERCAP_VLAN_HWTAGGING", Const, 1}, - {"ETHERCAP_VLAN_MTU", Const, 1}, - {"ETHERMIN", Const, 1}, - {"ETHERMTU", Const, 1}, - {"ETHERMTU_JUMBO", Const, 1}, - {"ETHERTYPE_8023", Const, 1}, - {"ETHERTYPE_AARP", Const, 1}, - {"ETHERTYPE_ACCTON", Const, 1}, - {"ETHERTYPE_AEONIC", Const, 1}, - {"ETHERTYPE_ALPHA", Const, 1}, - {"ETHERTYPE_AMBER", Const, 1}, - {"ETHERTYPE_AMOEBA", Const, 1}, - {"ETHERTYPE_AOE", Const, 1}, - {"ETHERTYPE_APOLLO", Const, 1}, - {"ETHERTYPE_APOLLODOMAIN", Const, 1}, - {"ETHERTYPE_APPLETALK", Const, 1}, - {"ETHERTYPE_APPLITEK", Const, 1}, - {"ETHERTYPE_ARGONAUT", Const, 1}, - {"ETHERTYPE_ARP", Const, 1}, - {"ETHERTYPE_AT", Const, 1}, - {"ETHERTYPE_ATALK", Const, 1}, - {"ETHERTYPE_ATOMIC", Const, 1}, - {"ETHERTYPE_ATT", Const, 1}, - {"ETHERTYPE_ATTSTANFORD", Const, 1}, - {"ETHERTYPE_AUTOPHON", Const, 1}, - {"ETHERTYPE_AXIS", Const, 1}, - {"ETHERTYPE_BCLOOP", Const, 1}, - {"ETHERTYPE_BOFL", Const, 1}, - {"ETHERTYPE_CABLETRON", Const, 1}, - {"ETHERTYPE_CHAOS", Const, 1}, - {"ETHERTYPE_COMDESIGN", Const, 1}, - {"ETHERTYPE_COMPUGRAPHIC", Const, 1}, - {"ETHERTYPE_COUNTERPOINT", Const, 1}, - {"ETHERTYPE_CRONUS", Const, 1}, - {"ETHERTYPE_CRONUSVLN", Const, 1}, - {"ETHERTYPE_DCA", Const, 1}, - {"ETHERTYPE_DDE", Const, 1}, - {"ETHERTYPE_DEBNI", Const, 1}, - {"ETHERTYPE_DECAM", Const, 1}, - {"ETHERTYPE_DECCUST", Const, 1}, - {"ETHERTYPE_DECDIAG", Const, 1}, - {"ETHERTYPE_DECDNS", Const, 1}, - {"ETHERTYPE_DECDTS", Const, 1}, - {"ETHERTYPE_DECEXPER", Const, 1}, - {"ETHERTYPE_DECLAST", Const, 1}, - {"ETHERTYPE_DECLTM", Const, 1}, - {"ETHERTYPE_DECMUMPS", Const, 1}, - {"ETHERTYPE_DECNETBIOS", Const, 1}, - {"ETHERTYPE_DELTACON", Const, 1}, - {"ETHERTYPE_DIDDLE", Const, 1}, - {"ETHERTYPE_DLOG1", Const, 1}, - {"ETHERTYPE_DLOG2", Const, 1}, - {"ETHERTYPE_DN", Const, 1}, - {"ETHERTYPE_DOGFIGHT", Const, 1}, - {"ETHERTYPE_DSMD", Const, 1}, - {"ETHERTYPE_ECMA", Const, 1}, - {"ETHERTYPE_ENCRYPT", Const, 1}, - {"ETHERTYPE_ES", Const, 1}, - {"ETHERTYPE_EXCELAN", Const, 1}, - {"ETHERTYPE_EXPERDATA", Const, 1}, - {"ETHERTYPE_FLIP", Const, 1}, - {"ETHERTYPE_FLOWCONTROL", Const, 1}, - {"ETHERTYPE_FRARP", Const, 1}, - {"ETHERTYPE_GENDYN", Const, 1}, - {"ETHERTYPE_HAYES", Const, 1}, - {"ETHERTYPE_HIPPI_FP", Const, 1}, - {"ETHERTYPE_HITACHI", Const, 1}, - {"ETHERTYPE_HP", Const, 1}, - {"ETHERTYPE_IEEEPUP", Const, 1}, - {"ETHERTYPE_IEEEPUPAT", Const, 1}, - {"ETHERTYPE_IMLBL", Const, 1}, - {"ETHERTYPE_IMLBLDIAG", Const, 1}, - {"ETHERTYPE_IP", Const, 1}, - {"ETHERTYPE_IPAS", Const, 1}, - {"ETHERTYPE_IPV6", Const, 1}, - {"ETHERTYPE_IPX", Const, 1}, - {"ETHERTYPE_IPXNEW", Const, 1}, - {"ETHERTYPE_KALPANA", Const, 1}, - {"ETHERTYPE_LANBRIDGE", Const, 1}, - {"ETHERTYPE_LANPROBE", Const, 1}, - {"ETHERTYPE_LAT", Const, 1}, - {"ETHERTYPE_LBACK", Const, 1}, - {"ETHERTYPE_LITTLE", Const, 1}, - {"ETHERTYPE_LLDP", Const, 1}, - {"ETHERTYPE_LOGICRAFT", Const, 1}, - {"ETHERTYPE_LOOPBACK", Const, 1}, - {"ETHERTYPE_MATRA", Const, 1}, - {"ETHERTYPE_MAX", Const, 1}, - {"ETHERTYPE_MERIT", Const, 1}, - {"ETHERTYPE_MICP", Const, 1}, - {"ETHERTYPE_MOPDL", Const, 1}, - {"ETHERTYPE_MOPRC", Const, 1}, - {"ETHERTYPE_MOTOROLA", Const, 1}, - {"ETHERTYPE_MPLS", Const, 1}, - {"ETHERTYPE_MPLS_MCAST", Const, 1}, - {"ETHERTYPE_MUMPS", Const, 1}, - {"ETHERTYPE_NBPCC", Const, 1}, - {"ETHERTYPE_NBPCLAIM", Const, 1}, - {"ETHERTYPE_NBPCLREQ", Const, 1}, - {"ETHERTYPE_NBPCLRSP", Const, 1}, - {"ETHERTYPE_NBPCREQ", Const, 1}, - {"ETHERTYPE_NBPCRSP", Const, 1}, - {"ETHERTYPE_NBPDG", Const, 1}, - {"ETHERTYPE_NBPDGB", Const, 1}, - {"ETHERTYPE_NBPDLTE", Const, 1}, - {"ETHERTYPE_NBPRAR", Const, 1}, - {"ETHERTYPE_NBPRAS", Const, 1}, - {"ETHERTYPE_NBPRST", Const, 1}, - {"ETHERTYPE_NBPSCD", Const, 1}, - {"ETHERTYPE_NBPVCD", Const, 1}, - {"ETHERTYPE_NBS", Const, 1}, - {"ETHERTYPE_NCD", Const, 1}, - {"ETHERTYPE_NESTAR", Const, 1}, - {"ETHERTYPE_NETBEUI", Const, 1}, - {"ETHERTYPE_NOVELL", Const, 1}, - {"ETHERTYPE_NS", Const, 1}, - {"ETHERTYPE_NSAT", Const, 1}, - {"ETHERTYPE_NSCOMPAT", Const, 1}, - {"ETHERTYPE_NTRAILER", Const, 1}, - {"ETHERTYPE_OS9", Const, 1}, - {"ETHERTYPE_OS9NET", Const, 1}, - {"ETHERTYPE_PACER", Const, 1}, - {"ETHERTYPE_PAE", Const, 1}, - {"ETHERTYPE_PCS", Const, 1}, - {"ETHERTYPE_PLANNING", Const, 1}, - {"ETHERTYPE_PPP", Const, 1}, - {"ETHERTYPE_PPPOE", Const, 1}, - {"ETHERTYPE_PPPOEDISC", Const, 1}, - {"ETHERTYPE_PRIMENTS", Const, 1}, - {"ETHERTYPE_PUP", Const, 1}, - {"ETHERTYPE_PUPAT", Const, 1}, - {"ETHERTYPE_QINQ", Const, 1}, - {"ETHERTYPE_RACAL", Const, 1}, - {"ETHERTYPE_RATIONAL", Const, 1}, - {"ETHERTYPE_RAWFR", Const, 1}, - {"ETHERTYPE_RCL", Const, 1}, - {"ETHERTYPE_RDP", Const, 1}, - {"ETHERTYPE_RETIX", Const, 1}, - {"ETHERTYPE_REVARP", Const, 1}, - {"ETHERTYPE_SCA", Const, 1}, - {"ETHERTYPE_SECTRA", Const, 1}, - {"ETHERTYPE_SECUREDATA", Const, 1}, - {"ETHERTYPE_SGITW", Const, 1}, - {"ETHERTYPE_SG_BOUNCE", Const, 1}, - {"ETHERTYPE_SG_DIAG", Const, 1}, - {"ETHERTYPE_SG_NETGAMES", Const, 1}, - {"ETHERTYPE_SG_RESV", Const, 1}, - {"ETHERTYPE_SIMNET", Const, 1}, - {"ETHERTYPE_SLOW", Const, 1}, - {"ETHERTYPE_SLOWPROTOCOLS", Const, 1}, - {"ETHERTYPE_SNA", Const, 1}, - {"ETHERTYPE_SNMP", Const, 1}, - {"ETHERTYPE_SONIX", Const, 1}, - {"ETHERTYPE_SPIDER", Const, 1}, - {"ETHERTYPE_SPRITE", Const, 1}, - {"ETHERTYPE_STP", Const, 1}, - {"ETHERTYPE_TALARIS", Const, 1}, - {"ETHERTYPE_TALARISMC", Const, 1}, - {"ETHERTYPE_TCPCOMP", Const, 1}, - {"ETHERTYPE_TCPSM", Const, 1}, - {"ETHERTYPE_TEC", Const, 1}, - {"ETHERTYPE_TIGAN", Const, 1}, - {"ETHERTYPE_TRAIL", Const, 1}, - {"ETHERTYPE_TRANSETHER", Const, 1}, - {"ETHERTYPE_TYMSHARE", Const, 1}, - {"ETHERTYPE_UBBST", Const, 1}, - {"ETHERTYPE_UBDEBUG", Const, 1}, - {"ETHERTYPE_UBDIAGLOOP", Const, 1}, - {"ETHERTYPE_UBDL", Const, 1}, - {"ETHERTYPE_UBNIU", Const, 1}, - {"ETHERTYPE_UBNMC", Const, 1}, - {"ETHERTYPE_VALID", Const, 1}, - {"ETHERTYPE_VARIAN", Const, 1}, - {"ETHERTYPE_VAXELN", Const, 1}, - {"ETHERTYPE_VEECO", Const, 1}, - {"ETHERTYPE_VEXP", Const, 1}, - {"ETHERTYPE_VGLAB", Const, 1}, - {"ETHERTYPE_VINES", Const, 1}, - {"ETHERTYPE_VINESECHO", Const, 1}, - {"ETHERTYPE_VINESLOOP", Const, 1}, - {"ETHERTYPE_VITAL", Const, 1}, - {"ETHERTYPE_VLAN", Const, 1}, - {"ETHERTYPE_VLTLMAN", Const, 1}, - {"ETHERTYPE_VPROD", Const, 1}, - {"ETHERTYPE_VURESERVED", Const, 1}, - {"ETHERTYPE_WATERLOO", Const, 1}, - {"ETHERTYPE_WELLFLEET", Const, 1}, - {"ETHERTYPE_X25", Const, 1}, - {"ETHERTYPE_X75", Const, 1}, - {"ETHERTYPE_XNSSM", Const, 1}, - {"ETHERTYPE_XTP", Const, 1}, - {"ETHER_ADDR_LEN", Const, 1}, - {"ETHER_ALIGN", Const, 1}, - {"ETHER_CRC_LEN", Const, 1}, - {"ETHER_CRC_POLY_BE", Const, 1}, - {"ETHER_CRC_POLY_LE", Const, 1}, - {"ETHER_HDR_LEN", Const, 1}, - {"ETHER_MAX_DIX_LEN", Const, 1}, - {"ETHER_MAX_LEN", Const, 1}, - {"ETHER_MAX_LEN_JUMBO", Const, 1}, - {"ETHER_MIN_LEN", Const, 1}, - {"ETHER_PPPOE_ENCAP_LEN", Const, 1}, - {"ETHER_TYPE_LEN", Const, 1}, - {"ETHER_VLAN_ENCAP_LEN", Const, 1}, - {"ETH_P_1588", Const, 0}, - {"ETH_P_8021Q", Const, 0}, - {"ETH_P_802_2", Const, 0}, - {"ETH_P_802_3", Const, 0}, - {"ETH_P_AARP", Const, 0}, - {"ETH_P_ALL", Const, 0}, - {"ETH_P_AOE", Const, 0}, - {"ETH_P_ARCNET", Const, 0}, - {"ETH_P_ARP", Const, 0}, - {"ETH_P_ATALK", Const, 0}, - {"ETH_P_ATMFATE", Const, 0}, - {"ETH_P_ATMMPOA", Const, 0}, - {"ETH_P_AX25", Const, 0}, - {"ETH_P_BPQ", Const, 0}, - {"ETH_P_CAIF", Const, 0}, - {"ETH_P_CAN", Const, 0}, - {"ETH_P_CONTROL", Const, 0}, - {"ETH_P_CUST", Const, 0}, - {"ETH_P_DDCMP", Const, 0}, - {"ETH_P_DEC", Const, 0}, - {"ETH_P_DIAG", Const, 0}, - {"ETH_P_DNA_DL", Const, 0}, - {"ETH_P_DNA_RC", Const, 0}, - {"ETH_P_DNA_RT", Const, 0}, - {"ETH_P_DSA", Const, 0}, - {"ETH_P_ECONET", Const, 0}, - {"ETH_P_EDSA", Const, 0}, - {"ETH_P_FCOE", Const, 0}, - {"ETH_P_FIP", Const, 0}, - {"ETH_P_HDLC", Const, 0}, - {"ETH_P_IEEE802154", Const, 0}, - {"ETH_P_IEEEPUP", Const, 0}, - {"ETH_P_IEEEPUPAT", Const, 0}, - {"ETH_P_IP", Const, 0}, - {"ETH_P_IPV6", Const, 0}, - {"ETH_P_IPX", Const, 0}, - {"ETH_P_IRDA", Const, 0}, - {"ETH_P_LAT", Const, 0}, - {"ETH_P_LINK_CTL", Const, 0}, - {"ETH_P_LOCALTALK", Const, 0}, - {"ETH_P_LOOP", Const, 0}, - {"ETH_P_MOBITEX", Const, 0}, - {"ETH_P_MPLS_MC", Const, 0}, - {"ETH_P_MPLS_UC", Const, 0}, - {"ETH_P_PAE", Const, 0}, - {"ETH_P_PAUSE", Const, 0}, - {"ETH_P_PHONET", Const, 0}, - {"ETH_P_PPPTALK", Const, 0}, - {"ETH_P_PPP_DISC", Const, 0}, - {"ETH_P_PPP_MP", Const, 0}, - {"ETH_P_PPP_SES", Const, 0}, - {"ETH_P_PUP", Const, 0}, - {"ETH_P_PUPAT", Const, 0}, - {"ETH_P_RARP", Const, 0}, - {"ETH_P_SCA", Const, 0}, - {"ETH_P_SLOW", Const, 0}, - {"ETH_P_SNAP", Const, 0}, - {"ETH_P_TEB", Const, 0}, - {"ETH_P_TIPC", Const, 0}, - {"ETH_P_TRAILER", Const, 0}, - {"ETH_P_TR_802_2", Const, 0}, - {"ETH_P_WAN_PPP", Const, 0}, - {"ETH_P_WCCP", Const, 0}, - {"ETH_P_X25", Const, 0}, - {"ETIME", Const, 0}, - {"ETIMEDOUT", Const, 0}, - {"ETOOMANYREFS", Const, 0}, - {"ETXTBSY", Const, 0}, - {"EUCLEAN", Const, 0}, - {"EUNATCH", Const, 0}, - {"EUSERS", Const, 0}, - {"EVFILT_AIO", Const, 0}, - {"EVFILT_FS", Const, 0}, - {"EVFILT_LIO", Const, 0}, - {"EVFILT_MACHPORT", Const, 0}, - {"EVFILT_PROC", Const, 0}, - {"EVFILT_READ", Const, 0}, - {"EVFILT_SIGNAL", Const, 0}, - {"EVFILT_SYSCOUNT", Const, 0}, - {"EVFILT_THREADMARKER", Const, 0}, - {"EVFILT_TIMER", Const, 0}, - {"EVFILT_USER", Const, 0}, - {"EVFILT_VM", Const, 0}, - {"EVFILT_VNODE", Const, 0}, - {"EVFILT_WRITE", Const, 0}, - {"EV_ADD", Const, 0}, - {"EV_CLEAR", Const, 0}, - {"EV_DELETE", Const, 0}, - {"EV_DISABLE", Const, 0}, - {"EV_DISPATCH", Const, 0}, - {"EV_DROP", Const, 3}, - {"EV_ENABLE", Const, 0}, - {"EV_EOF", Const, 0}, - {"EV_ERROR", Const, 0}, - {"EV_FLAG0", Const, 0}, - {"EV_FLAG1", Const, 0}, - {"EV_ONESHOT", Const, 0}, - {"EV_OOBAND", Const, 0}, - {"EV_POLL", Const, 0}, - {"EV_RECEIPT", Const, 0}, - {"EV_SYSFLAGS", Const, 0}, - {"EWINDOWS", Const, 0}, - {"EWOULDBLOCK", Const, 0}, - {"EXDEV", Const, 0}, - {"EXFULL", Const, 0}, - {"EXTA", Const, 0}, - {"EXTB", Const, 0}, - {"EXTPROC", Const, 0}, - {"Environ", Func, 0}, - {"EpollCreate", Func, 0}, - {"EpollCreate1", Func, 0}, - {"EpollCtl", Func, 0}, - {"EpollEvent", Type, 0}, - {"EpollEvent.Events", Field, 0}, - {"EpollEvent.Fd", Field, 0}, - {"EpollEvent.Pad", Field, 0}, - {"EpollEvent.PadFd", Field, 0}, - {"EpollWait", Func, 0}, - {"Errno", Type, 0}, - {"EscapeArg", Func, 0}, - {"Exchangedata", Func, 0}, - {"Exec", Func, 0}, - {"Exit", Func, 0}, - {"ExitProcess", Func, 0}, - {"FD_CLOEXEC", Const, 0}, - {"FD_SETSIZE", Const, 0}, - {"FILE_ACTION_ADDED", Const, 0}, - {"FILE_ACTION_MODIFIED", Const, 0}, - {"FILE_ACTION_REMOVED", Const, 0}, - {"FILE_ACTION_RENAMED_NEW_NAME", Const, 0}, - {"FILE_ACTION_RENAMED_OLD_NAME", Const, 0}, - {"FILE_APPEND_DATA", Const, 0}, - {"FILE_ATTRIBUTE_ARCHIVE", Const, 0}, - {"FILE_ATTRIBUTE_DIRECTORY", Const, 0}, - {"FILE_ATTRIBUTE_HIDDEN", Const, 0}, - {"FILE_ATTRIBUTE_NORMAL", Const, 0}, - {"FILE_ATTRIBUTE_READONLY", Const, 0}, - {"FILE_ATTRIBUTE_REPARSE_POINT", Const, 4}, - {"FILE_ATTRIBUTE_SYSTEM", Const, 0}, - {"FILE_BEGIN", Const, 0}, - {"FILE_CURRENT", Const, 0}, - {"FILE_END", Const, 0}, - {"FILE_FLAG_BACKUP_SEMANTICS", Const, 0}, - {"FILE_FLAG_OPEN_REPARSE_POINT", Const, 4}, - {"FILE_FLAG_OVERLAPPED", Const, 0}, - {"FILE_LIST_DIRECTORY", Const, 0}, - {"FILE_MAP_COPY", Const, 0}, - {"FILE_MAP_EXECUTE", Const, 0}, - {"FILE_MAP_READ", Const, 0}, - {"FILE_MAP_WRITE", Const, 0}, - {"FILE_NOTIFY_CHANGE_ATTRIBUTES", Const, 0}, - {"FILE_NOTIFY_CHANGE_CREATION", Const, 0}, - {"FILE_NOTIFY_CHANGE_DIR_NAME", Const, 0}, - {"FILE_NOTIFY_CHANGE_FILE_NAME", Const, 0}, - {"FILE_NOTIFY_CHANGE_LAST_ACCESS", Const, 0}, - {"FILE_NOTIFY_CHANGE_LAST_WRITE", Const, 0}, - {"FILE_NOTIFY_CHANGE_SIZE", Const, 0}, - {"FILE_SHARE_DELETE", Const, 0}, - {"FILE_SHARE_READ", Const, 0}, - {"FILE_SHARE_WRITE", Const, 0}, - {"FILE_SKIP_COMPLETION_PORT_ON_SUCCESS", Const, 2}, - {"FILE_SKIP_SET_EVENT_ON_HANDLE", Const, 2}, - {"FILE_TYPE_CHAR", Const, 0}, - {"FILE_TYPE_DISK", Const, 0}, - {"FILE_TYPE_PIPE", Const, 0}, - {"FILE_TYPE_REMOTE", Const, 0}, - {"FILE_TYPE_UNKNOWN", Const, 0}, - {"FILE_WRITE_ATTRIBUTES", Const, 0}, - {"FLUSHO", Const, 0}, - {"FORMAT_MESSAGE_ALLOCATE_BUFFER", Const, 0}, - {"FORMAT_MESSAGE_ARGUMENT_ARRAY", Const, 0}, - {"FORMAT_MESSAGE_FROM_HMODULE", Const, 0}, - {"FORMAT_MESSAGE_FROM_STRING", Const, 0}, - {"FORMAT_MESSAGE_FROM_SYSTEM", Const, 0}, - {"FORMAT_MESSAGE_IGNORE_INSERTS", Const, 0}, - {"FORMAT_MESSAGE_MAX_WIDTH_MASK", Const, 0}, - {"FSCTL_GET_REPARSE_POINT", Const, 4}, - {"F_ADDFILESIGS", Const, 0}, - {"F_ADDSIGS", Const, 0}, - {"F_ALLOCATEALL", Const, 0}, - {"F_ALLOCATECONTIG", Const, 0}, - {"F_CANCEL", Const, 0}, - {"F_CHKCLEAN", Const, 0}, - {"F_CLOSEM", Const, 1}, - {"F_DUP2FD", Const, 0}, - {"F_DUP2FD_CLOEXEC", Const, 1}, - {"F_DUPFD", Const, 0}, - {"F_DUPFD_CLOEXEC", Const, 0}, - {"F_EXLCK", Const, 0}, - {"F_FINDSIGS", Const, 16}, - {"F_FLUSH_DATA", Const, 0}, - {"F_FREEZE_FS", Const, 0}, - {"F_FSCTL", Const, 1}, - {"F_FSDIRMASK", Const, 1}, - {"F_FSIN", Const, 1}, - {"F_FSINOUT", Const, 1}, - {"F_FSOUT", Const, 1}, - {"F_FSPRIV", Const, 1}, - {"F_FSVOID", Const, 1}, - {"F_FULLFSYNC", Const, 0}, - {"F_GETCODEDIR", Const, 16}, - {"F_GETFD", Const, 0}, - {"F_GETFL", Const, 0}, - {"F_GETLEASE", Const, 0}, - {"F_GETLK", Const, 0}, - {"F_GETLK64", Const, 0}, - {"F_GETLKPID", Const, 0}, - {"F_GETNOSIGPIPE", Const, 0}, - {"F_GETOWN", Const, 0}, - {"F_GETOWN_EX", Const, 0}, - {"F_GETPATH", Const, 0}, - {"F_GETPATH_MTMINFO", Const, 0}, - {"F_GETPIPE_SZ", Const, 0}, - {"F_GETPROTECTIONCLASS", Const, 0}, - {"F_GETPROTECTIONLEVEL", Const, 16}, - {"F_GETSIG", Const, 0}, - {"F_GLOBAL_NOCACHE", Const, 0}, - {"F_LOCK", Const, 0}, - {"F_LOG2PHYS", Const, 0}, - {"F_LOG2PHYS_EXT", Const, 0}, - {"F_MARKDEPENDENCY", Const, 0}, - {"F_MAXFD", Const, 1}, - {"F_NOCACHE", Const, 0}, - {"F_NODIRECT", Const, 0}, - {"F_NOTIFY", Const, 0}, - {"F_OGETLK", Const, 0}, - {"F_OK", Const, 0}, - {"F_OSETLK", Const, 0}, - {"F_OSETLKW", Const, 0}, - {"F_PARAM_MASK", Const, 1}, - {"F_PARAM_MAX", Const, 1}, - {"F_PATHPKG_CHECK", Const, 0}, - {"F_PEOFPOSMODE", Const, 0}, - {"F_PREALLOCATE", Const, 0}, - {"F_RDADVISE", Const, 0}, - {"F_RDAHEAD", Const, 0}, - {"F_RDLCK", Const, 0}, - {"F_READAHEAD", Const, 0}, - {"F_READBOOTSTRAP", Const, 0}, - {"F_SETBACKINGSTORE", Const, 0}, - {"F_SETFD", Const, 0}, - {"F_SETFL", Const, 0}, - {"F_SETLEASE", Const, 0}, - {"F_SETLK", Const, 0}, - {"F_SETLK64", Const, 0}, - {"F_SETLKW", Const, 0}, - {"F_SETLKW64", Const, 0}, - {"F_SETLKWTIMEOUT", Const, 16}, - {"F_SETLK_REMOTE", Const, 0}, - {"F_SETNOSIGPIPE", Const, 0}, - {"F_SETOWN", Const, 0}, - {"F_SETOWN_EX", Const, 0}, - {"F_SETPIPE_SZ", Const, 0}, - {"F_SETPROTECTIONCLASS", Const, 0}, - {"F_SETSIG", Const, 0}, - {"F_SETSIZE", Const, 0}, - {"F_SHLCK", Const, 0}, - {"F_SINGLE_WRITER", Const, 16}, - {"F_TEST", Const, 0}, - {"F_THAW_FS", Const, 0}, - {"F_TLOCK", Const, 0}, - {"F_TRANSCODEKEY", Const, 16}, - {"F_ULOCK", Const, 0}, - {"F_UNLCK", Const, 0}, - {"F_UNLCKSYS", Const, 0}, - {"F_VOLPOSMODE", Const, 0}, - {"F_WRITEBOOTSTRAP", Const, 0}, - {"F_WRLCK", Const, 0}, - {"Faccessat", Func, 0}, - {"Fallocate", Func, 0}, - {"Fbootstraptransfer_t", Type, 0}, - {"Fbootstraptransfer_t.Buffer", Field, 0}, - {"Fbootstraptransfer_t.Length", Field, 0}, - {"Fbootstraptransfer_t.Offset", Field, 0}, - {"Fchdir", Func, 0}, - {"Fchflags", Func, 0}, - {"Fchmod", Func, 0}, - {"Fchmodat", Func, 0}, - {"Fchown", Func, 0}, - {"Fchownat", Func, 0}, - {"FcntlFlock", Func, 3}, - {"FdSet", Type, 0}, - {"FdSet.Bits", Field, 0}, - {"FdSet.X__fds_bits", Field, 0}, - {"Fdatasync", Func, 0}, - {"FileNotifyInformation", Type, 0}, - {"FileNotifyInformation.Action", Field, 0}, - {"FileNotifyInformation.FileName", Field, 0}, - {"FileNotifyInformation.FileNameLength", Field, 0}, - {"FileNotifyInformation.NextEntryOffset", Field, 0}, - {"Filetime", Type, 0}, - {"Filetime.HighDateTime", Field, 0}, - {"Filetime.LowDateTime", Field, 0}, - {"FindClose", Func, 0}, - {"FindFirstFile", Func, 0}, - {"FindNextFile", Func, 0}, - {"Flock", Func, 0}, - {"Flock_t", Type, 0}, - {"Flock_t.Len", Field, 0}, - {"Flock_t.Pad_cgo_0", Field, 0}, - {"Flock_t.Pad_cgo_1", Field, 3}, - {"Flock_t.Pid", Field, 0}, - {"Flock_t.Start", Field, 0}, - {"Flock_t.Sysid", Field, 0}, - {"Flock_t.Type", Field, 0}, - {"Flock_t.Whence", Field, 0}, - {"FlushBpf", Func, 0}, - {"FlushFileBuffers", Func, 0}, - {"FlushViewOfFile", Func, 0}, - {"ForkExec", Func, 0}, - {"ForkLock", Var, 0}, - {"FormatMessage", Func, 0}, - {"Fpathconf", Func, 0}, - {"FreeAddrInfoW", Func, 1}, - {"FreeEnvironmentStrings", Func, 0}, - {"FreeLibrary", Func, 0}, - {"Fsid", Type, 0}, - {"Fsid.Val", Field, 0}, - {"Fsid.X__fsid_val", Field, 2}, - {"Fsid.X__val", Field, 0}, - {"Fstat", Func, 0}, - {"Fstatat", Func, 12}, - {"Fstatfs", Func, 0}, - {"Fstore_t", Type, 0}, - {"Fstore_t.Bytesalloc", Field, 0}, - {"Fstore_t.Flags", Field, 0}, - {"Fstore_t.Length", Field, 0}, - {"Fstore_t.Offset", Field, 0}, - {"Fstore_t.Posmode", Field, 0}, - {"Fsync", Func, 0}, - {"Ftruncate", Func, 0}, - {"FullPath", Func, 4}, - {"Futimes", Func, 0}, - {"Futimesat", Func, 0}, - {"GENERIC_ALL", Const, 0}, - {"GENERIC_EXECUTE", Const, 0}, - {"GENERIC_READ", Const, 0}, - {"GENERIC_WRITE", Const, 0}, - {"GUID", Type, 1}, - {"GUID.Data1", Field, 1}, - {"GUID.Data2", Field, 1}, - {"GUID.Data3", Field, 1}, - {"GUID.Data4", Field, 1}, - {"GetAcceptExSockaddrs", Func, 0}, - {"GetAdaptersInfo", Func, 0}, - {"GetAddrInfoW", Func, 1}, - {"GetCommandLine", Func, 0}, - {"GetComputerName", Func, 0}, - {"GetConsoleMode", Func, 1}, - {"GetCurrentDirectory", Func, 0}, - {"GetCurrentProcess", Func, 0}, - {"GetEnvironmentStrings", Func, 0}, - {"GetEnvironmentVariable", Func, 0}, - {"GetExitCodeProcess", Func, 0}, - {"GetFileAttributes", Func, 0}, - {"GetFileAttributesEx", Func, 0}, - {"GetFileExInfoStandard", Const, 0}, - {"GetFileExMaxInfoLevel", Const, 0}, - {"GetFileInformationByHandle", Func, 0}, - {"GetFileType", Func, 0}, - {"GetFullPathName", Func, 0}, - {"GetHostByName", Func, 0}, - {"GetIfEntry", Func, 0}, - {"GetLastError", Func, 0}, - {"GetLengthSid", Func, 0}, - {"GetLongPathName", Func, 0}, - {"GetProcAddress", Func, 0}, - {"GetProcessTimes", Func, 0}, - {"GetProtoByName", Func, 0}, - {"GetQueuedCompletionStatus", Func, 0}, - {"GetServByName", Func, 0}, - {"GetShortPathName", Func, 0}, - {"GetStartupInfo", Func, 0}, - {"GetStdHandle", Func, 0}, - {"GetSystemTimeAsFileTime", Func, 0}, - {"GetTempPath", Func, 0}, - {"GetTimeZoneInformation", Func, 0}, - {"GetTokenInformation", Func, 0}, - {"GetUserNameEx", Func, 0}, - {"GetUserProfileDirectory", Func, 0}, - {"GetVersion", Func, 0}, - {"Getcwd", Func, 0}, - {"Getdents", Func, 0}, - {"Getdirentries", Func, 0}, - {"Getdtablesize", Func, 0}, - {"Getegid", Func, 0}, - {"Getenv", Func, 0}, - {"Geteuid", Func, 0}, - {"Getfsstat", Func, 0}, - {"Getgid", Func, 0}, - {"Getgroups", Func, 0}, - {"Getpagesize", Func, 0}, - {"Getpeername", Func, 0}, - {"Getpgid", Func, 0}, - {"Getpgrp", Func, 0}, - {"Getpid", Func, 0}, - {"Getppid", Func, 0}, - {"Getpriority", Func, 0}, - {"Getrlimit", Func, 0}, - {"Getrusage", Func, 0}, - {"Getsid", Func, 0}, - {"Getsockname", Func, 0}, - {"Getsockopt", Func, 1}, - {"GetsockoptByte", Func, 0}, - {"GetsockoptICMPv6Filter", Func, 2}, - {"GetsockoptIPMreq", Func, 0}, - {"GetsockoptIPMreqn", Func, 0}, - {"GetsockoptIPv6MTUInfo", Func, 2}, - {"GetsockoptIPv6Mreq", Func, 0}, - {"GetsockoptInet4Addr", Func, 0}, - {"GetsockoptInt", Func, 0}, - {"GetsockoptUcred", Func, 1}, - {"Gettid", Func, 0}, - {"Gettimeofday", Func, 0}, - {"Getuid", Func, 0}, - {"Getwd", Func, 0}, - {"Getxattr", Func, 1}, - {"HANDLE_FLAG_INHERIT", Const, 0}, - {"HKEY_CLASSES_ROOT", Const, 0}, - {"HKEY_CURRENT_CONFIG", Const, 0}, - {"HKEY_CURRENT_USER", Const, 0}, - {"HKEY_DYN_DATA", Const, 0}, - {"HKEY_LOCAL_MACHINE", Const, 0}, - {"HKEY_PERFORMANCE_DATA", Const, 0}, - {"HKEY_USERS", Const, 0}, - {"HUPCL", Const, 0}, - {"Handle", Type, 0}, - {"Hostent", Type, 0}, - {"Hostent.AddrList", Field, 0}, - {"Hostent.AddrType", Field, 0}, - {"Hostent.Aliases", Field, 0}, - {"Hostent.Length", Field, 0}, - {"Hostent.Name", Field, 0}, - {"ICANON", Const, 0}, - {"ICMP6_FILTER", Const, 2}, - {"ICMPV6_FILTER", Const, 2}, - {"ICMPv6Filter", Type, 2}, - {"ICMPv6Filter.Data", Field, 2}, - {"ICMPv6Filter.Filt", Field, 2}, - {"ICRNL", Const, 0}, - {"IEXTEN", Const, 0}, - {"IFAN_ARRIVAL", Const, 1}, - {"IFAN_DEPARTURE", Const, 1}, - {"IFA_ADDRESS", Const, 0}, - {"IFA_ANYCAST", Const, 0}, - {"IFA_BROADCAST", Const, 0}, - {"IFA_CACHEINFO", Const, 0}, - {"IFA_F_DADFAILED", Const, 0}, - {"IFA_F_DEPRECATED", Const, 0}, - {"IFA_F_HOMEADDRESS", Const, 0}, - {"IFA_F_NODAD", Const, 0}, - {"IFA_F_OPTIMISTIC", Const, 0}, - {"IFA_F_PERMANENT", Const, 0}, - {"IFA_F_SECONDARY", Const, 0}, - {"IFA_F_TEMPORARY", Const, 0}, - {"IFA_F_TENTATIVE", Const, 0}, - {"IFA_LABEL", Const, 0}, - {"IFA_LOCAL", Const, 0}, - {"IFA_MAX", Const, 0}, - {"IFA_MULTICAST", Const, 0}, - {"IFA_ROUTE", Const, 1}, - {"IFA_UNSPEC", Const, 0}, - {"IFF_ALLMULTI", Const, 0}, - {"IFF_ALTPHYS", Const, 0}, - {"IFF_AUTOMEDIA", Const, 0}, - {"IFF_BROADCAST", Const, 0}, - {"IFF_CANTCHANGE", Const, 0}, - {"IFF_CANTCONFIG", Const, 1}, - {"IFF_DEBUG", Const, 0}, - {"IFF_DRV_OACTIVE", Const, 0}, - {"IFF_DRV_RUNNING", Const, 0}, - {"IFF_DYING", Const, 0}, - {"IFF_DYNAMIC", Const, 0}, - {"IFF_LINK0", Const, 0}, - {"IFF_LINK1", Const, 0}, - {"IFF_LINK2", Const, 0}, - {"IFF_LOOPBACK", Const, 0}, - {"IFF_MASTER", Const, 0}, - {"IFF_MONITOR", Const, 0}, - {"IFF_MULTICAST", Const, 0}, - {"IFF_NOARP", Const, 0}, - {"IFF_NOTRAILERS", Const, 0}, - {"IFF_NO_PI", Const, 0}, - {"IFF_OACTIVE", Const, 0}, - {"IFF_ONE_QUEUE", Const, 0}, - {"IFF_POINTOPOINT", Const, 0}, - {"IFF_POINTTOPOINT", Const, 0}, - {"IFF_PORTSEL", Const, 0}, - {"IFF_PPROMISC", Const, 0}, - {"IFF_PROMISC", Const, 0}, - {"IFF_RENAMING", Const, 0}, - {"IFF_RUNNING", Const, 0}, - {"IFF_SIMPLEX", Const, 0}, - {"IFF_SLAVE", Const, 0}, - {"IFF_SMART", Const, 0}, - {"IFF_STATICARP", Const, 0}, - {"IFF_TAP", Const, 0}, - {"IFF_TUN", Const, 0}, - {"IFF_TUN_EXCL", Const, 0}, - {"IFF_UP", Const, 0}, - {"IFF_VNET_HDR", Const, 0}, - {"IFLA_ADDRESS", Const, 0}, - {"IFLA_BROADCAST", Const, 0}, - {"IFLA_COST", Const, 0}, - {"IFLA_IFALIAS", Const, 0}, - {"IFLA_IFNAME", Const, 0}, - {"IFLA_LINK", Const, 0}, - {"IFLA_LINKINFO", Const, 0}, - {"IFLA_LINKMODE", Const, 0}, - {"IFLA_MAP", Const, 0}, - {"IFLA_MASTER", Const, 0}, - {"IFLA_MAX", Const, 0}, - {"IFLA_MTU", Const, 0}, - {"IFLA_NET_NS_PID", Const, 0}, - {"IFLA_OPERSTATE", Const, 0}, - {"IFLA_PRIORITY", Const, 0}, - {"IFLA_PROTINFO", Const, 0}, - {"IFLA_QDISC", Const, 0}, - {"IFLA_STATS", Const, 0}, - {"IFLA_TXQLEN", Const, 0}, - {"IFLA_UNSPEC", Const, 0}, - {"IFLA_WEIGHT", Const, 0}, - {"IFLA_WIRELESS", Const, 0}, - {"IFNAMSIZ", Const, 0}, - {"IFT_1822", Const, 0}, - {"IFT_A12MPPSWITCH", Const, 0}, - {"IFT_AAL2", Const, 0}, - {"IFT_AAL5", Const, 0}, - {"IFT_ADSL", Const, 0}, - {"IFT_AFLANE8023", Const, 0}, - {"IFT_AFLANE8025", Const, 0}, - {"IFT_ARAP", Const, 0}, - {"IFT_ARCNET", Const, 0}, - {"IFT_ARCNETPLUS", Const, 0}, - {"IFT_ASYNC", Const, 0}, - {"IFT_ATM", Const, 0}, - {"IFT_ATMDXI", Const, 0}, - {"IFT_ATMFUNI", Const, 0}, - {"IFT_ATMIMA", Const, 0}, - {"IFT_ATMLOGICAL", Const, 0}, - {"IFT_ATMRADIO", Const, 0}, - {"IFT_ATMSUBINTERFACE", Const, 0}, - {"IFT_ATMVCIENDPT", Const, 0}, - {"IFT_ATMVIRTUAL", Const, 0}, - {"IFT_BGPPOLICYACCOUNTING", Const, 0}, - {"IFT_BLUETOOTH", Const, 1}, - {"IFT_BRIDGE", Const, 0}, - {"IFT_BSC", Const, 0}, - {"IFT_CARP", Const, 0}, - {"IFT_CCTEMUL", Const, 0}, - {"IFT_CELLULAR", Const, 0}, - {"IFT_CEPT", Const, 0}, - {"IFT_CES", Const, 0}, - {"IFT_CHANNEL", Const, 0}, - {"IFT_CNR", Const, 0}, - {"IFT_COFFEE", Const, 0}, - {"IFT_COMPOSITELINK", Const, 0}, - {"IFT_DCN", Const, 0}, - {"IFT_DIGITALPOWERLINE", Const, 0}, - {"IFT_DIGITALWRAPPEROVERHEADCHANNEL", Const, 0}, - {"IFT_DLSW", Const, 0}, - {"IFT_DOCSCABLEDOWNSTREAM", Const, 0}, - {"IFT_DOCSCABLEMACLAYER", Const, 0}, - {"IFT_DOCSCABLEUPSTREAM", Const, 0}, - {"IFT_DOCSCABLEUPSTREAMCHANNEL", Const, 1}, - {"IFT_DS0", Const, 0}, - {"IFT_DS0BUNDLE", Const, 0}, - {"IFT_DS1FDL", Const, 0}, - {"IFT_DS3", Const, 0}, - {"IFT_DTM", Const, 0}, - {"IFT_DUMMY", Const, 1}, - {"IFT_DVBASILN", Const, 0}, - {"IFT_DVBASIOUT", Const, 0}, - {"IFT_DVBRCCDOWNSTREAM", Const, 0}, - {"IFT_DVBRCCMACLAYER", Const, 0}, - {"IFT_DVBRCCUPSTREAM", Const, 0}, - {"IFT_ECONET", Const, 1}, - {"IFT_ENC", Const, 0}, - {"IFT_EON", Const, 0}, - {"IFT_EPLRS", Const, 0}, - {"IFT_ESCON", Const, 0}, - {"IFT_ETHER", Const, 0}, - {"IFT_FAITH", Const, 0}, - {"IFT_FAST", Const, 0}, - {"IFT_FASTETHER", Const, 0}, - {"IFT_FASTETHERFX", Const, 0}, - {"IFT_FDDI", Const, 0}, - {"IFT_FIBRECHANNEL", Const, 0}, - {"IFT_FRAMERELAYINTERCONNECT", Const, 0}, - {"IFT_FRAMERELAYMPI", Const, 0}, - {"IFT_FRDLCIENDPT", Const, 0}, - {"IFT_FRELAY", Const, 0}, - {"IFT_FRELAYDCE", Const, 0}, - {"IFT_FRF16MFRBUNDLE", Const, 0}, - {"IFT_FRFORWARD", Const, 0}, - {"IFT_G703AT2MB", Const, 0}, - {"IFT_G703AT64K", Const, 0}, - {"IFT_GIF", Const, 0}, - {"IFT_GIGABITETHERNET", Const, 0}, - {"IFT_GR303IDT", Const, 0}, - {"IFT_GR303RDT", Const, 0}, - {"IFT_H323GATEKEEPER", Const, 0}, - {"IFT_H323PROXY", Const, 0}, - {"IFT_HDH1822", Const, 0}, - {"IFT_HDLC", Const, 0}, - {"IFT_HDSL2", Const, 0}, - {"IFT_HIPERLAN2", Const, 0}, - {"IFT_HIPPI", Const, 0}, - {"IFT_HIPPIINTERFACE", Const, 0}, - {"IFT_HOSTPAD", Const, 0}, - {"IFT_HSSI", Const, 0}, - {"IFT_HY", Const, 0}, - {"IFT_IBM370PARCHAN", Const, 0}, - {"IFT_IDSL", Const, 0}, - {"IFT_IEEE1394", Const, 0}, - {"IFT_IEEE80211", Const, 0}, - {"IFT_IEEE80212", Const, 0}, - {"IFT_IEEE8023ADLAG", Const, 0}, - {"IFT_IFGSN", Const, 0}, - {"IFT_IMT", Const, 0}, - {"IFT_INFINIBAND", Const, 1}, - {"IFT_INTERLEAVE", Const, 0}, - {"IFT_IP", Const, 0}, - {"IFT_IPFORWARD", Const, 0}, - {"IFT_IPOVERATM", Const, 0}, - {"IFT_IPOVERCDLC", Const, 0}, - {"IFT_IPOVERCLAW", Const, 0}, - {"IFT_IPSWITCH", Const, 0}, - {"IFT_IPXIP", Const, 0}, - {"IFT_ISDN", Const, 0}, - {"IFT_ISDNBASIC", Const, 0}, - {"IFT_ISDNPRIMARY", Const, 0}, - {"IFT_ISDNS", Const, 0}, - {"IFT_ISDNU", Const, 0}, - {"IFT_ISO88022LLC", Const, 0}, - {"IFT_ISO88023", Const, 0}, - {"IFT_ISO88024", Const, 0}, - {"IFT_ISO88025", Const, 0}, - {"IFT_ISO88025CRFPINT", Const, 0}, - {"IFT_ISO88025DTR", Const, 0}, - {"IFT_ISO88025FIBER", Const, 0}, - {"IFT_ISO88026", Const, 0}, - {"IFT_ISUP", Const, 0}, - {"IFT_L2VLAN", Const, 0}, - {"IFT_L3IPVLAN", Const, 0}, - {"IFT_L3IPXVLAN", Const, 0}, - {"IFT_LAPB", Const, 0}, - {"IFT_LAPD", Const, 0}, - {"IFT_LAPF", Const, 0}, - {"IFT_LINEGROUP", Const, 1}, - {"IFT_LOCALTALK", Const, 0}, - {"IFT_LOOP", Const, 0}, - {"IFT_MEDIAMAILOVERIP", Const, 0}, - {"IFT_MFSIGLINK", Const, 0}, - {"IFT_MIOX25", Const, 0}, - {"IFT_MODEM", Const, 0}, - {"IFT_MPC", Const, 0}, - {"IFT_MPLS", Const, 0}, - {"IFT_MPLSTUNNEL", Const, 0}, - {"IFT_MSDSL", Const, 0}, - {"IFT_MVL", Const, 0}, - {"IFT_MYRINET", Const, 0}, - {"IFT_NFAS", Const, 0}, - {"IFT_NSIP", Const, 0}, - {"IFT_OPTICALCHANNEL", Const, 0}, - {"IFT_OPTICALTRANSPORT", Const, 0}, - {"IFT_OTHER", Const, 0}, - {"IFT_P10", Const, 0}, - {"IFT_P80", Const, 0}, - {"IFT_PARA", Const, 0}, - {"IFT_PDP", Const, 0}, - {"IFT_PFLOG", Const, 0}, - {"IFT_PFLOW", Const, 1}, - {"IFT_PFSYNC", Const, 0}, - {"IFT_PLC", Const, 0}, - {"IFT_PON155", Const, 1}, - {"IFT_PON622", Const, 1}, - {"IFT_POS", Const, 0}, - {"IFT_PPP", Const, 0}, - {"IFT_PPPMULTILINKBUNDLE", Const, 0}, - {"IFT_PROPATM", Const, 1}, - {"IFT_PROPBWAP2MP", Const, 0}, - {"IFT_PROPCNLS", Const, 0}, - {"IFT_PROPDOCSWIRELESSDOWNSTREAM", Const, 0}, - {"IFT_PROPDOCSWIRELESSMACLAYER", Const, 0}, - {"IFT_PROPDOCSWIRELESSUPSTREAM", Const, 0}, - {"IFT_PROPMUX", Const, 0}, - {"IFT_PROPVIRTUAL", Const, 0}, - {"IFT_PROPWIRELESSP2P", Const, 0}, - {"IFT_PTPSERIAL", Const, 0}, - {"IFT_PVC", Const, 0}, - {"IFT_Q2931", Const, 1}, - {"IFT_QLLC", Const, 0}, - {"IFT_RADIOMAC", Const, 0}, - {"IFT_RADSL", Const, 0}, - {"IFT_REACHDSL", Const, 0}, - {"IFT_RFC1483", Const, 0}, - {"IFT_RS232", Const, 0}, - {"IFT_RSRB", Const, 0}, - {"IFT_SDLC", Const, 0}, - {"IFT_SDSL", Const, 0}, - {"IFT_SHDSL", Const, 0}, - {"IFT_SIP", Const, 0}, - {"IFT_SIPSIG", Const, 1}, - {"IFT_SIPTG", Const, 1}, - {"IFT_SLIP", Const, 0}, - {"IFT_SMDSDXI", Const, 0}, - {"IFT_SMDSICIP", Const, 0}, - {"IFT_SONET", Const, 0}, - {"IFT_SONETOVERHEADCHANNEL", Const, 0}, - {"IFT_SONETPATH", Const, 0}, - {"IFT_SONETVT", Const, 0}, - {"IFT_SRP", Const, 0}, - {"IFT_SS7SIGLINK", Const, 0}, - {"IFT_STACKTOSTACK", Const, 0}, - {"IFT_STARLAN", Const, 0}, - {"IFT_STF", Const, 0}, - {"IFT_T1", Const, 0}, - {"IFT_TDLC", Const, 0}, - {"IFT_TELINK", Const, 1}, - {"IFT_TERMPAD", Const, 0}, - {"IFT_TR008", Const, 0}, - {"IFT_TRANSPHDLC", Const, 0}, - {"IFT_TUNNEL", Const, 0}, - {"IFT_ULTRA", Const, 0}, - {"IFT_USB", Const, 0}, - {"IFT_V11", Const, 0}, - {"IFT_V35", Const, 0}, - {"IFT_V36", Const, 0}, - {"IFT_V37", Const, 0}, - {"IFT_VDSL", Const, 0}, - {"IFT_VIRTUALIPADDRESS", Const, 0}, - {"IFT_VIRTUALTG", Const, 1}, - {"IFT_VOICEDID", Const, 1}, - {"IFT_VOICEEM", Const, 0}, - {"IFT_VOICEEMFGD", Const, 1}, - {"IFT_VOICEENCAP", Const, 0}, - {"IFT_VOICEFGDEANA", Const, 1}, - {"IFT_VOICEFXO", Const, 0}, - {"IFT_VOICEFXS", Const, 0}, - {"IFT_VOICEOVERATM", Const, 0}, - {"IFT_VOICEOVERCABLE", Const, 1}, - {"IFT_VOICEOVERFRAMERELAY", Const, 0}, - {"IFT_VOICEOVERIP", Const, 0}, - {"IFT_X213", Const, 0}, - {"IFT_X25", Const, 0}, - {"IFT_X25DDN", Const, 0}, - {"IFT_X25HUNTGROUP", Const, 0}, - {"IFT_X25MLP", Const, 0}, - {"IFT_X25PLE", Const, 0}, - {"IFT_XETHER", Const, 0}, - {"IGNBRK", Const, 0}, - {"IGNCR", Const, 0}, - {"IGNORE", Const, 0}, - {"IGNPAR", Const, 0}, - {"IMAXBEL", Const, 0}, - {"INFINITE", Const, 0}, - {"INLCR", Const, 0}, - {"INPCK", Const, 0}, - {"INVALID_FILE_ATTRIBUTES", Const, 0}, - {"IN_ACCESS", Const, 0}, - {"IN_ALL_EVENTS", Const, 0}, - {"IN_ATTRIB", Const, 0}, - {"IN_CLASSA_HOST", Const, 0}, - {"IN_CLASSA_MAX", Const, 0}, - {"IN_CLASSA_NET", Const, 0}, - {"IN_CLASSA_NSHIFT", Const, 0}, - {"IN_CLASSB_HOST", Const, 0}, - {"IN_CLASSB_MAX", Const, 0}, - {"IN_CLASSB_NET", Const, 0}, - {"IN_CLASSB_NSHIFT", Const, 0}, - {"IN_CLASSC_HOST", Const, 0}, - {"IN_CLASSC_NET", Const, 0}, - {"IN_CLASSC_NSHIFT", Const, 0}, - {"IN_CLASSD_HOST", Const, 0}, - {"IN_CLASSD_NET", Const, 0}, - {"IN_CLASSD_NSHIFT", Const, 0}, - {"IN_CLOEXEC", Const, 0}, - {"IN_CLOSE", Const, 0}, - {"IN_CLOSE_NOWRITE", Const, 0}, - {"IN_CLOSE_WRITE", Const, 0}, - {"IN_CREATE", Const, 0}, - {"IN_DELETE", Const, 0}, - {"IN_DELETE_SELF", Const, 0}, - {"IN_DONT_FOLLOW", Const, 0}, - {"IN_EXCL_UNLINK", Const, 0}, - {"IN_IGNORED", Const, 0}, - {"IN_ISDIR", Const, 0}, - {"IN_LINKLOCALNETNUM", Const, 0}, - {"IN_LOOPBACKNET", Const, 0}, - {"IN_MASK_ADD", Const, 0}, - {"IN_MODIFY", Const, 0}, - {"IN_MOVE", Const, 0}, - {"IN_MOVED_FROM", Const, 0}, - {"IN_MOVED_TO", Const, 0}, - {"IN_MOVE_SELF", Const, 0}, - {"IN_NONBLOCK", Const, 0}, - {"IN_ONESHOT", Const, 0}, - {"IN_ONLYDIR", Const, 0}, - {"IN_OPEN", Const, 0}, - {"IN_Q_OVERFLOW", Const, 0}, - {"IN_RFC3021_HOST", Const, 1}, - {"IN_RFC3021_MASK", Const, 1}, - {"IN_RFC3021_NET", Const, 1}, - {"IN_RFC3021_NSHIFT", Const, 1}, - {"IN_UNMOUNT", Const, 0}, - {"IOC_IN", Const, 1}, - {"IOC_INOUT", Const, 1}, - {"IOC_OUT", Const, 1}, - {"IOC_VENDOR", Const, 3}, - {"IOC_WS2", Const, 1}, - {"IO_REPARSE_TAG_SYMLINK", Const, 4}, - {"IPMreq", Type, 0}, - {"IPMreq.Interface", Field, 0}, - {"IPMreq.Multiaddr", Field, 0}, - {"IPMreqn", Type, 0}, - {"IPMreqn.Address", Field, 0}, - {"IPMreqn.Ifindex", Field, 0}, - {"IPMreqn.Multiaddr", Field, 0}, - {"IPPROTO_3PC", Const, 0}, - {"IPPROTO_ADFS", Const, 0}, - {"IPPROTO_AH", Const, 0}, - {"IPPROTO_AHIP", Const, 0}, - {"IPPROTO_APES", Const, 0}, - {"IPPROTO_ARGUS", Const, 0}, - {"IPPROTO_AX25", Const, 0}, - {"IPPROTO_BHA", Const, 0}, - {"IPPROTO_BLT", Const, 0}, - {"IPPROTO_BRSATMON", Const, 0}, - {"IPPROTO_CARP", Const, 0}, - {"IPPROTO_CFTP", Const, 0}, - {"IPPROTO_CHAOS", Const, 0}, - {"IPPROTO_CMTP", Const, 0}, - {"IPPROTO_COMP", Const, 0}, - {"IPPROTO_CPHB", Const, 0}, - {"IPPROTO_CPNX", Const, 0}, - {"IPPROTO_DCCP", Const, 0}, - {"IPPROTO_DDP", Const, 0}, - {"IPPROTO_DGP", Const, 0}, - {"IPPROTO_DIVERT", Const, 0}, - {"IPPROTO_DIVERT_INIT", Const, 3}, - {"IPPROTO_DIVERT_RESP", Const, 3}, - {"IPPROTO_DONE", Const, 0}, - {"IPPROTO_DSTOPTS", Const, 0}, - {"IPPROTO_EGP", Const, 0}, - {"IPPROTO_EMCON", Const, 0}, - {"IPPROTO_ENCAP", Const, 0}, - {"IPPROTO_EON", Const, 0}, - {"IPPROTO_ESP", Const, 0}, - {"IPPROTO_ETHERIP", Const, 0}, - {"IPPROTO_FRAGMENT", Const, 0}, - {"IPPROTO_GGP", Const, 0}, - {"IPPROTO_GMTP", Const, 0}, - {"IPPROTO_GRE", Const, 0}, - {"IPPROTO_HELLO", Const, 0}, - {"IPPROTO_HMP", Const, 0}, - {"IPPROTO_HOPOPTS", Const, 0}, - {"IPPROTO_ICMP", Const, 0}, - {"IPPROTO_ICMPV6", Const, 0}, - {"IPPROTO_IDP", Const, 0}, - {"IPPROTO_IDPR", Const, 0}, - {"IPPROTO_IDRP", Const, 0}, - {"IPPROTO_IGMP", Const, 0}, - {"IPPROTO_IGP", Const, 0}, - {"IPPROTO_IGRP", Const, 0}, - {"IPPROTO_IL", Const, 0}, - {"IPPROTO_INLSP", Const, 0}, - {"IPPROTO_INP", Const, 0}, - {"IPPROTO_IP", Const, 0}, - {"IPPROTO_IPCOMP", Const, 0}, - {"IPPROTO_IPCV", Const, 0}, - {"IPPROTO_IPEIP", Const, 0}, - {"IPPROTO_IPIP", Const, 0}, - {"IPPROTO_IPPC", Const, 0}, - {"IPPROTO_IPV4", Const, 0}, - {"IPPROTO_IPV6", Const, 0}, - {"IPPROTO_IPV6_ICMP", Const, 1}, - {"IPPROTO_IRTP", Const, 0}, - {"IPPROTO_KRYPTOLAN", Const, 0}, - {"IPPROTO_LARP", Const, 0}, - {"IPPROTO_LEAF1", Const, 0}, - {"IPPROTO_LEAF2", Const, 0}, - {"IPPROTO_MAX", Const, 0}, - {"IPPROTO_MAXID", Const, 0}, - {"IPPROTO_MEAS", Const, 0}, - {"IPPROTO_MH", Const, 1}, - {"IPPROTO_MHRP", Const, 0}, - {"IPPROTO_MICP", Const, 0}, - {"IPPROTO_MOBILE", Const, 0}, - {"IPPROTO_MPLS", Const, 1}, - {"IPPROTO_MTP", Const, 0}, - {"IPPROTO_MUX", Const, 0}, - {"IPPROTO_ND", Const, 0}, - {"IPPROTO_NHRP", Const, 0}, - {"IPPROTO_NONE", Const, 0}, - {"IPPROTO_NSP", Const, 0}, - {"IPPROTO_NVPII", Const, 0}, - {"IPPROTO_OLD_DIVERT", Const, 0}, - {"IPPROTO_OSPFIGP", Const, 0}, - {"IPPROTO_PFSYNC", Const, 0}, - {"IPPROTO_PGM", Const, 0}, - {"IPPROTO_PIGP", Const, 0}, - {"IPPROTO_PIM", Const, 0}, - {"IPPROTO_PRM", Const, 0}, - {"IPPROTO_PUP", Const, 0}, - {"IPPROTO_PVP", Const, 0}, - {"IPPROTO_RAW", Const, 0}, - {"IPPROTO_RCCMON", Const, 0}, - {"IPPROTO_RDP", Const, 0}, - {"IPPROTO_ROUTING", Const, 0}, - {"IPPROTO_RSVP", Const, 0}, - {"IPPROTO_RVD", Const, 0}, - {"IPPROTO_SATEXPAK", Const, 0}, - {"IPPROTO_SATMON", Const, 0}, - {"IPPROTO_SCCSP", Const, 0}, - {"IPPROTO_SCTP", Const, 0}, - {"IPPROTO_SDRP", Const, 0}, - {"IPPROTO_SEND", Const, 1}, - {"IPPROTO_SEP", Const, 0}, - {"IPPROTO_SKIP", Const, 0}, - {"IPPROTO_SPACER", Const, 0}, - {"IPPROTO_SRPC", Const, 0}, - {"IPPROTO_ST", Const, 0}, - {"IPPROTO_SVMTP", Const, 0}, - {"IPPROTO_SWIPE", Const, 0}, - {"IPPROTO_TCF", Const, 0}, - {"IPPROTO_TCP", Const, 0}, - {"IPPROTO_TLSP", Const, 0}, - {"IPPROTO_TP", Const, 0}, - {"IPPROTO_TPXX", Const, 0}, - {"IPPROTO_TRUNK1", Const, 0}, - {"IPPROTO_TRUNK2", Const, 0}, - {"IPPROTO_TTP", Const, 0}, - {"IPPROTO_UDP", Const, 0}, - {"IPPROTO_UDPLITE", Const, 0}, - {"IPPROTO_VINES", Const, 0}, - {"IPPROTO_VISA", Const, 0}, - {"IPPROTO_VMTP", Const, 0}, - {"IPPROTO_VRRP", Const, 1}, - {"IPPROTO_WBEXPAK", Const, 0}, - {"IPPROTO_WBMON", Const, 0}, - {"IPPROTO_WSN", Const, 0}, - {"IPPROTO_XNET", Const, 0}, - {"IPPROTO_XTP", Const, 0}, - {"IPV6_2292DSTOPTS", Const, 0}, - {"IPV6_2292HOPLIMIT", Const, 0}, - {"IPV6_2292HOPOPTS", Const, 0}, - {"IPV6_2292NEXTHOP", Const, 0}, - {"IPV6_2292PKTINFO", Const, 0}, - {"IPV6_2292PKTOPTIONS", Const, 0}, - {"IPV6_2292RTHDR", Const, 0}, - {"IPV6_ADDRFORM", Const, 0}, - {"IPV6_ADD_MEMBERSHIP", Const, 0}, - {"IPV6_AUTHHDR", Const, 0}, - {"IPV6_AUTH_LEVEL", Const, 1}, - {"IPV6_AUTOFLOWLABEL", Const, 0}, - {"IPV6_BINDANY", Const, 0}, - {"IPV6_BINDV6ONLY", Const, 0}, - {"IPV6_BOUND_IF", Const, 0}, - {"IPV6_CHECKSUM", Const, 0}, - {"IPV6_DEFAULT_MULTICAST_HOPS", Const, 0}, - {"IPV6_DEFAULT_MULTICAST_LOOP", Const, 0}, - {"IPV6_DEFHLIM", Const, 0}, - {"IPV6_DONTFRAG", Const, 0}, - {"IPV6_DROP_MEMBERSHIP", Const, 0}, - {"IPV6_DSTOPTS", Const, 0}, - {"IPV6_ESP_NETWORK_LEVEL", Const, 1}, - {"IPV6_ESP_TRANS_LEVEL", Const, 1}, - {"IPV6_FAITH", Const, 0}, - {"IPV6_FLOWINFO_MASK", Const, 0}, - {"IPV6_FLOWLABEL_MASK", Const, 0}, - {"IPV6_FRAGTTL", Const, 0}, - {"IPV6_FW_ADD", Const, 0}, - {"IPV6_FW_DEL", Const, 0}, - {"IPV6_FW_FLUSH", Const, 0}, - {"IPV6_FW_GET", Const, 0}, - {"IPV6_FW_ZERO", Const, 0}, - {"IPV6_HLIMDEC", Const, 0}, - {"IPV6_HOPLIMIT", Const, 0}, - {"IPV6_HOPOPTS", Const, 0}, - {"IPV6_IPCOMP_LEVEL", Const, 1}, - {"IPV6_IPSEC_POLICY", Const, 0}, - {"IPV6_JOIN_ANYCAST", Const, 0}, - {"IPV6_JOIN_GROUP", Const, 0}, - {"IPV6_LEAVE_ANYCAST", Const, 0}, - {"IPV6_LEAVE_GROUP", Const, 0}, - {"IPV6_MAXHLIM", Const, 0}, - {"IPV6_MAXOPTHDR", Const, 0}, - {"IPV6_MAXPACKET", Const, 0}, - {"IPV6_MAX_GROUP_SRC_FILTER", Const, 0}, - {"IPV6_MAX_MEMBERSHIPS", Const, 0}, - {"IPV6_MAX_SOCK_SRC_FILTER", Const, 0}, - {"IPV6_MIN_MEMBERSHIPS", Const, 0}, - {"IPV6_MMTU", Const, 0}, - {"IPV6_MSFILTER", Const, 0}, - {"IPV6_MTU", Const, 0}, - {"IPV6_MTU_DISCOVER", Const, 0}, - {"IPV6_MULTICAST_HOPS", Const, 0}, - {"IPV6_MULTICAST_IF", Const, 0}, - {"IPV6_MULTICAST_LOOP", Const, 0}, - {"IPV6_NEXTHOP", Const, 0}, - {"IPV6_OPTIONS", Const, 1}, - {"IPV6_PATHMTU", Const, 0}, - {"IPV6_PIPEX", Const, 1}, - {"IPV6_PKTINFO", Const, 0}, - {"IPV6_PMTUDISC_DO", Const, 0}, - {"IPV6_PMTUDISC_DONT", Const, 0}, - {"IPV6_PMTUDISC_PROBE", Const, 0}, - {"IPV6_PMTUDISC_WANT", Const, 0}, - {"IPV6_PORTRANGE", Const, 0}, - {"IPV6_PORTRANGE_DEFAULT", Const, 0}, - {"IPV6_PORTRANGE_HIGH", Const, 0}, - {"IPV6_PORTRANGE_LOW", Const, 0}, - {"IPV6_PREFER_TEMPADDR", Const, 0}, - {"IPV6_RECVDSTOPTS", Const, 0}, - {"IPV6_RECVDSTPORT", Const, 3}, - {"IPV6_RECVERR", Const, 0}, - {"IPV6_RECVHOPLIMIT", Const, 0}, - {"IPV6_RECVHOPOPTS", Const, 0}, - {"IPV6_RECVPATHMTU", Const, 0}, - {"IPV6_RECVPKTINFO", Const, 0}, - {"IPV6_RECVRTHDR", Const, 0}, - {"IPV6_RECVTCLASS", Const, 0}, - {"IPV6_ROUTER_ALERT", Const, 0}, - {"IPV6_RTABLE", Const, 1}, - {"IPV6_RTHDR", Const, 0}, - {"IPV6_RTHDRDSTOPTS", Const, 0}, - {"IPV6_RTHDR_LOOSE", Const, 0}, - {"IPV6_RTHDR_STRICT", Const, 0}, - {"IPV6_RTHDR_TYPE_0", Const, 0}, - {"IPV6_RXDSTOPTS", Const, 0}, - {"IPV6_RXHOPOPTS", Const, 0}, - {"IPV6_SOCKOPT_RESERVED1", Const, 0}, - {"IPV6_TCLASS", Const, 0}, - {"IPV6_UNICAST_HOPS", Const, 0}, - {"IPV6_USE_MIN_MTU", Const, 0}, - {"IPV6_V6ONLY", Const, 0}, - {"IPV6_VERSION", Const, 0}, - {"IPV6_VERSION_MASK", Const, 0}, - {"IPV6_XFRM_POLICY", Const, 0}, - {"IP_ADD_MEMBERSHIP", Const, 0}, - {"IP_ADD_SOURCE_MEMBERSHIP", Const, 0}, - {"IP_AUTH_LEVEL", Const, 1}, - {"IP_BINDANY", Const, 0}, - {"IP_BLOCK_SOURCE", Const, 0}, - {"IP_BOUND_IF", Const, 0}, - {"IP_DEFAULT_MULTICAST_LOOP", Const, 0}, - {"IP_DEFAULT_MULTICAST_TTL", Const, 0}, - {"IP_DF", Const, 0}, - {"IP_DIVERTFL", Const, 3}, - {"IP_DONTFRAG", Const, 0}, - {"IP_DROP_MEMBERSHIP", Const, 0}, - {"IP_DROP_SOURCE_MEMBERSHIP", Const, 0}, - {"IP_DUMMYNET3", Const, 0}, - {"IP_DUMMYNET_CONFIGURE", Const, 0}, - {"IP_DUMMYNET_DEL", Const, 0}, - {"IP_DUMMYNET_FLUSH", Const, 0}, - {"IP_DUMMYNET_GET", Const, 0}, - {"IP_EF", Const, 1}, - {"IP_ERRORMTU", Const, 1}, - {"IP_ESP_NETWORK_LEVEL", Const, 1}, - {"IP_ESP_TRANS_LEVEL", Const, 1}, - {"IP_FAITH", Const, 0}, - {"IP_FREEBIND", Const, 0}, - {"IP_FW3", Const, 0}, - {"IP_FW_ADD", Const, 0}, - {"IP_FW_DEL", Const, 0}, - {"IP_FW_FLUSH", Const, 0}, - {"IP_FW_GET", Const, 0}, - {"IP_FW_NAT_CFG", Const, 0}, - {"IP_FW_NAT_DEL", Const, 0}, - {"IP_FW_NAT_GET_CONFIG", Const, 0}, - {"IP_FW_NAT_GET_LOG", Const, 0}, - {"IP_FW_RESETLOG", Const, 0}, - {"IP_FW_TABLE_ADD", Const, 0}, - {"IP_FW_TABLE_DEL", Const, 0}, - {"IP_FW_TABLE_FLUSH", Const, 0}, - {"IP_FW_TABLE_GETSIZE", Const, 0}, - {"IP_FW_TABLE_LIST", Const, 0}, - {"IP_FW_ZERO", Const, 0}, - {"IP_HDRINCL", Const, 0}, - {"IP_IPCOMP_LEVEL", Const, 1}, - {"IP_IPSECFLOWINFO", Const, 1}, - {"IP_IPSEC_LOCAL_AUTH", Const, 1}, - {"IP_IPSEC_LOCAL_CRED", Const, 1}, - {"IP_IPSEC_LOCAL_ID", Const, 1}, - {"IP_IPSEC_POLICY", Const, 0}, - {"IP_IPSEC_REMOTE_AUTH", Const, 1}, - {"IP_IPSEC_REMOTE_CRED", Const, 1}, - {"IP_IPSEC_REMOTE_ID", Const, 1}, - {"IP_MAXPACKET", Const, 0}, - {"IP_MAX_GROUP_SRC_FILTER", Const, 0}, - {"IP_MAX_MEMBERSHIPS", Const, 0}, - {"IP_MAX_SOCK_MUTE_FILTER", Const, 0}, - {"IP_MAX_SOCK_SRC_FILTER", Const, 0}, - {"IP_MAX_SOURCE_FILTER", Const, 0}, - {"IP_MF", Const, 0}, - {"IP_MINFRAGSIZE", Const, 1}, - {"IP_MINTTL", Const, 0}, - {"IP_MIN_MEMBERSHIPS", Const, 0}, - {"IP_MSFILTER", Const, 0}, - {"IP_MSS", Const, 0}, - {"IP_MTU", Const, 0}, - {"IP_MTU_DISCOVER", Const, 0}, - {"IP_MULTICAST_IF", Const, 0}, - {"IP_MULTICAST_IFINDEX", Const, 0}, - {"IP_MULTICAST_LOOP", Const, 0}, - {"IP_MULTICAST_TTL", Const, 0}, - {"IP_MULTICAST_VIF", Const, 0}, - {"IP_NAT__XXX", Const, 0}, - {"IP_OFFMASK", Const, 0}, - {"IP_OLD_FW_ADD", Const, 0}, - {"IP_OLD_FW_DEL", Const, 0}, - {"IP_OLD_FW_FLUSH", Const, 0}, - {"IP_OLD_FW_GET", Const, 0}, - {"IP_OLD_FW_RESETLOG", Const, 0}, - {"IP_OLD_FW_ZERO", Const, 0}, - {"IP_ONESBCAST", Const, 0}, - {"IP_OPTIONS", Const, 0}, - {"IP_ORIGDSTADDR", Const, 0}, - {"IP_PASSSEC", Const, 0}, - {"IP_PIPEX", Const, 1}, - {"IP_PKTINFO", Const, 0}, - {"IP_PKTOPTIONS", Const, 0}, - {"IP_PMTUDISC", Const, 0}, - {"IP_PMTUDISC_DO", Const, 0}, - {"IP_PMTUDISC_DONT", Const, 0}, - {"IP_PMTUDISC_PROBE", Const, 0}, - {"IP_PMTUDISC_WANT", Const, 0}, - {"IP_PORTRANGE", Const, 0}, - {"IP_PORTRANGE_DEFAULT", Const, 0}, - {"IP_PORTRANGE_HIGH", Const, 0}, - {"IP_PORTRANGE_LOW", Const, 0}, - {"IP_RECVDSTADDR", Const, 0}, - {"IP_RECVDSTPORT", Const, 1}, - {"IP_RECVERR", Const, 0}, - {"IP_RECVIF", Const, 0}, - {"IP_RECVOPTS", Const, 0}, - {"IP_RECVORIGDSTADDR", Const, 0}, - {"IP_RECVPKTINFO", Const, 0}, - {"IP_RECVRETOPTS", Const, 0}, - {"IP_RECVRTABLE", Const, 1}, - {"IP_RECVTOS", Const, 0}, - {"IP_RECVTTL", Const, 0}, - {"IP_RETOPTS", Const, 0}, - {"IP_RF", Const, 0}, - {"IP_ROUTER_ALERT", Const, 0}, - {"IP_RSVP_OFF", Const, 0}, - {"IP_RSVP_ON", Const, 0}, - {"IP_RSVP_VIF_OFF", Const, 0}, - {"IP_RSVP_VIF_ON", Const, 0}, - {"IP_RTABLE", Const, 1}, - {"IP_SENDSRCADDR", Const, 0}, - {"IP_STRIPHDR", Const, 0}, - {"IP_TOS", Const, 0}, - {"IP_TRAFFIC_MGT_BACKGROUND", Const, 0}, - {"IP_TRANSPARENT", Const, 0}, - {"IP_TTL", Const, 0}, - {"IP_UNBLOCK_SOURCE", Const, 0}, - {"IP_XFRM_POLICY", Const, 0}, - {"IPv6MTUInfo", Type, 2}, - {"IPv6MTUInfo.Addr", Field, 2}, - {"IPv6MTUInfo.Mtu", Field, 2}, - {"IPv6Mreq", Type, 0}, - {"IPv6Mreq.Interface", Field, 0}, - {"IPv6Mreq.Multiaddr", Field, 0}, - {"ISIG", Const, 0}, - {"ISTRIP", Const, 0}, - {"IUCLC", Const, 0}, - {"IUTF8", Const, 0}, - {"IXANY", Const, 0}, - {"IXOFF", Const, 0}, - {"IXON", Const, 0}, - {"IfAddrmsg", Type, 0}, - {"IfAddrmsg.Family", Field, 0}, - {"IfAddrmsg.Flags", Field, 0}, - {"IfAddrmsg.Index", Field, 0}, - {"IfAddrmsg.Prefixlen", Field, 0}, - {"IfAddrmsg.Scope", Field, 0}, - {"IfAnnounceMsghdr", Type, 1}, - {"IfAnnounceMsghdr.Hdrlen", Field, 2}, - {"IfAnnounceMsghdr.Index", Field, 1}, - {"IfAnnounceMsghdr.Msglen", Field, 1}, - {"IfAnnounceMsghdr.Name", Field, 1}, - {"IfAnnounceMsghdr.Type", Field, 1}, - {"IfAnnounceMsghdr.Version", Field, 1}, - {"IfAnnounceMsghdr.What", Field, 1}, - {"IfData", Type, 0}, - {"IfData.Addrlen", Field, 0}, - {"IfData.Baudrate", Field, 0}, - {"IfData.Capabilities", Field, 2}, - {"IfData.Collisions", Field, 0}, - {"IfData.Datalen", Field, 0}, - {"IfData.Epoch", Field, 0}, - {"IfData.Hdrlen", Field, 0}, - {"IfData.Hwassist", Field, 0}, - {"IfData.Ibytes", Field, 0}, - {"IfData.Ierrors", Field, 0}, - {"IfData.Imcasts", Field, 0}, - {"IfData.Ipackets", Field, 0}, - {"IfData.Iqdrops", Field, 0}, - {"IfData.Lastchange", Field, 0}, - {"IfData.Link_state", Field, 0}, - {"IfData.Mclpool", Field, 2}, - {"IfData.Metric", Field, 0}, - {"IfData.Mtu", Field, 0}, - {"IfData.Noproto", Field, 0}, - {"IfData.Obytes", Field, 0}, - {"IfData.Oerrors", Field, 0}, - {"IfData.Omcasts", Field, 0}, - {"IfData.Opackets", Field, 0}, - {"IfData.Pad", Field, 2}, - {"IfData.Pad_cgo_0", Field, 2}, - {"IfData.Pad_cgo_1", Field, 2}, - {"IfData.Physical", Field, 0}, - {"IfData.Recvquota", Field, 0}, - {"IfData.Recvtiming", Field, 0}, - {"IfData.Reserved1", Field, 0}, - {"IfData.Reserved2", Field, 0}, - {"IfData.Spare_char1", Field, 0}, - {"IfData.Spare_char2", Field, 0}, - {"IfData.Type", Field, 0}, - {"IfData.Typelen", Field, 0}, - {"IfData.Unused1", Field, 0}, - {"IfData.Unused2", Field, 0}, - {"IfData.Xmitquota", Field, 0}, - {"IfData.Xmittiming", Field, 0}, - {"IfInfomsg", Type, 0}, - {"IfInfomsg.Change", Field, 0}, - {"IfInfomsg.Family", Field, 0}, - {"IfInfomsg.Flags", Field, 0}, - {"IfInfomsg.Index", Field, 0}, - {"IfInfomsg.Type", Field, 0}, - {"IfInfomsg.X__ifi_pad", Field, 0}, - {"IfMsghdr", Type, 0}, - {"IfMsghdr.Addrs", Field, 0}, - {"IfMsghdr.Data", Field, 0}, - {"IfMsghdr.Flags", Field, 0}, - {"IfMsghdr.Hdrlen", Field, 2}, - {"IfMsghdr.Index", Field, 0}, - {"IfMsghdr.Msglen", Field, 0}, - {"IfMsghdr.Pad1", Field, 2}, - {"IfMsghdr.Pad2", Field, 2}, - {"IfMsghdr.Pad_cgo_0", Field, 0}, - {"IfMsghdr.Pad_cgo_1", Field, 2}, - {"IfMsghdr.Tableid", Field, 2}, - {"IfMsghdr.Type", Field, 0}, - {"IfMsghdr.Version", Field, 0}, - {"IfMsghdr.Xflags", Field, 2}, - {"IfaMsghdr", Type, 0}, - {"IfaMsghdr.Addrs", Field, 0}, - {"IfaMsghdr.Flags", Field, 0}, - {"IfaMsghdr.Hdrlen", Field, 2}, - {"IfaMsghdr.Index", Field, 0}, - {"IfaMsghdr.Metric", Field, 0}, - {"IfaMsghdr.Msglen", Field, 0}, - {"IfaMsghdr.Pad1", Field, 2}, - {"IfaMsghdr.Pad2", Field, 2}, - {"IfaMsghdr.Pad_cgo_0", Field, 0}, - {"IfaMsghdr.Tableid", Field, 2}, - {"IfaMsghdr.Type", Field, 0}, - {"IfaMsghdr.Version", Field, 0}, - {"IfmaMsghdr", Type, 0}, - {"IfmaMsghdr.Addrs", Field, 0}, - {"IfmaMsghdr.Flags", Field, 0}, - {"IfmaMsghdr.Index", Field, 0}, - {"IfmaMsghdr.Msglen", Field, 0}, - {"IfmaMsghdr.Pad_cgo_0", Field, 0}, - {"IfmaMsghdr.Type", Field, 0}, - {"IfmaMsghdr.Version", Field, 0}, - {"IfmaMsghdr2", Type, 0}, - {"IfmaMsghdr2.Addrs", Field, 0}, - {"IfmaMsghdr2.Flags", Field, 0}, - {"IfmaMsghdr2.Index", Field, 0}, - {"IfmaMsghdr2.Msglen", Field, 0}, - {"IfmaMsghdr2.Pad_cgo_0", Field, 0}, - {"IfmaMsghdr2.Refcount", Field, 0}, - {"IfmaMsghdr2.Type", Field, 0}, - {"IfmaMsghdr2.Version", Field, 0}, - {"ImplementsGetwd", Const, 0}, - {"Inet4Pktinfo", Type, 0}, - {"Inet4Pktinfo.Addr", Field, 0}, - {"Inet4Pktinfo.Ifindex", Field, 0}, - {"Inet4Pktinfo.Spec_dst", Field, 0}, - {"Inet6Pktinfo", Type, 0}, - {"Inet6Pktinfo.Addr", Field, 0}, - {"Inet6Pktinfo.Ifindex", Field, 0}, - {"InotifyAddWatch", Func, 0}, - {"InotifyEvent", Type, 0}, - {"InotifyEvent.Cookie", Field, 0}, - {"InotifyEvent.Len", Field, 0}, - {"InotifyEvent.Mask", Field, 0}, - {"InotifyEvent.Name", Field, 0}, - {"InotifyEvent.Wd", Field, 0}, - {"InotifyInit", Func, 0}, - {"InotifyInit1", Func, 0}, - {"InotifyRmWatch", Func, 0}, - {"InterfaceAddrMessage", Type, 0}, - {"InterfaceAddrMessage.Data", Field, 0}, - {"InterfaceAddrMessage.Header", Field, 0}, - {"InterfaceAnnounceMessage", Type, 1}, - {"InterfaceAnnounceMessage.Header", Field, 1}, - {"InterfaceInfo", Type, 0}, - {"InterfaceInfo.Address", Field, 0}, - {"InterfaceInfo.BroadcastAddress", Field, 0}, - {"InterfaceInfo.Flags", Field, 0}, - {"InterfaceInfo.Netmask", Field, 0}, - {"InterfaceMessage", Type, 0}, - {"InterfaceMessage.Data", Field, 0}, - {"InterfaceMessage.Header", Field, 0}, - {"InterfaceMulticastAddrMessage", Type, 0}, - {"InterfaceMulticastAddrMessage.Data", Field, 0}, - {"InterfaceMulticastAddrMessage.Header", Field, 0}, - {"InvalidHandle", Const, 0}, - {"Ioperm", Func, 0}, - {"Iopl", Func, 0}, - {"Iovec", Type, 0}, - {"Iovec.Base", Field, 0}, - {"Iovec.Len", Field, 0}, - {"IpAdapterInfo", Type, 0}, - {"IpAdapterInfo.AdapterName", Field, 0}, - {"IpAdapterInfo.Address", Field, 0}, - {"IpAdapterInfo.AddressLength", Field, 0}, - {"IpAdapterInfo.ComboIndex", Field, 0}, - {"IpAdapterInfo.CurrentIpAddress", Field, 0}, - {"IpAdapterInfo.Description", Field, 0}, - {"IpAdapterInfo.DhcpEnabled", Field, 0}, - {"IpAdapterInfo.DhcpServer", Field, 0}, - {"IpAdapterInfo.GatewayList", Field, 0}, - {"IpAdapterInfo.HaveWins", Field, 0}, - {"IpAdapterInfo.Index", Field, 0}, - {"IpAdapterInfo.IpAddressList", Field, 0}, - {"IpAdapterInfo.LeaseExpires", Field, 0}, - {"IpAdapterInfo.LeaseObtained", Field, 0}, - {"IpAdapterInfo.Next", Field, 0}, - {"IpAdapterInfo.PrimaryWinsServer", Field, 0}, - {"IpAdapterInfo.SecondaryWinsServer", Field, 0}, - {"IpAdapterInfo.Type", Field, 0}, - {"IpAddrString", Type, 0}, - {"IpAddrString.Context", Field, 0}, - {"IpAddrString.IpAddress", Field, 0}, - {"IpAddrString.IpMask", Field, 0}, - {"IpAddrString.Next", Field, 0}, - {"IpAddressString", Type, 0}, - {"IpAddressString.String", Field, 0}, - {"IpMaskString", Type, 0}, - {"IpMaskString.String", Field, 2}, - {"Issetugid", Func, 0}, - {"KEY_ALL_ACCESS", Const, 0}, - {"KEY_CREATE_LINK", Const, 0}, - {"KEY_CREATE_SUB_KEY", Const, 0}, - {"KEY_ENUMERATE_SUB_KEYS", Const, 0}, - {"KEY_EXECUTE", Const, 0}, - {"KEY_NOTIFY", Const, 0}, - {"KEY_QUERY_VALUE", Const, 0}, - {"KEY_READ", Const, 0}, - {"KEY_SET_VALUE", Const, 0}, - {"KEY_WOW64_32KEY", Const, 0}, - {"KEY_WOW64_64KEY", Const, 0}, - {"KEY_WRITE", Const, 0}, - {"Kevent", Func, 0}, - {"Kevent_t", Type, 0}, - {"Kevent_t.Data", Field, 0}, - {"Kevent_t.Fflags", Field, 0}, - {"Kevent_t.Filter", Field, 0}, - {"Kevent_t.Flags", Field, 0}, - {"Kevent_t.Ident", Field, 0}, - {"Kevent_t.Pad_cgo_0", Field, 2}, - {"Kevent_t.Udata", Field, 0}, - {"Kill", Func, 0}, - {"Klogctl", Func, 0}, - {"Kqueue", Func, 0}, - {"LANG_ENGLISH", Const, 0}, - {"LAYERED_PROTOCOL", Const, 2}, - {"LCNT_OVERLOAD_FLUSH", Const, 1}, - {"LINUX_REBOOT_CMD_CAD_OFF", Const, 0}, - {"LINUX_REBOOT_CMD_CAD_ON", Const, 0}, - {"LINUX_REBOOT_CMD_HALT", Const, 0}, - {"LINUX_REBOOT_CMD_KEXEC", Const, 0}, - {"LINUX_REBOOT_CMD_POWER_OFF", Const, 0}, - {"LINUX_REBOOT_CMD_RESTART", Const, 0}, - {"LINUX_REBOOT_CMD_RESTART2", Const, 0}, - {"LINUX_REBOOT_CMD_SW_SUSPEND", Const, 0}, - {"LINUX_REBOOT_MAGIC1", Const, 0}, - {"LINUX_REBOOT_MAGIC2", Const, 0}, - {"LOCK_EX", Const, 0}, - {"LOCK_NB", Const, 0}, - {"LOCK_SH", Const, 0}, - {"LOCK_UN", Const, 0}, - {"LazyDLL", Type, 0}, - {"LazyDLL.Name", Field, 0}, - {"LazyProc", Type, 0}, - {"LazyProc.Name", Field, 0}, - {"Lchown", Func, 0}, - {"Linger", Type, 0}, - {"Linger.Linger", Field, 0}, - {"Linger.Onoff", Field, 0}, - {"Link", Func, 0}, - {"Listen", Func, 0}, - {"Listxattr", Func, 1}, - {"LoadCancelIoEx", Func, 1}, - {"LoadConnectEx", Func, 1}, - {"LoadCreateSymbolicLink", Func, 4}, - {"LoadDLL", Func, 0}, - {"LoadGetAddrInfo", Func, 1}, - {"LoadLibrary", Func, 0}, - {"LoadSetFileCompletionNotificationModes", Func, 2}, - {"LocalFree", Func, 0}, - {"Log2phys_t", Type, 0}, - {"Log2phys_t.Contigbytes", Field, 0}, - {"Log2phys_t.Devoffset", Field, 0}, - {"Log2phys_t.Flags", Field, 0}, - {"LookupAccountName", Func, 0}, - {"LookupAccountSid", Func, 0}, - {"LookupSID", Func, 0}, - {"LsfJump", Func, 0}, - {"LsfSocket", Func, 0}, - {"LsfStmt", Func, 0}, - {"Lstat", Func, 0}, - {"MADV_AUTOSYNC", Const, 1}, - {"MADV_CAN_REUSE", Const, 0}, - {"MADV_CORE", Const, 1}, - {"MADV_DOFORK", Const, 0}, - {"MADV_DONTFORK", Const, 0}, - {"MADV_DONTNEED", Const, 0}, - {"MADV_FREE", Const, 0}, - {"MADV_FREE_REUSABLE", Const, 0}, - {"MADV_FREE_REUSE", Const, 0}, - {"MADV_HUGEPAGE", Const, 0}, - {"MADV_HWPOISON", Const, 0}, - {"MADV_MERGEABLE", Const, 0}, - {"MADV_NOCORE", Const, 1}, - {"MADV_NOHUGEPAGE", Const, 0}, - {"MADV_NORMAL", Const, 0}, - {"MADV_NOSYNC", Const, 1}, - {"MADV_PROTECT", Const, 1}, - {"MADV_RANDOM", Const, 0}, - {"MADV_REMOVE", Const, 0}, - {"MADV_SEQUENTIAL", Const, 0}, - {"MADV_SPACEAVAIL", Const, 3}, - {"MADV_UNMERGEABLE", Const, 0}, - {"MADV_WILLNEED", Const, 0}, - {"MADV_ZERO_WIRED_PAGES", Const, 0}, - {"MAP_32BIT", Const, 0}, - {"MAP_ALIGNED_SUPER", Const, 3}, - {"MAP_ALIGNMENT_16MB", Const, 3}, - {"MAP_ALIGNMENT_1TB", Const, 3}, - {"MAP_ALIGNMENT_256TB", Const, 3}, - {"MAP_ALIGNMENT_4GB", Const, 3}, - {"MAP_ALIGNMENT_64KB", Const, 3}, - {"MAP_ALIGNMENT_64PB", Const, 3}, - {"MAP_ALIGNMENT_MASK", Const, 3}, - {"MAP_ALIGNMENT_SHIFT", Const, 3}, - {"MAP_ANON", Const, 0}, - {"MAP_ANONYMOUS", Const, 0}, - {"MAP_COPY", Const, 0}, - {"MAP_DENYWRITE", Const, 0}, - {"MAP_EXECUTABLE", Const, 0}, - {"MAP_FILE", Const, 0}, - {"MAP_FIXED", Const, 0}, - {"MAP_FLAGMASK", Const, 3}, - {"MAP_GROWSDOWN", Const, 0}, - {"MAP_HASSEMAPHORE", Const, 0}, - {"MAP_HUGETLB", Const, 0}, - {"MAP_INHERIT", Const, 3}, - {"MAP_INHERIT_COPY", Const, 3}, - {"MAP_INHERIT_DEFAULT", Const, 3}, - {"MAP_INHERIT_DONATE_COPY", Const, 3}, - {"MAP_INHERIT_NONE", Const, 3}, - {"MAP_INHERIT_SHARE", Const, 3}, - {"MAP_JIT", Const, 0}, - {"MAP_LOCKED", Const, 0}, - {"MAP_NOCACHE", Const, 0}, - {"MAP_NOCORE", Const, 1}, - {"MAP_NOEXTEND", Const, 0}, - {"MAP_NONBLOCK", Const, 0}, - {"MAP_NORESERVE", Const, 0}, - {"MAP_NOSYNC", Const, 1}, - {"MAP_POPULATE", Const, 0}, - {"MAP_PREFAULT_READ", Const, 1}, - {"MAP_PRIVATE", Const, 0}, - {"MAP_RENAME", Const, 0}, - {"MAP_RESERVED0080", Const, 0}, - {"MAP_RESERVED0100", Const, 1}, - {"MAP_SHARED", Const, 0}, - {"MAP_STACK", Const, 0}, - {"MAP_TRYFIXED", Const, 3}, - {"MAP_TYPE", Const, 0}, - {"MAP_WIRED", Const, 3}, - {"MAXIMUM_REPARSE_DATA_BUFFER_SIZE", Const, 4}, - {"MAXLEN_IFDESCR", Const, 0}, - {"MAXLEN_PHYSADDR", Const, 0}, - {"MAX_ADAPTER_ADDRESS_LENGTH", Const, 0}, - {"MAX_ADAPTER_DESCRIPTION_LENGTH", Const, 0}, - {"MAX_ADAPTER_NAME_LENGTH", Const, 0}, - {"MAX_COMPUTERNAME_LENGTH", Const, 0}, - {"MAX_INTERFACE_NAME_LEN", Const, 0}, - {"MAX_LONG_PATH", Const, 0}, - {"MAX_PATH", Const, 0}, - {"MAX_PROTOCOL_CHAIN", Const, 2}, - {"MCL_CURRENT", Const, 0}, - {"MCL_FUTURE", Const, 0}, - {"MNT_DETACH", Const, 0}, - {"MNT_EXPIRE", Const, 0}, - {"MNT_FORCE", Const, 0}, - {"MSG_BCAST", Const, 1}, - {"MSG_CMSG_CLOEXEC", Const, 0}, - {"MSG_COMPAT", Const, 0}, - {"MSG_CONFIRM", Const, 0}, - {"MSG_CONTROLMBUF", Const, 1}, - {"MSG_CTRUNC", Const, 0}, - {"MSG_DONTROUTE", Const, 0}, - {"MSG_DONTWAIT", Const, 0}, - {"MSG_EOF", Const, 0}, - {"MSG_EOR", Const, 0}, - {"MSG_ERRQUEUE", Const, 0}, - {"MSG_FASTOPEN", Const, 1}, - {"MSG_FIN", Const, 0}, - {"MSG_FLUSH", Const, 0}, - {"MSG_HAVEMORE", Const, 0}, - {"MSG_HOLD", Const, 0}, - {"MSG_IOVUSRSPACE", Const, 1}, - {"MSG_LENUSRSPACE", Const, 1}, - {"MSG_MCAST", Const, 1}, - {"MSG_MORE", Const, 0}, - {"MSG_NAMEMBUF", Const, 1}, - {"MSG_NBIO", Const, 0}, - {"MSG_NEEDSA", Const, 0}, - {"MSG_NOSIGNAL", Const, 0}, - {"MSG_NOTIFICATION", Const, 0}, - {"MSG_OOB", Const, 0}, - {"MSG_PEEK", Const, 0}, - {"MSG_PROXY", Const, 0}, - {"MSG_RCVMORE", Const, 0}, - {"MSG_RST", Const, 0}, - {"MSG_SEND", Const, 0}, - {"MSG_SYN", Const, 0}, - {"MSG_TRUNC", Const, 0}, - {"MSG_TRYHARD", Const, 0}, - {"MSG_USERFLAGS", Const, 1}, - {"MSG_WAITALL", Const, 0}, - {"MSG_WAITFORONE", Const, 0}, - {"MSG_WAITSTREAM", Const, 0}, - {"MS_ACTIVE", Const, 0}, - {"MS_ASYNC", Const, 0}, - {"MS_BIND", Const, 0}, - {"MS_DEACTIVATE", Const, 0}, - {"MS_DIRSYNC", Const, 0}, - {"MS_INVALIDATE", Const, 0}, - {"MS_I_VERSION", Const, 0}, - {"MS_KERNMOUNT", Const, 0}, - {"MS_KILLPAGES", Const, 0}, - {"MS_MANDLOCK", Const, 0}, - {"MS_MGC_MSK", Const, 0}, - {"MS_MGC_VAL", Const, 0}, - {"MS_MOVE", Const, 0}, - {"MS_NOATIME", Const, 0}, - {"MS_NODEV", Const, 0}, - {"MS_NODIRATIME", Const, 0}, - {"MS_NOEXEC", Const, 0}, - {"MS_NOSUID", Const, 0}, - {"MS_NOUSER", Const, 0}, - {"MS_POSIXACL", Const, 0}, - {"MS_PRIVATE", Const, 0}, - {"MS_RDONLY", Const, 0}, - {"MS_REC", Const, 0}, - {"MS_RELATIME", Const, 0}, - {"MS_REMOUNT", Const, 0}, - {"MS_RMT_MASK", Const, 0}, - {"MS_SHARED", Const, 0}, - {"MS_SILENT", Const, 0}, - {"MS_SLAVE", Const, 0}, - {"MS_STRICTATIME", Const, 0}, - {"MS_SYNC", Const, 0}, - {"MS_SYNCHRONOUS", Const, 0}, - {"MS_UNBINDABLE", Const, 0}, - {"Madvise", Func, 0}, - {"MapViewOfFile", Func, 0}, - {"MaxTokenInfoClass", Const, 0}, - {"Mclpool", Type, 2}, - {"Mclpool.Alive", Field, 2}, - {"Mclpool.Cwm", Field, 2}, - {"Mclpool.Grown", Field, 2}, - {"Mclpool.Hwm", Field, 2}, - {"Mclpool.Lwm", Field, 2}, - {"MibIfRow", Type, 0}, - {"MibIfRow.AdminStatus", Field, 0}, - {"MibIfRow.Descr", Field, 0}, - {"MibIfRow.DescrLen", Field, 0}, - {"MibIfRow.InDiscards", Field, 0}, - {"MibIfRow.InErrors", Field, 0}, - {"MibIfRow.InNUcastPkts", Field, 0}, - {"MibIfRow.InOctets", Field, 0}, - {"MibIfRow.InUcastPkts", Field, 0}, - {"MibIfRow.InUnknownProtos", Field, 0}, - {"MibIfRow.Index", Field, 0}, - {"MibIfRow.LastChange", Field, 0}, - {"MibIfRow.Mtu", Field, 0}, - {"MibIfRow.Name", Field, 0}, - {"MibIfRow.OperStatus", Field, 0}, - {"MibIfRow.OutDiscards", Field, 0}, - {"MibIfRow.OutErrors", Field, 0}, - {"MibIfRow.OutNUcastPkts", Field, 0}, - {"MibIfRow.OutOctets", Field, 0}, - {"MibIfRow.OutQLen", Field, 0}, - {"MibIfRow.OutUcastPkts", Field, 0}, - {"MibIfRow.PhysAddr", Field, 0}, - {"MibIfRow.PhysAddrLen", Field, 0}, - {"MibIfRow.Speed", Field, 0}, - {"MibIfRow.Type", Field, 0}, - {"Mkdir", Func, 0}, - {"Mkdirat", Func, 0}, - {"Mkfifo", Func, 0}, - {"Mknod", Func, 0}, - {"Mknodat", Func, 0}, - {"Mlock", Func, 0}, - {"Mlockall", Func, 0}, - {"Mmap", Func, 0}, - {"Mount", Func, 0}, - {"MoveFile", Func, 0}, - {"Mprotect", Func, 0}, - {"Msghdr", Type, 0}, - {"Msghdr.Control", Field, 0}, - {"Msghdr.Controllen", Field, 0}, - {"Msghdr.Flags", Field, 0}, - {"Msghdr.Iov", Field, 0}, - {"Msghdr.Iovlen", Field, 0}, - {"Msghdr.Name", Field, 0}, - {"Msghdr.Namelen", Field, 0}, - {"Msghdr.Pad_cgo_0", Field, 0}, - {"Msghdr.Pad_cgo_1", Field, 0}, - {"Munlock", Func, 0}, - {"Munlockall", Func, 0}, - {"Munmap", Func, 0}, - {"MustLoadDLL", Func, 0}, - {"NAME_MAX", Const, 0}, - {"NETLINK_ADD_MEMBERSHIP", Const, 0}, - {"NETLINK_AUDIT", Const, 0}, - {"NETLINK_BROADCAST_ERROR", Const, 0}, - {"NETLINK_CONNECTOR", Const, 0}, - {"NETLINK_DNRTMSG", Const, 0}, - {"NETLINK_DROP_MEMBERSHIP", Const, 0}, - {"NETLINK_ECRYPTFS", Const, 0}, - {"NETLINK_FIB_LOOKUP", Const, 0}, - {"NETLINK_FIREWALL", Const, 0}, - {"NETLINK_GENERIC", Const, 0}, - {"NETLINK_INET_DIAG", Const, 0}, - {"NETLINK_IP6_FW", Const, 0}, - {"NETLINK_ISCSI", Const, 0}, - {"NETLINK_KOBJECT_UEVENT", Const, 0}, - {"NETLINK_NETFILTER", Const, 0}, - {"NETLINK_NFLOG", Const, 0}, - {"NETLINK_NO_ENOBUFS", Const, 0}, - {"NETLINK_PKTINFO", Const, 0}, - {"NETLINK_RDMA", Const, 0}, - {"NETLINK_ROUTE", Const, 0}, - {"NETLINK_SCSITRANSPORT", Const, 0}, - {"NETLINK_SELINUX", Const, 0}, - {"NETLINK_UNUSED", Const, 0}, - {"NETLINK_USERSOCK", Const, 0}, - {"NETLINK_XFRM", Const, 0}, - {"NET_RT_DUMP", Const, 0}, - {"NET_RT_DUMP2", Const, 0}, - {"NET_RT_FLAGS", Const, 0}, - {"NET_RT_IFLIST", Const, 0}, - {"NET_RT_IFLIST2", Const, 0}, - {"NET_RT_IFLISTL", Const, 1}, - {"NET_RT_IFMALIST", Const, 0}, - {"NET_RT_MAXID", Const, 0}, - {"NET_RT_OIFLIST", Const, 1}, - {"NET_RT_OOIFLIST", Const, 1}, - {"NET_RT_STAT", Const, 0}, - {"NET_RT_STATS", Const, 1}, - {"NET_RT_TABLE", Const, 1}, - {"NET_RT_TRASH", Const, 0}, - {"NLA_ALIGNTO", Const, 0}, - {"NLA_F_NESTED", Const, 0}, - {"NLA_F_NET_BYTEORDER", Const, 0}, - {"NLA_HDRLEN", Const, 0}, - {"NLMSG_ALIGNTO", Const, 0}, - {"NLMSG_DONE", Const, 0}, - {"NLMSG_ERROR", Const, 0}, - {"NLMSG_HDRLEN", Const, 0}, - {"NLMSG_MIN_TYPE", Const, 0}, - {"NLMSG_NOOP", Const, 0}, - {"NLMSG_OVERRUN", Const, 0}, - {"NLM_F_ACK", Const, 0}, - {"NLM_F_APPEND", Const, 0}, - {"NLM_F_ATOMIC", Const, 0}, - {"NLM_F_CREATE", Const, 0}, - {"NLM_F_DUMP", Const, 0}, - {"NLM_F_ECHO", Const, 0}, - {"NLM_F_EXCL", Const, 0}, - {"NLM_F_MATCH", Const, 0}, - {"NLM_F_MULTI", Const, 0}, - {"NLM_F_REPLACE", Const, 0}, - {"NLM_F_REQUEST", Const, 0}, - {"NLM_F_ROOT", Const, 0}, - {"NOFLSH", Const, 0}, - {"NOTE_ABSOLUTE", Const, 0}, - {"NOTE_ATTRIB", Const, 0}, - {"NOTE_BACKGROUND", Const, 16}, - {"NOTE_CHILD", Const, 0}, - {"NOTE_CRITICAL", Const, 16}, - {"NOTE_DELETE", Const, 0}, - {"NOTE_EOF", Const, 1}, - {"NOTE_EXEC", Const, 0}, - {"NOTE_EXIT", Const, 0}, - {"NOTE_EXITSTATUS", Const, 0}, - {"NOTE_EXIT_CSERROR", Const, 16}, - {"NOTE_EXIT_DECRYPTFAIL", Const, 16}, - {"NOTE_EXIT_DETAIL", Const, 16}, - {"NOTE_EXIT_DETAIL_MASK", Const, 16}, - {"NOTE_EXIT_MEMORY", Const, 16}, - {"NOTE_EXIT_REPARENTED", Const, 16}, - {"NOTE_EXTEND", Const, 0}, - {"NOTE_FFAND", Const, 0}, - {"NOTE_FFCOPY", Const, 0}, - {"NOTE_FFCTRLMASK", Const, 0}, - {"NOTE_FFLAGSMASK", Const, 0}, - {"NOTE_FFNOP", Const, 0}, - {"NOTE_FFOR", Const, 0}, - {"NOTE_FORK", Const, 0}, - {"NOTE_LEEWAY", Const, 16}, - {"NOTE_LINK", Const, 0}, - {"NOTE_LOWAT", Const, 0}, - {"NOTE_NONE", Const, 0}, - {"NOTE_NSECONDS", Const, 0}, - {"NOTE_PCTRLMASK", Const, 0}, - {"NOTE_PDATAMASK", Const, 0}, - {"NOTE_REAP", Const, 0}, - {"NOTE_RENAME", Const, 0}, - {"NOTE_RESOURCEEND", Const, 0}, - {"NOTE_REVOKE", Const, 0}, - {"NOTE_SECONDS", Const, 0}, - {"NOTE_SIGNAL", Const, 0}, - {"NOTE_TRACK", Const, 0}, - {"NOTE_TRACKERR", Const, 0}, - {"NOTE_TRIGGER", Const, 0}, - {"NOTE_TRUNCATE", Const, 1}, - {"NOTE_USECONDS", Const, 0}, - {"NOTE_VM_ERROR", Const, 0}, - {"NOTE_VM_PRESSURE", Const, 0}, - {"NOTE_VM_PRESSURE_SUDDEN_TERMINATE", Const, 0}, - {"NOTE_VM_PRESSURE_TERMINATE", Const, 0}, - {"NOTE_WRITE", Const, 0}, - {"NameCanonical", Const, 0}, - {"NameCanonicalEx", Const, 0}, - {"NameDisplay", Const, 0}, - {"NameDnsDomain", Const, 0}, - {"NameFullyQualifiedDN", Const, 0}, - {"NameSamCompatible", Const, 0}, - {"NameServicePrincipal", Const, 0}, - {"NameUniqueId", Const, 0}, - {"NameUnknown", Const, 0}, - {"NameUserPrincipal", Const, 0}, - {"Nanosleep", Func, 0}, - {"NetApiBufferFree", Func, 0}, - {"NetGetJoinInformation", Func, 2}, - {"NetSetupDomainName", Const, 2}, - {"NetSetupUnjoined", Const, 2}, - {"NetSetupUnknownStatus", Const, 2}, - {"NetSetupWorkgroupName", Const, 2}, - {"NetUserGetInfo", Func, 0}, - {"NetlinkMessage", Type, 0}, - {"NetlinkMessage.Data", Field, 0}, - {"NetlinkMessage.Header", Field, 0}, - {"NetlinkRIB", Func, 0}, - {"NetlinkRouteAttr", Type, 0}, - {"NetlinkRouteAttr.Attr", Field, 0}, - {"NetlinkRouteAttr.Value", Field, 0}, - {"NetlinkRouteRequest", Type, 0}, - {"NetlinkRouteRequest.Data", Field, 0}, - {"NetlinkRouteRequest.Header", Field, 0}, - {"NewCallback", Func, 0}, - {"NewCallbackCDecl", Func, 3}, - {"NewLazyDLL", Func, 0}, - {"NlAttr", Type, 0}, - {"NlAttr.Len", Field, 0}, - {"NlAttr.Type", Field, 0}, - {"NlMsgerr", Type, 0}, - {"NlMsgerr.Error", Field, 0}, - {"NlMsgerr.Msg", Field, 0}, - {"NlMsghdr", Type, 0}, - {"NlMsghdr.Flags", Field, 0}, - {"NlMsghdr.Len", Field, 0}, - {"NlMsghdr.Pid", Field, 0}, - {"NlMsghdr.Seq", Field, 0}, - {"NlMsghdr.Type", Field, 0}, - {"NsecToFiletime", Func, 0}, - {"NsecToTimespec", Func, 0}, - {"NsecToTimeval", Func, 0}, - {"Ntohs", Func, 0}, - {"OCRNL", Const, 0}, - {"OFDEL", Const, 0}, - {"OFILL", Const, 0}, - {"OFIOGETBMAP", Const, 1}, - {"OID_PKIX_KP_SERVER_AUTH", Var, 0}, - {"OID_SERVER_GATED_CRYPTO", Var, 0}, - {"OID_SGC_NETSCAPE", Var, 0}, - {"OLCUC", Const, 0}, - {"ONLCR", Const, 0}, - {"ONLRET", Const, 0}, - {"ONOCR", Const, 0}, - {"ONOEOT", Const, 1}, - {"OPEN_ALWAYS", Const, 0}, - {"OPEN_EXISTING", Const, 0}, - {"OPOST", Const, 0}, - {"O_ACCMODE", Const, 0}, - {"O_ALERT", Const, 0}, - {"O_ALT_IO", Const, 1}, - {"O_APPEND", Const, 0}, - {"O_ASYNC", Const, 0}, - {"O_CLOEXEC", Const, 0}, - {"O_CREAT", Const, 0}, - {"O_DIRECT", Const, 0}, - {"O_DIRECTORY", Const, 0}, - {"O_DP_GETRAWENCRYPTED", Const, 16}, - {"O_DSYNC", Const, 0}, - {"O_EVTONLY", Const, 0}, - {"O_EXCL", Const, 0}, - {"O_EXEC", Const, 0}, - {"O_EXLOCK", Const, 0}, - {"O_FSYNC", Const, 0}, - {"O_LARGEFILE", Const, 0}, - {"O_NDELAY", Const, 0}, - {"O_NOATIME", Const, 0}, - {"O_NOCTTY", Const, 0}, - {"O_NOFOLLOW", Const, 0}, - {"O_NONBLOCK", Const, 0}, - {"O_NOSIGPIPE", Const, 1}, - {"O_POPUP", Const, 0}, - {"O_RDONLY", Const, 0}, - {"O_RDWR", Const, 0}, - {"O_RSYNC", Const, 0}, - {"O_SHLOCK", Const, 0}, - {"O_SYMLINK", Const, 0}, - {"O_SYNC", Const, 0}, - {"O_TRUNC", Const, 0}, - {"O_TTY_INIT", Const, 0}, - {"O_WRONLY", Const, 0}, - {"Open", Func, 0}, - {"OpenCurrentProcessToken", Func, 0}, - {"OpenProcess", Func, 0}, - {"OpenProcessToken", Func, 0}, - {"Openat", Func, 0}, - {"Overlapped", Type, 0}, - {"Overlapped.HEvent", Field, 0}, - {"Overlapped.Internal", Field, 0}, - {"Overlapped.InternalHigh", Field, 0}, - {"Overlapped.Offset", Field, 0}, - {"Overlapped.OffsetHigh", Field, 0}, - {"PACKET_ADD_MEMBERSHIP", Const, 0}, - {"PACKET_BROADCAST", Const, 0}, - {"PACKET_DROP_MEMBERSHIP", Const, 0}, - {"PACKET_FASTROUTE", Const, 0}, - {"PACKET_HOST", Const, 0}, - {"PACKET_LOOPBACK", Const, 0}, - {"PACKET_MR_ALLMULTI", Const, 0}, - {"PACKET_MR_MULTICAST", Const, 0}, - {"PACKET_MR_PROMISC", Const, 0}, - {"PACKET_MULTICAST", Const, 0}, - {"PACKET_OTHERHOST", Const, 0}, - {"PACKET_OUTGOING", Const, 0}, - {"PACKET_RECV_OUTPUT", Const, 0}, - {"PACKET_RX_RING", Const, 0}, - {"PACKET_STATISTICS", Const, 0}, - {"PAGE_EXECUTE_READ", Const, 0}, - {"PAGE_EXECUTE_READWRITE", Const, 0}, - {"PAGE_EXECUTE_WRITECOPY", Const, 0}, - {"PAGE_READONLY", Const, 0}, - {"PAGE_READWRITE", Const, 0}, - {"PAGE_WRITECOPY", Const, 0}, - {"PARENB", Const, 0}, - {"PARMRK", Const, 0}, - {"PARODD", Const, 0}, - {"PENDIN", Const, 0}, - {"PFL_HIDDEN", Const, 2}, - {"PFL_MATCHES_PROTOCOL_ZERO", Const, 2}, - {"PFL_MULTIPLE_PROTO_ENTRIES", Const, 2}, - {"PFL_NETWORKDIRECT_PROVIDER", Const, 2}, - {"PFL_RECOMMENDED_PROTO_ENTRY", Const, 2}, - {"PF_FLUSH", Const, 1}, - {"PKCS_7_ASN_ENCODING", Const, 0}, - {"PMC5_PIPELINE_FLUSH", Const, 1}, - {"PRIO_PGRP", Const, 2}, - {"PRIO_PROCESS", Const, 2}, - {"PRIO_USER", Const, 2}, - {"PRI_IOFLUSH", Const, 1}, - {"PROCESS_QUERY_INFORMATION", Const, 0}, - {"PROCESS_TERMINATE", Const, 2}, - {"PROT_EXEC", Const, 0}, - {"PROT_GROWSDOWN", Const, 0}, - {"PROT_GROWSUP", Const, 0}, - {"PROT_NONE", Const, 0}, - {"PROT_READ", Const, 0}, - {"PROT_WRITE", Const, 0}, - {"PROV_DH_SCHANNEL", Const, 0}, - {"PROV_DSS", Const, 0}, - {"PROV_DSS_DH", Const, 0}, - {"PROV_EC_ECDSA_FULL", Const, 0}, - {"PROV_EC_ECDSA_SIG", Const, 0}, - {"PROV_EC_ECNRA_FULL", Const, 0}, - {"PROV_EC_ECNRA_SIG", Const, 0}, - {"PROV_FORTEZZA", Const, 0}, - {"PROV_INTEL_SEC", Const, 0}, - {"PROV_MS_EXCHANGE", Const, 0}, - {"PROV_REPLACE_OWF", Const, 0}, - {"PROV_RNG", Const, 0}, - {"PROV_RSA_AES", Const, 0}, - {"PROV_RSA_FULL", Const, 0}, - {"PROV_RSA_SCHANNEL", Const, 0}, - {"PROV_RSA_SIG", Const, 0}, - {"PROV_SPYRUS_LYNKS", Const, 0}, - {"PROV_SSL", Const, 0}, - {"PR_CAPBSET_DROP", Const, 0}, - {"PR_CAPBSET_READ", Const, 0}, - {"PR_CLEAR_SECCOMP_FILTER", Const, 0}, - {"PR_ENDIAN_BIG", Const, 0}, - {"PR_ENDIAN_LITTLE", Const, 0}, - {"PR_ENDIAN_PPC_LITTLE", Const, 0}, - {"PR_FPEMU_NOPRINT", Const, 0}, - {"PR_FPEMU_SIGFPE", Const, 0}, - {"PR_FP_EXC_ASYNC", Const, 0}, - {"PR_FP_EXC_DISABLED", Const, 0}, - {"PR_FP_EXC_DIV", Const, 0}, - {"PR_FP_EXC_INV", Const, 0}, - {"PR_FP_EXC_NONRECOV", Const, 0}, - {"PR_FP_EXC_OVF", Const, 0}, - {"PR_FP_EXC_PRECISE", Const, 0}, - {"PR_FP_EXC_RES", Const, 0}, - {"PR_FP_EXC_SW_ENABLE", Const, 0}, - {"PR_FP_EXC_UND", Const, 0}, - {"PR_GET_DUMPABLE", Const, 0}, - {"PR_GET_ENDIAN", Const, 0}, - {"PR_GET_FPEMU", Const, 0}, - {"PR_GET_FPEXC", Const, 0}, - {"PR_GET_KEEPCAPS", Const, 0}, - {"PR_GET_NAME", Const, 0}, - {"PR_GET_PDEATHSIG", Const, 0}, - {"PR_GET_SECCOMP", Const, 0}, - {"PR_GET_SECCOMP_FILTER", Const, 0}, - {"PR_GET_SECUREBITS", Const, 0}, - {"PR_GET_TIMERSLACK", Const, 0}, - {"PR_GET_TIMING", Const, 0}, - {"PR_GET_TSC", Const, 0}, - {"PR_GET_UNALIGN", Const, 0}, - {"PR_MCE_KILL", Const, 0}, - {"PR_MCE_KILL_CLEAR", Const, 0}, - {"PR_MCE_KILL_DEFAULT", Const, 0}, - {"PR_MCE_KILL_EARLY", Const, 0}, - {"PR_MCE_KILL_GET", Const, 0}, - {"PR_MCE_KILL_LATE", Const, 0}, - {"PR_MCE_KILL_SET", Const, 0}, - {"PR_SECCOMP_FILTER_EVENT", Const, 0}, - {"PR_SECCOMP_FILTER_SYSCALL", Const, 0}, - {"PR_SET_DUMPABLE", Const, 0}, - {"PR_SET_ENDIAN", Const, 0}, - {"PR_SET_FPEMU", Const, 0}, - {"PR_SET_FPEXC", Const, 0}, - {"PR_SET_KEEPCAPS", Const, 0}, - {"PR_SET_NAME", Const, 0}, - {"PR_SET_PDEATHSIG", Const, 0}, - {"PR_SET_PTRACER", Const, 0}, - {"PR_SET_SECCOMP", Const, 0}, - {"PR_SET_SECCOMP_FILTER", Const, 0}, - {"PR_SET_SECUREBITS", Const, 0}, - {"PR_SET_TIMERSLACK", Const, 0}, - {"PR_SET_TIMING", Const, 0}, - {"PR_SET_TSC", Const, 0}, - {"PR_SET_UNALIGN", Const, 0}, - {"PR_TASK_PERF_EVENTS_DISABLE", Const, 0}, - {"PR_TASK_PERF_EVENTS_ENABLE", Const, 0}, - {"PR_TIMING_STATISTICAL", Const, 0}, - {"PR_TIMING_TIMESTAMP", Const, 0}, - {"PR_TSC_ENABLE", Const, 0}, - {"PR_TSC_SIGSEGV", Const, 0}, - {"PR_UNALIGN_NOPRINT", Const, 0}, - {"PR_UNALIGN_SIGBUS", Const, 0}, - {"PTRACE_ARCH_PRCTL", Const, 0}, - {"PTRACE_ATTACH", Const, 0}, - {"PTRACE_CONT", Const, 0}, - {"PTRACE_DETACH", Const, 0}, - {"PTRACE_EVENT_CLONE", Const, 0}, - {"PTRACE_EVENT_EXEC", Const, 0}, - {"PTRACE_EVENT_EXIT", Const, 0}, - {"PTRACE_EVENT_FORK", Const, 0}, - {"PTRACE_EVENT_VFORK", Const, 0}, - {"PTRACE_EVENT_VFORK_DONE", Const, 0}, - {"PTRACE_GETCRUNCHREGS", Const, 0}, - {"PTRACE_GETEVENTMSG", Const, 0}, - {"PTRACE_GETFPREGS", Const, 0}, - {"PTRACE_GETFPXREGS", Const, 0}, - {"PTRACE_GETHBPREGS", Const, 0}, - {"PTRACE_GETREGS", Const, 0}, - {"PTRACE_GETREGSET", Const, 0}, - {"PTRACE_GETSIGINFO", Const, 0}, - {"PTRACE_GETVFPREGS", Const, 0}, - {"PTRACE_GETWMMXREGS", Const, 0}, - {"PTRACE_GET_THREAD_AREA", Const, 0}, - {"PTRACE_KILL", Const, 0}, - {"PTRACE_OLDSETOPTIONS", Const, 0}, - {"PTRACE_O_MASK", Const, 0}, - {"PTRACE_O_TRACECLONE", Const, 0}, - {"PTRACE_O_TRACEEXEC", Const, 0}, - {"PTRACE_O_TRACEEXIT", Const, 0}, - {"PTRACE_O_TRACEFORK", Const, 0}, - {"PTRACE_O_TRACESYSGOOD", Const, 0}, - {"PTRACE_O_TRACEVFORK", Const, 0}, - {"PTRACE_O_TRACEVFORKDONE", Const, 0}, - {"PTRACE_PEEKDATA", Const, 0}, - {"PTRACE_PEEKTEXT", Const, 0}, - {"PTRACE_PEEKUSR", Const, 0}, - {"PTRACE_POKEDATA", Const, 0}, - {"PTRACE_POKETEXT", Const, 0}, - {"PTRACE_POKEUSR", Const, 0}, - {"PTRACE_SETCRUNCHREGS", Const, 0}, - {"PTRACE_SETFPREGS", Const, 0}, - {"PTRACE_SETFPXREGS", Const, 0}, - {"PTRACE_SETHBPREGS", Const, 0}, - {"PTRACE_SETOPTIONS", Const, 0}, - {"PTRACE_SETREGS", Const, 0}, - {"PTRACE_SETREGSET", Const, 0}, - {"PTRACE_SETSIGINFO", Const, 0}, - {"PTRACE_SETVFPREGS", Const, 0}, - {"PTRACE_SETWMMXREGS", Const, 0}, - {"PTRACE_SET_SYSCALL", Const, 0}, - {"PTRACE_SET_THREAD_AREA", Const, 0}, - {"PTRACE_SINGLEBLOCK", Const, 0}, - {"PTRACE_SINGLESTEP", Const, 0}, - {"PTRACE_SYSCALL", Const, 0}, - {"PTRACE_SYSEMU", Const, 0}, - {"PTRACE_SYSEMU_SINGLESTEP", Const, 0}, - {"PTRACE_TRACEME", Const, 0}, - {"PT_ATTACH", Const, 0}, - {"PT_ATTACHEXC", Const, 0}, - {"PT_CONTINUE", Const, 0}, - {"PT_DATA_ADDR", Const, 0}, - {"PT_DENY_ATTACH", Const, 0}, - {"PT_DETACH", Const, 0}, - {"PT_FIRSTMACH", Const, 0}, - {"PT_FORCEQUOTA", Const, 0}, - {"PT_KILL", Const, 0}, - {"PT_MASK", Const, 1}, - {"PT_READ_D", Const, 0}, - {"PT_READ_I", Const, 0}, - {"PT_READ_U", Const, 0}, - {"PT_SIGEXC", Const, 0}, - {"PT_STEP", Const, 0}, - {"PT_TEXT_ADDR", Const, 0}, - {"PT_TEXT_END_ADDR", Const, 0}, - {"PT_THUPDATE", Const, 0}, - {"PT_TRACE_ME", Const, 0}, - {"PT_WRITE_D", Const, 0}, - {"PT_WRITE_I", Const, 0}, - {"PT_WRITE_U", Const, 0}, - {"ParseDirent", Func, 0}, - {"ParseNetlinkMessage", Func, 0}, - {"ParseNetlinkRouteAttr", Func, 0}, - {"ParseRoutingMessage", Func, 0}, - {"ParseRoutingSockaddr", Func, 0}, - {"ParseSocketControlMessage", Func, 0}, - {"ParseUnixCredentials", Func, 0}, - {"ParseUnixRights", Func, 0}, - {"PathMax", Const, 0}, - {"Pathconf", Func, 0}, - {"Pause", Func, 0}, - {"Pipe", Func, 0}, - {"Pipe2", Func, 1}, - {"PivotRoot", Func, 0}, - {"Pointer", Type, 11}, - {"PostQueuedCompletionStatus", Func, 0}, - {"Pread", Func, 0}, - {"Proc", Type, 0}, - {"Proc.Dll", Field, 0}, - {"Proc.Name", Field, 0}, - {"ProcAttr", Type, 0}, - {"ProcAttr.Dir", Field, 0}, - {"ProcAttr.Env", Field, 0}, - {"ProcAttr.Files", Field, 0}, - {"ProcAttr.Sys", Field, 0}, - {"Process32First", Func, 4}, - {"Process32Next", Func, 4}, - {"ProcessEntry32", Type, 4}, - {"ProcessEntry32.DefaultHeapID", Field, 4}, - {"ProcessEntry32.ExeFile", Field, 4}, - {"ProcessEntry32.Flags", Field, 4}, - {"ProcessEntry32.ModuleID", Field, 4}, - {"ProcessEntry32.ParentProcessID", Field, 4}, - {"ProcessEntry32.PriClassBase", Field, 4}, - {"ProcessEntry32.ProcessID", Field, 4}, - {"ProcessEntry32.Size", Field, 4}, - {"ProcessEntry32.Threads", Field, 4}, - {"ProcessEntry32.Usage", Field, 4}, - {"ProcessInformation", Type, 0}, - {"ProcessInformation.Process", Field, 0}, - {"ProcessInformation.ProcessId", Field, 0}, - {"ProcessInformation.Thread", Field, 0}, - {"ProcessInformation.ThreadId", Field, 0}, - {"Protoent", Type, 0}, - {"Protoent.Aliases", Field, 0}, - {"Protoent.Name", Field, 0}, - {"Protoent.Proto", Field, 0}, - {"PtraceAttach", Func, 0}, - {"PtraceCont", Func, 0}, - {"PtraceDetach", Func, 0}, - {"PtraceGetEventMsg", Func, 0}, - {"PtraceGetRegs", Func, 0}, - {"PtracePeekData", Func, 0}, - {"PtracePeekText", Func, 0}, - {"PtracePokeData", Func, 0}, - {"PtracePokeText", Func, 0}, - {"PtraceRegs", Type, 0}, - {"PtraceRegs.Cs", Field, 0}, - {"PtraceRegs.Ds", Field, 0}, - {"PtraceRegs.Eax", Field, 0}, - {"PtraceRegs.Ebp", Field, 0}, - {"PtraceRegs.Ebx", Field, 0}, - {"PtraceRegs.Ecx", Field, 0}, - {"PtraceRegs.Edi", Field, 0}, - {"PtraceRegs.Edx", Field, 0}, - {"PtraceRegs.Eflags", Field, 0}, - {"PtraceRegs.Eip", Field, 0}, - {"PtraceRegs.Es", Field, 0}, - {"PtraceRegs.Esi", Field, 0}, - {"PtraceRegs.Esp", Field, 0}, - {"PtraceRegs.Fs", Field, 0}, - {"PtraceRegs.Fs_base", Field, 0}, - {"PtraceRegs.Gs", Field, 0}, - {"PtraceRegs.Gs_base", Field, 0}, - {"PtraceRegs.Orig_eax", Field, 0}, - {"PtraceRegs.Orig_rax", Field, 0}, - {"PtraceRegs.R10", Field, 0}, - {"PtraceRegs.R11", Field, 0}, - {"PtraceRegs.R12", Field, 0}, - {"PtraceRegs.R13", Field, 0}, - {"PtraceRegs.R14", Field, 0}, - {"PtraceRegs.R15", Field, 0}, - {"PtraceRegs.R8", Field, 0}, - {"PtraceRegs.R9", Field, 0}, - {"PtraceRegs.Rax", Field, 0}, - {"PtraceRegs.Rbp", Field, 0}, - {"PtraceRegs.Rbx", Field, 0}, - {"PtraceRegs.Rcx", Field, 0}, - {"PtraceRegs.Rdi", Field, 0}, - {"PtraceRegs.Rdx", Field, 0}, - {"PtraceRegs.Rip", Field, 0}, - {"PtraceRegs.Rsi", Field, 0}, - {"PtraceRegs.Rsp", Field, 0}, - {"PtraceRegs.Ss", Field, 0}, - {"PtraceRegs.Uregs", Field, 0}, - {"PtraceRegs.Xcs", Field, 0}, - {"PtraceRegs.Xds", Field, 0}, - {"PtraceRegs.Xes", Field, 0}, - {"PtraceRegs.Xfs", Field, 0}, - {"PtraceRegs.Xgs", Field, 0}, - {"PtraceRegs.Xss", Field, 0}, - {"PtraceSetOptions", Func, 0}, - {"PtraceSetRegs", Func, 0}, - {"PtraceSingleStep", Func, 0}, - {"PtraceSyscall", Func, 1}, - {"Pwrite", Func, 0}, - {"REG_BINARY", Const, 0}, - {"REG_DWORD", Const, 0}, - {"REG_DWORD_BIG_ENDIAN", Const, 0}, - {"REG_DWORD_LITTLE_ENDIAN", Const, 0}, - {"REG_EXPAND_SZ", Const, 0}, - {"REG_FULL_RESOURCE_DESCRIPTOR", Const, 0}, - {"REG_LINK", Const, 0}, - {"REG_MULTI_SZ", Const, 0}, - {"REG_NONE", Const, 0}, - {"REG_QWORD", Const, 0}, - {"REG_QWORD_LITTLE_ENDIAN", Const, 0}, - {"REG_RESOURCE_LIST", Const, 0}, - {"REG_RESOURCE_REQUIREMENTS_LIST", Const, 0}, - {"REG_SZ", Const, 0}, - {"RLIMIT_AS", Const, 0}, - {"RLIMIT_CORE", Const, 0}, - {"RLIMIT_CPU", Const, 0}, - {"RLIMIT_CPU_USAGE_MONITOR", Const, 16}, - {"RLIMIT_DATA", Const, 0}, - {"RLIMIT_FSIZE", Const, 0}, - {"RLIMIT_NOFILE", Const, 0}, - {"RLIMIT_STACK", Const, 0}, - {"RLIM_INFINITY", Const, 0}, - {"RTAX_ADVMSS", Const, 0}, - {"RTAX_AUTHOR", Const, 0}, - {"RTAX_BRD", Const, 0}, - {"RTAX_CWND", Const, 0}, - {"RTAX_DST", Const, 0}, - {"RTAX_FEATURES", Const, 0}, - {"RTAX_FEATURE_ALLFRAG", Const, 0}, - {"RTAX_FEATURE_ECN", Const, 0}, - {"RTAX_FEATURE_SACK", Const, 0}, - {"RTAX_FEATURE_TIMESTAMP", Const, 0}, - {"RTAX_GATEWAY", Const, 0}, - {"RTAX_GENMASK", Const, 0}, - {"RTAX_HOPLIMIT", Const, 0}, - {"RTAX_IFA", Const, 0}, - {"RTAX_IFP", Const, 0}, - {"RTAX_INITCWND", Const, 0}, - {"RTAX_INITRWND", Const, 0}, - {"RTAX_LABEL", Const, 1}, - {"RTAX_LOCK", Const, 0}, - {"RTAX_MAX", Const, 0}, - {"RTAX_MTU", Const, 0}, - {"RTAX_NETMASK", Const, 0}, - {"RTAX_REORDERING", Const, 0}, - {"RTAX_RTO_MIN", Const, 0}, - {"RTAX_RTT", Const, 0}, - {"RTAX_RTTVAR", Const, 0}, - {"RTAX_SRC", Const, 1}, - {"RTAX_SRCMASK", Const, 1}, - {"RTAX_SSTHRESH", Const, 0}, - {"RTAX_TAG", Const, 1}, - {"RTAX_UNSPEC", Const, 0}, - {"RTAX_WINDOW", Const, 0}, - {"RTA_ALIGNTO", Const, 0}, - {"RTA_AUTHOR", Const, 0}, - {"RTA_BRD", Const, 0}, - {"RTA_CACHEINFO", Const, 0}, - {"RTA_DST", Const, 0}, - {"RTA_FLOW", Const, 0}, - {"RTA_GATEWAY", Const, 0}, - {"RTA_GENMASK", Const, 0}, - {"RTA_IFA", Const, 0}, - {"RTA_IFP", Const, 0}, - {"RTA_IIF", Const, 0}, - {"RTA_LABEL", Const, 1}, - {"RTA_MAX", Const, 0}, - {"RTA_METRICS", Const, 0}, - {"RTA_MULTIPATH", Const, 0}, - {"RTA_NETMASK", Const, 0}, - {"RTA_OIF", Const, 0}, - {"RTA_PREFSRC", Const, 0}, - {"RTA_PRIORITY", Const, 0}, - {"RTA_SRC", Const, 0}, - {"RTA_SRCMASK", Const, 1}, - {"RTA_TABLE", Const, 0}, - {"RTA_TAG", Const, 1}, - {"RTA_UNSPEC", Const, 0}, - {"RTCF_DIRECTSRC", Const, 0}, - {"RTCF_DOREDIRECT", Const, 0}, - {"RTCF_LOG", Const, 0}, - {"RTCF_MASQ", Const, 0}, - {"RTCF_NAT", Const, 0}, - {"RTCF_VALVE", Const, 0}, - {"RTF_ADDRCLASSMASK", Const, 0}, - {"RTF_ADDRCONF", Const, 0}, - {"RTF_ALLONLINK", Const, 0}, - {"RTF_ANNOUNCE", Const, 1}, - {"RTF_BLACKHOLE", Const, 0}, - {"RTF_BROADCAST", Const, 0}, - {"RTF_CACHE", Const, 0}, - {"RTF_CLONED", Const, 1}, - {"RTF_CLONING", Const, 0}, - {"RTF_CONDEMNED", Const, 0}, - {"RTF_DEFAULT", Const, 0}, - {"RTF_DELCLONE", Const, 0}, - {"RTF_DONE", Const, 0}, - {"RTF_DYNAMIC", Const, 0}, - {"RTF_FLOW", Const, 0}, - {"RTF_FMASK", Const, 0}, - {"RTF_GATEWAY", Const, 0}, - {"RTF_GWFLAG_COMPAT", Const, 3}, - {"RTF_HOST", Const, 0}, - {"RTF_IFREF", Const, 0}, - {"RTF_IFSCOPE", Const, 0}, - {"RTF_INTERFACE", Const, 0}, - {"RTF_IRTT", Const, 0}, - {"RTF_LINKRT", Const, 0}, - {"RTF_LLDATA", Const, 0}, - {"RTF_LLINFO", Const, 0}, - {"RTF_LOCAL", Const, 0}, - {"RTF_MASK", Const, 1}, - {"RTF_MODIFIED", Const, 0}, - {"RTF_MPATH", Const, 1}, - {"RTF_MPLS", Const, 1}, - {"RTF_MSS", Const, 0}, - {"RTF_MTU", Const, 0}, - {"RTF_MULTICAST", Const, 0}, - {"RTF_NAT", Const, 0}, - {"RTF_NOFORWARD", Const, 0}, - {"RTF_NONEXTHOP", Const, 0}, - {"RTF_NOPMTUDISC", Const, 0}, - {"RTF_PERMANENT_ARP", Const, 1}, - {"RTF_PINNED", Const, 0}, - {"RTF_POLICY", Const, 0}, - {"RTF_PRCLONING", Const, 0}, - {"RTF_PROTO1", Const, 0}, - {"RTF_PROTO2", Const, 0}, - {"RTF_PROTO3", Const, 0}, - {"RTF_PROXY", Const, 16}, - {"RTF_REINSTATE", Const, 0}, - {"RTF_REJECT", Const, 0}, - {"RTF_RNH_LOCKED", Const, 0}, - {"RTF_ROUTER", Const, 16}, - {"RTF_SOURCE", Const, 1}, - {"RTF_SRC", Const, 1}, - {"RTF_STATIC", Const, 0}, - {"RTF_STICKY", Const, 0}, - {"RTF_THROW", Const, 0}, - {"RTF_TUNNEL", Const, 1}, - {"RTF_UP", Const, 0}, - {"RTF_USETRAILERS", Const, 1}, - {"RTF_WASCLONED", Const, 0}, - {"RTF_WINDOW", Const, 0}, - {"RTF_XRESOLVE", Const, 0}, - {"RTM_ADD", Const, 0}, - {"RTM_BASE", Const, 0}, - {"RTM_CHANGE", Const, 0}, - {"RTM_CHGADDR", Const, 1}, - {"RTM_DELACTION", Const, 0}, - {"RTM_DELADDR", Const, 0}, - {"RTM_DELADDRLABEL", Const, 0}, - {"RTM_DELETE", Const, 0}, - {"RTM_DELLINK", Const, 0}, - {"RTM_DELMADDR", Const, 0}, - {"RTM_DELNEIGH", Const, 0}, - {"RTM_DELQDISC", Const, 0}, - {"RTM_DELROUTE", Const, 0}, - {"RTM_DELRULE", Const, 0}, - {"RTM_DELTCLASS", Const, 0}, - {"RTM_DELTFILTER", Const, 0}, - {"RTM_DESYNC", Const, 1}, - {"RTM_F_CLONED", Const, 0}, - {"RTM_F_EQUALIZE", Const, 0}, - {"RTM_F_NOTIFY", Const, 0}, - {"RTM_F_PREFIX", Const, 0}, - {"RTM_GET", Const, 0}, - {"RTM_GET2", Const, 0}, - {"RTM_GETACTION", Const, 0}, - {"RTM_GETADDR", Const, 0}, - {"RTM_GETADDRLABEL", Const, 0}, - {"RTM_GETANYCAST", Const, 0}, - {"RTM_GETDCB", Const, 0}, - {"RTM_GETLINK", Const, 0}, - {"RTM_GETMULTICAST", Const, 0}, - {"RTM_GETNEIGH", Const, 0}, - {"RTM_GETNEIGHTBL", Const, 0}, - {"RTM_GETQDISC", Const, 0}, - {"RTM_GETROUTE", Const, 0}, - {"RTM_GETRULE", Const, 0}, - {"RTM_GETTCLASS", Const, 0}, - {"RTM_GETTFILTER", Const, 0}, - {"RTM_IEEE80211", Const, 0}, - {"RTM_IFANNOUNCE", Const, 0}, - {"RTM_IFINFO", Const, 0}, - {"RTM_IFINFO2", Const, 0}, - {"RTM_LLINFO_UPD", Const, 1}, - {"RTM_LOCK", Const, 0}, - {"RTM_LOSING", Const, 0}, - {"RTM_MAX", Const, 0}, - {"RTM_MAXSIZE", Const, 1}, - {"RTM_MISS", Const, 0}, - {"RTM_NEWACTION", Const, 0}, - {"RTM_NEWADDR", Const, 0}, - {"RTM_NEWADDRLABEL", Const, 0}, - {"RTM_NEWLINK", Const, 0}, - {"RTM_NEWMADDR", Const, 0}, - {"RTM_NEWMADDR2", Const, 0}, - {"RTM_NEWNDUSEROPT", Const, 0}, - {"RTM_NEWNEIGH", Const, 0}, - {"RTM_NEWNEIGHTBL", Const, 0}, - {"RTM_NEWPREFIX", Const, 0}, - {"RTM_NEWQDISC", Const, 0}, - {"RTM_NEWROUTE", Const, 0}, - {"RTM_NEWRULE", Const, 0}, - {"RTM_NEWTCLASS", Const, 0}, - {"RTM_NEWTFILTER", Const, 0}, - {"RTM_NR_FAMILIES", Const, 0}, - {"RTM_NR_MSGTYPES", Const, 0}, - {"RTM_OIFINFO", Const, 1}, - {"RTM_OLDADD", Const, 0}, - {"RTM_OLDDEL", Const, 0}, - {"RTM_OOIFINFO", Const, 1}, - {"RTM_REDIRECT", Const, 0}, - {"RTM_RESOLVE", Const, 0}, - {"RTM_RTTUNIT", Const, 0}, - {"RTM_SETDCB", Const, 0}, - {"RTM_SETGATE", Const, 1}, - {"RTM_SETLINK", Const, 0}, - {"RTM_SETNEIGHTBL", Const, 0}, - {"RTM_VERSION", Const, 0}, - {"RTNH_ALIGNTO", Const, 0}, - {"RTNH_F_DEAD", Const, 0}, - {"RTNH_F_ONLINK", Const, 0}, - {"RTNH_F_PERVASIVE", Const, 0}, - {"RTNLGRP_IPV4_IFADDR", Const, 1}, - {"RTNLGRP_IPV4_MROUTE", Const, 1}, - {"RTNLGRP_IPV4_ROUTE", Const, 1}, - {"RTNLGRP_IPV4_RULE", Const, 1}, - {"RTNLGRP_IPV6_IFADDR", Const, 1}, - {"RTNLGRP_IPV6_IFINFO", Const, 1}, - {"RTNLGRP_IPV6_MROUTE", Const, 1}, - {"RTNLGRP_IPV6_PREFIX", Const, 1}, - {"RTNLGRP_IPV6_ROUTE", Const, 1}, - {"RTNLGRP_IPV6_RULE", Const, 1}, - {"RTNLGRP_LINK", Const, 1}, - {"RTNLGRP_ND_USEROPT", Const, 1}, - {"RTNLGRP_NEIGH", Const, 1}, - {"RTNLGRP_NONE", Const, 1}, - {"RTNLGRP_NOTIFY", Const, 1}, - {"RTNLGRP_TC", Const, 1}, - {"RTN_ANYCAST", Const, 0}, - {"RTN_BLACKHOLE", Const, 0}, - {"RTN_BROADCAST", Const, 0}, - {"RTN_LOCAL", Const, 0}, - {"RTN_MAX", Const, 0}, - {"RTN_MULTICAST", Const, 0}, - {"RTN_NAT", Const, 0}, - {"RTN_PROHIBIT", Const, 0}, - {"RTN_THROW", Const, 0}, - {"RTN_UNICAST", Const, 0}, - {"RTN_UNREACHABLE", Const, 0}, - {"RTN_UNSPEC", Const, 0}, - {"RTN_XRESOLVE", Const, 0}, - {"RTPROT_BIRD", Const, 0}, - {"RTPROT_BOOT", Const, 0}, - {"RTPROT_DHCP", Const, 0}, - {"RTPROT_DNROUTED", Const, 0}, - {"RTPROT_GATED", Const, 0}, - {"RTPROT_KERNEL", Const, 0}, - {"RTPROT_MRT", Const, 0}, - {"RTPROT_NTK", Const, 0}, - {"RTPROT_RA", Const, 0}, - {"RTPROT_REDIRECT", Const, 0}, - {"RTPROT_STATIC", Const, 0}, - {"RTPROT_UNSPEC", Const, 0}, - {"RTPROT_XORP", Const, 0}, - {"RTPROT_ZEBRA", Const, 0}, - {"RTV_EXPIRE", Const, 0}, - {"RTV_HOPCOUNT", Const, 0}, - {"RTV_MTU", Const, 0}, - {"RTV_RPIPE", Const, 0}, - {"RTV_RTT", Const, 0}, - {"RTV_RTTVAR", Const, 0}, - {"RTV_SPIPE", Const, 0}, - {"RTV_SSTHRESH", Const, 0}, - {"RTV_WEIGHT", Const, 0}, - {"RT_CACHING_CONTEXT", Const, 1}, - {"RT_CLASS_DEFAULT", Const, 0}, - {"RT_CLASS_LOCAL", Const, 0}, - {"RT_CLASS_MAIN", Const, 0}, - {"RT_CLASS_MAX", Const, 0}, - {"RT_CLASS_UNSPEC", Const, 0}, - {"RT_DEFAULT_FIB", Const, 1}, - {"RT_NORTREF", Const, 1}, - {"RT_SCOPE_HOST", Const, 0}, - {"RT_SCOPE_LINK", Const, 0}, - {"RT_SCOPE_NOWHERE", Const, 0}, - {"RT_SCOPE_SITE", Const, 0}, - {"RT_SCOPE_UNIVERSE", Const, 0}, - {"RT_TABLEID_MAX", Const, 1}, - {"RT_TABLE_COMPAT", Const, 0}, - {"RT_TABLE_DEFAULT", Const, 0}, - {"RT_TABLE_LOCAL", Const, 0}, - {"RT_TABLE_MAIN", Const, 0}, - {"RT_TABLE_MAX", Const, 0}, - {"RT_TABLE_UNSPEC", Const, 0}, - {"RUSAGE_CHILDREN", Const, 0}, - {"RUSAGE_SELF", Const, 0}, - {"RUSAGE_THREAD", Const, 0}, - {"Radvisory_t", Type, 0}, - {"Radvisory_t.Count", Field, 0}, - {"Radvisory_t.Offset", Field, 0}, - {"Radvisory_t.Pad_cgo_0", Field, 0}, - {"RawConn", Type, 9}, - {"RawSockaddr", Type, 0}, - {"RawSockaddr.Data", Field, 0}, - {"RawSockaddr.Family", Field, 0}, - {"RawSockaddr.Len", Field, 0}, - {"RawSockaddrAny", Type, 0}, - {"RawSockaddrAny.Addr", Field, 0}, - {"RawSockaddrAny.Pad", Field, 0}, - {"RawSockaddrDatalink", Type, 0}, - {"RawSockaddrDatalink.Alen", Field, 0}, - {"RawSockaddrDatalink.Data", Field, 0}, - {"RawSockaddrDatalink.Family", Field, 0}, - {"RawSockaddrDatalink.Index", Field, 0}, - {"RawSockaddrDatalink.Len", Field, 0}, - {"RawSockaddrDatalink.Nlen", Field, 0}, - {"RawSockaddrDatalink.Pad_cgo_0", Field, 2}, - {"RawSockaddrDatalink.Slen", Field, 0}, - {"RawSockaddrDatalink.Type", Field, 0}, - {"RawSockaddrInet4", Type, 0}, - {"RawSockaddrInet4.Addr", Field, 0}, - {"RawSockaddrInet4.Family", Field, 0}, - {"RawSockaddrInet4.Len", Field, 0}, - {"RawSockaddrInet4.Port", Field, 0}, - {"RawSockaddrInet4.Zero", Field, 0}, - {"RawSockaddrInet6", Type, 0}, - {"RawSockaddrInet6.Addr", Field, 0}, - {"RawSockaddrInet6.Family", Field, 0}, - {"RawSockaddrInet6.Flowinfo", Field, 0}, - {"RawSockaddrInet6.Len", Field, 0}, - {"RawSockaddrInet6.Port", Field, 0}, - {"RawSockaddrInet6.Scope_id", Field, 0}, - {"RawSockaddrLinklayer", Type, 0}, - {"RawSockaddrLinklayer.Addr", Field, 0}, - {"RawSockaddrLinklayer.Family", Field, 0}, - {"RawSockaddrLinklayer.Halen", Field, 0}, - {"RawSockaddrLinklayer.Hatype", Field, 0}, - {"RawSockaddrLinklayer.Ifindex", Field, 0}, - {"RawSockaddrLinklayer.Pkttype", Field, 0}, - {"RawSockaddrLinklayer.Protocol", Field, 0}, - {"RawSockaddrNetlink", Type, 0}, - {"RawSockaddrNetlink.Family", Field, 0}, - {"RawSockaddrNetlink.Groups", Field, 0}, - {"RawSockaddrNetlink.Pad", Field, 0}, - {"RawSockaddrNetlink.Pid", Field, 0}, - {"RawSockaddrUnix", Type, 0}, - {"RawSockaddrUnix.Family", Field, 0}, - {"RawSockaddrUnix.Len", Field, 0}, - {"RawSockaddrUnix.Pad_cgo_0", Field, 2}, - {"RawSockaddrUnix.Path", Field, 0}, - {"RawSyscall", Func, 0}, - {"RawSyscall6", Func, 0}, - {"Read", Func, 0}, - {"ReadConsole", Func, 1}, - {"ReadDirectoryChanges", Func, 0}, - {"ReadDirent", Func, 0}, - {"ReadFile", Func, 0}, - {"Readlink", Func, 0}, - {"Reboot", Func, 0}, - {"Recvfrom", Func, 0}, - {"Recvmsg", Func, 0}, - {"RegCloseKey", Func, 0}, - {"RegEnumKeyEx", Func, 0}, - {"RegOpenKeyEx", Func, 0}, - {"RegQueryInfoKey", Func, 0}, - {"RegQueryValueEx", Func, 0}, - {"RemoveDirectory", Func, 0}, - {"Removexattr", Func, 1}, - {"Rename", Func, 0}, - {"Renameat", Func, 0}, - {"Revoke", Func, 0}, - {"Rlimit", Type, 0}, - {"Rlimit.Cur", Field, 0}, - {"Rlimit.Max", Field, 0}, - {"Rmdir", Func, 0}, - {"RouteMessage", Type, 0}, - {"RouteMessage.Data", Field, 0}, - {"RouteMessage.Header", Field, 0}, - {"RouteRIB", Func, 0}, - {"RoutingMessage", Type, 0}, - {"RtAttr", Type, 0}, - {"RtAttr.Len", Field, 0}, - {"RtAttr.Type", Field, 0}, - {"RtGenmsg", Type, 0}, - {"RtGenmsg.Family", Field, 0}, - {"RtMetrics", Type, 0}, - {"RtMetrics.Expire", Field, 0}, - {"RtMetrics.Filler", Field, 0}, - {"RtMetrics.Hopcount", Field, 0}, - {"RtMetrics.Locks", Field, 0}, - {"RtMetrics.Mtu", Field, 0}, - {"RtMetrics.Pad", Field, 3}, - {"RtMetrics.Pksent", Field, 0}, - {"RtMetrics.Recvpipe", Field, 0}, - {"RtMetrics.Refcnt", Field, 2}, - {"RtMetrics.Rtt", Field, 0}, - {"RtMetrics.Rttvar", Field, 0}, - {"RtMetrics.Sendpipe", Field, 0}, - {"RtMetrics.Ssthresh", Field, 0}, - {"RtMetrics.Weight", Field, 0}, - {"RtMsg", Type, 0}, - {"RtMsg.Dst_len", Field, 0}, - {"RtMsg.Family", Field, 0}, - {"RtMsg.Flags", Field, 0}, - {"RtMsg.Protocol", Field, 0}, - {"RtMsg.Scope", Field, 0}, - {"RtMsg.Src_len", Field, 0}, - {"RtMsg.Table", Field, 0}, - {"RtMsg.Tos", Field, 0}, - {"RtMsg.Type", Field, 0}, - {"RtMsghdr", Type, 0}, - {"RtMsghdr.Addrs", Field, 0}, - {"RtMsghdr.Errno", Field, 0}, - {"RtMsghdr.Flags", Field, 0}, - {"RtMsghdr.Fmask", Field, 0}, - {"RtMsghdr.Hdrlen", Field, 2}, - {"RtMsghdr.Index", Field, 0}, - {"RtMsghdr.Inits", Field, 0}, - {"RtMsghdr.Mpls", Field, 2}, - {"RtMsghdr.Msglen", Field, 0}, - {"RtMsghdr.Pad_cgo_0", Field, 0}, - {"RtMsghdr.Pad_cgo_1", Field, 2}, - {"RtMsghdr.Pid", Field, 0}, - {"RtMsghdr.Priority", Field, 2}, - {"RtMsghdr.Rmx", Field, 0}, - {"RtMsghdr.Seq", Field, 0}, - {"RtMsghdr.Tableid", Field, 2}, - {"RtMsghdr.Type", Field, 0}, - {"RtMsghdr.Use", Field, 0}, - {"RtMsghdr.Version", Field, 0}, - {"RtNexthop", Type, 0}, - {"RtNexthop.Flags", Field, 0}, - {"RtNexthop.Hops", Field, 0}, - {"RtNexthop.Ifindex", Field, 0}, - {"RtNexthop.Len", Field, 0}, - {"Rusage", Type, 0}, - {"Rusage.CreationTime", Field, 0}, - {"Rusage.ExitTime", Field, 0}, - {"Rusage.Idrss", Field, 0}, - {"Rusage.Inblock", Field, 0}, - {"Rusage.Isrss", Field, 0}, - {"Rusage.Ixrss", Field, 0}, - {"Rusage.KernelTime", Field, 0}, - {"Rusage.Majflt", Field, 0}, - {"Rusage.Maxrss", Field, 0}, - {"Rusage.Minflt", Field, 0}, - {"Rusage.Msgrcv", Field, 0}, - {"Rusage.Msgsnd", Field, 0}, - {"Rusage.Nivcsw", Field, 0}, - {"Rusage.Nsignals", Field, 0}, - {"Rusage.Nswap", Field, 0}, - {"Rusage.Nvcsw", Field, 0}, - {"Rusage.Oublock", Field, 0}, - {"Rusage.Stime", Field, 0}, - {"Rusage.UserTime", Field, 0}, - {"Rusage.Utime", Field, 0}, - {"SCM_BINTIME", Const, 0}, - {"SCM_CREDENTIALS", Const, 0}, - {"SCM_CREDS", Const, 0}, - {"SCM_RIGHTS", Const, 0}, - {"SCM_TIMESTAMP", Const, 0}, - {"SCM_TIMESTAMPING", Const, 0}, - {"SCM_TIMESTAMPNS", Const, 0}, - {"SCM_TIMESTAMP_MONOTONIC", Const, 0}, - {"SHUT_RD", Const, 0}, - {"SHUT_RDWR", Const, 0}, - {"SHUT_WR", Const, 0}, - {"SID", Type, 0}, - {"SIDAndAttributes", Type, 0}, - {"SIDAndAttributes.Attributes", Field, 0}, - {"SIDAndAttributes.Sid", Field, 0}, - {"SIGABRT", Const, 0}, - {"SIGALRM", Const, 0}, - {"SIGBUS", Const, 0}, - {"SIGCHLD", Const, 0}, - {"SIGCLD", Const, 0}, - {"SIGCONT", Const, 0}, - {"SIGEMT", Const, 0}, - {"SIGFPE", Const, 0}, - {"SIGHUP", Const, 0}, - {"SIGILL", Const, 0}, - {"SIGINFO", Const, 0}, - {"SIGINT", Const, 0}, - {"SIGIO", Const, 0}, - {"SIGIOT", Const, 0}, - {"SIGKILL", Const, 0}, - {"SIGLIBRT", Const, 1}, - {"SIGLWP", Const, 0}, - {"SIGPIPE", Const, 0}, - {"SIGPOLL", Const, 0}, - {"SIGPROF", Const, 0}, - {"SIGPWR", Const, 0}, - {"SIGQUIT", Const, 0}, - {"SIGSEGV", Const, 0}, - {"SIGSTKFLT", Const, 0}, - {"SIGSTOP", Const, 0}, - {"SIGSYS", Const, 0}, - {"SIGTERM", Const, 0}, - {"SIGTHR", Const, 0}, - {"SIGTRAP", Const, 0}, - {"SIGTSTP", Const, 0}, - {"SIGTTIN", Const, 0}, - {"SIGTTOU", Const, 0}, - {"SIGUNUSED", Const, 0}, - {"SIGURG", Const, 0}, - {"SIGUSR1", Const, 0}, - {"SIGUSR2", Const, 0}, - {"SIGVTALRM", Const, 0}, - {"SIGWINCH", Const, 0}, - {"SIGXCPU", Const, 0}, - {"SIGXFSZ", Const, 0}, - {"SIOCADDDLCI", Const, 0}, - {"SIOCADDMULTI", Const, 0}, - {"SIOCADDRT", Const, 0}, - {"SIOCAIFADDR", Const, 0}, - {"SIOCAIFGROUP", Const, 0}, - {"SIOCALIFADDR", Const, 0}, - {"SIOCARPIPLL", Const, 0}, - {"SIOCATMARK", Const, 0}, - {"SIOCAUTOADDR", Const, 0}, - {"SIOCAUTONETMASK", Const, 0}, - {"SIOCBRDGADD", Const, 1}, - {"SIOCBRDGADDS", Const, 1}, - {"SIOCBRDGARL", Const, 1}, - {"SIOCBRDGDADDR", Const, 1}, - {"SIOCBRDGDEL", Const, 1}, - {"SIOCBRDGDELS", Const, 1}, - {"SIOCBRDGFLUSH", Const, 1}, - {"SIOCBRDGFRL", Const, 1}, - {"SIOCBRDGGCACHE", Const, 1}, - {"SIOCBRDGGFD", Const, 1}, - {"SIOCBRDGGHT", Const, 1}, - {"SIOCBRDGGIFFLGS", Const, 1}, - {"SIOCBRDGGMA", Const, 1}, - {"SIOCBRDGGPARAM", Const, 1}, - {"SIOCBRDGGPRI", Const, 1}, - {"SIOCBRDGGRL", Const, 1}, - {"SIOCBRDGGSIFS", Const, 1}, - {"SIOCBRDGGTO", Const, 1}, - {"SIOCBRDGIFS", Const, 1}, - {"SIOCBRDGRTS", Const, 1}, - {"SIOCBRDGSADDR", Const, 1}, - {"SIOCBRDGSCACHE", Const, 1}, - {"SIOCBRDGSFD", Const, 1}, - {"SIOCBRDGSHT", Const, 1}, - {"SIOCBRDGSIFCOST", Const, 1}, - {"SIOCBRDGSIFFLGS", Const, 1}, - {"SIOCBRDGSIFPRIO", Const, 1}, - {"SIOCBRDGSMA", Const, 1}, - {"SIOCBRDGSPRI", Const, 1}, - {"SIOCBRDGSPROTO", Const, 1}, - {"SIOCBRDGSTO", Const, 1}, - {"SIOCBRDGSTXHC", Const, 1}, - {"SIOCDARP", Const, 0}, - {"SIOCDELDLCI", Const, 0}, - {"SIOCDELMULTI", Const, 0}, - {"SIOCDELRT", Const, 0}, - {"SIOCDEVPRIVATE", Const, 0}, - {"SIOCDIFADDR", Const, 0}, - {"SIOCDIFGROUP", Const, 0}, - {"SIOCDIFPHYADDR", Const, 0}, - {"SIOCDLIFADDR", Const, 0}, - {"SIOCDRARP", Const, 0}, - {"SIOCGARP", Const, 0}, - {"SIOCGDRVSPEC", Const, 0}, - {"SIOCGETKALIVE", Const, 1}, - {"SIOCGETLABEL", Const, 1}, - {"SIOCGETPFLOW", Const, 1}, - {"SIOCGETPFSYNC", Const, 1}, - {"SIOCGETSGCNT", Const, 0}, - {"SIOCGETVIFCNT", Const, 0}, - {"SIOCGETVLAN", Const, 0}, - {"SIOCGHIWAT", Const, 0}, - {"SIOCGIFADDR", Const, 0}, - {"SIOCGIFADDRPREF", Const, 1}, - {"SIOCGIFALIAS", Const, 1}, - {"SIOCGIFALTMTU", Const, 0}, - {"SIOCGIFASYNCMAP", Const, 0}, - {"SIOCGIFBOND", Const, 0}, - {"SIOCGIFBR", Const, 0}, - {"SIOCGIFBRDADDR", Const, 0}, - {"SIOCGIFCAP", Const, 0}, - {"SIOCGIFCONF", Const, 0}, - {"SIOCGIFCOUNT", Const, 0}, - {"SIOCGIFDATA", Const, 1}, - {"SIOCGIFDESCR", Const, 0}, - {"SIOCGIFDEVMTU", Const, 0}, - {"SIOCGIFDLT", Const, 1}, - {"SIOCGIFDSTADDR", Const, 0}, - {"SIOCGIFENCAP", Const, 0}, - {"SIOCGIFFIB", Const, 1}, - {"SIOCGIFFLAGS", Const, 0}, - {"SIOCGIFGATTR", Const, 1}, - {"SIOCGIFGENERIC", Const, 0}, - {"SIOCGIFGMEMB", Const, 0}, - {"SIOCGIFGROUP", Const, 0}, - {"SIOCGIFHARDMTU", Const, 3}, - {"SIOCGIFHWADDR", Const, 0}, - {"SIOCGIFINDEX", Const, 0}, - {"SIOCGIFKPI", Const, 0}, - {"SIOCGIFMAC", Const, 0}, - {"SIOCGIFMAP", Const, 0}, - {"SIOCGIFMEDIA", Const, 0}, - {"SIOCGIFMEM", Const, 0}, - {"SIOCGIFMETRIC", Const, 0}, - {"SIOCGIFMTU", Const, 0}, - {"SIOCGIFNAME", Const, 0}, - {"SIOCGIFNETMASK", Const, 0}, - {"SIOCGIFPDSTADDR", Const, 0}, - {"SIOCGIFPFLAGS", Const, 0}, - {"SIOCGIFPHYS", Const, 0}, - {"SIOCGIFPRIORITY", Const, 1}, - {"SIOCGIFPSRCADDR", Const, 0}, - {"SIOCGIFRDOMAIN", Const, 1}, - {"SIOCGIFRTLABEL", Const, 1}, - {"SIOCGIFSLAVE", Const, 0}, - {"SIOCGIFSTATUS", Const, 0}, - {"SIOCGIFTIMESLOT", Const, 1}, - {"SIOCGIFTXQLEN", Const, 0}, - {"SIOCGIFVLAN", Const, 0}, - {"SIOCGIFWAKEFLAGS", Const, 0}, - {"SIOCGIFXFLAGS", Const, 1}, - {"SIOCGLIFADDR", Const, 0}, - {"SIOCGLIFPHYADDR", Const, 0}, - {"SIOCGLIFPHYRTABLE", Const, 1}, - {"SIOCGLIFPHYTTL", Const, 3}, - {"SIOCGLINKSTR", Const, 1}, - {"SIOCGLOWAT", Const, 0}, - {"SIOCGPGRP", Const, 0}, - {"SIOCGPRIVATE_0", Const, 0}, - {"SIOCGPRIVATE_1", Const, 0}, - {"SIOCGRARP", Const, 0}, - {"SIOCGSPPPPARAMS", Const, 3}, - {"SIOCGSTAMP", Const, 0}, - {"SIOCGSTAMPNS", Const, 0}, - {"SIOCGVH", Const, 1}, - {"SIOCGVNETID", Const, 3}, - {"SIOCIFCREATE", Const, 0}, - {"SIOCIFCREATE2", Const, 0}, - {"SIOCIFDESTROY", Const, 0}, - {"SIOCIFGCLONERS", Const, 0}, - {"SIOCINITIFADDR", Const, 1}, - {"SIOCPROTOPRIVATE", Const, 0}, - {"SIOCRSLVMULTI", Const, 0}, - {"SIOCRTMSG", Const, 0}, - {"SIOCSARP", Const, 0}, - {"SIOCSDRVSPEC", Const, 0}, - {"SIOCSETKALIVE", Const, 1}, - {"SIOCSETLABEL", Const, 1}, - {"SIOCSETPFLOW", Const, 1}, - {"SIOCSETPFSYNC", Const, 1}, - {"SIOCSETVLAN", Const, 0}, - {"SIOCSHIWAT", Const, 0}, - {"SIOCSIFADDR", Const, 0}, - {"SIOCSIFADDRPREF", Const, 1}, - {"SIOCSIFALTMTU", Const, 0}, - {"SIOCSIFASYNCMAP", Const, 0}, - {"SIOCSIFBOND", Const, 0}, - {"SIOCSIFBR", Const, 0}, - {"SIOCSIFBRDADDR", Const, 0}, - {"SIOCSIFCAP", Const, 0}, - {"SIOCSIFDESCR", Const, 0}, - {"SIOCSIFDSTADDR", Const, 0}, - {"SIOCSIFENCAP", Const, 0}, - {"SIOCSIFFIB", Const, 1}, - {"SIOCSIFFLAGS", Const, 0}, - {"SIOCSIFGATTR", Const, 1}, - {"SIOCSIFGENERIC", Const, 0}, - {"SIOCSIFHWADDR", Const, 0}, - {"SIOCSIFHWBROADCAST", Const, 0}, - {"SIOCSIFKPI", Const, 0}, - {"SIOCSIFLINK", Const, 0}, - {"SIOCSIFLLADDR", Const, 0}, - {"SIOCSIFMAC", Const, 0}, - {"SIOCSIFMAP", Const, 0}, - {"SIOCSIFMEDIA", Const, 0}, - {"SIOCSIFMEM", Const, 0}, - {"SIOCSIFMETRIC", Const, 0}, - {"SIOCSIFMTU", Const, 0}, - {"SIOCSIFNAME", Const, 0}, - {"SIOCSIFNETMASK", Const, 0}, - {"SIOCSIFPFLAGS", Const, 0}, - {"SIOCSIFPHYADDR", Const, 0}, - {"SIOCSIFPHYS", Const, 0}, - {"SIOCSIFPRIORITY", Const, 1}, - {"SIOCSIFRDOMAIN", Const, 1}, - {"SIOCSIFRTLABEL", Const, 1}, - {"SIOCSIFRVNET", Const, 0}, - {"SIOCSIFSLAVE", Const, 0}, - {"SIOCSIFTIMESLOT", Const, 1}, - {"SIOCSIFTXQLEN", Const, 0}, - {"SIOCSIFVLAN", Const, 0}, - {"SIOCSIFVNET", Const, 0}, - {"SIOCSIFXFLAGS", Const, 1}, - {"SIOCSLIFPHYADDR", Const, 0}, - {"SIOCSLIFPHYRTABLE", Const, 1}, - {"SIOCSLIFPHYTTL", Const, 3}, - {"SIOCSLINKSTR", Const, 1}, - {"SIOCSLOWAT", Const, 0}, - {"SIOCSPGRP", Const, 0}, - {"SIOCSRARP", Const, 0}, - {"SIOCSSPPPPARAMS", Const, 3}, - {"SIOCSVH", Const, 1}, - {"SIOCSVNETID", Const, 3}, - {"SIOCZIFDATA", Const, 1}, - {"SIO_GET_EXTENSION_FUNCTION_POINTER", Const, 1}, - {"SIO_GET_INTERFACE_LIST", Const, 0}, - {"SIO_KEEPALIVE_VALS", Const, 3}, - {"SIO_UDP_CONNRESET", Const, 4}, - {"SOCK_CLOEXEC", Const, 0}, - {"SOCK_DCCP", Const, 0}, - {"SOCK_DGRAM", Const, 0}, - {"SOCK_FLAGS_MASK", Const, 1}, - {"SOCK_MAXADDRLEN", Const, 0}, - {"SOCK_NONBLOCK", Const, 0}, - {"SOCK_NOSIGPIPE", Const, 1}, - {"SOCK_PACKET", Const, 0}, - {"SOCK_RAW", Const, 0}, - {"SOCK_RDM", Const, 0}, - {"SOCK_SEQPACKET", Const, 0}, - {"SOCK_STREAM", Const, 0}, - {"SOL_AAL", Const, 0}, - {"SOL_ATM", Const, 0}, - {"SOL_DECNET", Const, 0}, - {"SOL_ICMPV6", Const, 0}, - {"SOL_IP", Const, 0}, - {"SOL_IPV6", Const, 0}, - {"SOL_IRDA", Const, 0}, - {"SOL_PACKET", Const, 0}, - {"SOL_RAW", Const, 0}, - {"SOL_SOCKET", Const, 0}, - {"SOL_TCP", Const, 0}, - {"SOL_X25", Const, 0}, - {"SOMAXCONN", Const, 0}, - {"SO_ACCEPTCONN", Const, 0}, - {"SO_ACCEPTFILTER", Const, 0}, - {"SO_ATTACH_FILTER", Const, 0}, - {"SO_BINDANY", Const, 1}, - {"SO_BINDTODEVICE", Const, 0}, - {"SO_BINTIME", Const, 0}, - {"SO_BROADCAST", Const, 0}, - {"SO_BSDCOMPAT", Const, 0}, - {"SO_DEBUG", Const, 0}, - {"SO_DETACH_FILTER", Const, 0}, - {"SO_DOMAIN", Const, 0}, - {"SO_DONTROUTE", Const, 0}, - {"SO_DONTTRUNC", Const, 0}, - {"SO_ERROR", Const, 0}, - {"SO_KEEPALIVE", Const, 0}, - {"SO_LABEL", Const, 0}, - {"SO_LINGER", Const, 0}, - {"SO_LINGER_SEC", Const, 0}, - {"SO_LISTENINCQLEN", Const, 0}, - {"SO_LISTENQLEN", Const, 0}, - {"SO_LISTENQLIMIT", Const, 0}, - {"SO_MARK", Const, 0}, - {"SO_NETPROC", Const, 1}, - {"SO_NKE", Const, 0}, - {"SO_NOADDRERR", Const, 0}, - {"SO_NOHEADER", Const, 1}, - {"SO_NOSIGPIPE", Const, 0}, - {"SO_NOTIFYCONFLICT", Const, 0}, - {"SO_NO_CHECK", Const, 0}, - {"SO_NO_DDP", Const, 0}, - {"SO_NO_OFFLOAD", Const, 0}, - {"SO_NP_EXTENSIONS", Const, 0}, - {"SO_NREAD", Const, 0}, - {"SO_NUMRCVPKT", Const, 16}, - {"SO_NWRITE", Const, 0}, - {"SO_OOBINLINE", Const, 0}, - {"SO_OVERFLOWED", Const, 1}, - {"SO_PASSCRED", Const, 0}, - {"SO_PASSSEC", Const, 0}, - {"SO_PEERCRED", Const, 0}, - {"SO_PEERLABEL", Const, 0}, - {"SO_PEERNAME", Const, 0}, - {"SO_PEERSEC", Const, 0}, - {"SO_PRIORITY", Const, 0}, - {"SO_PROTOCOL", Const, 0}, - {"SO_PROTOTYPE", Const, 1}, - {"SO_RANDOMPORT", Const, 0}, - {"SO_RCVBUF", Const, 0}, - {"SO_RCVBUFFORCE", Const, 0}, - {"SO_RCVLOWAT", Const, 0}, - {"SO_RCVTIMEO", Const, 0}, - {"SO_RESTRICTIONS", Const, 0}, - {"SO_RESTRICT_DENYIN", Const, 0}, - {"SO_RESTRICT_DENYOUT", Const, 0}, - {"SO_RESTRICT_DENYSET", Const, 0}, - {"SO_REUSEADDR", Const, 0}, - {"SO_REUSEPORT", Const, 0}, - {"SO_REUSESHAREUID", Const, 0}, - {"SO_RTABLE", Const, 1}, - {"SO_RXQ_OVFL", Const, 0}, - {"SO_SECURITY_AUTHENTICATION", Const, 0}, - {"SO_SECURITY_ENCRYPTION_NETWORK", Const, 0}, - {"SO_SECURITY_ENCRYPTION_TRANSPORT", Const, 0}, - {"SO_SETFIB", Const, 0}, - {"SO_SNDBUF", Const, 0}, - {"SO_SNDBUFFORCE", Const, 0}, - {"SO_SNDLOWAT", Const, 0}, - {"SO_SNDTIMEO", Const, 0}, - {"SO_SPLICE", Const, 1}, - {"SO_TIMESTAMP", Const, 0}, - {"SO_TIMESTAMPING", Const, 0}, - {"SO_TIMESTAMPNS", Const, 0}, - {"SO_TIMESTAMP_MONOTONIC", Const, 0}, - {"SO_TYPE", Const, 0}, - {"SO_UPCALLCLOSEWAIT", Const, 0}, - {"SO_UPDATE_ACCEPT_CONTEXT", Const, 0}, - {"SO_UPDATE_CONNECT_CONTEXT", Const, 1}, - {"SO_USELOOPBACK", Const, 0}, - {"SO_USER_COOKIE", Const, 1}, - {"SO_VENDOR", Const, 3}, - {"SO_WANTMORE", Const, 0}, - {"SO_WANTOOBFLAG", Const, 0}, - {"SSLExtraCertChainPolicyPara", Type, 0}, - {"SSLExtraCertChainPolicyPara.AuthType", Field, 0}, - {"SSLExtraCertChainPolicyPara.Checks", Field, 0}, - {"SSLExtraCertChainPolicyPara.ServerName", Field, 0}, - {"SSLExtraCertChainPolicyPara.Size", Field, 0}, - {"STANDARD_RIGHTS_ALL", Const, 0}, - {"STANDARD_RIGHTS_EXECUTE", Const, 0}, - {"STANDARD_RIGHTS_READ", Const, 0}, - {"STANDARD_RIGHTS_REQUIRED", Const, 0}, - {"STANDARD_RIGHTS_WRITE", Const, 0}, - {"STARTF_USESHOWWINDOW", Const, 0}, - {"STARTF_USESTDHANDLES", Const, 0}, - {"STD_ERROR_HANDLE", Const, 0}, - {"STD_INPUT_HANDLE", Const, 0}, - {"STD_OUTPUT_HANDLE", Const, 0}, - {"SUBLANG_ENGLISH_US", Const, 0}, - {"SW_FORCEMINIMIZE", Const, 0}, - {"SW_HIDE", Const, 0}, - {"SW_MAXIMIZE", Const, 0}, - {"SW_MINIMIZE", Const, 0}, - {"SW_NORMAL", Const, 0}, - {"SW_RESTORE", Const, 0}, - {"SW_SHOW", Const, 0}, - {"SW_SHOWDEFAULT", Const, 0}, - {"SW_SHOWMAXIMIZED", Const, 0}, - {"SW_SHOWMINIMIZED", Const, 0}, - {"SW_SHOWMINNOACTIVE", Const, 0}, - {"SW_SHOWNA", Const, 0}, - {"SW_SHOWNOACTIVATE", Const, 0}, - {"SW_SHOWNORMAL", Const, 0}, - {"SYMBOLIC_LINK_FLAG_DIRECTORY", Const, 4}, - {"SYNCHRONIZE", Const, 0}, - {"SYSCTL_VERSION", Const, 1}, - {"SYSCTL_VERS_0", Const, 1}, - {"SYSCTL_VERS_1", Const, 1}, - {"SYSCTL_VERS_MASK", Const, 1}, - {"SYS_ABORT2", Const, 0}, - {"SYS_ACCEPT", Const, 0}, - {"SYS_ACCEPT4", Const, 0}, - {"SYS_ACCEPT_NOCANCEL", Const, 0}, - {"SYS_ACCESS", Const, 0}, - {"SYS_ACCESS_EXTENDED", Const, 0}, - {"SYS_ACCT", Const, 0}, - {"SYS_ADD_KEY", Const, 0}, - {"SYS_ADD_PROFIL", Const, 0}, - {"SYS_ADJFREQ", Const, 1}, - {"SYS_ADJTIME", Const, 0}, - {"SYS_ADJTIMEX", Const, 0}, - {"SYS_AFS_SYSCALL", Const, 0}, - {"SYS_AIO_CANCEL", Const, 0}, - {"SYS_AIO_ERROR", Const, 0}, - {"SYS_AIO_FSYNC", Const, 0}, - {"SYS_AIO_MLOCK", Const, 14}, - {"SYS_AIO_READ", Const, 0}, - {"SYS_AIO_RETURN", Const, 0}, - {"SYS_AIO_SUSPEND", Const, 0}, - {"SYS_AIO_SUSPEND_NOCANCEL", Const, 0}, - {"SYS_AIO_WAITCOMPLETE", Const, 14}, - {"SYS_AIO_WRITE", Const, 0}, - {"SYS_ALARM", Const, 0}, - {"SYS_ARCH_PRCTL", Const, 0}, - {"SYS_ARM_FADVISE64_64", Const, 0}, - {"SYS_ARM_SYNC_FILE_RANGE", Const, 0}, - {"SYS_ATGETMSG", Const, 0}, - {"SYS_ATPGETREQ", Const, 0}, - {"SYS_ATPGETRSP", Const, 0}, - {"SYS_ATPSNDREQ", Const, 0}, - {"SYS_ATPSNDRSP", Const, 0}, - {"SYS_ATPUTMSG", Const, 0}, - {"SYS_ATSOCKET", Const, 0}, - {"SYS_AUDIT", Const, 0}, - {"SYS_AUDITCTL", Const, 0}, - {"SYS_AUDITON", Const, 0}, - {"SYS_AUDIT_SESSION_JOIN", Const, 0}, - {"SYS_AUDIT_SESSION_PORT", Const, 0}, - {"SYS_AUDIT_SESSION_SELF", Const, 0}, - {"SYS_BDFLUSH", Const, 0}, - {"SYS_BIND", Const, 0}, - {"SYS_BINDAT", Const, 3}, - {"SYS_BREAK", Const, 0}, - {"SYS_BRK", Const, 0}, - {"SYS_BSDTHREAD_CREATE", Const, 0}, - {"SYS_BSDTHREAD_REGISTER", Const, 0}, - {"SYS_BSDTHREAD_TERMINATE", Const, 0}, - {"SYS_CAPGET", Const, 0}, - {"SYS_CAPSET", Const, 0}, - {"SYS_CAP_ENTER", Const, 0}, - {"SYS_CAP_FCNTLS_GET", Const, 1}, - {"SYS_CAP_FCNTLS_LIMIT", Const, 1}, - {"SYS_CAP_GETMODE", Const, 0}, - {"SYS_CAP_GETRIGHTS", Const, 0}, - {"SYS_CAP_IOCTLS_GET", Const, 1}, - {"SYS_CAP_IOCTLS_LIMIT", Const, 1}, - {"SYS_CAP_NEW", Const, 0}, - {"SYS_CAP_RIGHTS_GET", Const, 1}, - {"SYS_CAP_RIGHTS_LIMIT", Const, 1}, - {"SYS_CHDIR", Const, 0}, - {"SYS_CHFLAGS", Const, 0}, - {"SYS_CHFLAGSAT", Const, 3}, - {"SYS_CHMOD", Const, 0}, - {"SYS_CHMOD_EXTENDED", Const, 0}, - {"SYS_CHOWN", Const, 0}, - {"SYS_CHOWN32", Const, 0}, - {"SYS_CHROOT", Const, 0}, - {"SYS_CHUD", Const, 0}, - {"SYS_CLOCK_ADJTIME", Const, 0}, - {"SYS_CLOCK_GETCPUCLOCKID2", Const, 1}, - {"SYS_CLOCK_GETRES", Const, 0}, - {"SYS_CLOCK_GETTIME", Const, 0}, - {"SYS_CLOCK_NANOSLEEP", Const, 0}, - {"SYS_CLOCK_SETTIME", Const, 0}, - {"SYS_CLONE", Const, 0}, - {"SYS_CLOSE", Const, 0}, - {"SYS_CLOSEFROM", Const, 0}, - {"SYS_CLOSE_NOCANCEL", Const, 0}, - {"SYS_CONNECT", Const, 0}, - {"SYS_CONNECTAT", Const, 3}, - {"SYS_CONNECT_NOCANCEL", Const, 0}, - {"SYS_COPYFILE", Const, 0}, - {"SYS_CPUSET", Const, 0}, - {"SYS_CPUSET_GETAFFINITY", Const, 0}, - {"SYS_CPUSET_GETID", Const, 0}, - {"SYS_CPUSET_SETAFFINITY", Const, 0}, - {"SYS_CPUSET_SETID", Const, 0}, - {"SYS_CREAT", Const, 0}, - {"SYS_CREATE_MODULE", Const, 0}, - {"SYS_CSOPS", Const, 0}, - {"SYS_CSOPS_AUDITTOKEN", Const, 16}, - {"SYS_DELETE", Const, 0}, - {"SYS_DELETE_MODULE", Const, 0}, - {"SYS_DUP", Const, 0}, - {"SYS_DUP2", Const, 0}, - {"SYS_DUP3", Const, 0}, - {"SYS_EACCESS", Const, 0}, - {"SYS_EPOLL_CREATE", Const, 0}, - {"SYS_EPOLL_CREATE1", Const, 0}, - {"SYS_EPOLL_CTL", Const, 0}, - {"SYS_EPOLL_CTL_OLD", Const, 0}, - {"SYS_EPOLL_PWAIT", Const, 0}, - {"SYS_EPOLL_WAIT", Const, 0}, - {"SYS_EPOLL_WAIT_OLD", Const, 0}, - {"SYS_EVENTFD", Const, 0}, - {"SYS_EVENTFD2", Const, 0}, - {"SYS_EXCHANGEDATA", Const, 0}, - {"SYS_EXECVE", Const, 0}, - {"SYS_EXIT", Const, 0}, - {"SYS_EXIT_GROUP", Const, 0}, - {"SYS_EXTATTRCTL", Const, 0}, - {"SYS_EXTATTR_DELETE_FD", Const, 0}, - {"SYS_EXTATTR_DELETE_FILE", Const, 0}, - {"SYS_EXTATTR_DELETE_LINK", Const, 0}, - {"SYS_EXTATTR_GET_FD", Const, 0}, - {"SYS_EXTATTR_GET_FILE", Const, 0}, - {"SYS_EXTATTR_GET_LINK", Const, 0}, - {"SYS_EXTATTR_LIST_FD", Const, 0}, - {"SYS_EXTATTR_LIST_FILE", Const, 0}, - {"SYS_EXTATTR_LIST_LINK", Const, 0}, - {"SYS_EXTATTR_SET_FD", Const, 0}, - {"SYS_EXTATTR_SET_FILE", Const, 0}, - {"SYS_EXTATTR_SET_LINK", Const, 0}, - {"SYS_FACCESSAT", Const, 0}, - {"SYS_FADVISE64", Const, 0}, - {"SYS_FADVISE64_64", Const, 0}, - {"SYS_FALLOCATE", Const, 0}, - {"SYS_FANOTIFY_INIT", Const, 0}, - {"SYS_FANOTIFY_MARK", Const, 0}, - {"SYS_FCHDIR", Const, 0}, - {"SYS_FCHFLAGS", Const, 0}, - {"SYS_FCHMOD", Const, 0}, - {"SYS_FCHMODAT", Const, 0}, - {"SYS_FCHMOD_EXTENDED", Const, 0}, - {"SYS_FCHOWN", Const, 0}, - {"SYS_FCHOWN32", Const, 0}, - {"SYS_FCHOWNAT", Const, 0}, - {"SYS_FCHROOT", Const, 1}, - {"SYS_FCNTL", Const, 0}, - {"SYS_FCNTL64", Const, 0}, - {"SYS_FCNTL_NOCANCEL", Const, 0}, - {"SYS_FDATASYNC", Const, 0}, - {"SYS_FEXECVE", Const, 0}, - {"SYS_FFCLOCK_GETCOUNTER", Const, 0}, - {"SYS_FFCLOCK_GETESTIMATE", Const, 0}, - {"SYS_FFCLOCK_SETESTIMATE", Const, 0}, - {"SYS_FFSCTL", Const, 0}, - {"SYS_FGETATTRLIST", Const, 0}, - {"SYS_FGETXATTR", Const, 0}, - {"SYS_FHOPEN", Const, 0}, - {"SYS_FHSTAT", Const, 0}, - {"SYS_FHSTATFS", Const, 0}, - {"SYS_FILEPORT_MAKEFD", Const, 0}, - {"SYS_FILEPORT_MAKEPORT", Const, 0}, - {"SYS_FKTRACE", Const, 1}, - {"SYS_FLISTXATTR", Const, 0}, - {"SYS_FLOCK", Const, 0}, - {"SYS_FORK", Const, 0}, - {"SYS_FPATHCONF", Const, 0}, - {"SYS_FREEBSD6_FTRUNCATE", Const, 0}, - {"SYS_FREEBSD6_LSEEK", Const, 0}, - {"SYS_FREEBSD6_MMAP", Const, 0}, - {"SYS_FREEBSD6_PREAD", Const, 0}, - {"SYS_FREEBSD6_PWRITE", Const, 0}, - {"SYS_FREEBSD6_TRUNCATE", Const, 0}, - {"SYS_FREMOVEXATTR", Const, 0}, - {"SYS_FSCTL", Const, 0}, - {"SYS_FSETATTRLIST", Const, 0}, - {"SYS_FSETXATTR", Const, 0}, - {"SYS_FSGETPATH", Const, 0}, - {"SYS_FSTAT", Const, 0}, - {"SYS_FSTAT64", Const, 0}, - {"SYS_FSTAT64_EXTENDED", Const, 0}, - {"SYS_FSTATAT", Const, 0}, - {"SYS_FSTATAT64", Const, 0}, - {"SYS_FSTATFS", Const, 0}, - {"SYS_FSTATFS64", Const, 0}, - {"SYS_FSTATV", Const, 0}, - {"SYS_FSTATVFS1", Const, 1}, - {"SYS_FSTAT_EXTENDED", Const, 0}, - {"SYS_FSYNC", Const, 0}, - {"SYS_FSYNC_NOCANCEL", Const, 0}, - {"SYS_FSYNC_RANGE", Const, 1}, - {"SYS_FTIME", Const, 0}, - {"SYS_FTRUNCATE", Const, 0}, - {"SYS_FTRUNCATE64", Const, 0}, - {"SYS_FUTEX", Const, 0}, - {"SYS_FUTIMENS", Const, 1}, - {"SYS_FUTIMES", Const, 0}, - {"SYS_FUTIMESAT", Const, 0}, - {"SYS_GETATTRLIST", Const, 0}, - {"SYS_GETAUDIT", Const, 0}, - {"SYS_GETAUDIT_ADDR", Const, 0}, - {"SYS_GETAUID", Const, 0}, - {"SYS_GETCONTEXT", Const, 0}, - {"SYS_GETCPU", Const, 0}, - {"SYS_GETCWD", Const, 0}, - {"SYS_GETDENTS", Const, 0}, - {"SYS_GETDENTS64", Const, 0}, - {"SYS_GETDIRENTRIES", Const, 0}, - {"SYS_GETDIRENTRIES64", Const, 0}, - {"SYS_GETDIRENTRIESATTR", Const, 0}, - {"SYS_GETDTABLECOUNT", Const, 1}, - {"SYS_GETDTABLESIZE", Const, 0}, - {"SYS_GETEGID", Const, 0}, - {"SYS_GETEGID32", Const, 0}, - {"SYS_GETEUID", Const, 0}, - {"SYS_GETEUID32", Const, 0}, - {"SYS_GETFH", Const, 0}, - {"SYS_GETFSSTAT", Const, 0}, - {"SYS_GETFSSTAT64", Const, 0}, - {"SYS_GETGID", Const, 0}, - {"SYS_GETGID32", Const, 0}, - {"SYS_GETGROUPS", Const, 0}, - {"SYS_GETGROUPS32", Const, 0}, - {"SYS_GETHOSTUUID", Const, 0}, - {"SYS_GETITIMER", Const, 0}, - {"SYS_GETLCID", Const, 0}, - {"SYS_GETLOGIN", Const, 0}, - {"SYS_GETLOGINCLASS", Const, 0}, - {"SYS_GETPEERNAME", Const, 0}, - {"SYS_GETPGID", Const, 0}, - {"SYS_GETPGRP", Const, 0}, - {"SYS_GETPID", Const, 0}, - {"SYS_GETPMSG", Const, 0}, - {"SYS_GETPPID", Const, 0}, - {"SYS_GETPRIORITY", Const, 0}, - {"SYS_GETRESGID", Const, 0}, - {"SYS_GETRESGID32", Const, 0}, - {"SYS_GETRESUID", Const, 0}, - {"SYS_GETRESUID32", Const, 0}, - {"SYS_GETRLIMIT", Const, 0}, - {"SYS_GETRTABLE", Const, 1}, - {"SYS_GETRUSAGE", Const, 0}, - {"SYS_GETSGROUPS", Const, 0}, - {"SYS_GETSID", Const, 0}, - {"SYS_GETSOCKNAME", Const, 0}, - {"SYS_GETSOCKOPT", Const, 0}, - {"SYS_GETTHRID", Const, 1}, - {"SYS_GETTID", Const, 0}, - {"SYS_GETTIMEOFDAY", Const, 0}, - {"SYS_GETUID", Const, 0}, - {"SYS_GETUID32", Const, 0}, - {"SYS_GETVFSSTAT", Const, 1}, - {"SYS_GETWGROUPS", Const, 0}, - {"SYS_GETXATTR", Const, 0}, - {"SYS_GET_KERNEL_SYMS", Const, 0}, - {"SYS_GET_MEMPOLICY", Const, 0}, - {"SYS_GET_ROBUST_LIST", Const, 0}, - {"SYS_GET_THREAD_AREA", Const, 0}, - {"SYS_GSSD_SYSCALL", Const, 14}, - {"SYS_GTTY", Const, 0}, - {"SYS_IDENTITYSVC", Const, 0}, - {"SYS_IDLE", Const, 0}, - {"SYS_INITGROUPS", Const, 0}, - {"SYS_INIT_MODULE", Const, 0}, - {"SYS_INOTIFY_ADD_WATCH", Const, 0}, - {"SYS_INOTIFY_INIT", Const, 0}, - {"SYS_INOTIFY_INIT1", Const, 0}, - {"SYS_INOTIFY_RM_WATCH", Const, 0}, - {"SYS_IOCTL", Const, 0}, - {"SYS_IOPERM", Const, 0}, - {"SYS_IOPL", Const, 0}, - {"SYS_IOPOLICYSYS", Const, 0}, - {"SYS_IOPRIO_GET", Const, 0}, - {"SYS_IOPRIO_SET", Const, 0}, - {"SYS_IO_CANCEL", Const, 0}, - {"SYS_IO_DESTROY", Const, 0}, - {"SYS_IO_GETEVENTS", Const, 0}, - {"SYS_IO_SETUP", Const, 0}, - {"SYS_IO_SUBMIT", Const, 0}, - {"SYS_IPC", Const, 0}, - {"SYS_ISSETUGID", Const, 0}, - {"SYS_JAIL", Const, 0}, - {"SYS_JAIL_ATTACH", Const, 0}, - {"SYS_JAIL_GET", Const, 0}, - {"SYS_JAIL_REMOVE", Const, 0}, - {"SYS_JAIL_SET", Const, 0}, - {"SYS_KAS_INFO", Const, 16}, - {"SYS_KDEBUG_TRACE", Const, 0}, - {"SYS_KENV", Const, 0}, - {"SYS_KEVENT", Const, 0}, - {"SYS_KEVENT64", Const, 0}, - {"SYS_KEXEC_LOAD", Const, 0}, - {"SYS_KEYCTL", Const, 0}, - {"SYS_KILL", Const, 0}, - {"SYS_KLDFIND", Const, 0}, - {"SYS_KLDFIRSTMOD", Const, 0}, - {"SYS_KLDLOAD", Const, 0}, - {"SYS_KLDNEXT", Const, 0}, - {"SYS_KLDSTAT", Const, 0}, - {"SYS_KLDSYM", Const, 0}, - {"SYS_KLDUNLOAD", Const, 0}, - {"SYS_KLDUNLOADF", Const, 0}, - {"SYS_KMQ_NOTIFY", Const, 14}, - {"SYS_KMQ_OPEN", Const, 14}, - {"SYS_KMQ_SETATTR", Const, 14}, - {"SYS_KMQ_TIMEDRECEIVE", Const, 14}, - {"SYS_KMQ_TIMEDSEND", Const, 14}, - {"SYS_KMQ_UNLINK", Const, 14}, - {"SYS_KQUEUE", Const, 0}, - {"SYS_KQUEUE1", Const, 1}, - {"SYS_KSEM_CLOSE", Const, 14}, - {"SYS_KSEM_DESTROY", Const, 14}, - {"SYS_KSEM_GETVALUE", Const, 14}, - {"SYS_KSEM_INIT", Const, 14}, - {"SYS_KSEM_OPEN", Const, 14}, - {"SYS_KSEM_POST", Const, 14}, - {"SYS_KSEM_TIMEDWAIT", Const, 14}, - {"SYS_KSEM_TRYWAIT", Const, 14}, - {"SYS_KSEM_UNLINK", Const, 14}, - {"SYS_KSEM_WAIT", Const, 14}, - {"SYS_KTIMER_CREATE", Const, 0}, - {"SYS_KTIMER_DELETE", Const, 0}, - {"SYS_KTIMER_GETOVERRUN", Const, 0}, - {"SYS_KTIMER_GETTIME", Const, 0}, - {"SYS_KTIMER_SETTIME", Const, 0}, - {"SYS_KTRACE", Const, 0}, - {"SYS_LCHFLAGS", Const, 0}, - {"SYS_LCHMOD", Const, 0}, - {"SYS_LCHOWN", Const, 0}, - {"SYS_LCHOWN32", Const, 0}, - {"SYS_LEDGER", Const, 16}, - {"SYS_LGETFH", Const, 0}, - {"SYS_LGETXATTR", Const, 0}, - {"SYS_LINK", Const, 0}, - {"SYS_LINKAT", Const, 0}, - {"SYS_LIO_LISTIO", Const, 0}, - {"SYS_LISTEN", Const, 0}, - {"SYS_LISTXATTR", Const, 0}, - {"SYS_LLISTXATTR", Const, 0}, - {"SYS_LOCK", Const, 0}, - {"SYS_LOOKUP_DCOOKIE", Const, 0}, - {"SYS_LPATHCONF", Const, 0}, - {"SYS_LREMOVEXATTR", Const, 0}, - {"SYS_LSEEK", Const, 0}, - {"SYS_LSETXATTR", Const, 0}, - {"SYS_LSTAT", Const, 0}, - {"SYS_LSTAT64", Const, 0}, - {"SYS_LSTAT64_EXTENDED", Const, 0}, - {"SYS_LSTATV", Const, 0}, - {"SYS_LSTAT_EXTENDED", Const, 0}, - {"SYS_LUTIMES", Const, 0}, - {"SYS_MAC_SYSCALL", Const, 0}, - {"SYS_MADVISE", Const, 0}, - {"SYS_MADVISE1", Const, 0}, - {"SYS_MAXSYSCALL", Const, 0}, - {"SYS_MBIND", Const, 0}, - {"SYS_MIGRATE_PAGES", Const, 0}, - {"SYS_MINCORE", Const, 0}, - {"SYS_MINHERIT", Const, 0}, - {"SYS_MKCOMPLEX", Const, 0}, - {"SYS_MKDIR", Const, 0}, - {"SYS_MKDIRAT", Const, 0}, - {"SYS_MKDIR_EXTENDED", Const, 0}, - {"SYS_MKFIFO", Const, 0}, - {"SYS_MKFIFOAT", Const, 0}, - {"SYS_MKFIFO_EXTENDED", Const, 0}, - {"SYS_MKNOD", Const, 0}, - {"SYS_MKNODAT", Const, 0}, - {"SYS_MLOCK", Const, 0}, - {"SYS_MLOCKALL", Const, 0}, - {"SYS_MMAP", Const, 0}, - {"SYS_MMAP2", Const, 0}, - {"SYS_MODCTL", Const, 1}, - {"SYS_MODFIND", Const, 0}, - {"SYS_MODFNEXT", Const, 0}, - {"SYS_MODIFY_LDT", Const, 0}, - {"SYS_MODNEXT", Const, 0}, - {"SYS_MODSTAT", Const, 0}, - {"SYS_MODWATCH", Const, 0}, - {"SYS_MOUNT", Const, 0}, - {"SYS_MOVE_PAGES", Const, 0}, - {"SYS_MPROTECT", Const, 0}, - {"SYS_MPX", Const, 0}, - {"SYS_MQUERY", Const, 1}, - {"SYS_MQ_GETSETATTR", Const, 0}, - {"SYS_MQ_NOTIFY", Const, 0}, - {"SYS_MQ_OPEN", Const, 0}, - {"SYS_MQ_TIMEDRECEIVE", Const, 0}, - {"SYS_MQ_TIMEDSEND", Const, 0}, - {"SYS_MQ_UNLINK", Const, 0}, - {"SYS_MREMAP", Const, 0}, - {"SYS_MSGCTL", Const, 0}, - {"SYS_MSGGET", Const, 0}, - {"SYS_MSGRCV", Const, 0}, - {"SYS_MSGRCV_NOCANCEL", Const, 0}, - {"SYS_MSGSND", Const, 0}, - {"SYS_MSGSND_NOCANCEL", Const, 0}, - {"SYS_MSGSYS", Const, 0}, - {"SYS_MSYNC", Const, 0}, - {"SYS_MSYNC_NOCANCEL", Const, 0}, - {"SYS_MUNLOCK", Const, 0}, - {"SYS_MUNLOCKALL", Const, 0}, - {"SYS_MUNMAP", Const, 0}, - {"SYS_NAME_TO_HANDLE_AT", Const, 0}, - {"SYS_NANOSLEEP", Const, 0}, - {"SYS_NEWFSTATAT", Const, 0}, - {"SYS_NFSCLNT", Const, 0}, - {"SYS_NFSSERVCTL", Const, 0}, - {"SYS_NFSSVC", Const, 0}, - {"SYS_NFSTAT", Const, 0}, - {"SYS_NICE", Const, 0}, - {"SYS_NLM_SYSCALL", Const, 14}, - {"SYS_NLSTAT", Const, 0}, - {"SYS_NMOUNT", Const, 0}, - {"SYS_NSTAT", Const, 0}, - {"SYS_NTP_ADJTIME", Const, 0}, - {"SYS_NTP_GETTIME", Const, 0}, - {"SYS_NUMA_GETAFFINITY", Const, 14}, - {"SYS_NUMA_SETAFFINITY", Const, 14}, - {"SYS_OABI_SYSCALL_BASE", Const, 0}, - {"SYS_OBREAK", Const, 0}, - {"SYS_OLDFSTAT", Const, 0}, - {"SYS_OLDLSTAT", Const, 0}, - {"SYS_OLDOLDUNAME", Const, 0}, - {"SYS_OLDSTAT", Const, 0}, - {"SYS_OLDUNAME", Const, 0}, - {"SYS_OPEN", Const, 0}, - {"SYS_OPENAT", Const, 0}, - {"SYS_OPENBSD_POLL", Const, 0}, - {"SYS_OPEN_BY_HANDLE_AT", Const, 0}, - {"SYS_OPEN_DPROTECTED_NP", Const, 16}, - {"SYS_OPEN_EXTENDED", Const, 0}, - {"SYS_OPEN_NOCANCEL", Const, 0}, - {"SYS_OVADVISE", Const, 0}, - {"SYS_PACCEPT", Const, 1}, - {"SYS_PATHCONF", Const, 0}, - {"SYS_PAUSE", Const, 0}, - {"SYS_PCICONFIG_IOBASE", Const, 0}, - {"SYS_PCICONFIG_READ", Const, 0}, - {"SYS_PCICONFIG_WRITE", Const, 0}, - {"SYS_PDFORK", Const, 0}, - {"SYS_PDGETPID", Const, 0}, - {"SYS_PDKILL", Const, 0}, - {"SYS_PERF_EVENT_OPEN", Const, 0}, - {"SYS_PERSONALITY", Const, 0}, - {"SYS_PID_HIBERNATE", Const, 0}, - {"SYS_PID_RESUME", Const, 0}, - {"SYS_PID_SHUTDOWN_SOCKETS", Const, 0}, - {"SYS_PID_SUSPEND", Const, 0}, - {"SYS_PIPE", Const, 0}, - {"SYS_PIPE2", Const, 0}, - {"SYS_PIVOT_ROOT", Const, 0}, - {"SYS_PMC_CONTROL", Const, 1}, - {"SYS_PMC_GET_INFO", Const, 1}, - {"SYS_POLL", Const, 0}, - {"SYS_POLLTS", Const, 1}, - {"SYS_POLL_NOCANCEL", Const, 0}, - {"SYS_POSIX_FADVISE", Const, 0}, - {"SYS_POSIX_FALLOCATE", Const, 0}, - {"SYS_POSIX_OPENPT", Const, 0}, - {"SYS_POSIX_SPAWN", Const, 0}, - {"SYS_PPOLL", Const, 0}, - {"SYS_PRCTL", Const, 0}, - {"SYS_PREAD", Const, 0}, - {"SYS_PREAD64", Const, 0}, - {"SYS_PREADV", Const, 0}, - {"SYS_PREAD_NOCANCEL", Const, 0}, - {"SYS_PRLIMIT64", Const, 0}, - {"SYS_PROCCTL", Const, 3}, - {"SYS_PROCESS_POLICY", Const, 0}, - {"SYS_PROCESS_VM_READV", Const, 0}, - {"SYS_PROCESS_VM_WRITEV", Const, 0}, - {"SYS_PROC_INFO", Const, 0}, - {"SYS_PROF", Const, 0}, - {"SYS_PROFIL", Const, 0}, - {"SYS_PSELECT", Const, 0}, - {"SYS_PSELECT6", Const, 0}, - {"SYS_PSET_ASSIGN", Const, 1}, - {"SYS_PSET_CREATE", Const, 1}, - {"SYS_PSET_DESTROY", Const, 1}, - {"SYS_PSYNCH_CVBROAD", Const, 0}, - {"SYS_PSYNCH_CVCLRPREPOST", Const, 0}, - {"SYS_PSYNCH_CVSIGNAL", Const, 0}, - {"SYS_PSYNCH_CVWAIT", Const, 0}, - {"SYS_PSYNCH_MUTEXDROP", Const, 0}, - {"SYS_PSYNCH_MUTEXWAIT", Const, 0}, - {"SYS_PSYNCH_RW_DOWNGRADE", Const, 0}, - {"SYS_PSYNCH_RW_LONGRDLOCK", Const, 0}, - {"SYS_PSYNCH_RW_RDLOCK", Const, 0}, - {"SYS_PSYNCH_RW_UNLOCK", Const, 0}, - {"SYS_PSYNCH_RW_UNLOCK2", Const, 0}, - {"SYS_PSYNCH_RW_UPGRADE", Const, 0}, - {"SYS_PSYNCH_RW_WRLOCK", Const, 0}, - {"SYS_PSYNCH_RW_YIELDWRLOCK", Const, 0}, - {"SYS_PTRACE", Const, 0}, - {"SYS_PUTPMSG", Const, 0}, - {"SYS_PWRITE", Const, 0}, - {"SYS_PWRITE64", Const, 0}, - {"SYS_PWRITEV", Const, 0}, - {"SYS_PWRITE_NOCANCEL", Const, 0}, - {"SYS_QUERY_MODULE", Const, 0}, - {"SYS_QUOTACTL", Const, 0}, - {"SYS_RASCTL", Const, 1}, - {"SYS_RCTL_ADD_RULE", Const, 0}, - {"SYS_RCTL_GET_LIMITS", Const, 0}, - {"SYS_RCTL_GET_RACCT", Const, 0}, - {"SYS_RCTL_GET_RULES", Const, 0}, - {"SYS_RCTL_REMOVE_RULE", Const, 0}, - {"SYS_READ", Const, 0}, - {"SYS_READAHEAD", Const, 0}, - {"SYS_READDIR", Const, 0}, - {"SYS_READLINK", Const, 0}, - {"SYS_READLINKAT", Const, 0}, - {"SYS_READV", Const, 0}, - {"SYS_READV_NOCANCEL", Const, 0}, - {"SYS_READ_NOCANCEL", Const, 0}, - {"SYS_REBOOT", Const, 0}, - {"SYS_RECV", Const, 0}, - {"SYS_RECVFROM", Const, 0}, - {"SYS_RECVFROM_NOCANCEL", Const, 0}, - {"SYS_RECVMMSG", Const, 0}, - {"SYS_RECVMSG", Const, 0}, - {"SYS_RECVMSG_NOCANCEL", Const, 0}, - {"SYS_REMAP_FILE_PAGES", Const, 0}, - {"SYS_REMOVEXATTR", Const, 0}, - {"SYS_RENAME", Const, 0}, - {"SYS_RENAMEAT", Const, 0}, - {"SYS_REQUEST_KEY", Const, 0}, - {"SYS_RESTART_SYSCALL", Const, 0}, - {"SYS_REVOKE", Const, 0}, - {"SYS_RFORK", Const, 0}, - {"SYS_RMDIR", Const, 0}, - {"SYS_RTPRIO", Const, 0}, - {"SYS_RTPRIO_THREAD", Const, 0}, - {"SYS_RT_SIGACTION", Const, 0}, - {"SYS_RT_SIGPENDING", Const, 0}, - {"SYS_RT_SIGPROCMASK", Const, 0}, - {"SYS_RT_SIGQUEUEINFO", Const, 0}, - {"SYS_RT_SIGRETURN", Const, 0}, - {"SYS_RT_SIGSUSPEND", Const, 0}, - {"SYS_RT_SIGTIMEDWAIT", Const, 0}, - {"SYS_RT_TGSIGQUEUEINFO", Const, 0}, - {"SYS_SBRK", Const, 0}, - {"SYS_SCHED_GETAFFINITY", Const, 0}, - {"SYS_SCHED_GETPARAM", Const, 0}, - {"SYS_SCHED_GETSCHEDULER", Const, 0}, - {"SYS_SCHED_GET_PRIORITY_MAX", Const, 0}, - {"SYS_SCHED_GET_PRIORITY_MIN", Const, 0}, - {"SYS_SCHED_RR_GET_INTERVAL", Const, 0}, - {"SYS_SCHED_SETAFFINITY", Const, 0}, - {"SYS_SCHED_SETPARAM", Const, 0}, - {"SYS_SCHED_SETSCHEDULER", Const, 0}, - {"SYS_SCHED_YIELD", Const, 0}, - {"SYS_SCTP_GENERIC_RECVMSG", Const, 0}, - {"SYS_SCTP_GENERIC_SENDMSG", Const, 0}, - {"SYS_SCTP_GENERIC_SENDMSG_IOV", Const, 0}, - {"SYS_SCTP_PEELOFF", Const, 0}, - {"SYS_SEARCHFS", Const, 0}, - {"SYS_SECURITY", Const, 0}, - {"SYS_SELECT", Const, 0}, - {"SYS_SELECT_NOCANCEL", Const, 0}, - {"SYS_SEMCONFIG", Const, 1}, - {"SYS_SEMCTL", Const, 0}, - {"SYS_SEMGET", Const, 0}, - {"SYS_SEMOP", Const, 0}, - {"SYS_SEMSYS", Const, 0}, - {"SYS_SEMTIMEDOP", Const, 0}, - {"SYS_SEM_CLOSE", Const, 0}, - {"SYS_SEM_DESTROY", Const, 0}, - {"SYS_SEM_GETVALUE", Const, 0}, - {"SYS_SEM_INIT", Const, 0}, - {"SYS_SEM_OPEN", Const, 0}, - {"SYS_SEM_POST", Const, 0}, - {"SYS_SEM_TRYWAIT", Const, 0}, - {"SYS_SEM_UNLINK", Const, 0}, - {"SYS_SEM_WAIT", Const, 0}, - {"SYS_SEM_WAIT_NOCANCEL", Const, 0}, - {"SYS_SEND", Const, 0}, - {"SYS_SENDFILE", Const, 0}, - {"SYS_SENDFILE64", Const, 0}, - {"SYS_SENDMMSG", Const, 0}, - {"SYS_SENDMSG", Const, 0}, - {"SYS_SENDMSG_NOCANCEL", Const, 0}, - {"SYS_SENDTO", Const, 0}, - {"SYS_SENDTO_NOCANCEL", Const, 0}, - {"SYS_SETATTRLIST", Const, 0}, - {"SYS_SETAUDIT", Const, 0}, - {"SYS_SETAUDIT_ADDR", Const, 0}, - {"SYS_SETAUID", Const, 0}, - {"SYS_SETCONTEXT", Const, 0}, - {"SYS_SETDOMAINNAME", Const, 0}, - {"SYS_SETEGID", Const, 0}, - {"SYS_SETEUID", Const, 0}, - {"SYS_SETFIB", Const, 0}, - {"SYS_SETFSGID", Const, 0}, - {"SYS_SETFSGID32", Const, 0}, - {"SYS_SETFSUID", Const, 0}, - {"SYS_SETFSUID32", Const, 0}, - {"SYS_SETGID", Const, 0}, - {"SYS_SETGID32", Const, 0}, - {"SYS_SETGROUPS", Const, 0}, - {"SYS_SETGROUPS32", Const, 0}, - {"SYS_SETHOSTNAME", Const, 0}, - {"SYS_SETITIMER", Const, 0}, - {"SYS_SETLCID", Const, 0}, - {"SYS_SETLOGIN", Const, 0}, - {"SYS_SETLOGINCLASS", Const, 0}, - {"SYS_SETNS", Const, 0}, - {"SYS_SETPGID", Const, 0}, - {"SYS_SETPRIORITY", Const, 0}, - {"SYS_SETPRIVEXEC", Const, 0}, - {"SYS_SETREGID", Const, 0}, - {"SYS_SETREGID32", Const, 0}, - {"SYS_SETRESGID", Const, 0}, - {"SYS_SETRESGID32", Const, 0}, - {"SYS_SETRESUID", Const, 0}, - {"SYS_SETRESUID32", Const, 0}, - {"SYS_SETREUID", Const, 0}, - {"SYS_SETREUID32", Const, 0}, - {"SYS_SETRLIMIT", Const, 0}, - {"SYS_SETRTABLE", Const, 1}, - {"SYS_SETSGROUPS", Const, 0}, - {"SYS_SETSID", Const, 0}, - {"SYS_SETSOCKOPT", Const, 0}, - {"SYS_SETTID", Const, 0}, - {"SYS_SETTID_WITH_PID", Const, 0}, - {"SYS_SETTIMEOFDAY", Const, 0}, - {"SYS_SETUID", Const, 0}, - {"SYS_SETUID32", Const, 0}, - {"SYS_SETWGROUPS", Const, 0}, - {"SYS_SETXATTR", Const, 0}, - {"SYS_SET_MEMPOLICY", Const, 0}, - {"SYS_SET_ROBUST_LIST", Const, 0}, - {"SYS_SET_THREAD_AREA", Const, 0}, - {"SYS_SET_TID_ADDRESS", Const, 0}, - {"SYS_SGETMASK", Const, 0}, - {"SYS_SHARED_REGION_CHECK_NP", Const, 0}, - {"SYS_SHARED_REGION_MAP_AND_SLIDE_NP", Const, 0}, - {"SYS_SHMAT", Const, 0}, - {"SYS_SHMCTL", Const, 0}, - {"SYS_SHMDT", Const, 0}, - {"SYS_SHMGET", Const, 0}, - {"SYS_SHMSYS", Const, 0}, - {"SYS_SHM_OPEN", Const, 0}, - {"SYS_SHM_UNLINK", Const, 0}, - {"SYS_SHUTDOWN", Const, 0}, - {"SYS_SIGACTION", Const, 0}, - {"SYS_SIGALTSTACK", Const, 0}, - {"SYS_SIGNAL", Const, 0}, - {"SYS_SIGNALFD", Const, 0}, - {"SYS_SIGNALFD4", Const, 0}, - {"SYS_SIGPENDING", Const, 0}, - {"SYS_SIGPROCMASK", Const, 0}, - {"SYS_SIGQUEUE", Const, 0}, - {"SYS_SIGQUEUEINFO", Const, 1}, - {"SYS_SIGRETURN", Const, 0}, - {"SYS_SIGSUSPEND", Const, 0}, - {"SYS_SIGSUSPEND_NOCANCEL", Const, 0}, - {"SYS_SIGTIMEDWAIT", Const, 0}, - {"SYS_SIGWAIT", Const, 0}, - {"SYS_SIGWAITINFO", Const, 0}, - {"SYS_SOCKET", Const, 0}, - {"SYS_SOCKETCALL", Const, 0}, - {"SYS_SOCKETPAIR", Const, 0}, - {"SYS_SPLICE", Const, 0}, - {"SYS_SSETMASK", Const, 0}, - {"SYS_SSTK", Const, 0}, - {"SYS_STACK_SNAPSHOT", Const, 0}, - {"SYS_STAT", Const, 0}, - {"SYS_STAT64", Const, 0}, - {"SYS_STAT64_EXTENDED", Const, 0}, - {"SYS_STATFS", Const, 0}, - {"SYS_STATFS64", Const, 0}, - {"SYS_STATV", Const, 0}, - {"SYS_STATVFS1", Const, 1}, - {"SYS_STAT_EXTENDED", Const, 0}, - {"SYS_STIME", Const, 0}, - {"SYS_STTY", Const, 0}, - {"SYS_SWAPCONTEXT", Const, 0}, - {"SYS_SWAPCTL", Const, 1}, - {"SYS_SWAPOFF", Const, 0}, - {"SYS_SWAPON", Const, 0}, - {"SYS_SYMLINK", Const, 0}, - {"SYS_SYMLINKAT", Const, 0}, - {"SYS_SYNC", Const, 0}, - {"SYS_SYNCFS", Const, 0}, - {"SYS_SYNC_FILE_RANGE", Const, 0}, - {"SYS_SYSARCH", Const, 0}, - {"SYS_SYSCALL", Const, 0}, - {"SYS_SYSCALL_BASE", Const, 0}, - {"SYS_SYSFS", Const, 0}, - {"SYS_SYSINFO", Const, 0}, - {"SYS_SYSLOG", Const, 0}, - {"SYS_TEE", Const, 0}, - {"SYS_TGKILL", Const, 0}, - {"SYS_THREAD_SELFID", Const, 0}, - {"SYS_THR_CREATE", Const, 0}, - {"SYS_THR_EXIT", Const, 0}, - {"SYS_THR_KILL", Const, 0}, - {"SYS_THR_KILL2", Const, 0}, - {"SYS_THR_NEW", Const, 0}, - {"SYS_THR_SELF", Const, 0}, - {"SYS_THR_SET_NAME", Const, 0}, - {"SYS_THR_SUSPEND", Const, 0}, - {"SYS_THR_WAKE", Const, 0}, - {"SYS_TIME", Const, 0}, - {"SYS_TIMERFD_CREATE", Const, 0}, - {"SYS_TIMERFD_GETTIME", Const, 0}, - {"SYS_TIMERFD_SETTIME", Const, 0}, - {"SYS_TIMER_CREATE", Const, 0}, - {"SYS_TIMER_DELETE", Const, 0}, - {"SYS_TIMER_GETOVERRUN", Const, 0}, - {"SYS_TIMER_GETTIME", Const, 0}, - {"SYS_TIMER_SETTIME", Const, 0}, - {"SYS_TIMES", Const, 0}, - {"SYS_TKILL", Const, 0}, - {"SYS_TRUNCATE", Const, 0}, - {"SYS_TRUNCATE64", Const, 0}, - {"SYS_TUXCALL", Const, 0}, - {"SYS_UGETRLIMIT", Const, 0}, - {"SYS_ULIMIT", Const, 0}, - {"SYS_UMASK", Const, 0}, - {"SYS_UMASK_EXTENDED", Const, 0}, - {"SYS_UMOUNT", Const, 0}, - {"SYS_UMOUNT2", Const, 0}, - {"SYS_UNAME", Const, 0}, - {"SYS_UNDELETE", Const, 0}, - {"SYS_UNLINK", Const, 0}, - {"SYS_UNLINKAT", Const, 0}, - {"SYS_UNMOUNT", Const, 0}, - {"SYS_UNSHARE", Const, 0}, - {"SYS_USELIB", Const, 0}, - {"SYS_USTAT", Const, 0}, - {"SYS_UTIME", Const, 0}, - {"SYS_UTIMENSAT", Const, 0}, - {"SYS_UTIMES", Const, 0}, - {"SYS_UTRACE", Const, 0}, - {"SYS_UUIDGEN", Const, 0}, - {"SYS_VADVISE", Const, 1}, - {"SYS_VFORK", Const, 0}, - {"SYS_VHANGUP", Const, 0}, - {"SYS_VM86", Const, 0}, - {"SYS_VM86OLD", Const, 0}, - {"SYS_VMSPLICE", Const, 0}, - {"SYS_VM_PRESSURE_MONITOR", Const, 0}, - {"SYS_VSERVER", Const, 0}, - {"SYS_WAIT4", Const, 0}, - {"SYS_WAIT4_NOCANCEL", Const, 0}, - {"SYS_WAIT6", Const, 1}, - {"SYS_WAITEVENT", Const, 0}, - {"SYS_WAITID", Const, 0}, - {"SYS_WAITID_NOCANCEL", Const, 0}, - {"SYS_WAITPID", Const, 0}, - {"SYS_WATCHEVENT", Const, 0}, - {"SYS_WORKQ_KERNRETURN", Const, 0}, - {"SYS_WORKQ_OPEN", Const, 0}, - {"SYS_WRITE", Const, 0}, - {"SYS_WRITEV", Const, 0}, - {"SYS_WRITEV_NOCANCEL", Const, 0}, - {"SYS_WRITE_NOCANCEL", Const, 0}, - {"SYS_YIELD", Const, 0}, - {"SYS__LLSEEK", Const, 0}, - {"SYS__LWP_CONTINUE", Const, 1}, - {"SYS__LWP_CREATE", Const, 1}, - {"SYS__LWP_CTL", Const, 1}, - {"SYS__LWP_DETACH", Const, 1}, - {"SYS__LWP_EXIT", Const, 1}, - {"SYS__LWP_GETNAME", Const, 1}, - {"SYS__LWP_GETPRIVATE", Const, 1}, - {"SYS__LWP_KILL", Const, 1}, - {"SYS__LWP_PARK", Const, 1}, - {"SYS__LWP_SELF", Const, 1}, - {"SYS__LWP_SETNAME", Const, 1}, - {"SYS__LWP_SETPRIVATE", Const, 1}, - {"SYS__LWP_SUSPEND", Const, 1}, - {"SYS__LWP_UNPARK", Const, 1}, - {"SYS__LWP_UNPARK_ALL", Const, 1}, - {"SYS__LWP_WAIT", Const, 1}, - {"SYS__LWP_WAKEUP", Const, 1}, - {"SYS__NEWSELECT", Const, 0}, - {"SYS__PSET_BIND", Const, 1}, - {"SYS__SCHED_GETAFFINITY", Const, 1}, - {"SYS__SCHED_GETPARAM", Const, 1}, - {"SYS__SCHED_SETAFFINITY", Const, 1}, - {"SYS__SCHED_SETPARAM", Const, 1}, - {"SYS__SYSCTL", Const, 0}, - {"SYS__UMTX_LOCK", Const, 0}, - {"SYS__UMTX_OP", Const, 0}, - {"SYS__UMTX_UNLOCK", Const, 0}, - {"SYS___ACL_ACLCHECK_FD", Const, 0}, - {"SYS___ACL_ACLCHECK_FILE", Const, 0}, - {"SYS___ACL_ACLCHECK_LINK", Const, 0}, - {"SYS___ACL_DELETE_FD", Const, 0}, - {"SYS___ACL_DELETE_FILE", Const, 0}, - {"SYS___ACL_DELETE_LINK", Const, 0}, - {"SYS___ACL_GET_FD", Const, 0}, - {"SYS___ACL_GET_FILE", Const, 0}, - {"SYS___ACL_GET_LINK", Const, 0}, - {"SYS___ACL_SET_FD", Const, 0}, - {"SYS___ACL_SET_FILE", Const, 0}, - {"SYS___ACL_SET_LINK", Const, 0}, - {"SYS___CAP_RIGHTS_GET", Const, 14}, - {"SYS___CLONE", Const, 1}, - {"SYS___DISABLE_THREADSIGNAL", Const, 0}, - {"SYS___GETCWD", Const, 0}, - {"SYS___GETLOGIN", Const, 1}, - {"SYS___GET_TCB", Const, 1}, - {"SYS___MAC_EXECVE", Const, 0}, - {"SYS___MAC_GETFSSTAT", Const, 0}, - {"SYS___MAC_GET_FD", Const, 0}, - {"SYS___MAC_GET_FILE", Const, 0}, - {"SYS___MAC_GET_LCID", Const, 0}, - {"SYS___MAC_GET_LCTX", Const, 0}, - {"SYS___MAC_GET_LINK", Const, 0}, - {"SYS___MAC_GET_MOUNT", Const, 0}, - {"SYS___MAC_GET_PID", Const, 0}, - {"SYS___MAC_GET_PROC", Const, 0}, - {"SYS___MAC_MOUNT", Const, 0}, - {"SYS___MAC_SET_FD", Const, 0}, - {"SYS___MAC_SET_FILE", Const, 0}, - {"SYS___MAC_SET_LCTX", Const, 0}, - {"SYS___MAC_SET_LINK", Const, 0}, - {"SYS___MAC_SET_PROC", Const, 0}, - {"SYS___MAC_SYSCALL", Const, 0}, - {"SYS___OLD_SEMWAIT_SIGNAL", Const, 0}, - {"SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL", Const, 0}, - {"SYS___POSIX_CHOWN", Const, 1}, - {"SYS___POSIX_FCHOWN", Const, 1}, - {"SYS___POSIX_LCHOWN", Const, 1}, - {"SYS___POSIX_RENAME", Const, 1}, - {"SYS___PTHREAD_CANCELED", Const, 0}, - {"SYS___PTHREAD_CHDIR", Const, 0}, - {"SYS___PTHREAD_FCHDIR", Const, 0}, - {"SYS___PTHREAD_KILL", Const, 0}, - {"SYS___PTHREAD_MARKCANCEL", Const, 0}, - {"SYS___PTHREAD_SIGMASK", Const, 0}, - {"SYS___QUOTACTL", Const, 1}, - {"SYS___SEMCTL", Const, 1}, - {"SYS___SEMWAIT_SIGNAL", Const, 0}, - {"SYS___SEMWAIT_SIGNAL_NOCANCEL", Const, 0}, - {"SYS___SETLOGIN", Const, 1}, - {"SYS___SETUGID", Const, 0}, - {"SYS___SET_TCB", Const, 1}, - {"SYS___SIGACTION_SIGTRAMP", Const, 1}, - {"SYS___SIGTIMEDWAIT", Const, 1}, - {"SYS___SIGWAIT", Const, 0}, - {"SYS___SIGWAIT_NOCANCEL", Const, 0}, - {"SYS___SYSCTL", Const, 0}, - {"SYS___TFORK", Const, 1}, - {"SYS___THREXIT", Const, 1}, - {"SYS___THRSIGDIVERT", Const, 1}, - {"SYS___THRSLEEP", Const, 1}, - {"SYS___THRWAKEUP", Const, 1}, - {"S_ARCH1", Const, 1}, - {"S_ARCH2", Const, 1}, - {"S_BLKSIZE", Const, 0}, - {"S_IEXEC", Const, 0}, - {"S_IFBLK", Const, 0}, - {"S_IFCHR", Const, 0}, - {"S_IFDIR", Const, 0}, - {"S_IFIFO", Const, 0}, - {"S_IFLNK", Const, 0}, - {"S_IFMT", Const, 0}, - {"S_IFREG", Const, 0}, - {"S_IFSOCK", Const, 0}, - {"S_IFWHT", Const, 0}, - {"S_IREAD", Const, 0}, - {"S_IRGRP", Const, 0}, - {"S_IROTH", Const, 0}, - {"S_IRUSR", Const, 0}, - {"S_IRWXG", Const, 0}, - {"S_IRWXO", Const, 0}, - {"S_IRWXU", Const, 0}, - {"S_ISGID", Const, 0}, - {"S_ISTXT", Const, 0}, - {"S_ISUID", Const, 0}, - {"S_ISVTX", Const, 0}, - {"S_IWGRP", Const, 0}, - {"S_IWOTH", Const, 0}, - {"S_IWRITE", Const, 0}, - {"S_IWUSR", Const, 0}, - {"S_IXGRP", Const, 0}, - {"S_IXOTH", Const, 0}, - {"S_IXUSR", Const, 0}, - {"S_LOGIN_SET", Const, 1}, - {"SecurityAttributes", Type, 0}, - {"SecurityAttributes.InheritHandle", Field, 0}, - {"SecurityAttributes.Length", Field, 0}, - {"SecurityAttributes.SecurityDescriptor", Field, 0}, - {"Seek", Func, 0}, - {"Select", Func, 0}, - {"Sendfile", Func, 0}, - {"Sendmsg", Func, 0}, - {"SendmsgN", Func, 3}, - {"Sendto", Func, 0}, - {"Servent", Type, 0}, - {"Servent.Aliases", Field, 0}, - {"Servent.Name", Field, 0}, - {"Servent.Port", Field, 0}, - {"Servent.Proto", Field, 0}, - {"SetBpf", Func, 0}, - {"SetBpfBuflen", Func, 0}, - {"SetBpfDatalink", Func, 0}, - {"SetBpfHeadercmpl", Func, 0}, - {"SetBpfImmediate", Func, 0}, - {"SetBpfInterface", Func, 0}, - {"SetBpfPromisc", Func, 0}, - {"SetBpfTimeout", Func, 0}, - {"SetCurrentDirectory", Func, 0}, - {"SetEndOfFile", Func, 0}, - {"SetEnvironmentVariable", Func, 0}, - {"SetFileAttributes", Func, 0}, - {"SetFileCompletionNotificationModes", Func, 2}, - {"SetFilePointer", Func, 0}, - {"SetFileTime", Func, 0}, - {"SetHandleInformation", Func, 0}, - {"SetKevent", Func, 0}, - {"SetLsfPromisc", Func, 0}, - {"SetNonblock", Func, 0}, - {"Setdomainname", Func, 0}, - {"Setegid", Func, 0}, - {"Setenv", Func, 0}, - {"Seteuid", Func, 0}, - {"Setfsgid", Func, 0}, - {"Setfsuid", Func, 0}, - {"Setgid", Func, 0}, - {"Setgroups", Func, 0}, - {"Sethostname", Func, 0}, - {"Setlogin", Func, 0}, - {"Setpgid", Func, 0}, - {"Setpriority", Func, 0}, - {"Setprivexec", Func, 0}, - {"Setregid", Func, 0}, - {"Setresgid", Func, 0}, - {"Setresuid", Func, 0}, - {"Setreuid", Func, 0}, - {"Setrlimit", Func, 0}, - {"Setsid", Func, 0}, - {"Setsockopt", Func, 0}, - {"SetsockoptByte", Func, 0}, - {"SetsockoptICMPv6Filter", Func, 2}, - {"SetsockoptIPMreq", Func, 0}, - {"SetsockoptIPMreqn", Func, 0}, - {"SetsockoptIPv6Mreq", Func, 0}, - {"SetsockoptInet4Addr", Func, 0}, - {"SetsockoptInt", Func, 0}, - {"SetsockoptLinger", Func, 0}, - {"SetsockoptString", Func, 0}, - {"SetsockoptTimeval", Func, 0}, - {"Settimeofday", Func, 0}, - {"Setuid", Func, 0}, - {"Setxattr", Func, 1}, - {"Shutdown", Func, 0}, - {"SidTypeAlias", Const, 0}, - {"SidTypeComputer", Const, 0}, - {"SidTypeDeletedAccount", Const, 0}, - {"SidTypeDomain", Const, 0}, - {"SidTypeGroup", Const, 0}, - {"SidTypeInvalid", Const, 0}, - {"SidTypeLabel", Const, 0}, - {"SidTypeUnknown", Const, 0}, - {"SidTypeUser", Const, 0}, - {"SidTypeWellKnownGroup", Const, 0}, - {"Signal", Type, 0}, - {"SizeofBpfHdr", Const, 0}, - {"SizeofBpfInsn", Const, 0}, - {"SizeofBpfProgram", Const, 0}, - {"SizeofBpfStat", Const, 0}, - {"SizeofBpfVersion", Const, 0}, - {"SizeofBpfZbuf", Const, 0}, - {"SizeofBpfZbufHeader", Const, 0}, - {"SizeofCmsghdr", Const, 0}, - {"SizeofICMPv6Filter", Const, 2}, - {"SizeofIPMreq", Const, 0}, - {"SizeofIPMreqn", Const, 0}, - {"SizeofIPv6MTUInfo", Const, 2}, - {"SizeofIPv6Mreq", Const, 0}, - {"SizeofIfAddrmsg", Const, 0}, - {"SizeofIfAnnounceMsghdr", Const, 1}, - {"SizeofIfData", Const, 0}, - {"SizeofIfInfomsg", Const, 0}, - {"SizeofIfMsghdr", Const, 0}, - {"SizeofIfaMsghdr", Const, 0}, - {"SizeofIfmaMsghdr", Const, 0}, - {"SizeofIfmaMsghdr2", Const, 0}, - {"SizeofInet4Pktinfo", Const, 0}, - {"SizeofInet6Pktinfo", Const, 0}, - {"SizeofInotifyEvent", Const, 0}, - {"SizeofLinger", Const, 0}, - {"SizeofMsghdr", Const, 0}, - {"SizeofNlAttr", Const, 0}, - {"SizeofNlMsgerr", Const, 0}, - {"SizeofNlMsghdr", Const, 0}, - {"SizeofRtAttr", Const, 0}, - {"SizeofRtGenmsg", Const, 0}, - {"SizeofRtMetrics", Const, 0}, - {"SizeofRtMsg", Const, 0}, - {"SizeofRtMsghdr", Const, 0}, - {"SizeofRtNexthop", Const, 0}, - {"SizeofSockFilter", Const, 0}, - {"SizeofSockFprog", Const, 0}, - {"SizeofSockaddrAny", Const, 0}, - {"SizeofSockaddrDatalink", Const, 0}, - {"SizeofSockaddrInet4", Const, 0}, - {"SizeofSockaddrInet6", Const, 0}, - {"SizeofSockaddrLinklayer", Const, 0}, - {"SizeofSockaddrNetlink", Const, 0}, - {"SizeofSockaddrUnix", Const, 0}, - {"SizeofTCPInfo", Const, 1}, - {"SizeofUcred", Const, 0}, - {"SlicePtrFromStrings", Func, 1}, - {"SockFilter", Type, 0}, - {"SockFilter.Code", Field, 0}, - {"SockFilter.Jf", Field, 0}, - {"SockFilter.Jt", Field, 0}, - {"SockFilter.K", Field, 0}, - {"SockFprog", Type, 0}, - {"SockFprog.Filter", Field, 0}, - {"SockFprog.Len", Field, 0}, - {"SockFprog.Pad_cgo_0", Field, 0}, - {"Sockaddr", Type, 0}, - {"SockaddrDatalink", Type, 0}, - {"SockaddrDatalink.Alen", Field, 0}, - {"SockaddrDatalink.Data", Field, 0}, - {"SockaddrDatalink.Family", Field, 0}, - {"SockaddrDatalink.Index", Field, 0}, - {"SockaddrDatalink.Len", Field, 0}, - {"SockaddrDatalink.Nlen", Field, 0}, - {"SockaddrDatalink.Slen", Field, 0}, - {"SockaddrDatalink.Type", Field, 0}, - {"SockaddrGen", Type, 0}, - {"SockaddrInet4", Type, 0}, - {"SockaddrInet4.Addr", Field, 0}, - {"SockaddrInet4.Port", Field, 0}, - {"SockaddrInet6", Type, 0}, - {"SockaddrInet6.Addr", Field, 0}, - {"SockaddrInet6.Port", Field, 0}, - {"SockaddrInet6.ZoneId", Field, 0}, - {"SockaddrLinklayer", Type, 0}, - {"SockaddrLinklayer.Addr", Field, 0}, - {"SockaddrLinklayer.Halen", Field, 0}, - {"SockaddrLinklayer.Hatype", Field, 0}, - {"SockaddrLinklayer.Ifindex", Field, 0}, - {"SockaddrLinklayer.Pkttype", Field, 0}, - {"SockaddrLinklayer.Protocol", Field, 0}, - {"SockaddrNetlink", Type, 0}, - {"SockaddrNetlink.Family", Field, 0}, - {"SockaddrNetlink.Groups", Field, 0}, - {"SockaddrNetlink.Pad", Field, 0}, - {"SockaddrNetlink.Pid", Field, 0}, - {"SockaddrUnix", Type, 0}, - {"SockaddrUnix.Name", Field, 0}, - {"Socket", Func, 0}, - {"SocketControlMessage", Type, 0}, - {"SocketControlMessage.Data", Field, 0}, - {"SocketControlMessage.Header", Field, 0}, - {"SocketDisableIPv6", Var, 0}, - {"Socketpair", Func, 0}, - {"Splice", Func, 0}, - {"StartProcess", Func, 0}, - {"StartupInfo", Type, 0}, - {"StartupInfo.Cb", Field, 0}, - {"StartupInfo.Desktop", Field, 0}, - {"StartupInfo.FillAttribute", Field, 0}, - {"StartupInfo.Flags", Field, 0}, - {"StartupInfo.ShowWindow", Field, 0}, - {"StartupInfo.StdErr", Field, 0}, - {"StartupInfo.StdInput", Field, 0}, - {"StartupInfo.StdOutput", Field, 0}, - {"StartupInfo.Title", Field, 0}, - {"StartupInfo.X", Field, 0}, - {"StartupInfo.XCountChars", Field, 0}, - {"StartupInfo.XSize", Field, 0}, - {"StartupInfo.Y", Field, 0}, - {"StartupInfo.YCountChars", Field, 0}, - {"StartupInfo.YSize", Field, 0}, - {"Stat", Func, 0}, - {"Stat_t", Type, 0}, - {"Stat_t.Atim", Field, 0}, - {"Stat_t.Atim_ext", Field, 12}, - {"Stat_t.Atimespec", Field, 0}, - {"Stat_t.Birthtimespec", Field, 0}, - {"Stat_t.Blksize", Field, 0}, - {"Stat_t.Blocks", Field, 0}, - {"Stat_t.Btim_ext", Field, 12}, - {"Stat_t.Ctim", Field, 0}, - {"Stat_t.Ctim_ext", Field, 12}, - {"Stat_t.Ctimespec", Field, 0}, - {"Stat_t.Dev", Field, 0}, - {"Stat_t.Flags", Field, 0}, - {"Stat_t.Gen", Field, 0}, - {"Stat_t.Gid", Field, 0}, - {"Stat_t.Ino", Field, 0}, - {"Stat_t.Lspare", Field, 0}, - {"Stat_t.Lspare0", Field, 2}, - {"Stat_t.Lspare1", Field, 2}, - {"Stat_t.Mode", Field, 0}, - {"Stat_t.Mtim", Field, 0}, - {"Stat_t.Mtim_ext", Field, 12}, - {"Stat_t.Mtimespec", Field, 0}, - {"Stat_t.Nlink", Field, 0}, - {"Stat_t.Pad_cgo_0", Field, 0}, - {"Stat_t.Pad_cgo_1", Field, 0}, - {"Stat_t.Pad_cgo_2", Field, 0}, - {"Stat_t.Padding0", Field, 12}, - {"Stat_t.Padding1", Field, 12}, - {"Stat_t.Qspare", Field, 0}, - {"Stat_t.Rdev", Field, 0}, - {"Stat_t.Size", Field, 0}, - {"Stat_t.Spare", Field, 2}, - {"Stat_t.Uid", Field, 0}, - {"Stat_t.X__pad0", Field, 0}, - {"Stat_t.X__pad1", Field, 0}, - {"Stat_t.X__pad2", Field, 0}, - {"Stat_t.X__st_birthtim", Field, 2}, - {"Stat_t.X__st_ino", Field, 0}, - {"Stat_t.X__unused", Field, 0}, - {"Statfs", Func, 0}, - {"Statfs_t", Type, 0}, - {"Statfs_t.Asyncreads", Field, 0}, - {"Statfs_t.Asyncwrites", Field, 0}, - {"Statfs_t.Bavail", Field, 0}, - {"Statfs_t.Bfree", Field, 0}, - {"Statfs_t.Blocks", Field, 0}, - {"Statfs_t.Bsize", Field, 0}, - {"Statfs_t.Charspare", Field, 0}, - {"Statfs_t.F_asyncreads", Field, 2}, - {"Statfs_t.F_asyncwrites", Field, 2}, - {"Statfs_t.F_bavail", Field, 2}, - {"Statfs_t.F_bfree", Field, 2}, - {"Statfs_t.F_blocks", Field, 2}, - {"Statfs_t.F_bsize", Field, 2}, - {"Statfs_t.F_ctime", Field, 2}, - {"Statfs_t.F_favail", Field, 2}, - {"Statfs_t.F_ffree", Field, 2}, - {"Statfs_t.F_files", Field, 2}, - {"Statfs_t.F_flags", Field, 2}, - {"Statfs_t.F_fsid", Field, 2}, - {"Statfs_t.F_fstypename", Field, 2}, - {"Statfs_t.F_iosize", Field, 2}, - {"Statfs_t.F_mntfromname", Field, 2}, - {"Statfs_t.F_mntfromspec", Field, 3}, - {"Statfs_t.F_mntonname", Field, 2}, - {"Statfs_t.F_namemax", Field, 2}, - {"Statfs_t.F_owner", Field, 2}, - {"Statfs_t.F_spare", Field, 2}, - {"Statfs_t.F_syncreads", Field, 2}, - {"Statfs_t.F_syncwrites", Field, 2}, - {"Statfs_t.Ffree", Field, 0}, - {"Statfs_t.Files", Field, 0}, - {"Statfs_t.Flags", Field, 0}, - {"Statfs_t.Frsize", Field, 0}, - {"Statfs_t.Fsid", Field, 0}, - {"Statfs_t.Fssubtype", Field, 0}, - {"Statfs_t.Fstypename", Field, 0}, - {"Statfs_t.Iosize", Field, 0}, - {"Statfs_t.Mntfromname", Field, 0}, - {"Statfs_t.Mntonname", Field, 0}, - {"Statfs_t.Mount_info", Field, 2}, - {"Statfs_t.Namelen", Field, 0}, - {"Statfs_t.Namemax", Field, 0}, - {"Statfs_t.Owner", Field, 0}, - {"Statfs_t.Pad_cgo_0", Field, 0}, - {"Statfs_t.Pad_cgo_1", Field, 2}, - {"Statfs_t.Reserved", Field, 0}, - {"Statfs_t.Spare", Field, 0}, - {"Statfs_t.Syncreads", Field, 0}, - {"Statfs_t.Syncwrites", Field, 0}, - {"Statfs_t.Type", Field, 0}, - {"Statfs_t.Version", Field, 0}, - {"Stderr", Var, 0}, - {"Stdin", Var, 0}, - {"Stdout", Var, 0}, - {"StringBytePtr", Func, 0}, - {"StringByteSlice", Func, 0}, - {"StringSlicePtr", Func, 0}, - {"StringToSid", Func, 0}, - {"StringToUTF16", Func, 0}, - {"StringToUTF16Ptr", Func, 0}, - {"Symlink", Func, 0}, - {"Sync", Func, 0}, - {"SyncFileRange", Func, 0}, - {"SysProcAttr", Type, 0}, - {"SysProcAttr.AdditionalInheritedHandles", Field, 17}, - {"SysProcAttr.AmbientCaps", Field, 9}, - {"SysProcAttr.CgroupFD", Field, 20}, - {"SysProcAttr.Chroot", Field, 0}, - {"SysProcAttr.Cloneflags", Field, 2}, - {"SysProcAttr.CmdLine", Field, 0}, - {"SysProcAttr.CreationFlags", Field, 1}, - {"SysProcAttr.Credential", Field, 0}, - {"SysProcAttr.Ctty", Field, 1}, - {"SysProcAttr.Foreground", Field, 5}, - {"SysProcAttr.GidMappings", Field, 4}, - {"SysProcAttr.GidMappingsEnableSetgroups", Field, 5}, - {"SysProcAttr.HideWindow", Field, 0}, - {"SysProcAttr.Jail", Field, 21}, - {"SysProcAttr.NoInheritHandles", Field, 16}, - {"SysProcAttr.Noctty", Field, 0}, - {"SysProcAttr.ParentProcess", Field, 17}, - {"SysProcAttr.Pdeathsig", Field, 0}, - {"SysProcAttr.Pgid", Field, 5}, - {"SysProcAttr.PidFD", Field, 22}, - {"SysProcAttr.ProcessAttributes", Field, 13}, - {"SysProcAttr.Ptrace", Field, 0}, - {"SysProcAttr.Setctty", Field, 0}, - {"SysProcAttr.Setpgid", Field, 0}, - {"SysProcAttr.Setsid", Field, 0}, - {"SysProcAttr.ThreadAttributes", Field, 13}, - {"SysProcAttr.Token", Field, 10}, - {"SysProcAttr.UidMappings", Field, 4}, - {"SysProcAttr.Unshareflags", Field, 7}, - {"SysProcAttr.UseCgroupFD", Field, 20}, - {"SysProcIDMap", Type, 4}, - {"SysProcIDMap.ContainerID", Field, 4}, - {"SysProcIDMap.HostID", Field, 4}, - {"SysProcIDMap.Size", Field, 4}, - {"Syscall", Func, 0}, - {"Syscall12", Func, 0}, - {"Syscall15", Func, 0}, - {"Syscall18", Func, 12}, - {"Syscall6", Func, 0}, - {"Syscall9", Func, 0}, - {"SyscallN", Func, 18}, - {"Sysctl", Func, 0}, - {"SysctlUint32", Func, 0}, - {"Sysctlnode", Type, 2}, - {"Sysctlnode.Flags", Field, 2}, - {"Sysctlnode.Name", Field, 2}, - {"Sysctlnode.Num", Field, 2}, - {"Sysctlnode.Un", Field, 2}, - {"Sysctlnode.Ver", Field, 2}, - {"Sysctlnode.X__rsvd", Field, 2}, - {"Sysctlnode.X_sysctl_desc", Field, 2}, - {"Sysctlnode.X_sysctl_func", Field, 2}, - {"Sysctlnode.X_sysctl_parent", Field, 2}, - {"Sysctlnode.X_sysctl_size", Field, 2}, - {"Sysinfo", Func, 0}, - {"Sysinfo_t", Type, 0}, - {"Sysinfo_t.Bufferram", Field, 0}, - {"Sysinfo_t.Freehigh", Field, 0}, - {"Sysinfo_t.Freeram", Field, 0}, - {"Sysinfo_t.Freeswap", Field, 0}, - {"Sysinfo_t.Loads", Field, 0}, - {"Sysinfo_t.Pad", Field, 0}, - {"Sysinfo_t.Pad_cgo_0", Field, 0}, - {"Sysinfo_t.Pad_cgo_1", Field, 0}, - {"Sysinfo_t.Procs", Field, 0}, - {"Sysinfo_t.Sharedram", Field, 0}, - {"Sysinfo_t.Totalhigh", Field, 0}, - {"Sysinfo_t.Totalram", Field, 0}, - {"Sysinfo_t.Totalswap", Field, 0}, - {"Sysinfo_t.Unit", Field, 0}, - {"Sysinfo_t.Uptime", Field, 0}, - {"Sysinfo_t.X_f", Field, 0}, - {"Systemtime", Type, 0}, - {"Systemtime.Day", Field, 0}, - {"Systemtime.DayOfWeek", Field, 0}, - {"Systemtime.Hour", Field, 0}, - {"Systemtime.Milliseconds", Field, 0}, - {"Systemtime.Minute", Field, 0}, - {"Systemtime.Month", Field, 0}, - {"Systemtime.Second", Field, 0}, - {"Systemtime.Year", Field, 0}, - {"TCGETS", Const, 0}, - {"TCIFLUSH", Const, 1}, - {"TCIOFLUSH", Const, 1}, - {"TCOFLUSH", Const, 1}, - {"TCPInfo", Type, 1}, - {"TCPInfo.Advmss", Field, 1}, - {"TCPInfo.Ato", Field, 1}, - {"TCPInfo.Backoff", Field, 1}, - {"TCPInfo.Ca_state", Field, 1}, - {"TCPInfo.Fackets", Field, 1}, - {"TCPInfo.Last_ack_recv", Field, 1}, - {"TCPInfo.Last_ack_sent", Field, 1}, - {"TCPInfo.Last_data_recv", Field, 1}, - {"TCPInfo.Last_data_sent", Field, 1}, - {"TCPInfo.Lost", Field, 1}, - {"TCPInfo.Options", Field, 1}, - {"TCPInfo.Pad_cgo_0", Field, 1}, - {"TCPInfo.Pmtu", Field, 1}, - {"TCPInfo.Probes", Field, 1}, - {"TCPInfo.Rcv_mss", Field, 1}, - {"TCPInfo.Rcv_rtt", Field, 1}, - {"TCPInfo.Rcv_space", Field, 1}, - {"TCPInfo.Rcv_ssthresh", Field, 1}, - {"TCPInfo.Reordering", Field, 1}, - {"TCPInfo.Retrans", Field, 1}, - {"TCPInfo.Retransmits", Field, 1}, - {"TCPInfo.Rto", Field, 1}, - {"TCPInfo.Rtt", Field, 1}, - {"TCPInfo.Rttvar", Field, 1}, - {"TCPInfo.Sacked", Field, 1}, - {"TCPInfo.Snd_cwnd", Field, 1}, - {"TCPInfo.Snd_mss", Field, 1}, - {"TCPInfo.Snd_ssthresh", Field, 1}, - {"TCPInfo.State", Field, 1}, - {"TCPInfo.Total_retrans", Field, 1}, - {"TCPInfo.Unacked", Field, 1}, - {"TCPKeepalive", Type, 3}, - {"TCPKeepalive.Interval", Field, 3}, - {"TCPKeepalive.OnOff", Field, 3}, - {"TCPKeepalive.Time", Field, 3}, - {"TCP_CA_NAME_MAX", Const, 0}, - {"TCP_CONGCTL", Const, 1}, - {"TCP_CONGESTION", Const, 0}, - {"TCP_CONNECTIONTIMEOUT", Const, 0}, - {"TCP_CORK", Const, 0}, - {"TCP_DEFER_ACCEPT", Const, 0}, - {"TCP_ENABLE_ECN", Const, 16}, - {"TCP_INFO", Const, 0}, - {"TCP_KEEPALIVE", Const, 0}, - {"TCP_KEEPCNT", Const, 0}, - {"TCP_KEEPIDLE", Const, 0}, - {"TCP_KEEPINIT", Const, 1}, - {"TCP_KEEPINTVL", Const, 0}, - {"TCP_LINGER2", Const, 0}, - {"TCP_MAXBURST", Const, 0}, - {"TCP_MAXHLEN", Const, 0}, - {"TCP_MAXOLEN", Const, 0}, - {"TCP_MAXSEG", Const, 0}, - {"TCP_MAXWIN", Const, 0}, - {"TCP_MAX_SACK", Const, 0}, - {"TCP_MAX_WINSHIFT", Const, 0}, - {"TCP_MD5SIG", Const, 0}, - {"TCP_MD5SIG_MAXKEYLEN", Const, 0}, - {"TCP_MINMSS", Const, 0}, - {"TCP_MINMSSOVERLOAD", Const, 0}, - {"TCP_MSS", Const, 0}, - {"TCP_NODELAY", Const, 0}, - {"TCP_NOOPT", Const, 0}, - {"TCP_NOPUSH", Const, 0}, - {"TCP_NOTSENT_LOWAT", Const, 16}, - {"TCP_NSTATES", Const, 1}, - {"TCP_QUICKACK", Const, 0}, - {"TCP_RXT_CONNDROPTIME", Const, 0}, - {"TCP_RXT_FINDROP", Const, 0}, - {"TCP_SACK_ENABLE", Const, 1}, - {"TCP_SENDMOREACKS", Const, 16}, - {"TCP_SYNCNT", Const, 0}, - {"TCP_VENDOR", Const, 3}, - {"TCP_WINDOW_CLAMP", Const, 0}, - {"TCSAFLUSH", Const, 1}, - {"TCSETS", Const, 0}, - {"TF_DISCONNECT", Const, 0}, - {"TF_REUSE_SOCKET", Const, 0}, - {"TF_USE_DEFAULT_WORKER", Const, 0}, - {"TF_USE_KERNEL_APC", Const, 0}, - {"TF_USE_SYSTEM_THREAD", Const, 0}, - {"TF_WRITE_BEHIND", Const, 0}, - {"TH32CS_INHERIT", Const, 4}, - {"TH32CS_SNAPALL", Const, 4}, - {"TH32CS_SNAPHEAPLIST", Const, 4}, - {"TH32CS_SNAPMODULE", Const, 4}, - {"TH32CS_SNAPMODULE32", Const, 4}, - {"TH32CS_SNAPPROCESS", Const, 4}, - {"TH32CS_SNAPTHREAD", Const, 4}, - {"TIME_ZONE_ID_DAYLIGHT", Const, 0}, - {"TIME_ZONE_ID_STANDARD", Const, 0}, - {"TIME_ZONE_ID_UNKNOWN", Const, 0}, - {"TIOCCBRK", Const, 0}, - {"TIOCCDTR", Const, 0}, - {"TIOCCONS", Const, 0}, - {"TIOCDCDTIMESTAMP", Const, 0}, - {"TIOCDRAIN", Const, 0}, - {"TIOCDSIMICROCODE", Const, 0}, - {"TIOCEXCL", Const, 0}, - {"TIOCEXT", Const, 0}, - {"TIOCFLAG_CDTRCTS", Const, 1}, - {"TIOCFLAG_CLOCAL", Const, 1}, - {"TIOCFLAG_CRTSCTS", Const, 1}, - {"TIOCFLAG_MDMBUF", Const, 1}, - {"TIOCFLAG_PPS", Const, 1}, - {"TIOCFLAG_SOFTCAR", Const, 1}, - {"TIOCFLUSH", Const, 0}, - {"TIOCGDEV", Const, 0}, - {"TIOCGDRAINWAIT", Const, 0}, - {"TIOCGETA", Const, 0}, - {"TIOCGETD", Const, 0}, - {"TIOCGFLAGS", Const, 1}, - {"TIOCGICOUNT", Const, 0}, - {"TIOCGLCKTRMIOS", Const, 0}, - {"TIOCGLINED", Const, 1}, - {"TIOCGPGRP", Const, 0}, - {"TIOCGPTN", Const, 0}, - {"TIOCGQSIZE", Const, 1}, - {"TIOCGRANTPT", Const, 1}, - {"TIOCGRS485", Const, 0}, - {"TIOCGSERIAL", Const, 0}, - {"TIOCGSID", Const, 0}, - {"TIOCGSIZE", Const, 1}, - {"TIOCGSOFTCAR", Const, 0}, - {"TIOCGTSTAMP", Const, 1}, - {"TIOCGWINSZ", Const, 0}, - {"TIOCINQ", Const, 0}, - {"TIOCIXOFF", Const, 0}, - {"TIOCIXON", Const, 0}, - {"TIOCLINUX", Const, 0}, - {"TIOCMBIC", Const, 0}, - {"TIOCMBIS", Const, 0}, - {"TIOCMGDTRWAIT", Const, 0}, - {"TIOCMGET", Const, 0}, - {"TIOCMIWAIT", Const, 0}, - {"TIOCMODG", Const, 0}, - {"TIOCMODS", Const, 0}, - {"TIOCMSDTRWAIT", Const, 0}, - {"TIOCMSET", Const, 0}, - {"TIOCM_CAR", Const, 0}, - {"TIOCM_CD", Const, 0}, - {"TIOCM_CTS", Const, 0}, - {"TIOCM_DCD", Const, 0}, - {"TIOCM_DSR", Const, 0}, - {"TIOCM_DTR", Const, 0}, - {"TIOCM_LE", Const, 0}, - {"TIOCM_RI", Const, 0}, - {"TIOCM_RNG", Const, 0}, - {"TIOCM_RTS", Const, 0}, - {"TIOCM_SR", Const, 0}, - {"TIOCM_ST", Const, 0}, - {"TIOCNOTTY", Const, 0}, - {"TIOCNXCL", Const, 0}, - {"TIOCOUTQ", Const, 0}, - {"TIOCPKT", Const, 0}, - {"TIOCPKT_DATA", Const, 0}, - {"TIOCPKT_DOSTOP", Const, 0}, - {"TIOCPKT_FLUSHREAD", Const, 0}, - {"TIOCPKT_FLUSHWRITE", Const, 0}, - {"TIOCPKT_IOCTL", Const, 0}, - {"TIOCPKT_NOSTOP", Const, 0}, - {"TIOCPKT_START", Const, 0}, - {"TIOCPKT_STOP", Const, 0}, - {"TIOCPTMASTER", Const, 0}, - {"TIOCPTMGET", Const, 1}, - {"TIOCPTSNAME", Const, 1}, - {"TIOCPTYGNAME", Const, 0}, - {"TIOCPTYGRANT", Const, 0}, - {"TIOCPTYUNLK", Const, 0}, - {"TIOCRCVFRAME", Const, 1}, - {"TIOCREMOTE", Const, 0}, - {"TIOCSBRK", Const, 0}, - {"TIOCSCONS", Const, 0}, - {"TIOCSCTTY", Const, 0}, - {"TIOCSDRAINWAIT", Const, 0}, - {"TIOCSDTR", Const, 0}, - {"TIOCSERCONFIG", Const, 0}, - {"TIOCSERGETLSR", Const, 0}, - {"TIOCSERGETMULTI", Const, 0}, - {"TIOCSERGSTRUCT", Const, 0}, - {"TIOCSERGWILD", Const, 0}, - {"TIOCSERSETMULTI", Const, 0}, - {"TIOCSERSWILD", Const, 0}, - {"TIOCSER_TEMT", Const, 0}, - {"TIOCSETA", Const, 0}, - {"TIOCSETAF", Const, 0}, - {"TIOCSETAW", Const, 0}, - {"TIOCSETD", Const, 0}, - {"TIOCSFLAGS", Const, 1}, - {"TIOCSIG", Const, 0}, - {"TIOCSLCKTRMIOS", Const, 0}, - {"TIOCSLINED", Const, 1}, - {"TIOCSPGRP", Const, 0}, - {"TIOCSPTLCK", Const, 0}, - {"TIOCSQSIZE", Const, 1}, - {"TIOCSRS485", Const, 0}, - {"TIOCSSERIAL", Const, 0}, - {"TIOCSSIZE", Const, 1}, - {"TIOCSSOFTCAR", Const, 0}, - {"TIOCSTART", Const, 0}, - {"TIOCSTAT", Const, 0}, - {"TIOCSTI", Const, 0}, - {"TIOCSTOP", Const, 0}, - {"TIOCSTSTAMP", Const, 1}, - {"TIOCSWINSZ", Const, 0}, - {"TIOCTIMESTAMP", Const, 0}, - {"TIOCUCNTL", Const, 0}, - {"TIOCVHANGUP", Const, 0}, - {"TIOCXMTFRAME", Const, 1}, - {"TOKEN_ADJUST_DEFAULT", Const, 0}, - {"TOKEN_ADJUST_GROUPS", Const, 0}, - {"TOKEN_ADJUST_PRIVILEGES", Const, 0}, - {"TOKEN_ADJUST_SESSIONID", Const, 11}, - {"TOKEN_ALL_ACCESS", Const, 0}, - {"TOKEN_ASSIGN_PRIMARY", Const, 0}, - {"TOKEN_DUPLICATE", Const, 0}, - {"TOKEN_EXECUTE", Const, 0}, - {"TOKEN_IMPERSONATE", Const, 0}, - {"TOKEN_QUERY", Const, 0}, - {"TOKEN_QUERY_SOURCE", Const, 0}, - {"TOKEN_READ", Const, 0}, - {"TOKEN_WRITE", Const, 0}, - {"TOSTOP", Const, 0}, - {"TRUNCATE_EXISTING", Const, 0}, - {"TUNATTACHFILTER", Const, 0}, - {"TUNDETACHFILTER", Const, 0}, - {"TUNGETFEATURES", Const, 0}, - {"TUNGETIFF", Const, 0}, - {"TUNGETSNDBUF", Const, 0}, - {"TUNGETVNETHDRSZ", Const, 0}, - {"TUNSETDEBUG", Const, 0}, - {"TUNSETGROUP", Const, 0}, - {"TUNSETIFF", Const, 0}, - {"TUNSETLINK", Const, 0}, - {"TUNSETNOCSUM", Const, 0}, - {"TUNSETOFFLOAD", Const, 0}, - {"TUNSETOWNER", Const, 0}, - {"TUNSETPERSIST", Const, 0}, - {"TUNSETSNDBUF", Const, 0}, - {"TUNSETTXFILTER", Const, 0}, - {"TUNSETVNETHDRSZ", Const, 0}, - {"Tee", Func, 0}, - {"TerminateProcess", Func, 0}, - {"Termios", Type, 0}, - {"Termios.Cc", Field, 0}, - {"Termios.Cflag", Field, 0}, - {"Termios.Iflag", Field, 0}, - {"Termios.Ispeed", Field, 0}, - {"Termios.Lflag", Field, 0}, - {"Termios.Line", Field, 0}, - {"Termios.Oflag", Field, 0}, - {"Termios.Ospeed", Field, 0}, - {"Termios.Pad_cgo_0", Field, 0}, - {"Tgkill", Func, 0}, - {"Time", Func, 0}, - {"Time_t", Type, 0}, - {"Times", Func, 0}, - {"Timespec", Type, 0}, - {"Timespec.Nsec", Field, 0}, - {"Timespec.Pad_cgo_0", Field, 2}, - {"Timespec.Sec", Field, 0}, - {"TimespecToNsec", Func, 0}, - {"Timeval", Type, 0}, - {"Timeval.Pad_cgo_0", Field, 0}, - {"Timeval.Sec", Field, 0}, - {"Timeval.Usec", Field, 0}, - {"Timeval32", Type, 0}, - {"Timeval32.Sec", Field, 0}, - {"Timeval32.Usec", Field, 0}, - {"TimevalToNsec", Func, 0}, - {"Timex", Type, 0}, - {"Timex.Calcnt", Field, 0}, - {"Timex.Constant", Field, 0}, - {"Timex.Errcnt", Field, 0}, - {"Timex.Esterror", Field, 0}, - {"Timex.Freq", Field, 0}, - {"Timex.Jitcnt", Field, 0}, - {"Timex.Jitter", Field, 0}, - {"Timex.Maxerror", Field, 0}, - {"Timex.Modes", Field, 0}, - {"Timex.Offset", Field, 0}, - {"Timex.Pad_cgo_0", Field, 0}, - {"Timex.Pad_cgo_1", Field, 0}, - {"Timex.Pad_cgo_2", Field, 0}, - {"Timex.Pad_cgo_3", Field, 0}, - {"Timex.Ppsfreq", Field, 0}, - {"Timex.Precision", Field, 0}, - {"Timex.Shift", Field, 0}, - {"Timex.Stabil", Field, 0}, - {"Timex.Status", Field, 0}, - {"Timex.Stbcnt", Field, 0}, - {"Timex.Tai", Field, 0}, - {"Timex.Tick", Field, 0}, - {"Timex.Time", Field, 0}, - {"Timex.Tolerance", Field, 0}, - {"Timezoneinformation", Type, 0}, - {"Timezoneinformation.Bias", Field, 0}, - {"Timezoneinformation.DaylightBias", Field, 0}, - {"Timezoneinformation.DaylightDate", Field, 0}, - {"Timezoneinformation.DaylightName", Field, 0}, - {"Timezoneinformation.StandardBias", Field, 0}, - {"Timezoneinformation.StandardDate", Field, 0}, - {"Timezoneinformation.StandardName", Field, 0}, - {"Tms", Type, 0}, - {"Tms.Cstime", Field, 0}, - {"Tms.Cutime", Field, 0}, - {"Tms.Stime", Field, 0}, - {"Tms.Utime", Field, 0}, - {"Token", Type, 0}, - {"TokenAccessInformation", Const, 0}, - {"TokenAuditPolicy", Const, 0}, - {"TokenDefaultDacl", Const, 0}, - {"TokenElevation", Const, 0}, - {"TokenElevationType", Const, 0}, - {"TokenGroups", Const, 0}, - {"TokenGroupsAndPrivileges", Const, 0}, - {"TokenHasRestrictions", Const, 0}, - {"TokenImpersonationLevel", Const, 0}, - {"TokenIntegrityLevel", Const, 0}, - {"TokenLinkedToken", Const, 0}, - {"TokenLogonSid", Const, 0}, - {"TokenMandatoryPolicy", Const, 0}, - {"TokenOrigin", Const, 0}, - {"TokenOwner", Const, 0}, - {"TokenPrimaryGroup", Const, 0}, - {"TokenPrivileges", Const, 0}, - {"TokenRestrictedSids", Const, 0}, - {"TokenSandBoxInert", Const, 0}, - {"TokenSessionId", Const, 0}, - {"TokenSessionReference", Const, 0}, - {"TokenSource", Const, 0}, - {"TokenStatistics", Const, 0}, - {"TokenType", Const, 0}, - {"TokenUIAccess", Const, 0}, - {"TokenUser", Const, 0}, - {"TokenVirtualizationAllowed", Const, 0}, - {"TokenVirtualizationEnabled", Const, 0}, - {"Tokenprimarygroup", Type, 0}, - {"Tokenprimarygroup.PrimaryGroup", Field, 0}, - {"Tokenuser", Type, 0}, - {"Tokenuser.User", Field, 0}, - {"TranslateAccountName", Func, 0}, - {"TranslateName", Func, 0}, - {"TransmitFile", Func, 0}, - {"TransmitFileBuffers", Type, 0}, - {"TransmitFileBuffers.Head", Field, 0}, - {"TransmitFileBuffers.HeadLength", Field, 0}, - {"TransmitFileBuffers.Tail", Field, 0}, - {"TransmitFileBuffers.TailLength", Field, 0}, - {"Truncate", Func, 0}, - {"UNIX_PATH_MAX", Const, 12}, - {"USAGE_MATCH_TYPE_AND", Const, 0}, - {"USAGE_MATCH_TYPE_OR", Const, 0}, - {"UTF16FromString", Func, 1}, - {"UTF16PtrFromString", Func, 1}, - {"UTF16ToString", Func, 0}, - {"Ucred", Type, 0}, - {"Ucred.Gid", Field, 0}, - {"Ucred.Pid", Field, 0}, - {"Ucred.Uid", Field, 0}, - {"Umask", Func, 0}, - {"Uname", Func, 0}, - {"Undelete", Func, 0}, - {"UnixCredentials", Func, 0}, - {"UnixRights", Func, 0}, - {"Unlink", Func, 0}, - {"Unlinkat", Func, 0}, - {"UnmapViewOfFile", Func, 0}, - {"Unmount", Func, 0}, - {"Unsetenv", Func, 4}, - {"Unshare", Func, 0}, - {"UserInfo10", Type, 0}, - {"UserInfo10.Comment", Field, 0}, - {"UserInfo10.FullName", Field, 0}, - {"UserInfo10.Name", Field, 0}, - {"UserInfo10.UsrComment", Field, 0}, - {"Ustat", Func, 0}, - {"Ustat_t", Type, 0}, - {"Ustat_t.Fname", Field, 0}, - {"Ustat_t.Fpack", Field, 0}, - {"Ustat_t.Pad_cgo_0", Field, 0}, - {"Ustat_t.Pad_cgo_1", Field, 0}, - {"Ustat_t.Tfree", Field, 0}, - {"Ustat_t.Tinode", Field, 0}, - {"Utimbuf", Type, 0}, - {"Utimbuf.Actime", Field, 0}, - {"Utimbuf.Modtime", Field, 0}, - {"Utime", Func, 0}, - {"Utimes", Func, 0}, - {"UtimesNano", Func, 1}, - {"Utsname", Type, 0}, - {"Utsname.Domainname", Field, 0}, - {"Utsname.Machine", Field, 0}, - {"Utsname.Nodename", Field, 0}, - {"Utsname.Release", Field, 0}, - {"Utsname.Sysname", Field, 0}, - {"Utsname.Version", Field, 0}, - {"VDISCARD", Const, 0}, - {"VDSUSP", Const, 1}, - {"VEOF", Const, 0}, - {"VEOL", Const, 0}, - {"VEOL2", Const, 0}, - {"VERASE", Const, 0}, - {"VERASE2", Const, 1}, - {"VINTR", Const, 0}, - {"VKILL", Const, 0}, - {"VLNEXT", Const, 0}, - {"VMIN", Const, 0}, - {"VQUIT", Const, 0}, - {"VREPRINT", Const, 0}, - {"VSTART", Const, 0}, - {"VSTATUS", Const, 1}, - {"VSTOP", Const, 0}, - {"VSUSP", Const, 0}, - {"VSWTC", Const, 0}, - {"VT0", Const, 1}, - {"VT1", Const, 1}, - {"VTDLY", Const, 1}, - {"VTIME", Const, 0}, - {"VWERASE", Const, 0}, - {"VirtualLock", Func, 0}, - {"VirtualUnlock", Func, 0}, - {"WAIT_ABANDONED", Const, 0}, - {"WAIT_FAILED", Const, 0}, - {"WAIT_OBJECT_0", Const, 0}, - {"WAIT_TIMEOUT", Const, 0}, - {"WALL", Const, 0}, - {"WALLSIG", Const, 1}, - {"WALTSIG", Const, 1}, - {"WCLONE", Const, 0}, - {"WCONTINUED", Const, 0}, - {"WCOREFLAG", Const, 0}, - {"WEXITED", Const, 0}, - {"WLINUXCLONE", Const, 0}, - {"WNOHANG", Const, 0}, - {"WNOTHREAD", Const, 0}, - {"WNOWAIT", Const, 0}, - {"WNOZOMBIE", Const, 1}, - {"WOPTSCHECKED", Const, 1}, - {"WORDSIZE", Const, 0}, - {"WSABuf", Type, 0}, - {"WSABuf.Buf", Field, 0}, - {"WSABuf.Len", Field, 0}, - {"WSACleanup", Func, 0}, - {"WSADESCRIPTION_LEN", Const, 0}, - {"WSAData", Type, 0}, - {"WSAData.Description", Field, 0}, - {"WSAData.HighVersion", Field, 0}, - {"WSAData.MaxSockets", Field, 0}, - {"WSAData.MaxUdpDg", Field, 0}, - {"WSAData.SystemStatus", Field, 0}, - {"WSAData.VendorInfo", Field, 0}, - {"WSAData.Version", Field, 0}, - {"WSAEACCES", Const, 2}, - {"WSAECONNABORTED", Const, 9}, - {"WSAECONNRESET", Const, 3}, - {"WSAENOPROTOOPT", Const, 23}, - {"WSAEnumProtocols", Func, 2}, - {"WSAID_CONNECTEX", Var, 1}, - {"WSAIoctl", Func, 0}, - {"WSAPROTOCOL_LEN", Const, 2}, - {"WSAProtocolChain", Type, 2}, - {"WSAProtocolChain.ChainEntries", Field, 2}, - {"WSAProtocolChain.ChainLen", Field, 2}, - {"WSAProtocolInfo", Type, 2}, - {"WSAProtocolInfo.AddressFamily", Field, 2}, - {"WSAProtocolInfo.CatalogEntryId", Field, 2}, - {"WSAProtocolInfo.MaxSockAddr", Field, 2}, - {"WSAProtocolInfo.MessageSize", Field, 2}, - {"WSAProtocolInfo.MinSockAddr", Field, 2}, - {"WSAProtocolInfo.NetworkByteOrder", Field, 2}, - {"WSAProtocolInfo.Protocol", Field, 2}, - {"WSAProtocolInfo.ProtocolChain", Field, 2}, - {"WSAProtocolInfo.ProtocolMaxOffset", Field, 2}, - {"WSAProtocolInfo.ProtocolName", Field, 2}, - {"WSAProtocolInfo.ProviderFlags", Field, 2}, - {"WSAProtocolInfo.ProviderId", Field, 2}, - {"WSAProtocolInfo.ProviderReserved", Field, 2}, - {"WSAProtocolInfo.SecurityScheme", Field, 2}, - {"WSAProtocolInfo.ServiceFlags1", Field, 2}, - {"WSAProtocolInfo.ServiceFlags2", Field, 2}, - {"WSAProtocolInfo.ServiceFlags3", Field, 2}, - {"WSAProtocolInfo.ServiceFlags4", Field, 2}, - {"WSAProtocolInfo.SocketType", Field, 2}, - {"WSAProtocolInfo.Version", Field, 2}, - {"WSARecv", Func, 0}, - {"WSARecvFrom", Func, 0}, - {"WSASYS_STATUS_LEN", Const, 0}, - {"WSASend", Func, 0}, - {"WSASendTo", Func, 0}, - {"WSASendto", Func, 0}, - {"WSAStartup", Func, 0}, - {"WSTOPPED", Const, 0}, - {"WTRAPPED", Const, 1}, - {"WUNTRACED", Const, 0}, - {"Wait4", Func, 0}, - {"WaitForSingleObject", Func, 0}, - {"WaitStatus", Type, 0}, - {"WaitStatus.ExitCode", Field, 0}, - {"Win32FileAttributeData", Type, 0}, - {"Win32FileAttributeData.CreationTime", Field, 0}, - {"Win32FileAttributeData.FileAttributes", Field, 0}, - {"Win32FileAttributeData.FileSizeHigh", Field, 0}, - {"Win32FileAttributeData.FileSizeLow", Field, 0}, - {"Win32FileAttributeData.LastAccessTime", Field, 0}, - {"Win32FileAttributeData.LastWriteTime", Field, 0}, - {"Win32finddata", Type, 0}, - {"Win32finddata.AlternateFileName", Field, 0}, - {"Win32finddata.CreationTime", Field, 0}, - {"Win32finddata.FileAttributes", Field, 0}, - {"Win32finddata.FileName", Field, 0}, - {"Win32finddata.FileSizeHigh", Field, 0}, - {"Win32finddata.FileSizeLow", Field, 0}, - {"Win32finddata.LastAccessTime", Field, 0}, - {"Win32finddata.LastWriteTime", Field, 0}, - {"Win32finddata.Reserved0", Field, 0}, - {"Win32finddata.Reserved1", Field, 0}, - {"Write", Func, 0}, - {"WriteConsole", Func, 1}, - {"WriteFile", Func, 0}, - {"X509_ASN_ENCODING", Const, 0}, - {"XCASE", Const, 0}, - {"XP1_CONNECTIONLESS", Const, 2}, - {"XP1_CONNECT_DATA", Const, 2}, - {"XP1_DISCONNECT_DATA", Const, 2}, - {"XP1_EXPEDITED_DATA", Const, 2}, - {"XP1_GRACEFUL_CLOSE", Const, 2}, - {"XP1_GUARANTEED_DELIVERY", Const, 2}, - {"XP1_GUARANTEED_ORDER", Const, 2}, - {"XP1_IFS_HANDLES", Const, 2}, - {"XP1_MESSAGE_ORIENTED", Const, 2}, - {"XP1_MULTIPOINT_CONTROL_PLANE", Const, 2}, - {"XP1_MULTIPOINT_DATA_PLANE", Const, 2}, - {"XP1_PARTIAL_MESSAGE", Const, 2}, - {"XP1_PSEUDO_STREAM", Const, 2}, - {"XP1_QOS_SUPPORTED", Const, 2}, - {"XP1_SAN_SUPPORT_SDP", Const, 2}, - {"XP1_SUPPORT_BROADCAST", Const, 2}, - {"XP1_SUPPORT_MULTIPOINT", Const, 2}, - {"XP1_UNI_RECV", Const, 2}, - {"XP1_UNI_SEND", Const, 2}, + {"(*Cmsghdr).SetLen", Method, 0, ""}, + {"(*DLL).FindProc", Method, 0, ""}, + {"(*DLL).MustFindProc", Method, 0, ""}, + {"(*DLL).Release", Method, 0, ""}, + {"(*DLLError).Error", Method, 0, ""}, + {"(*DLLError).Unwrap", Method, 16, ""}, + {"(*Filetime).Nanoseconds", Method, 0, ""}, + {"(*Iovec).SetLen", Method, 0, ""}, + {"(*LazyDLL).Handle", Method, 0, ""}, + {"(*LazyDLL).Load", Method, 0, ""}, + {"(*LazyDLL).NewProc", Method, 0, ""}, + {"(*LazyProc).Addr", Method, 0, ""}, + {"(*LazyProc).Call", Method, 0, ""}, + {"(*LazyProc).Find", Method, 0, ""}, + {"(*Msghdr).SetControllen", Method, 0, ""}, + {"(*Proc).Addr", Method, 0, ""}, + {"(*Proc).Call", Method, 0, ""}, + {"(*PtraceRegs).PC", Method, 0, ""}, + {"(*PtraceRegs).SetPC", Method, 0, ""}, + {"(*RawSockaddrAny).Sockaddr", Method, 0, ""}, + {"(*SID).Copy", Method, 0, ""}, + {"(*SID).Len", Method, 0, ""}, + {"(*SID).LookupAccount", Method, 0, ""}, + {"(*SID).String", Method, 0, ""}, + {"(*Timespec).Nano", Method, 0, ""}, + {"(*Timespec).Unix", Method, 0, ""}, + {"(*Timeval).Nano", Method, 0, ""}, + {"(*Timeval).Nanoseconds", Method, 0, ""}, + {"(*Timeval).Unix", Method, 0, ""}, + {"(Errno).Error", Method, 0, ""}, + {"(Errno).Is", Method, 13, ""}, + {"(Errno).Temporary", Method, 0, ""}, + {"(Errno).Timeout", Method, 0, ""}, + {"(Signal).Signal", Method, 0, ""}, + {"(Signal).String", Method, 0, ""}, + {"(Token).Close", Method, 0, ""}, + {"(Token).GetTokenPrimaryGroup", Method, 0, ""}, + {"(Token).GetTokenUser", Method, 0, ""}, + {"(Token).GetUserProfileDirectory", Method, 0, ""}, + {"(WaitStatus).Continued", Method, 0, ""}, + {"(WaitStatus).CoreDump", Method, 0, ""}, + {"(WaitStatus).ExitStatus", Method, 0, ""}, + {"(WaitStatus).Exited", Method, 0, ""}, + {"(WaitStatus).Signal", Method, 0, ""}, + {"(WaitStatus).Signaled", Method, 0, ""}, + {"(WaitStatus).StopSignal", Method, 0, ""}, + {"(WaitStatus).Stopped", Method, 0, ""}, + {"(WaitStatus).TrapCause", Method, 0, ""}, + {"AF_ALG", Const, 0, ""}, + {"AF_APPLETALK", Const, 0, ""}, + {"AF_ARP", Const, 0, ""}, + {"AF_ASH", Const, 0, ""}, + {"AF_ATM", Const, 0, ""}, + {"AF_ATMPVC", Const, 0, ""}, + {"AF_ATMSVC", Const, 0, ""}, + {"AF_AX25", Const, 0, ""}, + {"AF_BLUETOOTH", Const, 0, ""}, + {"AF_BRIDGE", Const, 0, ""}, + {"AF_CAIF", Const, 0, ""}, + {"AF_CAN", Const, 0, ""}, + {"AF_CCITT", Const, 0, ""}, + {"AF_CHAOS", Const, 0, ""}, + {"AF_CNT", Const, 0, ""}, + {"AF_COIP", Const, 0, ""}, + {"AF_DATAKIT", Const, 0, ""}, + {"AF_DECnet", Const, 0, ""}, + {"AF_DLI", Const, 0, ""}, + {"AF_E164", Const, 0, ""}, + {"AF_ECMA", Const, 0, ""}, + {"AF_ECONET", Const, 0, ""}, + {"AF_ENCAP", Const, 1, ""}, + {"AF_FILE", Const, 0, ""}, + {"AF_HYLINK", Const, 0, ""}, + {"AF_IEEE80211", Const, 0, ""}, + {"AF_IEEE802154", Const, 0, ""}, + {"AF_IMPLINK", Const, 0, ""}, + {"AF_INET", Const, 0, ""}, + {"AF_INET6", Const, 0, ""}, + {"AF_INET6_SDP", Const, 3, ""}, + {"AF_INET_SDP", Const, 3, ""}, + {"AF_IPX", Const, 0, ""}, + {"AF_IRDA", Const, 0, ""}, + {"AF_ISDN", Const, 0, ""}, + {"AF_ISO", Const, 0, ""}, + {"AF_IUCV", Const, 0, ""}, + {"AF_KEY", Const, 0, ""}, + {"AF_LAT", Const, 0, ""}, + {"AF_LINK", Const, 0, ""}, + {"AF_LLC", Const, 0, ""}, + {"AF_LOCAL", Const, 0, ""}, + {"AF_MAX", Const, 0, ""}, + {"AF_MPLS", Const, 1, ""}, + {"AF_NATM", Const, 0, ""}, + {"AF_NDRV", Const, 0, ""}, + {"AF_NETBEUI", Const, 0, ""}, + {"AF_NETBIOS", Const, 0, ""}, + {"AF_NETGRAPH", Const, 0, ""}, + {"AF_NETLINK", Const, 0, ""}, + {"AF_NETROM", Const, 0, ""}, + {"AF_NS", Const, 0, ""}, + {"AF_OROUTE", Const, 1, ""}, + {"AF_OSI", Const, 0, ""}, + {"AF_PACKET", Const, 0, ""}, + {"AF_PHONET", Const, 0, ""}, + {"AF_PPP", Const, 0, ""}, + {"AF_PPPOX", Const, 0, ""}, + {"AF_PUP", Const, 0, ""}, + {"AF_RDS", Const, 0, ""}, + {"AF_RESERVED_36", Const, 0, ""}, + {"AF_ROSE", Const, 0, ""}, + {"AF_ROUTE", Const, 0, ""}, + {"AF_RXRPC", Const, 0, ""}, + {"AF_SCLUSTER", Const, 0, ""}, + {"AF_SECURITY", Const, 0, ""}, + {"AF_SIP", Const, 0, ""}, + {"AF_SLOW", Const, 0, ""}, + {"AF_SNA", Const, 0, ""}, + {"AF_SYSTEM", Const, 0, ""}, + {"AF_TIPC", Const, 0, ""}, + {"AF_UNIX", Const, 0, ""}, + {"AF_UNSPEC", Const, 0, ""}, + {"AF_UTUN", Const, 16, ""}, + {"AF_VENDOR00", Const, 0, ""}, + {"AF_VENDOR01", Const, 0, ""}, + {"AF_VENDOR02", Const, 0, ""}, + {"AF_VENDOR03", Const, 0, ""}, + {"AF_VENDOR04", Const, 0, ""}, + {"AF_VENDOR05", Const, 0, ""}, + {"AF_VENDOR06", Const, 0, ""}, + {"AF_VENDOR07", Const, 0, ""}, + {"AF_VENDOR08", Const, 0, ""}, + {"AF_VENDOR09", Const, 0, ""}, + {"AF_VENDOR10", Const, 0, ""}, + {"AF_VENDOR11", Const, 0, ""}, + {"AF_VENDOR12", Const, 0, ""}, + {"AF_VENDOR13", Const, 0, ""}, + {"AF_VENDOR14", Const, 0, ""}, + {"AF_VENDOR15", Const, 0, ""}, + {"AF_VENDOR16", Const, 0, ""}, + {"AF_VENDOR17", Const, 0, ""}, + {"AF_VENDOR18", Const, 0, ""}, + {"AF_VENDOR19", Const, 0, ""}, + {"AF_VENDOR20", Const, 0, ""}, + {"AF_VENDOR21", Const, 0, ""}, + {"AF_VENDOR22", Const, 0, ""}, + {"AF_VENDOR23", Const, 0, ""}, + {"AF_VENDOR24", Const, 0, ""}, + {"AF_VENDOR25", Const, 0, ""}, + {"AF_VENDOR26", Const, 0, ""}, + {"AF_VENDOR27", Const, 0, ""}, + {"AF_VENDOR28", Const, 0, ""}, + {"AF_VENDOR29", Const, 0, ""}, + {"AF_VENDOR30", Const, 0, ""}, + {"AF_VENDOR31", Const, 0, ""}, + {"AF_VENDOR32", Const, 0, ""}, + {"AF_VENDOR33", Const, 0, ""}, + {"AF_VENDOR34", Const, 0, ""}, + {"AF_VENDOR35", Const, 0, ""}, + {"AF_VENDOR36", Const, 0, ""}, + {"AF_VENDOR37", Const, 0, ""}, + {"AF_VENDOR38", Const, 0, ""}, + {"AF_VENDOR39", Const, 0, ""}, + {"AF_VENDOR40", Const, 0, ""}, + {"AF_VENDOR41", Const, 0, ""}, + {"AF_VENDOR42", Const, 0, ""}, + {"AF_VENDOR43", Const, 0, ""}, + {"AF_VENDOR44", Const, 0, ""}, + {"AF_VENDOR45", Const, 0, ""}, + {"AF_VENDOR46", Const, 0, ""}, + {"AF_VENDOR47", Const, 0, ""}, + {"AF_WANPIPE", Const, 0, ""}, + {"AF_X25", Const, 0, ""}, + {"AI_CANONNAME", Const, 1, ""}, + {"AI_NUMERICHOST", Const, 1, ""}, + {"AI_PASSIVE", Const, 1, ""}, + {"APPLICATION_ERROR", Const, 0, ""}, + {"ARPHRD_ADAPT", Const, 0, ""}, + {"ARPHRD_APPLETLK", Const, 0, ""}, + {"ARPHRD_ARCNET", Const, 0, ""}, + {"ARPHRD_ASH", Const, 0, ""}, + {"ARPHRD_ATM", Const, 0, ""}, + {"ARPHRD_AX25", Const, 0, ""}, + {"ARPHRD_BIF", Const, 0, ""}, + {"ARPHRD_CHAOS", Const, 0, ""}, + {"ARPHRD_CISCO", Const, 0, ""}, + {"ARPHRD_CSLIP", Const, 0, ""}, + {"ARPHRD_CSLIP6", Const, 0, ""}, + {"ARPHRD_DDCMP", Const, 0, ""}, + {"ARPHRD_DLCI", Const, 0, ""}, + {"ARPHRD_ECONET", Const, 0, ""}, + {"ARPHRD_EETHER", Const, 0, ""}, + {"ARPHRD_ETHER", Const, 0, ""}, + {"ARPHRD_EUI64", Const, 0, ""}, + {"ARPHRD_FCAL", Const, 0, ""}, + {"ARPHRD_FCFABRIC", Const, 0, ""}, + {"ARPHRD_FCPL", Const, 0, ""}, + {"ARPHRD_FCPP", Const, 0, ""}, + {"ARPHRD_FDDI", Const, 0, ""}, + {"ARPHRD_FRAD", Const, 0, ""}, + {"ARPHRD_FRELAY", Const, 1, ""}, + {"ARPHRD_HDLC", Const, 0, ""}, + {"ARPHRD_HIPPI", Const, 0, ""}, + {"ARPHRD_HWX25", Const, 0, ""}, + {"ARPHRD_IEEE1394", Const, 0, ""}, + {"ARPHRD_IEEE802", Const, 0, ""}, + {"ARPHRD_IEEE80211", Const, 0, ""}, + {"ARPHRD_IEEE80211_PRISM", Const, 0, ""}, + {"ARPHRD_IEEE80211_RADIOTAP", Const, 0, ""}, + {"ARPHRD_IEEE802154", Const, 0, ""}, + {"ARPHRD_IEEE802154_PHY", Const, 0, ""}, + {"ARPHRD_IEEE802_TR", Const, 0, ""}, + {"ARPHRD_INFINIBAND", Const, 0, ""}, + {"ARPHRD_IPDDP", Const, 0, ""}, + {"ARPHRD_IPGRE", Const, 0, ""}, + {"ARPHRD_IRDA", Const, 0, ""}, + {"ARPHRD_LAPB", Const, 0, ""}, + {"ARPHRD_LOCALTLK", Const, 0, ""}, + {"ARPHRD_LOOPBACK", Const, 0, ""}, + {"ARPHRD_METRICOM", Const, 0, ""}, + {"ARPHRD_NETROM", Const, 0, ""}, + {"ARPHRD_NONE", Const, 0, ""}, + {"ARPHRD_PIMREG", Const, 0, ""}, + {"ARPHRD_PPP", Const, 0, ""}, + {"ARPHRD_PRONET", Const, 0, ""}, + {"ARPHRD_RAWHDLC", Const, 0, ""}, + {"ARPHRD_ROSE", Const, 0, ""}, + {"ARPHRD_RSRVD", Const, 0, ""}, + {"ARPHRD_SIT", Const, 0, ""}, + {"ARPHRD_SKIP", Const, 0, ""}, + {"ARPHRD_SLIP", Const, 0, ""}, + {"ARPHRD_SLIP6", Const, 0, ""}, + {"ARPHRD_STRIP", Const, 1, ""}, + {"ARPHRD_TUNNEL", Const, 0, ""}, + {"ARPHRD_TUNNEL6", Const, 0, ""}, + {"ARPHRD_VOID", Const, 0, ""}, + {"ARPHRD_X25", Const, 0, ""}, + {"AUTHTYPE_CLIENT", Const, 0, ""}, + {"AUTHTYPE_SERVER", Const, 0, ""}, + {"Accept", Func, 0, "func(fd int) (nfd int, sa Sockaddr, err error)"}, + {"Accept4", Func, 1, "func(fd int, flags int) (nfd int, sa Sockaddr, err error)"}, + {"AcceptEx", Func, 0, ""}, + {"Access", Func, 0, "func(path string, mode uint32) (err error)"}, + {"Acct", Func, 0, "func(path string) (err error)"}, + {"AddrinfoW", Type, 1, ""}, + {"AddrinfoW.Addr", Field, 1, ""}, + {"AddrinfoW.Addrlen", Field, 1, ""}, + {"AddrinfoW.Canonname", Field, 1, ""}, + {"AddrinfoW.Family", Field, 1, ""}, + {"AddrinfoW.Flags", Field, 1, ""}, + {"AddrinfoW.Next", Field, 1, ""}, + {"AddrinfoW.Protocol", Field, 1, ""}, + {"AddrinfoW.Socktype", Field, 1, ""}, + {"Adjtime", Func, 0, ""}, + {"Adjtimex", Func, 0, "func(buf *Timex) (state int, err error)"}, + {"AllThreadsSyscall", Func, 16, "func(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr) (r1 uintptr, r2 uintptr, err Errno)"}, + {"AllThreadsSyscall6", Func, 16, "func(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr, a4 uintptr, a5 uintptr, a6 uintptr) (r1 uintptr, r2 uintptr, err Errno)"}, + {"AttachLsf", Func, 0, "func(fd int, i []SockFilter) error"}, + {"B0", Const, 0, ""}, + {"B1000000", Const, 0, ""}, + {"B110", Const, 0, ""}, + {"B115200", Const, 0, ""}, + {"B1152000", Const, 0, ""}, + {"B1200", Const, 0, ""}, + {"B134", Const, 0, ""}, + {"B14400", Const, 1, ""}, + {"B150", Const, 0, ""}, + {"B1500000", Const, 0, ""}, + {"B1800", Const, 0, ""}, + {"B19200", Const, 0, ""}, + {"B200", Const, 0, ""}, + {"B2000000", Const, 0, ""}, + {"B230400", Const, 0, ""}, + {"B2400", Const, 0, ""}, + {"B2500000", Const, 0, ""}, + {"B28800", Const, 1, ""}, + {"B300", Const, 0, ""}, + {"B3000000", Const, 0, ""}, + {"B3500000", Const, 0, ""}, + {"B38400", Const, 0, ""}, + {"B4000000", Const, 0, ""}, + {"B460800", Const, 0, ""}, + {"B4800", Const, 0, ""}, + {"B50", Const, 0, ""}, + {"B500000", Const, 0, ""}, + {"B57600", Const, 0, ""}, + {"B576000", Const, 0, ""}, + {"B600", Const, 0, ""}, + {"B7200", Const, 1, ""}, + {"B75", Const, 0, ""}, + {"B76800", Const, 1, ""}, + {"B921600", Const, 0, ""}, + {"B9600", Const, 0, ""}, + {"BASE_PROTOCOL", Const, 2, ""}, + {"BIOCFEEDBACK", Const, 0, ""}, + {"BIOCFLUSH", Const, 0, ""}, + {"BIOCGBLEN", Const, 0, ""}, + {"BIOCGDIRECTION", Const, 0, ""}, + {"BIOCGDIRFILT", Const, 1, ""}, + {"BIOCGDLT", Const, 0, ""}, + {"BIOCGDLTLIST", Const, 0, ""}, + {"BIOCGETBUFMODE", Const, 0, ""}, + {"BIOCGETIF", Const, 0, ""}, + {"BIOCGETZMAX", Const, 0, ""}, + {"BIOCGFEEDBACK", Const, 1, ""}, + {"BIOCGFILDROP", Const, 1, ""}, + {"BIOCGHDRCMPLT", Const, 0, ""}, + {"BIOCGRSIG", Const, 0, ""}, + {"BIOCGRTIMEOUT", Const, 0, ""}, + {"BIOCGSEESENT", Const, 0, ""}, + {"BIOCGSTATS", Const, 0, ""}, + {"BIOCGSTATSOLD", Const, 1, ""}, + {"BIOCGTSTAMP", Const, 1, ""}, + {"BIOCIMMEDIATE", Const, 0, ""}, + {"BIOCLOCK", Const, 0, ""}, + {"BIOCPROMISC", Const, 0, ""}, + {"BIOCROTZBUF", Const, 0, ""}, + {"BIOCSBLEN", Const, 0, ""}, + {"BIOCSDIRECTION", Const, 0, ""}, + {"BIOCSDIRFILT", Const, 1, ""}, + {"BIOCSDLT", Const, 0, ""}, + {"BIOCSETBUFMODE", Const, 0, ""}, + {"BIOCSETF", Const, 0, ""}, + {"BIOCSETFNR", Const, 0, ""}, + {"BIOCSETIF", Const, 0, ""}, + {"BIOCSETWF", Const, 0, ""}, + {"BIOCSETZBUF", Const, 0, ""}, + {"BIOCSFEEDBACK", Const, 1, ""}, + {"BIOCSFILDROP", Const, 1, ""}, + {"BIOCSHDRCMPLT", Const, 0, ""}, + {"BIOCSRSIG", Const, 0, ""}, + {"BIOCSRTIMEOUT", Const, 0, ""}, + {"BIOCSSEESENT", Const, 0, ""}, + {"BIOCSTCPF", Const, 1, ""}, + {"BIOCSTSTAMP", Const, 1, ""}, + {"BIOCSUDPF", Const, 1, ""}, + {"BIOCVERSION", Const, 0, ""}, + {"BPF_A", Const, 0, ""}, + {"BPF_ABS", Const, 0, ""}, + {"BPF_ADD", Const, 0, ""}, + {"BPF_ALIGNMENT", Const, 0, ""}, + {"BPF_ALIGNMENT32", Const, 1, ""}, + {"BPF_ALU", Const, 0, ""}, + {"BPF_AND", Const, 0, ""}, + {"BPF_B", Const, 0, ""}, + {"BPF_BUFMODE_BUFFER", Const, 0, ""}, + {"BPF_BUFMODE_ZBUF", Const, 0, ""}, + {"BPF_DFLTBUFSIZE", Const, 1, ""}, + {"BPF_DIRECTION_IN", Const, 1, ""}, + {"BPF_DIRECTION_OUT", Const, 1, ""}, + {"BPF_DIV", Const, 0, ""}, + {"BPF_H", Const, 0, ""}, + {"BPF_IMM", Const, 0, ""}, + {"BPF_IND", Const, 0, ""}, + {"BPF_JA", Const, 0, ""}, + {"BPF_JEQ", Const, 0, ""}, + {"BPF_JGE", Const, 0, ""}, + {"BPF_JGT", Const, 0, ""}, + {"BPF_JMP", Const, 0, ""}, + {"BPF_JSET", Const, 0, ""}, + {"BPF_K", Const, 0, ""}, + {"BPF_LD", Const, 0, ""}, + {"BPF_LDX", Const, 0, ""}, + {"BPF_LEN", Const, 0, ""}, + {"BPF_LSH", Const, 0, ""}, + {"BPF_MAJOR_VERSION", Const, 0, ""}, + {"BPF_MAXBUFSIZE", Const, 0, ""}, + {"BPF_MAXINSNS", Const, 0, ""}, + {"BPF_MEM", Const, 0, ""}, + {"BPF_MEMWORDS", Const, 0, ""}, + {"BPF_MINBUFSIZE", Const, 0, ""}, + {"BPF_MINOR_VERSION", Const, 0, ""}, + {"BPF_MISC", Const, 0, ""}, + {"BPF_MSH", Const, 0, ""}, + {"BPF_MUL", Const, 0, ""}, + {"BPF_NEG", Const, 0, ""}, + {"BPF_OR", Const, 0, ""}, + {"BPF_RELEASE", Const, 0, ""}, + {"BPF_RET", Const, 0, ""}, + {"BPF_RSH", Const, 0, ""}, + {"BPF_ST", Const, 0, ""}, + {"BPF_STX", Const, 0, ""}, + {"BPF_SUB", Const, 0, ""}, + {"BPF_TAX", Const, 0, ""}, + {"BPF_TXA", Const, 0, ""}, + {"BPF_T_BINTIME", Const, 1, ""}, + {"BPF_T_BINTIME_FAST", Const, 1, ""}, + {"BPF_T_BINTIME_MONOTONIC", Const, 1, ""}, + {"BPF_T_BINTIME_MONOTONIC_FAST", Const, 1, ""}, + {"BPF_T_FAST", Const, 1, ""}, + {"BPF_T_FLAG_MASK", Const, 1, ""}, + {"BPF_T_FORMAT_MASK", Const, 1, ""}, + {"BPF_T_MICROTIME", Const, 1, ""}, + {"BPF_T_MICROTIME_FAST", Const, 1, ""}, + {"BPF_T_MICROTIME_MONOTONIC", Const, 1, ""}, + {"BPF_T_MICROTIME_MONOTONIC_FAST", Const, 1, ""}, + {"BPF_T_MONOTONIC", Const, 1, ""}, + {"BPF_T_MONOTONIC_FAST", Const, 1, ""}, + {"BPF_T_NANOTIME", Const, 1, ""}, + {"BPF_T_NANOTIME_FAST", Const, 1, ""}, + {"BPF_T_NANOTIME_MONOTONIC", Const, 1, ""}, + {"BPF_T_NANOTIME_MONOTONIC_FAST", Const, 1, ""}, + {"BPF_T_NONE", Const, 1, ""}, + {"BPF_T_NORMAL", Const, 1, ""}, + {"BPF_W", Const, 0, ""}, + {"BPF_X", Const, 0, ""}, + {"BRKINT", Const, 0, ""}, + {"Bind", Func, 0, "func(fd int, sa Sockaddr) (err error)"}, + {"BindToDevice", Func, 0, "func(fd int, device string) (err error)"}, + {"BpfBuflen", Func, 0, ""}, + {"BpfDatalink", Func, 0, ""}, + {"BpfHdr", Type, 0, ""}, + {"BpfHdr.Caplen", Field, 0, ""}, + {"BpfHdr.Datalen", Field, 0, ""}, + {"BpfHdr.Hdrlen", Field, 0, ""}, + {"BpfHdr.Pad_cgo_0", Field, 0, ""}, + {"BpfHdr.Tstamp", Field, 0, ""}, + {"BpfHeadercmpl", Func, 0, ""}, + {"BpfInsn", Type, 0, ""}, + {"BpfInsn.Code", Field, 0, ""}, + {"BpfInsn.Jf", Field, 0, ""}, + {"BpfInsn.Jt", Field, 0, ""}, + {"BpfInsn.K", Field, 0, ""}, + {"BpfInterface", Func, 0, ""}, + {"BpfJump", Func, 0, ""}, + {"BpfProgram", Type, 0, ""}, + {"BpfProgram.Insns", Field, 0, ""}, + {"BpfProgram.Len", Field, 0, ""}, + {"BpfProgram.Pad_cgo_0", Field, 0, ""}, + {"BpfStat", Type, 0, ""}, + {"BpfStat.Capt", Field, 2, ""}, + {"BpfStat.Drop", Field, 0, ""}, + {"BpfStat.Padding", Field, 2, ""}, + {"BpfStat.Recv", Field, 0, ""}, + {"BpfStats", Func, 0, ""}, + {"BpfStmt", Func, 0, ""}, + {"BpfTimeout", Func, 0, ""}, + {"BpfTimeval", Type, 2, ""}, + {"BpfTimeval.Sec", Field, 2, ""}, + {"BpfTimeval.Usec", Field, 2, ""}, + {"BpfVersion", Type, 0, ""}, + {"BpfVersion.Major", Field, 0, ""}, + {"BpfVersion.Minor", Field, 0, ""}, + {"BpfZbuf", Type, 0, ""}, + {"BpfZbuf.Bufa", Field, 0, ""}, + {"BpfZbuf.Bufb", Field, 0, ""}, + {"BpfZbuf.Buflen", Field, 0, ""}, + {"BpfZbufHeader", Type, 0, ""}, + {"BpfZbufHeader.Kernel_gen", Field, 0, ""}, + {"BpfZbufHeader.Kernel_len", Field, 0, ""}, + {"BpfZbufHeader.User_gen", Field, 0, ""}, + {"BpfZbufHeader.X_bzh_pad", Field, 0, ""}, + {"ByHandleFileInformation", Type, 0, ""}, + {"ByHandleFileInformation.CreationTime", Field, 0, ""}, + {"ByHandleFileInformation.FileAttributes", Field, 0, ""}, + {"ByHandleFileInformation.FileIndexHigh", Field, 0, ""}, + {"ByHandleFileInformation.FileIndexLow", Field, 0, ""}, + {"ByHandleFileInformation.FileSizeHigh", Field, 0, ""}, + {"ByHandleFileInformation.FileSizeLow", Field, 0, ""}, + {"ByHandleFileInformation.LastAccessTime", Field, 0, ""}, + {"ByHandleFileInformation.LastWriteTime", Field, 0, ""}, + {"ByHandleFileInformation.NumberOfLinks", Field, 0, ""}, + {"ByHandleFileInformation.VolumeSerialNumber", Field, 0, ""}, + {"BytePtrFromString", Func, 1, "func(s string) (*byte, error)"}, + {"ByteSliceFromString", Func, 1, "func(s string) ([]byte, error)"}, + {"CCR0_FLUSH", Const, 1, ""}, + {"CERT_CHAIN_POLICY_AUTHENTICODE", Const, 0, ""}, + {"CERT_CHAIN_POLICY_AUTHENTICODE_TS", Const, 0, ""}, + {"CERT_CHAIN_POLICY_BASE", Const, 0, ""}, + {"CERT_CHAIN_POLICY_BASIC_CONSTRAINTS", Const, 0, ""}, + {"CERT_CHAIN_POLICY_EV", Const, 0, ""}, + {"CERT_CHAIN_POLICY_MICROSOFT_ROOT", Const, 0, ""}, + {"CERT_CHAIN_POLICY_NT_AUTH", Const, 0, ""}, + {"CERT_CHAIN_POLICY_SSL", Const, 0, ""}, + {"CERT_E_CN_NO_MATCH", Const, 0, ""}, + {"CERT_E_EXPIRED", Const, 0, ""}, + {"CERT_E_PURPOSE", Const, 0, ""}, + {"CERT_E_ROLE", Const, 0, ""}, + {"CERT_E_UNTRUSTEDROOT", Const, 0, ""}, + {"CERT_STORE_ADD_ALWAYS", Const, 0, ""}, + {"CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG", Const, 0, ""}, + {"CERT_STORE_PROV_MEMORY", Const, 0, ""}, + {"CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT", Const, 0, ""}, + {"CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT", Const, 0, ""}, + {"CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT", Const, 0, ""}, + {"CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT", Const, 0, ""}, + {"CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT", Const, 0, ""}, + {"CERT_TRUST_INVALID_BASIC_CONSTRAINTS", Const, 0, ""}, + {"CERT_TRUST_INVALID_EXTENSION", Const, 0, ""}, + {"CERT_TRUST_INVALID_NAME_CONSTRAINTS", Const, 0, ""}, + {"CERT_TRUST_INVALID_POLICY_CONSTRAINTS", Const, 0, ""}, + {"CERT_TRUST_IS_CYCLIC", Const, 0, ""}, + {"CERT_TRUST_IS_EXPLICIT_DISTRUST", Const, 0, ""}, + {"CERT_TRUST_IS_NOT_SIGNATURE_VALID", Const, 0, ""}, + {"CERT_TRUST_IS_NOT_TIME_VALID", Const, 0, ""}, + {"CERT_TRUST_IS_NOT_VALID_FOR_USAGE", Const, 0, ""}, + {"CERT_TRUST_IS_OFFLINE_REVOCATION", Const, 0, ""}, + {"CERT_TRUST_IS_REVOKED", Const, 0, ""}, + {"CERT_TRUST_IS_UNTRUSTED_ROOT", Const, 0, ""}, + {"CERT_TRUST_NO_ERROR", Const, 0, ""}, + {"CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY", Const, 0, ""}, + {"CERT_TRUST_REVOCATION_STATUS_UNKNOWN", Const, 0, ""}, + {"CFLUSH", Const, 1, ""}, + {"CLOCAL", Const, 0, ""}, + {"CLONE_CHILD_CLEARTID", Const, 2, ""}, + {"CLONE_CHILD_SETTID", Const, 2, ""}, + {"CLONE_CLEAR_SIGHAND", Const, 20, ""}, + {"CLONE_CSIGNAL", Const, 3, ""}, + {"CLONE_DETACHED", Const, 2, ""}, + {"CLONE_FILES", Const, 2, ""}, + {"CLONE_FS", Const, 2, ""}, + {"CLONE_INTO_CGROUP", Const, 20, ""}, + {"CLONE_IO", Const, 2, ""}, + {"CLONE_NEWCGROUP", Const, 20, ""}, + {"CLONE_NEWIPC", Const, 2, ""}, + {"CLONE_NEWNET", Const, 2, ""}, + {"CLONE_NEWNS", Const, 2, ""}, + {"CLONE_NEWPID", Const, 2, ""}, + {"CLONE_NEWTIME", Const, 20, ""}, + {"CLONE_NEWUSER", Const, 2, ""}, + {"CLONE_NEWUTS", Const, 2, ""}, + {"CLONE_PARENT", Const, 2, ""}, + {"CLONE_PARENT_SETTID", Const, 2, ""}, + {"CLONE_PID", Const, 3, ""}, + {"CLONE_PIDFD", Const, 20, ""}, + {"CLONE_PTRACE", Const, 2, ""}, + {"CLONE_SETTLS", Const, 2, ""}, + {"CLONE_SIGHAND", Const, 2, ""}, + {"CLONE_SYSVSEM", Const, 2, ""}, + {"CLONE_THREAD", Const, 2, ""}, + {"CLONE_UNTRACED", Const, 2, ""}, + {"CLONE_VFORK", Const, 2, ""}, + {"CLONE_VM", Const, 2, ""}, + {"CPUID_CFLUSH", Const, 1, ""}, + {"CREAD", Const, 0, ""}, + {"CREATE_ALWAYS", Const, 0, ""}, + {"CREATE_NEW", Const, 0, ""}, + {"CREATE_NEW_PROCESS_GROUP", Const, 1, ""}, + {"CREATE_UNICODE_ENVIRONMENT", Const, 0, ""}, + {"CRYPT_DEFAULT_CONTAINER_OPTIONAL", Const, 0, ""}, + {"CRYPT_DELETEKEYSET", Const, 0, ""}, + {"CRYPT_MACHINE_KEYSET", Const, 0, ""}, + {"CRYPT_NEWKEYSET", Const, 0, ""}, + {"CRYPT_SILENT", Const, 0, ""}, + {"CRYPT_VERIFYCONTEXT", Const, 0, ""}, + {"CS5", Const, 0, ""}, + {"CS6", Const, 0, ""}, + {"CS7", Const, 0, ""}, + {"CS8", Const, 0, ""}, + {"CSIZE", Const, 0, ""}, + {"CSTART", Const, 1, ""}, + {"CSTATUS", Const, 1, ""}, + {"CSTOP", Const, 1, ""}, + {"CSTOPB", Const, 0, ""}, + {"CSUSP", Const, 1, ""}, + {"CTL_MAXNAME", Const, 0, ""}, + {"CTL_NET", Const, 0, ""}, + {"CTL_QUERY", Const, 1, ""}, + {"CTRL_BREAK_EVENT", Const, 1, ""}, + {"CTRL_CLOSE_EVENT", Const, 14, ""}, + {"CTRL_C_EVENT", Const, 1, ""}, + {"CTRL_LOGOFF_EVENT", Const, 14, ""}, + {"CTRL_SHUTDOWN_EVENT", Const, 14, ""}, + {"CancelIo", Func, 0, ""}, + {"CancelIoEx", Func, 1, ""}, + {"CertAddCertificateContextToStore", Func, 0, ""}, + {"CertChainContext", Type, 0, ""}, + {"CertChainContext.ChainCount", Field, 0, ""}, + {"CertChainContext.Chains", Field, 0, ""}, + {"CertChainContext.HasRevocationFreshnessTime", Field, 0, ""}, + {"CertChainContext.LowerQualityChainCount", Field, 0, ""}, + {"CertChainContext.LowerQualityChains", Field, 0, ""}, + {"CertChainContext.RevocationFreshnessTime", Field, 0, ""}, + {"CertChainContext.Size", Field, 0, ""}, + {"CertChainContext.TrustStatus", Field, 0, ""}, + {"CertChainElement", Type, 0, ""}, + {"CertChainElement.ApplicationUsage", Field, 0, ""}, + {"CertChainElement.CertContext", Field, 0, ""}, + {"CertChainElement.ExtendedErrorInfo", Field, 0, ""}, + {"CertChainElement.IssuanceUsage", Field, 0, ""}, + {"CertChainElement.RevocationInfo", Field, 0, ""}, + {"CertChainElement.Size", Field, 0, ""}, + {"CertChainElement.TrustStatus", Field, 0, ""}, + {"CertChainPara", Type, 0, ""}, + {"CertChainPara.CacheResync", Field, 0, ""}, + {"CertChainPara.CheckRevocationFreshnessTime", Field, 0, ""}, + {"CertChainPara.RequestedUsage", Field, 0, ""}, + {"CertChainPara.RequstedIssuancePolicy", Field, 0, ""}, + {"CertChainPara.RevocationFreshnessTime", Field, 0, ""}, + {"CertChainPara.Size", Field, 0, ""}, + {"CertChainPara.URLRetrievalTimeout", Field, 0, ""}, + {"CertChainPolicyPara", Type, 0, ""}, + {"CertChainPolicyPara.ExtraPolicyPara", Field, 0, ""}, + {"CertChainPolicyPara.Flags", Field, 0, ""}, + {"CertChainPolicyPara.Size", Field, 0, ""}, + {"CertChainPolicyStatus", Type, 0, ""}, + {"CertChainPolicyStatus.ChainIndex", Field, 0, ""}, + {"CertChainPolicyStatus.ElementIndex", Field, 0, ""}, + {"CertChainPolicyStatus.Error", Field, 0, ""}, + {"CertChainPolicyStatus.ExtraPolicyStatus", Field, 0, ""}, + {"CertChainPolicyStatus.Size", Field, 0, ""}, + {"CertCloseStore", Func, 0, ""}, + {"CertContext", Type, 0, ""}, + {"CertContext.CertInfo", Field, 0, ""}, + {"CertContext.EncodedCert", Field, 0, ""}, + {"CertContext.EncodingType", Field, 0, ""}, + {"CertContext.Length", Field, 0, ""}, + {"CertContext.Store", Field, 0, ""}, + {"CertCreateCertificateContext", Func, 0, ""}, + {"CertEnhKeyUsage", Type, 0, ""}, + {"CertEnhKeyUsage.Length", Field, 0, ""}, + {"CertEnhKeyUsage.UsageIdentifiers", Field, 0, ""}, + {"CertEnumCertificatesInStore", Func, 0, ""}, + {"CertFreeCertificateChain", Func, 0, ""}, + {"CertFreeCertificateContext", Func, 0, ""}, + {"CertGetCertificateChain", Func, 0, ""}, + {"CertInfo", Type, 11, ""}, + {"CertOpenStore", Func, 0, ""}, + {"CertOpenSystemStore", Func, 0, ""}, + {"CertRevocationCrlInfo", Type, 11, ""}, + {"CertRevocationInfo", Type, 0, ""}, + {"CertRevocationInfo.CrlInfo", Field, 0, ""}, + {"CertRevocationInfo.FreshnessTime", Field, 0, ""}, + {"CertRevocationInfo.HasFreshnessTime", Field, 0, ""}, + {"CertRevocationInfo.OidSpecificInfo", Field, 0, ""}, + {"CertRevocationInfo.RevocationOid", Field, 0, ""}, + {"CertRevocationInfo.RevocationResult", Field, 0, ""}, + {"CertRevocationInfo.Size", Field, 0, ""}, + {"CertSimpleChain", Type, 0, ""}, + {"CertSimpleChain.Elements", Field, 0, ""}, + {"CertSimpleChain.HasRevocationFreshnessTime", Field, 0, ""}, + {"CertSimpleChain.NumElements", Field, 0, ""}, + {"CertSimpleChain.RevocationFreshnessTime", Field, 0, ""}, + {"CertSimpleChain.Size", Field, 0, ""}, + {"CertSimpleChain.TrustListInfo", Field, 0, ""}, + {"CertSimpleChain.TrustStatus", Field, 0, ""}, + {"CertTrustListInfo", Type, 11, ""}, + {"CertTrustStatus", Type, 0, ""}, + {"CertTrustStatus.ErrorStatus", Field, 0, ""}, + {"CertTrustStatus.InfoStatus", Field, 0, ""}, + {"CertUsageMatch", Type, 0, ""}, + {"CertUsageMatch.Type", Field, 0, ""}, + {"CertUsageMatch.Usage", Field, 0, ""}, + {"CertVerifyCertificateChainPolicy", Func, 0, ""}, + {"Chdir", Func, 0, "func(path string) (err error)"}, + {"CheckBpfVersion", Func, 0, ""}, + {"Chflags", Func, 0, ""}, + {"Chmod", Func, 0, "func(path string, mode uint32) (err error)"}, + {"Chown", Func, 0, "func(path string, uid int, gid int) (err error)"}, + {"Chroot", Func, 0, "func(path string) (err error)"}, + {"Clearenv", Func, 0, "func()"}, + {"Close", Func, 0, "func(fd int) (err error)"}, + {"CloseHandle", Func, 0, ""}, + {"CloseOnExec", Func, 0, "func(fd int)"}, + {"Closesocket", Func, 0, ""}, + {"CmsgLen", Func, 0, "func(datalen int) int"}, + {"CmsgSpace", Func, 0, "func(datalen int) int"}, + {"Cmsghdr", Type, 0, ""}, + {"Cmsghdr.Len", Field, 0, ""}, + {"Cmsghdr.Level", Field, 0, ""}, + {"Cmsghdr.Type", Field, 0, ""}, + {"Cmsghdr.X__cmsg_data", Field, 0, ""}, + {"CommandLineToArgv", Func, 0, ""}, + {"ComputerName", Func, 0, ""}, + {"Conn", Type, 9, ""}, + {"Connect", Func, 0, "func(fd int, sa Sockaddr) (err error)"}, + {"ConnectEx", Func, 1, ""}, + {"ConvertSidToStringSid", Func, 0, ""}, + {"ConvertStringSidToSid", Func, 0, ""}, + {"CopySid", Func, 0, ""}, + {"Creat", Func, 0, "func(path string, mode uint32) (fd int, err error)"}, + {"CreateDirectory", Func, 0, ""}, + {"CreateFile", Func, 0, ""}, + {"CreateFileMapping", Func, 0, ""}, + {"CreateHardLink", Func, 4, ""}, + {"CreateIoCompletionPort", Func, 0, ""}, + {"CreatePipe", Func, 0, ""}, + {"CreateProcess", Func, 0, ""}, + {"CreateProcessAsUser", Func, 10, ""}, + {"CreateSymbolicLink", Func, 4, ""}, + {"CreateToolhelp32Snapshot", Func, 4, ""}, + {"Credential", Type, 0, ""}, + {"Credential.Gid", Field, 0, ""}, + {"Credential.Groups", Field, 0, ""}, + {"Credential.NoSetGroups", Field, 9, ""}, + {"Credential.Uid", Field, 0, ""}, + {"CryptAcquireContext", Func, 0, ""}, + {"CryptGenRandom", Func, 0, ""}, + {"CryptReleaseContext", Func, 0, ""}, + {"DIOCBSFLUSH", Const, 1, ""}, + {"DIOCOSFPFLUSH", Const, 1, ""}, + {"DLL", Type, 0, ""}, + {"DLL.Handle", Field, 0, ""}, + {"DLL.Name", Field, 0, ""}, + {"DLLError", Type, 0, ""}, + {"DLLError.Err", Field, 0, ""}, + {"DLLError.Msg", Field, 0, ""}, + {"DLLError.ObjName", Field, 0, ""}, + {"DLT_A429", Const, 0, ""}, + {"DLT_A653_ICM", Const, 0, ""}, + {"DLT_AIRONET_HEADER", Const, 0, ""}, + {"DLT_AOS", Const, 1, ""}, + {"DLT_APPLE_IP_OVER_IEEE1394", Const, 0, ""}, + {"DLT_ARCNET", Const, 0, ""}, + {"DLT_ARCNET_LINUX", Const, 0, ""}, + {"DLT_ATM_CLIP", Const, 0, ""}, + {"DLT_ATM_RFC1483", Const, 0, ""}, + {"DLT_AURORA", Const, 0, ""}, + {"DLT_AX25", Const, 0, ""}, + {"DLT_AX25_KISS", Const, 0, ""}, + {"DLT_BACNET_MS_TP", Const, 0, ""}, + {"DLT_BLUETOOTH_HCI_H4", Const, 0, ""}, + {"DLT_BLUETOOTH_HCI_H4_WITH_PHDR", Const, 0, ""}, + {"DLT_CAN20B", Const, 0, ""}, + {"DLT_CAN_SOCKETCAN", Const, 1, ""}, + {"DLT_CHAOS", Const, 0, ""}, + {"DLT_CHDLC", Const, 0, ""}, + {"DLT_CISCO_IOS", Const, 0, ""}, + {"DLT_C_HDLC", Const, 0, ""}, + {"DLT_C_HDLC_WITH_DIR", Const, 0, ""}, + {"DLT_DBUS", Const, 1, ""}, + {"DLT_DECT", Const, 1, ""}, + {"DLT_DOCSIS", Const, 0, ""}, + {"DLT_DVB_CI", Const, 1, ""}, + {"DLT_ECONET", Const, 0, ""}, + {"DLT_EN10MB", Const, 0, ""}, + {"DLT_EN3MB", Const, 0, ""}, + {"DLT_ENC", Const, 0, ""}, + {"DLT_ERF", Const, 0, ""}, + {"DLT_ERF_ETH", Const, 0, ""}, + {"DLT_ERF_POS", Const, 0, ""}, + {"DLT_FC_2", Const, 1, ""}, + {"DLT_FC_2_WITH_FRAME_DELIMS", Const, 1, ""}, + {"DLT_FDDI", Const, 0, ""}, + {"DLT_FLEXRAY", Const, 0, ""}, + {"DLT_FRELAY", Const, 0, ""}, + {"DLT_FRELAY_WITH_DIR", Const, 0, ""}, + {"DLT_GCOM_SERIAL", Const, 0, ""}, + {"DLT_GCOM_T1E1", Const, 0, ""}, + {"DLT_GPF_F", Const, 0, ""}, + {"DLT_GPF_T", Const, 0, ""}, + {"DLT_GPRS_LLC", Const, 0, ""}, + {"DLT_GSMTAP_ABIS", Const, 1, ""}, + {"DLT_GSMTAP_UM", Const, 1, ""}, + {"DLT_HDLC", Const, 1, ""}, + {"DLT_HHDLC", Const, 0, ""}, + {"DLT_HIPPI", Const, 1, ""}, + {"DLT_IBM_SN", Const, 0, ""}, + {"DLT_IBM_SP", Const, 0, ""}, + {"DLT_IEEE802", Const, 0, ""}, + {"DLT_IEEE802_11", Const, 0, ""}, + {"DLT_IEEE802_11_RADIO", Const, 0, ""}, + {"DLT_IEEE802_11_RADIO_AVS", Const, 0, ""}, + {"DLT_IEEE802_15_4", Const, 0, ""}, + {"DLT_IEEE802_15_4_LINUX", Const, 0, ""}, + {"DLT_IEEE802_15_4_NOFCS", Const, 1, ""}, + {"DLT_IEEE802_15_4_NONASK_PHY", Const, 0, ""}, + {"DLT_IEEE802_16_MAC_CPS", Const, 0, ""}, + {"DLT_IEEE802_16_MAC_CPS_RADIO", Const, 0, ""}, + {"DLT_IPFILTER", Const, 0, ""}, + {"DLT_IPMB", Const, 0, ""}, + {"DLT_IPMB_LINUX", Const, 0, ""}, + {"DLT_IPNET", Const, 1, ""}, + {"DLT_IPOIB", Const, 1, ""}, + {"DLT_IPV4", Const, 1, ""}, + {"DLT_IPV6", Const, 1, ""}, + {"DLT_IP_OVER_FC", Const, 0, ""}, + {"DLT_JUNIPER_ATM1", Const, 0, ""}, + {"DLT_JUNIPER_ATM2", Const, 0, ""}, + {"DLT_JUNIPER_ATM_CEMIC", Const, 1, ""}, + {"DLT_JUNIPER_CHDLC", Const, 0, ""}, + {"DLT_JUNIPER_ES", Const, 0, ""}, + {"DLT_JUNIPER_ETHER", Const, 0, ""}, + {"DLT_JUNIPER_FIBRECHANNEL", Const, 1, ""}, + {"DLT_JUNIPER_FRELAY", Const, 0, ""}, + {"DLT_JUNIPER_GGSN", Const, 0, ""}, + {"DLT_JUNIPER_ISM", Const, 0, ""}, + {"DLT_JUNIPER_MFR", Const, 0, ""}, + {"DLT_JUNIPER_MLFR", Const, 0, ""}, + {"DLT_JUNIPER_MLPPP", Const, 0, ""}, + {"DLT_JUNIPER_MONITOR", Const, 0, ""}, + {"DLT_JUNIPER_PIC_PEER", Const, 0, ""}, + {"DLT_JUNIPER_PPP", Const, 0, ""}, + {"DLT_JUNIPER_PPPOE", Const, 0, ""}, + {"DLT_JUNIPER_PPPOE_ATM", Const, 0, ""}, + {"DLT_JUNIPER_SERVICES", Const, 0, ""}, + {"DLT_JUNIPER_SRX_E2E", Const, 1, ""}, + {"DLT_JUNIPER_ST", Const, 0, ""}, + {"DLT_JUNIPER_VP", Const, 0, ""}, + {"DLT_JUNIPER_VS", Const, 1, ""}, + {"DLT_LAPB_WITH_DIR", Const, 0, ""}, + {"DLT_LAPD", Const, 0, ""}, + {"DLT_LIN", Const, 0, ""}, + {"DLT_LINUX_EVDEV", Const, 1, ""}, + {"DLT_LINUX_IRDA", Const, 0, ""}, + {"DLT_LINUX_LAPD", Const, 0, ""}, + {"DLT_LINUX_PPP_WITHDIRECTION", Const, 0, ""}, + {"DLT_LINUX_SLL", Const, 0, ""}, + {"DLT_LOOP", Const, 0, ""}, + {"DLT_LTALK", Const, 0, ""}, + {"DLT_MATCHING_MAX", Const, 1, ""}, + {"DLT_MATCHING_MIN", Const, 1, ""}, + {"DLT_MFR", Const, 0, ""}, + {"DLT_MOST", Const, 0, ""}, + {"DLT_MPEG_2_TS", Const, 1, ""}, + {"DLT_MPLS", Const, 1, ""}, + {"DLT_MTP2", Const, 0, ""}, + {"DLT_MTP2_WITH_PHDR", Const, 0, ""}, + {"DLT_MTP3", Const, 0, ""}, + {"DLT_MUX27010", Const, 1, ""}, + {"DLT_NETANALYZER", Const, 1, ""}, + {"DLT_NETANALYZER_TRANSPARENT", Const, 1, ""}, + {"DLT_NFC_LLCP", Const, 1, ""}, + {"DLT_NFLOG", Const, 1, ""}, + {"DLT_NG40", Const, 1, ""}, + {"DLT_NULL", Const, 0, ""}, + {"DLT_PCI_EXP", Const, 0, ""}, + {"DLT_PFLOG", Const, 0, ""}, + {"DLT_PFSYNC", Const, 0, ""}, + {"DLT_PPI", Const, 0, ""}, + {"DLT_PPP", Const, 0, ""}, + {"DLT_PPP_BSDOS", Const, 0, ""}, + {"DLT_PPP_ETHER", Const, 0, ""}, + {"DLT_PPP_PPPD", Const, 0, ""}, + {"DLT_PPP_SERIAL", Const, 0, ""}, + {"DLT_PPP_WITH_DIR", Const, 0, ""}, + {"DLT_PPP_WITH_DIRECTION", Const, 0, ""}, + {"DLT_PRISM_HEADER", Const, 0, ""}, + {"DLT_PRONET", Const, 0, ""}, + {"DLT_RAIF1", Const, 0, ""}, + {"DLT_RAW", Const, 0, ""}, + {"DLT_RAWAF_MASK", Const, 1, ""}, + {"DLT_RIO", Const, 0, ""}, + {"DLT_SCCP", Const, 0, ""}, + {"DLT_SITA", Const, 0, ""}, + {"DLT_SLIP", Const, 0, ""}, + {"DLT_SLIP_BSDOS", Const, 0, ""}, + {"DLT_STANAG_5066_D_PDU", Const, 1, ""}, + {"DLT_SUNATM", Const, 0, ""}, + {"DLT_SYMANTEC_FIREWALL", Const, 0, ""}, + {"DLT_TZSP", Const, 0, ""}, + {"DLT_USB", Const, 0, ""}, + {"DLT_USB_LINUX", Const, 0, ""}, + {"DLT_USB_LINUX_MMAPPED", Const, 1, ""}, + {"DLT_USER0", Const, 0, ""}, + {"DLT_USER1", Const, 0, ""}, + {"DLT_USER10", Const, 0, ""}, + {"DLT_USER11", Const, 0, ""}, + {"DLT_USER12", Const, 0, ""}, + {"DLT_USER13", Const, 0, ""}, + {"DLT_USER14", Const, 0, ""}, + {"DLT_USER15", Const, 0, ""}, + {"DLT_USER2", Const, 0, ""}, + {"DLT_USER3", Const, 0, ""}, + {"DLT_USER4", Const, 0, ""}, + {"DLT_USER5", Const, 0, ""}, + {"DLT_USER6", Const, 0, ""}, + {"DLT_USER7", Const, 0, ""}, + {"DLT_USER8", Const, 0, ""}, + {"DLT_USER9", Const, 0, ""}, + {"DLT_WIHART", Const, 1, ""}, + {"DLT_X2E_SERIAL", Const, 0, ""}, + {"DLT_X2E_XORAYA", Const, 0, ""}, + {"DNSMXData", Type, 0, ""}, + {"DNSMXData.NameExchange", Field, 0, ""}, + {"DNSMXData.Pad", Field, 0, ""}, + {"DNSMXData.Preference", Field, 0, ""}, + {"DNSPTRData", Type, 0, ""}, + {"DNSPTRData.Host", Field, 0, ""}, + {"DNSRecord", Type, 0, ""}, + {"DNSRecord.Data", Field, 0, ""}, + {"DNSRecord.Dw", Field, 0, ""}, + {"DNSRecord.Length", Field, 0, ""}, + {"DNSRecord.Name", Field, 0, ""}, + {"DNSRecord.Next", Field, 0, ""}, + {"DNSRecord.Reserved", Field, 0, ""}, + {"DNSRecord.Ttl", Field, 0, ""}, + {"DNSRecord.Type", Field, 0, ""}, + {"DNSSRVData", Type, 0, ""}, + {"DNSSRVData.Pad", Field, 0, ""}, + {"DNSSRVData.Port", Field, 0, ""}, + {"DNSSRVData.Priority", Field, 0, ""}, + {"DNSSRVData.Target", Field, 0, ""}, + {"DNSSRVData.Weight", Field, 0, ""}, + {"DNSTXTData", Type, 0, ""}, + {"DNSTXTData.StringArray", Field, 0, ""}, + {"DNSTXTData.StringCount", Field, 0, ""}, + {"DNS_INFO_NO_RECORDS", Const, 4, ""}, + {"DNS_TYPE_A", Const, 0, ""}, + {"DNS_TYPE_A6", Const, 0, ""}, + {"DNS_TYPE_AAAA", Const, 0, ""}, + {"DNS_TYPE_ADDRS", Const, 0, ""}, + {"DNS_TYPE_AFSDB", Const, 0, ""}, + {"DNS_TYPE_ALL", Const, 0, ""}, + {"DNS_TYPE_ANY", Const, 0, ""}, + {"DNS_TYPE_ATMA", Const, 0, ""}, + {"DNS_TYPE_AXFR", Const, 0, ""}, + {"DNS_TYPE_CERT", Const, 0, ""}, + {"DNS_TYPE_CNAME", Const, 0, ""}, + {"DNS_TYPE_DHCID", Const, 0, ""}, + {"DNS_TYPE_DNAME", Const, 0, ""}, + {"DNS_TYPE_DNSKEY", Const, 0, ""}, + {"DNS_TYPE_DS", Const, 0, ""}, + {"DNS_TYPE_EID", Const, 0, ""}, + {"DNS_TYPE_GID", Const, 0, ""}, + {"DNS_TYPE_GPOS", Const, 0, ""}, + {"DNS_TYPE_HINFO", Const, 0, ""}, + {"DNS_TYPE_ISDN", Const, 0, ""}, + {"DNS_TYPE_IXFR", Const, 0, ""}, + {"DNS_TYPE_KEY", Const, 0, ""}, + {"DNS_TYPE_KX", Const, 0, ""}, + {"DNS_TYPE_LOC", Const, 0, ""}, + {"DNS_TYPE_MAILA", Const, 0, ""}, + {"DNS_TYPE_MAILB", Const, 0, ""}, + {"DNS_TYPE_MB", Const, 0, ""}, + {"DNS_TYPE_MD", Const, 0, ""}, + {"DNS_TYPE_MF", Const, 0, ""}, + {"DNS_TYPE_MG", Const, 0, ""}, + {"DNS_TYPE_MINFO", Const, 0, ""}, + {"DNS_TYPE_MR", Const, 0, ""}, + {"DNS_TYPE_MX", Const, 0, ""}, + {"DNS_TYPE_NAPTR", Const, 0, ""}, + {"DNS_TYPE_NBSTAT", Const, 0, ""}, + {"DNS_TYPE_NIMLOC", Const, 0, ""}, + {"DNS_TYPE_NS", Const, 0, ""}, + {"DNS_TYPE_NSAP", Const, 0, ""}, + {"DNS_TYPE_NSAPPTR", Const, 0, ""}, + {"DNS_TYPE_NSEC", Const, 0, ""}, + {"DNS_TYPE_NULL", Const, 0, ""}, + {"DNS_TYPE_NXT", Const, 0, ""}, + {"DNS_TYPE_OPT", Const, 0, ""}, + {"DNS_TYPE_PTR", Const, 0, ""}, + {"DNS_TYPE_PX", Const, 0, ""}, + {"DNS_TYPE_RP", Const, 0, ""}, + {"DNS_TYPE_RRSIG", Const, 0, ""}, + {"DNS_TYPE_RT", Const, 0, ""}, + {"DNS_TYPE_SIG", Const, 0, ""}, + {"DNS_TYPE_SINK", Const, 0, ""}, + {"DNS_TYPE_SOA", Const, 0, ""}, + {"DNS_TYPE_SRV", Const, 0, ""}, + {"DNS_TYPE_TEXT", Const, 0, ""}, + {"DNS_TYPE_TKEY", Const, 0, ""}, + {"DNS_TYPE_TSIG", Const, 0, ""}, + {"DNS_TYPE_UID", Const, 0, ""}, + {"DNS_TYPE_UINFO", Const, 0, ""}, + {"DNS_TYPE_UNSPEC", Const, 0, ""}, + {"DNS_TYPE_WINS", Const, 0, ""}, + {"DNS_TYPE_WINSR", Const, 0, ""}, + {"DNS_TYPE_WKS", Const, 0, ""}, + {"DNS_TYPE_X25", Const, 0, ""}, + {"DT_BLK", Const, 0, ""}, + {"DT_CHR", Const, 0, ""}, + {"DT_DIR", Const, 0, ""}, + {"DT_FIFO", Const, 0, ""}, + {"DT_LNK", Const, 0, ""}, + {"DT_REG", Const, 0, ""}, + {"DT_SOCK", Const, 0, ""}, + {"DT_UNKNOWN", Const, 0, ""}, + {"DT_WHT", Const, 0, ""}, + {"DUPLICATE_CLOSE_SOURCE", Const, 0, ""}, + {"DUPLICATE_SAME_ACCESS", Const, 0, ""}, + {"DeleteFile", Func, 0, ""}, + {"DetachLsf", Func, 0, "func(fd int) error"}, + {"DeviceIoControl", Func, 4, ""}, + {"Dirent", Type, 0, ""}, + {"Dirent.Fileno", Field, 0, ""}, + {"Dirent.Ino", Field, 0, ""}, + {"Dirent.Name", Field, 0, ""}, + {"Dirent.Namlen", Field, 0, ""}, + {"Dirent.Off", Field, 0, ""}, + {"Dirent.Pad0", Field, 12, ""}, + {"Dirent.Pad1", Field, 12, ""}, + {"Dirent.Pad_cgo_0", Field, 0, ""}, + {"Dirent.Reclen", Field, 0, ""}, + {"Dirent.Seekoff", Field, 0, ""}, + {"Dirent.Type", Field, 0, ""}, + {"Dirent.X__d_padding", Field, 3, ""}, + {"DnsNameCompare", Func, 4, ""}, + {"DnsQuery", Func, 0, ""}, + {"DnsRecordListFree", Func, 0, ""}, + {"DnsSectionAdditional", Const, 4, ""}, + {"DnsSectionAnswer", Const, 4, ""}, + {"DnsSectionAuthority", Const, 4, ""}, + {"DnsSectionQuestion", Const, 4, ""}, + {"Dup", Func, 0, "func(oldfd int) (fd int, err error)"}, + {"Dup2", Func, 0, "func(oldfd int, newfd int) (err error)"}, + {"Dup3", Func, 2, "func(oldfd int, newfd int, flags int) (err error)"}, + {"DuplicateHandle", Func, 0, ""}, + {"E2BIG", Const, 0, ""}, + {"EACCES", Const, 0, ""}, + {"EADDRINUSE", Const, 0, ""}, + {"EADDRNOTAVAIL", Const, 0, ""}, + {"EADV", Const, 0, ""}, + {"EAFNOSUPPORT", Const, 0, ""}, + {"EAGAIN", Const, 0, ""}, + {"EALREADY", Const, 0, ""}, + {"EAUTH", Const, 0, ""}, + {"EBADARCH", Const, 0, ""}, + {"EBADE", Const, 0, ""}, + {"EBADEXEC", Const, 0, ""}, + {"EBADF", Const, 0, ""}, + {"EBADFD", Const, 0, ""}, + {"EBADMACHO", Const, 0, ""}, + {"EBADMSG", Const, 0, ""}, + {"EBADR", Const, 0, ""}, + {"EBADRPC", Const, 0, ""}, + {"EBADRQC", Const, 0, ""}, + {"EBADSLT", Const, 0, ""}, + {"EBFONT", Const, 0, ""}, + {"EBUSY", Const, 0, ""}, + {"ECANCELED", Const, 0, ""}, + {"ECAPMODE", Const, 1, ""}, + {"ECHILD", Const, 0, ""}, + {"ECHO", Const, 0, ""}, + {"ECHOCTL", Const, 0, ""}, + {"ECHOE", Const, 0, ""}, + {"ECHOK", Const, 0, ""}, + {"ECHOKE", Const, 0, ""}, + {"ECHONL", Const, 0, ""}, + {"ECHOPRT", Const, 0, ""}, + {"ECHRNG", Const, 0, ""}, + {"ECOMM", Const, 0, ""}, + {"ECONNABORTED", Const, 0, ""}, + {"ECONNREFUSED", Const, 0, ""}, + {"ECONNRESET", Const, 0, ""}, + {"EDEADLK", Const, 0, ""}, + {"EDEADLOCK", Const, 0, ""}, + {"EDESTADDRREQ", Const, 0, ""}, + {"EDEVERR", Const, 0, ""}, + {"EDOM", Const, 0, ""}, + {"EDOOFUS", Const, 0, ""}, + {"EDOTDOT", Const, 0, ""}, + {"EDQUOT", Const, 0, ""}, + {"EEXIST", Const, 0, ""}, + {"EFAULT", Const, 0, ""}, + {"EFBIG", Const, 0, ""}, + {"EFER_LMA", Const, 1, ""}, + {"EFER_LME", Const, 1, ""}, + {"EFER_NXE", Const, 1, ""}, + {"EFER_SCE", Const, 1, ""}, + {"EFTYPE", Const, 0, ""}, + {"EHOSTDOWN", Const, 0, ""}, + {"EHOSTUNREACH", Const, 0, ""}, + {"EHWPOISON", Const, 0, ""}, + {"EIDRM", Const, 0, ""}, + {"EILSEQ", Const, 0, ""}, + {"EINPROGRESS", Const, 0, ""}, + {"EINTR", Const, 0, ""}, + {"EINVAL", Const, 0, ""}, + {"EIO", Const, 0, ""}, + {"EIPSEC", Const, 1, ""}, + {"EISCONN", Const, 0, ""}, + {"EISDIR", Const, 0, ""}, + {"EISNAM", Const, 0, ""}, + {"EKEYEXPIRED", Const, 0, ""}, + {"EKEYREJECTED", Const, 0, ""}, + {"EKEYREVOKED", Const, 0, ""}, + {"EL2HLT", Const, 0, ""}, + {"EL2NSYNC", Const, 0, ""}, + {"EL3HLT", Const, 0, ""}, + {"EL3RST", Const, 0, ""}, + {"ELAST", Const, 0, ""}, + {"ELF_NGREG", Const, 0, ""}, + {"ELF_PRARGSZ", Const, 0, ""}, + {"ELIBACC", Const, 0, ""}, + {"ELIBBAD", Const, 0, ""}, + {"ELIBEXEC", Const, 0, ""}, + {"ELIBMAX", Const, 0, ""}, + {"ELIBSCN", Const, 0, ""}, + {"ELNRNG", Const, 0, ""}, + {"ELOOP", Const, 0, ""}, + {"EMEDIUMTYPE", Const, 0, ""}, + {"EMFILE", Const, 0, ""}, + {"EMLINK", Const, 0, ""}, + {"EMSGSIZE", Const, 0, ""}, + {"EMT_TAGOVF", Const, 1, ""}, + {"EMULTIHOP", Const, 0, ""}, + {"EMUL_ENABLED", Const, 1, ""}, + {"EMUL_LINUX", Const, 1, ""}, + {"EMUL_LINUX32", Const, 1, ""}, + {"EMUL_MAXID", Const, 1, ""}, + {"EMUL_NATIVE", Const, 1, ""}, + {"ENAMETOOLONG", Const, 0, ""}, + {"ENAVAIL", Const, 0, ""}, + {"ENDRUNDISC", Const, 1, ""}, + {"ENEEDAUTH", Const, 0, ""}, + {"ENETDOWN", Const, 0, ""}, + {"ENETRESET", Const, 0, ""}, + {"ENETUNREACH", Const, 0, ""}, + {"ENFILE", Const, 0, ""}, + {"ENOANO", Const, 0, ""}, + {"ENOATTR", Const, 0, ""}, + {"ENOBUFS", Const, 0, ""}, + {"ENOCSI", Const, 0, ""}, + {"ENODATA", Const, 0, ""}, + {"ENODEV", Const, 0, ""}, + {"ENOENT", Const, 0, ""}, + {"ENOEXEC", Const, 0, ""}, + {"ENOKEY", Const, 0, ""}, + {"ENOLCK", Const, 0, ""}, + {"ENOLINK", Const, 0, ""}, + {"ENOMEDIUM", Const, 0, ""}, + {"ENOMEM", Const, 0, ""}, + {"ENOMSG", Const, 0, ""}, + {"ENONET", Const, 0, ""}, + {"ENOPKG", Const, 0, ""}, + {"ENOPOLICY", Const, 0, ""}, + {"ENOPROTOOPT", Const, 0, ""}, + {"ENOSPC", Const, 0, ""}, + {"ENOSR", Const, 0, ""}, + {"ENOSTR", Const, 0, ""}, + {"ENOSYS", Const, 0, ""}, + {"ENOTBLK", Const, 0, ""}, + {"ENOTCAPABLE", Const, 0, ""}, + {"ENOTCONN", Const, 0, ""}, + {"ENOTDIR", Const, 0, ""}, + {"ENOTEMPTY", Const, 0, ""}, + {"ENOTNAM", Const, 0, ""}, + {"ENOTRECOVERABLE", Const, 0, ""}, + {"ENOTSOCK", Const, 0, ""}, + {"ENOTSUP", Const, 0, ""}, + {"ENOTTY", Const, 0, ""}, + {"ENOTUNIQ", Const, 0, ""}, + {"ENXIO", Const, 0, ""}, + {"EN_SW_CTL_INF", Const, 1, ""}, + {"EN_SW_CTL_PREC", Const, 1, ""}, + {"EN_SW_CTL_ROUND", Const, 1, ""}, + {"EN_SW_DATACHAIN", Const, 1, ""}, + {"EN_SW_DENORM", Const, 1, ""}, + {"EN_SW_INVOP", Const, 1, ""}, + {"EN_SW_OVERFLOW", Const, 1, ""}, + {"EN_SW_PRECLOSS", Const, 1, ""}, + {"EN_SW_UNDERFLOW", Const, 1, ""}, + {"EN_SW_ZERODIV", Const, 1, ""}, + {"EOPNOTSUPP", Const, 0, ""}, + {"EOVERFLOW", Const, 0, ""}, + {"EOWNERDEAD", Const, 0, ""}, + {"EPERM", Const, 0, ""}, + {"EPFNOSUPPORT", Const, 0, ""}, + {"EPIPE", Const, 0, ""}, + {"EPOLLERR", Const, 0, ""}, + {"EPOLLET", Const, 0, ""}, + {"EPOLLHUP", Const, 0, ""}, + {"EPOLLIN", Const, 0, ""}, + {"EPOLLMSG", Const, 0, ""}, + {"EPOLLONESHOT", Const, 0, ""}, + {"EPOLLOUT", Const, 0, ""}, + {"EPOLLPRI", Const, 0, ""}, + {"EPOLLRDBAND", Const, 0, ""}, + {"EPOLLRDHUP", Const, 0, ""}, + {"EPOLLRDNORM", Const, 0, ""}, + {"EPOLLWRBAND", Const, 0, ""}, + {"EPOLLWRNORM", Const, 0, ""}, + {"EPOLL_CLOEXEC", Const, 0, ""}, + {"EPOLL_CTL_ADD", Const, 0, ""}, + {"EPOLL_CTL_DEL", Const, 0, ""}, + {"EPOLL_CTL_MOD", Const, 0, ""}, + {"EPOLL_NONBLOCK", Const, 0, ""}, + {"EPROCLIM", Const, 0, ""}, + {"EPROCUNAVAIL", Const, 0, ""}, + {"EPROGMISMATCH", Const, 0, ""}, + {"EPROGUNAVAIL", Const, 0, ""}, + {"EPROTO", Const, 0, ""}, + {"EPROTONOSUPPORT", Const, 0, ""}, + {"EPROTOTYPE", Const, 0, ""}, + {"EPWROFF", Const, 0, ""}, + {"EQFULL", Const, 16, ""}, + {"ERANGE", Const, 0, ""}, + {"EREMCHG", Const, 0, ""}, + {"EREMOTE", Const, 0, ""}, + {"EREMOTEIO", Const, 0, ""}, + {"ERESTART", Const, 0, ""}, + {"ERFKILL", Const, 0, ""}, + {"EROFS", Const, 0, ""}, + {"ERPCMISMATCH", Const, 0, ""}, + {"ERROR_ACCESS_DENIED", Const, 0, ""}, + {"ERROR_ALREADY_EXISTS", Const, 0, ""}, + {"ERROR_BROKEN_PIPE", Const, 0, ""}, + {"ERROR_BUFFER_OVERFLOW", Const, 0, ""}, + {"ERROR_DIR_NOT_EMPTY", Const, 8, ""}, + {"ERROR_ENVVAR_NOT_FOUND", Const, 0, ""}, + {"ERROR_FILE_EXISTS", Const, 0, ""}, + {"ERROR_FILE_NOT_FOUND", Const, 0, ""}, + {"ERROR_HANDLE_EOF", Const, 2, ""}, + {"ERROR_INSUFFICIENT_BUFFER", Const, 0, ""}, + {"ERROR_IO_PENDING", Const, 0, ""}, + {"ERROR_MOD_NOT_FOUND", Const, 0, ""}, + {"ERROR_MORE_DATA", Const, 3, ""}, + {"ERROR_NETNAME_DELETED", Const, 3, ""}, + {"ERROR_NOT_FOUND", Const, 1, ""}, + {"ERROR_NO_MORE_FILES", Const, 0, ""}, + {"ERROR_OPERATION_ABORTED", Const, 0, ""}, + {"ERROR_PATH_NOT_FOUND", Const, 0, ""}, + {"ERROR_PRIVILEGE_NOT_HELD", Const, 4, ""}, + {"ERROR_PROC_NOT_FOUND", Const, 0, ""}, + {"ESHLIBVERS", Const, 0, ""}, + {"ESHUTDOWN", Const, 0, ""}, + {"ESOCKTNOSUPPORT", Const, 0, ""}, + {"ESPIPE", Const, 0, ""}, + {"ESRCH", Const, 0, ""}, + {"ESRMNT", Const, 0, ""}, + {"ESTALE", Const, 0, ""}, + {"ESTRPIPE", Const, 0, ""}, + {"ETHERCAP_JUMBO_MTU", Const, 1, ""}, + {"ETHERCAP_VLAN_HWTAGGING", Const, 1, ""}, + {"ETHERCAP_VLAN_MTU", Const, 1, ""}, + {"ETHERMIN", Const, 1, ""}, + {"ETHERMTU", Const, 1, ""}, + {"ETHERMTU_JUMBO", Const, 1, ""}, + {"ETHERTYPE_8023", Const, 1, ""}, + {"ETHERTYPE_AARP", Const, 1, ""}, + {"ETHERTYPE_ACCTON", Const, 1, ""}, + {"ETHERTYPE_AEONIC", Const, 1, ""}, + {"ETHERTYPE_ALPHA", Const, 1, ""}, + {"ETHERTYPE_AMBER", Const, 1, ""}, + {"ETHERTYPE_AMOEBA", Const, 1, ""}, + {"ETHERTYPE_AOE", Const, 1, ""}, + {"ETHERTYPE_APOLLO", Const, 1, ""}, + {"ETHERTYPE_APOLLODOMAIN", Const, 1, ""}, + {"ETHERTYPE_APPLETALK", Const, 1, ""}, + {"ETHERTYPE_APPLITEK", Const, 1, ""}, + {"ETHERTYPE_ARGONAUT", Const, 1, ""}, + {"ETHERTYPE_ARP", Const, 1, ""}, + {"ETHERTYPE_AT", Const, 1, ""}, + {"ETHERTYPE_ATALK", Const, 1, ""}, + {"ETHERTYPE_ATOMIC", Const, 1, ""}, + {"ETHERTYPE_ATT", Const, 1, ""}, + {"ETHERTYPE_ATTSTANFORD", Const, 1, ""}, + {"ETHERTYPE_AUTOPHON", Const, 1, ""}, + {"ETHERTYPE_AXIS", Const, 1, ""}, + {"ETHERTYPE_BCLOOP", Const, 1, ""}, + {"ETHERTYPE_BOFL", Const, 1, ""}, + {"ETHERTYPE_CABLETRON", Const, 1, ""}, + {"ETHERTYPE_CHAOS", Const, 1, ""}, + {"ETHERTYPE_COMDESIGN", Const, 1, ""}, + {"ETHERTYPE_COMPUGRAPHIC", Const, 1, ""}, + {"ETHERTYPE_COUNTERPOINT", Const, 1, ""}, + {"ETHERTYPE_CRONUS", Const, 1, ""}, + {"ETHERTYPE_CRONUSVLN", Const, 1, ""}, + {"ETHERTYPE_DCA", Const, 1, ""}, + {"ETHERTYPE_DDE", Const, 1, ""}, + {"ETHERTYPE_DEBNI", Const, 1, ""}, + {"ETHERTYPE_DECAM", Const, 1, ""}, + {"ETHERTYPE_DECCUST", Const, 1, ""}, + {"ETHERTYPE_DECDIAG", Const, 1, ""}, + {"ETHERTYPE_DECDNS", Const, 1, ""}, + {"ETHERTYPE_DECDTS", Const, 1, ""}, + {"ETHERTYPE_DECEXPER", Const, 1, ""}, + {"ETHERTYPE_DECLAST", Const, 1, ""}, + {"ETHERTYPE_DECLTM", Const, 1, ""}, + {"ETHERTYPE_DECMUMPS", Const, 1, ""}, + {"ETHERTYPE_DECNETBIOS", Const, 1, ""}, + {"ETHERTYPE_DELTACON", Const, 1, ""}, + {"ETHERTYPE_DIDDLE", Const, 1, ""}, + {"ETHERTYPE_DLOG1", Const, 1, ""}, + {"ETHERTYPE_DLOG2", Const, 1, ""}, + {"ETHERTYPE_DN", Const, 1, ""}, + {"ETHERTYPE_DOGFIGHT", Const, 1, ""}, + {"ETHERTYPE_DSMD", Const, 1, ""}, + {"ETHERTYPE_ECMA", Const, 1, ""}, + {"ETHERTYPE_ENCRYPT", Const, 1, ""}, + {"ETHERTYPE_ES", Const, 1, ""}, + {"ETHERTYPE_EXCELAN", Const, 1, ""}, + {"ETHERTYPE_EXPERDATA", Const, 1, ""}, + {"ETHERTYPE_FLIP", Const, 1, ""}, + {"ETHERTYPE_FLOWCONTROL", Const, 1, ""}, + {"ETHERTYPE_FRARP", Const, 1, ""}, + {"ETHERTYPE_GENDYN", Const, 1, ""}, + {"ETHERTYPE_HAYES", Const, 1, ""}, + {"ETHERTYPE_HIPPI_FP", Const, 1, ""}, + {"ETHERTYPE_HITACHI", Const, 1, ""}, + {"ETHERTYPE_HP", Const, 1, ""}, + {"ETHERTYPE_IEEEPUP", Const, 1, ""}, + {"ETHERTYPE_IEEEPUPAT", Const, 1, ""}, + {"ETHERTYPE_IMLBL", Const, 1, ""}, + {"ETHERTYPE_IMLBLDIAG", Const, 1, ""}, + {"ETHERTYPE_IP", Const, 1, ""}, + {"ETHERTYPE_IPAS", Const, 1, ""}, + {"ETHERTYPE_IPV6", Const, 1, ""}, + {"ETHERTYPE_IPX", Const, 1, ""}, + {"ETHERTYPE_IPXNEW", Const, 1, ""}, + {"ETHERTYPE_KALPANA", Const, 1, ""}, + {"ETHERTYPE_LANBRIDGE", Const, 1, ""}, + {"ETHERTYPE_LANPROBE", Const, 1, ""}, + {"ETHERTYPE_LAT", Const, 1, ""}, + {"ETHERTYPE_LBACK", Const, 1, ""}, + {"ETHERTYPE_LITTLE", Const, 1, ""}, + {"ETHERTYPE_LLDP", Const, 1, ""}, + {"ETHERTYPE_LOGICRAFT", Const, 1, ""}, + {"ETHERTYPE_LOOPBACK", Const, 1, ""}, + {"ETHERTYPE_MATRA", Const, 1, ""}, + {"ETHERTYPE_MAX", Const, 1, ""}, + {"ETHERTYPE_MERIT", Const, 1, ""}, + {"ETHERTYPE_MICP", Const, 1, ""}, + {"ETHERTYPE_MOPDL", Const, 1, ""}, + {"ETHERTYPE_MOPRC", Const, 1, ""}, + {"ETHERTYPE_MOTOROLA", Const, 1, ""}, + {"ETHERTYPE_MPLS", Const, 1, ""}, + {"ETHERTYPE_MPLS_MCAST", Const, 1, ""}, + {"ETHERTYPE_MUMPS", Const, 1, ""}, + {"ETHERTYPE_NBPCC", Const, 1, ""}, + {"ETHERTYPE_NBPCLAIM", Const, 1, ""}, + {"ETHERTYPE_NBPCLREQ", Const, 1, ""}, + {"ETHERTYPE_NBPCLRSP", Const, 1, ""}, + {"ETHERTYPE_NBPCREQ", Const, 1, ""}, + {"ETHERTYPE_NBPCRSP", Const, 1, ""}, + {"ETHERTYPE_NBPDG", Const, 1, ""}, + {"ETHERTYPE_NBPDGB", Const, 1, ""}, + {"ETHERTYPE_NBPDLTE", Const, 1, ""}, + {"ETHERTYPE_NBPRAR", Const, 1, ""}, + {"ETHERTYPE_NBPRAS", Const, 1, ""}, + {"ETHERTYPE_NBPRST", Const, 1, ""}, + {"ETHERTYPE_NBPSCD", Const, 1, ""}, + {"ETHERTYPE_NBPVCD", Const, 1, ""}, + {"ETHERTYPE_NBS", Const, 1, ""}, + {"ETHERTYPE_NCD", Const, 1, ""}, + {"ETHERTYPE_NESTAR", Const, 1, ""}, + {"ETHERTYPE_NETBEUI", Const, 1, ""}, + {"ETHERTYPE_NOVELL", Const, 1, ""}, + {"ETHERTYPE_NS", Const, 1, ""}, + {"ETHERTYPE_NSAT", Const, 1, ""}, + {"ETHERTYPE_NSCOMPAT", Const, 1, ""}, + {"ETHERTYPE_NTRAILER", Const, 1, ""}, + {"ETHERTYPE_OS9", Const, 1, ""}, + {"ETHERTYPE_OS9NET", Const, 1, ""}, + {"ETHERTYPE_PACER", Const, 1, ""}, + {"ETHERTYPE_PAE", Const, 1, ""}, + {"ETHERTYPE_PCS", Const, 1, ""}, + {"ETHERTYPE_PLANNING", Const, 1, ""}, + {"ETHERTYPE_PPP", Const, 1, ""}, + {"ETHERTYPE_PPPOE", Const, 1, ""}, + {"ETHERTYPE_PPPOEDISC", Const, 1, ""}, + {"ETHERTYPE_PRIMENTS", Const, 1, ""}, + {"ETHERTYPE_PUP", Const, 1, ""}, + {"ETHERTYPE_PUPAT", Const, 1, ""}, + {"ETHERTYPE_QINQ", Const, 1, ""}, + {"ETHERTYPE_RACAL", Const, 1, ""}, + {"ETHERTYPE_RATIONAL", Const, 1, ""}, + {"ETHERTYPE_RAWFR", Const, 1, ""}, + {"ETHERTYPE_RCL", Const, 1, ""}, + {"ETHERTYPE_RDP", Const, 1, ""}, + {"ETHERTYPE_RETIX", Const, 1, ""}, + {"ETHERTYPE_REVARP", Const, 1, ""}, + {"ETHERTYPE_SCA", Const, 1, ""}, + {"ETHERTYPE_SECTRA", Const, 1, ""}, + {"ETHERTYPE_SECUREDATA", Const, 1, ""}, + {"ETHERTYPE_SGITW", Const, 1, ""}, + {"ETHERTYPE_SG_BOUNCE", Const, 1, ""}, + {"ETHERTYPE_SG_DIAG", Const, 1, ""}, + {"ETHERTYPE_SG_NETGAMES", Const, 1, ""}, + {"ETHERTYPE_SG_RESV", Const, 1, ""}, + {"ETHERTYPE_SIMNET", Const, 1, ""}, + {"ETHERTYPE_SLOW", Const, 1, ""}, + {"ETHERTYPE_SLOWPROTOCOLS", Const, 1, ""}, + {"ETHERTYPE_SNA", Const, 1, ""}, + {"ETHERTYPE_SNMP", Const, 1, ""}, + {"ETHERTYPE_SONIX", Const, 1, ""}, + {"ETHERTYPE_SPIDER", Const, 1, ""}, + {"ETHERTYPE_SPRITE", Const, 1, ""}, + {"ETHERTYPE_STP", Const, 1, ""}, + {"ETHERTYPE_TALARIS", Const, 1, ""}, + {"ETHERTYPE_TALARISMC", Const, 1, ""}, + {"ETHERTYPE_TCPCOMP", Const, 1, ""}, + {"ETHERTYPE_TCPSM", Const, 1, ""}, + {"ETHERTYPE_TEC", Const, 1, ""}, + {"ETHERTYPE_TIGAN", Const, 1, ""}, + {"ETHERTYPE_TRAIL", Const, 1, ""}, + {"ETHERTYPE_TRANSETHER", Const, 1, ""}, + {"ETHERTYPE_TYMSHARE", Const, 1, ""}, + {"ETHERTYPE_UBBST", Const, 1, ""}, + {"ETHERTYPE_UBDEBUG", Const, 1, ""}, + {"ETHERTYPE_UBDIAGLOOP", Const, 1, ""}, + {"ETHERTYPE_UBDL", Const, 1, ""}, + {"ETHERTYPE_UBNIU", Const, 1, ""}, + {"ETHERTYPE_UBNMC", Const, 1, ""}, + {"ETHERTYPE_VALID", Const, 1, ""}, + {"ETHERTYPE_VARIAN", Const, 1, ""}, + {"ETHERTYPE_VAXELN", Const, 1, ""}, + {"ETHERTYPE_VEECO", Const, 1, ""}, + {"ETHERTYPE_VEXP", Const, 1, ""}, + {"ETHERTYPE_VGLAB", Const, 1, ""}, + {"ETHERTYPE_VINES", Const, 1, ""}, + {"ETHERTYPE_VINESECHO", Const, 1, ""}, + {"ETHERTYPE_VINESLOOP", Const, 1, ""}, + {"ETHERTYPE_VITAL", Const, 1, ""}, + {"ETHERTYPE_VLAN", Const, 1, ""}, + {"ETHERTYPE_VLTLMAN", Const, 1, ""}, + {"ETHERTYPE_VPROD", Const, 1, ""}, + {"ETHERTYPE_VURESERVED", Const, 1, ""}, + {"ETHERTYPE_WATERLOO", Const, 1, ""}, + {"ETHERTYPE_WELLFLEET", Const, 1, ""}, + {"ETHERTYPE_X25", Const, 1, ""}, + {"ETHERTYPE_X75", Const, 1, ""}, + {"ETHERTYPE_XNSSM", Const, 1, ""}, + {"ETHERTYPE_XTP", Const, 1, ""}, + {"ETHER_ADDR_LEN", Const, 1, ""}, + {"ETHER_ALIGN", Const, 1, ""}, + {"ETHER_CRC_LEN", Const, 1, ""}, + {"ETHER_CRC_POLY_BE", Const, 1, ""}, + {"ETHER_CRC_POLY_LE", Const, 1, ""}, + {"ETHER_HDR_LEN", Const, 1, ""}, + {"ETHER_MAX_DIX_LEN", Const, 1, ""}, + {"ETHER_MAX_LEN", Const, 1, ""}, + {"ETHER_MAX_LEN_JUMBO", Const, 1, ""}, + {"ETHER_MIN_LEN", Const, 1, ""}, + {"ETHER_PPPOE_ENCAP_LEN", Const, 1, ""}, + {"ETHER_TYPE_LEN", Const, 1, ""}, + {"ETHER_VLAN_ENCAP_LEN", Const, 1, ""}, + {"ETH_P_1588", Const, 0, ""}, + {"ETH_P_8021Q", Const, 0, ""}, + {"ETH_P_802_2", Const, 0, ""}, + {"ETH_P_802_3", Const, 0, ""}, + {"ETH_P_AARP", Const, 0, ""}, + {"ETH_P_ALL", Const, 0, ""}, + {"ETH_P_AOE", Const, 0, ""}, + {"ETH_P_ARCNET", Const, 0, ""}, + {"ETH_P_ARP", Const, 0, ""}, + {"ETH_P_ATALK", Const, 0, ""}, + {"ETH_P_ATMFATE", Const, 0, ""}, + {"ETH_P_ATMMPOA", Const, 0, ""}, + {"ETH_P_AX25", Const, 0, ""}, + {"ETH_P_BPQ", Const, 0, ""}, + {"ETH_P_CAIF", Const, 0, ""}, + {"ETH_P_CAN", Const, 0, ""}, + {"ETH_P_CONTROL", Const, 0, ""}, + {"ETH_P_CUST", Const, 0, ""}, + {"ETH_P_DDCMP", Const, 0, ""}, + {"ETH_P_DEC", Const, 0, ""}, + {"ETH_P_DIAG", Const, 0, ""}, + {"ETH_P_DNA_DL", Const, 0, ""}, + {"ETH_P_DNA_RC", Const, 0, ""}, + {"ETH_P_DNA_RT", Const, 0, ""}, + {"ETH_P_DSA", Const, 0, ""}, + {"ETH_P_ECONET", Const, 0, ""}, + {"ETH_P_EDSA", Const, 0, ""}, + {"ETH_P_FCOE", Const, 0, ""}, + {"ETH_P_FIP", Const, 0, ""}, + {"ETH_P_HDLC", Const, 0, ""}, + {"ETH_P_IEEE802154", Const, 0, ""}, + {"ETH_P_IEEEPUP", Const, 0, ""}, + {"ETH_P_IEEEPUPAT", Const, 0, ""}, + {"ETH_P_IP", Const, 0, ""}, + {"ETH_P_IPV6", Const, 0, ""}, + {"ETH_P_IPX", Const, 0, ""}, + {"ETH_P_IRDA", Const, 0, ""}, + {"ETH_P_LAT", Const, 0, ""}, + {"ETH_P_LINK_CTL", Const, 0, ""}, + {"ETH_P_LOCALTALK", Const, 0, ""}, + {"ETH_P_LOOP", Const, 0, ""}, + {"ETH_P_MOBITEX", Const, 0, ""}, + {"ETH_P_MPLS_MC", Const, 0, ""}, + {"ETH_P_MPLS_UC", Const, 0, ""}, + {"ETH_P_PAE", Const, 0, ""}, + {"ETH_P_PAUSE", Const, 0, ""}, + {"ETH_P_PHONET", Const, 0, ""}, + {"ETH_P_PPPTALK", Const, 0, ""}, + {"ETH_P_PPP_DISC", Const, 0, ""}, + {"ETH_P_PPP_MP", Const, 0, ""}, + {"ETH_P_PPP_SES", Const, 0, ""}, + {"ETH_P_PUP", Const, 0, ""}, + {"ETH_P_PUPAT", Const, 0, ""}, + {"ETH_P_RARP", Const, 0, ""}, + {"ETH_P_SCA", Const, 0, ""}, + {"ETH_P_SLOW", Const, 0, ""}, + {"ETH_P_SNAP", Const, 0, ""}, + {"ETH_P_TEB", Const, 0, ""}, + {"ETH_P_TIPC", Const, 0, ""}, + {"ETH_P_TRAILER", Const, 0, ""}, + {"ETH_P_TR_802_2", Const, 0, ""}, + {"ETH_P_WAN_PPP", Const, 0, ""}, + {"ETH_P_WCCP", Const, 0, ""}, + {"ETH_P_X25", Const, 0, ""}, + {"ETIME", Const, 0, ""}, + {"ETIMEDOUT", Const, 0, ""}, + {"ETOOMANYREFS", Const, 0, ""}, + {"ETXTBSY", Const, 0, ""}, + {"EUCLEAN", Const, 0, ""}, + {"EUNATCH", Const, 0, ""}, + {"EUSERS", Const, 0, ""}, + {"EVFILT_AIO", Const, 0, ""}, + {"EVFILT_FS", Const, 0, ""}, + {"EVFILT_LIO", Const, 0, ""}, + {"EVFILT_MACHPORT", Const, 0, ""}, + {"EVFILT_PROC", Const, 0, ""}, + {"EVFILT_READ", Const, 0, ""}, + {"EVFILT_SIGNAL", Const, 0, ""}, + {"EVFILT_SYSCOUNT", Const, 0, ""}, + {"EVFILT_THREADMARKER", Const, 0, ""}, + {"EVFILT_TIMER", Const, 0, ""}, + {"EVFILT_USER", Const, 0, ""}, + {"EVFILT_VM", Const, 0, ""}, + {"EVFILT_VNODE", Const, 0, ""}, + {"EVFILT_WRITE", Const, 0, ""}, + {"EV_ADD", Const, 0, ""}, + {"EV_CLEAR", Const, 0, ""}, + {"EV_DELETE", Const, 0, ""}, + {"EV_DISABLE", Const, 0, ""}, + {"EV_DISPATCH", Const, 0, ""}, + {"EV_DROP", Const, 3, ""}, + {"EV_ENABLE", Const, 0, ""}, + {"EV_EOF", Const, 0, ""}, + {"EV_ERROR", Const, 0, ""}, + {"EV_FLAG0", Const, 0, ""}, + {"EV_FLAG1", Const, 0, ""}, + {"EV_ONESHOT", Const, 0, ""}, + {"EV_OOBAND", Const, 0, ""}, + {"EV_POLL", Const, 0, ""}, + {"EV_RECEIPT", Const, 0, ""}, + {"EV_SYSFLAGS", Const, 0, ""}, + {"EWINDOWS", Const, 0, ""}, + {"EWOULDBLOCK", Const, 0, ""}, + {"EXDEV", Const, 0, ""}, + {"EXFULL", Const, 0, ""}, + {"EXTA", Const, 0, ""}, + {"EXTB", Const, 0, ""}, + {"EXTPROC", Const, 0, ""}, + {"Environ", Func, 0, "func() []string"}, + {"EpollCreate", Func, 0, "func(size int) (fd int, err error)"}, + {"EpollCreate1", Func, 0, "func(flag int) (fd int, err error)"}, + {"EpollCtl", Func, 0, "func(epfd int, op int, fd int, event *EpollEvent) (err error)"}, + {"EpollEvent", Type, 0, ""}, + {"EpollEvent.Events", Field, 0, ""}, + {"EpollEvent.Fd", Field, 0, ""}, + {"EpollEvent.Pad", Field, 0, ""}, + {"EpollEvent.PadFd", Field, 0, ""}, + {"EpollWait", Func, 0, "func(epfd int, events []EpollEvent, msec int) (n int, err error)"}, + {"Errno", Type, 0, ""}, + {"EscapeArg", Func, 0, ""}, + {"Exchangedata", Func, 0, ""}, + {"Exec", Func, 0, "func(argv0 string, argv []string, envv []string) (err error)"}, + {"Exit", Func, 0, "func(code int)"}, + {"ExitProcess", Func, 0, ""}, + {"FD_CLOEXEC", Const, 0, ""}, + {"FD_SETSIZE", Const, 0, ""}, + {"FILE_ACTION_ADDED", Const, 0, ""}, + {"FILE_ACTION_MODIFIED", Const, 0, ""}, + {"FILE_ACTION_REMOVED", Const, 0, ""}, + {"FILE_ACTION_RENAMED_NEW_NAME", Const, 0, ""}, + {"FILE_ACTION_RENAMED_OLD_NAME", Const, 0, ""}, + {"FILE_APPEND_DATA", Const, 0, ""}, + {"FILE_ATTRIBUTE_ARCHIVE", Const, 0, ""}, + {"FILE_ATTRIBUTE_DIRECTORY", Const, 0, ""}, + {"FILE_ATTRIBUTE_HIDDEN", Const, 0, ""}, + {"FILE_ATTRIBUTE_NORMAL", Const, 0, ""}, + {"FILE_ATTRIBUTE_READONLY", Const, 0, ""}, + {"FILE_ATTRIBUTE_REPARSE_POINT", Const, 4, ""}, + {"FILE_ATTRIBUTE_SYSTEM", Const, 0, ""}, + {"FILE_BEGIN", Const, 0, ""}, + {"FILE_CURRENT", Const, 0, ""}, + {"FILE_END", Const, 0, ""}, + {"FILE_FLAG_BACKUP_SEMANTICS", Const, 0, ""}, + {"FILE_FLAG_OPEN_REPARSE_POINT", Const, 4, ""}, + {"FILE_FLAG_OVERLAPPED", Const, 0, ""}, + {"FILE_LIST_DIRECTORY", Const, 0, ""}, + {"FILE_MAP_COPY", Const, 0, ""}, + {"FILE_MAP_EXECUTE", Const, 0, ""}, + {"FILE_MAP_READ", Const, 0, ""}, + {"FILE_MAP_WRITE", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_ATTRIBUTES", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_CREATION", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_DIR_NAME", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_FILE_NAME", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_LAST_ACCESS", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_LAST_WRITE", Const, 0, ""}, + {"FILE_NOTIFY_CHANGE_SIZE", Const, 0, ""}, + {"FILE_SHARE_DELETE", Const, 0, ""}, + {"FILE_SHARE_READ", Const, 0, ""}, + {"FILE_SHARE_WRITE", Const, 0, ""}, + {"FILE_SKIP_COMPLETION_PORT_ON_SUCCESS", Const, 2, ""}, + {"FILE_SKIP_SET_EVENT_ON_HANDLE", Const, 2, ""}, + {"FILE_TYPE_CHAR", Const, 0, ""}, + {"FILE_TYPE_DISK", Const, 0, ""}, + {"FILE_TYPE_PIPE", Const, 0, ""}, + {"FILE_TYPE_REMOTE", Const, 0, ""}, + {"FILE_TYPE_UNKNOWN", Const, 0, ""}, + {"FILE_WRITE_ATTRIBUTES", Const, 0, ""}, + {"FLUSHO", Const, 0, ""}, + {"FORMAT_MESSAGE_ALLOCATE_BUFFER", Const, 0, ""}, + {"FORMAT_MESSAGE_ARGUMENT_ARRAY", Const, 0, ""}, + {"FORMAT_MESSAGE_FROM_HMODULE", Const, 0, ""}, + {"FORMAT_MESSAGE_FROM_STRING", Const, 0, ""}, + {"FORMAT_MESSAGE_FROM_SYSTEM", Const, 0, ""}, + {"FORMAT_MESSAGE_IGNORE_INSERTS", Const, 0, ""}, + {"FORMAT_MESSAGE_MAX_WIDTH_MASK", Const, 0, ""}, + {"FSCTL_GET_REPARSE_POINT", Const, 4, ""}, + {"F_ADDFILESIGS", Const, 0, ""}, + {"F_ADDSIGS", Const, 0, ""}, + {"F_ALLOCATEALL", Const, 0, ""}, + {"F_ALLOCATECONTIG", Const, 0, ""}, + {"F_CANCEL", Const, 0, ""}, + {"F_CHKCLEAN", Const, 0, ""}, + {"F_CLOSEM", Const, 1, ""}, + {"F_DUP2FD", Const, 0, ""}, + {"F_DUP2FD_CLOEXEC", Const, 1, ""}, + {"F_DUPFD", Const, 0, ""}, + {"F_DUPFD_CLOEXEC", Const, 0, ""}, + {"F_EXLCK", Const, 0, ""}, + {"F_FINDSIGS", Const, 16, ""}, + {"F_FLUSH_DATA", Const, 0, ""}, + {"F_FREEZE_FS", Const, 0, ""}, + {"F_FSCTL", Const, 1, ""}, + {"F_FSDIRMASK", Const, 1, ""}, + {"F_FSIN", Const, 1, ""}, + {"F_FSINOUT", Const, 1, ""}, + {"F_FSOUT", Const, 1, ""}, + {"F_FSPRIV", Const, 1, ""}, + {"F_FSVOID", Const, 1, ""}, + {"F_FULLFSYNC", Const, 0, ""}, + {"F_GETCODEDIR", Const, 16, ""}, + {"F_GETFD", Const, 0, ""}, + {"F_GETFL", Const, 0, ""}, + {"F_GETLEASE", Const, 0, ""}, + {"F_GETLK", Const, 0, ""}, + {"F_GETLK64", Const, 0, ""}, + {"F_GETLKPID", Const, 0, ""}, + {"F_GETNOSIGPIPE", Const, 0, ""}, + {"F_GETOWN", Const, 0, ""}, + {"F_GETOWN_EX", Const, 0, ""}, + {"F_GETPATH", Const, 0, ""}, + {"F_GETPATH_MTMINFO", Const, 0, ""}, + {"F_GETPIPE_SZ", Const, 0, ""}, + {"F_GETPROTECTIONCLASS", Const, 0, ""}, + {"F_GETPROTECTIONLEVEL", Const, 16, ""}, + {"F_GETSIG", Const, 0, ""}, + {"F_GLOBAL_NOCACHE", Const, 0, ""}, + {"F_LOCK", Const, 0, ""}, + {"F_LOG2PHYS", Const, 0, ""}, + {"F_LOG2PHYS_EXT", Const, 0, ""}, + {"F_MARKDEPENDENCY", Const, 0, ""}, + {"F_MAXFD", Const, 1, ""}, + {"F_NOCACHE", Const, 0, ""}, + {"F_NODIRECT", Const, 0, ""}, + {"F_NOTIFY", Const, 0, ""}, + {"F_OGETLK", Const, 0, ""}, + {"F_OK", Const, 0, ""}, + {"F_OSETLK", Const, 0, ""}, + {"F_OSETLKW", Const, 0, ""}, + {"F_PARAM_MASK", Const, 1, ""}, + {"F_PARAM_MAX", Const, 1, ""}, + {"F_PATHPKG_CHECK", Const, 0, ""}, + {"F_PEOFPOSMODE", Const, 0, ""}, + {"F_PREALLOCATE", Const, 0, ""}, + {"F_RDADVISE", Const, 0, ""}, + {"F_RDAHEAD", Const, 0, ""}, + {"F_RDLCK", Const, 0, ""}, + {"F_READAHEAD", Const, 0, ""}, + {"F_READBOOTSTRAP", Const, 0, ""}, + {"F_SETBACKINGSTORE", Const, 0, ""}, + {"F_SETFD", Const, 0, ""}, + {"F_SETFL", Const, 0, ""}, + {"F_SETLEASE", Const, 0, ""}, + {"F_SETLK", Const, 0, ""}, + {"F_SETLK64", Const, 0, ""}, + {"F_SETLKW", Const, 0, ""}, + {"F_SETLKW64", Const, 0, ""}, + {"F_SETLKWTIMEOUT", Const, 16, ""}, + {"F_SETLK_REMOTE", Const, 0, ""}, + {"F_SETNOSIGPIPE", Const, 0, ""}, + {"F_SETOWN", Const, 0, ""}, + {"F_SETOWN_EX", Const, 0, ""}, + {"F_SETPIPE_SZ", Const, 0, ""}, + {"F_SETPROTECTIONCLASS", Const, 0, ""}, + {"F_SETSIG", Const, 0, ""}, + {"F_SETSIZE", Const, 0, ""}, + {"F_SHLCK", Const, 0, ""}, + {"F_SINGLE_WRITER", Const, 16, ""}, + {"F_TEST", Const, 0, ""}, + {"F_THAW_FS", Const, 0, ""}, + {"F_TLOCK", Const, 0, ""}, + {"F_TRANSCODEKEY", Const, 16, ""}, + {"F_ULOCK", Const, 0, ""}, + {"F_UNLCK", Const, 0, ""}, + {"F_UNLCKSYS", Const, 0, ""}, + {"F_VOLPOSMODE", Const, 0, ""}, + {"F_WRITEBOOTSTRAP", Const, 0, ""}, + {"F_WRLCK", Const, 0, ""}, + {"Faccessat", Func, 0, "func(dirfd int, path string, mode uint32, flags int) (err error)"}, + {"Fallocate", Func, 0, "func(fd int, mode uint32, off int64, len int64) (err error)"}, + {"Fbootstraptransfer_t", Type, 0, ""}, + {"Fbootstraptransfer_t.Buffer", Field, 0, ""}, + {"Fbootstraptransfer_t.Length", Field, 0, ""}, + {"Fbootstraptransfer_t.Offset", Field, 0, ""}, + {"Fchdir", Func, 0, "func(fd int) (err error)"}, + {"Fchflags", Func, 0, ""}, + {"Fchmod", Func, 0, "func(fd int, mode uint32) (err error)"}, + {"Fchmodat", Func, 0, "func(dirfd int, path string, mode uint32, flags int) error"}, + {"Fchown", Func, 0, "func(fd int, uid int, gid int) (err error)"}, + {"Fchownat", Func, 0, "func(dirfd int, path string, uid int, gid int, flags int) (err error)"}, + {"FcntlFlock", Func, 3, "func(fd uintptr, cmd int, lk *Flock_t) error"}, + {"FdSet", Type, 0, ""}, + {"FdSet.Bits", Field, 0, ""}, + {"FdSet.X__fds_bits", Field, 0, ""}, + {"Fdatasync", Func, 0, "func(fd int) (err error)"}, + {"FileNotifyInformation", Type, 0, ""}, + {"FileNotifyInformation.Action", Field, 0, ""}, + {"FileNotifyInformation.FileName", Field, 0, ""}, + {"FileNotifyInformation.FileNameLength", Field, 0, ""}, + {"FileNotifyInformation.NextEntryOffset", Field, 0, ""}, + {"Filetime", Type, 0, ""}, + {"Filetime.HighDateTime", Field, 0, ""}, + {"Filetime.LowDateTime", Field, 0, ""}, + {"FindClose", Func, 0, ""}, + {"FindFirstFile", Func, 0, ""}, + {"FindNextFile", Func, 0, ""}, + {"Flock", Func, 0, "func(fd int, how int) (err error)"}, + {"Flock_t", Type, 0, ""}, + {"Flock_t.Len", Field, 0, ""}, + {"Flock_t.Pad_cgo_0", Field, 0, ""}, + {"Flock_t.Pad_cgo_1", Field, 3, ""}, + {"Flock_t.Pid", Field, 0, ""}, + {"Flock_t.Start", Field, 0, ""}, + {"Flock_t.Sysid", Field, 0, ""}, + {"Flock_t.Type", Field, 0, ""}, + {"Flock_t.Whence", Field, 0, ""}, + {"FlushBpf", Func, 0, ""}, + {"FlushFileBuffers", Func, 0, ""}, + {"FlushViewOfFile", Func, 0, ""}, + {"ForkExec", Func, 0, "func(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)"}, + {"ForkLock", Var, 0, ""}, + {"FormatMessage", Func, 0, ""}, + {"Fpathconf", Func, 0, ""}, + {"FreeAddrInfoW", Func, 1, ""}, + {"FreeEnvironmentStrings", Func, 0, ""}, + {"FreeLibrary", Func, 0, ""}, + {"Fsid", Type, 0, ""}, + {"Fsid.Val", Field, 0, ""}, + {"Fsid.X__fsid_val", Field, 2, ""}, + {"Fsid.X__val", Field, 0, ""}, + {"Fstat", Func, 0, "func(fd int, stat *Stat_t) (err error)"}, + {"Fstatat", Func, 12, ""}, + {"Fstatfs", Func, 0, "func(fd int, buf *Statfs_t) (err error)"}, + {"Fstore_t", Type, 0, ""}, + {"Fstore_t.Bytesalloc", Field, 0, ""}, + {"Fstore_t.Flags", Field, 0, ""}, + {"Fstore_t.Length", Field, 0, ""}, + {"Fstore_t.Offset", Field, 0, ""}, + {"Fstore_t.Posmode", Field, 0, ""}, + {"Fsync", Func, 0, "func(fd int) (err error)"}, + {"Ftruncate", Func, 0, "func(fd int, length int64) (err error)"}, + {"FullPath", Func, 4, ""}, + {"Futimes", Func, 0, "func(fd int, tv []Timeval) (err error)"}, + {"Futimesat", Func, 0, "func(dirfd int, path string, tv []Timeval) (err error)"}, + {"GENERIC_ALL", Const, 0, ""}, + {"GENERIC_EXECUTE", Const, 0, ""}, + {"GENERIC_READ", Const, 0, ""}, + {"GENERIC_WRITE", Const, 0, ""}, + {"GUID", Type, 1, ""}, + {"GUID.Data1", Field, 1, ""}, + {"GUID.Data2", Field, 1, ""}, + {"GUID.Data3", Field, 1, ""}, + {"GUID.Data4", Field, 1, ""}, + {"GetAcceptExSockaddrs", Func, 0, ""}, + {"GetAdaptersInfo", Func, 0, ""}, + {"GetAddrInfoW", Func, 1, ""}, + {"GetCommandLine", Func, 0, ""}, + {"GetComputerName", Func, 0, ""}, + {"GetConsoleMode", Func, 1, ""}, + {"GetCurrentDirectory", Func, 0, ""}, + {"GetCurrentProcess", Func, 0, ""}, + {"GetEnvironmentStrings", Func, 0, ""}, + {"GetEnvironmentVariable", Func, 0, ""}, + {"GetExitCodeProcess", Func, 0, ""}, + {"GetFileAttributes", Func, 0, ""}, + {"GetFileAttributesEx", Func, 0, ""}, + {"GetFileExInfoStandard", Const, 0, ""}, + {"GetFileExMaxInfoLevel", Const, 0, ""}, + {"GetFileInformationByHandle", Func, 0, ""}, + {"GetFileType", Func, 0, ""}, + {"GetFullPathName", Func, 0, ""}, + {"GetHostByName", Func, 0, ""}, + {"GetIfEntry", Func, 0, ""}, + {"GetLastError", Func, 0, ""}, + {"GetLengthSid", Func, 0, ""}, + {"GetLongPathName", Func, 0, ""}, + {"GetProcAddress", Func, 0, ""}, + {"GetProcessTimes", Func, 0, ""}, + {"GetProtoByName", Func, 0, ""}, + {"GetQueuedCompletionStatus", Func, 0, ""}, + {"GetServByName", Func, 0, ""}, + {"GetShortPathName", Func, 0, ""}, + {"GetStartupInfo", Func, 0, ""}, + {"GetStdHandle", Func, 0, ""}, + {"GetSystemTimeAsFileTime", Func, 0, ""}, + {"GetTempPath", Func, 0, ""}, + {"GetTimeZoneInformation", Func, 0, ""}, + {"GetTokenInformation", Func, 0, ""}, + {"GetUserNameEx", Func, 0, ""}, + {"GetUserProfileDirectory", Func, 0, ""}, + {"GetVersion", Func, 0, ""}, + {"Getcwd", Func, 0, "func(buf []byte) (n int, err error)"}, + {"Getdents", Func, 0, "func(fd int, buf []byte) (n int, err error)"}, + {"Getdirentries", Func, 0, ""}, + {"Getdtablesize", Func, 0, ""}, + {"Getegid", Func, 0, "func() (egid int)"}, + {"Getenv", Func, 0, "func(key string) (value string, found bool)"}, + {"Geteuid", Func, 0, "func() (euid int)"}, + {"Getfsstat", Func, 0, ""}, + {"Getgid", Func, 0, "func() (gid int)"}, + {"Getgroups", Func, 0, "func() (gids []int, err error)"}, + {"Getpagesize", Func, 0, "func() int"}, + {"Getpeername", Func, 0, "func(fd int) (sa Sockaddr, err error)"}, + {"Getpgid", Func, 0, "func(pid int) (pgid int, err error)"}, + {"Getpgrp", Func, 0, "func() (pid int)"}, + {"Getpid", Func, 0, "func() (pid int)"}, + {"Getppid", Func, 0, "func() (ppid int)"}, + {"Getpriority", Func, 0, "func(which int, who int) (prio int, err error)"}, + {"Getrlimit", Func, 0, "func(resource int, rlim *Rlimit) (err error)"}, + {"Getrusage", Func, 0, "func(who int, rusage *Rusage) (err error)"}, + {"Getsid", Func, 0, ""}, + {"Getsockname", Func, 0, "func(fd int) (sa Sockaddr, err error)"}, + {"Getsockopt", Func, 1, ""}, + {"GetsockoptByte", Func, 0, ""}, + {"GetsockoptICMPv6Filter", Func, 2, "func(fd int, level int, opt int) (*ICMPv6Filter, error)"}, + {"GetsockoptIPMreq", Func, 0, "func(fd int, level int, opt int) (*IPMreq, error)"}, + {"GetsockoptIPMreqn", Func, 0, "func(fd int, level int, opt int) (*IPMreqn, error)"}, + {"GetsockoptIPv6MTUInfo", Func, 2, "func(fd int, level int, opt int) (*IPv6MTUInfo, error)"}, + {"GetsockoptIPv6Mreq", Func, 0, "func(fd int, level int, opt int) (*IPv6Mreq, error)"}, + {"GetsockoptInet4Addr", Func, 0, "func(fd int, level int, opt int) (value [4]byte, err error)"}, + {"GetsockoptInt", Func, 0, "func(fd int, level int, opt int) (value int, err error)"}, + {"GetsockoptUcred", Func, 1, "func(fd int, level int, opt int) (*Ucred, error)"}, + {"Gettid", Func, 0, "func() (tid int)"}, + {"Gettimeofday", Func, 0, "func(tv *Timeval) (err error)"}, + {"Getuid", Func, 0, "func() (uid int)"}, + {"Getwd", Func, 0, "func() (wd string, err error)"}, + {"Getxattr", Func, 1, "func(path string, attr string, dest []byte) (sz int, err error)"}, + {"HANDLE_FLAG_INHERIT", Const, 0, ""}, + {"HKEY_CLASSES_ROOT", Const, 0, ""}, + {"HKEY_CURRENT_CONFIG", Const, 0, ""}, + {"HKEY_CURRENT_USER", Const, 0, ""}, + {"HKEY_DYN_DATA", Const, 0, ""}, + {"HKEY_LOCAL_MACHINE", Const, 0, ""}, + {"HKEY_PERFORMANCE_DATA", Const, 0, ""}, + {"HKEY_USERS", Const, 0, ""}, + {"HUPCL", Const, 0, ""}, + {"Handle", Type, 0, ""}, + {"Hostent", Type, 0, ""}, + {"Hostent.AddrList", Field, 0, ""}, + {"Hostent.AddrType", Field, 0, ""}, + {"Hostent.Aliases", Field, 0, ""}, + {"Hostent.Length", Field, 0, ""}, + {"Hostent.Name", Field, 0, ""}, + {"ICANON", Const, 0, ""}, + {"ICMP6_FILTER", Const, 2, ""}, + {"ICMPV6_FILTER", Const, 2, ""}, + {"ICMPv6Filter", Type, 2, ""}, + {"ICMPv6Filter.Data", Field, 2, ""}, + {"ICMPv6Filter.Filt", Field, 2, ""}, + {"ICRNL", Const, 0, ""}, + {"IEXTEN", Const, 0, ""}, + {"IFAN_ARRIVAL", Const, 1, ""}, + {"IFAN_DEPARTURE", Const, 1, ""}, + {"IFA_ADDRESS", Const, 0, ""}, + {"IFA_ANYCAST", Const, 0, ""}, + {"IFA_BROADCAST", Const, 0, ""}, + {"IFA_CACHEINFO", Const, 0, ""}, + {"IFA_F_DADFAILED", Const, 0, ""}, + {"IFA_F_DEPRECATED", Const, 0, ""}, + {"IFA_F_HOMEADDRESS", Const, 0, ""}, + {"IFA_F_NODAD", Const, 0, ""}, + {"IFA_F_OPTIMISTIC", Const, 0, ""}, + {"IFA_F_PERMANENT", Const, 0, ""}, + {"IFA_F_SECONDARY", Const, 0, ""}, + {"IFA_F_TEMPORARY", Const, 0, ""}, + {"IFA_F_TENTATIVE", Const, 0, ""}, + {"IFA_LABEL", Const, 0, ""}, + {"IFA_LOCAL", Const, 0, ""}, + {"IFA_MAX", Const, 0, ""}, + {"IFA_MULTICAST", Const, 0, ""}, + {"IFA_ROUTE", Const, 1, ""}, + {"IFA_UNSPEC", Const, 0, ""}, + {"IFF_ALLMULTI", Const, 0, ""}, + {"IFF_ALTPHYS", Const, 0, ""}, + {"IFF_AUTOMEDIA", Const, 0, ""}, + {"IFF_BROADCAST", Const, 0, ""}, + {"IFF_CANTCHANGE", Const, 0, ""}, + {"IFF_CANTCONFIG", Const, 1, ""}, + {"IFF_DEBUG", Const, 0, ""}, + {"IFF_DRV_OACTIVE", Const, 0, ""}, + {"IFF_DRV_RUNNING", Const, 0, ""}, + {"IFF_DYING", Const, 0, ""}, + {"IFF_DYNAMIC", Const, 0, ""}, + {"IFF_LINK0", Const, 0, ""}, + {"IFF_LINK1", Const, 0, ""}, + {"IFF_LINK2", Const, 0, ""}, + {"IFF_LOOPBACK", Const, 0, ""}, + {"IFF_MASTER", Const, 0, ""}, + {"IFF_MONITOR", Const, 0, ""}, + {"IFF_MULTICAST", Const, 0, ""}, + {"IFF_NOARP", Const, 0, ""}, + {"IFF_NOTRAILERS", Const, 0, ""}, + {"IFF_NO_PI", Const, 0, ""}, + {"IFF_OACTIVE", Const, 0, ""}, + {"IFF_ONE_QUEUE", Const, 0, ""}, + {"IFF_POINTOPOINT", Const, 0, ""}, + {"IFF_POINTTOPOINT", Const, 0, ""}, + {"IFF_PORTSEL", Const, 0, ""}, + {"IFF_PPROMISC", Const, 0, ""}, + {"IFF_PROMISC", Const, 0, ""}, + {"IFF_RENAMING", Const, 0, ""}, + {"IFF_RUNNING", Const, 0, ""}, + {"IFF_SIMPLEX", Const, 0, ""}, + {"IFF_SLAVE", Const, 0, ""}, + {"IFF_SMART", Const, 0, ""}, + {"IFF_STATICARP", Const, 0, ""}, + {"IFF_TAP", Const, 0, ""}, + {"IFF_TUN", Const, 0, ""}, + {"IFF_TUN_EXCL", Const, 0, ""}, + {"IFF_UP", Const, 0, ""}, + {"IFF_VNET_HDR", Const, 0, ""}, + {"IFLA_ADDRESS", Const, 0, ""}, + {"IFLA_BROADCAST", Const, 0, ""}, + {"IFLA_COST", Const, 0, ""}, + {"IFLA_IFALIAS", Const, 0, ""}, + {"IFLA_IFNAME", Const, 0, ""}, + {"IFLA_LINK", Const, 0, ""}, + {"IFLA_LINKINFO", Const, 0, ""}, + {"IFLA_LINKMODE", Const, 0, ""}, + {"IFLA_MAP", Const, 0, ""}, + {"IFLA_MASTER", Const, 0, ""}, + {"IFLA_MAX", Const, 0, ""}, + {"IFLA_MTU", Const, 0, ""}, + {"IFLA_NET_NS_PID", Const, 0, ""}, + {"IFLA_OPERSTATE", Const, 0, ""}, + {"IFLA_PRIORITY", Const, 0, ""}, + {"IFLA_PROTINFO", Const, 0, ""}, + {"IFLA_QDISC", Const, 0, ""}, + {"IFLA_STATS", Const, 0, ""}, + {"IFLA_TXQLEN", Const, 0, ""}, + {"IFLA_UNSPEC", Const, 0, ""}, + {"IFLA_WEIGHT", Const, 0, ""}, + {"IFLA_WIRELESS", Const, 0, ""}, + {"IFNAMSIZ", Const, 0, ""}, + {"IFT_1822", Const, 0, ""}, + {"IFT_A12MPPSWITCH", Const, 0, ""}, + {"IFT_AAL2", Const, 0, ""}, + {"IFT_AAL5", Const, 0, ""}, + {"IFT_ADSL", Const, 0, ""}, + {"IFT_AFLANE8023", Const, 0, ""}, + {"IFT_AFLANE8025", Const, 0, ""}, + {"IFT_ARAP", Const, 0, ""}, + {"IFT_ARCNET", Const, 0, ""}, + {"IFT_ARCNETPLUS", Const, 0, ""}, + {"IFT_ASYNC", Const, 0, ""}, + {"IFT_ATM", Const, 0, ""}, + {"IFT_ATMDXI", Const, 0, ""}, + {"IFT_ATMFUNI", Const, 0, ""}, + {"IFT_ATMIMA", Const, 0, ""}, + {"IFT_ATMLOGICAL", Const, 0, ""}, + {"IFT_ATMRADIO", Const, 0, ""}, + {"IFT_ATMSUBINTERFACE", Const, 0, ""}, + {"IFT_ATMVCIENDPT", Const, 0, ""}, + {"IFT_ATMVIRTUAL", Const, 0, ""}, + {"IFT_BGPPOLICYACCOUNTING", Const, 0, ""}, + {"IFT_BLUETOOTH", Const, 1, ""}, + {"IFT_BRIDGE", Const, 0, ""}, + {"IFT_BSC", Const, 0, ""}, + {"IFT_CARP", Const, 0, ""}, + {"IFT_CCTEMUL", Const, 0, ""}, + {"IFT_CELLULAR", Const, 0, ""}, + {"IFT_CEPT", Const, 0, ""}, + {"IFT_CES", Const, 0, ""}, + {"IFT_CHANNEL", Const, 0, ""}, + {"IFT_CNR", Const, 0, ""}, + {"IFT_COFFEE", Const, 0, ""}, + {"IFT_COMPOSITELINK", Const, 0, ""}, + {"IFT_DCN", Const, 0, ""}, + {"IFT_DIGITALPOWERLINE", Const, 0, ""}, + {"IFT_DIGITALWRAPPEROVERHEADCHANNEL", Const, 0, ""}, + {"IFT_DLSW", Const, 0, ""}, + {"IFT_DOCSCABLEDOWNSTREAM", Const, 0, ""}, + {"IFT_DOCSCABLEMACLAYER", Const, 0, ""}, + {"IFT_DOCSCABLEUPSTREAM", Const, 0, ""}, + {"IFT_DOCSCABLEUPSTREAMCHANNEL", Const, 1, ""}, + {"IFT_DS0", Const, 0, ""}, + {"IFT_DS0BUNDLE", Const, 0, ""}, + {"IFT_DS1FDL", Const, 0, ""}, + {"IFT_DS3", Const, 0, ""}, + {"IFT_DTM", Const, 0, ""}, + {"IFT_DUMMY", Const, 1, ""}, + {"IFT_DVBASILN", Const, 0, ""}, + {"IFT_DVBASIOUT", Const, 0, ""}, + {"IFT_DVBRCCDOWNSTREAM", Const, 0, ""}, + {"IFT_DVBRCCMACLAYER", Const, 0, ""}, + {"IFT_DVBRCCUPSTREAM", Const, 0, ""}, + {"IFT_ECONET", Const, 1, ""}, + {"IFT_ENC", Const, 0, ""}, + {"IFT_EON", Const, 0, ""}, + {"IFT_EPLRS", Const, 0, ""}, + {"IFT_ESCON", Const, 0, ""}, + {"IFT_ETHER", Const, 0, ""}, + {"IFT_FAITH", Const, 0, ""}, + {"IFT_FAST", Const, 0, ""}, + {"IFT_FASTETHER", Const, 0, ""}, + {"IFT_FASTETHERFX", Const, 0, ""}, + {"IFT_FDDI", Const, 0, ""}, + {"IFT_FIBRECHANNEL", Const, 0, ""}, + {"IFT_FRAMERELAYINTERCONNECT", Const, 0, ""}, + {"IFT_FRAMERELAYMPI", Const, 0, ""}, + {"IFT_FRDLCIENDPT", Const, 0, ""}, + {"IFT_FRELAY", Const, 0, ""}, + {"IFT_FRELAYDCE", Const, 0, ""}, + {"IFT_FRF16MFRBUNDLE", Const, 0, ""}, + {"IFT_FRFORWARD", Const, 0, ""}, + {"IFT_G703AT2MB", Const, 0, ""}, + {"IFT_G703AT64K", Const, 0, ""}, + {"IFT_GIF", Const, 0, ""}, + {"IFT_GIGABITETHERNET", Const, 0, ""}, + {"IFT_GR303IDT", Const, 0, ""}, + {"IFT_GR303RDT", Const, 0, ""}, + {"IFT_H323GATEKEEPER", Const, 0, ""}, + {"IFT_H323PROXY", Const, 0, ""}, + {"IFT_HDH1822", Const, 0, ""}, + {"IFT_HDLC", Const, 0, ""}, + {"IFT_HDSL2", Const, 0, ""}, + {"IFT_HIPERLAN2", Const, 0, ""}, + {"IFT_HIPPI", Const, 0, ""}, + {"IFT_HIPPIINTERFACE", Const, 0, ""}, + {"IFT_HOSTPAD", Const, 0, ""}, + {"IFT_HSSI", Const, 0, ""}, + {"IFT_HY", Const, 0, ""}, + {"IFT_IBM370PARCHAN", Const, 0, ""}, + {"IFT_IDSL", Const, 0, ""}, + {"IFT_IEEE1394", Const, 0, ""}, + {"IFT_IEEE80211", Const, 0, ""}, + {"IFT_IEEE80212", Const, 0, ""}, + {"IFT_IEEE8023ADLAG", Const, 0, ""}, + {"IFT_IFGSN", Const, 0, ""}, + {"IFT_IMT", Const, 0, ""}, + {"IFT_INFINIBAND", Const, 1, ""}, + {"IFT_INTERLEAVE", Const, 0, ""}, + {"IFT_IP", Const, 0, ""}, + {"IFT_IPFORWARD", Const, 0, ""}, + {"IFT_IPOVERATM", Const, 0, ""}, + {"IFT_IPOVERCDLC", Const, 0, ""}, + {"IFT_IPOVERCLAW", Const, 0, ""}, + {"IFT_IPSWITCH", Const, 0, ""}, + {"IFT_IPXIP", Const, 0, ""}, + {"IFT_ISDN", Const, 0, ""}, + {"IFT_ISDNBASIC", Const, 0, ""}, + {"IFT_ISDNPRIMARY", Const, 0, ""}, + {"IFT_ISDNS", Const, 0, ""}, + {"IFT_ISDNU", Const, 0, ""}, + {"IFT_ISO88022LLC", Const, 0, ""}, + {"IFT_ISO88023", Const, 0, ""}, + {"IFT_ISO88024", Const, 0, ""}, + {"IFT_ISO88025", Const, 0, ""}, + {"IFT_ISO88025CRFPINT", Const, 0, ""}, + {"IFT_ISO88025DTR", Const, 0, ""}, + {"IFT_ISO88025FIBER", Const, 0, ""}, + {"IFT_ISO88026", Const, 0, ""}, + {"IFT_ISUP", Const, 0, ""}, + {"IFT_L2VLAN", Const, 0, ""}, + {"IFT_L3IPVLAN", Const, 0, ""}, + {"IFT_L3IPXVLAN", Const, 0, ""}, + {"IFT_LAPB", Const, 0, ""}, + {"IFT_LAPD", Const, 0, ""}, + {"IFT_LAPF", Const, 0, ""}, + {"IFT_LINEGROUP", Const, 1, ""}, + {"IFT_LOCALTALK", Const, 0, ""}, + {"IFT_LOOP", Const, 0, ""}, + {"IFT_MEDIAMAILOVERIP", Const, 0, ""}, + {"IFT_MFSIGLINK", Const, 0, ""}, + {"IFT_MIOX25", Const, 0, ""}, + {"IFT_MODEM", Const, 0, ""}, + {"IFT_MPC", Const, 0, ""}, + {"IFT_MPLS", Const, 0, ""}, + {"IFT_MPLSTUNNEL", Const, 0, ""}, + {"IFT_MSDSL", Const, 0, ""}, + {"IFT_MVL", Const, 0, ""}, + {"IFT_MYRINET", Const, 0, ""}, + {"IFT_NFAS", Const, 0, ""}, + {"IFT_NSIP", Const, 0, ""}, + {"IFT_OPTICALCHANNEL", Const, 0, ""}, + {"IFT_OPTICALTRANSPORT", Const, 0, ""}, + {"IFT_OTHER", Const, 0, ""}, + {"IFT_P10", Const, 0, ""}, + {"IFT_P80", Const, 0, ""}, + {"IFT_PARA", Const, 0, ""}, + {"IFT_PDP", Const, 0, ""}, + {"IFT_PFLOG", Const, 0, ""}, + {"IFT_PFLOW", Const, 1, ""}, + {"IFT_PFSYNC", Const, 0, ""}, + {"IFT_PLC", Const, 0, ""}, + {"IFT_PON155", Const, 1, ""}, + {"IFT_PON622", Const, 1, ""}, + {"IFT_POS", Const, 0, ""}, + {"IFT_PPP", Const, 0, ""}, + {"IFT_PPPMULTILINKBUNDLE", Const, 0, ""}, + {"IFT_PROPATM", Const, 1, ""}, + {"IFT_PROPBWAP2MP", Const, 0, ""}, + {"IFT_PROPCNLS", Const, 0, ""}, + {"IFT_PROPDOCSWIRELESSDOWNSTREAM", Const, 0, ""}, + {"IFT_PROPDOCSWIRELESSMACLAYER", Const, 0, ""}, + {"IFT_PROPDOCSWIRELESSUPSTREAM", Const, 0, ""}, + {"IFT_PROPMUX", Const, 0, ""}, + {"IFT_PROPVIRTUAL", Const, 0, ""}, + {"IFT_PROPWIRELESSP2P", Const, 0, ""}, + {"IFT_PTPSERIAL", Const, 0, ""}, + {"IFT_PVC", Const, 0, ""}, + {"IFT_Q2931", Const, 1, ""}, + {"IFT_QLLC", Const, 0, ""}, + {"IFT_RADIOMAC", Const, 0, ""}, + {"IFT_RADSL", Const, 0, ""}, + {"IFT_REACHDSL", Const, 0, ""}, + {"IFT_RFC1483", Const, 0, ""}, + {"IFT_RS232", Const, 0, ""}, + {"IFT_RSRB", Const, 0, ""}, + {"IFT_SDLC", Const, 0, ""}, + {"IFT_SDSL", Const, 0, ""}, + {"IFT_SHDSL", Const, 0, ""}, + {"IFT_SIP", Const, 0, ""}, + {"IFT_SIPSIG", Const, 1, ""}, + {"IFT_SIPTG", Const, 1, ""}, + {"IFT_SLIP", Const, 0, ""}, + {"IFT_SMDSDXI", Const, 0, ""}, + {"IFT_SMDSICIP", Const, 0, ""}, + {"IFT_SONET", Const, 0, ""}, + {"IFT_SONETOVERHEADCHANNEL", Const, 0, ""}, + {"IFT_SONETPATH", Const, 0, ""}, + {"IFT_SONETVT", Const, 0, ""}, + {"IFT_SRP", Const, 0, ""}, + {"IFT_SS7SIGLINK", Const, 0, ""}, + {"IFT_STACKTOSTACK", Const, 0, ""}, + {"IFT_STARLAN", Const, 0, ""}, + {"IFT_STF", Const, 0, ""}, + {"IFT_T1", Const, 0, ""}, + {"IFT_TDLC", Const, 0, ""}, + {"IFT_TELINK", Const, 1, ""}, + {"IFT_TERMPAD", Const, 0, ""}, + {"IFT_TR008", Const, 0, ""}, + {"IFT_TRANSPHDLC", Const, 0, ""}, + {"IFT_TUNNEL", Const, 0, ""}, + {"IFT_ULTRA", Const, 0, ""}, + {"IFT_USB", Const, 0, ""}, + {"IFT_V11", Const, 0, ""}, + {"IFT_V35", Const, 0, ""}, + {"IFT_V36", Const, 0, ""}, + {"IFT_V37", Const, 0, ""}, + {"IFT_VDSL", Const, 0, ""}, + {"IFT_VIRTUALIPADDRESS", Const, 0, ""}, + {"IFT_VIRTUALTG", Const, 1, ""}, + {"IFT_VOICEDID", Const, 1, ""}, + {"IFT_VOICEEM", Const, 0, ""}, + {"IFT_VOICEEMFGD", Const, 1, ""}, + {"IFT_VOICEENCAP", Const, 0, ""}, + {"IFT_VOICEFGDEANA", Const, 1, ""}, + {"IFT_VOICEFXO", Const, 0, ""}, + {"IFT_VOICEFXS", Const, 0, ""}, + {"IFT_VOICEOVERATM", Const, 0, ""}, + {"IFT_VOICEOVERCABLE", Const, 1, ""}, + {"IFT_VOICEOVERFRAMERELAY", Const, 0, ""}, + {"IFT_VOICEOVERIP", Const, 0, ""}, + {"IFT_X213", Const, 0, ""}, + {"IFT_X25", Const, 0, ""}, + {"IFT_X25DDN", Const, 0, ""}, + {"IFT_X25HUNTGROUP", Const, 0, ""}, + {"IFT_X25MLP", Const, 0, ""}, + {"IFT_X25PLE", Const, 0, ""}, + {"IFT_XETHER", Const, 0, ""}, + {"IGNBRK", Const, 0, ""}, + {"IGNCR", Const, 0, ""}, + {"IGNORE", Const, 0, ""}, + {"IGNPAR", Const, 0, ""}, + {"IMAXBEL", Const, 0, ""}, + {"INFINITE", Const, 0, ""}, + {"INLCR", Const, 0, ""}, + {"INPCK", Const, 0, ""}, + {"INVALID_FILE_ATTRIBUTES", Const, 0, ""}, + {"IN_ACCESS", Const, 0, ""}, + {"IN_ALL_EVENTS", Const, 0, ""}, + {"IN_ATTRIB", Const, 0, ""}, + {"IN_CLASSA_HOST", Const, 0, ""}, + {"IN_CLASSA_MAX", Const, 0, ""}, + {"IN_CLASSA_NET", Const, 0, ""}, + {"IN_CLASSA_NSHIFT", Const, 0, ""}, + {"IN_CLASSB_HOST", Const, 0, ""}, + {"IN_CLASSB_MAX", Const, 0, ""}, + {"IN_CLASSB_NET", Const, 0, ""}, + {"IN_CLASSB_NSHIFT", Const, 0, ""}, + {"IN_CLASSC_HOST", Const, 0, ""}, + {"IN_CLASSC_NET", Const, 0, ""}, + {"IN_CLASSC_NSHIFT", Const, 0, ""}, + {"IN_CLASSD_HOST", Const, 0, ""}, + {"IN_CLASSD_NET", Const, 0, ""}, + {"IN_CLASSD_NSHIFT", Const, 0, ""}, + {"IN_CLOEXEC", Const, 0, ""}, + {"IN_CLOSE", Const, 0, ""}, + {"IN_CLOSE_NOWRITE", Const, 0, ""}, + {"IN_CLOSE_WRITE", Const, 0, ""}, + {"IN_CREATE", Const, 0, ""}, + {"IN_DELETE", Const, 0, ""}, + {"IN_DELETE_SELF", Const, 0, ""}, + {"IN_DONT_FOLLOW", Const, 0, ""}, + {"IN_EXCL_UNLINK", Const, 0, ""}, + {"IN_IGNORED", Const, 0, ""}, + {"IN_ISDIR", Const, 0, ""}, + {"IN_LINKLOCALNETNUM", Const, 0, ""}, + {"IN_LOOPBACKNET", Const, 0, ""}, + {"IN_MASK_ADD", Const, 0, ""}, + {"IN_MODIFY", Const, 0, ""}, + {"IN_MOVE", Const, 0, ""}, + {"IN_MOVED_FROM", Const, 0, ""}, + {"IN_MOVED_TO", Const, 0, ""}, + {"IN_MOVE_SELF", Const, 0, ""}, + {"IN_NONBLOCK", Const, 0, ""}, + {"IN_ONESHOT", Const, 0, ""}, + {"IN_ONLYDIR", Const, 0, ""}, + {"IN_OPEN", Const, 0, ""}, + {"IN_Q_OVERFLOW", Const, 0, ""}, + {"IN_RFC3021_HOST", Const, 1, ""}, + {"IN_RFC3021_MASK", Const, 1, ""}, + {"IN_RFC3021_NET", Const, 1, ""}, + {"IN_RFC3021_NSHIFT", Const, 1, ""}, + {"IN_UNMOUNT", Const, 0, ""}, + {"IOC_IN", Const, 1, ""}, + {"IOC_INOUT", Const, 1, ""}, + {"IOC_OUT", Const, 1, ""}, + {"IOC_VENDOR", Const, 3, ""}, + {"IOC_WS2", Const, 1, ""}, + {"IO_REPARSE_TAG_SYMLINK", Const, 4, ""}, + {"IPMreq", Type, 0, ""}, + {"IPMreq.Interface", Field, 0, ""}, + {"IPMreq.Multiaddr", Field, 0, ""}, + {"IPMreqn", Type, 0, ""}, + {"IPMreqn.Address", Field, 0, ""}, + {"IPMreqn.Ifindex", Field, 0, ""}, + {"IPMreqn.Multiaddr", Field, 0, ""}, + {"IPPROTO_3PC", Const, 0, ""}, + {"IPPROTO_ADFS", Const, 0, ""}, + {"IPPROTO_AH", Const, 0, ""}, + {"IPPROTO_AHIP", Const, 0, ""}, + {"IPPROTO_APES", Const, 0, ""}, + {"IPPROTO_ARGUS", Const, 0, ""}, + {"IPPROTO_AX25", Const, 0, ""}, + {"IPPROTO_BHA", Const, 0, ""}, + {"IPPROTO_BLT", Const, 0, ""}, + {"IPPROTO_BRSATMON", Const, 0, ""}, + {"IPPROTO_CARP", Const, 0, ""}, + {"IPPROTO_CFTP", Const, 0, ""}, + {"IPPROTO_CHAOS", Const, 0, ""}, + {"IPPROTO_CMTP", Const, 0, ""}, + {"IPPROTO_COMP", Const, 0, ""}, + {"IPPROTO_CPHB", Const, 0, ""}, + {"IPPROTO_CPNX", Const, 0, ""}, + {"IPPROTO_DCCP", Const, 0, ""}, + {"IPPROTO_DDP", Const, 0, ""}, + {"IPPROTO_DGP", Const, 0, ""}, + {"IPPROTO_DIVERT", Const, 0, ""}, + {"IPPROTO_DIVERT_INIT", Const, 3, ""}, + {"IPPROTO_DIVERT_RESP", Const, 3, ""}, + {"IPPROTO_DONE", Const, 0, ""}, + {"IPPROTO_DSTOPTS", Const, 0, ""}, + {"IPPROTO_EGP", Const, 0, ""}, + {"IPPROTO_EMCON", Const, 0, ""}, + {"IPPROTO_ENCAP", Const, 0, ""}, + {"IPPROTO_EON", Const, 0, ""}, + {"IPPROTO_ESP", Const, 0, ""}, + {"IPPROTO_ETHERIP", Const, 0, ""}, + {"IPPROTO_FRAGMENT", Const, 0, ""}, + {"IPPROTO_GGP", Const, 0, ""}, + {"IPPROTO_GMTP", Const, 0, ""}, + {"IPPROTO_GRE", Const, 0, ""}, + {"IPPROTO_HELLO", Const, 0, ""}, + {"IPPROTO_HMP", Const, 0, ""}, + {"IPPROTO_HOPOPTS", Const, 0, ""}, + {"IPPROTO_ICMP", Const, 0, ""}, + {"IPPROTO_ICMPV6", Const, 0, ""}, + {"IPPROTO_IDP", Const, 0, ""}, + {"IPPROTO_IDPR", Const, 0, ""}, + {"IPPROTO_IDRP", Const, 0, ""}, + {"IPPROTO_IGMP", Const, 0, ""}, + {"IPPROTO_IGP", Const, 0, ""}, + {"IPPROTO_IGRP", Const, 0, ""}, + {"IPPROTO_IL", Const, 0, ""}, + {"IPPROTO_INLSP", Const, 0, ""}, + {"IPPROTO_INP", Const, 0, ""}, + {"IPPROTO_IP", Const, 0, ""}, + {"IPPROTO_IPCOMP", Const, 0, ""}, + {"IPPROTO_IPCV", Const, 0, ""}, + {"IPPROTO_IPEIP", Const, 0, ""}, + {"IPPROTO_IPIP", Const, 0, ""}, + {"IPPROTO_IPPC", Const, 0, ""}, + {"IPPROTO_IPV4", Const, 0, ""}, + {"IPPROTO_IPV6", Const, 0, ""}, + {"IPPROTO_IPV6_ICMP", Const, 1, ""}, + {"IPPROTO_IRTP", Const, 0, ""}, + {"IPPROTO_KRYPTOLAN", Const, 0, ""}, + {"IPPROTO_LARP", Const, 0, ""}, + {"IPPROTO_LEAF1", Const, 0, ""}, + {"IPPROTO_LEAF2", Const, 0, ""}, + {"IPPROTO_MAX", Const, 0, ""}, + {"IPPROTO_MAXID", Const, 0, ""}, + {"IPPROTO_MEAS", Const, 0, ""}, + {"IPPROTO_MH", Const, 1, ""}, + {"IPPROTO_MHRP", Const, 0, ""}, + {"IPPROTO_MICP", Const, 0, ""}, + {"IPPROTO_MOBILE", Const, 0, ""}, + {"IPPROTO_MPLS", Const, 1, ""}, + {"IPPROTO_MTP", Const, 0, ""}, + {"IPPROTO_MUX", Const, 0, ""}, + {"IPPROTO_ND", Const, 0, ""}, + {"IPPROTO_NHRP", Const, 0, ""}, + {"IPPROTO_NONE", Const, 0, ""}, + {"IPPROTO_NSP", Const, 0, ""}, + {"IPPROTO_NVPII", Const, 0, ""}, + {"IPPROTO_OLD_DIVERT", Const, 0, ""}, + {"IPPROTO_OSPFIGP", Const, 0, ""}, + {"IPPROTO_PFSYNC", Const, 0, ""}, + {"IPPROTO_PGM", Const, 0, ""}, + {"IPPROTO_PIGP", Const, 0, ""}, + {"IPPROTO_PIM", Const, 0, ""}, + {"IPPROTO_PRM", Const, 0, ""}, + {"IPPROTO_PUP", Const, 0, ""}, + {"IPPROTO_PVP", Const, 0, ""}, + {"IPPROTO_RAW", Const, 0, ""}, + {"IPPROTO_RCCMON", Const, 0, ""}, + {"IPPROTO_RDP", Const, 0, ""}, + {"IPPROTO_ROUTING", Const, 0, ""}, + {"IPPROTO_RSVP", Const, 0, ""}, + {"IPPROTO_RVD", Const, 0, ""}, + {"IPPROTO_SATEXPAK", Const, 0, ""}, + {"IPPROTO_SATMON", Const, 0, ""}, + {"IPPROTO_SCCSP", Const, 0, ""}, + {"IPPROTO_SCTP", Const, 0, ""}, + {"IPPROTO_SDRP", Const, 0, ""}, + {"IPPROTO_SEND", Const, 1, ""}, + {"IPPROTO_SEP", Const, 0, ""}, + {"IPPROTO_SKIP", Const, 0, ""}, + {"IPPROTO_SPACER", Const, 0, ""}, + {"IPPROTO_SRPC", Const, 0, ""}, + {"IPPROTO_ST", Const, 0, ""}, + {"IPPROTO_SVMTP", Const, 0, ""}, + {"IPPROTO_SWIPE", Const, 0, ""}, + {"IPPROTO_TCF", Const, 0, ""}, + {"IPPROTO_TCP", Const, 0, ""}, + {"IPPROTO_TLSP", Const, 0, ""}, + {"IPPROTO_TP", Const, 0, ""}, + {"IPPROTO_TPXX", Const, 0, ""}, + {"IPPROTO_TRUNK1", Const, 0, ""}, + {"IPPROTO_TRUNK2", Const, 0, ""}, + {"IPPROTO_TTP", Const, 0, ""}, + {"IPPROTO_UDP", Const, 0, ""}, + {"IPPROTO_UDPLITE", Const, 0, ""}, + {"IPPROTO_VINES", Const, 0, ""}, + {"IPPROTO_VISA", Const, 0, ""}, + {"IPPROTO_VMTP", Const, 0, ""}, + {"IPPROTO_VRRP", Const, 1, ""}, + {"IPPROTO_WBEXPAK", Const, 0, ""}, + {"IPPROTO_WBMON", Const, 0, ""}, + {"IPPROTO_WSN", Const, 0, ""}, + {"IPPROTO_XNET", Const, 0, ""}, + {"IPPROTO_XTP", Const, 0, ""}, + {"IPV6_2292DSTOPTS", Const, 0, ""}, + {"IPV6_2292HOPLIMIT", Const, 0, ""}, + {"IPV6_2292HOPOPTS", Const, 0, ""}, + {"IPV6_2292NEXTHOP", Const, 0, ""}, + {"IPV6_2292PKTINFO", Const, 0, ""}, + {"IPV6_2292PKTOPTIONS", Const, 0, ""}, + {"IPV6_2292RTHDR", Const, 0, ""}, + {"IPV6_ADDRFORM", Const, 0, ""}, + {"IPV6_ADD_MEMBERSHIP", Const, 0, ""}, + {"IPV6_AUTHHDR", Const, 0, ""}, + {"IPV6_AUTH_LEVEL", Const, 1, ""}, + {"IPV6_AUTOFLOWLABEL", Const, 0, ""}, + {"IPV6_BINDANY", Const, 0, ""}, + {"IPV6_BINDV6ONLY", Const, 0, ""}, + {"IPV6_BOUND_IF", Const, 0, ""}, + {"IPV6_CHECKSUM", Const, 0, ""}, + {"IPV6_DEFAULT_MULTICAST_HOPS", Const, 0, ""}, + {"IPV6_DEFAULT_MULTICAST_LOOP", Const, 0, ""}, + {"IPV6_DEFHLIM", Const, 0, ""}, + {"IPV6_DONTFRAG", Const, 0, ""}, + {"IPV6_DROP_MEMBERSHIP", Const, 0, ""}, + {"IPV6_DSTOPTS", Const, 0, ""}, + {"IPV6_ESP_NETWORK_LEVEL", Const, 1, ""}, + {"IPV6_ESP_TRANS_LEVEL", Const, 1, ""}, + {"IPV6_FAITH", Const, 0, ""}, + {"IPV6_FLOWINFO_MASK", Const, 0, ""}, + {"IPV6_FLOWLABEL_MASK", Const, 0, ""}, + {"IPV6_FRAGTTL", Const, 0, ""}, + {"IPV6_FW_ADD", Const, 0, ""}, + {"IPV6_FW_DEL", Const, 0, ""}, + {"IPV6_FW_FLUSH", Const, 0, ""}, + {"IPV6_FW_GET", Const, 0, ""}, + {"IPV6_FW_ZERO", Const, 0, ""}, + {"IPV6_HLIMDEC", Const, 0, ""}, + {"IPV6_HOPLIMIT", Const, 0, ""}, + {"IPV6_HOPOPTS", Const, 0, ""}, + {"IPV6_IPCOMP_LEVEL", Const, 1, ""}, + {"IPV6_IPSEC_POLICY", Const, 0, ""}, + {"IPV6_JOIN_ANYCAST", Const, 0, ""}, + {"IPV6_JOIN_GROUP", Const, 0, ""}, + {"IPV6_LEAVE_ANYCAST", Const, 0, ""}, + {"IPV6_LEAVE_GROUP", Const, 0, ""}, + {"IPV6_MAXHLIM", Const, 0, ""}, + {"IPV6_MAXOPTHDR", Const, 0, ""}, + {"IPV6_MAXPACKET", Const, 0, ""}, + {"IPV6_MAX_GROUP_SRC_FILTER", Const, 0, ""}, + {"IPV6_MAX_MEMBERSHIPS", Const, 0, ""}, + {"IPV6_MAX_SOCK_SRC_FILTER", Const, 0, ""}, + {"IPV6_MIN_MEMBERSHIPS", Const, 0, ""}, + {"IPV6_MMTU", Const, 0, ""}, + {"IPV6_MSFILTER", Const, 0, ""}, + {"IPV6_MTU", Const, 0, ""}, + {"IPV6_MTU_DISCOVER", Const, 0, ""}, + {"IPV6_MULTICAST_HOPS", Const, 0, ""}, + {"IPV6_MULTICAST_IF", Const, 0, ""}, + {"IPV6_MULTICAST_LOOP", Const, 0, ""}, + {"IPV6_NEXTHOP", Const, 0, ""}, + {"IPV6_OPTIONS", Const, 1, ""}, + {"IPV6_PATHMTU", Const, 0, ""}, + {"IPV6_PIPEX", Const, 1, ""}, + {"IPV6_PKTINFO", Const, 0, ""}, + {"IPV6_PMTUDISC_DO", Const, 0, ""}, + {"IPV6_PMTUDISC_DONT", Const, 0, ""}, + {"IPV6_PMTUDISC_PROBE", Const, 0, ""}, + {"IPV6_PMTUDISC_WANT", Const, 0, ""}, + {"IPV6_PORTRANGE", Const, 0, ""}, + {"IPV6_PORTRANGE_DEFAULT", Const, 0, ""}, + {"IPV6_PORTRANGE_HIGH", Const, 0, ""}, + {"IPV6_PORTRANGE_LOW", Const, 0, ""}, + {"IPV6_PREFER_TEMPADDR", Const, 0, ""}, + {"IPV6_RECVDSTOPTS", Const, 0, ""}, + {"IPV6_RECVDSTPORT", Const, 3, ""}, + {"IPV6_RECVERR", Const, 0, ""}, + {"IPV6_RECVHOPLIMIT", Const, 0, ""}, + {"IPV6_RECVHOPOPTS", Const, 0, ""}, + {"IPV6_RECVPATHMTU", Const, 0, ""}, + {"IPV6_RECVPKTINFO", Const, 0, ""}, + {"IPV6_RECVRTHDR", Const, 0, ""}, + {"IPV6_RECVTCLASS", Const, 0, ""}, + {"IPV6_ROUTER_ALERT", Const, 0, ""}, + {"IPV6_RTABLE", Const, 1, ""}, + {"IPV6_RTHDR", Const, 0, ""}, + {"IPV6_RTHDRDSTOPTS", Const, 0, ""}, + {"IPV6_RTHDR_LOOSE", Const, 0, ""}, + {"IPV6_RTHDR_STRICT", Const, 0, ""}, + {"IPV6_RTHDR_TYPE_0", Const, 0, ""}, + {"IPV6_RXDSTOPTS", Const, 0, ""}, + {"IPV6_RXHOPOPTS", Const, 0, ""}, + {"IPV6_SOCKOPT_RESERVED1", Const, 0, ""}, + {"IPV6_TCLASS", Const, 0, ""}, + {"IPV6_UNICAST_HOPS", Const, 0, ""}, + {"IPV6_USE_MIN_MTU", Const, 0, ""}, + {"IPV6_V6ONLY", Const, 0, ""}, + {"IPV6_VERSION", Const, 0, ""}, + {"IPV6_VERSION_MASK", Const, 0, ""}, + {"IPV6_XFRM_POLICY", Const, 0, ""}, + {"IP_ADD_MEMBERSHIP", Const, 0, ""}, + {"IP_ADD_SOURCE_MEMBERSHIP", Const, 0, ""}, + {"IP_AUTH_LEVEL", Const, 1, ""}, + {"IP_BINDANY", Const, 0, ""}, + {"IP_BLOCK_SOURCE", Const, 0, ""}, + {"IP_BOUND_IF", Const, 0, ""}, + {"IP_DEFAULT_MULTICAST_LOOP", Const, 0, ""}, + {"IP_DEFAULT_MULTICAST_TTL", Const, 0, ""}, + {"IP_DF", Const, 0, ""}, + {"IP_DIVERTFL", Const, 3, ""}, + {"IP_DONTFRAG", Const, 0, ""}, + {"IP_DROP_MEMBERSHIP", Const, 0, ""}, + {"IP_DROP_SOURCE_MEMBERSHIP", Const, 0, ""}, + {"IP_DUMMYNET3", Const, 0, ""}, + {"IP_DUMMYNET_CONFIGURE", Const, 0, ""}, + {"IP_DUMMYNET_DEL", Const, 0, ""}, + {"IP_DUMMYNET_FLUSH", Const, 0, ""}, + {"IP_DUMMYNET_GET", Const, 0, ""}, + {"IP_EF", Const, 1, ""}, + {"IP_ERRORMTU", Const, 1, ""}, + {"IP_ESP_NETWORK_LEVEL", Const, 1, ""}, + {"IP_ESP_TRANS_LEVEL", Const, 1, ""}, + {"IP_FAITH", Const, 0, ""}, + {"IP_FREEBIND", Const, 0, ""}, + {"IP_FW3", Const, 0, ""}, + {"IP_FW_ADD", Const, 0, ""}, + {"IP_FW_DEL", Const, 0, ""}, + {"IP_FW_FLUSH", Const, 0, ""}, + {"IP_FW_GET", Const, 0, ""}, + {"IP_FW_NAT_CFG", Const, 0, ""}, + {"IP_FW_NAT_DEL", Const, 0, ""}, + {"IP_FW_NAT_GET_CONFIG", Const, 0, ""}, + {"IP_FW_NAT_GET_LOG", Const, 0, ""}, + {"IP_FW_RESETLOG", Const, 0, ""}, + {"IP_FW_TABLE_ADD", Const, 0, ""}, + {"IP_FW_TABLE_DEL", Const, 0, ""}, + {"IP_FW_TABLE_FLUSH", Const, 0, ""}, + {"IP_FW_TABLE_GETSIZE", Const, 0, ""}, + {"IP_FW_TABLE_LIST", Const, 0, ""}, + {"IP_FW_ZERO", Const, 0, ""}, + {"IP_HDRINCL", Const, 0, ""}, + {"IP_IPCOMP_LEVEL", Const, 1, ""}, + {"IP_IPSECFLOWINFO", Const, 1, ""}, + {"IP_IPSEC_LOCAL_AUTH", Const, 1, ""}, + {"IP_IPSEC_LOCAL_CRED", Const, 1, ""}, + {"IP_IPSEC_LOCAL_ID", Const, 1, ""}, + {"IP_IPSEC_POLICY", Const, 0, ""}, + {"IP_IPSEC_REMOTE_AUTH", Const, 1, ""}, + {"IP_IPSEC_REMOTE_CRED", Const, 1, ""}, + {"IP_IPSEC_REMOTE_ID", Const, 1, ""}, + {"IP_MAXPACKET", Const, 0, ""}, + {"IP_MAX_GROUP_SRC_FILTER", Const, 0, ""}, + {"IP_MAX_MEMBERSHIPS", Const, 0, ""}, + {"IP_MAX_SOCK_MUTE_FILTER", Const, 0, ""}, + {"IP_MAX_SOCK_SRC_FILTER", Const, 0, ""}, + {"IP_MAX_SOURCE_FILTER", Const, 0, ""}, + {"IP_MF", Const, 0, ""}, + {"IP_MINFRAGSIZE", Const, 1, ""}, + {"IP_MINTTL", Const, 0, ""}, + {"IP_MIN_MEMBERSHIPS", Const, 0, ""}, + {"IP_MSFILTER", Const, 0, ""}, + {"IP_MSS", Const, 0, ""}, + {"IP_MTU", Const, 0, ""}, + {"IP_MTU_DISCOVER", Const, 0, ""}, + {"IP_MULTICAST_IF", Const, 0, ""}, + {"IP_MULTICAST_IFINDEX", Const, 0, ""}, + {"IP_MULTICAST_LOOP", Const, 0, ""}, + {"IP_MULTICAST_TTL", Const, 0, ""}, + {"IP_MULTICAST_VIF", Const, 0, ""}, + {"IP_NAT__XXX", Const, 0, ""}, + {"IP_OFFMASK", Const, 0, ""}, + {"IP_OLD_FW_ADD", Const, 0, ""}, + {"IP_OLD_FW_DEL", Const, 0, ""}, + {"IP_OLD_FW_FLUSH", Const, 0, ""}, + {"IP_OLD_FW_GET", Const, 0, ""}, + {"IP_OLD_FW_RESETLOG", Const, 0, ""}, + {"IP_OLD_FW_ZERO", Const, 0, ""}, + {"IP_ONESBCAST", Const, 0, ""}, + {"IP_OPTIONS", Const, 0, ""}, + {"IP_ORIGDSTADDR", Const, 0, ""}, + {"IP_PASSSEC", Const, 0, ""}, + {"IP_PIPEX", Const, 1, ""}, + {"IP_PKTINFO", Const, 0, ""}, + {"IP_PKTOPTIONS", Const, 0, ""}, + {"IP_PMTUDISC", Const, 0, ""}, + {"IP_PMTUDISC_DO", Const, 0, ""}, + {"IP_PMTUDISC_DONT", Const, 0, ""}, + {"IP_PMTUDISC_PROBE", Const, 0, ""}, + {"IP_PMTUDISC_WANT", Const, 0, ""}, + {"IP_PORTRANGE", Const, 0, ""}, + {"IP_PORTRANGE_DEFAULT", Const, 0, ""}, + {"IP_PORTRANGE_HIGH", Const, 0, ""}, + {"IP_PORTRANGE_LOW", Const, 0, ""}, + {"IP_RECVDSTADDR", Const, 0, ""}, + {"IP_RECVDSTPORT", Const, 1, ""}, + {"IP_RECVERR", Const, 0, ""}, + {"IP_RECVIF", Const, 0, ""}, + {"IP_RECVOPTS", Const, 0, ""}, + {"IP_RECVORIGDSTADDR", Const, 0, ""}, + {"IP_RECVPKTINFO", Const, 0, ""}, + {"IP_RECVRETOPTS", Const, 0, ""}, + {"IP_RECVRTABLE", Const, 1, ""}, + {"IP_RECVTOS", Const, 0, ""}, + {"IP_RECVTTL", Const, 0, ""}, + {"IP_RETOPTS", Const, 0, ""}, + {"IP_RF", Const, 0, ""}, + {"IP_ROUTER_ALERT", Const, 0, ""}, + {"IP_RSVP_OFF", Const, 0, ""}, + {"IP_RSVP_ON", Const, 0, ""}, + {"IP_RSVP_VIF_OFF", Const, 0, ""}, + {"IP_RSVP_VIF_ON", Const, 0, ""}, + {"IP_RTABLE", Const, 1, ""}, + {"IP_SENDSRCADDR", Const, 0, ""}, + {"IP_STRIPHDR", Const, 0, ""}, + {"IP_TOS", Const, 0, ""}, + {"IP_TRAFFIC_MGT_BACKGROUND", Const, 0, ""}, + {"IP_TRANSPARENT", Const, 0, ""}, + {"IP_TTL", Const, 0, ""}, + {"IP_UNBLOCK_SOURCE", Const, 0, ""}, + {"IP_XFRM_POLICY", Const, 0, ""}, + {"IPv6MTUInfo", Type, 2, ""}, + {"IPv6MTUInfo.Addr", Field, 2, ""}, + {"IPv6MTUInfo.Mtu", Field, 2, ""}, + {"IPv6Mreq", Type, 0, ""}, + {"IPv6Mreq.Interface", Field, 0, ""}, + {"IPv6Mreq.Multiaddr", Field, 0, ""}, + {"ISIG", Const, 0, ""}, + {"ISTRIP", Const, 0, ""}, + {"IUCLC", Const, 0, ""}, + {"IUTF8", Const, 0, ""}, + {"IXANY", Const, 0, ""}, + {"IXOFF", Const, 0, ""}, + {"IXON", Const, 0, ""}, + {"IfAddrmsg", Type, 0, ""}, + {"IfAddrmsg.Family", Field, 0, ""}, + {"IfAddrmsg.Flags", Field, 0, ""}, + {"IfAddrmsg.Index", Field, 0, ""}, + {"IfAddrmsg.Prefixlen", Field, 0, ""}, + {"IfAddrmsg.Scope", Field, 0, ""}, + {"IfAnnounceMsghdr", Type, 1, ""}, + {"IfAnnounceMsghdr.Hdrlen", Field, 2, ""}, + {"IfAnnounceMsghdr.Index", Field, 1, ""}, + {"IfAnnounceMsghdr.Msglen", Field, 1, ""}, + {"IfAnnounceMsghdr.Name", Field, 1, ""}, + {"IfAnnounceMsghdr.Type", Field, 1, ""}, + {"IfAnnounceMsghdr.Version", Field, 1, ""}, + {"IfAnnounceMsghdr.What", Field, 1, ""}, + {"IfData", Type, 0, ""}, + {"IfData.Addrlen", Field, 0, ""}, + {"IfData.Baudrate", Field, 0, ""}, + {"IfData.Capabilities", Field, 2, ""}, + {"IfData.Collisions", Field, 0, ""}, + {"IfData.Datalen", Field, 0, ""}, + {"IfData.Epoch", Field, 0, ""}, + {"IfData.Hdrlen", Field, 0, ""}, + {"IfData.Hwassist", Field, 0, ""}, + {"IfData.Ibytes", Field, 0, ""}, + {"IfData.Ierrors", Field, 0, ""}, + {"IfData.Imcasts", Field, 0, ""}, + {"IfData.Ipackets", Field, 0, ""}, + {"IfData.Iqdrops", Field, 0, ""}, + {"IfData.Lastchange", Field, 0, ""}, + {"IfData.Link_state", Field, 0, ""}, + {"IfData.Mclpool", Field, 2, ""}, + {"IfData.Metric", Field, 0, ""}, + {"IfData.Mtu", Field, 0, ""}, + {"IfData.Noproto", Field, 0, ""}, + {"IfData.Obytes", Field, 0, ""}, + {"IfData.Oerrors", Field, 0, ""}, + {"IfData.Omcasts", Field, 0, ""}, + {"IfData.Opackets", Field, 0, ""}, + {"IfData.Pad", Field, 2, ""}, + {"IfData.Pad_cgo_0", Field, 2, ""}, + {"IfData.Pad_cgo_1", Field, 2, ""}, + {"IfData.Physical", Field, 0, ""}, + {"IfData.Recvquota", Field, 0, ""}, + {"IfData.Recvtiming", Field, 0, ""}, + {"IfData.Reserved1", Field, 0, ""}, + {"IfData.Reserved2", Field, 0, ""}, + {"IfData.Spare_char1", Field, 0, ""}, + {"IfData.Spare_char2", Field, 0, ""}, + {"IfData.Type", Field, 0, ""}, + {"IfData.Typelen", Field, 0, ""}, + {"IfData.Unused1", Field, 0, ""}, + {"IfData.Unused2", Field, 0, ""}, + {"IfData.Xmitquota", Field, 0, ""}, + {"IfData.Xmittiming", Field, 0, ""}, + {"IfInfomsg", Type, 0, ""}, + {"IfInfomsg.Change", Field, 0, ""}, + {"IfInfomsg.Family", Field, 0, ""}, + {"IfInfomsg.Flags", Field, 0, ""}, + {"IfInfomsg.Index", Field, 0, ""}, + {"IfInfomsg.Type", Field, 0, ""}, + {"IfInfomsg.X__ifi_pad", Field, 0, ""}, + {"IfMsghdr", Type, 0, ""}, + {"IfMsghdr.Addrs", Field, 0, ""}, + {"IfMsghdr.Data", Field, 0, ""}, + {"IfMsghdr.Flags", Field, 0, ""}, + {"IfMsghdr.Hdrlen", Field, 2, ""}, + {"IfMsghdr.Index", Field, 0, ""}, + {"IfMsghdr.Msglen", Field, 0, ""}, + {"IfMsghdr.Pad1", Field, 2, ""}, + {"IfMsghdr.Pad2", Field, 2, ""}, + {"IfMsghdr.Pad_cgo_0", Field, 0, ""}, + {"IfMsghdr.Pad_cgo_1", Field, 2, ""}, + {"IfMsghdr.Tableid", Field, 2, ""}, + {"IfMsghdr.Type", Field, 0, ""}, + {"IfMsghdr.Version", Field, 0, ""}, + {"IfMsghdr.Xflags", Field, 2, ""}, + {"IfaMsghdr", Type, 0, ""}, + {"IfaMsghdr.Addrs", Field, 0, ""}, + {"IfaMsghdr.Flags", Field, 0, ""}, + {"IfaMsghdr.Hdrlen", Field, 2, ""}, + {"IfaMsghdr.Index", Field, 0, ""}, + {"IfaMsghdr.Metric", Field, 0, ""}, + {"IfaMsghdr.Msglen", Field, 0, ""}, + {"IfaMsghdr.Pad1", Field, 2, ""}, + {"IfaMsghdr.Pad2", Field, 2, ""}, + {"IfaMsghdr.Pad_cgo_0", Field, 0, ""}, + {"IfaMsghdr.Tableid", Field, 2, ""}, + {"IfaMsghdr.Type", Field, 0, ""}, + {"IfaMsghdr.Version", Field, 0, ""}, + {"IfmaMsghdr", Type, 0, ""}, + {"IfmaMsghdr.Addrs", Field, 0, ""}, + {"IfmaMsghdr.Flags", Field, 0, ""}, + {"IfmaMsghdr.Index", Field, 0, ""}, + {"IfmaMsghdr.Msglen", Field, 0, ""}, + {"IfmaMsghdr.Pad_cgo_0", Field, 0, ""}, + {"IfmaMsghdr.Type", Field, 0, ""}, + {"IfmaMsghdr.Version", Field, 0, ""}, + {"IfmaMsghdr2", Type, 0, ""}, + {"IfmaMsghdr2.Addrs", Field, 0, ""}, + {"IfmaMsghdr2.Flags", Field, 0, ""}, + {"IfmaMsghdr2.Index", Field, 0, ""}, + {"IfmaMsghdr2.Msglen", Field, 0, ""}, + {"IfmaMsghdr2.Pad_cgo_0", Field, 0, ""}, + {"IfmaMsghdr2.Refcount", Field, 0, ""}, + {"IfmaMsghdr2.Type", Field, 0, ""}, + {"IfmaMsghdr2.Version", Field, 0, ""}, + {"ImplementsGetwd", Const, 0, ""}, + {"Inet4Pktinfo", Type, 0, ""}, + {"Inet4Pktinfo.Addr", Field, 0, ""}, + {"Inet4Pktinfo.Ifindex", Field, 0, ""}, + {"Inet4Pktinfo.Spec_dst", Field, 0, ""}, + {"Inet6Pktinfo", Type, 0, ""}, + {"Inet6Pktinfo.Addr", Field, 0, ""}, + {"Inet6Pktinfo.Ifindex", Field, 0, ""}, + {"InotifyAddWatch", Func, 0, "func(fd int, pathname string, mask uint32) (watchdesc int, err error)"}, + {"InotifyEvent", Type, 0, ""}, + {"InotifyEvent.Cookie", Field, 0, ""}, + {"InotifyEvent.Len", Field, 0, ""}, + {"InotifyEvent.Mask", Field, 0, ""}, + {"InotifyEvent.Name", Field, 0, ""}, + {"InotifyEvent.Wd", Field, 0, ""}, + {"InotifyInit", Func, 0, "func() (fd int, err error)"}, + {"InotifyInit1", Func, 0, "func(flags int) (fd int, err error)"}, + {"InotifyRmWatch", Func, 0, "func(fd int, watchdesc uint32) (success int, err error)"}, + {"InterfaceAddrMessage", Type, 0, ""}, + {"InterfaceAddrMessage.Data", Field, 0, ""}, + {"InterfaceAddrMessage.Header", Field, 0, ""}, + {"InterfaceAnnounceMessage", Type, 1, ""}, + {"InterfaceAnnounceMessage.Header", Field, 1, ""}, + {"InterfaceInfo", Type, 0, ""}, + {"InterfaceInfo.Address", Field, 0, ""}, + {"InterfaceInfo.BroadcastAddress", Field, 0, ""}, + {"InterfaceInfo.Flags", Field, 0, ""}, + {"InterfaceInfo.Netmask", Field, 0, ""}, + {"InterfaceMessage", Type, 0, ""}, + {"InterfaceMessage.Data", Field, 0, ""}, + {"InterfaceMessage.Header", Field, 0, ""}, + {"InterfaceMulticastAddrMessage", Type, 0, ""}, + {"InterfaceMulticastAddrMessage.Data", Field, 0, ""}, + {"InterfaceMulticastAddrMessage.Header", Field, 0, ""}, + {"InvalidHandle", Const, 0, ""}, + {"Ioperm", Func, 0, "func(from int, num int, on int) (err error)"}, + {"Iopl", Func, 0, "func(level int) (err error)"}, + {"Iovec", Type, 0, ""}, + {"Iovec.Base", Field, 0, ""}, + {"Iovec.Len", Field, 0, ""}, + {"IpAdapterInfo", Type, 0, ""}, + {"IpAdapterInfo.AdapterName", Field, 0, ""}, + {"IpAdapterInfo.Address", Field, 0, ""}, + {"IpAdapterInfo.AddressLength", Field, 0, ""}, + {"IpAdapterInfo.ComboIndex", Field, 0, ""}, + {"IpAdapterInfo.CurrentIpAddress", Field, 0, ""}, + {"IpAdapterInfo.Description", Field, 0, ""}, + {"IpAdapterInfo.DhcpEnabled", Field, 0, ""}, + {"IpAdapterInfo.DhcpServer", Field, 0, ""}, + {"IpAdapterInfo.GatewayList", Field, 0, ""}, + {"IpAdapterInfo.HaveWins", Field, 0, ""}, + {"IpAdapterInfo.Index", Field, 0, ""}, + {"IpAdapterInfo.IpAddressList", Field, 0, ""}, + {"IpAdapterInfo.LeaseExpires", Field, 0, ""}, + {"IpAdapterInfo.LeaseObtained", Field, 0, ""}, + {"IpAdapterInfo.Next", Field, 0, ""}, + {"IpAdapterInfo.PrimaryWinsServer", Field, 0, ""}, + {"IpAdapterInfo.SecondaryWinsServer", Field, 0, ""}, + {"IpAdapterInfo.Type", Field, 0, ""}, + {"IpAddrString", Type, 0, ""}, + {"IpAddrString.Context", Field, 0, ""}, + {"IpAddrString.IpAddress", Field, 0, ""}, + {"IpAddrString.IpMask", Field, 0, ""}, + {"IpAddrString.Next", Field, 0, ""}, + {"IpAddressString", Type, 0, ""}, + {"IpAddressString.String", Field, 0, ""}, + {"IpMaskString", Type, 0, ""}, + {"IpMaskString.String", Field, 2, ""}, + {"Issetugid", Func, 0, ""}, + {"KEY_ALL_ACCESS", Const, 0, ""}, + {"KEY_CREATE_LINK", Const, 0, ""}, + {"KEY_CREATE_SUB_KEY", Const, 0, ""}, + {"KEY_ENUMERATE_SUB_KEYS", Const, 0, ""}, + {"KEY_EXECUTE", Const, 0, ""}, + {"KEY_NOTIFY", Const, 0, ""}, + {"KEY_QUERY_VALUE", Const, 0, ""}, + {"KEY_READ", Const, 0, ""}, + {"KEY_SET_VALUE", Const, 0, ""}, + {"KEY_WOW64_32KEY", Const, 0, ""}, + {"KEY_WOW64_64KEY", Const, 0, ""}, + {"KEY_WRITE", Const, 0, ""}, + {"Kevent", Func, 0, ""}, + {"Kevent_t", Type, 0, ""}, + {"Kevent_t.Data", Field, 0, ""}, + {"Kevent_t.Fflags", Field, 0, ""}, + {"Kevent_t.Filter", Field, 0, ""}, + {"Kevent_t.Flags", Field, 0, ""}, + {"Kevent_t.Ident", Field, 0, ""}, + {"Kevent_t.Pad_cgo_0", Field, 2, ""}, + {"Kevent_t.Udata", Field, 0, ""}, + {"Kill", Func, 0, "func(pid int, sig Signal) (err error)"}, + {"Klogctl", Func, 0, "func(typ int, buf []byte) (n int, err error)"}, + {"Kqueue", Func, 0, ""}, + {"LANG_ENGLISH", Const, 0, ""}, + {"LAYERED_PROTOCOL", Const, 2, ""}, + {"LCNT_OVERLOAD_FLUSH", Const, 1, ""}, + {"LINUX_REBOOT_CMD_CAD_OFF", Const, 0, ""}, + {"LINUX_REBOOT_CMD_CAD_ON", Const, 0, ""}, + {"LINUX_REBOOT_CMD_HALT", Const, 0, ""}, + {"LINUX_REBOOT_CMD_KEXEC", Const, 0, ""}, + {"LINUX_REBOOT_CMD_POWER_OFF", Const, 0, ""}, + {"LINUX_REBOOT_CMD_RESTART", Const, 0, ""}, + {"LINUX_REBOOT_CMD_RESTART2", Const, 0, ""}, + {"LINUX_REBOOT_CMD_SW_SUSPEND", Const, 0, ""}, + {"LINUX_REBOOT_MAGIC1", Const, 0, ""}, + {"LINUX_REBOOT_MAGIC2", Const, 0, ""}, + {"LOCK_EX", Const, 0, ""}, + {"LOCK_NB", Const, 0, ""}, + {"LOCK_SH", Const, 0, ""}, + {"LOCK_UN", Const, 0, ""}, + {"LazyDLL", Type, 0, ""}, + {"LazyDLL.Name", Field, 0, ""}, + {"LazyProc", Type, 0, ""}, + {"LazyProc.Name", Field, 0, ""}, + {"Lchown", Func, 0, "func(path string, uid int, gid int) (err error)"}, + {"Linger", Type, 0, ""}, + {"Linger.Linger", Field, 0, ""}, + {"Linger.Onoff", Field, 0, ""}, + {"Link", Func, 0, "func(oldpath string, newpath string) (err error)"}, + {"Listen", Func, 0, "func(s int, n int) (err error)"}, + {"Listxattr", Func, 1, "func(path string, dest []byte) (sz int, err error)"}, + {"LoadCancelIoEx", Func, 1, ""}, + {"LoadConnectEx", Func, 1, ""}, + {"LoadCreateSymbolicLink", Func, 4, ""}, + {"LoadDLL", Func, 0, ""}, + {"LoadGetAddrInfo", Func, 1, ""}, + {"LoadLibrary", Func, 0, ""}, + {"LoadSetFileCompletionNotificationModes", Func, 2, ""}, + {"LocalFree", Func, 0, ""}, + {"Log2phys_t", Type, 0, ""}, + {"Log2phys_t.Contigbytes", Field, 0, ""}, + {"Log2phys_t.Devoffset", Field, 0, ""}, + {"Log2phys_t.Flags", Field, 0, ""}, + {"LookupAccountName", Func, 0, ""}, + {"LookupAccountSid", Func, 0, ""}, + {"LookupSID", Func, 0, ""}, + {"LsfJump", Func, 0, "func(code int, k int, jt int, jf int) *SockFilter"}, + {"LsfSocket", Func, 0, "func(ifindex int, proto int) (int, error)"}, + {"LsfStmt", Func, 0, "func(code int, k int) *SockFilter"}, + {"Lstat", Func, 0, "func(path string, stat *Stat_t) (err error)"}, + {"MADV_AUTOSYNC", Const, 1, ""}, + {"MADV_CAN_REUSE", Const, 0, ""}, + {"MADV_CORE", Const, 1, ""}, + {"MADV_DOFORK", Const, 0, ""}, + {"MADV_DONTFORK", Const, 0, ""}, + {"MADV_DONTNEED", Const, 0, ""}, + {"MADV_FREE", Const, 0, ""}, + {"MADV_FREE_REUSABLE", Const, 0, ""}, + {"MADV_FREE_REUSE", Const, 0, ""}, + {"MADV_HUGEPAGE", Const, 0, ""}, + {"MADV_HWPOISON", Const, 0, ""}, + {"MADV_MERGEABLE", Const, 0, ""}, + {"MADV_NOCORE", Const, 1, ""}, + {"MADV_NOHUGEPAGE", Const, 0, ""}, + {"MADV_NORMAL", Const, 0, ""}, + {"MADV_NOSYNC", Const, 1, ""}, + {"MADV_PROTECT", Const, 1, ""}, + {"MADV_RANDOM", Const, 0, ""}, + {"MADV_REMOVE", Const, 0, ""}, + {"MADV_SEQUENTIAL", Const, 0, ""}, + {"MADV_SPACEAVAIL", Const, 3, ""}, + {"MADV_UNMERGEABLE", Const, 0, ""}, + {"MADV_WILLNEED", Const, 0, ""}, + {"MADV_ZERO_WIRED_PAGES", Const, 0, ""}, + {"MAP_32BIT", Const, 0, ""}, + {"MAP_ALIGNED_SUPER", Const, 3, ""}, + {"MAP_ALIGNMENT_16MB", Const, 3, ""}, + {"MAP_ALIGNMENT_1TB", Const, 3, ""}, + {"MAP_ALIGNMENT_256TB", Const, 3, ""}, + {"MAP_ALIGNMENT_4GB", Const, 3, ""}, + {"MAP_ALIGNMENT_64KB", Const, 3, ""}, + {"MAP_ALIGNMENT_64PB", Const, 3, ""}, + {"MAP_ALIGNMENT_MASK", Const, 3, ""}, + {"MAP_ALIGNMENT_SHIFT", Const, 3, ""}, + {"MAP_ANON", Const, 0, ""}, + {"MAP_ANONYMOUS", Const, 0, ""}, + {"MAP_COPY", Const, 0, ""}, + {"MAP_DENYWRITE", Const, 0, ""}, + {"MAP_EXECUTABLE", Const, 0, ""}, + {"MAP_FILE", Const, 0, ""}, + {"MAP_FIXED", Const, 0, ""}, + {"MAP_FLAGMASK", Const, 3, ""}, + {"MAP_GROWSDOWN", Const, 0, ""}, + {"MAP_HASSEMAPHORE", Const, 0, ""}, + {"MAP_HUGETLB", Const, 0, ""}, + {"MAP_INHERIT", Const, 3, ""}, + {"MAP_INHERIT_COPY", Const, 3, ""}, + {"MAP_INHERIT_DEFAULT", Const, 3, ""}, + {"MAP_INHERIT_DONATE_COPY", Const, 3, ""}, + {"MAP_INHERIT_NONE", Const, 3, ""}, + {"MAP_INHERIT_SHARE", Const, 3, ""}, + {"MAP_JIT", Const, 0, ""}, + {"MAP_LOCKED", Const, 0, ""}, + {"MAP_NOCACHE", Const, 0, ""}, + {"MAP_NOCORE", Const, 1, ""}, + {"MAP_NOEXTEND", Const, 0, ""}, + {"MAP_NONBLOCK", Const, 0, ""}, + {"MAP_NORESERVE", Const, 0, ""}, + {"MAP_NOSYNC", Const, 1, ""}, + {"MAP_POPULATE", Const, 0, ""}, + {"MAP_PREFAULT_READ", Const, 1, ""}, + {"MAP_PRIVATE", Const, 0, ""}, + {"MAP_RENAME", Const, 0, ""}, + {"MAP_RESERVED0080", Const, 0, ""}, + {"MAP_RESERVED0100", Const, 1, ""}, + {"MAP_SHARED", Const, 0, ""}, + {"MAP_STACK", Const, 0, ""}, + {"MAP_TRYFIXED", Const, 3, ""}, + {"MAP_TYPE", Const, 0, ""}, + {"MAP_WIRED", Const, 3, ""}, + {"MAXIMUM_REPARSE_DATA_BUFFER_SIZE", Const, 4, ""}, + {"MAXLEN_IFDESCR", Const, 0, ""}, + {"MAXLEN_PHYSADDR", Const, 0, ""}, + {"MAX_ADAPTER_ADDRESS_LENGTH", Const, 0, ""}, + {"MAX_ADAPTER_DESCRIPTION_LENGTH", Const, 0, ""}, + {"MAX_ADAPTER_NAME_LENGTH", Const, 0, ""}, + {"MAX_COMPUTERNAME_LENGTH", Const, 0, ""}, + {"MAX_INTERFACE_NAME_LEN", Const, 0, ""}, + {"MAX_LONG_PATH", Const, 0, ""}, + {"MAX_PATH", Const, 0, ""}, + {"MAX_PROTOCOL_CHAIN", Const, 2, ""}, + {"MCL_CURRENT", Const, 0, ""}, + {"MCL_FUTURE", Const, 0, ""}, + {"MNT_DETACH", Const, 0, ""}, + {"MNT_EXPIRE", Const, 0, ""}, + {"MNT_FORCE", Const, 0, ""}, + {"MSG_BCAST", Const, 1, ""}, + {"MSG_CMSG_CLOEXEC", Const, 0, ""}, + {"MSG_COMPAT", Const, 0, ""}, + {"MSG_CONFIRM", Const, 0, ""}, + {"MSG_CONTROLMBUF", Const, 1, ""}, + {"MSG_CTRUNC", Const, 0, ""}, + {"MSG_DONTROUTE", Const, 0, ""}, + {"MSG_DONTWAIT", Const, 0, ""}, + {"MSG_EOF", Const, 0, ""}, + {"MSG_EOR", Const, 0, ""}, + {"MSG_ERRQUEUE", Const, 0, ""}, + {"MSG_FASTOPEN", Const, 1, ""}, + {"MSG_FIN", Const, 0, ""}, + {"MSG_FLUSH", Const, 0, ""}, + {"MSG_HAVEMORE", Const, 0, ""}, + {"MSG_HOLD", Const, 0, ""}, + {"MSG_IOVUSRSPACE", Const, 1, ""}, + {"MSG_LENUSRSPACE", Const, 1, ""}, + {"MSG_MCAST", Const, 1, ""}, + {"MSG_MORE", Const, 0, ""}, + {"MSG_NAMEMBUF", Const, 1, ""}, + {"MSG_NBIO", Const, 0, ""}, + {"MSG_NEEDSA", Const, 0, ""}, + {"MSG_NOSIGNAL", Const, 0, ""}, + {"MSG_NOTIFICATION", Const, 0, ""}, + {"MSG_OOB", Const, 0, ""}, + {"MSG_PEEK", Const, 0, ""}, + {"MSG_PROXY", Const, 0, ""}, + {"MSG_RCVMORE", Const, 0, ""}, + {"MSG_RST", Const, 0, ""}, + {"MSG_SEND", Const, 0, ""}, + {"MSG_SYN", Const, 0, ""}, + {"MSG_TRUNC", Const, 0, ""}, + {"MSG_TRYHARD", Const, 0, ""}, + {"MSG_USERFLAGS", Const, 1, ""}, + {"MSG_WAITALL", Const, 0, ""}, + {"MSG_WAITFORONE", Const, 0, ""}, + {"MSG_WAITSTREAM", Const, 0, ""}, + {"MS_ACTIVE", Const, 0, ""}, + {"MS_ASYNC", Const, 0, ""}, + {"MS_BIND", Const, 0, ""}, + {"MS_DEACTIVATE", Const, 0, ""}, + {"MS_DIRSYNC", Const, 0, ""}, + {"MS_INVALIDATE", Const, 0, ""}, + {"MS_I_VERSION", Const, 0, ""}, + {"MS_KERNMOUNT", Const, 0, ""}, + {"MS_KILLPAGES", Const, 0, ""}, + {"MS_MANDLOCK", Const, 0, ""}, + {"MS_MGC_MSK", Const, 0, ""}, + {"MS_MGC_VAL", Const, 0, ""}, + {"MS_MOVE", Const, 0, ""}, + {"MS_NOATIME", Const, 0, ""}, + {"MS_NODEV", Const, 0, ""}, + {"MS_NODIRATIME", Const, 0, ""}, + {"MS_NOEXEC", Const, 0, ""}, + {"MS_NOSUID", Const, 0, ""}, + {"MS_NOUSER", Const, 0, ""}, + {"MS_POSIXACL", Const, 0, ""}, + {"MS_PRIVATE", Const, 0, ""}, + {"MS_RDONLY", Const, 0, ""}, + {"MS_REC", Const, 0, ""}, + {"MS_RELATIME", Const, 0, ""}, + {"MS_REMOUNT", Const, 0, ""}, + {"MS_RMT_MASK", Const, 0, ""}, + {"MS_SHARED", Const, 0, ""}, + {"MS_SILENT", Const, 0, ""}, + {"MS_SLAVE", Const, 0, ""}, + {"MS_STRICTATIME", Const, 0, ""}, + {"MS_SYNC", Const, 0, ""}, + {"MS_SYNCHRONOUS", Const, 0, ""}, + {"MS_UNBINDABLE", Const, 0, ""}, + {"Madvise", Func, 0, "func(b []byte, advice int) (err error)"}, + {"MapViewOfFile", Func, 0, ""}, + {"MaxTokenInfoClass", Const, 0, ""}, + {"Mclpool", Type, 2, ""}, + {"Mclpool.Alive", Field, 2, ""}, + {"Mclpool.Cwm", Field, 2, ""}, + {"Mclpool.Grown", Field, 2, ""}, + {"Mclpool.Hwm", Field, 2, ""}, + {"Mclpool.Lwm", Field, 2, ""}, + {"MibIfRow", Type, 0, ""}, + {"MibIfRow.AdminStatus", Field, 0, ""}, + {"MibIfRow.Descr", Field, 0, ""}, + {"MibIfRow.DescrLen", Field, 0, ""}, + {"MibIfRow.InDiscards", Field, 0, ""}, + {"MibIfRow.InErrors", Field, 0, ""}, + {"MibIfRow.InNUcastPkts", Field, 0, ""}, + {"MibIfRow.InOctets", Field, 0, ""}, + {"MibIfRow.InUcastPkts", Field, 0, ""}, + {"MibIfRow.InUnknownProtos", Field, 0, ""}, + {"MibIfRow.Index", Field, 0, ""}, + {"MibIfRow.LastChange", Field, 0, ""}, + {"MibIfRow.Mtu", Field, 0, ""}, + {"MibIfRow.Name", Field, 0, ""}, + {"MibIfRow.OperStatus", Field, 0, ""}, + {"MibIfRow.OutDiscards", Field, 0, ""}, + {"MibIfRow.OutErrors", Field, 0, ""}, + {"MibIfRow.OutNUcastPkts", Field, 0, ""}, + {"MibIfRow.OutOctets", Field, 0, ""}, + {"MibIfRow.OutQLen", Field, 0, ""}, + {"MibIfRow.OutUcastPkts", Field, 0, ""}, + {"MibIfRow.PhysAddr", Field, 0, ""}, + {"MibIfRow.PhysAddrLen", Field, 0, ""}, + {"MibIfRow.Speed", Field, 0, ""}, + {"MibIfRow.Type", Field, 0, ""}, + {"Mkdir", Func, 0, "func(path string, mode uint32) (err error)"}, + {"Mkdirat", Func, 0, "func(dirfd int, path string, mode uint32) (err error)"}, + {"Mkfifo", Func, 0, "func(path string, mode uint32) (err error)"}, + {"Mknod", Func, 0, "func(path string, mode uint32, dev int) (err error)"}, + {"Mknodat", Func, 0, "func(dirfd int, path string, mode uint32, dev int) (err error)"}, + {"Mlock", Func, 0, "func(b []byte) (err error)"}, + {"Mlockall", Func, 0, "func(flags int) (err error)"}, + {"Mmap", Func, 0, "func(fd int, offset int64, length int, prot int, flags int) (data []byte, err error)"}, + {"Mount", Func, 0, "func(source string, target string, fstype string, flags uintptr, data string) (err error)"}, + {"MoveFile", Func, 0, ""}, + {"Mprotect", Func, 0, "func(b []byte, prot int) (err error)"}, + {"Msghdr", Type, 0, ""}, + {"Msghdr.Control", Field, 0, ""}, + {"Msghdr.Controllen", Field, 0, ""}, + {"Msghdr.Flags", Field, 0, ""}, + {"Msghdr.Iov", Field, 0, ""}, + {"Msghdr.Iovlen", Field, 0, ""}, + {"Msghdr.Name", Field, 0, ""}, + {"Msghdr.Namelen", Field, 0, ""}, + {"Msghdr.Pad_cgo_0", Field, 0, ""}, + {"Msghdr.Pad_cgo_1", Field, 0, ""}, + {"Munlock", Func, 0, "func(b []byte) (err error)"}, + {"Munlockall", Func, 0, "func() (err error)"}, + {"Munmap", Func, 0, "func(b []byte) (err error)"}, + {"MustLoadDLL", Func, 0, ""}, + {"NAME_MAX", Const, 0, ""}, + {"NETLINK_ADD_MEMBERSHIP", Const, 0, ""}, + {"NETLINK_AUDIT", Const, 0, ""}, + {"NETLINK_BROADCAST_ERROR", Const, 0, ""}, + {"NETLINK_CONNECTOR", Const, 0, ""}, + {"NETLINK_DNRTMSG", Const, 0, ""}, + {"NETLINK_DROP_MEMBERSHIP", Const, 0, ""}, + {"NETLINK_ECRYPTFS", Const, 0, ""}, + {"NETLINK_FIB_LOOKUP", Const, 0, ""}, + {"NETLINK_FIREWALL", Const, 0, ""}, + {"NETLINK_GENERIC", Const, 0, ""}, + {"NETLINK_INET_DIAG", Const, 0, ""}, + {"NETLINK_IP6_FW", Const, 0, ""}, + {"NETLINK_ISCSI", Const, 0, ""}, + {"NETLINK_KOBJECT_UEVENT", Const, 0, ""}, + {"NETLINK_NETFILTER", Const, 0, ""}, + {"NETLINK_NFLOG", Const, 0, ""}, + {"NETLINK_NO_ENOBUFS", Const, 0, ""}, + {"NETLINK_PKTINFO", Const, 0, ""}, + {"NETLINK_RDMA", Const, 0, ""}, + {"NETLINK_ROUTE", Const, 0, ""}, + {"NETLINK_SCSITRANSPORT", Const, 0, ""}, + {"NETLINK_SELINUX", Const, 0, ""}, + {"NETLINK_UNUSED", Const, 0, ""}, + {"NETLINK_USERSOCK", Const, 0, ""}, + {"NETLINK_XFRM", Const, 0, ""}, + {"NET_RT_DUMP", Const, 0, ""}, + {"NET_RT_DUMP2", Const, 0, ""}, + {"NET_RT_FLAGS", Const, 0, ""}, + {"NET_RT_IFLIST", Const, 0, ""}, + {"NET_RT_IFLIST2", Const, 0, ""}, + {"NET_RT_IFLISTL", Const, 1, ""}, + {"NET_RT_IFMALIST", Const, 0, ""}, + {"NET_RT_MAXID", Const, 0, ""}, + {"NET_RT_OIFLIST", Const, 1, ""}, + {"NET_RT_OOIFLIST", Const, 1, ""}, + {"NET_RT_STAT", Const, 0, ""}, + {"NET_RT_STATS", Const, 1, ""}, + {"NET_RT_TABLE", Const, 1, ""}, + {"NET_RT_TRASH", Const, 0, ""}, + {"NLA_ALIGNTO", Const, 0, ""}, + {"NLA_F_NESTED", Const, 0, ""}, + {"NLA_F_NET_BYTEORDER", Const, 0, ""}, + {"NLA_HDRLEN", Const, 0, ""}, + {"NLMSG_ALIGNTO", Const, 0, ""}, + {"NLMSG_DONE", Const, 0, ""}, + {"NLMSG_ERROR", Const, 0, ""}, + {"NLMSG_HDRLEN", Const, 0, ""}, + {"NLMSG_MIN_TYPE", Const, 0, ""}, + {"NLMSG_NOOP", Const, 0, ""}, + {"NLMSG_OVERRUN", Const, 0, ""}, + {"NLM_F_ACK", Const, 0, ""}, + {"NLM_F_APPEND", Const, 0, ""}, + {"NLM_F_ATOMIC", Const, 0, ""}, + {"NLM_F_CREATE", Const, 0, ""}, + {"NLM_F_DUMP", Const, 0, ""}, + {"NLM_F_ECHO", Const, 0, ""}, + {"NLM_F_EXCL", Const, 0, ""}, + {"NLM_F_MATCH", Const, 0, ""}, + {"NLM_F_MULTI", Const, 0, ""}, + {"NLM_F_REPLACE", Const, 0, ""}, + {"NLM_F_REQUEST", Const, 0, ""}, + {"NLM_F_ROOT", Const, 0, ""}, + {"NOFLSH", Const, 0, ""}, + {"NOTE_ABSOLUTE", Const, 0, ""}, + {"NOTE_ATTRIB", Const, 0, ""}, + {"NOTE_BACKGROUND", Const, 16, ""}, + {"NOTE_CHILD", Const, 0, ""}, + {"NOTE_CRITICAL", Const, 16, ""}, + {"NOTE_DELETE", Const, 0, ""}, + {"NOTE_EOF", Const, 1, ""}, + {"NOTE_EXEC", Const, 0, ""}, + {"NOTE_EXIT", Const, 0, ""}, + {"NOTE_EXITSTATUS", Const, 0, ""}, + {"NOTE_EXIT_CSERROR", Const, 16, ""}, + {"NOTE_EXIT_DECRYPTFAIL", Const, 16, ""}, + {"NOTE_EXIT_DETAIL", Const, 16, ""}, + {"NOTE_EXIT_DETAIL_MASK", Const, 16, ""}, + {"NOTE_EXIT_MEMORY", Const, 16, ""}, + {"NOTE_EXIT_REPARENTED", Const, 16, ""}, + {"NOTE_EXTEND", Const, 0, ""}, + {"NOTE_FFAND", Const, 0, ""}, + {"NOTE_FFCOPY", Const, 0, ""}, + {"NOTE_FFCTRLMASK", Const, 0, ""}, + {"NOTE_FFLAGSMASK", Const, 0, ""}, + {"NOTE_FFNOP", Const, 0, ""}, + {"NOTE_FFOR", Const, 0, ""}, + {"NOTE_FORK", Const, 0, ""}, + {"NOTE_LEEWAY", Const, 16, ""}, + {"NOTE_LINK", Const, 0, ""}, + {"NOTE_LOWAT", Const, 0, ""}, + {"NOTE_NONE", Const, 0, ""}, + {"NOTE_NSECONDS", Const, 0, ""}, + {"NOTE_PCTRLMASK", Const, 0, ""}, + {"NOTE_PDATAMASK", Const, 0, ""}, + {"NOTE_REAP", Const, 0, ""}, + {"NOTE_RENAME", Const, 0, ""}, + {"NOTE_RESOURCEEND", Const, 0, ""}, + {"NOTE_REVOKE", Const, 0, ""}, + {"NOTE_SECONDS", Const, 0, ""}, + {"NOTE_SIGNAL", Const, 0, ""}, + {"NOTE_TRACK", Const, 0, ""}, + {"NOTE_TRACKERR", Const, 0, ""}, + {"NOTE_TRIGGER", Const, 0, ""}, + {"NOTE_TRUNCATE", Const, 1, ""}, + {"NOTE_USECONDS", Const, 0, ""}, + {"NOTE_VM_ERROR", Const, 0, ""}, + {"NOTE_VM_PRESSURE", Const, 0, ""}, + {"NOTE_VM_PRESSURE_SUDDEN_TERMINATE", Const, 0, ""}, + {"NOTE_VM_PRESSURE_TERMINATE", Const, 0, ""}, + {"NOTE_WRITE", Const, 0, ""}, + {"NameCanonical", Const, 0, ""}, + {"NameCanonicalEx", Const, 0, ""}, + {"NameDisplay", Const, 0, ""}, + {"NameDnsDomain", Const, 0, ""}, + {"NameFullyQualifiedDN", Const, 0, ""}, + {"NameSamCompatible", Const, 0, ""}, + {"NameServicePrincipal", Const, 0, ""}, + {"NameUniqueId", Const, 0, ""}, + {"NameUnknown", Const, 0, ""}, + {"NameUserPrincipal", Const, 0, ""}, + {"Nanosleep", Func, 0, "func(time *Timespec, leftover *Timespec) (err error)"}, + {"NetApiBufferFree", Func, 0, ""}, + {"NetGetJoinInformation", Func, 2, ""}, + {"NetSetupDomainName", Const, 2, ""}, + {"NetSetupUnjoined", Const, 2, ""}, + {"NetSetupUnknownStatus", Const, 2, ""}, + {"NetSetupWorkgroupName", Const, 2, ""}, + {"NetUserGetInfo", Func, 0, ""}, + {"NetlinkMessage", Type, 0, ""}, + {"NetlinkMessage.Data", Field, 0, ""}, + {"NetlinkMessage.Header", Field, 0, ""}, + {"NetlinkRIB", Func, 0, "func(proto int, family int) ([]byte, error)"}, + {"NetlinkRouteAttr", Type, 0, ""}, + {"NetlinkRouteAttr.Attr", Field, 0, ""}, + {"NetlinkRouteAttr.Value", Field, 0, ""}, + {"NetlinkRouteRequest", Type, 0, ""}, + {"NetlinkRouteRequest.Data", Field, 0, ""}, + {"NetlinkRouteRequest.Header", Field, 0, ""}, + {"NewCallback", Func, 0, ""}, + {"NewCallbackCDecl", Func, 3, ""}, + {"NewLazyDLL", Func, 0, ""}, + {"NlAttr", Type, 0, ""}, + {"NlAttr.Len", Field, 0, ""}, + {"NlAttr.Type", Field, 0, ""}, + {"NlMsgerr", Type, 0, ""}, + {"NlMsgerr.Error", Field, 0, ""}, + {"NlMsgerr.Msg", Field, 0, ""}, + {"NlMsghdr", Type, 0, ""}, + {"NlMsghdr.Flags", Field, 0, ""}, + {"NlMsghdr.Len", Field, 0, ""}, + {"NlMsghdr.Pid", Field, 0, ""}, + {"NlMsghdr.Seq", Field, 0, ""}, + {"NlMsghdr.Type", Field, 0, ""}, + {"NsecToFiletime", Func, 0, ""}, + {"NsecToTimespec", Func, 0, "func(nsec int64) Timespec"}, + {"NsecToTimeval", Func, 0, "func(nsec int64) Timeval"}, + {"Ntohs", Func, 0, ""}, + {"OCRNL", Const, 0, ""}, + {"OFDEL", Const, 0, ""}, + {"OFILL", Const, 0, ""}, + {"OFIOGETBMAP", Const, 1, ""}, + {"OID_PKIX_KP_SERVER_AUTH", Var, 0, ""}, + {"OID_SERVER_GATED_CRYPTO", Var, 0, ""}, + {"OID_SGC_NETSCAPE", Var, 0, ""}, + {"OLCUC", Const, 0, ""}, + {"ONLCR", Const, 0, ""}, + {"ONLRET", Const, 0, ""}, + {"ONOCR", Const, 0, ""}, + {"ONOEOT", Const, 1, ""}, + {"OPEN_ALWAYS", Const, 0, ""}, + {"OPEN_EXISTING", Const, 0, ""}, + {"OPOST", Const, 0, ""}, + {"O_ACCMODE", Const, 0, ""}, + {"O_ALERT", Const, 0, ""}, + {"O_ALT_IO", Const, 1, ""}, + {"O_APPEND", Const, 0, ""}, + {"O_ASYNC", Const, 0, ""}, + {"O_CLOEXEC", Const, 0, ""}, + {"O_CREAT", Const, 0, ""}, + {"O_DIRECT", Const, 0, ""}, + {"O_DIRECTORY", Const, 0, ""}, + {"O_DP_GETRAWENCRYPTED", Const, 16, ""}, + {"O_DSYNC", Const, 0, ""}, + {"O_EVTONLY", Const, 0, ""}, + {"O_EXCL", Const, 0, ""}, + {"O_EXEC", Const, 0, ""}, + {"O_EXLOCK", Const, 0, ""}, + {"O_FSYNC", Const, 0, ""}, + {"O_LARGEFILE", Const, 0, ""}, + {"O_NDELAY", Const, 0, ""}, + {"O_NOATIME", Const, 0, ""}, + {"O_NOCTTY", Const, 0, ""}, + {"O_NOFOLLOW", Const, 0, ""}, + {"O_NONBLOCK", Const, 0, ""}, + {"O_NOSIGPIPE", Const, 1, ""}, + {"O_POPUP", Const, 0, ""}, + {"O_RDONLY", Const, 0, ""}, + {"O_RDWR", Const, 0, ""}, + {"O_RSYNC", Const, 0, ""}, + {"O_SHLOCK", Const, 0, ""}, + {"O_SYMLINK", Const, 0, ""}, + {"O_SYNC", Const, 0, ""}, + {"O_TRUNC", Const, 0, ""}, + {"O_TTY_INIT", Const, 0, ""}, + {"O_WRONLY", Const, 0, ""}, + {"Open", Func, 0, "func(path string, mode int, perm uint32) (fd int, err error)"}, + {"OpenCurrentProcessToken", Func, 0, ""}, + {"OpenProcess", Func, 0, ""}, + {"OpenProcessToken", Func, 0, ""}, + {"Openat", Func, 0, "func(dirfd int, path string, flags int, mode uint32) (fd int, err error)"}, + {"Overlapped", Type, 0, ""}, + {"Overlapped.HEvent", Field, 0, ""}, + {"Overlapped.Internal", Field, 0, ""}, + {"Overlapped.InternalHigh", Field, 0, ""}, + {"Overlapped.Offset", Field, 0, ""}, + {"Overlapped.OffsetHigh", Field, 0, ""}, + {"PACKET_ADD_MEMBERSHIP", Const, 0, ""}, + {"PACKET_BROADCAST", Const, 0, ""}, + {"PACKET_DROP_MEMBERSHIP", Const, 0, ""}, + {"PACKET_FASTROUTE", Const, 0, ""}, + {"PACKET_HOST", Const, 0, ""}, + {"PACKET_LOOPBACK", Const, 0, ""}, + {"PACKET_MR_ALLMULTI", Const, 0, ""}, + {"PACKET_MR_MULTICAST", Const, 0, ""}, + {"PACKET_MR_PROMISC", Const, 0, ""}, + {"PACKET_MULTICAST", Const, 0, ""}, + {"PACKET_OTHERHOST", Const, 0, ""}, + {"PACKET_OUTGOING", Const, 0, ""}, + {"PACKET_RECV_OUTPUT", Const, 0, ""}, + {"PACKET_RX_RING", Const, 0, ""}, + {"PACKET_STATISTICS", Const, 0, ""}, + {"PAGE_EXECUTE_READ", Const, 0, ""}, + {"PAGE_EXECUTE_READWRITE", Const, 0, ""}, + {"PAGE_EXECUTE_WRITECOPY", Const, 0, ""}, + {"PAGE_READONLY", Const, 0, ""}, + {"PAGE_READWRITE", Const, 0, ""}, + {"PAGE_WRITECOPY", Const, 0, ""}, + {"PARENB", Const, 0, ""}, + {"PARMRK", Const, 0, ""}, + {"PARODD", Const, 0, ""}, + {"PENDIN", Const, 0, ""}, + {"PFL_HIDDEN", Const, 2, ""}, + {"PFL_MATCHES_PROTOCOL_ZERO", Const, 2, ""}, + {"PFL_MULTIPLE_PROTO_ENTRIES", Const, 2, ""}, + {"PFL_NETWORKDIRECT_PROVIDER", Const, 2, ""}, + {"PFL_RECOMMENDED_PROTO_ENTRY", Const, 2, ""}, + {"PF_FLUSH", Const, 1, ""}, + {"PKCS_7_ASN_ENCODING", Const, 0, ""}, + {"PMC5_PIPELINE_FLUSH", Const, 1, ""}, + {"PRIO_PGRP", Const, 2, ""}, + {"PRIO_PROCESS", Const, 2, ""}, + {"PRIO_USER", Const, 2, ""}, + {"PRI_IOFLUSH", Const, 1, ""}, + {"PROCESS_QUERY_INFORMATION", Const, 0, ""}, + {"PROCESS_TERMINATE", Const, 2, ""}, + {"PROT_EXEC", Const, 0, ""}, + {"PROT_GROWSDOWN", Const, 0, ""}, + {"PROT_GROWSUP", Const, 0, ""}, + {"PROT_NONE", Const, 0, ""}, + {"PROT_READ", Const, 0, ""}, + {"PROT_WRITE", Const, 0, ""}, + {"PROV_DH_SCHANNEL", Const, 0, ""}, + {"PROV_DSS", Const, 0, ""}, + {"PROV_DSS_DH", Const, 0, ""}, + {"PROV_EC_ECDSA_FULL", Const, 0, ""}, + {"PROV_EC_ECDSA_SIG", Const, 0, ""}, + {"PROV_EC_ECNRA_FULL", Const, 0, ""}, + {"PROV_EC_ECNRA_SIG", Const, 0, ""}, + {"PROV_FORTEZZA", Const, 0, ""}, + {"PROV_INTEL_SEC", Const, 0, ""}, + {"PROV_MS_EXCHANGE", Const, 0, ""}, + {"PROV_REPLACE_OWF", Const, 0, ""}, + {"PROV_RNG", Const, 0, ""}, + {"PROV_RSA_AES", Const, 0, ""}, + {"PROV_RSA_FULL", Const, 0, ""}, + {"PROV_RSA_SCHANNEL", Const, 0, ""}, + {"PROV_RSA_SIG", Const, 0, ""}, + {"PROV_SPYRUS_LYNKS", Const, 0, ""}, + {"PROV_SSL", Const, 0, ""}, + {"PR_CAPBSET_DROP", Const, 0, ""}, + {"PR_CAPBSET_READ", Const, 0, ""}, + {"PR_CLEAR_SECCOMP_FILTER", Const, 0, ""}, + {"PR_ENDIAN_BIG", Const, 0, ""}, + {"PR_ENDIAN_LITTLE", Const, 0, ""}, + {"PR_ENDIAN_PPC_LITTLE", Const, 0, ""}, + {"PR_FPEMU_NOPRINT", Const, 0, ""}, + {"PR_FPEMU_SIGFPE", Const, 0, ""}, + {"PR_FP_EXC_ASYNC", Const, 0, ""}, + {"PR_FP_EXC_DISABLED", Const, 0, ""}, + {"PR_FP_EXC_DIV", Const, 0, ""}, + {"PR_FP_EXC_INV", Const, 0, ""}, + {"PR_FP_EXC_NONRECOV", Const, 0, ""}, + {"PR_FP_EXC_OVF", Const, 0, ""}, + {"PR_FP_EXC_PRECISE", Const, 0, ""}, + {"PR_FP_EXC_RES", Const, 0, ""}, + {"PR_FP_EXC_SW_ENABLE", Const, 0, ""}, + {"PR_FP_EXC_UND", Const, 0, ""}, + {"PR_GET_DUMPABLE", Const, 0, ""}, + {"PR_GET_ENDIAN", Const, 0, ""}, + {"PR_GET_FPEMU", Const, 0, ""}, + {"PR_GET_FPEXC", Const, 0, ""}, + {"PR_GET_KEEPCAPS", Const, 0, ""}, + {"PR_GET_NAME", Const, 0, ""}, + {"PR_GET_PDEATHSIG", Const, 0, ""}, + {"PR_GET_SECCOMP", Const, 0, ""}, + {"PR_GET_SECCOMP_FILTER", Const, 0, ""}, + {"PR_GET_SECUREBITS", Const, 0, ""}, + {"PR_GET_TIMERSLACK", Const, 0, ""}, + {"PR_GET_TIMING", Const, 0, ""}, + {"PR_GET_TSC", Const, 0, ""}, + {"PR_GET_UNALIGN", Const, 0, ""}, + {"PR_MCE_KILL", Const, 0, ""}, + {"PR_MCE_KILL_CLEAR", Const, 0, ""}, + {"PR_MCE_KILL_DEFAULT", Const, 0, ""}, + {"PR_MCE_KILL_EARLY", Const, 0, ""}, + {"PR_MCE_KILL_GET", Const, 0, ""}, + {"PR_MCE_KILL_LATE", Const, 0, ""}, + {"PR_MCE_KILL_SET", Const, 0, ""}, + {"PR_SECCOMP_FILTER_EVENT", Const, 0, ""}, + {"PR_SECCOMP_FILTER_SYSCALL", Const, 0, ""}, + {"PR_SET_DUMPABLE", Const, 0, ""}, + {"PR_SET_ENDIAN", Const, 0, ""}, + {"PR_SET_FPEMU", Const, 0, ""}, + {"PR_SET_FPEXC", Const, 0, ""}, + {"PR_SET_KEEPCAPS", Const, 0, ""}, + {"PR_SET_NAME", Const, 0, ""}, + {"PR_SET_PDEATHSIG", Const, 0, ""}, + {"PR_SET_PTRACER", Const, 0, ""}, + {"PR_SET_SECCOMP", Const, 0, ""}, + {"PR_SET_SECCOMP_FILTER", Const, 0, ""}, + {"PR_SET_SECUREBITS", Const, 0, ""}, + {"PR_SET_TIMERSLACK", Const, 0, ""}, + {"PR_SET_TIMING", Const, 0, ""}, + {"PR_SET_TSC", Const, 0, ""}, + {"PR_SET_UNALIGN", Const, 0, ""}, + {"PR_TASK_PERF_EVENTS_DISABLE", Const, 0, ""}, + {"PR_TASK_PERF_EVENTS_ENABLE", Const, 0, ""}, + {"PR_TIMING_STATISTICAL", Const, 0, ""}, + {"PR_TIMING_TIMESTAMP", Const, 0, ""}, + {"PR_TSC_ENABLE", Const, 0, ""}, + {"PR_TSC_SIGSEGV", Const, 0, ""}, + {"PR_UNALIGN_NOPRINT", Const, 0, ""}, + {"PR_UNALIGN_SIGBUS", Const, 0, ""}, + {"PTRACE_ARCH_PRCTL", Const, 0, ""}, + {"PTRACE_ATTACH", Const, 0, ""}, + {"PTRACE_CONT", Const, 0, ""}, + {"PTRACE_DETACH", Const, 0, ""}, + {"PTRACE_EVENT_CLONE", Const, 0, ""}, + {"PTRACE_EVENT_EXEC", Const, 0, ""}, + {"PTRACE_EVENT_EXIT", Const, 0, ""}, + {"PTRACE_EVENT_FORK", Const, 0, ""}, + {"PTRACE_EVENT_VFORK", Const, 0, ""}, + {"PTRACE_EVENT_VFORK_DONE", Const, 0, ""}, + {"PTRACE_GETCRUNCHREGS", Const, 0, ""}, + {"PTRACE_GETEVENTMSG", Const, 0, ""}, + {"PTRACE_GETFPREGS", Const, 0, ""}, + {"PTRACE_GETFPXREGS", Const, 0, ""}, + {"PTRACE_GETHBPREGS", Const, 0, ""}, + {"PTRACE_GETREGS", Const, 0, ""}, + {"PTRACE_GETREGSET", Const, 0, ""}, + {"PTRACE_GETSIGINFO", Const, 0, ""}, + {"PTRACE_GETVFPREGS", Const, 0, ""}, + {"PTRACE_GETWMMXREGS", Const, 0, ""}, + {"PTRACE_GET_THREAD_AREA", Const, 0, ""}, + {"PTRACE_KILL", Const, 0, ""}, + {"PTRACE_OLDSETOPTIONS", Const, 0, ""}, + {"PTRACE_O_MASK", Const, 0, ""}, + {"PTRACE_O_TRACECLONE", Const, 0, ""}, + {"PTRACE_O_TRACEEXEC", Const, 0, ""}, + {"PTRACE_O_TRACEEXIT", Const, 0, ""}, + {"PTRACE_O_TRACEFORK", Const, 0, ""}, + {"PTRACE_O_TRACESYSGOOD", Const, 0, ""}, + {"PTRACE_O_TRACEVFORK", Const, 0, ""}, + {"PTRACE_O_TRACEVFORKDONE", Const, 0, ""}, + {"PTRACE_PEEKDATA", Const, 0, ""}, + {"PTRACE_PEEKTEXT", Const, 0, ""}, + {"PTRACE_PEEKUSR", Const, 0, ""}, + {"PTRACE_POKEDATA", Const, 0, ""}, + {"PTRACE_POKETEXT", Const, 0, ""}, + {"PTRACE_POKEUSR", Const, 0, ""}, + {"PTRACE_SETCRUNCHREGS", Const, 0, ""}, + {"PTRACE_SETFPREGS", Const, 0, ""}, + {"PTRACE_SETFPXREGS", Const, 0, ""}, + {"PTRACE_SETHBPREGS", Const, 0, ""}, + {"PTRACE_SETOPTIONS", Const, 0, ""}, + {"PTRACE_SETREGS", Const, 0, ""}, + {"PTRACE_SETREGSET", Const, 0, ""}, + {"PTRACE_SETSIGINFO", Const, 0, ""}, + {"PTRACE_SETVFPREGS", Const, 0, ""}, + {"PTRACE_SETWMMXREGS", Const, 0, ""}, + {"PTRACE_SET_SYSCALL", Const, 0, ""}, + {"PTRACE_SET_THREAD_AREA", Const, 0, ""}, + {"PTRACE_SINGLEBLOCK", Const, 0, ""}, + {"PTRACE_SINGLESTEP", Const, 0, ""}, + {"PTRACE_SYSCALL", Const, 0, ""}, + {"PTRACE_SYSEMU", Const, 0, ""}, + {"PTRACE_SYSEMU_SINGLESTEP", Const, 0, ""}, + {"PTRACE_TRACEME", Const, 0, ""}, + {"PT_ATTACH", Const, 0, ""}, + {"PT_ATTACHEXC", Const, 0, ""}, + {"PT_CONTINUE", Const, 0, ""}, + {"PT_DATA_ADDR", Const, 0, ""}, + {"PT_DENY_ATTACH", Const, 0, ""}, + {"PT_DETACH", Const, 0, ""}, + {"PT_FIRSTMACH", Const, 0, ""}, + {"PT_FORCEQUOTA", Const, 0, ""}, + {"PT_KILL", Const, 0, ""}, + {"PT_MASK", Const, 1, ""}, + {"PT_READ_D", Const, 0, ""}, + {"PT_READ_I", Const, 0, ""}, + {"PT_READ_U", Const, 0, ""}, + {"PT_SIGEXC", Const, 0, ""}, + {"PT_STEP", Const, 0, ""}, + {"PT_TEXT_ADDR", Const, 0, ""}, + {"PT_TEXT_END_ADDR", Const, 0, ""}, + {"PT_THUPDATE", Const, 0, ""}, + {"PT_TRACE_ME", Const, 0, ""}, + {"PT_WRITE_D", Const, 0, ""}, + {"PT_WRITE_I", Const, 0, ""}, + {"PT_WRITE_U", Const, 0, ""}, + {"ParseDirent", Func, 0, "func(buf []byte, max int, names []string) (consumed int, count int, newnames []string)"}, + {"ParseNetlinkMessage", Func, 0, "func(b []byte) ([]NetlinkMessage, error)"}, + {"ParseNetlinkRouteAttr", Func, 0, "func(m *NetlinkMessage) ([]NetlinkRouteAttr, error)"}, + {"ParseRoutingMessage", Func, 0, ""}, + {"ParseRoutingSockaddr", Func, 0, ""}, + {"ParseSocketControlMessage", Func, 0, "func(b []byte) ([]SocketControlMessage, error)"}, + {"ParseUnixCredentials", Func, 0, "func(m *SocketControlMessage) (*Ucred, error)"}, + {"ParseUnixRights", Func, 0, "func(m *SocketControlMessage) ([]int, error)"}, + {"PathMax", Const, 0, ""}, + {"Pathconf", Func, 0, ""}, + {"Pause", Func, 0, "func() (err error)"}, + {"Pipe", Func, 0, "func(p []int) error"}, + {"Pipe2", Func, 1, "func(p []int, flags int) error"}, + {"PivotRoot", Func, 0, "func(newroot string, putold string) (err error)"}, + {"Pointer", Type, 11, ""}, + {"PostQueuedCompletionStatus", Func, 0, ""}, + {"Pread", Func, 0, "func(fd int, p []byte, offset int64) (n int, err error)"}, + {"Proc", Type, 0, ""}, + {"Proc.Dll", Field, 0, ""}, + {"Proc.Name", Field, 0, ""}, + {"ProcAttr", Type, 0, ""}, + {"ProcAttr.Dir", Field, 0, ""}, + {"ProcAttr.Env", Field, 0, ""}, + {"ProcAttr.Files", Field, 0, ""}, + {"ProcAttr.Sys", Field, 0, ""}, + {"Process32First", Func, 4, ""}, + {"Process32Next", Func, 4, ""}, + {"ProcessEntry32", Type, 4, ""}, + {"ProcessEntry32.DefaultHeapID", Field, 4, ""}, + {"ProcessEntry32.ExeFile", Field, 4, ""}, + {"ProcessEntry32.Flags", Field, 4, ""}, + {"ProcessEntry32.ModuleID", Field, 4, ""}, + {"ProcessEntry32.ParentProcessID", Field, 4, ""}, + {"ProcessEntry32.PriClassBase", Field, 4, ""}, + {"ProcessEntry32.ProcessID", Field, 4, ""}, + {"ProcessEntry32.Size", Field, 4, ""}, + {"ProcessEntry32.Threads", Field, 4, ""}, + {"ProcessEntry32.Usage", Field, 4, ""}, + {"ProcessInformation", Type, 0, ""}, + {"ProcessInformation.Process", Field, 0, ""}, + {"ProcessInformation.ProcessId", Field, 0, ""}, + {"ProcessInformation.Thread", Field, 0, ""}, + {"ProcessInformation.ThreadId", Field, 0, ""}, + {"Protoent", Type, 0, ""}, + {"Protoent.Aliases", Field, 0, ""}, + {"Protoent.Name", Field, 0, ""}, + {"Protoent.Proto", Field, 0, ""}, + {"PtraceAttach", Func, 0, "func(pid int) (err error)"}, + {"PtraceCont", Func, 0, "func(pid int, signal int) (err error)"}, + {"PtraceDetach", Func, 0, "func(pid int) (err error)"}, + {"PtraceGetEventMsg", Func, 0, "func(pid int) (msg uint, err error)"}, + {"PtraceGetRegs", Func, 0, "func(pid int, regsout *PtraceRegs) (err error)"}, + {"PtracePeekData", Func, 0, "func(pid int, addr uintptr, out []byte) (count int, err error)"}, + {"PtracePeekText", Func, 0, "func(pid int, addr uintptr, out []byte) (count int, err error)"}, + {"PtracePokeData", Func, 0, "func(pid int, addr uintptr, data []byte) (count int, err error)"}, + {"PtracePokeText", Func, 0, "func(pid int, addr uintptr, data []byte) (count int, err error)"}, + {"PtraceRegs", Type, 0, ""}, + {"PtraceRegs.Cs", Field, 0, ""}, + {"PtraceRegs.Ds", Field, 0, ""}, + {"PtraceRegs.Eax", Field, 0, ""}, + {"PtraceRegs.Ebp", Field, 0, ""}, + {"PtraceRegs.Ebx", Field, 0, ""}, + {"PtraceRegs.Ecx", Field, 0, ""}, + {"PtraceRegs.Edi", Field, 0, ""}, + {"PtraceRegs.Edx", Field, 0, ""}, + {"PtraceRegs.Eflags", Field, 0, ""}, + {"PtraceRegs.Eip", Field, 0, ""}, + {"PtraceRegs.Es", Field, 0, ""}, + {"PtraceRegs.Esi", Field, 0, ""}, + {"PtraceRegs.Esp", Field, 0, ""}, + {"PtraceRegs.Fs", Field, 0, ""}, + {"PtraceRegs.Fs_base", Field, 0, ""}, + {"PtraceRegs.Gs", Field, 0, ""}, + {"PtraceRegs.Gs_base", Field, 0, ""}, + {"PtraceRegs.Orig_eax", Field, 0, ""}, + {"PtraceRegs.Orig_rax", Field, 0, ""}, + {"PtraceRegs.R10", Field, 0, ""}, + {"PtraceRegs.R11", Field, 0, ""}, + {"PtraceRegs.R12", Field, 0, ""}, + {"PtraceRegs.R13", Field, 0, ""}, + {"PtraceRegs.R14", Field, 0, ""}, + {"PtraceRegs.R15", Field, 0, ""}, + {"PtraceRegs.R8", Field, 0, ""}, + {"PtraceRegs.R9", Field, 0, ""}, + {"PtraceRegs.Rax", Field, 0, ""}, + {"PtraceRegs.Rbp", Field, 0, ""}, + {"PtraceRegs.Rbx", Field, 0, ""}, + {"PtraceRegs.Rcx", Field, 0, ""}, + {"PtraceRegs.Rdi", Field, 0, ""}, + {"PtraceRegs.Rdx", Field, 0, ""}, + {"PtraceRegs.Rip", Field, 0, ""}, + {"PtraceRegs.Rsi", Field, 0, ""}, + {"PtraceRegs.Rsp", Field, 0, ""}, + {"PtraceRegs.Ss", Field, 0, ""}, + {"PtraceRegs.Uregs", Field, 0, ""}, + {"PtraceRegs.Xcs", Field, 0, ""}, + {"PtraceRegs.Xds", Field, 0, ""}, + {"PtraceRegs.Xes", Field, 0, ""}, + {"PtraceRegs.Xfs", Field, 0, ""}, + {"PtraceRegs.Xgs", Field, 0, ""}, + {"PtraceRegs.Xss", Field, 0, ""}, + {"PtraceSetOptions", Func, 0, "func(pid int, options int) (err error)"}, + {"PtraceSetRegs", Func, 0, "func(pid int, regs *PtraceRegs) (err error)"}, + {"PtraceSingleStep", Func, 0, "func(pid int) (err error)"}, + {"PtraceSyscall", Func, 1, "func(pid int, signal int) (err error)"}, + {"Pwrite", Func, 0, "func(fd int, p []byte, offset int64) (n int, err error)"}, + {"REG_BINARY", Const, 0, ""}, + {"REG_DWORD", Const, 0, ""}, + {"REG_DWORD_BIG_ENDIAN", Const, 0, ""}, + {"REG_DWORD_LITTLE_ENDIAN", Const, 0, ""}, + {"REG_EXPAND_SZ", Const, 0, ""}, + {"REG_FULL_RESOURCE_DESCRIPTOR", Const, 0, ""}, + {"REG_LINK", Const, 0, ""}, + {"REG_MULTI_SZ", Const, 0, ""}, + {"REG_NONE", Const, 0, ""}, + {"REG_QWORD", Const, 0, ""}, + {"REG_QWORD_LITTLE_ENDIAN", Const, 0, ""}, + {"REG_RESOURCE_LIST", Const, 0, ""}, + {"REG_RESOURCE_REQUIREMENTS_LIST", Const, 0, ""}, + {"REG_SZ", Const, 0, ""}, + {"RLIMIT_AS", Const, 0, ""}, + {"RLIMIT_CORE", Const, 0, ""}, + {"RLIMIT_CPU", Const, 0, ""}, + {"RLIMIT_CPU_USAGE_MONITOR", Const, 16, ""}, + {"RLIMIT_DATA", Const, 0, ""}, + {"RLIMIT_FSIZE", Const, 0, ""}, + {"RLIMIT_NOFILE", Const, 0, ""}, + {"RLIMIT_STACK", Const, 0, ""}, + {"RLIM_INFINITY", Const, 0, ""}, + {"RTAX_ADVMSS", Const, 0, ""}, + {"RTAX_AUTHOR", Const, 0, ""}, + {"RTAX_BRD", Const, 0, ""}, + {"RTAX_CWND", Const, 0, ""}, + {"RTAX_DST", Const, 0, ""}, + {"RTAX_FEATURES", Const, 0, ""}, + {"RTAX_FEATURE_ALLFRAG", Const, 0, ""}, + {"RTAX_FEATURE_ECN", Const, 0, ""}, + {"RTAX_FEATURE_SACK", Const, 0, ""}, + {"RTAX_FEATURE_TIMESTAMP", Const, 0, ""}, + {"RTAX_GATEWAY", Const, 0, ""}, + {"RTAX_GENMASK", Const, 0, ""}, + {"RTAX_HOPLIMIT", Const, 0, ""}, + {"RTAX_IFA", Const, 0, ""}, + {"RTAX_IFP", Const, 0, ""}, + {"RTAX_INITCWND", Const, 0, ""}, + {"RTAX_INITRWND", Const, 0, ""}, + {"RTAX_LABEL", Const, 1, ""}, + {"RTAX_LOCK", Const, 0, ""}, + {"RTAX_MAX", Const, 0, ""}, + {"RTAX_MTU", Const, 0, ""}, + {"RTAX_NETMASK", Const, 0, ""}, + {"RTAX_REORDERING", Const, 0, ""}, + {"RTAX_RTO_MIN", Const, 0, ""}, + {"RTAX_RTT", Const, 0, ""}, + {"RTAX_RTTVAR", Const, 0, ""}, + {"RTAX_SRC", Const, 1, ""}, + {"RTAX_SRCMASK", Const, 1, ""}, + {"RTAX_SSTHRESH", Const, 0, ""}, + {"RTAX_TAG", Const, 1, ""}, + {"RTAX_UNSPEC", Const, 0, ""}, + {"RTAX_WINDOW", Const, 0, ""}, + {"RTA_ALIGNTO", Const, 0, ""}, + {"RTA_AUTHOR", Const, 0, ""}, + {"RTA_BRD", Const, 0, ""}, + {"RTA_CACHEINFO", Const, 0, ""}, + {"RTA_DST", Const, 0, ""}, + {"RTA_FLOW", Const, 0, ""}, + {"RTA_GATEWAY", Const, 0, ""}, + {"RTA_GENMASK", Const, 0, ""}, + {"RTA_IFA", Const, 0, ""}, + {"RTA_IFP", Const, 0, ""}, + {"RTA_IIF", Const, 0, ""}, + {"RTA_LABEL", Const, 1, ""}, + {"RTA_MAX", Const, 0, ""}, + {"RTA_METRICS", Const, 0, ""}, + {"RTA_MULTIPATH", Const, 0, ""}, + {"RTA_NETMASK", Const, 0, ""}, + {"RTA_OIF", Const, 0, ""}, + {"RTA_PREFSRC", Const, 0, ""}, + {"RTA_PRIORITY", Const, 0, ""}, + {"RTA_SRC", Const, 0, ""}, + {"RTA_SRCMASK", Const, 1, ""}, + {"RTA_TABLE", Const, 0, ""}, + {"RTA_TAG", Const, 1, ""}, + {"RTA_UNSPEC", Const, 0, ""}, + {"RTCF_DIRECTSRC", Const, 0, ""}, + {"RTCF_DOREDIRECT", Const, 0, ""}, + {"RTCF_LOG", Const, 0, ""}, + {"RTCF_MASQ", Const, 0, ""}, + {"RTCF_NAT", Const, 0, ""}, + {"RTCF_VALVE", Const, 0, ""}, + {"RTF_ADDRCLASSMASK", Const, 0, ""}, + {"RTF_ADDRCONF", Const, 0, ""}, + {"RTF_ALLONLINK", Const, 0, ""}, + {"RTF_ANNOUNCE", Const, 1, ""}, + {"RTF_BLACKHOLE", Const, 0, ""}, + {"RTF_BROADCAST", Const, 0, ""}, + {"RTF_CACHE", Const, 0, ""}, + {"RTF_CLONED", Const, 1, ""}, + {"RTF_CLONING", Const, 0, ""}, + {"RTF_CONDEMNED", Const, 0, ""}, + {"RTF_DEFAULT", Const, 0, ""}, + {"RTF_DELCLONE", Const, 0, ""}, + {"RTF_DONE", Const, 0, ""}, + {"RTF_DYNAMIC", Const, 0, ""}, + {"RTF_FLOW", Const, 0, ""}, + {"RTF_FMASK", Const, 0, ""}, + {"RTF_GATEWAY", Const, 0, ""}, + {"RTF_GWFLAG_COMPAT", Const, 3, ""}, + {"RTF_HOST", Const, 0, ""}, + {"RTF_IFREF", Const, 0, ""}, + {"RTF_IFSCOPE", Const, 0, ""}, + {"RTF_INTERFACE", Const, 0, ""}, + {"RTF_IRTT", Const, 0, ""}, + {"RTF_LINKRT", Const, 0, ""}, + {"RTF_LLDATA", Const, 0, ""}, + {"RTF_LLINFO", Const, 0, ""}, + {"RTF_LOCAL", Const, 0, ""}, + {"RTF_MASK", Const, 1, ""}, + {"RTF_MODIFIED", Const, 0, ""}, + {"RTF_MPATH", Const, 1, ""}, + {"RTF_MPLS", Const, 1, ""}, + {"RTF_MSS", Const, 0, ""}, + {"RTF_MTU", Const, 0, ""}, + {"RTF_MULTICAST", Const, 0, ""}, + {"RTF_NAT", Const, 0, ""}, + {"RTF_NOFORWARD", Const, 0, ""}, + {"RTF_NONEXTHOP", Const, 0, ""}, + {"RTF_NOPMTUDISC", Const, 0, ""}, + {"RTF_PERMANENT_ARP", Const, 1, ""}, + {"RTF_PINNED", Const, 0, ""}, + {"RTF_POLICY", Const, 0, ""}, + {"RTF_PRCLONING", Const, 0, ""}, + {"RTF_PROTO1", Const, 0, ""}, + {"RTF_PROTO2", Const, 0, ""}, + {"RTF_PROTO3", Const, 0, ""}, + {"RTF_PROXY", Const, 16, ""}, + {"RTF_REINSTATE", Const, 0, ""}, + {"RTF_REJECT", Const, 0, ""}, + {"RTF_RNH_LOCKED", Const, 0, ""}, + {"RTF_ROUTER", Const, 16, ""}, + {"RTF_SOURCE", Const, 1, ""}, + {"RTF_SRC", Const, 1, ""}, + {"RTF_STATIC", Const, 0, ""}, + {"RTF_STICKY", Const, 0, ""}, + {"RTF_THROW", Const, 0, ""}, + {"RTF_TUNNEL", Const, 1, ""}, + {"RTF_UP", Const, 0, ""}, + {"RTF_USETRAILERS", Const, 1, ""}, + {"RTF_WASCLONED", Const, 0, ""}, + {"RTF_WINDOW", Const, 0, ""}, + {"RTF_XRESOLVE", Const, 0, ""}, + {"RTM_ADD", Const, 0, ""}, + {"RTM_BASE", Const, 0, ""}, + {"RTM_CHANGE", Const, 0, ""}, + {"RTM_CHGADDR", Const, 1, ""}, + {"RTM_DELACTION", Const, 0, ""}, + {"RTM_DELADDR", Const, 0, ""}, + {"RTM_DELADDRLABEL", Const, 0, ""}, + {"RTM_DELETE", Const, 0, ""}, + {"RTM_DELLINK", Const, 0, ""}, + {"RTM_DELMADDR", Const, 0, ""}, + {"RTM_DELNEIGH", Const, 0, ""}, + {"RTM_DELQDISC", Const, 0, ""}, + {"RTM_DELROUTE", Const, 0, ""}, + {"RTM_DELRULE", Const, 0, ""}, + {"RTM_DELTCLASS", Const, 0, ""}, + {"RTM_DELTFILTER", Const, 0, ""}, + {"RTM_DESYNC", Const, 1, ""}, + {"RTM_F_CLONED", Const, 0, ""}, + {"RTM_F_EQUALIZE", Const, 0, ""}, + {"RTM_F_NOTIFY", Const, 0, ""}, + {"RTM_F_PREFIX", Const, 0, ""}, + {"RTM_GET", Const, 0, ""}, + {"RTM_GET2", Const, 0, ""}, + {"RTM_GETACTION", Const, 0, ""}, + {"RTM_GETADDR", Const, 0, ""}, + {"RTM_GETADDRLABEL", Const, 0, ""}, + {"RTM_GETANYCAST", Const, 0, ""}, + {"RTM_GETDCB", Const, 0, ""}, + {"RTM_GETLINK", Const, 0, ""}, + {"RTM_GETMULTICAST", Const, 0, ""}, + {"RTM_GETNEIGH", Const, 0, ""}, + {"RTM_GETNEIGHTBL", Const, 0, ""}, + {"RTM_GETQDISC", Const, 0, ""}, + {"RTM_GETROUTE", Const, 0, ""}, + {"RTM_GETRULE", Const, 0, ""}, + {"RTM_GETTCLASS", Const, 0, ""}, + {"RTM_GETTFILTER", Const, 0, ""}, + {"RTM_IEEE80211", Const, 0, ""}, + {"RTM_IFANNOUNCE", Const, 0, ""}, + {"RTM_IFINFO", Const, 0, ""}, + {"RTM_IFINFO2", Const, 0, ""}, + {"RTM_LLINFO_UPD", Const, 1, ""}, + {"RTM_LOCK", Const, 0, ""}, + {"RTM_LOSING", Const, 0, ""}, + {"RTM_MAX", Const, 0, ""}, + {"RTM_MAXSIZE", Const, 1, ""}, + {"RTM_MISS", Const, 0, ""}, + {"RTM_NEWACTION", Const, 0, ""}, + {"RTM_NEWADDR", Const, 0, ""}, + {"RTM_NEWADDRLABEL", Const, 0, ""}, + {"RTM_NEWLINK", Const, 0, ""}, + {"RTM_NEWMADDR", Const, 0, ""}, + {"RTM_NEWMADDR2", Const, 0, ""}, + {"RTM_NEWNDUSEROPT", Const, 0, ""}, + {"RTM_NEWNEIGH", Const, 0, ""}, + {"RTM_NEWNEIGHTBL", Const, 0, ""}, + {"RTM_NEWPREFIX", Const, 0, ""}, + {"RTM_NEWQDISC", Const, 0, ""}, + {"RTM_NEWROUTE", Const, 0, ""}, + {"RTM_NEWRULE", Const, 0, ""}, + {"RTM_NEWTCLASS", Const, 0, ""}, + {"RTM_NEWTFILTER", Const, 0, ""}, + {"RTM_NR_FAMILIES", Const, 0, ""}, + {"RTM_NR_MSGTYPES", Const, 0, ""}, + {"RTM_OIFINFO", Const, 1, ""}, + {"RTM_OLDADD", Const, 0, ""}, + {"RTM_OLDDEL", Const, 0, ""}, + {"RTM_OOIFINFO", Const, 1, ""}, + {"RTM_REDIRECT", Const, 0, ""}, + {"RTM_RESOLVE", Const, 0, ""}, + {"RTM_RTTUNIT", Const, 0, ""}, + {"RTM_SETDCB", Const, 0, ""}, + {"RTM_SETGATE", Const, 1, ""}, + {"RTM_SETLINK", Const, 0, ""}, + {"RTM_SETNEIGHTBL", Const, 0, ""}, + {"RTM_VERSION", Const, 0, ""}, + {"RTNH_ALIGNTO", Const, 0, ""}, + {"RTNH_F_DEAD", Const, 0, ""}, + {"RTNH_F_ONLINK", Const, 0, ""}, + {"RTNH_F_PERVASIVE", Const, 0, ""}, + {"RTNLGRP_IPV4_IFADDR", Const, 1, ""}, + {"RTNLGRP_IPV4_MROUTE", Const, 1, ""}, + {"RTNLGRP_IPV4_ROUTE", Const, 1, ""}, + {"RTNLGRP_IPV4_RULE", Const, 1, ""}, + {"RTNLGRP_IPV6_IFADDR", Const, 1, ""}, + {"RTNLGRP_IPV6_IFINFO", Const, 1, ""}, + {"RTNLGRP_IPV6_MROUTE", Const, 1, ""}, + {"RTNLGRP_IPV6_PREFIX", Const, 1, ""}, + {"RTNLGRP_IPV6_ROUTE", Const, 1, ""}, + {"RTNLGRP_IPV6_RULE", Const, 1, ""}, + {"RTNLGRP_LINK", Const, 1, ""}, + {"RTNLGRP_ND_USEROPT", Const, 1, ""}, + {"RTNLGRP_NEIGH", Const, 1, ""}, + {"RTNLGRP_NONE", Const, 1, ""}, + {"RTNLGRP_NOTIFY", Const, 1, ""}, + {"RTNLGRP_TC", Const, 1, ""}, + {"RTN_ANYCAST", Const, 0, ""}, + {"RTN_BLACKHOLE", Const, 0, ""}, + {"RTN_BROADCAST", Const, 0, ""}, + {"RTN_LOCAL", Const, 0, ""}, + {"RTN_MAX", Const, 0, ""}, + {"RTN_MULTICAST", Const, 0, ""}, + {"RTN_NAT", Const, 0, ""}, + {"RTN_PROHIBIT", Const, 0, ""}, + {"RTN_THROW", Const, 0, ""}, + {"RTN_UNICAST", Const, 0, ""}, + {"RTN_UNREACHABLE", Const, 0, ""}, + {"RTN_UNSPEC", Const, 0, ""}, + {"RTN_XRESOLVE", Const, 0, ""}, + {"RTPROT_BIRD", Const, 0, ""}, + {"RTPROT_BOOT", Const, 0, ""}, + {"RTPROT_DHCP", Const, 0, ""}, + {"RTPROT_DNROUTED", Const, 0, ""}, + {"RTPROT_GATED", Const, 0, ""}, + {"RTPROT_KERNEL", Const, 0, ""}, + {"RTPROT_MRT", Const, 0, ""}, + {"RTPROT_NTK", Const, 0, ""}, + {"RTPROT_RA", Const, 0, ""}, + {"RTPROT_REDIRECT", Const, 0, ""}, + {"RTPROT_STATIC", Const, 0, ""}, + {"RTPROT_UNSPEC", Const, 0, ""}, + {"RTPROT_XORP", Const, 0, ""}, + {"RTPROT_ZEBRA", Const, 0, ""}, + {"RTV_EXPIRE", Const, 0, ""}, + {"RTV_HOPCOUNT", Const, 0, ""}, + {"RTV_MTU", Const, 0, ""}, + {"RTV_RPIPE", Const, 0, ""}, + {"RTV_RTT", Const, 0, ""}, + {"RTV_RTTVAR", Const, 0, ""}, + {"RTV_SPIPE", Const, 0, ""}, + {"RTV_SSTHRESH", Const, 0, ""}, + {"RTV_WEIGHT", Const, 0, ""}, + {"RT_CACHING_CONTEXT", Const, 1, ""}, + {"RT_CLASS_DEFAULT", Const, 0, ""}, + {"RT_CLASS_LOCAL", Const, 0, ""}, + {"RT_CLASS_MAIN", Const, 0, ""}, + {"RT_CLASS_MAX", Const, 0, ""}, + {"RT_CLASS_UNSPEC", Const, 0, ""}, + {"RT_DEFAULT_FIB", Const, 1, ""}, + {"RT_NORTREF", Const, 1, ""}, + {"RT_SCOPE_HOST", Const, 0, ""}, + {"RT_SCOPE_LINK", Const, 0, ""}, + {"RT_SCOPE_NOWHERE", Const, 0, ""}, + {"RT_SCOPE_SITE", Const, 0, ""}, + {"RT_SCOPE_UNIVERSE", Const, 0, ""}, + {"RT_TABLEID_MAX", Const, 1, ""}, + {"RT_TABLE_COMPAT", Const, 0, ""}, + {"RT_TABLE_DEFAULT", Const, 0, ""}, + {"RT_TABLE_LOCAL", Const, 0, ""}, + {"RT_TABLE_MAIN", Const, 0, ""}, + {"RT_TABLE_MAX", Const, 0, ""}, + {"RT_TABLE_UNSPEC", Const, 0, ""}, + {"RUSAGE_CHILDREN", Const, 0, ""}, + {"RUSAGE_SELF", Const, 0, ""}, + {"RUSAGE_THREAD", Const, 0, ""}, + {"Radvisory_t", Type, 0, ""}, + {"Radvisory_t.Count", Field, 0, ""}, + {"Radvisory_t.Offset", Field, 0, ""}, + {"Radvisory_t.Pad_cgo_0", Field, 0, ""}, + {"RawConn", Type, 9, ""}, + {"RawSockaddr", Type, 0, ""}, + {"RawSockaddr.Data", Field, 0, ""}, + {"RawSockaddr.Family", Field, 0, ""}, + {"RawSockaddr.Len", Field, 0, ""}, + {"RawSockaddrAny", Type, 0, ""}, + {"RawSockaddrAny.Addr", Field, 0, ""}, + {"RawSockaddrAny.Pad", Field, 0, ""}, + {"RawSockaddrDatalink", Type, 0, ""}, + {"RawSockaddrDatalink.Alen", Field, 0, ""}, + {"RawSockaddrDatalink.Data", Field, 0, ""}, + {"RawSockaddrDatalink.Family", Field, 0, ""}, + {"RawSockaddrDatalink.Index", Field, 0, ""}, + {"RawSockaddrDatalink.Len", Field, 0, ""}, + {"RawSockaddrDatalink.Nlen", Field, 0, ""}, + {"RawSockaddrDatalink.Pad_cgo_0", Field, 2, ""}, + {"RawSockaddrDatalink.Slen", Field, 0, ""}, + {"RawSockaddrDatalink.Type", Field, 0, ""}, + {"RawSockaddrInet4", Type, 0, ""}, + {"RawSockaddrInet4.Addr", Field, 0, ""}, + {"RawSockaddrInet4.Family", Field, 0, ""}, + {"RawSockaddrInet4.Len", Field, 0, ""}, + {"RawSockaddrInet4.Port", Field, 0, ""}, + {"RawSockaddrInet4.Zero", Field, 0, ""}, + {"RawSockaddrInet6", Type, 0, ""}, + {"RawSockaddrInet6.Addr", Field, 0, ""}, + {"RawSockaddrInet6.Family", Field, 0, ""}, + {"RawSockaddrInet6.Flowinfo", Field, 0, ""}, + {"RawSockaddrInet6.Len", Field, 0, ""}, + {"RawSockaddrInet6.Port", Field, 0, ""}, + {"RawSockaddrInet6.Scope_id", Field, 0, ""}, + {"RawSockaddrLinklayer", Type, 0, ""}, + {"RawSockaddrLinklayer.Addr", Field, 0, ""}, + {"RawSockaddrLinklayer.Family", Field, 0, ""}, + {"RawSockaddrLinklayer.Halen", Field, 0, ""}, + {"RawSockaddrLinklayer.Hatype", Field, 0, ""}, + {"RawSockaddrLinklayer.Ifindex", Field, 0, ""}, + {"RawSockaddrLinklayer.Pkttype", Field, 0, ""}, + {"RawSockaddrLinklayer.Protocol", Field, 0, ""}, + {"RawSockaddrNetlink", Type, 0, ""}, + {"RawSockaddrNetlink.Family", Field, 0, ""}, + {"RawSockaddrNetlink.Groups", Field, 0, ""}, + {"RawSockaddrNetlink.Pad", Field, 0, ""}, + {"RawSockaddrNetlink.Pid", Field, 0, ""}, + {"RawSockaddrUnix", Type, 0, ""}, + {"RawSockaddrUnix.Family", Field, 0, ""}, + {"RawSockaddrUnix.Len", Field, 0, ""}, + {"RawSockaddrUnix.Pad_cgo_0", Field, 2, ""}, + {"RawSockaddrUnix.Path", Field, 0, ""}, + {"RawSyscall", Func, 0, "func(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr) (r1 uintptr, r2 uintptr, err Errno)"}, + {"RawSyscall6", Func, 0, "func(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr, a4 uintptr, a5 uintptr, a6 uintptr) (r1 uintptr, r2 uintptr, err Errno)"}, + {"Read", Func, 0, "func(fd int, p []byte) (n int, err error)"}, + {"ReadConsole", Func, 1, ""}, + {"ReadDirectoryChanges", Func, 0, ""}, + {"ReadDirent", Func, 0, "func(fd int, buf []byte) (n int, err error)"}, + {"ReadFile", Func, 0, ""}, + {"Readlink", Func, 0, "func(path string, buf []byte) (n int, err error)"}, + {"Reboot", Func, 0, "func(cmd int) (err error)"}, + {"Recvfrom", Func, 0, "func(fd int, p []byte, flags int) (n int, from Sockaddr, err error)"}, + {"Recvmsg", Func, 0, "func(fd int, p []byte, oob []byte, flags int) (n int, oobn int, recvflags int, from Sockaddr, err error)"}, + {"RegCloseKey", Func, 0, ""}, + {"RegEnumKeyEx", Func, 0, ""}, + {"RegOpenKeyEx", Func, 0, ""}, + {"RegQueryInfoKey", Func, 0, ""}, + {"RegQueryValueEx", Func, 0, ""}, + {"RemoveDirectory", Func, 0, ""}, + {"Removexattr", Func, 1, "func(path string, attr string) (err error)"}, + {"Rename", Func, 0, "func(oldpath string, newpath string) (err error)"}, + {"Renameat", Func, 0, "func(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)"}, + {"Revoke", Func, 0, ""}, + {"Rlimit", Type, 0, ""}, + {"Rlimit.Cur", Field, 0, ""}, + {"Rlimit.Max", Field, 0, ""}, + {"Rmdir", Func, 0, "func(path string) error"}, + {"RouteMessage", Type, 0, ""}, + {"RouteMessage.Data", Field, 0, ""}, + {"RouteMessage.Header", Field, 0, ""}, + {"RouteRIB", Func, 0, ""}, + {"RoutingMessage", Type, 0, ""}, + {"RtAttr", Type, 0, ""}, + {"RtAttr.Len", Field, 0, ""}, + {"RtAttr.Type", Field, 0, ""}, + {"RtGenmsg", Type, 0, ""}, + {"RtGenmsg.Family", Field, 0, ""}, + {"RtMetrics", Type, 0, ""}, + {"RtMetrics.Expire", Field, 0, ""}, + {"RtMetrics.Filler", Field, 0, ""}, + {"RtMetrics.Hopcount", Field, 0, ""}, + {"RtMetrics.Locks", Field, 0, ""}, + {"RtMetrics.Mtu", Field, 0, ""}, + {"RtMetrics.Pad", Field, 3, ""}, + {"RtMetrics.Pksent", Field, 0, ""}, + {"RtMetrics.Recvpipe", Field, 0, ""}, + {"RtMetrics.Refcnt", Field, 2, ""}, + {"RtMetrics.Rtt", Field, 0, ""}, + {"RtMetrics.Rttvar", Field, 0, ""}, + {"RtMetrics.Sendpipe", Field, 0, ""}, + {"RtMetrics.Ssthresh", Field, 0, ""}, + {"RtMetrics.Weight", Field, 0, ""}, + {"RtMsg", Type, 0, ""}, + {"RtMsg.Dst_len", Field, 0, ""}, + {"RtMsg.Family", Field, 0, ""}, + {"RtMsg.Flags", Field, 0, ""}, + {"RtMsg.Protocol", Field, 0, ""}, + {"RtMsg.Scope", Field, 0, ""}, + {"RtMsg.Src_len", Field, 0, ""}, + {"RtMsg.Table", Field, 0, ""}, + {"RtMsg.Tos", Field, 0, ""}, + {"RtMsg.Type", Field, 0, ""}, + {"RtMsghdr", Type, 0, ""}, + {"RtMsghdr.Addrs", Field, 0, ""}, + {"RtMsghdr.Errno", Field, 0, ""}, + {"RtMsghdr.Flags", Field, 0, ""}, + {"RtMsghdr.Fmask", Field, 0, ""}, + {"RtMsghdr.Hdrlen", Field, 2, ""}, + {"RtMsghdr.Index", Field, 0, ""}, + {"RtMsghdr.Inits", Field, 0, ""}, + {"RtMsghdr.Mpls", Field, 2, ""}, + {"RtMsghdr.Msglen", Field, 0, ""}, + {"RtMsghdr.Pad_cgo_0", Field, 0, ""}, + {"RtMsghdr.Pad_cgo_1", Field, 2, ""}, + {"RtMsghdr.Pid", Field, 0, ""}, + {"RtMsghdr.Priority", Field, 2, ""}, + {"RtMsghdr.Rmx", Field, 0, ""}, + {"RtMsghdr.Seq", Field, 0, ""}, + {"RtMsghdr.Tableid", Field, 2, ""}, + {"RtMsghdr.Type", Field, 0, ""}, + {"RtMsghdr.Use", Field, 0, ""}, + {"RtMsghdr.Version", Field, 0, ""}, + {"RtNexthop", Type, 0, ""}, + {"RtNexthop.Flags", Field, 0, ""}, + {"RtNexthop.Hops", Field, 0, ""}, + {"RtNexthop.Ifindex", Field, 0, ""}, + {"RtNexthop.Len", Field, 0, ""}, + {"Rusage", Type, 0, ""}, + {"Rusage.CreationTime", Field, 0, ""}, + {"Rusage.ExitTime", Field, 0, ""}, + {"Rusage.Idrss", Field, 0, ""}, + {"Rusage.Inblock", Field, 0, ""}, + {"Rusage.Isrss", Field, 0, ""}, + {"Rusage.Ixrss", Field, 0, ""}, + {"Rusage.KernelTime", Field, 0, ""}, + {"Rusage.Majflt", Field, 0, ""}, + {"Rusage.Maxrss", Field, 0, ""}, + {"Rusage.Minflt", Field, 0, ""}, + {"Rusage.Msgrcv", Field, 0, ""}, + {"Rusage.Msgsnd", Field, 0, ""}, + {"Rusage.Nivcsw", Field, 0, ""}, + {"Rusage.Nsignals", Field, 0, ""}, + {"Rusage.Nswap", Field, 0, ""}, + {"Rusage.Nvcsw", Field, 0, ""}, + {"Rusage.Oublock", Field, 0, ""}, + {"Rusage.Stime", Field, 0, ""}, + {"Rusage.UserTime", Field, 0, ""}, + {"Rusage.Utime", Field, 0, ""}, + {"SCM_BINTIME", Const, 0, ""}, + {"SCM_CREDENTIALS", Const, 0, ""}, + {"SCM_CREDS", Const, 0, ""}, + {"SCM_RIGHTS", Const, 0, ""}, + {"SCM_TIMESTAMP", Const, 0, ""}, + {"SCM_TIMESTAMPING", Const, 0, ""}, + {"SCM_TIMESTAMPNS", Const, 0, ""}, + {"SCM_TIMESTAMP_MONOTONIC", Const, 0, ""}, + {"SHUT_RD", Const, 0, ""}, + {"SHUT_RDWR", Const, 0, ""}, + {"SHUT_WR", Const, 0, ""}, + {"SID", Type, 0, ""}, + {"SIDAndAttributes", Type, 0, ""}, + {"SIDAndAttributes.Attributes", Field, 0, ""}, + {"SIDAndAttributes.Sid", Field, 0, ""}, + {"SIGABRT", Const, 0, ""}, + {"SIGALRM", Const, 0, ""}, + {"SIGBUS", Const, 0, ""}, + {"SIGCHLD", Const, 0, ""}, + {"SIGCLD", Const, 0, ""}, + {"SIGCONT", Const, 0, ""}, + {"SIGEMT", Const, 0, ""}, + {"SIGFPE", Const, 0, ""}, + {"SIGHUP", Const, 0, ""}, + {"SIGILL", Const, 0, ""}, + {"SIGINFO", Const, 0, ""}, + {"SIGINT", Const, 0, ""}, + {"SIGIO", Const, 0, ""}, + {"SIGIOT", Const, 0, ""}, + {"SIGKILL", Const, 0, ""}, + {"SIGLIBRT", Const, 1, ""}, + {"SIGLWP", Const, 0, ""}, + {"SIGPIPE", Const, 0, ""}, + {"SIGPOLL", Const, 0, ""}, + {"SIGPROF", Const, 0, ""}, + {"SIGPWR", Const, 0, ""}, + {"SIGQUIT", Const, 0, ""}, + {"SIGSEGV", Const, 0, ""}, + {"SIGSTKFLT", Const, 0, ""}, + {"SIGSTOP", Const, 0, ""}, + {"SIGSYS", Const, 0, ""}, + {"SIGTERM", Const, 0, ""}, + {"SIGTHR", Const, 0, ""}, + {"SIGTRAP", Const, 0, ""}, + {"SIGTSTP", Const, 0, ""}, + {"SIGTTIN", Const, 0, ""}, + {"SIGTTOU", Const, 0, ""}, + {"SIGUNUSED", Const, 0, ""}, + {"SIGURG", Const, 0, ""}, + {"SIGUSR1", Const, 0, ""}, + {"SIGUSR2", Const, 0, ""}, + {"SIGVTALRM", Const, 0, ""}, + {"SIGWINCH", Const, 0, ""}, + {"SIGXCPU", Const, 0, ""}, + {"SIGXFSZ", Const, 0, ""}, + {"SIOCADDDLCI", Const, 0, ""}, + {"SIOCADDMULTI", Const, 0, ""}, + {"SIOCADDRT", Const, 0, ""}, + {"SIOCAIFADDR", Const, 0, ""}, + {"SIOCAIFGROUP", Const, 0, ""}, + {"SIOCALIFADDR", Const, 0, ""}, + {"SIOCARPIPLL", Const, 0, ""}, + {"SIOCATMARK", Const, 0, ""}, + {"SIOCAUTOADDR", Const, 0, ""}, + {"SIOCAUTONETMASK", Const, 0, ""}, + {"SIOCBRDGADD", Const, 1, ""}, + {"SIOCBRDGADDS", Const, 1, ""}, + {"SIOCBRDGARL", Const, 1, ""}, + {"SIOCBRDGDADDR", Const, 1, ""}, + {"SIOCBRDGDEL", Const, 1, ""}, + {"SIOCBRDGDELS", Const, 1, ""}, + {"SIOCBRDGFLUSH", Const, 1, ""}, + {"SIOCBRDGFRL", Const, 1, ""}, + {"SIOCBRDGGCACHE", Const, 1, ""}, + {"SIOCBRDGGFD", Const, 1, ""}, + {"SIOCBRDGGHT", Const, 1, ""}, + {"SIOCBRDGGIFFLGS", Const, 1, ""}, + {"SIOCBRDGGMA", Const, 1, ""}, + {"SIOCBRDGGPARAM", Const, 1, ""}, + {"SIOCBRDGGPRI", Const, 1, ""}, + {"SIOCBRDGGRL", Const, 1, ""}, + {"SIOCBRDGGSIFS", Const, 1, ""}, + {"SIOCBRDGGTO", Const, 1, ""}, + {"SIOCBRDGIFS", Const, 1, ""}, + {"SIOCBRDGRTS", Const, 1, ""}, + {"SIOCBRDGSADDR", Const, 1, ""}, + {"SIOCBRDGSCACHE", Const, 1, ""}, + {"SIOCBRDGSFD", Const, 1, ""}, + {"SIOCBRDGSHT", Const, 1, ""}, + {"SIOCBRDGSIFCOST", Const, 1, ""}, + {"SIOCBRDGSIFFLGS", Const, 1, ""}, + {"SIOCBRDGSIFPRIO", Const, 1, ""}, + {"SIOCBRDGSMA", Const, 1, ""}, + {"SIOCBRDGSPRI", Const, 1, ""}, + {"SIOCBRDGSPROTO", Const, 1, ""}, + {"SIOCBRDGSTO", Const, 1, ""}, + {"SIOCBRDGSTXHC", Const, 1, ""}, + {"SIOCDARP", Const, 0, ""}, + {"SIOCDELDLCI", Const, 0, ""}, + {"SIOCDELMULTI", Const, 0, ""}, + {"SIOCDELRT", Const, 0, ""}, + {"SIOCDEVPRIVATE", Const, 0, ""}, + {"SIOCDIFADDR", Const, 0, ""}, + {"SIOCDIFGROUP", Const, 0, ""}, + {"SIOCDIFPHYADDR", Const, 0, ""}, + {"SIOCDLIFADDR", Const, 0, ""}, + {"SIOCDRARP", Const, 0, ""}, + {"SIOCGARP", Const, 0, ""}, + {"SIOCGDRVSPEC", Const, 0, ""}, + {"SIOCGETKALIVE", Const, 1, ""}, + {"SIOCGETLABEL", Const, 1, ""}, + {"SIOCGETPFLOW", Const, 1, ""}, + {"SIOCGETPFSYNC", Const, 1, ""}, + {"SIOCGETSGCNT", Const, 0, ""}, + {"SIOCGETVIFCNT", Const, 0, ""}, + {"SIOCGETVLAN", Const, 0, ""}, + {"SIOCGHIWAT", Const, 0, ""}, + {"SIOCGIFADDR", Const, 0, ""}, + {"SIOCGIFADDRPREF", Const, 1, ""}, + {"SIOCGIFALIAS", Const, 1, ""}, + {"SIOCGIFALTMTU", Const, 0, ""}, + {"SIOCGIFASYNCMAP", Const, 0, ""}, + {"SIOCGIFBOND", Const, 0, ""}, + {"SIOCGIFBR", Const, 0, ""}, + {"SIOCGIFBRDADDR", Const, 0, ""}, + {"SIOCGIFCAP", Const, 0, ""}, + {"SIOCGIFCONF", Const, 0, ""}, + {"SIOCGIFCOUNT", Const, 0, ""}, + {"SIOCGIFDATA", Const, 1, ""}, + {"SIOCGIFDESCR", Const, 0, ""}, + {"SIOCGIFDEVMTU", Const, 0, ""}, + {"SIOCGIFDLT", Const, 1, ""}, + {"SIOCGIFDSTADDR", Const, 0, ""}, + {"SIOCGIFENCAP", Const, 0, ""}, + {"SIOCGIFFIB", Const, 1, ""}, + {"SIOCGIFFLAGS", Const, 0, ""}, + {"SIOCGIFGATTR", Const, 1, ""}, + {"SIOCGIFGENERIC", Const, 0, ""}, + {"SIOCGIFGMEMB", Const, 0, ""}, + {"SIOCGIFGROUP", Const, 0, ""}, + {"SIOCGIFHARDMTU", Const, 3, ""}, + {"SIOCGIFHWADDR", Const, 0, ""}, + {"SIOCGIFINDEX", Const, 0, ""}, + {"SIOCGIFKPI", Const, 0, ""}, + {"SIOCGIFMAC", Const, 0, ""}, + {"SIOCGIFMAP", Const, 0, ""}, + {"SIOCGIFMEDIA", Const, 0, ""}, + {"SIOCGIFMEM", Const, 0, ""}, + {"SIOCGIFMETRIC", Const, 0, ""}, + {"SIOCGIFMTU", Const, 0, ""}, + {"SIOCGIFNAME", Const, 0, ""}, + {"SIOCGIFNETMASK", Const, 0, ""}, + {"SIOCGIFPDSTADDR", Const, 0, ""}, + {"SIOCGIFPFLAGS", Const, 0, ""}, + {"SIOCGIFPHYS", Const, 0, ""}, + {"SIOCGIFPRIORITY", Const, 1, ""}, + {"SIOCGIFPSRCADDR", Const, 0, ""}, + {"SIOCGIFRDOMAIN", Const, 1, ""}, + {"SIOCGIFRTLABEL", Const, 1, ""}, + {"SIOCGIFSLAVE", Const, 0, ""}, + {"SIOCGIFSTATUS", Const, 0, ""}, + {"SIOCGIFTIMESLOT", Const, 1, ""}, + {"SIOCGIFTXQLEN", Const, 0, ""}, + {"SIOCGIFVLAN", Const, 0, ""}, + {"SIOCGIFWAKEFLAGS", Const, 0, ""}, + {"SIOCGIFXFLAGS", Const, 1, ""}, + {"SIOCGLIFADDR", Const, 0, ""}, + {"SIOCGLIFPHYADDR", Const, 0, ""}, + {"SIOCGLIFPHYRTABLE", Const, 1, ""}, + {"SIOCGLIFPHYTTL", Const, 3, ""}, + {"SIOCGLINKSTR", Const, 1, ""}, + {"SIOCGLOWAT", Const, 0, ""}, + {"SIOCGPGRP", Const, 0, ""}, + {"SIOCGPRIVATE_0", Const, 0, ""}, + {"SIOCGPRIVATE_1", Const, 0, ""}, + {"SIOCGRARP", Const, 0, ""}, + {"SIOCGSPPPPARAMS", Const, 3, ""}, + {"SIOCGSTAMP", Const, 0, ""}, + {"SIOCGSTAMPNS", Const, 0, ""}, + {"SIOCGVH", Const, 1, ""}, + {"SIOCGVNETID", Const, 3, ""}, + {"SIOCIFCREATE", Const, 0, ""}, + {"SIOCIFCREATE2", Const, 0, ""}, + {"SIOCIFDESTROY", Const, 0, ""}, + {"SIOCIFGCLONERS", Const, 0, ""}, + {"SIOCINITIFADDR", Const, 1, ""}, + {"SIOCPROTOPRIVATE", Const, 0, ""}, + {"SIOCRSLVMULTI", Const, 0, ""}, + {"SIOCRTMSG", Const, 0, ""}, + {"SIOCSARP", Const, 0, ""}, + {"SIOCSDRVSPEC", Const, 0, ""}, + {"SIOCSETKALIVE", Const, 1, ""}, + {"SIOCSETLABEL", Const, 1, ""}, + {"SIOCSETPFLOW", Const, 1, ""}, + {"SIOCSETPFSYNC", Const, 1, ""}, + {"SIOCSETVLAN", Const, 0, ""}, + {"SIOCSHIWAT", Const, 0, ""}, + {"SIOCSIFADDR", Const, 0, ""}, + {"SIOCSIFADDRPREF", Const, 1, ""}, + {"SIOCSIFALTMTU", Const, 0, ""}, + {"SIOCSIFASYNCMAP", Const, 0, ""}, + {"SIOCSIFBOND", Const, 0, ""}, + {"SIOCSIFBR", Const, 0, ""}, + {"SIOCSIFBRDADDR", Const, 0, ""}, + {"SIOCSIFCAP", Const, 0, ""}, + {"SIOCSIFDESCR", Const, 0, ""}, + {"SIOCSIFDSTADDR", Const, 0, ""}, + {"SIOCSIFENCAP", Const, 0, ""}, + {"SIOCSIFFIB", Const, 1, ""}, + {"SIOCSIFFLAGS", Const, 0, ""}, + {"SIOCSIFGATTR", Const, 1, ""}, + {"SIOCSIFGENERIC", Const, 0, ""}, + {"SIOCSIFHWADDR", Const, 0, ""}, + {"SIOCSIFHWBROADCAST", Const, 0, ""}, + {"SIOCSIFKPI", Const, 0, ""}, + {"SIOCSIFLINK", Const, 0, ""}, + {"SIOCSIFLLADDR", Const, 0, ""}, + {"SIOCSIFMAC", Const, 0, ""}, + {"SIOCSIFMAP", Const, 0, ""}, + {"SIOCSIFMEDIA", Const, 0, ""}, + {"SIOCSIFMEM", Const, 0, ""}, + {"SIOCSIFMETRIC", Const, 0, ""}, + {"SIOCSIFMTU", Const, 0, ""}, + {"SIOCSIFNAME", Const, 0, ""}, + {"SIOCSIFNETMASK", Const, 0, ""}, + {"SIOCSIFPFLAGS", Const, 0, ""}, + {"SIOCSIFPHYADDR", Const, 0, ""}, + {"SIOCSIFPHYS", Const, 0, ""}, + {"SIOCSIFPRIORITY", Const, 1, ""}, + {"SIOCSIFRDOMAIN", Const, 1, ""}, + {"SIOCSIFRTLABEL", Const, 1, ""}, + {"SIOCSIFRVNET", Const, 0, ""}, + {"SIOCSIFSLAVE", Const, 0, ""}, + {"SIOCSIFTIMESLOT", Const, 1, ""}, + {"SIOCSIFTXQLEN", Const, 0, ""}, + {"SIOCSIFVLAN", Const, 0, ""}, + {"SIOCSIFVNET", Const, 0, ""}, + {"SIOCSIFXFLAGS", Const, 1, ""}, + {"SIOCSLIFPHYADDR", Const, 0, ""}, + {"SIOCSLIFPHYRTABLE", Const, 1, ""}, + {"SIOCSLIFPHYTTL", Const, 3, ""}, + {"SIOCSLINKSTR", Const, 1, ""}, + {"SIOCSLOWAT", Const, 0, ""}, + {"SIOCSPGRP", Const, 0, ""}, + {"SIOCSRARP", Const, 0, ""}, + {"SIOCSSPPPPARAMS", Const, 3, ""}, + {"SIOCSVH", Const, 1, ""}, + {"SIOCSVNETID", Const, 3, ""}, + {"SIOCZIFDATA", Const, 1, ""}, + {"SIO_GET_EXTENSION_FUNCTION_POINTER", Const, 1, ""}, + {"SIO_GET_INTERFACE_LIST", Const, 0, ""}, + {"SIO_KEEPALIVE_VALS", Const, 3, ""}, + {"SIO_UDP_CONNRESET", Const, 4, ""}, + {"SOCK_CLOEXEC", Const, 0, ""}, + {"SOCK_DCCP", Const, 0, ""}, + {"SOCK_DGRAM", Const, 0, ""}, + {"SOCK_FLAGS_MASK", Const, 1, ""}, + {"SOCK_MAXADDRLEN", Const, 0, ""}, + {"SOCK_NONBLOCK", Const, 0, ""}, + {"SOCK_NOSIGPIPE", Const, 1, ""}, + {"SOCK_PACKET", Const, 0, ""}, + {"SOCK_RAW", Const, 0, ""}, + {"SOCK_RDM", Const, 0, ""}, + {"SOCK_SEQPACKET", Const, 0, ""}, + {"SOCK_STREAM", Const, 0, ""}, + {"SOL_AAL", Const, 0, ""}, + {"SOL_ATM", Const, 0, ""}, + {"SOL_DECNET", Const, 0, ""}, + {"SOL_ICMPV6", Const, 0, ""}, + {"SOL_IP", Const, 0, ""}, + {"SOL_IPV6", Const, 0, ""}, + {"SOL_IRDA", Const, 0, ""}, + {"SOL_PACKET", Const, 0, ""}, + {"SOL_RAW", Const, 0, ""}, + {"SOL_SOCKET", Const, 0, ""}, + {"SOL_TCP", Const, 0, ""}, + {"SOL_X25", Const, 0, ""}, + {"SOMAXCONN", Const, 0, ""}, + {"SO_ACCEPTCONN", Const, 0, ""}, + {"SO_ACCEPTFILTER", Const, 0, ""}, + {"SO_ATTACH_FILTER", Const, 0, ""}, + {"SO_BINDANY", Const, 1, ""}, + {"SO_BINDTODEVICE", Const, 0, ""}, + {"SO_BINTIME", Const, 0, ""}, + {"SO_BROADCAST", Const, 0, ""}, + {"SO_BSDCOMPAT", Const, 0, ""}, + {"SO_DEBUG", Const, 0, ""}, + {"SO_DETACH_FILTER", Const, 0, ""}, + {"SO_DOMAIN", Const, 0, ""}, + {"SO_DONTROUTE", Const, 0, ""}, + {"SO_DONTTRUNC", Const, 0, ""}, + {"SO_ERROR", Const, 0, ""}, + {"SO_KEEPALIVE", Const, 0, ""}, + {"SO_LABEL", Const, 0, ""}, + {"SO_LINGER", Const, 0, ""}, + {"SO_LINGER_SEC", Const, 0, ""}, + {"SO_LISTENINCQLEN", Const, 0, ""}, + {"SO_LISTENQLEN", Const, 0, ""}, + {"SO_LISTENQLIMIT", Const, 0, ""}, + {"SO_MARK", Const, 0, ""}, + {"SO_NETPROC", Const, 1, ""}, + {"SO_NKE", Const, 0, ""}, + {"SO_NOADDRERR", Const, 0, ""}, + {"SO_NOHEADER", Const, 1, ""}, + {"SO_NOSIGPIPE", Const, 0, ""}, + {"SO_NOTIFYCONFLICT", Const, 0, ""}, + {"SO_NO_CHECK", Const, 0, ""}, + {"SO_NO_DDP", Const, 0, ""}, + {"SO_NO_OFFLOAD", Const, 0, ""}, + {"SO_NP_EXTENSIONS", Const, 0, ""}, + {"SO_NREAD", Const, 0, ""}, + {"SO_NUMRCVPKT", Const, 16, ""}, + {"SO_NWRITE", Const, 0, ""}, + {"SO_OOBINLINE", Const, 0, ""}, + {"SO_OVERFLOWED", Const, 1, ""}, + {"SO_PASSCRED", Const, 0, ""}, + {"SO_PASSSEC", Const, 0, ""}, + {"SO_PEERCRED", Const, 0, ""}, + {"SO_PEERLABEL", Const, 0, ""}, + {"SO_PEERNAME", Const, 0, ""}, + {"SO_PEERSEC", Const, 0, ""}, + {"SO_PRIORITY", Const, 0, ""}, + {"SO_PROTOCOL", Const, 0, ""}, + {"SO_PROTOTYPE", Const, 1, ""}, + {"SO_RANDOMPORT", Const, 0, ""}, + {"SO_RCVBUF", Const, 0, ""}, + {"SO_RCVBUFFORCE", Const, 0, ""}, + {"SO_RCVLOWAT", Const, 0, ""}, + {"SO_RCVTIMEO", Const, 0, ""}, + {"SO_RESTRICTIONS", Const, 0, ""}, + {"SO_RESTRICT_DENYIN", Const, 0, ""}, + {"SO_RESTRICT_DENYOUT", Const, 0, ""}, + {"SO_RESTRICT_DENYSET", Const, 0, ""}, + {"SO_REUSEADDR", Const, 0, ""}, + {"SO_REUSEPORT", Const, 0, ""}, + {"SO_REUSESHAREUID", Const, 0, ""}, + {"SO_RTABLE", Const, 1, ""}, + {"SO_RXQ_OVFL", Const, 0, ""}, + {"SO_SECURITY_AUTHENTICATION", Const, 0, ""}, + {"SO_SECURITY_ENCRYPTION_NETWORK", Const, 0, ""}, + {"SO_SECURITY_ENCRYPTION_TRANSPORT", Const, 0, ""}, + {"SO_SETFIB", Const, 0, ""}, + {"SO_SNDBUF", Const, 0, ""}, + {"SO_SNDBUFFORCE", Const, 0, ""}, + {"SO_SNDLOWAT", Const, 0, ""}, + {"SO_SNDTIMEO", Const, 0, ""}, + {"SO_SPLICE", Const, 1, ""}, + {"SO_TIMESTAMP", Const, 0, ""}, + {"SO_TIMESTAMPING", Const, 0, ""}, + {"SO_TIMESTAMPNS", Const, 0, ""}, + {"SO_TIMESTAMP_MONOTONIC", Const, 0, ""}, + {"SO_TYPE", Const, 0, ""}, + {"SO_UPCALLCLOSEWAIT", Const, 0, ""}, + {"SO_UPDATE_ACCEPT_CONTEXT", Const, 0, ""}, + {"SO_UPDATE_CONNECT_CONTEXT", Const, 1, ""}, + {"SO_USELOOPBACK", Const, 0, ""}, + {"SO_USER_COOKIE", Const, 1, ""}, + {"SO_VENDOR", Const, 3, ""}, + {"SO_WANTMORE", Const, 0, ""}, + {"SO_WANTOOBFLAG", Const, 0, ""}, + {"SSLExtraCertChainPolicyPara", Type, 0, ""}, + {"SSLExtraCertChainPolicyPara.AuthType", Field, 0, ""}, + {"SSLExtraCertChainPolicyPara.Checks", Field, 0, ""}, + {"SSLExtraCertChainPolicyPara.ServerName", Field, 0, ""}, + {"SSLExtraCertChainPolicyPara.Size", Field, 0, ""}, + {"STANDARD_RIGHTS_ALL", Const, 0, ""}, + {"STANDARD_RIGHTS_EXECUTE", Const, 0, ""}, + {"STANDARD_RIGHTS_READ", Const, 0, ""}, + {"STANDARD_RIGHTS_REQUIRED", Const, 0, ""}, + {"STANDARD_RIGHTS_WRITE", Const, 0, ""}, + {"STARTF_USESHOWWINDOW", Const, 0, ""}, + {"STARTF_USESTDHANDLES", Const, 0, ""}, + {"STD_ERROR_HANDLE", Const, 0, ""}, + {"STD_INPUT_HANDLE", Const, 0, ""}, + {"STD_OUTPUT_HANDLE", Const, 0, ""}, + {"SUBLANG_ENGLISH_US", Const, 0, ""}, + {"SW_FORCEMINIMIZE", Const, 0, ""}, + {"SW_HIDE", Const, 0, ""}, + {"SW_MAXIMIZE", Const, 0, ""}, + {"SW_MINIMIZE", Const, 0, ""}, + {"SW_NORMAL", Const, 0, ""}, + {"SW_RESTORE", Const, 0, ""}, + {"SW_SHOW", Const, 0, ""}, + {"SW_SHOWDEFAULT", Const, 0, ""}, + {"SW_SHOWMAXIMIZED", Const, 0, ""}, + {"SW_SHOWMINIMIZED", Const, 0, ""}, + {"SW_SHOWMINNOACTIVE", Const, 0, ""}, + {"SW_SHOWNA", Const, 0, ""}, + {"SW_SHOWNOACTIVATE", Const, 0, ""}, + {"SW_SHOWNORMAL", Const, 0, ""}, + {"SYMBOLIC_LINK_FLAG_DIRECTORY", Const, 4, ""}, + {"SYNCHRONIZE", Const, 0, ""}, + {"SYSCTL_VERSION", Const, 1, ""}, + {"SYSCTL_VERS_0", Const, 1, ""}, + {"SYSCTL_VERS_1", Const, 1, ""}, + {"SYSCTL_VERS_MASK", Const, 1, ""}, + {"SYS_ABORT2", Const, 0, ""}, + {"SYS_ACCEPT", Const, 0, ""}, + {"SYS_ACCEPT4", Const, 0, ""}, + {"SYS_ACCEPT_NOCANCEL", Const, 0, ""}, + {"SYS_ACCESS", Const, 0, ""}, + {"SYS_ACCESS_EXTENDED", Const, 0, ""}, + {"SYS_ACCT", Const, 0, ""}, + {"SYS_ADD_KEY", Const, 0, ""}, + {"SYS_ADD_PROFIL", Const, 0, ""}, + {"SYS_ADJFREQ", Const, 1, ""}, + {"SYS_ADJTIME", Const, 0, ""}, + {"SYS_ADJTIMEX", Const, 0, ""}, + {"SYS_AFS_SYSCALL", Const, 0, ""}, + {"SYS_AIO_CANCEL", Const, 0, ""}, + {"SYS_AIO_ERROR", Const, 0, ""}, + {"SYS_AIO_FSYNC", Const, 0, ""}, + {"SYS_AIO_MLOCK", Const, 14, ""}, + {"SYS_AIO_READ", Const, 0, ""}, + {"SYS_AIO_RETURN", Const, 0, ""}, + {"SYS_AIO_SUSPEND", Const, 0, ""}, + {"SYS_AIO_SUSPEND_NOCANCEL", Const, 0, ""}, + {"SYS_AIO_WAITCOMPLETE", Const, 14, ""}, + {"SYS_AIO_WRITE", Const, 0, ""}, + {"SYS_ALARM", Const, 0, ""}, + {"SYS_ARCH_PRCTL", Const, 0, ""}, + {"SYS_ARM_FADVISE64_64", Const, 0, ""}, + {"SYS_ARM_SYNC_FILE_RANGE", Const, 0, ""}, + {"SYS_ATGETMSG", Const, 0, ""}, + {"SYS_ATPGETREQ", Const, 0, ""}, + {"SYS_ATPGETRSP", Const, 0, ""}, + {"SYS_ATPSNDREQ", Const, 0, ""}, + {"SYS_ATPSNDRSP", Const, 0, ""}, + {"SYS_ATPUTMSG", Const, 0, ""}, + {"SYS_ATSOCKET", Const, 0, ""}, + {"SYS_AUDIT", Const, 0, ""}, + {"SYS_AUDITCTL", Const, 0, ""}, + {"SYS_AUDITON", Const, 0, ""}, + {"SYS_AUDIT_SESSION_JOIN", Const, 0, ""}, + {"SYS_AUDIT_SESSION_PORT", Const, 0, ""}, + {"SYS_AUDIT_SESSION_SELF", Const, 0, ""}, + {"SYS_BDFLUSH", Const, 0, ""}, + {"SYS_BIND", Const, 0, ""}, + {"SYS_BINDAT", Const, 3, ""}, + {"SYS_BREAK", Const, 0, ""}, + {"SYS_BRK", Const, 0, ""}, + {"SYS_BSDTHREAD_CREATE", Const, 0, ""}, + {"SYS_BSDTHREAD_REGISTER", Const, 0, ""}, + {"SYS_BSDTHREAD_TERMINATE", Const, 0, ""}, + {"SYS_CAPGET", Const, 0, ""}, + {"SYS_CAPSET", Const, 0, ""}, + {"SYS_CAP_ENTER", Const, 0, ""}, + {"SYS_CAP_FCNTLS_GET", Const, 1, ""}, + {"SYS_CAP_FCNTLS_LIMIT", Const, 1, ""}, + {"SYS_CAP_GETMODE", Const, 0, ""}, + {"SYS_CAP_GETRIGHTS", Const, 0, ""}, + {"SYS_CAP_IOCTLS_GET", Const, 1, ""}, + {"SYS_CAP_IOCTLS_LIMIT", Const, 1, ""}, + {"SYS_CAP_NEW", Const, 0, ""}, + {"SYS_CAP_RIGHTS_GET", Const, 1, ""}, + {"SYS_CAP_RIGHTS_LIMIT", Const, 1, ""}, + {"SYS_CHDIR", Const, 0, ""}, + {"SYS_CHFLAGS", Const, 0, ""}, + {"SYS_CHFLAGSAT", Const, 3, ""}, + {"SYS_CHMOD", Const, 0, ""}, + {"SYS_CHMOD_EXTENDED", Const, 0, ""}, + {"SYS_CHOWN", Const, 0, ""}, + {"SYS_CHOWN32", Const, 0, ""}, + {"SYS_CHROOT", Const, 0, ""}, + {"SYS_CHUD", Const, 0, ""}, + {"SYS_CLOCK_ADJTIME", Const, 0, ""}, + {"SYS_CLOCK_GETCPUCLOCKID2", Const, 1, ""}, + {"SYS_CLOCK_GETRES", Const, 0, ""}, + {"SYS_CLOCK_GETTIME", Const, 0, ""}, + {"SYS_CLOCK_NANOSLEEP", Const, 0, ""}, + {"SYS_CLOCK_SETTIME", Const, 0, ""}, + {"SYS_CLONE", Const, 0, ""}, + {"SYS_CLOSE", Const, 0, ""}, + {"SYS_CLOSEFROM", Const, 0, ""}, + {"SYS_CLOSE_NOCANCEL", Const, 0, ""}, + {"SYS_CONNECT", Const, 0, ""}, + {"SYS_CONNECTAT", Const, 3, ""}, + {"SYS_CONNECT_NOCANCEL", Const, 0, ""}, + {"SYS_COPYFILE", Const, 0, ""}, + {"SYS_CPUSET", Const, 0, ""}, + {"SYS_CPUSET_GETAFFINITY", Const, 0, ""}, + {"SYS_CPUSET_GETID", Const, 0, ""}, + {"SYS_CPUSET_SETAFFINITY", Const, 0, ""}, + {"SYS_CPUSET_SETID", Const, 0, ""}, + {"SYS_CREAT", Const, 0, ""}, + {"SYS_CREATE_MODULE", Const, 0, ""}, + {"SYS_CSOPS", Const, 0, ""}, + {"SYS_CSOPS_AUDITTOKEN", Const, 16, ""}, + {"SYS_DELETE", Const, 0, ""}, + {"SYS_DELETE_MODULE", Const, 0, ""}, + {"SYS_DUP", Const, 0, ""}, + {"SYS_DUP2", Const, 0, ""}, + {"SYS_DUP3", Const, 0, ""}, + {"SYS_EACCESS", Const, 0, ""}, + {"SYS_EPOLL_CREATE", Const, 0, ""}, + {"SYS_EPOLL_CREATE1", Const, 0, ""}, + {"SYS_EPOLL_CTL", Const, 0, ""}, + {"SYS_EPOLL_CTL_OLD", Const, 0, ""}, + {"SYS_EPOLL_PWAIT", Const, 0, ""}, + {"SYS_EPOLL_WAIT", Const, 0, ""}, + {"SYS_EPOLL_WAIT_OLD", Const, 0, ""}, + {"SYS_EVENTFD", Const, 0, ""}, + {"SYS_EVENTFD2", Const, 0, ""}, + {"SYS_EXCHANGEDATA", Const, 0, ""}, + {"SYS_EXECVE", Const, 0, ""}, + {"SYS_EXIT", Const, 0, ""}, + {"SYS_EXIT_GROUP", Const, 0, ""}, + {"SYS_EXTATTRCTL", Const, 0, ""}, + {"SYS_EXTATTR_DELETE_FD", Const, 0, ""}, + {"SYS_EXTATTR_DELETE_FILE", Const, 0, ""}, + {"SYS_EXTATTR_DELETE_LINK", Const, 0, ""}, + {"SYS_EXTATTR_GET_FD", Const, 0, ""}, + {"SYS_EXTATTR_GET_FILE", Const, 0, ""}, + {"SYS_EXTATTR_GET_LINK", Const, 0, ""}, + {"SYS_EXTATTR_LIST_FD", Const, 0, ""}, + {"SYS_EXTATTR_LIST_FILE", Const, 0, ""}, + {"SYS_EXTATTR_LIST_LINK", Const, 0, ""}, + {"SYS_EXTATTR_SET_FD", Const, 0, ""}, + {"SYS_EXTATTR_SET_FILE", Const, 0, ""}, + {"SYS_EXTATTR_SET_LINK", Const, 0, ""}, + {"SYS_FACCESSAT", Const, 0, ""}, + {"SYS_FADVISE64", Const, 0, ""}, + {"SYS_FADVISE64_64", Const, 0, ""}, + {"SYS_FALLOCATE", Const, 0, ""}, + {"SYS_FANOTIFY_INIT", Const, 0, ""}, + {"SYS_FANOTIFY_MARK", Const, 0, ""}, + {"SYS_FCHDIR", Const, 0, ""}, + {"SYS_FCHFLAGS", Const, 0, ""}, + {"SYS_FCHMOD", Const, 0, ""}, + {"SYS_FCHMODAT", Const, 0, ""}, + {"SYS_FCHMOD_EXTENDED", Const, 0, ""}, + {"SYS_FCHOWN", Const, 0, ""}, + {"SYS_FCHOWN32", Const, 0, ""}, + {"SYS_FCHOWNAT", Const, 0, ""}, + {"SYS_FCHROOT", Const, 1, ""}, + {"SYS_FCNTL", Const, 0, ""}, + {"SYS_FCNTL64", Const, 0, ""}, + {"SYS_FCNTL_NOCANCEL", Const, 0, ""}, + {"SYS_FDATASYNC", Const, 0, ""}, + {"SYS_FEXECVE", Const, 0, ""}, + {"SYS_FFCLOCK_GETCOUNTER", Const, 0, ""}, + {"SYS_FFCLOCK_GETESTIMATE", Const, 0, ""}, + {"SYS_FFCLOCK_SETESTIMATE", Const, 0, ""}, + {"SYS_FFSCTL", Const, 0, ""}, + {"SYS_FGETATTRLIST", Const, 0, ""}, + {"SYS_FGETXATTR", Const, 0, ""}, + {"SYS_FHOPEN", Const, 0, ""}, + {"SYS_FHSTAT", Const, 0, ""}, + {"SYS_FHSTATFS", Const, 0, ""}, + {"SYS_FILEPORT_MAKEFD", Const, 0, ""}, + {"SYS_FILEPORT_MAKEPORT", Const, 0, ""}, + {"SYS_FKTRACE", Const, 1, ""}, + {"SYS_FLISTXATTR", Const, 0, ""}, + {"SYS_FLOCK", Const, 0, ""}, + {"SYS_FORK", Const, 0, ""}, + {"SYS_FPATHCONF", Const, 0, ""}, + {"SYS_FREEBSD6_FTRUNCATE", Const, 0, ""}, + {"SYS_FREEBSD6_LSEEK", Const, 0, ""}, + {"SYS_FREEBSD6_MMAP", Const, 0, ""}, + {"SYS_FREEBSD6_PREAD", Const, 0, ""}, + {"SYS_FREEBSD6_PWRITE", Const, 0, ""}, + {"SYS_FREEBSD6_TRUNCATE", Const, 0, ""}, + {"SYS_FREMOVEXATTR", Const, 0, ""}, + {"SYS_FSCTL", Const, 0, ""}, + {"SYS_FSETATTRLIST", Const, 0, ""}, + {"SYS_FSETXATTR", Const, 0, ""}, + {"SYS_FSGETPATH", Const, 0, ""}, + {"SYS_FSTAT", Const, 0, ""}, + {"SYS_FSTAT64", Const, 0, ""}, + {"SYS_FSTAT64_EXTENDED", Const, 0, ""}, + {"SYS_FSTATAT", Const, 0, ""}, + {"SYS_FSTATAT64", Const, 0, ""}, + {"SYS_FSTATFS", Const, 0, ""}, + {"SYS_FSTATFS64", Const, 0, ""}, + {"SYS_FSTATV", Const, 0, ""}, + {"SYS_FSTATVFS1", Const, 1, ""}, + {"SYS_FSTAT_EXTENDED", Const, 0, ""}, + {"SYS_FSYNC", Const, 0, ""}, + {"SYS_FSYNC_NOCANCEL", Const, 0, ""}, + {"SYS_FSYNC_RANGE", Const, 1, ""}, + {"SYS_FTIME", Const, 0, ""}, + {"SYS_FTRUNCATE", Const, 0, ""}, + {"SYS_FTRUNCATE64", Const, 0, ""}, + {"SYS_FUTEX", Const, 0, ""}, + {"SYS_FUTIMENS", Const, 1, ""}, + {"SYS_FUTIMES", Const, 0, ""}, + {"SYS_FUTIMESAT", Const, 0, ""}, + {"SYS_GETATTRLIST", Const, 0, ""}, + {"SYS_GETAUDIT", Const, 0, ""}, + {"SYS_GETAUDIT_ADDR", Const, 0, ""}, + {"SYS_GETAUID", Const, 0, ""}, + {"SYS_GETCONTEXT", Const, 0, ""}, + {"SYS_GETCPU", Const, 0, ""}, + {"SYS_GETCWD", Const, 0, ""}, + {"SYS_GETDENTS", Const, 0, ""}, + {"SYS_GETDENTS64", Const, 0, ""}, + {"SYS_GETDIRENTRIES", Const, 0, ""}, + {"SYS_GETDIRENTRIES64", Const, 0, ""}, + {"SYS_GETDIRENTRIESATTR", Const, 0, ""}, + {"SYS_GETDTABLECOUNT", Const, 1, ""}, + {"SYS_GETDTABLESIZE", Const, 0, ""}, + {"SYS_GETEGID", Const, 0, ""}, + {"SYS_GETEGID32", Const, 0, ""}, + {"SYS_GETEUID", Const, 0, ""}, + {"SYS_GETEUID32", Const, 0, ""}, + {"SYS_GETFH", Const, 0, ""}, + {"SYS_GETFSSTAT", Const, 0, ""}, + {"SYS_GETFSSTAT64", Const, 0, ""}, + {"SYS_GETGID", Const, 0, ""}, + {"SYS_GETGID32", Const, 0, ""}, + {"SYS_GETGROUPS", Const, 0, ""}, + {"SYS_GETGROUPS32", Const, 0, ""}, + {"SYS_GETHOSTUUID", Const, 0, ""}, + {"SYS_GETITIMER", Const, 0, ""}, + {"SYS_GETLCID", Const, 0, ""}, + {"SYS_GETLOGIN", Const, 0, ""}, + {"SYS_GETLOGINCLASS", Const, 0, ""}, + {"SYS_GETPEERNAME", Const, 0, ""}, + {"SYS_GETPGID", Const, 0, ""}, + {"SYS_GETPGRP", Const, 0, ""}, + {"SYS_GETPID", Const, 0, ""}, + {"SYS_GETPMSG", Const, 0, ""}, + {"SYS_GETPPID", Const, 0, ""}, + {"SYS_GETPRIORITY", Const, 0, ""}, + {"SYS_GETRESGID", Const, 0, ""}, + {"SYS_GETRESGID32", Const, 0, ""}, + {"SYS_GETRESUID", Const, 0, ""}, + {"SYS_GETRESUID32", Const, 0, ""}, + {"SYS_GETRLIMIT", Const, 0, ""}, + {"SYS_GETRTABLE", Const, 1, ""}, + {"SYS_GETRUSAGE", Const, 0, ""}, + {"SYS_GETSGROUPS", Const, 0, ""}, + {"SYS_GETSID", Const, 0, ""}, + {"SYS_GETSOCKNAME", Const, 0, ""}, + {"SYS_GETSOCKOPT", Const, 0, ""}, + {"SYS_GETTHRID", Const, 1, ""}, + {"SYS_GETTID", Const, 0, ""}, + {"SYS_GETTIMEOFDAY", Const, 0, ""}, + {"SYS_GETUID", Const, 0, ""}, + {"SYS_GETUID32", Const, 0, ""}, + {"SYS_GETVFSSTAT", Const, 1, ""}, + {"SYS_GETWGROUPS", Const, 0, ""}, + {"SYS_GETXATTR", Const, 0, ""}, + {"SYS_GET_KERNEL_SYMS", Const, 0, ""}, + {"SYS_GET_MEMPOLICY", Const, 0, ""}, + {"SYS_GET_ROBUST_LIST", Const, 0, ""}, + {"SYS_GET_THREAD_AREA", Const, 0, ""}, + {"SYS_GSSD_SYSCALL", Const, 14, ""}, + {"SYS_GTTY", Const, 0, ""}, + {"SYS_IDENTITYSVC", Const, 0, ""}, + {"SYS_IDLE", Const, 0, ""}, + {"SYS_INITGROUPS", Const, 0, ""}, + {"SYS_INIT_MODULE", Const, 0, ""}, + {"SYS_INOTIFY_ADD_WATCH", Const, 0, ""}, + {"SYS_INOTIFY_INIT", Const, 0, ""}, + {"SYS_INOTIFY_INIT1", Const, 0, ""}, + {"SYS_INOTIFY_RM_WATCH", Const, 0, ""}, + {"SYS_IOCTL", Const, 0, ""}, + {"SYS_IOPERM", Const, 0, ""}, + {"SYS_IOPL", Const, 0, ""}, + {"SYS_IOPOLICYSYS", Const, 0, ""}, + {"SYS_IOPRIO_GET", Const, 0, ""}, + {"SYS_IOPRIO_SET", Const, 0, ""}, + {"SYS_IO_CANCEL", Const, 0, ""}, + {"SYS_IO_DESTROY", Const, 0, ""}, + {"SYS_IO_GETEVENTS", Const, 0, ""}, + {"SYS_IO_SETUP", Const, 0, ""}, + {"SYS_IO_SUBMIT", Const, 0, ""}, + {"SYS_IPC", Const, 0, ""}, + {"SYS_ISSETUGID", Const, 0, ""}, + {"SYS_JAIL", Const, 0, ""}, + {"SYS_JAIL_ATTACH", Const, 0, ""}, + {"SYS_JAIL_GET", Const, 0, ""}, + {"SYS_JAIL_REMOVE", Const, 0, ""}, + {"SYS_JAIL_SET", Const, 0, ""}, + {"SYS_KAS_INFO", Const, 16, ""}, + {"SYS_KDEBUG_TRACE", Const, 0, ""}, + {"SYS_KENV", Const, 0, ""}, + {"SYS_KEVENT", Const, 0, ""}, + {"SYS_KEVENT64", Const, 0, ""}, + {"SYS_KEXEC_LOAD", Const, 0, ""}, + {"SYS_KEYCTL", Const, 0, ""}, + {"SYS_KILL", Const, 0, ""}, + {"SYS_KLDFIND", Const, 0, ""}, + {"SYS_KLDFIRSTMOD", Const, 0, ""}, + {"SYS_KLDLOAD", Const, 0, ""}, + {"SYS_KLDNEXT", Const, 0, ""}, + {"SYS_KLDSTAT", Const, 0, ""}, + {"SYS_KLDSYM", Const, 0, ""}, + {"SYS_KLDUNLOAD", Const, 0, ""}, + {"SYS_KLDUNLOADF", Const, 0, ""}, + {"SYS_KMQ_NOTIFY", Const, 14, ""}, + {"SYS_KMQ_OPEN", Const, 14, ""}, + {"SYS_KMQ_SETATTR", Const, 14, ""}, + {"SYS_KMQ_TIMEDRECEIVE", Const, 14, ""}, + {"SYS_KMQ_TIMEDSEND", Const, 14, ""}, + {"SYS_KMQ_UNLINK", Const, 14, ""}, + {"SYS_KQUEUE", Const, 0, ""}, + {"SYS_KQUEUE1", Const, 1, ""}, + {"SYS_KSEM_CLOSE", Const, 14, ""}, + {"SYS_KSEM_DESTROY", Const, 14, ""}, + {"SYS_KSEM_GETVALUE", Const, 14, ""}, + {"SYS_KSEM_INIT", Const, 14, ""}, + {"SYS_KSEM_OPEN", Const, 14, ""}, + {"SYS_KSEM_POST", Const, 14, ""}, + {"SYS_KSEM_TIMEDWAIT", Const, 14, ""}, + {"SYS_KSEM_TRYWAIT", Const, 14, ""}, + {"SYS_KSEM_UNLINK", Const, 14, ""}, + {"SYS_KSEM_WAIT", Const, 14, ""}, + {"SYS_KTIMER_CREATE", Const, 0, ""}, + {"SYS_KTIMER_DELETE", Const, 0, ""}, + {"SYS_KTIMER_GETOVERRUN", Const, 0, ""}, + {"SYS_KTIMER_GETTIME", Const, 0, ""}, + {"SYS_KTIMER_SETTIME", Const, 0, ""}, + {"SYS_KTRACE", Const, 0, ""}, + {"SYS_LCHFLAGS", Const, 0, ""}, + {"SYS_LCHMOD", Const, 0, ""}, + {"SYS_LCHOWN", Const, 0, ""}, + {"SYS_LCHOWN32", Const, 0, ""}, + {"SYS_LEDGER", Const, 16, ""}, + {"SYS_LGETFH", Const, 0, ""}, + {"SYS_LGETXATTR", Const, 0, ""}, + {"SYS_LINK", Const, 0, ""}, + {"SYS_LINKAT", Const, 0, ""}, + {"SYS_LIO_LISTIO", Const, 0, ""}, + {"SYS_LISTEN", Const, 0, ""}, + {"SYS_LISTXATTR", Const, 0, ""}, + {"SYS_LLISTXATTR", Const, 0, ""}, + {"SYS_LOCK", Const, 0, ""}, + {"SYS_LOOKUP_DCOOKIE", Const, 0, ""}, + {"SYS_LPATHCONF", Const, 0, ""}, + {"SYS_LREMOVEXATTR", Const, 0, ""}, + {"SYS_LSEEK", Const, 0, ""}, + {"SYS_LSETXATTR", Const, 0, ""}, + {"SYS_LSTAT", Const, 0, ""}, + {"SYS_LSTAT64", Const, 0, ""}, + {"SYS_LSTAT64_EXTENDED", Const, 0, ""}, + {"SYS_LSTATV", Const, 0, ""}, + {"SYS_LSTAT_EXTENDED", Const, 0, ""}, + {"SYS_LUTIMES", Const, 0, ""}, + {"SYS_MAC_SYSCALL", Const, 0, ""}, + {"SYS_MADVISE", Const, 0, ""}, + {"SYS_MADVISE1", Const, 0, ""}, + {"SYS_MAXSYSCALL", Const, 0, ""}, + {"SYS_MBIND", Const, 0, ""}, + {"SYS_MIGRATE_PAGES", Const, 0, ""}, + {"SYS_MINCORE", Const, 0, ""}, + {"SYS_MINHERIT", Const, 0, ""}, + {"SYS_MKCOMPLEX", Const, 0, ""}, + {"SYS_MKDIR", Const, 0, ""}, + {"SYS_MKDIRAT", Const, 0, ""}, + {"SYS_MKDIR_EXTENDED", Const, 0, ""}, + {"SYS_MKFIFO", Const, 0, ""}, + {"SYS_MKFIFOAT", Const, 0, ""}, + {"SYS_MKFIFO_EXTENDED", Const, 0, ""}, + {"SYS_MKNOD", Const, 0, ""}, + {"SYS_MKNODAT", Const, 0, ""}, + {"SYS_MLOCK", Const, 0, ""}, + {"SYS_MLOCKALL", Const, 0, ""}, + {"SYS_MMAP", Const, 0, ""}, + {"SYS_MMAP2", Const, 0, ""}, + {"SYS_MODCTL", Const, 1, ""}, + {"SYS_MODFIND", Const, 0, ""}, + {"SYS_MODFNEXT", Const, 0, ""}, + {"SYS_MODIFY_LDT", Const, 0, ""}, + {"SYS_MODNEXT", Const, 0, ""}, + {"SYS_MODSTAT", Const, 0, ""}, + {"SYS_MODWATCH", Const, 0, ""}, + {"SYS_MOUNT", Const, 0, ""}, + {"SYS_MOVE_PAGES", Const, 0, ""}, + {"SYS_MPROTECT", Const, 0, ""}, + {"SYS_MPX", Const, 0, ""}, + {"SYS_MQUERY", Const, 1, ""}, + {"SYS_MQ_GETSETATTR", Const, 0, ""}, + {"SYS_MQ_NOTIFY", Const, 0, ""}, + {"SYS_MQ_OPEN", Const, 0, ""}, + {"SYS_MQ_TIMEDRECEIVE", Const, 0, ""}, + {"SYS_MQ_TIMEDSEND", Const, 0, ""}, + {"SYS_MQ_UNLINK", Const, 0, ""}, + {"SYS_MREMAP", Const, 0, ""}, + {"SYS_MSGCTL", Const, 0, ""}, + {"SYS_MSGGET", Const, 0, ""}, + {"SYS_MSGRCV", Const, 0, ""}, + {"SYS_MSGRCV_NOCANCEL", Const, 0, ""}, + {"SYS_MSGSND", Const, 0, ""}, + {"SYS_MSGSND_NOCANCEL", Const, 0, ""}, + {"SYS_MSGSYS", Const, 0, ""}, + {"SYS_MSYNC", Const, 0, ""}, + {"SYS_MSYNC_NOCANCEL", Const, 0, ""}, + {"SYS_MUNLOCK", Const, 0, ""}, + {"SYS_MUNLOCKALL", Const, 0, ""}, + {"SYS_MUNMAP", Const, 0, ""}, + {"SYS_NAME_TO_HANDLE_AT", Const, 0, ""}, + {"SYS_NANOSLEEP", Const, 0, ""}, + {"SYS_NEWFSTATAT", Const, 0, ""}, + {"SYS_NFSCLNT", Const, 0, ""}, + {"SYS_NFSSERVCTL", Const, 0, ""}, + {"SYS_NFSSVC", Const, 0, ""}, + {"SYS_NFSTAT", Const, 0, ""}, + {"SYS_NICE", Const, 0, ""}, + {"SYS_NLM_SYSCALL", Const, 14, ""}, + {"SYS_NLSTAT", Const, 0, ""}, + {"SYS_NMOUNT", Const, 0, ""}, + {"SYS_NSTAT", Const, 0, ""}, + {"SYS_NTP_ADJTIME", Const, 0, ""}, + {"SYS_NTP_GETTIME", Const, 0, ""}, + {"SYS_NUMA_GETAFFINITY", Const, 14, ""}, + {"SYS_NUMA_SETAFFINITY", Const, 14, ""}, + {"SYS_OABI_SYSCALL_BASE", Const, 0, ""}, + {"SYS_OBREAK", Const, 0, ""}, + {"SYS_OLDFSTAT", Const, 0, ""}, + {"SYS_OLDLSTAT", Const, 0, ""}, + {"SYS_OLDOLDUNAME", Const, 0, ""}, + {"SYS_OLDSTAT", Const, 0, ""}, + {"SYS_OLDUNAME", Const, 0, ""}, + {"SYS_OPEN", Const, 0, ""}, + {"SYS_OPENAT", Const, 0, ""}, + {"SYS_OPENBSD_POLL", Const, 0, ""}, + {"SYS_OPEN_BY_HANDLE_AT", Const, 0, ""}, + {"SYS_OPEN_DPROTECTED_NP", Const, 16, ""}, + {"SYS_OPEN_EXTENDED", Const, 0, ""}, + {"SYS_OPEN_NOCANCEL", Const, 0, ""}, + {"SYS_OVADVISE", Const, 0, ""}, + {"SYS_PACCEPT", Const, 1, ""}, + {"SYS_PATHCONF", Const, 0, ""}, + {"SYS_PAUSE", Const, 0, ""}, + {"SYS_PCICONFIG_IOBASE", Const, 0, ""}, + {"SYS_PCICONFIG_READ", Const, 0, ""}, + {"SYS_PCICONFIG_WRITE", Const, 0, ""}, + {"SYS_PDFORK", Const, 0, ""}, + {"SYS_PDGETPID", Const, 0, ""}, + {"SYS_PDKILL", Const, 0, ""}, + {"SYS_PERF_EVENT_OPEN", Const, 0, ""}, + {"SYS_PERSONALITY", Const, 0, ""}, + {"SYS_PID_HIBERNATE", Const, 0, ""}, + {"SYS_PID_RESUME", Const, 0, ""}, + {"SYS_PID_SHUTDOWN_SOCKETS", Const, 0, ""}, + {"SYS_PID_SUSPEND", Const, 0, ""}, + {"SYS_PIPE", Const, 0, ""}, + {"SYS_PIPE2", Const, 0, ""}, + {"SYS_PIVOT_ROOT", Const, 0, ""}, + {"SYS_PMC_CONTROL", Const, 1, ""}, + {"SYS_PMC_GET_INFO", Const, 1, ""}, + {"SYS_POLL", Const, 0, ""}, + {"SYS_POLLTS", Const, 1, ""}, + {"SYS_POLL_NOCANCEL", Const, 0, ""}, + {"SYS_POSIX_FADVISE", Const, 0, ""}, + {"SYS_POSIX_FALLOCATE", Const, 0, ""}, + {"SYS_POSIX_OPENPT", Const, 0, ""}, + {"SYS_POSIX_SPAWN", Const, 0, ""}, + {"SYS_PPOLL", Const, 0, ""}, + {"SYS_PRCTL", Const, 0, ""}, + {"SYS_PREAD", Const, 0, ""}, + {"SYS_PREAD64", Const, 0, ""}, + {"SYS_PREADV", Const, 0, ""}, + {"SYS_PREAD_NOCANCEL", Const, 0, ""}, + {"SYS_PRLIMIT64", Const, 0, ""}, + {"SYS_PROCCTL", Const, 3, ""}, + {"SYS_PROCESS_POLICY", Const, 0, ""}, + {"SYS_PROCESS_VM_READV", Const, 0, ""}, + {"SYS_PROCESS_VM_WRITEV", Const, 0, ""}, + {"SYS_PROC_INFO", Const, 0, ""}, + {"SYS_PROF", Const, 0, ""}, + {"SYS_PROFIL", Const, 0, ""}, + {"SYS_PSELECT", Const, 0, ""}, + {"SYS_PSELECT6", Const, 0, ""}, + {"SYS_PSET_ASSIGN", Const, 1, ""}, + {"SYS_PSET_CREATE", Const, 1, ""}, + {"SYS_PSET_DESTROY", Const, 1, ""}, + {"SYS_PSYNCH_CVBROAD", Const, 0, ""}, + {"SYS_PSYNCH_CVCLRPREPOST", Const, 0, ""}, + {"SYS_PSYNCH_CVSIGNAL", Const, 0, ""}, + {"SYS_PSYNCH_CVWAIT", Const, 0, ""}, + {"SYS_PSYNCH_MUTEXDROP", Const, 0, ""}, + {"SYS_PSYNCH_MUTEXWAIT", Const, 0, ""}, + {"SYS_PSYNCH_RW_DOWNGRADE", Const, 0, ""}, + {"SYS_PSYNCH_RW_LONGRDLOCK", Const, 0, ""}, + {"SYS_PSYNCH_RW_RDLOCK", Const, 0, ""}, + {"SYS_PSYNCH_RW_UNLOCK", Const, 0, ""}, + {"SYS_PSYNCH_RW_UNLOCK2", Const, 0, ""}, + {"SYS_PSYNCH_RW_UPGRADE", Const, 0, ""}, + {"SYS_PSYNCH_RW_WRLOCK", Const, 0, ""}, + {"SYS_PSYNCH_RW_YIELDWRLOCK", Const, 0, ""}, + {"SYS_PTRACE", Const, 0, ""}, + {"SYS_PUTPMSG", Const, 0, ""}, + {"SYS_PWRITE", Const, 0, ""}, + {"SYS_PWRITE64", Const, 0, ""}, + {"SYS_PWRITEV", Const, 0, ""}, + {"SYS_PWRITE_NOCANCEL", Const, 0, ""}, + {"SYS_QUERY_MODULE", Const, 0, ""}, + {"SYS_QUOTACTL", Const, 0, ""}, + {"SYS_RASCTL", Const, 1, ""}, + {"SYS_RCTL_ADD_RULE", Const, 0, ""}, + {"SYS_RCTL_GET_LIMITS", Const, 0, ""}, + {"SYS_RCTL_GET_RACCT", Const, 0, ""}, + {"SYS_RCTL_GET_RULES", Const, 0, ""}, + {"SYS_RCTL_REMOVE_RULE", Const, 0, ""}, + {"SYS_READ", Const, 0, ""}, + {"SYS_READAHEAD", Const, 0, ""}, + {"SYS_READDIR", Const, 0, ""}, + {"SYS_READLINK", Const, 0, ""}, + {"SYS_READLINKAT", Const, 0, ""}, + {"SYS_READV", Const, 0, ""}, + {"SYS_READV_NOCANCEL", Const, 0, ""}, + {"SYS_READ_NOCANCEL", Const, 0, ""}, + {"SYS_REBOOT", Const, 0, ""}, + {"SYS_RECV", Const, 0, ""}, + {"SYS_RECVFROM", Const, 0, ""}, + {"SYS_RECVFROM_NOCANCEL", Const, 0, ""}, + {"SYS_RECVMMSG", Const, 0, ""}, + {"SYS_RECVMSG", Const, 0, ""}, + {"SYS_RECVMSG_NOCANCEL", Const, 0, ""}, + {"SYS_REMAP_FILE_PAGES", Const, 0, ""}, + {"SYS_REMOVEXATTR", Const, 0, ""}, + {"SYS_RENAME", Const, 0, ""}, + {"SYS_RENAMEAT", Const, 0, ""}, + {"SYS_REQUEST_KEY", Const, 0, ""}, + {"SYS_RESTART_SYSCALL", Const, 0, ""}, + {"SYS_REVOKE", Const, 0, ""}, + {"SYS_RFORK", Const, 0, ""}, + {"SYS_RMDIR", Const, 0, ""}, + {"SYS_RTPRIO", Const, 0, ""}, + {"SYS_RTPRIO_THREAD", Const, 0, ""}, + {"SYS_RT_SIGACTION", Const, 0, ""}, + {"SYS_RT_SIGPENDING", Const, 0, ""}, + {"SYS_RT_SIGPROCMASK", Const, 0, ""}, + {"SYS_RT_SIGQUEUEINFO", Const, 0, ""}, + {"SYS_RT_SIGRETURN", Const, 0, ""}, + {"SYS_RT_SIGSUSPEND", Const, 0, ""}, + {"SYS_RT_SIGTIMEDWAIT", Const, 0, ""}, + {"SYS_RT_TGSIGQUEUEINFO", Const, 0, ""}, + {"SYS_SBRK", Const, 0, ""}, + {"SYS_SCHED_GETAFFINITY", Const, 0, ""}, + {"SYS_SCHED_GETPARAM", Const, 0, ""}, + {"SYS_SCHED_GETSCHEDULER", Const, 0, ""}, + {"SYS_SCHED_GET_PRIORITY_MAX", Const, 0, ""}, + {"SYS_SCHED_GET_PRIORITY_MIN", Const, 0, ""}, + {"SYS_SCHED_RR_GET_INTERVAL", Const, 0, ""}, + {"SYS_SCHED_SETAFFINITY", Const, 0, ""}, + {"SYS_SCHED_SETPARAM", Const, 0, ""}, + {"SYS_SCHED_SETSCHEDULER", Const, 0, ""}, + {"SYS_SCHED_YIELD", Const, 0, ""}, + {"SYS_SCTP_GENERIC_RECVMSG", Const, 0, ""}, + {"SYS_SCTP_GENERIC_SENDMSG", Const, 0, ""}, + {"SYS_SCTP_GENERIC_SENDMSG_IOV", Const, 0, ""}, + {"SYS_SCTP_PEELOFF", Const, 0, ""}, + {"SYS_SEARCHFS", Const, 0, ""}, + {"SYS_SECURITY", Const, 0, ""}, + {"SYS_SELECT", Const, 0, ""}, + {"SYS_SELECT_NOCANCEL", Const, 0, ""}, + {"SYS_SEMCONFIG", Const, 1, ""}, + {"SYS_SEMCTL", Const, 0, ""}, + {"SYS_SEMGET", Const, 0, ""}, + {"SYS_SEMOP", Const, 0, ""}, + {"SYS_SEMSYS", Const, 0, ""}, + {"SYS_SEMTIMEDOP", Const, 0, ""}, + {"SYS_SEM_CLOSE", Const, 0, ""}, + {"SYS_SEM_DESTROY", Const, 0, ""}, + {"SYS_SEM_GETVALUE", Const, 0, ""}, + {"SYS_SEM_INIT", Const, 0, ""}, + {"SYS_SEM_OPEN", Const, 0, ""}, + {"SYS_SEM_POST", Const, 0, ""}, + {"SYS_SEM_TRYWAIT", Const, 0, ""}, + {"SYS_SEM_UNLINK", Const, 0, ""}, + {"SYS_SEM_WAIT", Const, 0, ""}, + {"SYS_SEM_WAIT_NOCANCEL", Const, 0, ""}, + {"SYS_SEND", Const, 0, ""}, + {"SYS_SENDFILE", Const, 0, ""}, + {"SYS_SENDFILE64", Const, 0, ""}, + {"SYS_SENDMMSG", Const, 0, ""}, + {"SYS_SENDMSG", Const, 0, ""}, + {"SYS_SENDMSG_NOCANCEL", Const, 0, ""}, + {"SYS_SENDTO", Const, 0, ""}, + {"SYS_SENDTO_NOCANCEL", Const, 0, ""}, + {"SYS_SETATTRLIST", Const, 0, ""}, + {"SYS_SETAUDIT", Const, 0, ""}, + {"SYS_SETAUDIT_ADDR", Const, 0, ""}, + {"SYS_SETAUID", Const, 0, ""}, + {"SYS_SETCONTEXT", Const, 0, ""}, + {"SYS_SETDOMAINNAME", Const, 0, ""}, + {"SYS_SETEGID", Const, 0, ""}, + {"SYS_SETEUID", Const, 0, ""}, + {"SYS_SETFIB", Const, 0, ""}, + {"SYS_SETFSGID", Const, 0, ""}, + {"SYS_SETFSGID32", Const, 0, ""}, + {"SYS_SETFSUID", Const, 0, ""}, + {"SYS_SETFSUID32", Const, 0, ""}, + {"SYS_SETGID", Const, 0, ""}, + {"SYS_SETGID32", Const, 0, ""}, + {"SYS_SETGROUPS", Const, 0, ""}, + {"SYS_SETGROUPS32", Const, 0, ""}, + {"SYS_SETHOSTNAME", Const, 0, ""}, + {"SYS_SETITIMER", Const, 0, ""}, + {"SYS_SETLCID", Const, 0, ""}, + {"SYS_SETLOGIN", Const, 0, ""}, + {"SYS_SETLOGINCLASS", Const, 0, ""}, + {"SYS_SETNS", Const, 0, ""}, + {"SYS_SETPGID", Const, 0, ""}, + {"SYS_SETPRIORITY", Const, 0, ""}, + {"SYS_SETPRIVEXEC", Const, 0, ""}, + {"SYS_SETREGID", Const, 0, ""}, + {"SYS_SETREGID32", Const, 0, ""}, + {"SYS_SETRESGID", Const, 0, ""}, + {"SYS_SETRESGID32", Const, 0, ""}, + {"SYS_SETRESUID", Const, 0, ""}, + {"SYS_SETRESUID32", Const, 0, ""}, + {"SYS_SETREUID", Const, 0, ""}, + {"SYS_SETREUID32", Const, 0, ""}, + {"SYS_SETRLIMIT", Const, 0, ""}, + {"SYS_SETRTABLE", Const, 1, ""}, + {"SYS_SETSGROUPS", Const, 0, ""}, + {"SYS_SETSID", Const, 0, ""}, + {"SYS_SETSOCKOPT", Const, 0, ""}, + {"SYS_SETTID", Const, 0, ""}, + {"SYS_SETTID_WITH_PID", Const, 0, ""}, + {"SYS_SETTIMEOFDAY", Const, 0, ""}, + {"SYS_SETUID", Const, 0, ""}, + {"SYS_SETUID32", Const, 0, ""}, + {"SYS_SETWGROUPS", Const, 0, ""}, + {"SYS_SETXATTR", Const, 0, ""}, + {"SYS_SET_MEMPOLICY", Const, 0, ""}, + {"SYS_SET_ROBUST_LIST", Const, 0, ""}, + {"SYS_SET_THREAD_AREA", Const, 0, ""}, + {"SYS_SET_TID_ADDRESS", Const, 0, ""}, + {"SYS_SGETMASK", Const, 0, ""}, + {"SYS_SHARED_REGION_CHECK_NP", Const, 0, ""}, + {"SYS_SHARED_REGION_MAP_AND_SLIDE_NP", Const, 0, ""}, + {"SYS_SHMAT", Const, 0, ""}, + {"SYS_SHMCTL", Const, 0, ""}, + {"SYS_SHMDT", Const, 0, ""}, + {"SYS_SHMGET", Const, 0, ""}, + {"SYS_SHMSYS", Const, 0, ""}, + {"SYS_SHM_OPEN", Const, 0, ""}, + {"SYS_SHM_UNLINK", Const, 0, ""}, + {"SYS_SHUTDOWN", Const, 0, ""}, + {"SYS_SIGACTION", Const, 0, ""}, + {"SYS_SIGALTSTACK", Const, 0, ""}, + {"SYS_SIGNAL", Const, 0, ""}, + {"SYS_SIGNALFD", Const, 0, ""}, + {"SYS_SIGNALFD4", Const, 0, ""}, + {"SYS_SIGPENDING", Const, 0, ""}, + {"SYS_SIGPROCMASK", Const, 0, ""}, + {"SYS_SIGQUEUE", Const, 0, ""}, + {"SYS_SIGQUEUEINFO", Const, 1, ""}, + {"SYS_SIGRETURN", Const, 0, ""}, + {"SYS_SIGSUSPEND", Const, 0, ""}, + {"SYS_SIGSUSPEND_NOCANCEL", Const, 0, ""}, + {"SYS_SIGTIMEDWAIT", Const, 0, ""}, + {"SYS_SIGWAIT", Const, 0, ""}, + {"SYS_SIGWAITINFO", Const, 0, ""}, + {"SYS_SOCKET", Const, 0, ""}, + {"SYS_SOCKETCALL", Const, 0, ""}, + {"SYS_SOCKETPAIR", Const, 0, ""}, + {"SYS_SPLICE", Const, 0, ""}, + {"SYS_SSETMASK", Const, 0, ""}, + {"SYS_SSTK", Const, 0, ""}, + {"SYS_STACK_SNAPSHOT", Const, 0, ""}, + {"SYS_STAT", Const, 0, ""}, + {"SYS_STAT64", Const, 0, ""}, + {"SYS_STAT64_EXTENDED", Const, 0, ""}, + {"SYS_STATFS", Const, 0, ""}, + {"SYS_STATFS64", Const, 0, ""}, + {"SYS_STATV", Const, 0, ""}, + {"SYS_STATVFS1", Const, 1, ""}, + {"SYS_STAT_EXTENDED", Const, 0, ""}, + {"SYS_STIME", Const, 0, ""}, + {"SYS_STTY", Const, 0, ""}, + {"SYS_SWAPCONTEXT", Const, 0, ""}, + {"SYS_SWAPCTL", Const, 1, ""}, + {"SYS_SWAPOFF", Const, 0, ""}, + {"SYS_SWAPON", Const, 0, ""}, + {"SYS_SYMLINK", Const, 0, ""}, + {"SYS_SYMLINKAT", Const, 0, ""}, + {"SYS_SYNC", Const, 0, ""}, + {"SYS_SYNCFS", Const, 0, ""}, + {"SYS_SYNC_FILE_RANGE", Const, 0, ""}, + {"SYS_SYSARCH", Const, 0, ""}, + {"SYS_SYSCALL", Const, 0, ""}, + {"SYS_SYSCALL_BASE", Const, 0, ""}, + {"SYS_SYSFS", Const, 0, ""}, + {"SYS_SYSINFO", Const, 0, ""}, + {"SYS_SYSLOG", Const, 0, ""}, + {"SYS_TEE", Const, 0, ""}, + {"SYS_TGKILL", Const, 0, ""}, + {"SYS_THREAD_SELFID", Const, 0, ""}, + {"SYS_THR_CREATE", Const, 0, ""}, + {"SYS_THR_EXIT", Const, 0, ""}, + {"SYS_THR_KILL", Const, 0, ""}, + {"SYS_THR_KILL2", Const, 0, ""}, + {"SYS_THR_NEW", Const, 0, ""}, + {"SYS_THR_SELF", Const, 0, ""}, + {"SYS_THR_SET_NAME", Const, 0, ""}, + {"SYS_THR_SUSPEND", Const, 0, ""}, + {"SYS_THR_WAKE", Const, 0, ""}, + {"SYS_TIME", Const, 0, ""}, + {"SYS_TIMERFD_CREATE", Const, 0, ""}, + {"SYS_TIMERFD_GETTIME", Const, 0, ""}, + {"SYS_TIMERFD_SETTIME", Const, 0, ""}, + {"SYS_TIMER_CREATE", Const, 0, ""}, + {"SYS_TIMER_DELETE", Const, 0, ""}, + {"SYS_TIMER_GETOVERRUN", Const, 0, ""}, + {"SYS_TIMER_GETTIME", Const, 0, ""}, + {"SYS_TIMER_SETTIME", Const, 0, ""}, + {"SYS_TIMES", Const, 0, ""}, + {"SYS_TKILL", Const, 0, ""}, + {"SYS_TRUNCATE", Const, 0, ""}, + {"SYS_TRUNCATE64", Const, 0, ""}, + {"SYS_TUXCALL", Const, 0, ""}, + {"SYS_UGETRLIMIT", Const, 0, ""}, + {"SYS_ULIMIT", Const, 0, ""}, + {"SYS_UMASK", Const, 0, ""}, + {"SYS_UMASK_EXTENDED", Const, 0, ""}, + {"SYS_UMOUNT", Const, 0, ""}, + {"SYS_UMOUNT2", Const, 0, ""}, + {"SYS_UNAME", Const, 0, ""}, + {"SYS_UNDELETE", Const, 0, ""}, + {"SYS_UNLINK", Const, 0, ""}, + {"SYS_UNLINKAT", Const, 0, ""}, + {"SYS_UNMOUNT", Const, 0, ""}, + {"SYS_UNSHARE", Const, 0, ""}, + {"SYS_USELIB", Const, 0, ""}, + {"SYS_USTAT", Const, 0, ""}, + {"SYS_UTIME", Const, 0, ""}, + {"SYS_UTIMENSAT", Const, 0, ""}, + {"SYS_UTIMES", Const, 0, ""}, + {"SYS_UTRACE", Const, 0, ""}, + {"SYS_UUIDGEN", Const, 0, ""}, + {"SYS_VADVISE", Const, 1, ""}, + {"SYS_VFORK", Const, 0, ""}, + {"SYS_VHANGUP", Const, 0, ""}, + {"SYS_VM86", Const, 0, ""}, + {"SYS_VM86OLD", Const, 0, ""}, + {"SYS_VMSPLICE", Const, 0, ""}, + {"SYS_VM_PRESSURE_MONITOR", Const, 0, ""}, + {"SYS_VSERVER", Const, 0, ""}, + {"SYS_WAIT4", Const, 0, ""}, + {"SYS_WAIT4_NOCANCEL", Const, 0, ""}, + {"SYS_WAIT6", Const, 1, ""}, + {"SYS_WAITEVENT", Const, 0, ""}, + {"SYS_WAITID", Const, 0, ""}, + {"SYS_WAITID_NOCANCEL", Const, 0, ""}, + {"SYS_WAITPID", Const, 0, ""}, + {"SYS_WATCHEVENT", Const, 0, ""}, + {"SYS_WORKQ_KERNRETURN", Const, 0, ""}, + {"SYS_WORKQ_OPEN", Const, 0, ""}, + {"SYS_WRITE", Const, 0, ""}, + {"SYS_WRITEV", Const, 0, ""}, + {"SYS_WRITEV_NOCANCEL", Const, 0, ""}, + {"SYS_WRITE_NOCANCEL", Const, 0, ""}, + {"SYS_YIELD", Const, 0, ""}, + {"SYS__LLSEEK", Const, 0, ""}, + {"SYS__LWP_CONTINUE", Const, 1, ""}, + {"SYS__LWP_CREATE", Const, 1, ""}, + {"SYS__LWP_CTL", Const, 1, ""}, + {"SYS__LWP_DETACH", Const, 1, ""}, + {"SYS__LWP_EXIT", Const, 1, ""}, + {"SYS__LWP_GETNAME", Const, 1, ""}, + {"SYS__LWP_GETPRIVATE", Const, 1, ""}, + {"SYS__LWP_KILL", Const, 1, ""}, + {"SYS__LWP_PARK", Const, 1, ""}, + {"SYS__LWP_SELF", Const, 1, ""}, + {"SYS__LWP_SETNAME", Const, 1, ""}, + {"SYS__LWP_SETPRIVATE", Const, 1, ""}, + {"SYS__LWP_SUSPEND", Const, 1, ""}, + {"SYS__LWP_UNPARK", Const, 1, ""}, + {"SYS__LWP_UNPARK_ALL", Const, 1, ""}, + {"SYS__LWP_WAIT", Const, 1, ""}, + {"SYS__LWP_WAKEUP", Const, 1, ""}, + {"SYS__NEWSELECT", Const, 0, ""}, + {"SYS__PSET_BIND", Const, 1, ""}, + {"SYS__SCHED_GETAFFINITY", Const, 1, ""}, + {"SYS__SCHED_GETPARAM", Const, 1, ""}, + {"SYS__SCHED_SETAFFINITY", Const, 1, ""}, + {"SYS__SCHED_SETPARAM", Const, 1, ""}, + {"SYS__SYSCTL", Const, 0, ""}, + {"SYS__UMTX_LOCK", Const, 0, ""}, + {"SYS__UMTX_OP", Const, 0, ""}, + {"SYS__UMTX_UNLOCK", Const, 0, ""}, + {"SYS___ACL_ACLCHECK_FD", Const, 0, ""}, + {"SYS___ACL_ACLCHECK_FILE", Const, 0, ""}, + {"SYS___ACL_ACLCHECK_LINK", Const, 0, ""}, + {"SYS___ACL_DELETE_FD", Const, 0, ""}, + {"SYS___ACL_DELETE_FILE", Const, 0, ""}, + {"SYS___ACL_DELETE_LINK", Const, 0, ""}, + {"SYS___ACL_GET_FD", Const, 0, ""}, + {"SYS___ACL_GET_FILE", Const, 0, ""}, + {"SYS___ACL_GET_LINK", Const, 0, ""}, + {"SYS___ACL_SET_FD", Const, 0, ""}, + {"SYS___ACL_SET_FILE", Const, 0, ""}, + {"SYS___ACL_SET_LINK", Const, 0, ""}, + {"SYS___CAP_RIGHTS_GET", Const, 14, ""}, + {"SYS___CLONE", Const, 1, ""}, + {"SYS___DISABLE_THREADSIGNAL", Const, 0, ""}, + {"SYS___GETCWD", Const, 0, ""}, + {"SYS___GETLOGIN", Const, 1, ""}, + {"SYS___GET_TCB", Const, 1, ""}, + {"SYS___MAC_EXECVE", Const, 0, ""}, + {"SYS___MAC_GETFSSTAT", Const, 0, ""}, + {"SYS___MAC_GET_FD", Const, 0, ""}, + {"SYS___MAC_GET_FILE", Const, 0, ""}, + {"SYS___MAC_GET_LCID", Const, 0, ""}, + {"SYS___MAC_GET_LCTX", Const, 0, ""}, + {"SYS___MAC_GET_LINK", Const, 0, ""}, + {"SYS___MAC_GET_MOUNT", Const, 0, ""}, + {"SYS___MAC_GET_PID", Const, 0, ""}, + {"SYS___MAC_GET_PROC", Const, 0, ""}, + {"SYS___MAC_MOUNT", Const, 0, ""}, + {"SYS___MAC_SET_FD", Const, 0, ""}, + {"SYS___MAC_SET_FILE", Const, 0, ""}, + {"SYS___MAC_SET_LCTX", Const, 0, ""}, + {"SYS___MAC_SET_LINK", Const, 0, ""}, + {"SYS___MAC_SET_PROC", Const, 0, ""}, + {"SYS___MAC_SYSCALL", Const, 0, ""}, + {"SYS___OLD_SEMWAIT_SIGNAL", Const, 0, ""}, + {"SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL", Const, 0, ""}, + {"SYS___POSIX_CHOWN", Const, 1, ""}, + {"SYS___POSIX_FCHOWN", Const, 1, ""}, + {"SYS___POSIX_LCHOWN", Const, 1, ""}, + {"SYS___POSIX_RENAME", Const, 1, ""}, + {"SYS___PTHREAD_CANCELED", Const, 0, ""}, + {"SYS___PTHREAD_CHDIR", Const, 0, ""}, + {"SYS___PTHREAD_FCHDIR", Const, 0, ""}, + {"SYS___PTHREAD_KILL", Const, 0, ""}, + {"SYS___PTHREAD_MARKCANCEL", Const, 0, ""}, + {"SYS___PTHREAD_SIGMASK", Const, 0, ""}, + {"SYS___QUOTACTL", Const, 1, ""}, + {"SYS___SEMCTL", Const, 1, ""}, + {"SYS___SEMWAIT_SIGNAL", Const, 0, ""}, + {"SYS___SEMWAIT_SIGNAL_NOCANCEL", Const, 0, ""}, + {"SYS___SETLOGIN", Const, 1, ""}, + {"SYS___SETUGID", Const, 0, ""}, + {"SYS___SET_TCB", Const, 1, ""}, + {"SYS___SIGACTION_SIGTRAMP", Const, 1, ""}, + {"SYS___SIGTIMEDWAIT", Const, 1, ""}, + {"SYS___SIGWAIT", Const, 0, ""}, + {"SYS___SIGWAIT_NOCANCEL", Const, 0, ""}, + {"SYS___SYSCTL", Const, 0, ""}, + {"SYS___TFORK", Const, 1, ""}, + {"SYS___THREXIT", Const, 1, ""}, + {"SYS___THRSIGDIVERT", Const, 1, ""}, + {"SYS___THRSLEEP", Const, 1, ""}, + {"SYS___THRWAKEUP", Const, 1, ""}, + {"S_ARCH1", Const, 1, ""}, + {"S_ARCH2", Const, 1, ""}, + {"S_BLKSIZE", Const, 0, ""}, + {"S_IEXEC", Const, 0, ""}, + {"S_IFBLK", Const, 0, ""}, + {"S_IFCHR", Const, 0, ""}, + {"S_IFDIR", Const, 0, ""}, + {"S_IFIFO", Const, 0, ""}, + {"S_IFLNK", Const, 0, ""}, + {"S_IFMT", Const, 0, ""}, + {"S_IFREG", Const, 0, ""}, + {"S_IFSOCK", Const, 0, ""}, + {"S_IFWHT", Const, 0, ""}, + {"S_IREAD", Const, 0, ""}, + {"S_IRGRP", Const, 0, ""}, + {"S_IROTH", Const, 0, ""}, + {"S_IRUSR", Const, 0, ""}, + {"S_IRWXG", Const, 0, ""}, + {"S_IRWXO", Const, 0, ""}, + {"S_IRWXU", Const, 0, ""}, + {"S_ISGID", Const, 0, ""}, + {"S_ISTXT", Const, 0, ""}, + {"S_ISUID", Const, 0, ""}, + {"S_ISVTX", Const, 0, ""}, + {"S_IWGRP", Const, 0, ""}, + {"S_IWOTH", Const, 0, ""}, + {"S_IWRITE", Const, 0, ""}, + {"S_IWUSR", Const, 0, ""}, + {"S_IXGRP", Const, 0, ""}, + {"S_IXOTH", Const, 0, ""}, + {"S_IXUSR", Const, 0, ""}, + {"S_LOGIN_SET", Const, 1, ""}, + {"SecurityAttributes", Type, 0, ""}, + {"SecurityAttributes.InheritHandle", Field, 0, ""}, + {"SecurityAttributes.Length", Field, 0, ""}, + {"SecurityAttributes.SecurityDescriptor", Field, 0, ""}, + {"Seek", Func, 0, "func(fd int, offset int64, whence int) (off int64, err error)"}, + {"Select", Func, 0, "func(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)"}, + {"Sendfile", Func, 0, "func(outfd int, infd int, offset *int64, count int) (written int, err error)"}, + {"Sendmsg", Func, 0, "func(fd int, p []byte, oob []byte, to Sockaddr, flags int) (err error)"}, + {"SendmsgN", Func, 3, "func(fd int, p []byte, oob []byte, to Sockaddr, flags int) (n int, err error)"}, + {"Sendto", Func, 0, "func(fd int, p []byte, flags int, to Sockaddr) (err error)"}, + {"Servent", Type, 0, ""}, + {"Servent.Aliases", Field, 0, ""}, + {"Servent.Name", Field, 0, ""}, + {"Servent.Port", Field, 0, ""}, + {"Servent.Proto", Field, 0, ""}, + {"SetBpf", Func, 0, ""}, + {"SetBpfBuflen", Func, 0, ""}, + {"SetBpfDatalink", Func, 0, ""}, + {"SetBpfHeadercmpl", Func, 0, ""}, + {"SetBpfImmediate", Func, 0, ""}, + {"SetBpfInterface", Func, 0, ""}, + {"SetBpfPromisc", Func, 0, ""}, + {"SetBpfTimeout", Func, 0, ""}, + {"SetCurrentDirectory", Func, 0, ""}, + {"SetEndOfFile", Func, 0, ""}, + {"SetEnvironmentVariable", Func, 0, ""}, + {"SetFileAttributes", Func, 0, ""}, + {"SetFileCompletionNotificationModes", Func, 2, ""}, + {"SetFilePointer", Func, 0, ""}, + {"SetFileTime", Func, 0, ""}, + {"SetHandleInformation", Func, 0, ""}, + {"SetKevent", Func, 0, ""}, + {"SetLsfPromisc", Func, 0, "func(name string, m bool) error"}, + {"SetNonblock", Func, 0, "func(fd int, nonblocking bool) (err error)"}, + {"Setdomainname", Func, 0, "func(p []byte) (err error)"}, + {"Setegid", Func, 0, "func(egid int) (err error)"}, + {"Setenv", Func, 0, "func(key string, value string) error"}, + {"Seteuid", Func, 0, "func(euid int) (err error)"}, + {"Setfsgid", Func, 0, "func(gid int) (err error)"}, + {"Setfsuid", Func, 0, "func(uid int) (err error)"}, + {"Setgid", Func, 0, "func(gid int) (err error)"}, + {"Setgroups", Func, 0, "func(gids []int) (err error)"}, + {"Sethostname", Func, 0, "func(p []byte) (err error)"}, + {"Setlogin", Func, 0, ""}, + {"Setpgid", Func, 0, "func(pid int, pgid int) (err error)"}, + {"Setpriority", Func, 0, "func(which int, who int, prio int) (err error)"}, + {"Setprivexec", Func, 0, ""}, + {"Setregid", Func, 0, "func(rgid int, egid int) (err error)"}, + {"Setresgid", Func, 0, "func(rgid int, egid int, sgid int) (err error)"}, + {"Setresuid", Func, 0, "func(ruid int, euid int, suid int) (err error)"}, + {"Setreuid", Func, 0, "func(ruid int, euid int) (err error)"}, + {"Setrlimit", Func, 0, "func(resource int, rlim *Rlimit) error"}, + {"Setsid", Func, 0, "func() (pid int, err error)"}, + {"Setsockopt", Func, 0, ""}, + {"SetsockoptByte", Func, 0, "func(fd int, level int, opt int, value byte) (err error)"}, + {"SetsockoptICMPv6Filter", Func, 2, "func(fd int, level int, opt int, filter *ICMPv6Filter) error"}, + {"SetsockoptIPMreq", Func, 0, "func(fd int, level int, opt int, mreq *IPMreq) (err error)"}, + {"SetsockoptIPMreqn", Func, 0, "func(fd int, level int, opt int, mreq *IPMreqn) (err error)"}, + {"SetsockoptIPv6Mreq", Func, 0, "func(fd int, level int, opt int, mreq *IPv6Mreq) (err error)"}, + {"SetsockoptInet4Addr", Func, 0, "func(fd int, level int, opt int, value [4]byte) (err error)"}, + {"SetsockoptInt", Func, 0, "func(fd int, level int, opt int, value int) (err error)"}, + {"SetsockoptLinger", Func, 0, "func(fd int, level int, opt int, l *Linger) (err error)"}, + {"SetsockoptString", Func, 0, "func(fd int, level int, opt int, s string) (err error)"}, + {"SetsockoptTimeval", Func, 0, "func(fd int, level int, opt int, tv *Timeval) (err error)"}, + {"Settimeofday", Func, 0, "func(tv *Timeval) (err error)"}, + {"Setuid", Func, 0, "func(uid int) (err error)"}, + {"Setxattr", Func, 1, "func(path string, attr string, data []byte, flags int) (err error)"}, + {"Shutdown", Func, 0, "func(fd int, how int) (err error)"}, + {"SidTypeAlias", Const, 0, ""}, + {"SidTypeComputer", Const, 0, ""}, + {"SidTypeDeletedAccount", Const, 0, ""}, + {"SidTypeDomain", Const, 0, ""}, + {"SidTypeGroup", Const, 0, ""}, + {"SidTypeInvalid", Const, 0, ""}, + {"SidTypeLabel", Const, 0, ""}, + {"SidTypeUnknown", Const, 0, ""}, + {"SidTypeUser", Const, 0, ""}, + {"SidTypeWellKnownGroup", Const, 0, ""}, + {"Signal", Type, 0, ""}, + {"SizeofBpfHdr", Const, 0, ""}, + {"SizeofBpfInsn", Const, 0, ""}, + {"SizeofBpfProgram", Const, 0, ""}, + {"SizeofBpfStat", Const, 0, ""}, + {"SizeofBpfVersion", Const, 0, ""}, + {"SizeofBpfZbuf", Const, 0, ""}, + {"SizeofBpfZbufHeader", Const, 0, ""}, + {"SizeofCmsghdr", Const, 0, ""}, + {"SizeofICMPv6Filter", Const, 2, ""}, + {"SizeofIPMreq", Const, 0, ""}, + {"SizeofIPMreqn", Const, 0, ""}, + {"SizeofIPv6MTUInfo", Const, 2, ""}, + {"SizeofIPv6Mreq", Const, 0, ""}, + {"SizeofIfAddrmsg", Const, 0, ""}, + {"SizeofIfAnnounceMsghdr", Const, 1, ""}, + {"SizeofIfData", Const, 0, ""}, + {"SizeofIfInfomsg", Const, 0, ""}, + {"SizeofIfMsghdr", Const, 0, ""}, + {"SizeofIfaMsghdr", Const, 0, ""}, + {"SizeofIfmaMsghdr", Const, 0, ""}, + {"SizeofIfmaMsghdr2", Const, 0, ""}, + {"SizeofInet4Pktinfo", Const, 0, ""}, + {"SizeofInet6Pktinfo", Const, 0, ""}, + {"SizeofInotifyEvent", Const, 0, ""}, + {"SizeofLinger", Const, 0, ""}, + {"SizeofMsghdr", Const, 0, ""}, + {"SizeofNlAttr", Const, 0, ""}, + {"SizeofNlMsgerr", Const, 0, ""}, + {"SizeofNlMsghdr", Const, 0, ""}, + {"SizeofRtAttr", Const, 0, ""}, + {"SizeofRtGenmsg", Const, 0, ""}, + {"SizeofRtMetrics", Const, 0, ""}, + {"SizeofRtMsg", Const, 0, ""}, + {"SizeofRtMsghdr", Const, 0, ""}, + {"SizeofRtNexthop", Const, 0, ""}, + {"SizeofSockFilter", Const, 0, ""}, + {"SizeofSockFprog", Const, 0, ""}, + {"SizeofSockaddrAny", Const, 0, ""}, + {"SizeofSockaddrDatalink", Const, 0, ""}, + {"SizeofSockaddrInet4", Const, 0, ""}, + {"SizeofSockaddrInet6", Const, 0, ""}, + {"SizeofSockaddrLinklayer", Const, 0, ""}, + {"SizeofSockaddrNetlink", Const, 0, ""}, + {"SizeofSockaddrUnix", Const, 0, ""}, + {"SizeofTCPInfo", Const, 1, ""}, + {"SizeofUcred", Const, 0, ""}, + {"SlicePtrFromStrings", Func, 1, "func(ss []string) ([]*byte, error)"}, + {"SockFilter", Type, 0, ""}, + {"SockFilter.Code", Field, 0, ""}, + {"SockFilter.Jf", Field, 0, ""}, + {"SockFilter.Jt", Field, 0, ""}, + {"SockFilter.K", Field, 0, ""}, + {"SockFprog", Type, 0, ""}, + {"SockFprog.Filter", Field, 0, ""}, + {"SockFprog.Len", Field, 0, ""}, + {"SockFprog.Pad_cgo_0", Field, 0, ""}, + {"Sockaddr", Type, 0, ""}, + {"SockaddrDatalink", Type, 0, ""}, + {"SockaddrDatalink.Alen", Field, 0, ""}, + {"SockaddrDatalink.Data", Field, 0, ""}, + {"SockaddrDatalink.Family", Field, 0, ""}, + {"SockaddrDatalink.Index", Field, 0, ""}, + {"SockaddrDatalink.Len", Field, 0, ""}, + {"SockaddrDatalink.Nlen", Field, 0, ""}, + {"SockaddrDatalink.Slen", Field, 0, ""}, + {"SockaddrDatalink.Type", Field, 0, ""}, + {"SockaddrGen", Type, 0, ""}, + {"SockaddrInet4", Type, 0, ""}, + {"SockaddrInet4.Addr", Field, 0, ""}, + {"SockaddrInet4.Port", Field, 0, ""}, + {"SockaddrInet6", Type, 0, ""}, + {"SockaddrInet6.Addr", Field, 0, ""}, + {"SockaddrInet6.Port", Field, 0, ""}, + {"SockaddrInet6.ZoneId", Field, 0, ""}, + {"SockaddrLinklayer", Type, 0, ""}, + {"SockaddrLinklayer.Addr", Field, 0, ""}, + {"SockaddrLinklayer.Halen", Field, 0, ""}, + {"SockaddrLinklayer.Hatype", Field, 0, ""}, + {"SockaddrLinklayer.Ifindex", Field, 0, ""}, + {"SockaddrLinklayer.Pkttype", Field, 0, ""}, + {"SockaddrLinklayer.Protocol", Field, 0, ""}, + {"SockaddrNetlink", Type, 0, ""}, + {"SockaddrNetlink.Family", Field, 0, ""}, + {"SockaddrNetlink.Groups", Field, 0, ""}, + {"SockaddrNetlink.Pad", Field, 0, ""}, + {"SockaddrNetlink.Pid", Field, 0, ""}, + {"SockaddrUnix", Type, 0, ""}, + {"SockaddrUnix.Name", Field, 0, ""}, + {"Socket", Func, 0, "func(domain int, typ int, proto int) (fd int, err error)"}, + {"SocketControlMessage", Type, 0, ""}, + {"SocketControlMessage.Data", Field, 0, ""}, + {"SocketControlMessage.Header", Field, 0, ""}, + {"SocketDisableIPv6", Var, 0, ""}, + {"Socketpair", Func, 0, "func(domain int, typ int, proto int) (fd [2]int, err error)"}, + {"Splice", Func, 0, "func(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)"}, + {"StartProcess", Func, 0, "func(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error)"}, + {"StartupInfo", Type, 0, ""}, + {"StartupInfo.Cb", Field, 0, ""}, + {"StartupInfo.Desktop", Field, 0, ""}, + {"StartupInfo.FillAttribute", Field, 0, ""}, + {"StartupInfo.Flags", Field, 0, ""}, + {"StartupInfo.ShowWindow", Field, 0, ""}, + {"StartupInfo.StdErr", Field, 0, ""}, + {"StartupInfo.StdInput", Field, 0, ""}, + {"StartupInfo.StdOutput", Field, 0, ""}, + {"StartupInfo.Title", Field, 0, ""}, + {"StartupInfo.X", Field, 0, ""}, + {"StartupInfo.XCountChars", Field, 0, ""}, + {"StartupInfo.XSize", Field, 0, ""}, + {"StartupInfo.Y", Field, 0, ""}, + {"StartupInfo.YCountChars", Field, 0, ""}, + {"StartupInfo.YSize", Field, 0, ""}, + {"Stat", Func, 0, "func(path string, stat *Stat_t) (err error)"}, + {"Stat_t", Type, 0, ""}, + {"Stat_t.Atim", Field, 0, ""}, + {"Stat_t.Atim_ext", Field, 12, ""}, + {"Stat_t.Atimespec", Field, 0, ""}, + {"Stat_t.Birthtimespec", Field, 0, ""}, + {"Stat_t.Blksize", Field, 0, ""}, + {"Stat_t.Blocks", Field, 0, ""}, + {"Stat_t.Btim_ext", Field, 12, ""}, + {"Stat_t.Ctim", Field, 0, ""}, + {"Stat_t.Ctim_ext", Field, 12, ""}, + {"Stat_t.Ctimespec", Field, 0, ""}, + {"Stat_t.Dev", Field, 0, ""}, + {"Stat_t.Flags", Field, 0, ""}, + {"Stat_t.Gen", Field, 0, ""}, + {"Stat_t.Gid", Field, 0, ""}, + {"Stat_t.Ino", Field, 0, ""}, + {"Stat_t.Lspare", Field, 0, ""}, + {"Stat_t.Lspare0", Field, 2, ""}, + {"Stat_t.Lspare1", Field, 2, ""}, + {"Stat_t.Mode", Field, 0, ""}, + {"Stat_t.Mtim", Field, 0, ""}, + {"Stat_t.Mtim_ext", Field, 12, ""}, + {"Stat_t.Mtimespec", Field, 0, ""}, + {"Stat_t.Nlink", Field, 0, ""}, + {"Stat_t.Pad_cgo_0", Field, 0, ""}, + {"Stat_t.Pad_cgo_1", Field, 0, ""}, + {"Stat_t.Pad_cgo_2", Field, 0, ""}, + {"Stat_t.Padding0", Field, 12, ""}, + {"Stat_t.Padding1", Field, 12, ""}, + {"Stat_t.Qspare", Field, 0, ""}, + {"Stat_t.Rdev", Field, 0, ""}, + {"Stat_t.Size", Field, 0, ""}, + {"Stat_t.Spare", Field, 2, ""}, + {"Stat_t.Uid", Field, 0, ""}, + {"Stat_t.X__pad0", Field, 0, ""}, + {"Stat_t.X__pad1", Field, 0, ""}, + {"Stat_t.X__pad2", Field, 0, ""}, + {"Stat_t.X__st_birthtim", Field, 2, ""}, + {"Stat_t.X__st_ino", Field, 0, ""}, + {"Stat_t.X__unused", Field, 0, ""}, + {"Statfs", Func, 0, "func(path string, buf *Statfs_t) (err error)"}, + {"Statfs_t", Type, 0, ""}, + {"Statfs_t.Asyncreads", Field, 0, ""}, + {"Statfs_t.Asyncwrites", Field, 0, ""}, + {"Statfs_t.Bavail", Field, 0, ""}, + {"Statfs_t.Bfree", Field, 0, ""}, + {"Statfs_t.Blocks", Field, 0, ""}, + {"Statfs_t.Bsize", Field, 0, ""}, + {"Statfs_t.Charspare", Field, 0, ""}, + {"Statfs_t.F_asyncreads", Field, 2, ""}, + {"Statfs_t.F_asyncwrites", Field, 2, ""}, + {"Statfs_t.F_bavail", Field, 2, ""}, + {"Statfs_t.F_bfree", Field, 2, ""}, + {"Statfs_t.F_blocks", Field, 2, ""}, + {"Statfs_t.F_bsize", Field, 2, ""}, + {"Statfs_t.F_ctime", Field, 2, ""}, + {"Statfs_t.F_favail", Field, 2, ""}, + {"Statfs_t.F_ffree", Field, 2, ""}, + {"Statfs_t.F_files", Field, 2, ""}, + {"Statfs_t.F_flags", Field, 2, ""}, + {"Statfs_t.F_fsid", Field, 2, ""}, + {"Statfs_t.F_fstypename", Field, 2, ""}, + {"Statfs_t.F_iosize", Field, 2, ""}, + {"Statfs_t.F_mntfromname", Field, 2, ""}, + {"Statfs_t.F_mntfromspec", Field, 3, ""}, + {"Statfs_t.F_mntonname", Field, 2, ""}, + {"Statfs_t.F_namemax", Field, 2, ""}, + {"Statfs_t.F_owner", Field, 2, ""}, + {"Statfs_t.F_spare", Field, 2, ""}, + {"Statfs_t.F_syncreads", Field, 2, ""}, + {"Statfs_t.F_syncwrites", Field, 2, ""}, + {"Statfs_t.Ffree", Field, 0, ""}, + {"Statfs_t.Files", Field, 0, ""}, + {"Statfs_t.Flags", Field, 0, ""}, + {"Statfs_t.Frsize", Field, 0, ""}, + {"Statfs_t.Fsid", Field, 0, ""}, + {"Statfs_t.Fssubtype", Field, 0, ""}, + {"Statfs_t.Fstypename", Field, 0, ""}, + {"Statfs_t.Iosize", Field, 0, ""}, + {"Statfs_t.Mntfromname", Field, 0, ""}, + {"Statfs_t.Mntonname", Field, 0, ""}, + {"Statfs_t.Mount_info", Field, 2, ""}, + {"Statfs_t.Namelen", Field, 0, ""}, + {"Statfs_t.Namemax", Field, 0, ""}, + {"Statfs_t.Owner", Field, 0, ""}, + {"Statfs_t.Pad_cgo_0", Field, 0, ""}, + {"Statfs_t.Pad_cgo_1", Field, 2, ""}, + {"Statfs_t.Reserved", Field, 0, ""}, + {"Statfs_t.Spare", Field, 0, ""}, + {"Statfs_t.Syncreads", Field, 0, ""}, + {"Statfs_t.Syncwrites", Field, 0, ""}, + {"Statfs_t.Type", Field, 0, ""}, + {"Statfs_t.Version", Field, 0, ""}, + {"Stderr", Var, 0, ""}, + {"Stdin", Var, 0, ""}, + {"Stdout", Var, 0, ""}, + {"StringBytePtr", Func, 0, "func(s string) *byte"}, + {"StringByteSlice", Func, 0, "func(s string) []byte"}, + {"StringSlicePtr", Func, 0, "func(ss []string) []*byte"}, + {"StringToSid", Func, 0, ""}, + {"StringToUTF16", Func, 0, ""}, + {"StringToUTF16Ptr", Func, 0, ""}, + {"Symlink", Func, 0, "func(oldpath string, newpath string) (err error)"}, + {"Sync", Func, 0, "func()"}, + {"SyncFileRange", Func, 0, "func(fd int, off int64, n int64, flags int) (err error)"}, + {"SysProcAttr", Type, 0, ""}, + {"SysProcAttr.AdditionalInheritedHandles", Field, 17, ""}, + {"SysProcAttr.AmbientCaps", Field, 9, ""}, + {"SysProcAttr.CgroupFD", Field, 20, ""}, + {"SysProcAttr.Chroot", Field, 0, ""}, + {"SysProcAttr.Cloneflags", Field, 2, ""}, + {"SysProcAttr.CmdLine", Field, 0, ""}, + {"SysProcAttr.CreationFlags", Field, 1, ""}, + {"SysProcAttr.Credential", Field, 0, ""}, + {"SysProcAttr.Ctty", Field, 1, ""}, + {"SysProcAttr.Foreground", Field, 5, ""}, + {"SysProcAttr.GidMappings", Field, 4, ""}, + {"SysProcAttr.GidMappingsEnableSetgroups", Field, 5, ""}, + {"SysProcAttr.HideWindow", Field, 0, ""}, + {"SysProcAttr.Jail", Field, 21, ""}, + {"SysProcAttr.NoInheritHandles", Field, 16, ""}, + {"SysProcAttr.Noctty", Field, 0, ""}, + {"SysProcAttr.ParentProcess", Field, 17, ""}, + {"SysProcAttr.Pdeathsig", Field, 0, ""}, + {"SysProcAttr.Pgid", Field, 5, ""}, + {"SysProcAttr.PidFD", Field, 22, ""}, + {"SysProcAttr.ProcessAttributes", Field, 13, ""}, + {"SysProcAttr.Ptrace", Field, 0, ""}, + {"SysProcAttr.Setctty", Field, 0, ""}, + {"SysProcAttr.Setpgid", Field, 0, ""}, + {"SysProcAttr.Setsid", Field, 0, ""}, + {"SysProcAttr.ThreadAttributes", Field, 13, ""}, + {"SysProcAttr.Token", Field, 10, ""}, + {"SysProcAttr.UidMappings", Field, 4, ""}, + {"SysProcAttr.Unshareflags", Field, 7, ""}, + {"SysProcAttr.UseCgroupFD", Field, 20, ""}, + {"SysProcIDMap", Type, 4, ""}, + {"SysProcIDMap.ContainerID", Field, 4, ""}, + {"SysProcIDMap.HostID", Field, 4, ""}, + {"SysProcIDMap.Size", Field, 4, ""}, + {"Syscall", Func, 0, "func(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr) (r1 uintptr, r2 uintptr, err Errno)"}, + {"Syscall12", Func, 0, ""}, + {"Syscall15", Func, 0, ""}, + {"Syscall18", Func, 12, ""}, + {"Syscall6", Func, 0, "func(trap uintptr, a1 uintptr, a2 uintptr, a3 uintptr, a4 uintptr, a5 uintptr, a6 uintptr) (r1 uintptr, r2 uintptr, err Errno)"}, + {"Syscall9", Func, 0, ""}, + {"SyscallN", Func, 18, ""}, + {"Sysctl", Func, 0, ""}, + {"SysctlUint32", Func, 0, ""}, + {"Sysctlnode", Type, 2, ""}, + {"Sysctlnode.Flags", Field, 2, ""}, + {"Sysctlnode.Name", Field, 2, ""}, + {"Sysctlnode.Num", Field, 2, ""}, + {"Sysctlnode.Un", Field, 2, ""}, + {"Sysctlnode.Ver", Field, 2, ""}, + {"Sysctlnode.X__rsvd", Field, 2, ""}, + {"Sysctlnode.X_sysctl_desc", Field, 2, ""}, + {"Sysctlnode.X_sysctl_func", Field, 2, ""}, + {"Sysctlnode.X_sysctl_parent", Field, 2, ""}, + {"Sysctlnode.X_sysctl_size", Field, 2, ""}, + {"Sysinfo", Func, 0, "func(info *Sysinfo_t) (err error)"}, + {"Sysinfo_t", Type, 0, ""}, + {"Sysinfo_t.Bufferram", Field, 0, ""}, + {"Sysinfo_t.Freehigh", Field, 0, ""}, + {"Sysinfo_t.Freeram", Field, 0, ""}, + {"Sysinfo_t.Freeswap", Field, 0, ""}, + {"Sysinfo_t.Loads", Field, 0, ""}, + {"Sysinfo_t.Pad", Field, 0, ""}, + {"Sysinfo_t.Pad_cgo_0", Field, 0, ""}, + {"Sysinfo_t.Pad_cgo_1", Field, 0, ""}, + {"Sysinfo_t.Procs", Field, 0, ""}, + {"Sysinfo_t.Sharedram", Field, 0, ""}, + {"Sysinfo_t.Totalhigh", Field, 0, ""}, + {"Sysinfo_t.Totalram", Field, 0, ""}, + {"Sysinfo_t.Totalswap", Field, 0, ""}, + {"Sysinfo_t.Unit", Field, 0, ""}, + {"Sysinfo_t.Uptime", Field, 0, ""}, + {"Sysinfo_t.X_f", Field, 0, ""}, + {"Systemtime", Type, 0, ""}, + {"Systemtime.Day", Field, 0, ""}, + {"Systemtime.DayOfWeek", Field, 0, ""}, + {"Systemtime.Hour", Field, 0, ""}, + {"Systemtime.Milliseconds", Field, 0, ""}, + {"Systemtime.Minute", Field, 0, ""}, + {"Systemtime.Month", Field, 0, ""}, + {"Systemtime.Second", Field, 0, ""}, + {"Systemtime.Year", Field, 0, ""}, + {"TCGETS", Const, 0, ""}, + {"TCIFLUSH", Const, 1, ""}, + {"TCIOFLUSH", Const, 1, ""}, + {"TCOFLUSH", Const, 1, ""}, + {"TCPInfo", Type, 1, ""}, + {"TCPInfo.Advmss", Field, 1, ""}, + {"TCPInfo.Ato", Field, 1, ""}, + {"TCPInfo.Backoff", Field, 1, ""}, + {"TCPInfo.Ca_state", Field, 1, ""}, + {"TCPInfo.Fackets", Field, 1, ""}, + {"TCPInfo.Last_ack_recv", Field, 1, ""}, + {"TCPInfo.Last_ack_sent", Field, 1, ""}, + {"TCPInfo.Last_data_recv", Field, 1, ""}, + {"TCPInfo.Last_data_sent", Field, 1, ""}, + {"TCPInfo.Lost", Field, 1, ""}, + {"TCPInfo.Options", Field, 1, ""}, + {"TCPInfo.Pad_cgo_0", Field, 1, ""}, + {"TCPInfo.Pmtu", Field, 1, ""}, + {"TCPInfo.Probes", Field, 1, ""}, + {"TCPInfo.Rcv_mss", Field, 1, ""}, + {"TCPInfo.Rcv_rtt", Field, 1, ""}, + {"TCPInfo.Rcv_space", Field, 1, ""}, + {"TCPInfo.Rcv_ssthresh", Field, 1, ""}, + {"TCPInfo.Reordering", Field, 1, ""}, + {"TCPInfo.Retrans", Field, 1, ""}, + {"TCPInfo.Retransmits", Field, 1, ""}, + {"TCPInfo.Rto", Field, 1, ""}, + {"TCPInfo.Rtt", Field, 1, ""}, + {"TCPInfo.Rttvar", Field, 1, ""}, + {"TCPInfo.Sacked", Field, 1, ""}, + {"TCPInfo.Snd_cwnd", Field, 1, ""}, + {"TCPInfo.Snd_mss", Field, 1, ""}, + {"TCPInfo.Snd_ssthresh", Field, 1, ""}, + {"TCPInfo.State", Field, 1, ""}, + {"TCPInfo.Total_retrans", Field, 1, ""}, + {"TCPInfo.Unacked", Field, 1, ""}, + {"TCPKeepalive", Type, 3, ""}, + {"TCPKeepalive.Interval", Field, 3, ""}, + {"TCPKeepalive.OnOff", Field, 3, ""}, + {"TCPKeepalive.Time", Field, 3, ""}, + {"TCP_CA_NAME_MAX", Const, 0, ""}, + {"TCP_CONGCTL", Const, 1, ""}, + {"TCP_CONGESTION", Const, 0, ""}, + {"TCP_CONNECTIONTIMEOUT", Const, 0, ""}, + {"TCP_CORK", Const, 0, ""}, + {"TCP_DEFER_ACCEPT", Const, 0, ""}, + {"TCP_ENABLE_ECN", Const, 16, ""}, + {"TCP_INFO", Const, 0, ""}, + {"TCP_KEEPALIVE", Const, 0, ""}, + {"TCP_KEEPCNT", Const, 0, ""}, + {"TCP_KEEPIDLE", Const, 0, ""}, + {"TCP_KEEPINIT", Const, 1, ""}, + {"TCP_KEEPINTVL", Const, 0, ""}, + {"TCP_LINGER2", Const, 0, ""}, + {"TCP_MAXBURST", Const, 0, ""}, + {"TCP_MAXHLEN", Const, 0, ""}, + {"TCP_MAXOLEN", Const, 0, ""}, + {"TCP_MAXSEG", Const, 0, ""}, + {"TCP_MAXWIN", Const, 0, ""}, + {"TCP_MAX_SACK", Const, 0, ""}, + {"TCP_MAX_WINSHIFT", Const, 0, ""}, + {"TCP_MD5SIG", Const, 0, ""}, + {"TCP_MD5SIG_MAXKEYLEN", Const, 0, ""}, + {"TCP_MINMSS", Const, 0, ""}, + {"TCP_MINMSSOVERLOAD", Const, 0, ""}, + {"TCP_MSS", Const, 0, ""}, + {"TCP_NODELAY", Const, 0, ""}, + {"TCP_NOOPT", Const, 0, ""}, + {"TCP_NOPUSH", Const, 0, ""}, + {"TCP_NOTSENT_LOWAT", Const, 16, ""}, + {"TCP_NSTATES", Const, 1, ""}, + {"TCP_QUICKACK", Const, 0, ""}, + {"TCP_RXT_CONNDROPTIME", Const, 0, ""}, + {"TCP_RXT_FINDROP", Const, 0, ""}, + {"TCP_SACK_ENABLE", Const, 1, ""}, + {"TCP_SENDMOREACKS", Const, 16, ""}, + {"TCP_SYNCNT", Const, 0, ""}, + {"TCP_VENDOR", Const, 3, ""}, + {"TCP_WINDOW_CLAMP", Const, 0, ""}, + {"TCSAFLUSH", Const, 1, ""}, + {"TCSETS", Const, 0, ""}, + {"TF_DISCONNECT", Const, 0, ""}, + {"TF_REUSE_SOCKET", Const, 0, ""}, + {"TF_USE_DEFAULT_WORKER", Const, 0, ""}, + {"TF_USE_KERNEL_APC", Const, 0, ""}, + {"TF_USE_SYSTEM_THREAD", Const, 0, ""}, + {"TF_WRITE_BEHIND", Const, 0, ""}, + {"TH32CS_INHERIT", Const, 4, ""}, + {"TH32CS_SNAPALL", Const, 4, ""}, + {"TH32CS_SNAPHEAPLIST", Const, 4, ""}, + {"TH32CS_SNAPMODULE", Const, 4, ""}, + {"TH32CS_SNAPMODULE32", Const, 4, ""}, + {"TH32CS_SNAPPROCESS", Const, 4, ""}, + {"TH32CS_SNAPTHREAD", Const, 4, ""}, + {"TIME_ZONE_ID_DAYLIGHT", Const, 0, ""}, + {"TIME_ZONE_ID_STANDARD", Const, 0, ""}, + {"TIME_ZONE_ID_UNKNOWN", Const, 0, ""}, + {"TIOCCBRK", Const, 0, ""}, + {"TIOCCDTR", Const, 0, ""}, + {"TIOCCONS", Const, 0, ""}, + {"TIOCDCDTIMESTAMP", Const, 0, ""}, + {"TIOCDRAIN", Const, 0, ""}, + {"TIOCDSIMICROCODE", Const, 0, ""}, + {"TIOCEXCL", Const, 0, ""}, + {"TIOCEXT", Const, 0, ""}, + {"TIOCFLAG_CDTRCTS", Const, 1, ""}, + {"TIOCFLAG_CLOCAL", Const, 1, ""}, + {"TIOCFLAG_CRTSCTS", Const, 1, ""}, + {"TIOCFLAG_MDMBUF", Const, 1, ""}, + {"TIOCFLAG_PPS", Const, 1, ""}, + {"TIOCFLAG_SOFTCAR", Const, 1, ""}, + {"TIOCFLUSH", Const, 0, ""}, + {"TIOCGDEV", Const, 0, ""}, + {"TIOCGDRAINWAIT", Const, 0, ""}, + {"TIOCGETA", Const, 0, ""}, + {"TIOCGETD", Const, 0, ""}, + {"TIOCGFLAGS", Const, 1, ""}, + {"TIOCGICOUNT", Const, 0, ""}, + {"TIOCGLCKTRMIOS", Const, 0, ""}, + {"TIOCGLINED", Const, 1, ""}, + {"TIOCGPGRP", Const, 0, ""}, + {"TIOCGPTN", Const, 0, ""}, + {"TIOCGQSIZE", Const, 1, ""}, + {"TIOCGRANTPT", Const, 1, ""}, + {"TIOCGRS485", Const, 0, ""}, + {"TIOCGSERIAL", Const, 0, ""}, + {"TIOCGSID", Const, 0, ""}, + {"TIOCGSIZE", Const, 1, ""}, + {"TIOCGSOFTCAR", Const, 0, ""}, + {"TIOCGTSTAMP", Const, 1, ""}, + {"TIOCGWINSZ", Const, 0, ""}, + {"TIOCINQ", Const, 0, ""}, + {"TIOCIXOFF", Const, 0, ""}, + {"TIOCIXON", Const, 0, ""}, + {"TIOCLINUX", Const, 0, ""}, + {"TIOCMBIC", Const, 0, ""}, + {"TIOCMBIS", Const, 0, ""}, + {"TIOCMGDTRWAIT", Const, 0, ""}, + {"TIOCMGET", Const, 0, ""}, + {"TIOCMIWAIT", Const, 0, ""}, + {"TIOCMODG", Const, 0, ""}, + {"TIOCMODS", Const, 0, ""}, + {"TIOCMSDTRWAIT", Const, 0, ""}, + {"TIOCMSET", Const, 0, ""}, + {"TIOCM_CAR", Const, 0, ""}, + {"TIOCM_CD", Const, 0, ""}, + {"TIOCM_CTS", Const, 0, ""}, + {"TIOCM_DCD", Const, 0, ""}, + {"TIOCM_DSR", Const, 0, ""}, + {"TIOCM_DTR", Const, 0, ""}, + {"TIOCM_LE", Const, 0, ""}, + {"TIOCM_RI", Const, 0, ""}, + {"TIOCM_RNG", Const, 0, ""}, + {"TIOCM_RTS", Const, 0, ""}, + {"TIOCM_SR", Const, 0, ""}, + {"TIOCM_ST", Const, 0, ""}, + {"TIOCNOTTY", Const, 0, ""}, + {"TIOCNXCL", Const, 0, ""}, + {"TIOCOUTQ", Const, 0, ""}, + {"TIOCPKT", Const, 0, ""}, + {"TIOCPKT_DATA", Const, 0, ""}, + {"TIOCPKT_DOSTOP", Const, 0, ""}, + {"TIOCPKT_FLUSHREAD", Const, 0, ""}, + {"TIOCPKT_FLUSHWRITE", Const, 0, ""}, + {"TIOCPKT_IOCTL", Const, 0, ""}, + {"TIOCPKT_NOSTOP", Const, 0, ""}, + {"TIOCPKT_START", Const, 0, ""}, + {"TIOCPKT_STOP", Const, 0, ""}, + {"TIOCPTMASTER", Const, 0, ""}, + {"TIOCPTMGET", Const, 1, ""}, + {"TIOCPTSNAME", Const, 1, ""}, + {"TIOCPTYGNAME", Const, 0, ""}, + {"TIOCPTYGRANT", Const, 0, ""}, + {"TIOCPTYUNLK", Const, 0, ""}, + {"TIOCRCVFRAME", Const, 1, ""}, + {"TIOCREMOTE", Const, 0, ""}, + {"TIOCSBRK", Const, 0, ""}, + {"TIOCSCONS", Const, 0, ""}, + {"TIOCSCTTY", Const, 0, ""}, + {"TIOCSDRAINWAIT", Const, 0, ""}, + {"TIOCSDTR", Const, 0, ""}, + {"TIOCSERCONFIG", Const, 0, ""}, + {"TIOCSERGETLSR", Const, 0, ""}, + {"TIOCSERGETMULTI", Const, 0, ""}, + {"TIOCSERGSTRUCT", Const, 0, ""}, + {"TIOCSERGWILD", Const, 0, ""}, + {"TIOCSERSETMULTI", Const, 0, ""}, + {"TIOCSERSWILD", Const, 0, ""}, + {"TIOCSER_TEMT", Const, 0, ""}, + {"TIOCSETA", Const, 0, ""}, + {"TIOCSETAF", Const, 0, ""}, + {"TIOCSETAW", Const, 0, ""}, + {"TIOCSETD", Const, 0, ""}, + {"TIOCSFLAGS", Const, 1, ""}, + {"TIOCSIG", Const, 0, ""}, + {"TIOCSLCKTRMIOS", Const, 0, ""}, + {"TIOCSLINED", Const, 1, ""}, + {"TIOCSPGRP", Const, 0, ""}, + {"TIOCSPTLCK", Const, 0, ""}, + {"TIOCSQSIZE", Const, 1, ""}, + {"TIOCSRS485", Const, 0, ""}, + {"TIOCSSERIAL", Const, 0, ""}, + {"TIOCSSIZE", Const, 1, ""}, + {"TIOCSSOFTCAR", Const, 0, ""}, + {"TIOCSTART", Const, 0, ""}, + {"TIOCSTAT", Const, 0, ""}, + {"TIOCSTI", Const, 0, ""}, + {"TIOCSTOP", Const, 0, ""}, + {"TIOCSTSTAMP", Const, 1, ""}, + {"TIOCSWINSZ", Const, 0, ""}, + {"TIOCTIMESTAMP", Const, 0, ""}, + {"TIOCUCNTL", Const, 0, ""}, + {"TIOCVHANGUP", Const, 0, ""}, + {"TIOCXMTFRAME", Const, 1, ""}, + {"TOKEN_ADJUST_DEFAULT", Const, 0, ""}, + {"TOKEN_ADJUST_GROUPS", Const, 0, ""}, + {"TOKEN_ADJUST_PRIVILEGES", Const, 0, ""}, + {"TOKEN_ADJUST_SESSIONID", Const, 11, ""}, + {"TOKEN_ALL_ACCESS", Const, 0, ""}, + {"TOKEN_ASSIGN_PRIMARY", Const, 0, ""}, + {"TOKEN_DUPLICATE", Const, 0, ""}, + {"TOKEN_EXECUTE", Const, 0, ""}, + {"TOKEN_IMPERSONATE", Const, 0, ""}, + {"TOKEN_QUERY", Const, 0, ""}, + {"TOKEN_QUERY_SOURCE", Const, 0, ""}, + {"TOKEN_READ", Const, 0, ""}, + {"TOKEN_WRITE", Const, 0, ""}, + {"TOSTOP", Const, 0, ""}, + {"TRUNCATE_EXISTING", Const, 0, ""}, + {"TUNATTACHFILTER", Const, 0, ""}, + {"TUNDETACHFILTER", Const, 0, ""}, + {"TUNGETFEATURES", Const, 0, ""}, + {"TUNGETIFF", Const, 0, ""}, + {"TUNGETSNDBUF", Const, 0, ""}, + {"TUNGETVNETHDRSZ", Const, 0, ""}, + {"TUNSETDEBUG", Const, 0, ""}, + {"TUNSETGROUP", Const, 0, ""}, + {"TUNSETIFF", Const, 0, ""}, + {"TUNSETLINK", Const, 0, ""}, + {"TUNSETNOCSUM", Const, 0, ""}, + {"TUNSETOFFLOAD", Const, 0, ""}, + {"TUNSETOWNER", Const, 0, ""}, + {"TUNSETPERSIST", Const, 0, ""}, + {"TUNSETSNDBUF", Const, 0, ""}, + {"TUNSETTXFILTER", Const, 0, ""}, + {"TUNSETVNETHDRSZ", Const, 0, ""}, + {"Tee", Func, 0, "func(rfd int, wfd int, len int, flags int) (n int64, err error)"}, + {"TerminateProcess", Func, 0, ""}, + {"Termios", Type, 0, ""}, + {"Termios.Cc", Field, 0, ""}, + {"Termios.Cflag", Field, 0, ""}, + {"Termios.Iflag", Field, 0, ""}, + {"Termios.Ispeed", Field, 0, ""}, + {"Termios.Lflag", Field, 0, ""}, + {"Termios.Line", Field, 0, ""}, + {"Termios.Oflag", Field, 0, ""}, + {"Termios.Ospeed", Field, 0, ""}, + {"Termios.Pad_cgo_0", Field, 0, ""}, + {"Tgkill", Func, 0, "func(tgid int, tid int, sig Signal) (err error)"}, + {"Time", Func, 0, "func(t *Time_t) (tt Time_t, err error)"}, + {"Time_t", Type, 0, ""}, + {"Times", Func, 0, "func(tms *Tms) (ticks uintptr, err error)"}, + {"Timespec", Type, 0, ""}, + {"Timespec.Nsec", Field, 0, ""}, + {"Timespec.Pad_cgo_0", Field, 2, ""}, + {"Timespec.Sec", Field, 0, ""}, + {"TimespecToNsec", Func, 0, "func(ts Timespec) int64"}, + {"Timeval", Type, 0, ""}, + {"Timeval.Pad_cgo_0", Field, 0, ""}, + {"Timeval.Sec", Field, 0, ""}, + {"Timeval.Usec", Field, 0, ""}, + {"Timeval32", Type, 0, ""}, + {"Timeval32.Sec", Field, 0, ""}, + {"Timeval32.Usec", Field, 0, ""}, + {"TimevalToNsec", Func, 0, "func(tv Timeval) int64"}, + {"Timex", Type, 0, ""}, + {"Timex.Calcnt", Field, 0, ""}, + {"Timex.Constant", Field, 0, ""}, + {"Timex.Errcnt", Field, 0, ""}, + {"Timex.Esterror", Field, 0, ""}, + {"Timex.Freq", Field, 0, ""}, + {"Timex.Jitcnt", Field, 0, ""}, + {"Timex.Jitter", Field, 0, ""}, + {"Timex.Maxerror", Field, 0, ""}, + {"Timex.Modes", Field, 0, ""}, + {"Timex.Offset", Field, 0, ""}, + {"Timex.Pad_cgo_0", Field, 0, ""}, + {"Timex.Pad_cgo_1", Field, 0, ""}, + {"Timex.Pad_cgo_2", Field, 0, ""}, + {"Timex.Pad_cgo_3", Field, 0, ""}, + {"Timex.Ppsfreq", Field, 0, ""}, + {"Timex.Precision", Field, 0, ""}, + {"Timex.Shift", Field, 0, ""}, + {"Timex.Stabil", Field, 0, ""}, + {"Timex.Status", Field, 0, ""}, + {"Timex.Stbcnt", Field, 0, ""}, + {"Timex.Tai", Field, 0, ""}, + {"Timex.Tick", Field, 0, ""}, + {"Timex.Time", Field, 0, ""}, + {"Timex.Tolerance", Field, 0, ""}, + {"Timezoneinformation", Type, 0, ""}, + {"Timezoneinformation.Bias", Field, 0, ""}, + {"Timezoneinformation.DaylightBias", Field, 0, ""}, + {"Timezoneinformation.DaylightDate", Field, 0, ""}, + {"Timezoneinformation.DaylightName", Field, 0, ""}, + {"Timezoneinformation.StandardBias", Field, 0, ""}, + {"Timezoneinformation.StandardDate", Field, 0, ""}, + {"Timezoneinformation.StandardName", Field, 0, ""}, + {"Tms", Type, 0, ""}, + {"Tms.Cstime", Field, 0, ""}, + {"Tms.Cutime", Field, 0, ""}, + {"Tms.Stime", Field, 0, ""}, + {"Tms.Utime", Field, 0, ""}, + {"Token", Type, 0, ""}, + {"TokenAccessInformation", Const, 0, ""}, + {"TokenAuditPolicy", Const, 0, ""}, + {"TokenDefaultDacl", Const, 0, ""}, + {"TokenElevation", Const, 0, ""}, + {"TokenElevationType", Const, 0, ""}, + {"TokenGroups", Const, 0, ""}, + {"TokenGroupsAndPrivileges", Const, 0, ""}, + {"TokenHasRestrictions", Const, 0, ""}, + {"TokenImpersonationLevel", Const, 0, ""}, + {"TokenIntegrityLevel", Const, 0, ""}, + {"TokenLinkedToken", Const, 0, ""}, + {"TokenLogonSid", Const, 0, ""}, + {"TokenMandatoryPolicy", Const, 0, ""}, + {"TokenOrigin", Const, 0, ""}, + {"TokenOwner", Const, 0, ""}, + {"TokenPrimaryGroup", Const, 0, ""}, + {"TokenPrivileges", Const, 0, ""}, + {"TokenRestrictedSids", Const, 0, ""}, + {"TokenSandBoxInert", Const, 0, ""}, + {"TokenSessionId", Const, 0, ""}, + {"TokenSessionReference", Const, 0, ""}, + {"TokenSource", Const, 0, ""}, + {"TokenStatistics", Const, 0, ""}, + {"TokenType", Const, 0, ""}, + {"TokenUIAccess", Const, 0, ""}, + {"TokenUser", Const, 0, ""}, + {"TokenVirtualizationAllowed", Const, 0, ""}, + {"TokenVirtualizationEnabled", Const, 0, ""}, + {"Tokenprimarygroup", Type, 0, ""}, + {"Tokenprimarygroup.PrimaryGroup", Field, 0, ""}, + {"Tokenuser", Type, 0, ""}, + {"Tokenuser.User", Field, 0, ""}, + {"TranslateAccountName", Func, 0, ""}, + {"TranslateName", Func, 0, ""}, + {"TransmitFile", Func, 0, ""}, + {"TransmitFileBuffers", Type, 0, ""}, + {"TransmitFileBuffers.Head", Field, 0, ""}, + {"TransmitFileBuffers.HeadLength", Field, 0, ""}, + {"TransmitFileBuffers.Tail", Field, 0, ""}, + {"TransmitFileBuffers.TailLength", Field, 0, ""}, + {"Truncate", Func, 0, "func(path string, length int64) (err error)"}, + {"UNIX_PATH_MAX", Const, 12, ""}, + {"USAGE_MATCH_TYPE_AND", Const, 0, ""}, + {"USAGE_MATCH_TYPE_OR", Const, 0, ""}, + {"UTF16FromString", Func, 1, ""}, + {"UTF16PtrFromString", Func, 1, ""}, + {"UTF16ToString", Func, 0, ""}, + {"Ucred", Type, 0, ""}, + {"Ucred.Gid", Field, 0, ""}, + {"Ucred.Pid", Field, 0, ""}, + {"Ucred.Uid", Field, 0, ""}, + {"Umask", Func, 0, "func(mask int) (oldmask int)"}, + {"Uname", Func, 0, "func(buf *Utsname) (err error)"}, + {"Undelete", Func, 0, ""}, + {"UnixCredentials", Func, 0, "func(ucred *Ucred) []byte"}, + {"UnixRights", Func, 0, "func(fds ...int) []byte"}, + {"Unlink", Func, 0, "func(path string) error"}, + {"Unlinkat", Func, 0, "func(dirfd int, path string) error"}, + {"UnmapViewOfFile", Func, 0, ""}, + {"Unmount", Func, 0, "func(target string, flags int) (err error)"}, + {"Unsetenv", Func, 4, "func(key string) error"}, + {"Unshare", Func, 0, "func(flags int) (err error)"}, + {"UserInfo10", Type, 0, ""}, + {"UserInfo10.Comment", Field, 0, ""}, + {"UserInfo10.FullName", Field, 0, ""}, + {"UserInfo10.Name", Field, 0, ""}, + {"UserInfo10.UsrComment", Field, 0, ""}, + {"Ustat", Func, 0, "func(dev int, ubuf *Ustat_t) (err error)"}, + {"Ustat_t", Type, 0, ""}, + {"Ustat_t.Fname", Field, 0, ""}, + {"Ustat_t.Fpack", Field, 0, ""}, + {"Ustat_t.Pad_cgo_0", Field, 0, ""}, + {"Ustat_t.Pad_cgo_1", Field, 0, ""}, + {"Ustat_t.Tfree", Field, 0, ""}, + {"Ustat_t.Tinode", Field, 0, ""}, + {"Utimbuf", Type, 0, ""}, + {"Utimbuf.Actime", Field, 0, ""}, + {"Utimbuf.Modtime", Field, 0, ""}, + {"Utime", Func, 0, "func(path string, buf *Utimbuf) (err error)"}, + {"Utimes", Func, 0, "func(path string, tv []Timeval) (err error)"}, + {"UtimesNano", Func, 1, "func(path string, ts []Timespec) (err error)"}, + {"Utsname", Type, 0, ""}, + {"Utsname.Domainname", Field, 0, ""}, + {"Utsname.Machine", Field, 0, ""}, + {"Utsname.Nodename", Field, 0, ""}, + {"Utsname.Release", Field, 0, ""}, + {"Utsname.Sysname", Field, 0, ""}, + {"Utsname.Version", Field, 0, ""}, + {"VDISCARD", Const, 0, ""}, + {"VDSUSP", Const, 1, ""}, + {"VEOF", Const, 0, ""}, + {"VEOL", Const, 0, ""}, + {"VEOL2", Const, 0, ""}, + {"VERASE", Const, 0, ""}, + {"VERASE2", Const, 1, ""}, + {"VINTR", Const, 0, ""}, + {"VKILL", Const, 0, ""}, + {"VLNEXT", Const, 0, ""}, + {"VMIN", Const, 0, ""}, + {"VQUIT", Const, 0, ""}, + {"VREPRINT", Const, 0, ""}, + {"VSTART", Const, 0, ""}, + {"VSTATUS", Const, 1, ""}, + {"VSTOP", Const, 0, ""}, + {"VSUSP", Const, 0, ""}, + {"VSWTC", Const, 0, ""}, + {"VT0", Const, 1, ""}, + {"VT1", Const, 1, ""}, + {"VTDLY", Const, 1, ""}, + {"VTIME", Const, 0, ""}, + {"VWERASE", Const, 0, ""}, + {"VirtualLock", Func, 0, ""}, + {"VirtualUnlock", Func, 0, ""}, + {"WAIT_ABANDONED", Const, 0, ""}, + {"WAIT_FAILED", Const, 0, ""}, + {"WAIT_OBJECT_0", Const, 0, ""}, + {"WAIT_TIMEOUT", Const, 0, ""}, + {"WALL", Const, 0, ""}, + {"WALLSIG", Const, 1, ""}, + {"WALTSIG", Const, 1, ""}, + {"WCLONE", Const, 0, ""}, + {"WCONTINUED", Const, 0, ""}, + {"WCOREFLAG", Const, 0, ""}, + {"WEXITED", Const, 0, ""}, + {"WLINUXCLONE", Const, 0, ""}, + {"WNOHANG", Const, 0, ""}, + {"WNOTHREAD", Const, 0, ""}, + {"WNOWAIT", Const, 0, ""}, + {"WNOZOMBIE", Const, 1, ""}, + {"WOPTSCHECKED", Const, 1, ""}, + {"WORDSIZE", Const, 0, ""}, + {"WSABuf", Type, 0, ""}, + {"WSABuf.Buf", Field, 0, ""}, + {"WSABuf.Len", Field, 0, ""}, + {"WSACleanup", Func, 0, ""}, + {"WSADESCRIPTION_LEN", Const, 0, ""}, + {"WSAData", Type, 0, ""}, + {"WSAData.Description", Field, 0, ""}, + {"WSAData.HighVersion", Field, 0, ""}, + {"WSAData.MaxSockets", Field, 0, ""}, + {"WSAData.MaxUdpDg", Field, 0, ""}, + {"WSAData.SystemStatus", Field, 0, ""}, + {"WSAData.VendorInfo", Field, 0, ""}, + {"WSAData.Version", Field, 0, ""}, + {"WSAEACCES", Const, 2, ""}, + {"WSAECONNABORTED", Const, 9, ""}, + {"WSAECONNRESET", Const, 3, ""}, + {"WSAENOPROTOOPT", Const, 23, ""}, + {"WSAEnumProtocols", Func, 2, ""}, + {"WSAID_CONNECTEX", Var, 1, ""}, + {"WSAIoctl", Func, 0, ""}, + {"WSAPROTOCOL_LEN", Const, 2, ""}, + {"WSAProtocolChain", Type, 2, ""}, + {"WSAProtocolChain.ChainEntries", Field, 2, ""}, + {"WSAProtocolChain.ChainLen", Field, 2, ""}, + {"WSAProtocolInfo", Type, 2, ""}, + {"WSAProtocolInfo.AddressFamily", Field, 2, ""}, + {"WSAProtocolInfo.CatalogEntryId", Field, 2, ""}, + {"WSAProtocolInfo.MaxSockAddr", Field, 2, ""}, + {"WSAProtocolInfo.MessageSize", Field, 2, ""}, + {"WSAProtocolInfo.MinSockAddr", Field, 2, ""}, + {"WSAProtocolInfo.NetworkByteOrder", Field, 2, ""}, + {"WSAProtocolInfo.Protocol", Field, 2, ""}, + {"WSAProtocolInfo.ProtocolChain", Field, 2, ""}, + {"WSAProtocolInfo.ProtocolMaxOffset", Field, 2, ""}, + {"WSAProtocolInfo.ProtocolName", Field, 2, ""}, + {"WSAProtocolInfo.ProviderFlags", Field, 2, ""}, + {"WSAProtocolInfo.ProviderId", Field, 2, ""}, + {"WSAProtocolInfo.ProviderReserved", Field, 2, ""}, + {"WSAProtocolInfo.SecurityScheme", Field, 2, ""}, + {"WSAProtocolInfo.ServiceFlags1", Field, 2, ""}, + {"WSAProtocolInfo.ServiceFlags2", Field, 2, ""}, + {"WSAProtocolInfo.ServiceFlags3", Field, 2, ""}, + {"WSAProtocolInfo.ServiceFlags4", Field, 2, ""}, + {"WSAProtocolInfo.SocketType", Field, 2, ""}, + {"WSAProtocolInfo.Version", Field, 2, ""}, + {"WSARecv", Func, 0, ""}, + {"WSARecvFrom", Func, 0, ""}, + {"WSASYS_STATUS_LEN", Const, 0, ""}, + {"WSASend", Func, 0, ""}, + {"WSASendTo", Func, 0, ""}, + {"WSASendto", Func, 0, ""}, + {"WSAStartup", Func, 0, ""}, + {"WSTOPPED", Const, 0, ""}, + {"WTRAPPED", Const, 1, ""}, + {"WUNTRACED", Const, 0, ""}, + {"Wait4", Func, 0, "func(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error)"}, + {"WaitForSingleObject", Func, 0, ""}, + {"WaitStatus", Type, 0, ""}, + {"WaitStatus.ExitCode", Field, 0, ""}, + {"Win32FileAttributeData", Type, 0, ""}, + {"Win32FileAttributeData.CreationTime", Field, 0, ""}, + {"Win32FileAttributeData.FileAttributes", Field, 0, ""}, + {"Win32FileAttributeData.FileSizeHigh", Field, 0, ""}, + {"Win32FileAttributeData.FileSizeLow", Field, 0, ""}, + {"Win32FileAttributeData.LastAccessTime", Field, 0, ""}, + {"Win32FileAttributeData.LastWriteTime", Field, 0, ""}, + {"Win32finddata", Type, 0, ""}, + {"Win32finddata.AlternateFileName", Field, 0, ""}, + {"Win32finddata.CreationTime", Field, 0, ""}, + {"Win32finddata.FileAttributes", Field, 0, ""}, + {"Win32finddata.FileName", Field, 0, ""}, + {"Win32finddata.FileSizeHigh", Field, 0, ""}, + {"Win32finddata.FileSizeLow", Field, 0, ""}, + {"Win32finddata.LastAccessTime", Field, 0, ""}, + {"Win32finddata.LastWriteTime", Field, 0, ""}, + {"Win32finddata.Reserved0", Field, 0, ""}, + {"Win32finddata.Reserved1", Field, 0, ""}, + {"Write", Func, 0, "func(fd int, p []byte) (n int, err error)"}, + {"WriteConsole", Func, 1, ""}, + {"WriteFile", Func, 0, ""}, + {"X509_ASN_ENCODING", Const, 0, ""}, + {"XCASE", Const, 0, ""}, + {"XP1_CONNECTIONLESS", Const, 2, ""}, + {"XP1_CONNECT_DATA", Const, 2, ""}, + {"XP1_DISCONNECT_DATA", Const, 2, ""}, + {"XP1_EXPEDITED_DATA", Const, 2, ""}, + {"XP1_GRACEFUL_CLOSE", Const, 2, ""}, + {"XP1_GUARANTEED_DELIVERY", Const, 2, ""}, + {"XP1_GUARANTEED_ORDER", Const, 2, ""}, + {"XP1_IFS_HANDLES", Const, 2, ""}, + {"XP1_MESSAGE_ORIENTED", Const, 2, ""}, + {"XP1_MULTIPOINT_CONTROL_PLANE", Const, 2, ""}, + {"XP1_MULTIPOINT_DATA_PLANE", Const, 2, ""}, + {"XP1_PARTIAL_MESSAGE", Const, 2, ""}, + {"XP1_PSEUDO_STREAM", Const, 2, ""}, + {"XP1_QOS_SUPPORTED", Const, 2, ""}, + {"XP1_SAN_SUPPORT_SDP", Const, 2, ""}, + {"XP1_SUPPORT_BROADCAST", Const, 2, ""}, + {"XP1_SUPPORT_MULTIPOINT", Const, 2, ""}, + {"XP1_UNI_RECV", Const, 2, ""}, + {"XP1_UNI_SEND", Const, 2, ""}, }, "syscall/js": { - {"CopyBytesToGo", Func, 0}, - {"CopyBytesToJS", Func, 0}, - {"Error", Type, 0}, - {"Func", Type, 0}, - {"FuncOf", Func, 0}, - {"Global", Func, 0}, - {"Null", Func, 0}, - {"Type", Type, 0}, - {"TypeBoolean", Const, 0}, - {"TypeFunction", Const, 0}, - {"TypeNull", Const, 0}, - {"TypeNumber", Const, 0}, - {"TypeObject", Const, 0}, - {"TypeString", Const, 0}, - {"TypeSymbol", Const, 0}, - {"TypeUndefined", Const, 0}, - {"Undefined", Func, 0}, - {"Value", Type, 0}, - {"ValueError", Type, 0}, - {"ValueOf", Func, 0}, + {"CopyBytesToGo", Func, 0, ""}, + {"CopyBytesToJS", Func, 0, ""}, + {"Error", Type, 0, ""}, + {"Func", Type, 0, ""}, + {"FuncOf", Func, 0, ""}, + {"Global", Func, 0, ""}, + {"Null", Func, 0, ""}, + {"Type", Type, 0, ""}, + {"TypeBoolean", Const, 0, ""}, + {"TypeFunction", Const, 0, ""}, + {"TypeNull", Const, 0, ""}, + {"TypeNumber", Const, 0, ""}, + {"TypeObject", Const, 0, ""}, + {"TypeString", Const, 0, ""}, + {"TypeSymbol", Const, 0, ""}, + {"TypeUndefined", Const, 0, ""}, + {"Undefined", Func, 0, ""}, + {"Value", Type, 0, ""}, + {"ValueError", Type, 0, ""}, + {"ValueOf", Func, 0, ""}, }, "testing": { - {"(*B).Chdir", Method, 24}, - {"(*B).Cleanup", Method, 14}, - {"(*B).Context", Method, 24}, - {"(*B).Elapsed", Method, 20}, - {"(*B).Error", Method, 0}, - {"(*B).Errorf", Method, 0}, - {"(*B).Fail", Method, 0}, - {"(*B).FailNow", Method, 0}, - {"(*B).Failed", Method, 0}, - {"(*B).Fatal", Method, 0}, - {"(*B).Fatalf", Method, 0}, - {"(*B).Helper", Method, 9}, - {"(*B).Log", Method, 0}, - {"(*B).Logf", Method, 0}, - {"(*B).Loop", Method, 24}, - {"(*B).Name", Method, 8}, - {"(*B).ReportAllocs", Method, 1}, - {"(*B).ReportMetric", Method, 13}, - {"(*B).ResetTimer", Method, 0}, - {"(*B).Run", Method, 7}, - {"(*B).RunParallel", Method, 3}, - {"(*B).SetBytes", Method, 0}, - {"(*B).SetParallelism", Method, 3}, - {"(*B).Setenv", Method, 17}, - {"(*B).Skip", Method, 1}, - {"(*B).SkipNow", Method, 1}, - {"(*B).Skipf", Method, 1}, - {"(*B).Skipped", Method, 1}, - {"(*B).StartTimer", Method, 0}, - {"(*B).StopTimer", Method, 0}, - {"(*B).TempDir", Method, 15}, - {"(*F).Add", Method, 18}, - {"(*F).Chdir", Method, 24}, - {"(*F).Cleanup", Method, 18}, - {"(*F).Context", Method, 24}, - {"(*F).Error", Method, 18}, - {"(*F).Errorf", Method, 18}, - {"(*F).Fail", Method, 18}, - {"(*F).FailNow", Method, 18}, - {"(*F).Failed", Method, 18}, - {"(*F).Fatal", Method, 18}, - {"(*F).Fatalf", Method, 18}, - {"(*F).Fuzz", Method, 18}, - {"(*F).Helper", Method, 18}, - {"(*F).Log", Method, 18}, - {"(*F).Logf", Method, 18}, - {"(*F).Name", Method, 18}, - {"(*F).Setenv", Method, 18}, - {"(*F).Skip", Method, 18}, - {"(*F).SkipNow", Method, 18}, - {"(*F).Skipf", Method, 18}, - {"(*F).Skipped", Method, 18}, - {"(*F).TempDir", Method, 18}, - {"(*M).Run", Method, 4}, - {"(*PB).Next", Method, 3}, - {"(*T).Chdir", Method, 24}, - {"(*T).Cleanup", Method, 14}, - {"(*T).Context", Method, 24}, - {"(*T).Deadline", Method, 15}, - {"(*T).Error", Method, 0}, - {"(*T).Errorf", Method, 0}, - {"(*T).Fail", Method, 0}, - {"(*T).FailNow", Method, 0}, - {"(*T).Failed", Method, 0}, - {"(*T).Fatal", Method, 0}, - {"(*T).Fatalf", Method, 0}, - {"(*T).Helper", Method, 9}, - {"(*T).Log", Method, 0}, - {"(*T).Logf", Method, 0}, - {"(*T).Name", Method, 8}, - {"(*T).Parallel", Method, 0}, - {"(*T).Run", Method, 7}, - {"(*T).Setenv", Method, 17}, - {"(*T).Skip", Method, 1}, - {"(*T).SkipNow", Method, 1}, - {"(*T).Skipf", Method, 1}, - {"(*T).Skipped", Method, 1}, - {"(*T).TempDir", Method, 15}, - {"(BenchmarkResult).AllocedBytesPerOp", Method, 1}, - {"(BenchmarkResult).AllocsPerOp", Method, 1}, - {"(BenchmarkResult).MemString", Method, 1}, - {"(BenchmarkResult).NsPerOp", Method, 0}, - {"(BenchmarkResult).String", Method, 0}, - {"AllocsPerRun", Func, 1}, - {"B", Type, 0}, - {"B.N", Field, 0}, - {"Benchmark", Func, 0}, - {"BenchmarkResult", Type, 0}, - {"BenchmarkResult.Bytes", Field, 0}, - {"BenchmarkResult.Extra", Field, 13}, - {"BenchmarkResult.MemAllocs", Field, 1}, - {"BenchmarkResult.MemBytes", Field, 1}, - {"BenchmarkResult.N", Field, 0}, - {"BenchmarkResult.T", Field, 0}, - {"Cover", Type, 2}, - {"Cover.Blocks", Field, 2}, - {"Cover.Counters", Field, 2}, - {"Cover.CoveredPackages", Field, 2}, - {"Cover.Mode", Field, 2}, - {"CoverBlock", Type, 2}, - {"CoverBlock.Col0", Field, 2}, - {"CoverBlock.Col1", Field, 2}, - {"CoverBlock.Line0", Field, 2}, - {"CoverBlock.Line1", Field, 2}, - {"CoverBlock.Stmts", Field, 2}, - {"CoverMode", Func, 8}, - {"Coverage", Func, 4}, - {"F", Type, 18}, - {"Init", Func, 13}, - {"InternalBenchmark", Type, 0}, - {"InternalBenchmark.F", Field, 0}, - {"InternalBenchmark.Name", Field, 0}, - {"InternalExample", Type, 0}, - {"InternalExample.F", Field, 0}, - {"InternalExample.Name", Field, 0}, - {"InternalExample.Output", Field, 0}, - {"InternalExample.Unordered", Field, 7}, - {"InternalFuzzTarget", Type, 18}, - {"InternalFuzzTarget.Fn", Field, 18}, - {"InternalFuzzTarget.Name", Field, 18}, - {"InternalTest", Type, 0}, - {"InternalTest.F", Field, 0}, - {"InternalTest.Name", Field, 0}, - {"M", Type, 4}, - {"Main", Func, 0}, - {"MainStart", Func, 4}, - {"PB", Type, 3}, - {"RegisterCover", Func, 2}, - {"RunBenchmarks", Func, 0}, - {"RunExamples", Func, 0}, - {"RunTests", Func, 0}, - {"Short", Func, 0}, - {"T", Type, 0}, - {"TB", Type, 2}, - {"Testing", Func, 21}, - {"Verbose", Func, 1}, + {"(*B).Attr", Method, 25, ""}, + {"(*B).Chdir", Method, 24, ""}, + {"(*B).Cleanup", Method, 14, ""}, + {"(*B).Context", Method, 24, ""}, + {"(*B).Elapsed", Method, 20, ""}, + {"(*B).Error", Method, 0, ""}, + {"(*B).Errorf", Method, 0, ""}, + {"(*B).Fail", Method, 0, ""}, + {"(*B).FailNow", Method, 0, ""}, + {"(*B).Failed", Method, 0, ""}, + {"(*B).Fatal", Method, 0, ""}, + {"(*B).Fatalf", Method, 0, ""}, + {"(*B).Helper", Method, 9, ""}, + {"(*B).Log", Method, 0, ""}, + {"(*B).Logf", Method, 0, ""}, + {"(*B).Loop", Method, 24, ""}, + {"(*B).Name", Method, 8, ""}, + {"(*B).Output", Method, 25, ""}, + {"(*B).ReportAllocs", Method, 1, ""}, + {"(*B).ReportMetric", Method, 13, ""}, + {"(*B).ResetTimer", Method, 0, ""}, + {"(*B).Run", Method, 7, ""}, + {"(*B).RunParallel", Method, 3, ""}, + {"(*B).SetBytes", Method, 0, ""}, + {"(*B).SetParallelism", Method, 3, ""}, + {"(*B).Setenv", Method, 17, ""}, + {"(*B).Skip", Method, 1, ""}, + {"(*B).SkipNow", Method, 1, ""}, + {"(*B).Skipf", Method, 1, ""}, + {"(*B).Skipped", Method, 1, ""}, + {"(*B).StartTimer", Method, 0, ""}, + {"(*B).StopTimer", Method, 0, ""}, + {"(*B).TempDir", Method, 15, ""}, + {"(*F).Add", Method, 18, ""}, + {"(*F).Attr", Method, 25, ""}, + {"(*F).Chdir", Method, 24, ""}, + {"(*F).Cleanup", Method, 18, ""}, + {"(*F).Context", Method, 24, ""}, + {"(*F).Error", Method, 18, ""}, + {"(*F).Errorf", Method, 18, ""}, + {"(*F).Fail", Method, 18, ""}, + {"(*F).FailNow", Method, 18, ""}, + {"(*F).Failed", Method, 18, ""}, + {"(*F).Fatal", Method, 18, ""}, + {"(*F).Fatalf", Method, 18, ""}, + {"(*F).Fuzz", Method, 18, ""}, + {"(*F).Helper", Method, 18, ""}, + {"(*F).Log", Method, 18, ""}, + {"(*F).Logf", Method, 18, ""}, + {"(*F).Name", Method, 18, ""}, + {"(*F).Output", Method, 25, ""}, + {"(*F).Setenv", Method, 18, ""}, + {"(*F).Skip", Method, 18, ""}, + {"(*F).SkipNow", Method, 18, ""}, + {"(*F).Skipf", Method, 18, ""}, + {"(*F).Skipped", Method, 18, ""}, + {"(*F).TempDir", Method, 18, ""}, + {"(*M).Run", Method, 4, ""}, + {"(*PB).Next", Method, 3, ""}, + {"(*T).Attr", Method, 25, ""}, + {"(*T).Chdir", Method, 24, ""}, + {"(*T).Cleanup", Method, 14, ""}, + {"(*T).Context", Method, 24, ""}, + {"(*T).Deadline", Method, 15, ""}, + {"(*T).Error", Method, 0, ""}, + {"(*T).Errorf", Method, 0, ""}, + {"(*T).Fail", Method, 0, ""}, + {"(*T).FailNow", Method, 0, ""}, + {"(*T).Failed", Method, 0, ""}, + {"(*T).Fatal", Method, 0, ""}, + {"(*T).Fatalf", Method, 0, ""}, + {"(*T).Helper", Method, 9, ""}, + {"(*T).Log", Method, 0, ""}, + {"(*T).Logf", Method, 0, ""}, + {"(*T).Name", Method, 8, ""}, + {"(*T).Output", Method, 25, ""}, + {"(*T).Parallel", Method, 0, ""}, + {"(*T).Run", Method, 7, ""}, + {"(*T).Setenv", Method, 17, ""}, + {"(*T).Skip", Method, 1, ""}, + {"(*T).SkipNow", Method, 1, ""}, + {"(*T).Skipf", Method, 1, ""}, + {"(*T).Skipped", Method, 1, ""}, + {"(*T).TempDir", Method, 15, ""}, + {"(BenchmarkResult).AllocedBytesPerOp", Method, 1, ""}, + {"(BenchmarkResult).AllocsPerOp", Method, 1, ""}, + {"(BenchmarkResult).MemString", Method, 1, ""}, + {"(BenchmarkResult).NsPerOp", Method, 0, ""}, + {"(BenchmarkResult).String", Method, 0, ""}, + {"AllocsPerRun", Func, 1, "func(runs int, f func()) (avg float64)"}, + {"B", Type, 0, ""}, + {"B.N", Field, 0, ""}, + {"Benchmark", Func, 0, "func(f func(b *B)) BenchmarkResult"}, + {"BenchmarkResult", Type, 0, ""}, + {"BenchmarkResult.Bytes", Field, 0, ""}, + {"BenchmarkResult.Extra", Field, 13, ""}, + {"BenchmarkResult.MemAllocs", Field, 1, ""}, + {"BenchmarkResult.MemBytes", Field, 1, ""}, + {"BenchmarkResult.N", Field, 0, ""}, + {"BenchmarkResult.T", Field, 0, ""}, + {"Cover", Type, 2, ""}, + {"Cover.Blocks", Field, 2, ""}, + {"Cover.Counters", Field, 2, ""}, + {"Cover.CoveredPackages", Field, 2, ""}, + {"Cover.Mode", Field, 2, ""}, + {"CoverBlock", Type, 2, ""}, + {"CoverBlock.Col0", Field, 2, ""}, + {"CoverBlock.Col1", Field, 2, ""}, + {"CoverBlock.Line0", Field, 2, ""}, + {"CoverBlock.Line1", Field, 2, ""}, + {"CoverBlock.Stmts", Field, 2, ""}, + {"CoverMode", Func, 8, "func() string"}, + {"Coverage", Func, 4, "func() float64"}, + {"F", Type, 18, ""}, + {"Init", Func, 13, "func()"}, + {"InternalBenchmark", Type, 0, ""}, + {"InternalBenchmark.F", Field, 0, ""}, + {"InternalBenchmark.Name", Field, 0, ""}, + {"InternalExample", Type, 0, ""}, + {"InternalExample.F", Field, 0, ""}, + {"InternalExample.Name", Field, 0, ""}, + {"InternalExample.Output", Field, 0, ""}, + {"InternalExample.Unordered", Field, 7, ""}, + {"InternalFuzzTarget", Type, 18, ""}, + {"InternalFuzzTarget.Fn", Field, 18, ""}, + {"InternalFuzzTarget.Name", Field, 18, ""}, + {"InternalTest", Type, 0, ""}, + {"InternalTest.F", Field, 0, ""}, + {"InternalTest.Name", Field, 0, ""}, + {"M", Type, 4, ""}, + {"Main", Func, 0, "func(matchString func(pat string, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample)"}, + {"MainStart", Func, 4, "func(deps testDeps, tests []InternalTest, benchmarks []InternalBenchmark, fuzzTargets []InternalFuzzTarget, examples []InternalExample) *M"}, + {"PB", Type, 3, ""}, + {"RegisterCover", Func, 2, "func(c Cover)"}, + {"RunBenchmarks", Func, 0, "func(matchString func(pat string, str string) (bool, error), benchmarks []InternalBenchmark)"}, + {"RunExamples", Func, 0, "func(matchString func(pat string, str string) (bool, error), examples []InternalExample) (ok bool)"}, + {"RunTests", Func, 0, "func(matchString func(pat string, str string) (bool, error), tests []InternalTest) (ok bool)"}, + {"Short", Func, 0, "func() bool"}, + {"T", Type, 0, ""}, + {"TB", Type, 2, ""}, + {"Testing", Func, 21, "func() bool"}, + {"Verbose", Func, 1, "func() bool"}, }, "testing/fstest": { - {"(MapFS).Glob", Method, 16}, - {"(MapFS).Open", Method, 16}, - {"(MapFS).ReadDir", Method, 16}, - {"(MapFS).ReadFile", Method, 16}, - {"(MapFS).Stat", Method, 16}, - {"(MapFS).Sub", Method, 16}, - {"MapFS", Type, 16}, - {"MapFile", Type, 16}, - {"MapFile.Data", Field, 16}, - {"MapFile.ModTime", Field, 16}, - {"MapFile.Mode", Field, 16}, - {"MapFile.Sys", Field, 16}, - {"TestFS", Func, 16}, + {"(MapFS).Glob", Method, 16, ""}, + {"(MapFS).Lstat", Method, 25, ""}, + {"(MapFS).Open", Method, 16, ""}, + {"(MapFS).ReadDir", Method, 16, ""}, + {"(MapFS).ReadFile", Method, 16, ""}, + {"(MapFS).ReadLink", Method, 25, ""}, + {"(MapFS).Stat", Method, 16, ""}, + {"(MapFS).Sub", Method, 16, ""}, + {"MapFS", Type, 16, ""}, + {"MapFile", Type, 16, ""}, + {"MapFile.Data", Field, 16, ""}, + {"MapFile.ModTime", Field, 16, ""}, + {"MapFile.Mode", Field, 16, ""}, + {"MapFile.Sys", Field, 16, ""}, + {"TestFS", Func, 16, "func(fsys fs.FS, expected ...string) error"}, }, "testing/iotest": { - {"DataErrReader", Func, 0}, - {"ErrReader", Func, 16}, - {"ErrTimeout", Var, 0}, - {"HalfReader", Func, 0}, - {"NewReadLogger", Func, 0}, - {"NewWriteLogger", Func, 0}, - {"OneByteReader", Func, 0}, - {"TestReader", Func, 16}, - {"TimeoutReader", Func, 0}, - {"TruncateWriter", Func, 0}, + {"DataErrReader", Func, 0, "func(r io.Reader) io.Reader"}, + {"ErrReader", Func, 16, "func(err error) io.Reader"}, + {"ErrTimeout", Var, 0, ""}, + {"HalfReader", Func, 0, "func(r io.Reader) io.Reader"}, + {"NewReadLogger", Func, 0, "func(prefix string, r io.Reader) io.Reader"}, + {"NewWriteLogger", Func, 0, "func(prefix string, w io.Writer) io.Writer"}, + {"OneByteReader", Func, 0, "func(r io.Reader) io.Reader"}, + {"TestReader", Func, 16, "func(r io.Reader, content []byte) error"}, + {"TimeoutReader", Func, 0, "func(r io.Reader) io.Reader"}, + {"TruncateWriter", Func, 0, "func(w io.Writer, n int64) io.Writer"}, }, "testing/quick": { - {"(*CheckEqualError).Error", Method, 0}, - {"(*CheckError).Error", Method, 0}, - {"(SetupError).Error", Method, 0}, - {"Check", Func, 0}, - {"CheckEqual", Func, 0}, - {"CheckEqualError", Type, 0}, - {"CheckEqualError.CheckError", Field, 0}, - {"CheckEqualError.Out1", Field, 0}, - {"CheckEqualError.Out2", Field, 0}, - {"CheckError", Type, 0}, - {"CheckError.Count", Field, 0}, - {"CheckError.In", Field, 0}, - {"Config", Type, 0}, - {"Config.MaxCount", Field, 0}, - {"Config.MaxCountScale", Field, 0}, - {"Config.Rand", Field, 0}, - {"Config.Values", Field, 0}, - {"Generator", Type, 0}, - {"SetupError", Type, 0}, - {"Value", Func, 0}, + {"(*CheckEqualError).Error", Method, 0, ""}, + {"(*CheckError).Error", Method, 0, ""}, + {"(SetupError).Error", Method, 0, ""}, + {"Check", Func, 0, "func(f any, config *Config) error"}, + {"CheckEqual", Func, 0, "func(f any, g any, config *Config) error"}, + {"CheckEqualError", Type, 0, ""}, + {"CheckEqualError.CheckError", Field, 0, ""}, + {"CheckEqualError.Out1", Field, 0, ""}, + {"CheckEqualError.Out2", Field, 0, ""}, + {"CheckError", Type, 0, ""}, + {"CheckError.Count", Field, 0, ""}, + {"CheckError.In", Field, 0, ""}, + {"Config", Type, 0, ""}, + {"Config.MaxCount", Field, 0, ""}, + {"Config.MaxCountScale", Field, 0, ""}, + {"Config.Rand", Field, 0, ""}, + {"Config.Values", Field, 0, ""}, + {"Generator", Type, 0, ""}, + {"SetupError", Type, 0, ""}, + {"Value", Func, 0, "func(t reflect.Type, rand *rand.Rand) (value reflect.Value, ok bool)"}, }, "testing/slogtest": { - {"Run", Func, 22}, - {"TestHandler", Func, 21}, + {"Run", Func, 22, "func(t *testing.T, newHandler func(*testing.T) slog.Handler, result func(*testing.T) map[string]any)"}, + {"TestHandler", Func, 21, "func(h slog.Handler, results func() []map[string]any) error"}, + }, + "testing/synctest": { + {"Test", Func, 25, "func(t *testing.T, f func(*testing.T))"}, + {"Wait", Func, 25, "func()"}, }, "text/scanner": { - {"(*Position).IsValid", Method, 0}, - {"(*Scanner).Init", Method, 0}, - {"(*Scanner).IsValid", Method, 0}, - {"(*Scanner).Next", Method, 0}, - {"(*Scanner).Peek", Method, 0}, - {"(*Scanner).Pos", Method, 0}, - {"(*Scanner).Scan", Method, 0}, - {"(*Scanner).TokenText", Method, 0}, - {"(Position).String", Method, 0}, - {"(Scanner).String", Method, 0}, - {"Char", Const, 0}, - {"Comment", Const, 0}, - {"EOF", Const, 0}, - {"Float", Const, 0}, - {"GoTokens", Const, 0}, - {"GoWhitespace", Const, 0}, - {"Ident", Const, 0}, - {"Int", Const, 0}, - {"Position", Type, 0}, - {"Position.Column", Field, 0}, - {"Position.Filename", Field, 0}, - {"Position.Line", Field, 0}, - {"Position.Offset", Field, 0}, - {"RawString", Const, 0}, - {"ScanChars", Const, 0}, - {"ScanComments", Const, 0}, - {"ScanFloats", Const, 0}, - {"ScanIdents", Const, 0}, - {"ScanInts", Const, 0}, - {"ScanRawStrings", Const, 0}, - {"ScanStrings", Const, 0}, - {"Scanner", Type, 0}, - {"Scanner.Error", Field, 0}, - {"Scanner.ErrorCount", Field, 0}, - {"Scanner.IsIdentRune", Field, 4}, - {"Scanner.Mode", Field, 0}, - {"Scanner.Position", Field, 0}, - {"Scanner.Whitespace", Field, 0}, - {"SkipComments", Const, 0}, - {"String", Const, 0}, - {"TokenString", Func, 0}, + {"(*Position).IsValid", Method, 0, ""}, + {"(*Scanner).Init", Method, 0, ""}, + {"(*Scanner).IsValid", Method, 0, ""}, + {"(*Scanner).Next", Method, 0, ""}, + {"(*Scanner).Peek", Method, 0, ""}, + {"(*Scanner).Pos", Method, 0, ""}, + {"(*Scanner).Scan", Method, 0, ""}, + {"(*Scanner).TokenText", Method, 0, ""}, + {"(Position).String", Method, 0, ""}, + {"(Scanner).String", Method, 0, ""}, + {"Char", Const, 0, ""}, + {"Comment", Const, 0, ""}, + {"EOF", Const, 0, ""}, + {"Float", Const, 0, ""}, + {"GoTokens", Const, 0, ""}, + {"GoWhitespace", Const, 0, ""}, + {"Ident", Const, 0, ""}, + {"Int", Const, 0, ""}, + {"Position", Type, 0, ""}, + {"Position.Column", Field, 0, ""}, + {"Position.Filename", Field, 0, ""}, + {"Position.Line", Field, 0, ""}, + {"Position.Offset", Field, 0, ""}, + {"RawString", Const, 0, ""}, + {"ScanChars", Const, 0, ""}, + {"ScanComments", Const, 0, ""}, + {"ScanFloats", Const, 0, ""}, + {"ScanIdents", Const, 0, ""}, + {"ScanInts", Const, 0, ""}, + {"ScanRawStrings", Const, 0, ""}, + {"ScanStrings", Const, 0, ""}, + {"Scanner", Type, 0, ""}, + {"Scanner.Error", Field, 0, ""}, + {"Scanner.ErrorCount", Field, 0, ""}, + {"Scanner.IsIdentRune", Field, 4, ""}, + {"Scanner.Mode", Field, 0, ""}, + {"Scanner.Position", Field, 0, ""}, + {"Scanner.Whitespace", Field, 0, ""}, + {"SkipComments", Const, 0, ""}, + {"String", Const, 0, ""}, + {"TokenString", Func, 0, "func(tok rune) string"}, }, "text/tabwriter": { - {"(*Writer).Flush", Method, 0}, - {"(*Writer).Init", Method, 0}, - {"(*Writer).Write", Method, 0}, - {"AlignRight", Const, 0}, - {"Debug", Const, 0}, - {"DiscardEmptyColumns", Const, 0}, - {"Escape", Const, 0}, - {"FilterHTML", Const, 0}, - {"NewWriter", Func, 0}, - {"StripEscape", Const, 0}, - {"TabIndent", Const, 0}, - {"Writer", Type, 0}, + {"(*Writer).Flush", Method, 0, ""}, + {"(*Writer).Init", Method, 0, ""}, + {"(*Writer).Write", Method, 0, ""}, + {"AlignRight", Const, 0, ""}, + {"Debug", Const, 0, ""}, + {"DiscardEmptyColumns", Const, 0, ""}, + {"Escape", Const, 0, ""}, + {"FilterHTML", Const, 0, ""}, + {"NewWriter", Func, 0, "func(output io.Writer, minwidth int, tabwidth int, padding int, padchar byte, flags uint) *Writer"}, + {"StripEscape", Const, 0, ""}, + {"TabIndent", Const, 0, ""}, + {"Writer", Type, 0, ""}, }, "text/template": { - {"(*Template).AddParseTree", Method, 0}, - {"(*Template).Clone", Method, 0}, - {"(*Template).DefinedTemplates", Method, 5}, - {"(*Template).Delims", Method, 0}, - {"(*Template).Execute", Method, 0}, - {"(*Template).ExecuteTemplate", Method, 0}, - {"(*Template).Funcs", Method, 0}, - {"(*Template).Lookup", Method, 0}, - {"(*Template).Name", Method, 0}, - {"(*Template).New", Method, 0}, - {"(*Template).Option", Method, 5}, - {"(*Template).Parse", Method, 0}, - {"(*Template).ParseFS", Method, 16}, - {"(*Template).ParseFiles", Method, 0}, - {"(*Template).ParseGlob", Method, 0}, - {"(*Template).Templates", Method, 0}, - {"(ExecError).Error", Method, 6}, - {"(ExecError).Unwrap", Method, 13}, - {"(Template).Copy", Method, 2}, - {"(Template).ErrorContext", Method, 1}, - {"ExecError", Type, 6}, - {"ExecError.Err", Field, 6}, - {"ExecError.Name", Field, 6}, - {"FuncMap", Type, 0}, - {"HTMLEscape", Func, 0}, - {"HTMLEscapeString", Func, 0}, - {"HTMLEscaper", Func, 0}, - {"IsTrue", Func, 6}, - {"JSEscape", Func, 0}, - {"JSEscapeString", Func, 0}, - {"JSEscaper", Func, 0}, - {"Must", Func, 0}, - {"New", Func, 0}, - {"ParseFS", Func, 16}, - {"ParseFiles", Func, 0}, - {"ParseGlob", Func, 0}, - {"Template", Type, 0}, - {"Template.Tree", Field, 0}, - {"URLQueryEscaper", Func, 0}, + {"(*Template).AddParseTree", Method, 0, ""}, + {"(*Template).Clone", Method, 0, ""}, + {"(*Template).DefinedTemplates", Method, 5, ""}, + {"(*Template).Delims", Method, 0, ""}, + {"(*Template).Execute", Method, 0, ""}, + {"(*Template).ExecuteTemplate", Method, 0, ""}, + {"(*Template).Funcs", Method, 0, ""}, + {"(*Template).Lookup", Method, 0, ""}, + {"(*Template).Name", Method, 0, ""}, + {"(*Template).New", Method, 0, ""}, + {"(*Template).Option", Method, 5, ""}, + {"(*Template).Parse", Method, 0, ""}, + {"(*Template).ParseFS", Method, 16, ""}, + {"(*Template).ParseFiles", Method, 0, ""}, + {"(*Template).ParseGlob", Method, 0, ""}, + {"(*Template).Templates", Method, 0, ""}, + {"(ExecError).Error", Method, 6, ""}, + {"(ExecError).Unwrap", Method, 13, ""}, + {"(Template).Copy", Method, 2, ""}, + {"(Template).ErrorContext", Method, 1, ""}, + {"ExecError", Type, 6, ""}, + {"ExecError.Err", Field, 6, ""}, + {"ExecError.Name", Field, 6, ""}, + {"FuncMap", Type, 0, ""}, + {"HTMLEscape", Func, 0, "func(w io.Writer, b []byte)"}, + {"HTMLEscapeString", Func, 0, "func(s string) string"}, + {"HTMLEscaper", Func, 0, "func(args ...any) string"}, + {"IsTrue", Func, 6, "func(val any) (truth bool, ok bool)"}, + {"JSEscape", Func, 0, "func(w io.Writer, b []byte)"}, + {"JSEscapeString", Func, 0, "func(s string) string"}, + {"JSEscaper", Func, 0, "func(args ...any) string"}, + {"Must", Func, 0, "func(t *Template, err error) *Template"}, + {"New", Func, 0, "func(name string) *Template"}, + {"ParseFS", Func, 16, "func(fsys fs.FS, patterns ...string) (*Template, error)"}, + {"ParseFiles", Func, 0, "func(filenames ...string) (*Template, error)"}, + {"ParseGlob", Func, 0, "func(pattern string) (*Template, error)"}, + {"Template", Type, 0, ""}, + {"Template.Tree", Field, 0, ""}, + {"URLQueryEscaper", Func, 0, "func(args ...any) string"}, }, "text/template/parse": { - {"(*ActionNode).Copy", Method, 0}, - {"(*ActionNode).String", Method, 0}, - {"(*BoolNode).Copy", Method, 0}, - {"(*BoolNode).String", Method, 0}, - {"(*BranchNode).Copy", Method, 4}, - {"(*BranchNode).String", Method, 0}, - {"(*BreakNode).Copy", Method, 18}, - {"(*BreakNode).String", Method, 18}, - {"(*ChainNode).Add", Method, 1}, - {"(*ChainNode).Copy", Method, 1}, - {"(*ChainNode).String", Method, 1}, - {"(*CommandNode).Copy", Method, 0}, - {"(*CommandNode).String", Method, 0}, - {"(*CommentNode).Copy", Method, 16}, - {"(*CommentNode).String", Method, 16}, - {"(*ContinueNode).Copy", Method, 18}, - {"(*ContinueNode).String", Method, 18}, - {"(*DotNode).Copy", Method, 0}, - {"(*DotNode).String", Method, 0}, - {"(*DotNode).Type", Method, 0}, - {"(*FieldNode).Copy", Method, 0}, - {"(*FieldNode).String", Method, 0}, - {"(*IdentifierNode).Copy", Method, 0}, - {"(*IdentifierNode).SetPos", Method, 1}, - {"(*IdentifierNode).SetTree", Method, 4}, - {"(*IdentifierNode).String", Method, 0}, - {"(*IfNode).Copy", Method, 0}, - {"(*IfNode).String", Method, 0}, - {"(*ListNode).Copy", Method, 0}, - {"(*ListNode).CopyList", Method, 0}, - {"(*ListNode).String", Method, 0}, - {"(*NilNode).Copy", Method, 1}, - {"(*NilNode).String", Method, 1}, - {"(*NilNode).Type", Method, 1}, - {"(*NumberNode).Copy", Method, 0}, - {"(*NumberNode).String", Method, 0}, - {"(*PipeNode).Copy", Method, 0}, - {"(*PipeNode).CopyPipe", Method, 0}, - {"(*PipeNode).String", Method, 0}, - {"(*RangeNode).Copy", Method, 0}, - {"(*RangeNode).String", Method, 0}, - {"(*StringNode).Copy", Method, 0}, - {"(*StringNode).String", Method, 0}, - {"(*TemplateNode).Copy", Method, 0}, - {"(*TemplateNode).String", Method, 0}, - {"(*TextNode).Copy", Method, 0}, - {"(*TextNode).String", Method, 0}, - {"(*Tree).Copy", Method, 2}, - {"(*Tree).ErrorContext", Method, 1}, - {"(*Tree).Parse", Method, 0}, - {"(*VariableNode).Copy", Method, 0}, - {"(*VariableNode).String", Method, 0}, - {"(*WithNode).Copy", Method, 0}, - {"(*WithNode).String", Method, 0}, - {"(ActionNode).Position", Method, 1}, - {"(ActionNode).Type", Method, 0}, - {"(BoolNode).Position", Method, 1}, - {"(BoolNode).Type", Method, 0}, - {"(BranchNode).Position", Method, 1}, - {"(BranchNode).Type", Method, 0}, - {"(BreakNode).Position", Method, 18}, - {"(BreakNode).Type", Method, 18}, - {"(ChainNode).Position", Method, 1}, - {"(ChainNode).Type", Method, 1}, - {"(CommandNode).Position", Method, 1}, - {"(CommandNode).Type", Method, 0}, - {"(CommentNode).Position", Method, 16}, - {"(CommentNode).Type", Method, 16}, - {"(ContinueNode).Position", Method, 18}, - {"(ContinueNode).Type", Method, 18}, - {"(DotNode).Position", Method, 1}, - {"(FieldNode).Position", Method, 1}, - {"(FieldNode).Type", Method, 0}, - {"(IdentifierNode).Position", Method, 1}, - {"(IdentifierNode).Type", Method, 0}, - {"(IfNode).Position", Method, 1}, - {"(IfNode).Type", Method, 0}, - {"(ListNode).Position", Method, 1}, - {"(ListNode).Type", Method, 0}, - {"(NilNode).Position", Method, 1}, - {"(NodeType).Type", Method, 0}, - {"(NumberNode).Position", Method, 1}, - {"(NumberNode).Type", Method, 0}, - {"(PipeNode).Position", Method, 1}, - {"(PipeNode).Type", Method, 0}, - {"(Pos).Position", Method, 1}, - {"(RangeNode).Position", Method, 1}, - {"(RangeNode).Type", Method, 0}, - {"(StringNode).Position", Method, 1}, - {"(StringNode).Type", Method, 0}, - {"(TemplateNode).Position", Method, 1}, - {"(TemplateNode).Type", Method, 0}, - {"(TextNode).Position", Method, 1}, - {"(TextNode).Type", Method, 0}, - {"(VariableNode).Position", Method, 1}, - {"(VariableNode).Type", Method, 0}, - {"(WithNode).Position", Method, 1}, - {"(WithNode).Type", Method, 0}, - {"ActionNode", Type, 0}, - {"ActionNode.Line", Field, 0}, - {"ActionNode.NodeType", Field, 0}, - {"ActionNode.Pipe", Field, 0}, - {"ActionNode.Pos", Field, 1}, - {"BoolNode", Type, 0}, - {"BoolNode.NodeType", Field, 0}, - {"BoolNode.Pos", Field, 1}, - {"BoolNode.True", Field, 0}, - {"BranchNode", Type, 0}, - {"BranchNode.ElseList", Field, 0}, - {"BranchNode.Line", Field, 0}, - {"BranchNode.List", Field, 0}, - {"BranchNode.NodeType", Field, 0}, - {"BranchNode.Pipe", Field, 0}, - {"BranchNode.Pos", Field, 1}, - {"BreakNode", Type, 18}, - {"BreakNode.Line", Field, 18}, - {"BreakNode.NodeType", Field, 18}, - {"BreakNode.Pos", Field, 18}, - {"ChainNode", Type, 1}, - {"ChainNode.Field", Field, 1}, - {"ChainNode.Node", Field, 1}, - {"ChainNode.NodeType", Field, 1}, - {"ChainNode.Pos", Field, 1}, - {"CommandNode", Type, 0}, - {"CommandNode.Args", Field, 0}, - {"CommandNode.NodeType", Field, 0}, - {"CommandNode.Pos", Field, 1}, - {"CommentNode", Type, 16}, - {"CommentNode.NodeType", Field, 16}, - {"CommentNode.Pos", Field, 16}, - {"CommentNode.Text", Field, 16}, - {"ContinueNode", Type, 18}, - {"ContinueNode.Line", Field, 18}, - {"ContinueNode.NodeType", Field, 18}, - {"ContinueNode.Pos", Field, 18}, - {"DotNode", Type, 0}, - {"DotNode.NodeType", Field, 4}, - {"DotNode.Pos", Field, 1}, - {"FieldNode", Type, 0}, - {"FieldNode.Ident", Field, 0}, - {"FieldNode.NodeType", Field, 0}, - {"FieldNode.Pos", Field, 1}, - {"IdentifierNode", Type, 0}, - {"IdentifierNode.Ident", Field, 0}, - {"IdentifierNode.NodeType", Field, 0}, - {"IdentifierNode.Pos", Field, 1}, - {"IfNode", Type, 0}, - {"IfNode.BranchNode", Field, 0}, - {"IsEmptyTree", Func, 0}, - {"ListNode", Type, 0}, - {"ListNode.NodeType", Field, 0}, - {"ListNode.Nodes", Field, 0}, - {"ListNode.Pos", Field, 1}, - {"Mode", Type, 16}, - {"New", Func, 0}, - {"NewIdentifier", Func, 0}, - {"NilNode", Type, 1}, - {"NilNode.NodeType", Field, 4}, - {"NilNode.Pos", Field, 1}, - {"Node", Type, 0}, - {"NodeAction", Const, 0}, - {"NodeBool", Const, 0}, - {"NodeBreak", Const, 18}, - {"NodeChain", Const, 1}, - {"NodeCommand", Const, 0}, - {"NodeComment", Const, 16}, - {"NodeContinue", Const, 18}, - {"NodeDot", Const, 0}, - {"NodeField", Const, 0}, - {"NodeIdentifier", Const, 0}, - {"NodeIf", Const, 0}, - {"NodeList", Const, 0}, - {"NodeNil", Const, 1}, - {"NodeNumber", Const, 0}, - {"NodePipe", Const, 0}, - {"NodeRange", Const, 0}, - {"NodeString", Const, 0}, - {"NodeTemplate", Const, 0}, - {"NodeText", Const, 0}, - {"NodeType", Type, 0}, - {"NodeVariable", Const, 0}, - {"NodeWith", Const, 0}, - {"NumberNode", Type, 0}, - {"NumberNode.Complex128", Field, 0}, - {"NumberNode.Float64", Field, 0}, - {"NumberNode.Int64", Field, 0}, - {"NumberNode.IsComplex", Field, 0}, - {"NumberNode.IsFloat", Field, 0}, - {"NumberNode.IsInt", Field, 0}, - {"NumberNode.IsUint", Field, 0}, - {"NumberNode.NodeType", Field, 0}, - {"NumberNode.Pos", Field, 1}, - {"NumberNode.Text", Field, 0}, - {"NumberNode.Uint64", Field, 0}, - {"Parse", Func, 0}, - {"ParseComments", Const, 16}, - {"PipeNode", Type, 0}, - {"PipeNode.Cmds", Field, 0}, - {"PipeNode.Decl", Field, 0}, - {"PipeNode.IsAssign", Field, 11}, - {"PipeNode.Line", Field, 0}, - {"PipeNode.NodeType", Field, 0}, - {"PipeNode.Pos", Field, 1}, - {"Pos", Type, 1}, - {"RangeNode", Type, 0}, - {"RangeNode.BranchNode", Field, 0}, - {"SkipFuncCheck", Const, 17}, - {"StringNode", Type, 0}, - {"StringNode.NodeType", Field, 0}, - {"StringNode.Pos", Field, 1}, - {"StringNode.Quoted", Field, 0}, - {"StringNode.Text", Field, 0}, - {"TemplateNode", Type, 0}, - {"TemplateNode.Line", Field, 0}, - {"TemplateNode.Name", Field, 0}, - {"TemplateNode.NodeType", Field, 0}, - {"TemplateNode.Pipe", Field, 0}, - {"TemplateNode.Pos", Field, 1}, - {"TextNode", Type, 0}, - {"TextNode.NodeType", Field, 0}, - {"TextNode.Pos", Field, 1}, - {"TextNode.Text", Field, 0}, - {"Tree", Type, 0}, - {"Tree.Mode", Field, 16}, - {"Tree.Name", Field, 0}, - {"Tree.ParseName", Field, 1}, - {"Tree.Root", Field, 0}, - {"VariableNode", Type, 0}, - {"VariableNode.Ident", Field, 0}, - {"VariableNode.NodeType", Field, 0}, - {"VariableNode.Pos", Field, 1}, - {"WithNode", Type, 0}, - {"WithNode.BranchNode", Field, 0}, + {"(*ActionNode).Copy", Method, 0, ""}, + {"(*ActionNode).String", Method, 0, ""}, + {"(*BoolNode).Copy", Method, 0, ""}, + {"(*BoolNode).String", Method, 0, ""}, + {"(*BranchNode).Copy", Method, 4, ""}, + {"(*BranchNode).String", Method, 0, ""}, + {"(*BreakNode).Copy", Method, 18, ""}, + {"(*BreakNode).String", Method, 18, ""}, + {"(*ChainNode).Add", Method, 1, ""}, + {"(*ChainNode).Copy", Method, 1, ""}, + {"(*ChainNode).String", Method, 1, ""}, + {"(*CommandNode).Copy", Method, 0, ""}, + {"(*CommandNode).String", Method, 0, ""}, + {"(*CommentNode).Copy", Method, 16, ""}, + {"(*CommentNode).String", Method, 16, ""}, + {"(*ContinueNode).Copy", Method, 18, ""}, + {"(*ContinueNode).String", Method, 18, ""}, + {"(*DotNode).Copy", Method, 0, ""}, + {"(*DotNode).String", Method, 0, ""}, + {"(*DotNode).Type", Method, 0, ""}, + {"(*FieldNode).Copy", Method, 0, ""}, + {"(*FieldNode).String", Method, 0, ""}, + {"(*IdentifierNode).Copy", Method, 0, ""}, + {"(*IdentifierNode).SetPos", Method, 1, ""}, + {"(*IdentifierNode).SetTree", Method, 4, ""}, + {"(*IdentifierNode).String", Method, 0, ""}, + {"(*IfNode).Copy", Method, 0, ""}, + {"(*IfNode).String", Method, 0, ""}, + {"(*ListNode).Copy", Method, 0, ""}, + {"(*ListNode).CopyList", Method, 0, ""}, + {"(*ListNode).String", Method, 0, ""}, + {"(*NilNode).Copy", Method, 1, ""}, + {"(*NilNode).String", Method, 1, ""}, + {"(*NilNode).Type", Method, 1, ""}, + {"(*NumberNode).Copy", Method, 0, ""}, + {"(*NumberNode).String", Method, 0, ""}, + {"(*PipeNode).Copy", Method, 0, ""}, + {"(*PipeNode).CopyPipe", Method, 0, ""}, + {"(*PipeNode).String", Method, 0, ""}, + {"(*RangeNode).Copy", Method, 0, ""}, + {"(*RangeNode).String", Method, 0, ""}, + {"(*StringNode).Copy", Method, 0, ""}, + {"(*StringNode).String", Method, 0, ""}, + {"(*TemplateNode).Copy", Method, 0, ""}, + {"(*TemplateNode).String", Method, 0, ""}, + {"(*TextNode).Copy", Method, 0, ""}, + {"(*TextNode).String", Method, 0, ""}, + {"(*Tree).Copy", Method, 2, ""}, + {"(*Tree).ErrorContext", Method, 1, ""}, + {"(*Tree).Parse", Method, 0, ""}, + {"(*VariableNode).Copy", Method, 0, ""}, + {"(*VariableNode).String", Method, 0, ""}, + {"(*WithNode).Copy", Method, 0, ""}, + {"(*WithNode).String", Method, 0, ""}, + {"(ActionNode).Position", Method, 1, ""}, + {"(ActionNode).Type", Method, 0, ""}, + {"(BoolNode).Position", Method, 1, ""}, + {"(BoolNode).Type", Method, 0, ""}, + {"(BranchNode).Position", Method, 1, ""}, + {"(BranchNode).Type", Method, 0, ""}, + {"(BreakNode).Position", Method, 18, ""}, + {"(BreakNode).Type", Method, 18, ""}, + {"(ChainNode).Position", Method, 1, ""}, + {"(ChainNode).Type", Method, 1, ""}, + {"(CommandNode).Position", Method, 1, ""}, + {"(CommandNode).Type", Method, 0, ""}, + {"(CommentNode).Position", Method, 16, ""}, + {"(CommentNode).Type", Method, 16, ""}, + {"(ContinueNode).Position", Method, 18, ""}, + {"(ContinueNode).Type", Method, 18, ""}, + {"(DotNode).Position", Method, 1, ""}, + {"(FieldNode).Position", Method, 1, ""}, + {"(FieldNode).Type", Method, 0, ""}, + {"(IdentifierNode).Position", Method, 1, ""}, + {"(IdentifierNode).Type", Method, 0, ""}, + {"(IfNode).Position", Method, 1, ""}, + {"(IfNode).Type", Method, 0, ""}, + {"(ListNode).Position", Method, 1, ""}, + {"(ListNode).Type", Method, 0, ""}, + {"(NilNode).Position", Method, 1, ""}, + {"(NodeType).Type", Method, 0, ""}, + {"(NumberNode).Position", Method, 1, ""}, + {"(NumberNode).Type", Method, 0, ""}, + {"(PipeNode).Position", Method, 1, ""}, + {"(PipeNode).Type", Method, 0, ""}, + {"(Pos).Position", Method, 1, ""}, + {"(RangeNode).Position", Method, 1, ""}, + {"(RangeNode).Type", Method, 0, ""}, + {"(StringNode).Position", Method, 1, ""}, + {"(StringNode).Type", Method, 0, ""}, + {"(TemplateNode).Position", Method, 1, ""}, + {"(TemplateNode).Type", Method, 0, ""}, + {"(TextNode).Position", Method, 1, ""}, + {"(TextNode).Type", Method, 0, ""}, + {"(VariableNode).Position", Method, 1, ""}, + {"(VariableNode).Type", Method, 0, ""}, + {"(WithNode).Position", Method, 1, ""}, + {"(WithNode).Type", Method, 0, ""}, + {"ActionNode", Type, 0, ""}, + {"ActionNode.Line", Field, 0, ""}, + {"ActionNode.NodeType", Field, 0, ""}, + {"ActionNode.Pipe", Field, 0, ""}, + {"ActionNode.Pos", Field, 1, ""}, + {"BoolNode", Type, 0, ""}, + {"BoolNode.NodeType", Field, 0, ""}, + {"BoolNode.Pos", Field, 1, ""}, + {"BoolNode.True", Field, 0, ""}, + {"BranchNode", Type, 0, ""}, + {"BranchNode.ElseList", Field, 0, ""}, + {"BranchNode.Line", Field, 0, ""}, + {"BranchNode.List", Field, 0, ""}, + {"BranchNode.NodeType", Field, 0, ""}, + {"BranchNode.Pipe", Field, 0, ""}, + {"BranchNode.Pos", Field, 1, ""}, + {"BreakNode", Type, 18, ""}, + {"BreakNode.Line", Field, 18, ""}, + {"BreakNode.NodeType", Field, 18, ""}, + {"BreakNode.Pos", Field, 18, ""}, + {"ChainNode", Type, 1, ""}, + {"ChainNode.Field", Field, 1, ""}, + {"ChainNode.Node", Field, 1, ""}, + {"ChainNode.NodeType", Field, 1, ""}, + {"ChainNode.Pos", Field, 1, ""}, + {"CommandNode", Type, 0, ""}, + {"CommandNode.Args", Field, 0, ""}, + {"CommandNode.NodeType", Field, 0, ""}, + {"CommandNode.Pos", Field, 1, ""}, + {"CommentNode", Type, 16, ""}, + {"CommentNode.NodeType", Field, 16, ""}, + {"CommentNode.Pos", Field, 16, ""}, + {"CommentNode.Text", Field, 16, ""}, + {"ContinueNode", Type, 18, ""}, + {"ContinueNode.Line", Field, 18, ""}, + {"ContinueNode.NodeType", Field, 18, ""}, + {"ContinueNode.Pos", Field, 18, ""}, + {"DotNode", Type, 0, ""}, + {"DotNode.NodeType", Field, 4, ""}, + {"DotNode.Pos", Field, 1, ""}, + {"FieldNode", Type, 0, ""}, + {"FieldNode.Ident", Field, 0, ""}, + {"FieldNode.NodeType", Field, 0, ""}, + {"FieldNode.Pos", Field, 1, ""}, + {"IdentifierNode", Type, 0, ""}, + {"IdentifierNode.Ident", Field, 0, ""}, + {"IdentifierNode.NodeType", Field, 0, ""}, + {"IdentifierNode.Pos", Field, 1, ""}, + {"IfNode", Type, 0, ""}, + {"IfNode.BranchNode", Field, 0, ""}, + {"IsEmptyTree", Func, 0, "func(n Node) bool"}, + {"ListNode", Type, 0, ""}, + {"ListNode.NodeType", Field, 0, ""}, + {"ListNode.Nodes", Field, 0, ""}, + {"ListNode.Pos", Field, 1, ""}, + {"Mode", Type, 16, ""}, + {"New", Func, 0, "func(name string, funcs ...map[string]any) *Tree"}, + {"NewIdentifier", Func, 0, "func(ident string) *IdentifierNode"}, + {"NilNode", Type, 1, ""}, + {"NilNode.NodeType", Field, 4, ""}, + {"NilNode.Pos", Field, 1, ""}, + {"Node", Type, 0, ""}, + {"NodeAction", Const, 0, ""}, + {"NodeBool", Const, 0, ""}, + {"NodeBreak", Const, 18, ""}, + {"NodeChain", Const, 1, ""}, + {"NodeCommand", Const, 0, ""}, + {"NodeComment", Const, 16, ""}, + {"NodeContinue", Const, 18, ""}, + {"NodeDot", Const, 0, ""}, + {"NodeField", Const, 0, ""}, + {"NodeIdentifier", Const, 0, ""}, + {"NodeIf", Const, 0, ""}, + {"NodeList", Const, 0, ""}, + {"NodeNil", Const, 1, ""}, + {"NodeNumber", Const, 0, ""}, + {"NodePipe", Const, 0, ""}, + {"NodeRange", Const, 0, ""}, + {"NodeString", Const, 0, ""}, + {"NodeTemplate", Const, 0, ""}, + {"NodeText", Const, 0, ""}, + {"NodeType", Type, 0, ""}, + {"NodeVariable", Const, 0, ""}, + {"NodeWith", Const, 0, ""}, + {"NumberNode", Type, 0, ""}, + {"NumberNode.Complex128", Field, 0, ""}, + {"NumberNode.Float64", Field, 0, ""}, + {"NumberNode.Int64", Field, 0, ""}, + {"NumberNode.IsComplex", Field, 0, ""}, + {"NumberNode.IsFloat", Field, 0, ""}, + {"NumberNode.IsInt", Field, 0, ""}, + {"NumberNode.IsUint", Field, 0, ""}, + {"NumberNode.NodeType", Field, 0, ""}, + {"NumberNode.Pos", Field, 1, ""}, + {"NumberNode.Text", Field, 0, ""}, + {"NumberNode.Uint64", Field, 0, ""}, + {"Parse", Func, 0, "func(name string, text string, leftDelim string, rightDelim string, funcs ...map[string]any) (map[string]*Tree, error)"}, + {"ParseComments", Const, 16, ""}, + {"PipeNode", Type, 0, ""}, + {"PipeNode.Cmds", Field, 0, ""}, + {"PipeNode.Decl", Field, 0, ""}, + {"PipeNode.IsAssign", Field, 11, ""}, + {"PipeNode.Line", Field, 0, ""}, + {"PipeNode.NodeType", Field, 0, ""}, + {"PipeNode.Pos", Field, 1, ""}, + {"Pos", Type, 1, ""}, + {"RangeNode", Type, 0, ""}, + {"RangeNode.BranchNode", Field, 0, ""}, + {"SkipFuncCheck", Const, 17, ""}, + {"StringNode", Type, 0, ""}, + {"StringNode.NodeType", Field, 0, ""}, + {"StringNode.Pos", Field, 1, ""}, + {"StringNode.Quoted", Field, 0, ""}, + {"StringNode.Text", Field, 0, ""}, + {"TemplateNode", Type, 0, ""}, + {"TemplateNode.Line", Field, 0, ""}, + {"TemplateNode.Name", Field, 0, ""}, + {"TemplateNode.NodeType", Field, 0, ""}, + {"TemplateNode.Pipe", Field, 0, ""}, + {"TemplateNode.Pos", Field, 1, ""}, + {"TextNode", Type, 0, ""}, + {"TextNode.NodeType", Field, 0, ""}, + {"TextNode.Pos", Field, 1, ""}, + {"TextNode.Text", Field, 0, ""}, + {"Tree", Type, 0, ""}, + {"Tree.Mode", Field, 16, ""}, + {"Tree.Name", Field, 0, ""}, + {"Tree.ParseName", Field, 1, ""}, + {"Tree.Root", Field, 0, ""}, + {"VariableNode", Type, 0, ""}, + {"VariableNode.Ident", Field, 0, ""}, + {"VariableNode.NodeType", Field, 0, ""}, + {"VariableNode.Pos", Field, 1, ""}, + {"WithNode", Type, 0, ""}, + {"WithNode.BranchNode", Field, 0, ""}, }, "time": { - {"(*Location).String", Method, 0}, - {"(*ParseError).Error", Method, 0}, - {"(*Ticker).Reset", Method, 15}, - {"(*Ticker).Stop", Method, 0}, - {"(*Time).GobDecode", Method, 0}, - {"(*Time).UnmarshalBinary", Method, 2}, - {"(*Time).UnmarshalJSON", Method, 0}, - {"(*Time).UnmarshalText", Method, 2}, - {"(*Timer).Reset", Method, 1}, - {"(*Timer).Stop", Method, 0}, - {"(Duration).Abs", Method, 19}, - {"(Duration).Hours", Method, 0}, - {"(Duration).Microseconds", Method, 13}, - {"(Duration).Milliseconds", Method, 13}, - {"(Duration).Minutes", Method, 0}, - {"(Duration).Nanoseconds", Method, 0}, - {"(Duration).Round", Method, 9}, - {"(Duration).Seconds", Method, 0}, - {"(Duration).String", Method, 0}, - {"(Duration).Truncate", Method, 9}, - {"(Month).String", Method, 0}, - {"(Time).Add", Method, 0}, - {"(Time).AddDate", Method, 0}, - {"(Time).After", Method, 0}, - {"(Time).AppendBinary", Method, 24}, - {"(Time).AppendFormat", Method, 5}, - {"(Time).AppendText", Method, 24}, - {"(Time).Before", Method, 0}, - {"(Time).Clock", Method, 0}, - {"(Time).Compare", Method, 20}, - {"(Time).Date", Method, 0}, - {"(Time).Day", Method, 0}, - {"(Time).Equal", Method, 0}, - {"(Time).Format", Method, 0}, - {"(Time).GoString", Method, 17}, - {"(Time).GobEncode", Method, 0}, - {"(Time).Hour", Method, 0}, - {"(Time).ISOWeek", Method, 0}, - {"(Time).In", Method, 0}, - {"(Time).IsDST", Method, 17}, - {"(Time).IsZero", Method, 0}, - {"(Time).Local", Method, 0}, - {"(Time).Location", Method, 0}, - {"(Time).MarshalBinary", Method, 2}, - {"(Time).MarshalJSON", Method, 0}, - {"(Time).MarshalText", Method, 2}, - {"(Time).Minute", Method, 0}, - {"(Time).Month", Method, 0}, - {"(Time).Nanosecond", Method, 0}, - {"(Time).Round", Method, 1}, - {"(Time).Second", Method, 0}, - {"(Time).String", Method, 0}, - {"(Time).Sub", Method, 0}, - {"(Time).Truncate", Method, 1}, - {"(Time).UTC", Method, 0}, - {"(Time).Unix", Method, 0}, - {"(Time).UnixMicro", Method, 17}, - {"(Time).UnixMilli", Method, 17}, - {"(Time).UnixNano", Method, 0}, - {"(Time).Weekday", Method, 0}, - {"(Time).Year", Method, 0}, - {"(Time).YearDay", Method, 1}, - {"(Time).Zone", Method, 0}, - {"(Time).ZoneBounds", Method, 19}, - {"(Weekday).String", Method, 0}, - {"ANSIC", Const, 0}, - {"After", Func, 0}, - {"AfterFunc", Func, 0}, - {"April", Const, 0}, - {"August", Const, 0}, - {"Date", Func, 0}, - {"DateOnly", Const, 20}, - {"DateTime", Const, 20}, - {"December", Const, 0}, - {"Duration", Type, 0}, - {"February", Const, 0}, - {"FixedZone", Func, 0}, - {"Friday", Const, 0}, - {"Hour", Const, 0}, - {"January", Const, 0}, - {"July", Const, 0}, - {"June", Const, 0}, - {"Kitchen", Const, 0}, - {"Layout", Const, 17}, - {"LoadLocation", Func, 0}, - {"LoadLocationFromTZData", Func, 10}, - {"Local", Var, 0}, - {"Location", Type, 0}, - {"March", Const, 0}, - {"May", Const, 0}, - {"Microsecond", Const, 0}, - {"Millisecond", Const, 0}, - {"Minute", Const, 0}, - {"Monday", Const, 0}, - {"Month", Type, 0}, - {"Nanosecond", Const, 0}, - {"NewTicker", Func, 0}, - {"NewTimer", Func, 0}, - {"November", Const, 0}, - {"Now", Func, 0}, - {"October", Const, 0}, - {"Parse", Func, 0}, - {"ParseDuration", Func, 0}, - {"ParseError", Type, 0}, - {"ParseError.Layout", Field, 0}, - {"ParseError.LayoutElem", Field, 0}, - {"ParseError.Message", Field, 0}, - {"ParseError.Value", Field, 0}, - {"ParseError.ValueElem", Field, 0}, - {"ParseInLocation", Func, 1}, - {"RFC1123", Const, 0}, - {"RFC1123Z", Const, 0}, - {"RFC3339", Const, 0}, - {"RFC3339Nano", Const, 0}, - {"RFC822", Const, 0}, - {"RFC822Z", Const, 0}, - {"RFC850", Const, 0}, - {"RubyDate", Const, 0}, - {"Saturday", Const, 0}, - {"Second", Const, 0}, - {"September", Const, 0}, - {"Since", Func, 0}, - {"Sleep", Func, 0}, - {"Stamp", Const, 0}, - {"StampMicro", Const, 0}, - {"StampMilli", Const, 0}, - {"StampNano", Const, 0}, - {"Sunday", Const, 0}, - {"Thursday", Const, 0}, - {"Tick", Func, 0}, - {"Ticker", Type, 0}, - {"Ticker.C", Field, 0}, - {"Time", Type, 0}, - {"TimeOnly", Const, 20}, - {"Timer", Type, 0}, - {"Timer.C", Field, 0}, - {"Tuesday", Const, 0}, - {"UTC", Var, 0}, - {"Unix", Func, 0}, - {"UnixDate", Const, 0}, - {"UnixMicro", Func, 17}, - {"UnixMilli", Func, 17}, - {"Until", Func, 8}, - {"Wednesday", Const, 0}, - {"Weekday", Type, 0}, + {"(*Location).String", Method, 0, ""}, + {"(*ParseError).Error", Method, 0, ""}, + {"(*Ticker).Reset", Method, 15, ""}, + {"(*Ticker).Stop", Method, 0, ""}, + {"(*Time).GobDecode", Method, 0, ""}, + {"(*Time).UnmarshalBinary", Method, 2, ""}, + {"(*Time).UnmarshalJSON", Method, 0, ""}, + {"(*Time).UnmarshalText", Method, 2, ""}, + {"(*Timer).Reset", Method, 1, ""}, + {"(*Timer).Stop", Method, 0, ""}, + {"(Duration).Abs", Method, 19, ""}, + {"(Duration).Hours", Method, 0, ""}, + {"(Duration).Microseconds", Method, 13, ""}, + {"(Duration).Milliseconds", Method, 13, ""}, + {"(Duration).Minutes", Method, 0, ""}, + {"(Duration).Nanoseconds", Method, 0, ""}, + {"(Duration).Round", Method, 9, ""}, + {"(Duration).Seconds", Method, 0, ""}, + {"(Duration).String", Method, 0, ""}, + {"(Duration).Truncate", Method, 9, ""}, + {"(Month).String", Method, 0, ""}, + {"(Time).Add", Method, 0, ""}, + {"(Time).AddDate", Method, 0, ""}, + {"(Time).After", Method, 0, ""}, + {"(Time).AppendBinary", Method, 24, ""}, + {"(Time).AppendFormat", Method, 5, ""}, + {"(Time).AppendText", Method, 24, ""}, + {"(Time).Before", Method, 0, ""}, + {"(Time).Clock", Method, 0, ""}, + {"(Time).Compare", Method, 20, ""}, + {"(Time).Date", Method, 0, ""}, + {"(Time).Day", Method, 0, ""}, + {"(Time).Equal", Method, 0, ""}, + {"(Time).Format", Method, 0, ""}, + {"(Time).GoString", Method, 17, ""}, + {"(Time).GobEncode", Method, 0, ""}, + {"(Time).Hour", Method, 0, ""}, + {"(Time).ISOWeek", Method, 0, ""}, + {"(Time).In", Method, 0, ""}, + {"(Time).IsDST", Method, 17, ""}, + {"(Time).IsZero", Method, 0, ""}, + {"(Time).Local", Method, 0, ""}, + {"(Time).Location", Method, 0, ""}, + {"(Time).MarshalBinary", Method, 2, ""}, + {"(Time).MarshalJSON", Method, 0, ""}, + {"(Time).MarshalText", Method, 2, ""}, + {"(Time).Minute", Method, 0, ""}, + {"(Time).Month", Method, 0, ""}, + {"(Time).Nanosecond", Method, 0, ""}, + {"(Time).Round", Method, 1, ""}, + {"(Time).Second", Method, 0, ""}, + {"(Time).String", Method, 0, ""}, + {"(Time).Sub", Method, 0, ""}, + {"(Time).Truncate", Method, 1, ""}, + {"(Time).UTC", Method, 0, ""}, + {"(Time).Unix", Method, 0, ""}, + {"(Time).UnixMicro", Method, 17, ""}, + {"(Time).UnixMilli", Method, 17, ""}, + {"(Time).UnixNano", Method, 0, ""}, + {"(Time).Weekday", Method, 0, ""}, + {"(Time).Year", Method, 0, ""}, + {"(Time).YearDay", Method, 1, ""}, + {"(Time).Zone", Method, 0, ""}, + {"(Time).ZoneBounds", Method, 19, ""}, + {"(Weekday).String", Method, 0, ""}, + {"ANSIC", Const, 0, ""}, + {"After", Func, 0, "func(d Duration) <-chan Time"}, + {"AfterFunc", Func, 0, "func(d Duration, f func()) *Timer"}, + {"April", Const, 0, ""}, + {"August", Const, 0, ""}, + {"Date", Func, 0, "func(year int, month Month, day int, hour int, min int, sec int, nsec int, loc *Location) Time"}, + {"DateOnly", Const, 20, ""}, + {"DateTime", Const, 20, ""}, + {"December", Const, 0, ""}, + {"Duration", Type, 0, ""}, + {"February", Const, 0, ""}, + {"FixedZone", Func, 0, "func(name string, offset int) *Location"}, + {"Friday", Const, 0, ""}, + {"Hour", Const, 0, ""}, + {"January", Const, 0, ""}, + {"July", Const, 0, ""}, + {"June", Const, 0, ""}, + {"Kitchen", Const, 0, ""}, + {"Layout", Const, 17, ""}, + {"LoadLocation", Func, 0, "func(name string) (*Location, error)"}, + {"LoadLocationFromTZData", Func, 10, "func(name string, data []byte) (*Location, error)"}, + {"Local", Var, 0, ""}, + {"Location", Type, 0, ""}, + {"March", Const, 0, ""}, + {"May", Const, 0, ""}, + {"Microsecond", Const, 0, ""}, + {"Millisecond", Const, 0, ""}, + {"Minute", Const, 0, ""}, + {"Monday", Const, 0, ""}, + {"Month", Type, 0, ""}, + {"Nanosecond", Const, 0, ""}, + {"NewTicker", Func, 0, "func(d Duration) *Ticker"}, + {"NewTimer", Func, 0, "func(d Duration) *Timer"}, + {"November", Const, 0, ""}, + {"Now", Func, 0, "func() Time"}, + {"October", Const, 0, ""}, + {"Parse", Func, 0, "func(layout string, value string) (Time, error)"}, + {"ParseDuration", Func, 0, "func(s string) (Duration, error)"}, + {"ParseError", Type, 0, ""}, + {"ParseError.Layout", Field, 0, ""}, + {"ParseError.LayoutElem", Field, 0, ""}, + {"ParseError.Message", Field, 0, ""}, + {"ParseError.Value", Field, 0, ""}, + {"ParseError.ValueElem", Field, 0, ""}, + {"ParseInLocation", Func, 1, "func(layout string, value string, loc *Location) (Time, error)"}, + {"RFC1123", Const, 0, ""}, + {"RFC1123Z", Const, 0, ""}, + {"RFC3339", Const, 0, ""}, + {"RFC3339Nano", Const, 0, ""}, + {"RFC822", Const, 0, ""}, + {"RFC822Z", Const, 0, ""}, + {"RFC850", Const, 0, ""}, + {"RubyDate", Const, 0, ""}, + {"Saturday", Const, 0, ""}, + {"Second", Const, 0, ""}, + {"September", Const, 0, ""}, + {"Since", Func, 0, "func(t Time) Duration"}, + {"Sleep", Func, 0, "func(d Duration)"}, + {"Stamp", Const, 0, ""}, + {"StampMicro", Const, 0, ""}, + {"StampMilli", Const, 0, ""}, + {"StampNano", Const, 0, ""}, + {"Sunday", Const, 0, ""}, + {"Thursday", Const, 0, ""}, + {"Tick", Func, 0, "func(d Duration) <-chan Time"}, + {"Ticker", Type, 0, ""}, + {"Ticker.C", Field, 0, ""}, + {"Time", Type, 0, ""}, + {"TimeOnly", Const, 20, ""}, + {"Timer", Type, 0, ""}, + {"Timer.C", Field, 0, ""}, + {"Tuesday", Const, 0, ""}, + {"UTC", Var, 0, ""}, + {"Unix", Func, 0, "func(sec int64, nsec int64) Time"}, + {"UnixDate", Const, 0, ""}, + {"UnixMicro", Func, 17, "func(usec int64) Time"}, + {"UnixMilli", Func, 17, "func(msec int64) Time"}, + {"Until", Func, 8, "func(t Time) Duration"}, + {"Wednesday", Const, 0, ""}, + {"Weekday", Type, 0, ""}, }, "unicode": { - {"(SpecialCase).ToLower", Method, 0}, - {"(SpecialCase).ToTitle", Method, 0}, - {"(SpecialCase).ToUpper", Method, 0}, - {"ASCII_Hex_Digit", Var, 0}, - {"Adlam", Var, 7}, - {"Ahom", Var, 5}, - {"Anatolian_Hieroglyphs", Var, 5}, - {"Arabic", Var, 0}, - {"Armenian", Var, 0}, - {"Avestan", Var, 0}, - {"AzeriCase", Var, 0}, - {"Balinese", Var, 0}, - {"Bamum", Var, 0}, - {"Bassa_Vah", Var, 4}, - {"Batak", Var, 0}, - {"Bengali", Var, 0}, - {"Bhaiksuki", Var, 7}, - {"Bidi_Control", Var, 0}, - {"Bopomofo", Var, 0}, - {"Brahmi", Var, 0}, - {"Braille", Var, 0}, - {"Buginese", Var, 0}, - {"Buhid", Var, 0}, - {"C", Var, 0}, - {"Canadian_Aboriginal", Var, 0}, - {"Carian", Var, 0}, - {"CaseRange", Type, 0}, - {"CaseRange.Delta", Field, 0}, - {"CaseRange.Hi", Field, 0}, - {"CaseRange.Lo", Field, 0}, - {"CaseRanges", Var, 0}, - {"Categories", Var, 0}, - {"Caucasian_Albanian", Var, 4}, - {"Cc", Var, 0}, - {"Cf", Var, 0}, - {"Chakma", Var, 1}, - {"Cham", Var, 0}, - {"Cherokee", Var, 0}, - {"Chorasmian", Var, 16}, - {"Co", Var, 0}, - {"Common", Var, 0}, - {"Coptic", Var, 0}, - {"Cs", Var, 0}, - {"Cuneiform", Var, 0}, - {"Cypriot", Var, 0}, - {"Cypro_Minoan", Var, 21}, - {"Cyrillic", Var, 0}, - {"Dash", Var, 0}, - {"Deprecated", Var, 0}, - {"Deseret", Var, 0}, - {"Devanagari", Var, 0}, - {"Diacritic", Var, 0}, - {"Digit", Var, 0}, - {"Dives_Akuru", Var, 16}, - {"Dogra", Var, 13}, - {"Duployan", Var, 4}, - {"Egyptian_Hieroglyphs", Var, 0}, - {"Elbasan", Var, 4}, - {"Elymaic", Var, 14}, - {"Ethiopic", Var, 0}, - {"Extender", Var, 0}, - {"FoldCategory", Var, 0}, - {"FoldScript", Var, 0}, - {"Georgian", Var, 0}, - {"Glagolitic", Var, 0}, - {"Gothic", Var, 0}, - {"Grantha", Var, 4}, - {"GraphicRanges", Var, 0}, - {"Greek", Var, 0}, - {"Gujarati", Var, 0}, - {"Gunjala_Gondi", Var, 13}, - {"Gurmukhi", Var, 0}, - {"Han", Var, 0}, - {"Hangul", Var, 0}, - {"Hanifi_Rohingya", Var, 13}, - {"Hanunoo", Var, 0}, - {"Hatran", Var, 5}, - {"Hebrew", Var, 0}, - {"Hex_Digit", Var, 0}, - {"Hiragana", Var, 0}, - {"Hyphen", Var, 0}, - {"IDS_Binary_Operator", Var, 0}, - {"IDS_Trinary_Operator", Var, 0}, - {"Ideographic", Var, 0}, - {"Imperial_Aramaic", Var, 0}, - {"In", Func, 2}, - {"Inherited", Var, 0}, - {"Inscriptional_Pahlavi", Var, 0}, - {"Inscriptional_Parthian", Var, 0}, - {"Is", Func, 0}, - {"IsControl", Func, 0}, - {"IsDigit", Func, 0}, - {"IsGraphic", Func, 0}, - {"IsLetter", Func, 0}, - {"IsLower", Func, 0}, - {"IsMark", Func, 0}, - {"IsNumber", Func, 0}, - {"IsOneOf", Func, 0}, - {"IsPrint", Func, 0}, - {"IsPunct", Func, 0}, - {"IsSpace", Func, 0}, - {"IsSymbol", Func, 0}, - {"IsTitle", Func, 0}, - {"IsUpper", Func, 0}, - {"Javanese", Var, 0}, - {"Join_Control", Var, 0}, - {"Kaithi", Var, 0}, - {"Kannada", Var, 0}, - {"Katakana", Var, 0}, - {"Kawi", Var, 21}, - {"Kayah_Li", Var, 0}, - {"Kharoshthi", Var, 0}, - {"Khitan_Small_Script", Var, 16}, - {"Khmer", Var, 0}, - {"Khojki", Var, 4}, - {"Khudawadi", Var, 4}, - {"L", Var, 0}, - {"Lao", Var, 0}, - {"Latin", Var, 0}, - {"Lepcha", Var, 0}, - {"Letter", Var, 0}, - {"Limbu", Var, 0}, - {"Linear_A", Var, 4}, - {"Linear_B", Var, 0}, - {"Lisu", Var, 0}, - {"Ll", Var, 0}, - {"Lm", Var, 0}, - {"Lo", Var, 0}, - {"Logical_Order_Exception", Var, 0}, - {"Lower", Var, 0}, - {"LowerCase", Const, 0}, - {"Lt", Var, 0}, - {"Lu", Var, 0}, - {"Lycian", Var, 0}, - {"Lydian", Var, 0}, - {"M", Var, 0}, - {"Mahajani", Var, 4}, - {"Makasar", Var, 13}, - {"Malayalam", Var, 0}, - {"Mandaic", Var, 0}, - {"Manichaean", Var, 4}, - {"Marchen", Var, 7}, - {"Mark", Var, 0}, - {"Masaram_Gondi", Var, 10}, - {"MaxASCII", Const, 0}, - {"MaxCase", Const, 0}, - {"MaxLatin1", Const, 0}, - {"MaxRune", Const, 0}, - {"Mc", Var, 0}, - {"Me", Var, 0}, - {"Medefaidrin", Var, 13}, - {"Meetei_Mayek", Var, 0}, - {"Mende_Kikakui", Var, 4}, - {"Meroitic_Cursive", Var, 1}, - {"Meroitic_Hieroglyphs", Var, 1}, - {"Miao", Var, 1}, - {"Mn", Var, 0}, - {"Modi", Var, 4}, - {"Mongolian", Var, 0}, - {"Mro", Var, 4}, - {"Multani", Var, 5}, - {"Myanmar", Var, 0}, - {"N", Var, 0}, - {"Nabataean", Var, 4}, - {"Nag_Mundari", Var, 21}, - {"Nandinagari", Var, 14}, - {"Nd", Var, 0}, - {"New_Tai_Lue", Var, 0}, - {"Newa", Var, 7}, - {"Nko", Var, 0}, - {"Nl", Var, 0}, - {"No", Var, 0}, - {"Noncharacter_Code_Point", Var, 0}, - {"Number", Var, 0}, - {"Nushu", Var, 10}, - {"Nyiakeng_Puachue_Hmong", Var, 14}, - {"Ogham", Var, 0}, - {"Ol_Chiki", Var, 0}, - {"Old_Hungarian", Var, 5}, - {"Old_Italic", Var, 0}, - {"Old_North_Arabian", Var, 4}, - {"Old_Permic", Var, 4}, - {"Old_Persian", Var, 0}, - {"Old_Sogdian", Var, 13}, - {"Old_South_Arabian", Var, 0}, - {"Old_Turkic", Var, 0}, - {"Old_Uyghur", Var, 21}, - {"Oriya", Var, 0}, - {"Osage", Var, 7}, - {"Osmanya", Var, 0}, - {"Other", Var, 0}, - {"Other_Alphabetic", Var, 0}, - {"Other_Default_Ignorable_Code_Point", Var, 0}, - {"Other_Grapheme_Extend", Var, 0}, - {"Other_ID_Continue", Var, 0}, - {"Other_ID_Start", Var, 0}, - {"Other_Lowercase", Var, 0}, - {"Other_Math", Var, 0}, - {"Other_Uppercase", Var, 0}, - {"P", Var, 0}, - {"Pahawh_Hmong", Var, 4}, - {"Palmyrene", Var, 4}, - {"Pattern_Syntax", Var, 0}, - {"Pattern_White_Space", Var, 0}, - {"Pau_Cin_Hau", Var, 4}, - {"Pc", Var, 0}, - {"Pd", Var, 0}, - {"Pe", Var, 0}, - {"Pf", Var, 0}, - {"Phags_Pa", Var, 0}, - {"Phoenician", Var, 0}, - {"Pi", Var, 0}, - {"Po", Var, 0}, - {"Prepended_Concatenation_Mark", Var, 7}, - {"PrintRanges", Var, 0}, - {"Properties", Var, 0}, - {"Ps", Var, 0}, - {"Psalter_Pahlavi", Var, 4}, - {"Punct", Var, 0}, - {"Quotation_Mark", Var, 0}, - {"Radical", Var, 0}, - {"Range16", Type, 0}, - {"Range16.Hi", Field, 0}, - {"Range16.Lo", Field, 0}, - {"Range16.Stride", Field, 0}, - {"Range32", Type, 0}, - {"Range32.Hi", Field, 0}, - {"Range32.Lo", Field, 0}, - {"Range32.Stride", Field, 0}, - {"RangeTable", Type, 0}, - {"RangeTable.LatinOffset", Field, 1}, - {"RangeTable.R16", Field, 0}, - {"RangeTable.R32", Field, 0}, - {"Regional_Indicator", Var, 10}, - {"Rejang", Var, 0}, - {"ReplacementChar", Const, 0}, - {"Runic", Var, 0}, - {"S", Var, 0}, - {"STerm", Var, 0}, - {"Samaritan", Var, 0}, - {"Saurashtra", Var, 0}, - {"Sc", Var, 0}, - {"Scripts", Var, 0}, - {"Sentence_Terminal", Var, 7}, - {"Sharada", Var, 1}, - {"Shavian", Var, 0}, - {"Siddham", Var, 4}, - {"SignWriting", Var, 5}, - {"SimpleFold", Func, 0}, - {"Sinhala", Var, 0}, - {"Sk", Var, 0}, - {"Sm", Var, 0}, - {"So", Var, 0}, - {"Soft_Dotted", Var, 0}, - {"Sogdian", Var, 13}, - {"Sora_Sompeng", Var, 1}, - {"Soyombo", Var, 10}, - {"Space", Var, 0}, - {"SpecialCase", Type, 0}, - {"Sundanese", Var, 0}, - {"Syloti_Nagri", Var, 0}, - {"Symbol", Var, 0}, - {"Syriac", Var, 0}, - {"Tagalog", Var, 0}, - {"Tagbanwa", Var, 0}, - {"Tai_Le", Var, 0}, - {"Tai_Tham", Var, 0}, - {"Tai_Viet", Var, 0}, - {"Takri", Var, 1}, - {"Tamil", Var, 0}, - {"Tangsa", Var, 21}, - {"Tangut", Var, 7}, - {"Telugu", Var, 0}, - {"Terminal_Punctuation", Var, 0}, - {"Thaana", Var, 0}, - {"Thai", Var, 0}, - {"Tibetan", Var, 0}, - {"Tifinagh", Var, 0}, - {"Tirhuta", Var, 4}, - {"Title", Var, 0}, - {"TitleCase", Const, 0}, - {"To", Func, 0}, - {"ToLower", Func, 0}, - {"ToTitle", Func, 0}, - {"ToUpper", Func, 0}, - {"Toto", Var, 21}, - {"TurkishCase", Var, 0}, - {"Ugaritic", Var, 0}, - {"Unified_Ideograph", Var, 0}, - {"Upper", Var, 0}, - {"UpperCase", Const, 0}, - {"UpperLower", Const, 0}, - {"Vai", Var, 0}, - {"Variation_Selector", Var, 0}, - {"Version", Const, 0}, - {"Vithkuqi", Var, 21}, - {"Wancho", Var, 14}, - {"Warang_Citi", Var, 4}, - {"White_Space", Var, 0}, - {"Yezidi", Var, 16}, - {"Yi", Var, 0}, - {"Z", Var, 0}, - {"Zanabazar_Square", Var, 10}, - {"Zl", Var, 0}, - {"Zp", Var, 0}, - {"Zs", Var, 0}, + {"(SpecialCase).ToLower", Method, 0, ""}, + {"(SpecialCase).ToTitle", Method, 0, ""}, + {"(SpecialCase).ToUpper", Method, 0, ""}, + {"ASCII_Hex_Digit", Var, 0, ""}, + {"Adlam", Var, 7, ""}, + {"Ahom", Var, 5, ""}, + {"Anatolian_Hieroglyphs", Var, 5, ""}, + {"Arabic", Var, 0, ""}, + {"Armenian", Var, 0, ""}, + {"Avestan", Var, 0, ""}, + {"AzeriCase", Var, 0, ""}, + {"Balinese", Var, 0, ""}, + {"Bamum", Var, 0, ""}, + {"Bassa_Vah", Var, 4, ""}, + {"Batak", Var, 0, ""}, + {"Bengali", Var, 0, ""}, + {"Bhaiksuki", Var, 7, ""}, + {"Bidi_Control", Var, 0, ""}, + {"Bopomofo", Var, 0, ""}, + {"Brahmi", Var, 0, ""}, + {"Braille", Var, 0, ""}, + {"Buginese", Var, 0, ""}, + {"Buhid", Var, 0, ""}, + {"C", Var, 0, ""}, + {"Canadian_Aboriginal", Var, 0, ""}, + {"Carian", Var, 0, ""}, + {"CaseRange", Type, 0, ""}, + {"CaseRange.Delta", Field, 0, ""}, + {"CaseRange.Hi", Field, 0, ""}, + {"CaseRange.Lo", Field, 0, ""}, + {"CaseRanges", Var, 0, ""}, + {"Categories", Var, 0, ""}, + {"CategoryAliases", Var, 25, ""}, + {"Caucasian_Albanian", Var, 4, ""}, + {"Cc", Var, 0, ""}, + {"Cf", Var, 0, ""}, + {"Chakma", Var, 1, ""}, + {"Cham", Var, 0, ""}, + {"Cherokee", Var, 0, ""}, + {"Chorasmian", Var, 16, ""}, + {"Cn", Var, 25, ""}, + {"Co", Var, 0, ""}, + {"Common", Var, 0, ""}, + {"Coptic", Var, 0, ""}, + {"Cs", Var, 0, ""}, + {"Cuneiform", Var, 0, ""}, + {"Cypriot", Var, 0, ""}, + {"Cypro_Minoan", Var, 21, ""}, + {"Cyrillic", Var, 0, ""}, + {"Dash", Var, 0, ""}, + {"Deprecated", Var, 0, ""}, + {"Deseret", Var, 0, ""}, + {"Devanagari", Var, 0, ""}, + {"Diacritic", Var, 0, ""}, + {"Digit", Var, 0, ""}, + {"Dives_Akuru", Var, 16, ""}, + {"Dogra", Var, 13, ""}, + {"Duployan", Var, 4, ""}, + {"Egyptian_Hieroglyphs", Var, 0, ""}, + {"Elbasan", Var, 4, ""}, + {"Elymaic", Var, 14, ""}, + {"Ethiopic", Var, 0, ""}, + {"Extender", Var, 0, ""}, + {"FoldCategory", Var, 0, ""}, + {"FoldScript", Var, 0, ""}, + {"Georgian", Var, 0, ""}, + {"Glagolitic", Var, 0, ""}, + {"Gothic", Var, 0, ""}, + {"Grantha", Var, 4, ""}, + {"GraphicRanges", Var, 0, ""}, + {"Greek", Var, 0, ""}, + {"Gujarati", Var, 0, ""}, + {"Gunjala_Gondi", Var, 13, ""}, + {"Gurmukhi", Var, 0, ""}, + {"Han", Var, 0, ""}, + {"Hangul", Var, 0, ""}, + {"Hanifi_Rohingya", Var, 13, ""}, + {"Hanunoo", Var, 0, ""}, + {"Hatran", Var, 5, ""}, + {"Hebrew", Var, 0, ""}, + {"Hex_Digit", Var, 0, ""}, + {"Hiragana", Var, 0, ""}, + {"Hyphen", Var, 0, ""}, + {"IDS_Binary_Operator", Var, 0, ""}, + {"IDS_Trinary_Operator", Var, 0, ""}, + {"Ideographic", Var, 0, ""}, + {"Imperial_Aramaic", Var, 0, ""}, + {"In", Func, 2, "func(r rune, ranges ...*RangeTable) bool"}, + {"Inherited", Var, 0, ""}, + {"Inscriptional_Pahlavi", Var, 0, ""}, + {"Inscriptional_Parthian", Var, 0, ""}, + {"Is", Func, 0, "func(rangeTab *RangeTable, r rune) bool"}, + {"IsControl", Func, 0, "func(r rune) bool"}, + {"IsDigit", Func, 0, "func(r rune) bool"}, + {"IsGraphic", Func, 0, "func(r rune) bool"}, + {"IsLetter", Func, 0, "func(r rune) bool"}, + {"IsLower", Func, 0, "func(r rune) bool"}, + {"IsMark", Func, 0, "func(r rune) bool"}, + {"IsNumber", Func, 0, "func(r rune) bool"}, + {"IsOneOf", Func, 0, "func(ranges []*RangeTable, r rune) bool"}, + {"IsPrint", Func, 0, "func(r rune) bool"}, + {"IsPunct", Func, 0, "func(r rune) bool"}, + {"IsSpace", Func, 0, "func(r rune) bool"}, + {"IsSymbol", Func, 0, "func(r rune) bool"}, + {"IsTitle", Func, 0, "func(r rune) bool"}, + {"IsUpper", Func, 0, "func(r rune) bool"}, + {"Javanese", Var, 0, ""}, + {"Join_Control", Var, 0, ""}, + {"Kaithi", Var, 0, ""}, + {"Kannada", Var, 0, ""}, + {"Katakana", Var, 0, ""}, + {"Kawi", Var, 21, ""}, + {"Kayah_Li", Var, 0, ""}, + {"Kharoshthi", Var, 0, ""}, + {"Khitan_Small_Script", Var, 16, ""}, + {"Khmer", Var, 0, ""}, + {"Khojki", Var, 4, ""}, + {"Khudawadi", Var, 4, ""}, + {"L", Var, 0, ""}, + {"LC", Var, 25, ""}, + {"Lao", Var, 0, ""}, + {"Latin", Var, 0, ""}, + {"Lepcha", Var, 0, ""}, + {"Letter", Var, 0, ""}, + {"Limbu", Var, 0, ""}, + {"Linear_A", Var, 4, ""}, + {"Linear_B", Var, 0, ""}, + {"Lisu", Var, 0, ""}, + {"Ll", Var, 0, ""}, + {"Lm", Var, 0, ""}, + {"Lo", Var, 0, ""}, + {"Logical_Order_Exception", Var, 0, ""}, + {"Lower", Var, 0, ""}, + {"LowerCase", Const, 0, ""}, + {"Lt", Var, 0, ""}, + {"Lu", Var, 0, ""}, + {"Lycian", Var, 0, ""}, + {"Lydian", Var, 0, ""}, + {"M", Var, 0, ""}, + {"Mahajani", Var, 4, ""}, + {"Makasar", Var, 13, ""}, + {"Malayalam", Var, 0, ""}, + {"Mandaic", Var, 0, ""}, + {"Manichaean", Var, 4, ""}, + {"Marchen", Var, 7, ""}, + {"Mark", Var, 0, ""}, + {"Masaram_Gondi", Var, 10, ""}, + {"MaxASCII", Const, 0, ""}, + {"MaxCase", Const, 0, ""}, + {"MaxLatin1", Const, 0, ""}, + {"MaxRune", Const, 0, ""}, + {"Mc", Var, 0, ""}, + {"Me", Var, 0, ""}, + {"Medefaidrin", Var, 13, ""}, + {"Meetei_Mayek", Var, 0, ""}, + {"Mende_Kikakui", Var, 4, ""}, + {"Meroitic_Cursive", Var, 1, ""}, + {"Meroitic_Hieroglyphs", Var, 1, ""}, + {"Miao", Var, 1, ""}, + {"Mn", Var, 0, ""}, + {"Modi", Var, 4, ""}, + {"Mongolian", Var, 0, ""}, + {"Mro", Var, 4, ""}, + {"Multani", Var, 5, ""}, + {"Myanmar", Var, 0, ""}, + {"N", Var, 0, ""}, + {"Nabataean", Var, 4, ""}, + {"Nag_Mundari", Var, 21, ""}, + {"Nandinagari", Var, 14, ""}, + {"Nd", Var, 0, ""}, + {"New_Tai_Lue", Var, 0, ""}, + {"Newa", Var, 7, ""}, + {"Nko", Var, 0, ""}, + {"Nl", Var, 0, ""}, + {"No", Var, 0, ""}, + {"Noncharacter_Code_Point", Var, 0, ""}, + {"Number", Var, 0, ""}, + {"Nushu", Var, 10, ""}, + {"Nyiakeng_Puachue_Hmong", Var, 14, ""}, + {"Ogham", Var, 0, ""}, + {"Ol_Chiki", Var, 0, ""}, + {"Old_Hungarian", Var, 5, ""}, + {"Old_Italic", Var, 0, ""}, + {"Old_North_Arabian", Var, 4, ""}, + {"Old_Permic", Var, 4, ""}, + {"Old_Persian", Var, 0, ""}, + {"Old_Sogdian", Var, 13, ""}, + {"Old_South_Arabian", Var, 0, ""}, + {"Old_Turkic", Var, 0, ""}, + {"Old_Uyghur", Var, 21, ""}, + {"Oriya", Var, 0, ""}, + {"Osage", Var, 7, ""}, + {"Osmanya", Var, 0, ""}, + {"Other", Var, 0, ""}, + {"Other_Alphabetic", Var, 0, ""}, + {"Other_Default_Ignorable_Code_Point", Var, 0, ""}, + {"Other_Grapheme_Extend", Var, 0, ""}, + {"Other_ID_Continue", Var, 0, ""}, + {"Other_ID_Start", Var, 0, ""}, + {"Other_Lowercase", Var, 0, ""}, + {"Other_Math", Var, 0, ""}, + {"Other_Uppercase", Var, 0, ""}, + {"P", Var, 0, ""}, + {"Pahawh_Hmong", Var, 4, ""}, + {"Palmyrene", Var, 4, ""}, + {"Pattern_Syntax", Var, 0, ""}, + {"Pattern_White_Space", Var, 0, ""}, + {"Pau_Cin_Hau", Var, 4, ""}, + {"Pc", Var, 0, ""}, + {"Pd", Var, 0, ""}, + {"Pe", Var, 0, ""}, + {"Pf", Var, 0, ""}, + {"Phags_Pa", Var, 0, ""}, + {"Phoenician", Var, 0, ""}, + {"Pi", Var, 0, ""}, + {"Po", Var, 0, ""}, + {"Prepended_Concatenation_Mark", Var, 7, ""}, + {"PrintRanges", Var, 0, ""}, + {"Properties", Var, 0, ""}, + {"Ps", Var, 0, ""}, + {"Psalter_Pahlavi", Var, 4, ""}, + {"Punct", Var, 0, ""}, + {"Quotation_Mark", Var, 0, ""}, + {"Radical", Var, 0, ""}, + {"Range16", Type, 0, ""}, + {"Range16.Hi", Field, 0, ""}, + {"Range16.Lo", Field, 0, ""}, + {"Range16.Stride", Field, 0, ""}, + {"Range32", Type, 0, ""}, + {"Range32.Hi", Field, 0, ""}, + {"Range32.Lo", Field, 0, ""}, + {"Range32.Stride", Field, 0, ""}, + {"RangeTable", Type, 0, ""}, + {"RangeTable.LatinOffset", Field, 1, ""}, + {"RangeTable.R16", Field, 0, ""}, + {"RangeTable.R32", Field, 0, ""}, + {"Regional_Indicator", Var, 10, ""}, + {"Rejang", Var, 0, ""}, + {"ReplacementChar", Const, 0, ""}, + {"Runic", Var, 0, ""}, + {"S", Var, 0, ""}, + {"STerm", Var, 0, ""}, + {"Samaritan", Var, 0, ""}, + {"Saurashtra", Var, 0, ""}, + {"Sc", Var, 0, ""}, + {"Scripts", Var, 0, ""}, + {"Sentence_Terminal", Var, 7, ""}, + {"Sharada", Var, 1, ""}, + {"Shavian", Var, 0, ""}, + {"Siddham", Var, 4, ""}, + {"SignWriting", Var, 5, ""}, + {"SimpleFold", Func, 0, "func(r rune) rune"}, + {"Sinhala", Var, 0, ""}, + {"Sk", Var, 0, ""}, + {"Sm", Var, 0, ""}, + {"So", Var, 0, ""}, + {"Soft_Dotted", Var, 0, ""}, + {"Sogdian", Var, 13, ""}, + {"Sora_Sompeng", Var, 1, ""}, + {"Soyombo", Var, 10, ""}, + {"Space", Var, 0, ""}, + {"SpecialCase", Type, 0, ""}, + {"Sundanese", Var, 0, ""}, + {"Syloti_Nagri", Var, 0, ""}, + {"Symbol", Var, 0, ""}, + {"Syriac", Var, 0, ""}, + {"Tagalog", Var, 0, ""}, + {"Tagbanwa", Var, 0, ""}, + {"Tai_Le", Var, 0, ""}, + {"Tai_Tham", Var, 0, ""}, + {"Tai_Viet", Var, 0, ""}, + {"Takri", Var, 1, ""}, + {"Tamil", Var, 0, ""}, + {"Tangsa", Var, 21, ""}, + {"Tangut", Var, 7, ""}, + {"Telugu", Var, 0, ""}, + {"Terminal_Punctuation", Var, 0, ""}, + {"Thaana", Var, 0, ""}, + {"Thai", Var, 0, ""}, + {"Tibetan", Var, 0, ""}, + {"Tifinagh", Var, 0, ""}, + {"Tirhuta", Var, 4, ""}, + {"Title", Var, 0, ""}, + {"TitleCase", Const, 0, ""}, + {"To", Func, 0, "func(_case int, r rune) rune"}, + {"ToLower", Func, 0, "func(r rune) rune"}, + {"ToTitle", Func, 0, "func(r rune) rune"}, + {"ToUpper", Func, 0, "func(r rune) rune"}, + {"Toto", Var, 21, ""}, + {"TurkishCase", Var, 0, ""}, + {"Ugaritic", Var, 0, ""}, + {"Unified_Ideograph", Var, 0, ""}, + {"Upper", Var, 0, ""}, + {"UpperCase", Const, 0, ""}, + {"UpperLower", Const, 0, ""}, + {"Vai", Var, 0, ""}, + {"Variation_Selector", Var, 0, ""}, + {"Version", Const, 0, ""}, + {"Vithkuqi", Var, 21, ""}, + {"Wancho", Var, 14, ""}, + {"Warang_Citi", Var, 4, ""}, + {"White_Space", Var, 0, ""}, + {"Yezidi", Var, 16, ""}, + {"Yi", Var, 0, ""}, + {"Z", Var, 0, ""}, + {"Zanabazar_Square", Var, 10, ""}, + {"Zl", Var, 0, ""}, + {"Zp", Var, 0, ""}, + {"Zs", Var, 0, ""}, }, "unicode/utf16": { - {"AppendRune", Func, 20}, - {"Decode", Func, 0}, - {"DecodeRune", Func, 0}, - {"Encode", Func, 0}, - {"EncodeRune", Func, 0}, - {"IsSurrogate", Func, 0}, - {"RuneLen", Func, 23}, + {"AppendRune", Func, 20, "func(a []uint16, r rune) []uint16"}, + {"Decode", Func, 0, "func(s []uint16) []rune"}, + {"DecodeRune", Func, 0, "func(r1 rune, r2 rune) rune"}, + {"Encode", Func, 0, "func(s []rune) []uint16"}, + {"EncodeRune", Func, 0, "func(r rune) (r1 rune, r2 rune)"}, + {"IsSurrogate", Func, 0, "func(r rune) bool"}, + {"RuneLen", Func, 23, "func(r rune) int"}, }, "unicode/utf8": { - {"AppendRune", Func, 18}, - {"DecodeLastRune", Func, 0}, - {"DecodeLastRuneInString", Func, 0}, - {"DecodeRune", Func, 0}, - {"DecodeRuneInString", Func, 0}, - {"EncodeRune", Func, 0}, - {"FullRune", Func, 0}, - {"FullRuneInString", Func, 0}, - {"MaxRune", Const, 0}, - {"RuneCount", Func, 0}, - {"RuneCountInString", Func, 0}, - {"RuneError", Const, 0}, - {"RuneLen", Func, 0}, - {"RuneSelf", Const, 0}, - {"RuneStart", Func, 0}, - {"UTFMax", Const, 0}, - {"Valid", Func, 0}, - {"ValidRune", Func, 1}, - {"ValidString", Func, 0}, + {"AppendRune", Func, 18, "func(p []byte, r rune) []byte"}, + {"DecodeLastRune", Func, 0, "func(p []byte) (r rune, size int)"}, + {"DecodeLastRuneInString", Func, 0, "func(s string) (r rune, size int)"}, + {"DecodeRune", Func, 0, "func(p []byte) (r rune, size int)"}, + {"DecodeRuneInString", Func, 0, "func(s string) (r rune, size int)"}, + {"EncodeRune", Func, 0, "func(p []byte, r rune) int"}, + {"FullRune", Func, 0, "func(p []byte) bool"}, + {"FullRuneInString", Func, 0, "func(s string) bool"}, + {"MaxRune", Const, 0, ""}, + {"RuneCount", Func, 0, "func(p []byte) int"}, + {"RuneCountInString", Func, 0, "func(s string) (n int)"}, + {"RuneError", Const, 0, ""}, + {"RuneLen", Func, 0, "func(r rune) int"}, + {"RuneSelf", Const, 0, ""}, + {"RuneStart", Func, 0, "func(b byte) bool"}, + {"UTFMax", Const, 0, ""}, + {"Valid", Func, 0, "func(p []byte) bool"}, + {"ValidRune", Func, 1, "func(r rune) bool"}, + {"ValidString", Func, 0, "func(s string) bool"}, }, "unique": { - {"(Handle).Value", Method, 23}, - {"Handle", Type, 23}, - {"Make", Func, 23}, + {"(Handle).Value", Method, 23, ""}, + {"Handle", Type, 23, ""}, + {"Make", Func, 23, "func[T comparable](value T) Handle[T]"}, }, "unsafe": { - {"Add", Func, 0}, - {"Alignof", Func, 0}, - {"Offsetof", Func, 0}, - {"Pointer", Type, 0}, - {"Sizeof", Func, 0}, - {"Slice", Func, 0}, - {"SliceData", Func, 0}, - {"String", Func, 0}, - {"StringData", Func, 0}, + {"Add", Func, 0, ""}, + {"Alignof", Func, 0, ""}, + {"Offsetof", Func, 0, ""}, + {"Pointer", Type, 0, ""}, + {"Sizeof", Func, 0, ""}, + {"Slice", Func, 0, ""}, + {"SliceData", Func, 0, ""}, + {"String", Func, 0, ""}, + {"StringData", Func, 0, ""}, }, "weak": { - {"(Pointer).Value", Method, 24}, - {"Make", Func, 24}, - {"Pointer", Type, 24}, + {"(Pointer).Value", Method, 24, ""}, + {"Make", Func, 24, "func[T any](ptr *T) Pointer[T]"}, + {"Pointer", Type, 24, ""}, }, } diff --git a/vendor/golang.org/x/tools/internal/stdlib/stdlib.go b/vendor/golang.org/x/tools/internal/stdlib/stdlib.go index 98904017f2..e223e0f340 100644 --- a/vendor/golang.org/x/tools/internal/stdlib/stdlib.go +++ b/vendor/golang.org/x/tools/internal/stdlib/stdlib.go @@ -6,7 +6,7 @@ // Package stdlib provides a table of all exported symbols in the // standard library, along with the version at which they first -// appeared. +// appeared. It also provides the import graph of std packages. package stdlib import ( @@ -18,6 +18,14 @@ type Symbol struct { Name string Kind Kind Version Version // Go version that first included the symbol + // Signature provides the type of a function (defined only for Kind=Func). + // Imported types are denoted as pkg.T; pkg is not fully qualified. + // TODO(adonovan): use an unambiguous encoding that is parseable. + // + // Example2: + // func[M ~map[K]V, K comparable, V any](m M) M + // func(fi fs.FileInfo, link string) (*Header, error) + Signature string // if Kind == stdlib.Func } // A Kind indicates the kind of a symbol: diff --git a/vendor/golang.org/x/tools/internal/typeparams/coretype.go b/vendor/golang.org/x/tools/internal/typeparams/coretype.go index 6e83c6fb1a..27a2b17929 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/coretype.go +++ b/vendor/golang.org/x/tools/internal/typeparams/coretype.go @@ -109,8 +109,13 @@ func CoreType(T types.Type) types.Type { // // NormalTerms makes no guarantees about the order of terms, except that it // is deterministic. -func NormalTerms(typ types.Type) ([]*types.Term, error) { - switch typ := typ.Underlying().(type) { +func NormalTerms(T types.Type) ([]*types.Term, error) { + // typeSetOf(T) == typeSetOf(Unalias(T)) + typ := types.Unalias(T) + if named, ok := typ.(*types.Named); ok { + typ = named.Underlying() + } + switch typ := typ.(type) { case *types.TypeParam: return StructuralTerms(typ) case *types.Union: @@ -118,7 +123,7 @@ func NormalTerms(typ types.Type) ([]*types.Term, error) { case *types.Interface: return InterfaceTermSet(typ) default: - return []*types.Term{types.NewTerm(false, typ)}, nil + return []*types.Term{types.NewTerm(false, T)}, nil } } diff --git a/vendor/golang.org/x/tools/internal/typeparams/free.go b/vendor/golang.org/x/tools/internal/typeparams/free.go index 0ade5c2949..709d2fc144 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/free.go +++ b/vendor/golang.org/x/tools/internal/typeparams/free.go @@ -70,7 +70,7 @@ func (w *Free) Has(typ types.Type) (res bool) { case *types.Tuple: n := t.Len() - for i := 0; i < n; i++ { + for i := range n { if w.Has(t.At(i).Type()) { return true } diff --git a/vendor/golang.org/x/tools/internal/typeparams/normalize.go b/vendor/golang.org/x/tools/internal/typeparams/normalize.go index 93c80fdc96..f49802b8ef 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/normalize.go +++ b/vendor/golang.org/x/tools/internal/typeparams/normalize.go @@ -120,7 +120,7 @@ type termSet struct { terms termlist } -func indentf(depth int, format string, args ...interface{}) { +func indentf(depth int, format string, args ...any) { fmt.Fprintf(os.Stderr, strings.Repeat(".", depth)+format+"\n", args...) } diff --git a/vendor/golang.org/x/tools/internal/typeparams/termlist.go b/vendor/golang.org/x/tools/internal/typeparams/termlist.go index cbd12f8013..9bc29143f6 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/termlist.go +++ b/vendor/golang.org/x/tools/internal/typeparams/termlist.go @@ -1,3 +1,6 @@ +// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT. +// Source: ../../cmd/compile/internal/types2/termlist.go + // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. @@ -7,8 +10,8 @@ package typeparams import ( - "bytes" "go/types" + "strings" ) // A termlist represents the type set represented by the union @@ -22,15 +25,18 @@ type termlist []*term // It is in normal form. var allTermlist = termlist{new(term)} +// termSep is the separator used between individual terms. +const termSep = " | " + // String prints the termlist exactly (without normalization). func (xl termlist) String() string { if len(xl) == 0 { return "∅" } - var buf bytes.Buffer + var buf strings.Builder for i, x := range xl { if i > 0 { - buf.WriteString(" | ") + buf.WriteString(termSep) } buf.WriteString(x.String()) } diff --git a/vendor/golang.org/x/tools/internal/typeparams/typeterm.go b/vendor/golang.org/x/tools/internal/typeparams/typeterm.go index 7350bb702a..fa758cdc98 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/typeterm.go +++ b/vendor/golang.org/x/tools/internal/typeparams/typeterm.go @@ -1,3 +1,6 @@ +// Code generated by "go test -run=Generate -write=all"; DO NOT EDIT. +// Source: ../../cmd/compile/internal/types2/typeterm.go + // Copyright 2021 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. diff --git a/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go b/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go new file mode 100644 index 0000000000..3db2a135b9 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/typesinternal/classify_call.go @@ -0,0 +1,137 @@ +// Copyright 2018 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package typesinternal + +import ( + "fmt" + "go/ast" + "go/types" + _ "unsafe" +) + +// CallKind describes the function position of an [*ast.CallExpr]. +type CallKind int + +const ( + CallStatic CallKind = iota // static call to known function + CallInterface // dynamic call through an interface method + CallDynamic // dynamic call of a func value + CallBuiltin // call to a builtin function + CallConversion // a conversion (not a call) +) + +var callKindNames = []string{ + "CallStatic", + "CallInterface", + "CallDynamic", + "CallBuiltin", + "CallConversion", +} + +func (k CallKind) String() string { + if i := int(k); i >= 0 && i < len(callKindNames) { + return callKindNames[i] + } + return fmt.Sprintf("typeutil.CallKind(%d)", k) +} + +// ClassifyCall classifies the function position of a call expression ([*ast.CallExpr]). +// It distinguishes among true function calls, calls to builtins, and type conversions, +// and further classifies function calls as static calls (where the function is known), +// dynamic interface calls, and other dynamic calls. +// +// For the declarations: +// +// func f() {} +// func g[T any]() {} +// var v func() +// var s []func() +// type I interface { M() } +// var i I +// +// ClassifyCall returns the following: +// +// f() CallStatic +// g[int]() CallStatic +// i.M() CallInterface +// min(1, 2) CallBuiltin +// v() CallDynamic +// s[0]() CallDynamic +// int(x) CallConversion +// []byte("") CallConversion +func ClassifyCall(info *types.Info, call *ast.CallExpr) CallKind { + if info.Types == nil { + panic("ClassifyCall: info.Types is nil") + } + tv := info.Types[call.Fun] + if tv.IsType() { + return CallConversion + } + if tv.IsBuiltin() { + return CallBuiltin + } + obj := info.Uses[UsedIdent(info, call.Fun)] + // Classify the call by the type of the object, if any. + switch obj := obj.(type) { + case *types.Func: + if interfaceMethod(obj) { + return CallInterface + } + return CallStatic + default: + return CallDynamic + } +} + +// UsedIdent returns the identifier such that info.Uses[UsedIdent(info, e)] +// is the [types.Object] used by e, if any. +// +// If e is one of various forms of reference: +// +// f, c, v, T lexical reference +// pkg.X qualified identifier +// f[T] or pkg.F[K,V] instantiations of the above kinds +// expr.f field or method value selector +// T.f method expression selector +// +// UsedIdent returns the identifier whose is associated value in [types.Info.Uses] +// is the object to which it refers. +// +// For the declarations: +// +// func F[T any] {...} +// type I interface { M() } +// var ( +// x int +// s struct { f int } +// a []int +// i I +// ) +// +// UsedIdent returns the following: +// +// Expr UsedIdent +// x x +// s.f f +// F[int] F +// i.M M +// I.M M +// min min +// int int +// 1 nil +// a[0] nil +// []byte nil +// +// Note: if e is an instantiated function or method, UsedIdent returns +// the corresponding generic function or method on the generic type. +func UsedIdent(info *types.Info, e ast.Expr) *ast.Ident { + return usedIdent(info, e) +} + +//go:linkname usedIdent golang.org/x/tools/go/types/typeutil.usedIdent +func usedIdent(info *types.Info, e ast.Expr) *ast.Ident + +//go:linkname interfaceMethod golang.org/x/tools/go/types/typeutil.interfaceMethod +func interfaceMethod(f *types.Func) bool diff --git a/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go b/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go index 131caab284..235a6defc4 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go @@ -966,7 +966,7 @@ const ( // var _ = string(x) InvalidConversion - // InvalidUntypedConversion occurs when an there is no valid implicit + // InvalidUntypedConversion occurs when there is no valid implicit // conversion from an untyped value satisfying the type constraints of the // context in which it is used. // diff --git a/vendor/golang.org/x/tools/internal/typesinternal/fx.go b/vendor/golang.org/x/tools/internal/typesinternal/fx.go new file mode 100644 index 0000000000..93acff2170 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/typesinternal/fx.go @@ -0,0 +1,49 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package typesinternal + +import ( + "go/ast" + "go/token" + "go/types" +) + +// NoEffects reports whether the expression has no side effects, i.e., it +// does not modify the memory state. This function is conservative: it may +// return false even when the expression has no effect. +func NoEffects(info *types.Info, expr ast.Expr) bool { + noEffects := true + ast.Inspect(expr, func(n ast.Node) bool { + switch v := n.(type) { + case nil, *ast.Ident, *ast.BasicLit, *ast.BinaryExpr, *ast.ParenExpr, + *ast.SelectorExpr, *ast.IndexExpr, *ast.SliceExpr, *ast.TypeAssertExpr, + *ast.StarExpr, *ast.CompositeLit, *ast.ArrayType, *ast.StructType, + *ast.MapType, *ast.InterfaceType, *ast.KeyValueExpr: + // No effect + case *ast.UnaryExpr: + // Channel send <-ch has effects + if v.Op == token.ARROW { + noEffects = false + } + case *ast.CallExpr: + // Type conversion has no effects + if !info.Types[v.Fun].IsType() { + // TODO(adonovan): Add a case for built-in functions without side + // effects (by using callsPureBuiltin from tools/internal/refactor/inline) + + noEffects = false + } + case *ast.FuncLit: + // A FuncLit has no effects, but do not descend into it. + return false + default: + // All other expressions have effects + noEffects = false + } + + return noEffects + }) + return noEffects +} diff --git a/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go b/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go new file mode 100644 index 0000000000..f2affec4fb --- /dev/null +++ b/vendor/golang.org/x/tools/internal/typesinternal/isnamed.go @@ -0,0 +1,71 @@ +// Copyright 2025 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package typesinternal + +import ( + "go/types" + "slices" +) + +// IsTypeNamed reports whether t is (or is an alias for) a +// package-level defined type with the given package path and one of +// the given names. It returns false if t is nil. +// +// This function avoids allocating the concatenation of "pkg.Name", +// which is important for the performance of syntax matching. +func IsTypeNamed(t types.Type, pkgPath string, names ...string) bool { + if named, ok := types.Unalias(t).(*types.Named); ok { + tname := named.Obj() + return tname != nil && + IsPackageLevel(tname) && + tname.Pkg().Path() == pkgPath && + slices.Contains(names, tname.Name()) + } + return false +} + +// IsPointerToNamed reports whether t is (or is an alias for) a pointer to a +// package-level defined type with the given package path and one of the given +// names. It returns false if t is not a pointer type. +func IsPointerToNamed(t types.Type, pkgPath string, names ...string) bool { + r := Unpointer(t) + if r == t { + return false + } + return IsTypeNamed(r, pkgPath, names...) +} + +// IsFunctionNamed reports whether obj is a package-level function +// defined in the given package and has one of the given names. +// It returns false if obj is nil. +// +// This function avoids allocating the concatenation of "pkg.Name", +// which is important for the performance of syntax matching. +func IsFunctionNamed(obj types.Object, pkgPath string, names ...string) bool { + f, ok := obj.(*types.Func) + return ok && + IsPackageLevel(obj) && + f.Pkg().Path() == pkgPath && + f.Type().(*types.Signature).Recv() == nil && + slices.Contains(names, f.Name()) +} + +// IsMethodNamed reports whether obj is a method defined on a +// package-level type with the given package and type name, and has +// one of the given names. It returns false if obj is nil. +// +// This function avoids allocating the concatenation of "pkg.TypeName.Name", +// which is important for the performance of syntax matching. +func IsMethodNamed(obj types.Object, pkgPath string, typeName string, names ...string) bool { + if fn, ok := obj.(*types.Func); ok { + if recv := fn.Type().(*types.Signature).Recv(); recv != nil { + _, T := ReceiverNamed(recv) + return T != nil && + IsTypeNamed(T, pkgPath, typeName) && + slices.Contains(names, fn.Name()) + } + } + return false +} diff --git a/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go b/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go index b64f714eb3..64f47919f0 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/qualifier.go @@ -15,6 +15,14 @@ import ( // file. // If the same package is imported multiple times, the last appearance is // recorded. +// +// TODO(adonovan): this function ignores the effect of shadowing. It +// should accept a [token.Pos] and a [types.Info] and compute only the +// set of imports that are not shadowed at that point, analogous to +// [analysisinternal.AddImport]. It could also compute (as a side +// effect) the set of additional imports required to ensure that there +// is an accessible import for each necessary package, making it +// converge even more closely with AddImport. func FileQualifier(f *ast.File, pkg *types.Package) types.Qualifier { // Construct mapping of import paths to their defined names. // It is only necessary to look at renaming imports. diff --git a/vendor/golang.org/x/tools/internal/typesinternal/recv.go b/vendor/golang.org/x/tools/internal/typesinternal/recv.go index e54accc69a..8352ea7617 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/recv.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/recv.go @@ -12,7 +12,8 @@ import ( // type of recv, which may be of the form N or *N, or aliases thereof. // It also reports whether a Pointer was present. // -// The named result may be nil in ill-typed code. +// The named result may be nil if recv is from a method on an +// anonymous interface or struct types or in ill-typed code. func ReceiverNamed(recv *types.Var) (isPtr bool, named *types.Named) { t := recv.Type() if ptr, ok := types.Unalias(t).(*types.Pointer); ok { diff --git a/vendor/golang.org/x/tools/internal/typesinternal/types.go b/vendor/golang.org/x/tools/internal/typesinternal/types.go index a93d51f988..fef74a7856 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/types.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/types.go @@ -2,16 +2,30 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package typesinternal provides access to internal go/types APIs that are not -// yet exported. +// Package typesinternal provides helpful operators for dealing with +// go/types: +// +// - operators for querying typed syntax trees (e.g. [Imports], [IsFunctionNamed]); +// - functions for converting types to strings or syntax (e.g. [TypeExpr], FileQualifier]); +// - helpers for working with the [go/types] API (e.g. [NewTypesInfo]); +// - access to internal go/types APIs that are not yet +// exported (e.g. [SetUsesCgo], [ErrorCodeStartEnd], [VarKind]); and +// - common algorithms related to types (e.g. [TooNewStdSymbols]). +// +// See also: +// - [golang.org/x/tools/internal/astutil], for operations on untyped syntax; +// - [golang.org/x/tools/internal/analysisinernal], for helpers for analyzers; +// - [golang.org/x/tools/internal/refactor], for operators to compute text edits. package typesinternal import ( + "go/ast" "go/token" "go/types" "reflect" "unsafe" + "golang.org/x/tools/go/ast/inspector" "golang.org/x/tools/internal/aliases" ) @@ -32,12 +46,14 @@ func SetUsesCgo(conf *types.Config) bool { return true } -// ReadGo116ErrorData extracts additional information from types.Error values +// ErrorCodeStartEnd extracts additional information from types.Error values // generated by Go version 1.16 and later: the error code, start position, and // end position. If all positions are valid, start <= err.Pos <= end. // // If the data could not be read, the final result parameter will be false. -func ReadGo116ErrorData(err types.Error) (code ErrorCode, start, end token.Pos, ok bool) { +// +// TODO(adonovan): eliminate start/end when proposal #71803 is accepted. +func ErrorCodeStartEnd(err types.Error) (code ErrorCode, start, end token.Pos, ok bool) { var data [3]int // By coincidence all of these fields are ints, which simplifies things. v := reflect.ValueOf(err) @@ -57,6 +73,9 @@ func ReadGo116ErrorData(err types.Error) (code ErrorCode, start, end token.Pos, // which is often excessive.) // // If pkg is nil, it is equivalent to [*types.Package.Name]. +// +// TODO(adonovan): all uses of this with TypeString should be +// eliminated when https://go.dev/issues/75604 is resolved. func NameRelativeTo(pkg *types.Package) types.Qualifier { return func(other *types.Package) string { if pkg != nil && pkg == other { @@ -66,6 +85,34 @@ func NameRelativeTo(pkg *types.Package) types.Qualifier { } } +// TypeNameFor returns the type name symbol for the specified type, if +// it is a [*types.Alias], [*types.Named], [*types.TypeParam], or a +// [*types.Basic] representing a type. +// +// For all other types, and for Basic types representing a builtin, +// constant, or nil, it returns nil. Be careful not to convert the +// resulting nil pointer to a [types.Object]! +// +// If t is the type of a constant, it may be an "untyped" type, which +// has no TypeName. To access the name of such types (e.g. "untyped +// int"), use [types.Basic.Name]. +func TypeNameFor(t types.Type) *types.TypeName { + switch t := t.(type) { + case *types.Alias: + return t.Obj() + case *types.Named: + return t.Obj() + case *types.TypeParam: + return t.Obj() + case *types.Basic: + // See issues #71886 and #66890 for some history. + if tname, ok := types.Universe.Lookup(t.Name()).(*types.TypeName); ok { + return tname + } + } + return nil +} + // A NamedOrAlias is a [types.Type] that is named (as // defined by the spec) and capable of bearing type parameters: it // abstracts aliases ([types.Alias]) and defined types @@ -74,7 +121,7 @@ func NameRelativeTo(pkg *types.Package) types.Qualifier { // Every type declared by an explicit "type" declaration is a // NamedOrAlias. (Built-in type symbols may additionally // have type [types.Basic], which is not a NamedOrAlias, -// though the spec regards them as "named".) +// though the spec regards them as "named"; see [TypeNameFor].) // // NamedOrAlias cannot expose the Origin method, because // [types.Alias.Origin] and [types.Named.Origin] have different @@ -82,32 +129,15 @@ func NameRelativeTo(pkg *types.Package) types.Qualifier { type NamedOrAlias interface { types.Type Obj() *types.TypeName - // TODO(hxjiang): add method TypeArgs() *types.TypeList after stop supporting go1.22. -} - -// TypeParams is a light shim around t.TypeParams(). -// (go/types.Alias).TypeParams requires >= 1.23. -func TypeParams(t NamedOrAlias) *types.TypeParamList { - switch t := t.(type) { - case *types.Alias: - return aliases.TypeParams(t) - case *types.Named: - return t.TypeParams() - } - return nil + TypeArgs() *types.TypeList + TypeParams() *types.TypeParamList + SetTypeParams(tparams []*types.TypeParam) } -// TypeArgs is a light shim around t.TypeArgs(). -// (go/types.Alias).TypeArgs requires >= 1.23. -func TypeArgs(t NamedOrAlias) *types.TypeList { - switch t := t.(type) { - case *types.Alias: - return aliases.TypeArgs(t) - case *types.Named: - return t.TypeArgs() - } - return nil -} +var ( + _ NamedOrAlias = (*types.Alias)(nil) + _ NamedOrAlias = (*types.Named)(nil) +) // Origin returns the generic type of the Named or Alias type t if it // is instantiated, otherwise it returns t. @@ -120,3 +150,50 @@ func Origin(t NamedOrAlias) NamedOrAlias { } return t } + +// IsPackageLevel reports whether obj is a package-level symbol. +func IsPackageLevel(obj types.Object) bool { + return obj.Pkg() != nil && obj.Parent() == obj.Pkg().Scope() +} + +// NewTypesInfo returns a *types.Info with all maps populated. +func NewTypesInfo() *types.Info { + return &types.Info{ + Types: map[ast.Expr]types.TypeAndValue{}, + Instances: map[*ast.Ident]types.Instance{}, + Defs: map[*ast.Ident]types.Object{}, + Uses: map[*ast.Ident]types.Object{}, + Implicits: map[ast.Node]types.Object{}, + Selections: map[*ast.SelectorExpr]*types.Selection{}, + Scopes: map[ast.Node]*types.Scope{}, + FileVersions: map[*ast.File]string{}, + } +} + +// EnclosingScope returns the innermost block logically enclosing the cursor. +func EnclosingScope(info *types.Info, cur inspector.Cursor) *types.Scope { + for cur := range cur.Enclosing() { + n := cur.Node() + // A function's Scope is associated with its FuncType. + switch f := n.(type) { + case *ast.FuncDecl: + n = f.Type + case *ast.FuncLit: + n = f.Type + } + if b := info.Scopes[n]; b != nil { + return b + } + } + panic("no Scope for *ast.File") +} + +// Imports reports whether path is imported by pkg. +func Imports(pkg *types.Package, path string) bool { + for _, imp := range pkg.Imports() { + if imp.Path() == path { + return true + } + } + return false +} diff --git a/vendor/golang.org/x/tools/internal/typesinternal/varkind.go b/vendor/golang.org/x/tools/internal/typesinternal/varkind.go new file mode 100644 index 0000000000..e5da049511 --- /dev/null +++ b/vendor/golang.org/x/tools/internal/typesinternal/varkind.go @@ -0,0 +1,40 @@ +// Copyright 2024 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package typesinternal + +// TODO(adonovan): when CL 645115 lands, define the go1.25 version of +// this API that actually does something. + +import "go/types" + +type VarKind uint8 + +const ( + _ VarKind = iota // (not meaningful) + PackageVar // a package-level variable + LocalVar // a local variable + RecvVar // a method receiver variable + ParamVar // a function parameter variable + ResultVar // a function result variable + FieldVar // a struct field +) + +func (kind VarKind) String() string { + return [...]string{ + 0: "VarKind(0)", + PackageVar: "PackageVar", + LocalVar: "LocalVar", + RecvVar: "RecvVar", + ParamVar: "ParamVar", + ResultVar: "ResultVar", + FieldVar: "FieldVar", + }[kind] +} + +// GetVarKind returns an invalid VarKind. +func GetVarKind(v *types.Var) VarKind { return 0 } + +// SetVarKind has no effect. +func SetVarKind(v *types.Var, kind VarKind) {} diff --git a/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go b/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go index d272949c17..453bba2ad5 100644 --- a/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go +++ b/vendor/golang.org/x/tools/internal/typesinternal/zerovalue.go @@ -204,23 +204,12 @@ func ZeroExpr(t types.Type, qual types.Qualifier) (_ ast.Expr, isValid bool) { } } -// IsZeroExpr uses simple syntactic heuristics to report whether expr -// is a obvious zero value, such as 0, "", nil, or false. -// It cannot do better without type information. -func IsZeroExpr(expr ast.Expr) bool { - switch e := expr.(type) { - case *ast.BasicLit: - return e.Value == "0" || e.Value == `""` - case *ast.Ident: - return e.Name == "nil" || e.Name == "false" - default: - return false - } -} - // TypeExpr returns syntax for the specified type. References to named types // are qualified by an appropriate (optional) qualifier function. // It may panic for types such as Tuple or Union. +// +// See also https://go.dev/issues/75604, which will provide a robust +// Type-to-valid-Go-syntax formatter. func TypeExpr(t types.Type, qual types.Qualifier) ast.Expr { switch t := t.(type) { case *types.Basic: diff --git a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go index 8f9e592f87..737d6876d5 100644 --- a/vendor/google.golang.org/protobuf/encoding/protojson/decode.go +++ b/vendor/google.golang.org/protobuf/encoding/protojson/decode.go @@ -192,11 +192,6 @@ func (d decoder) unmarshalMessage(m protoreflect.Message, skipTypeURL bool) erro fd = fieldDescs.ByTextName(name) } } - if flags.ProtoLegacy { - if fd != nil && fd.IsWeak() && fd.Message().IsPlaceholder() { - fd = nil // reset since the weak reference is not linked in - } - } if fd == nil { // Field is unknown. diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/decode.go b/vendor/google.golang.org/protobuf/encoding/prototext/decode.go index 24bc98ac42..b53805056a 100644 --- a/vendor/google.golang.org/protobuf/encoding/prototext/decode.go +++ b/vendor/google.golang.org/protobuf/encoding/prototext/decode.go @@ -185,11 +185,6 @@ func (d decoder) unmarshalMessage(m protoreflect.Message, checkDelims bool) erro } else if xtErr != nil && xtErr != protoregistry.NotFound { return d.newError(tok.Pos(), "unable to resolve [%s]: %v", tok.RawString(), xtErr) } - if flags.ProtoLegacy { - if fd != nil && fd.IsWeak() && fd.Message().IsPlaceholder() { - fd = nil // reset since the weak reference is not linked in - } - } // Handle unknown fields. if fd == nil { diff --git a/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go b/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go index 7e87c76044..669133d04d 100644 --- a/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go +++ b/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go @@ -26,7 +26,7 @@ var byteType = reflect.TypeOf(byte(0)) // The type is the underlying field type (e.g., a repeated field may be // represented by []T, but the Go type passed in is just T). // A list of enum value descriptors must be provided for enum fields. -// This does not populate the Enum or Message (except for weak message). +// This does not populate the Enum or Message. // // This function is a best effort attempt; parsing errors are ignored. func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescriptors) protoreflect.FieldDescriptor { @@ -109,9 +109,6 @@ func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescri } case s == "packed": f.L1.EditionFeatures.IsPacked = true - case strings.HasPrefix(s, "weak="): - f.L1.IsWeak = true - f.L1.Message = filedesc.PlaceholderMessage(protoreflect.FullName(s[len("weak="):])) case strings.HasPrefix(s, "def="): // The default tag is special in that everything afterwards is the // default regardless of the presence of commas. @@ -183,9 +180,6 @@ func Marshal(fd protoreflect.FieldDescriptor, enumName string) string { // the exact same semantics from the previous generator. tag = append(tag, "json="+jsonName) } - if fd.IsWeak() { - tag = append(tag, "weak="+string(fd.Message().FullName())) - } // The previous implementation does not tag extension fields as proto3, // even when the field is defined in a proto3 file. Match that behavior // for consistency. diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc.go index 378b826faa..688aabe434 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc.go @@ -19,7 +19,6 @@ import ( "google.golang.org/protobuf/internal/pragma" "google.golang.org/protobuf/internal/strs" "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" ) // Edition is an Enum for proto2.Edition @@ -275,7 +274,6 @@ type ( Kind protoreflect.Kind StringName stringName IsProto3Optional bool // promoted from google.protobuf.FieldDescriptorProto - IsWeak bool // promoted from google.protobuf.FieldOptions IsLazy bool // promoted from google.protobuf.FieldOptions Default defaultValue ContainingOneof protoreflect.OneofDescriptor // must be consistent with Message.Oneofs.Fields @@ -369,7 +367,7 @@ func (fd *Field) IsPacked() bool { return fd.L1.EditionFeatures.IsPacked } func (fd *Field) IsExtension() bool { return false } -func (fd *Field) IsWeak() bool { return fd.L1.IsWeak } +func (fd *Field) IsWeak() bool { return false } func (fd *Field) IsLazy() bool { return fd.L1.IsLazy } func (fd *Field) IsList() bool { return fd.Cardinality() == protoreflect.Repeated && !fd.IsMap() } func (fd *Field) IsMap() bool { return fd.Message() != nil && fd.Message().IsMapEntry() } @@ -396,11 +394,6 @@ func (fd *Field) Enum() protoreflect.EnumDescriptor { return fd.L1.Enum } func (fd *Field) Message() protoreflect.MessageDescriptor { - if fd.L1.IsWeak { - if d, _ := protoregistry.GlobalFiles.FindDescriptorByName(fd.L1.Message.FullName()); d != nil { - return d.(protoreflect.MessageDescriptor) - } - } return fd.L1.Message } func (fd *Field) IsMapEntry() bool { diff --git a/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go b/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go index 67a51b327c..d4c94458bd 100644 --- a/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +++ b/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go @@ -32,11 +32,6 @@ func (file *File) resolveMessages() { for j := range md.L2.Fields.List { fd := &md.L2.Fields.List[j] - // Weak fields are resolved upon actual use. - if fd.L1.IsWeak { - continue - } - // Resolve message field dependency. switch fd.L1.Kind { case protoreflect.EnumKind: @@ -150,8 +145,6 @@ func (fd *File) unmarshalFull(b []byte) { switch num { case genid.FileDescriptorProto_PublicDependency_field_number: fd.L2.Imports[v].IsPublic = true - case genid.FileDescriptorProto_WeakDependency_field_number: - fd.L2.Imports[v].IsWeak = true } case protowire.BytesType: v, m := protowire.ConsumeBytes(b) @@ -502,8 +495,6 @@ func (fd *Field) unmarshalOptions(b []byte) { switch num { case genid.FieldOptions_Packed_field_number: fd.L1.EditionFeatures.IsPacked = protowire.DecodeBool(v) - case genid.FieldOptions_Weak_field_number: - fd.L1.IsWeak = protowire.DecodeBool(v) case genid.FieldOptions_Lazy_field_number: fd.L1.IsLazy = protowire.DecodeBool(v) case FieldOptions_EnforceUTF8: diff --git a/vendor/google.golang.org/protobuf/internal/filetype/build.go b/vendor/google.golang.org/protobuf/internal/filetype/build.go index ba83fea44c..e1b4130bd2 100644 --- a/vendor/google.golang.org/protobuf/internal/filetype/build.go +++ b/vendor/google.golang.org/protobuf/internal/filetype/build.go @@ -63,7 +63,7 @@ type Builder struct { // message declarations in "flattened ordering". // // Dependencies are Go types for enums or messages referenced by - // message fields (excluding weak fields), for parent extended messages of + // message fields, for parent extended messages of // extension fields, for enums or messages referenced by extension fields, // and for input and output messages referenced by service methods. // Dependencies must come after declarations, but the ordering of diff --git a/vendor/google.golang.org/protobuf/internal/flags/flags.go b/vendor/google.golang.org/protobuf/internal/flags/flags.go index 58372dd348..a06ccabc2f 100644 --- a/vendor/google.golang.org/protobuf/internal/flags/flags.go +++ b/vendor/google.golang.org/protobuf/internal/flags/flags.go @@ -6,7 +6,7 @@ package flags // ProtoLegacy specifies whether to enable support for legacy functionality -// such as MessageSets, weak fields, and various other obscure behavior +// such as MessageSets, and various other obscure behavior // that is necessary to maintain backwards compatibility with proto1 or // the pre-release variants of proto2 and proto3. // diff --git a/vendor/google.golang.org/protobuf/internal/genid/goname.go b/vendor/google.golang.org/protobuf/internal/genid/goname.go index 693d2e9e1f..99bb95bafd 100644 --- a/vendor/google.golang.org/protobuf/internal/genid/goname.go +++ b/vendor/google.golang.org/protobuf/internal/genid/goname.go @@ -11,15 +11,10 @@ const ( SizeCache_goname = "sizeCache" SizeCacheA_goname = "XXX_sizecache" - WeakFields_goname = "weakFields" - WeakFieldsA_goname = "XXX_weak" - UnknownFields_goname = "unknownFields" UnknownFieldsA_goname = "XXX_unrecognized" ExtensionFields_goname = "extensionFields" ExtensionFieldsA_goname = "XXX_InternalExtensions" ExtensionFieldsB_goname = "XXX_extensions" - - WeakFieldPrefix_goname = "XXX_weak_" ) diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_field.go b/vendor/google.golang.org/protobuf/internal/impl/codec_field.go index 7c1f66c8c1..d14d7d93cc 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_field.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_field.go @@ -5,15 +5,12 @@ package impl import ( - "fmt" "reflect" - "sync" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/errors" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/runtime/protoiface" ) @@ -121,78 +118,6 @@ func (mi *MessageInfo) initOneofFieldCoders(od protoreflect.OneofDescriptor, si } } -func makeWeakMessageFieldCoder(fd protoreflect.FieldDescriptor) pointerCoderFuncs { - var once sync.Once - var messageType protoreflect.MessageType - lazyInit := func() { - once.Do(func() { - messageName := fd.Message().FullName() - messageType, _ = protoregistry.GlobalTypes.FindMessageByName(messageName) - }) - } - - return pointerCoderFuncs{ - size: func(p pointer, f *coderFieldInfo, opts marshalOptions) int { - m, ok := p.WeakFields().get(f.num) - if !ok { - return 0 - } - lazyInit() - if messageType == nil { - panic(fmt.Sprintf("weak message %v is not linked in", fd.Message().FullName())) - } - return sizeMessage(m, f.tagsize, opts) - }, - marshal: func(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) { - m, ok := p.WeakFields().get(f.num) - if !ok { - return b, nil - } - lazyInit() - if messageType == nil { - panic(fmt.Sprintf("weak message %v is not linked in", fd.Message().FullName())) - } - return appendMessage(b, m, f.wiretag, opts) - }, - unmarshal: func(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (unmarshalOutput, error) { - fs := p.WeakFields() - m, ok := fs.get(f.num) - if !ok { - lazyInit() - if messageType == nil { - return unmarshalOutput{}, errUnknown - } - m = messageType.New().Interface() - fs.set(f.num, m) - } - return consumeMessage(b, m, wtyp, opts) - }, - isInit: func(p pointer, f *coderFieldInfo) error { - m, ok := p.WeakFields().get(f.num) - if !ok { - return nil - } - return proto.CheckInitialized(m) - }, - merge: func(dst, src pointer, f *coderFieldInfo, opts mergeOptions) { - sm, ok := src.WeakFields().get(f.num) - if !ok { - return - } - dm, ok := dst.WeakFields().get(f.num) - if !ok { - lazyInit() - if messageType == nil { - panic(fmt.Sprintf("weak message %v is not linked in", fd.Message().FullName())) - } - dm = messageType.New().Interface() - dst.WeakFields().set(f.num, dm) - } - opts.Merge(dm, sm) - }, - } -} - func makeMessageFieldCoder(fd protoreflect.FieldDescriptor, ft reflect.Type) pointerCoderFuncs { if mi := getMessageInfo(ft); mi != nil { funcs := pointerCoderFuncs{ diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_map.go b/vendor/google.golang.org/protobuf/internal/impl/codec_map.go index fb35f0bae9..229c698013 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_map.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_map.go @@ -94,7 +94,7 @@ func sizeMap(mapv reflect.Value, mapi *mapInfo, f *coderFieldInfo, opts marshalO return 0 } n := 0 - iter := mapRange(mapv) + iter := mapv.MapRange() for iter.Next() { key := mapi.conv.keyConv.PBValueOf(iter.Key()).MapKey() keySize := mapi.keyFuncs.size(key.Value(), mapKeyTagSize, opts) @@ -281,7 +281,7 @@ func appendMap(b []byte, mapv reflect.Value, mapi *mapInfo, f *coderFieldInfo, o if opts.Deterministic() { return appendMapDeterministic(b, mapv, mapi, f, opts) } - iter := mapRange(mapv) + iter := mapv.MapRange() for iter.Next() { var err error b = protowire.AppendVarint(b, f.wiretag) @@ -328,7 +328,7 @@ func isInitMap(mapv reflect.Value, mapi *mapInfo, f *coderFieldInfo) error { if !mi.needsInitCheck { return nil } - iter := mapRange(mapv) + iter := mapv.MapRange() for iter.Next() { val := pointerOfValue(iter.Value()) if err := mi.checkInitializedPointer(val); err != nil { @@ -336,7 +336,7 @@ func isInitMap(mapv reflect.Value, mapi *mapInfo, f *coderFieldInfo) error { } } } else { - iter := mapRange(mapv) + iter := mapv.MapRange() for iter.Next() { val := mapi.conv.valConv.PBValueOf(iter.Value()) if err := mapi.valFuncs.isInit(val); err != nil { @@ -356,7 +356,7 @@ func mergeMap(dst, src pointer, f *coderFieldInfo, opts mergeOptions) { if dstm.IsNil() { dstm.Set(reflect.MakeMap(f.ft)) } - iter := mapRange(srcm) + iter := srcm.MapRange() for iter.Next() { dstm.SetMapIndex(iter.Key(), iter.Value()) } @@ -371,7 +371,7 @@ func mergeMapOfBytes(dst, src pointer, f *coderFieldInfo, opts mergeOptions) { if dstm.IsNil() { dstm.Set(reflect.MakeMap(f.ft)) } - iter := mapRange(srcm) + iter := srcm.MapRange() for iter.Next() { dstm.SetMapIndex(iter.Key(), reflect.ValueOf(append(emptyBuf[:], iter.Value().Bytes()...))) } @@ -386,7 +386,7 @@ func mergeMapOfMessage(dst, src pointer, f *coderFieldInfo, opts mergeOptions) { if dstm.IsNil() { dstm.Set(reflect.MakeMap(f.ft)) } - iter := mapRange(srcm) + iter := srcm.MapRange() for iter.Next() { val := reflect.New(f.ft.Elem().Elem()) if f.mi != nil { diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go b/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go deleted file mode 100644 index 4b15493f2f..0000000000 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.12 -// +build !go1.12 - -package impl - -import "reflect" - -type mapIter struct { - v reflect.Value - keys []reflect.Value -} - -// mapRange provides a less-efficient equivalent to -// the Go 1.12 reflect.Value.MapRange method. -func mapRange(v reflect.Value) *mapIter { - return &mapIter{v: v} -} - -func (i *mapIter) Next() bool { - if i.keys == nil { - i.keys = i.v.MapKeys() - } else { - i.keys = i.keys[1:] - } - return len(i.keys) > 0 -} - -func (i *mapIter) Key() reflect.Value { - return i.keys[0] -} - -func (i *mapIter) Value() reflect.Value { - return i.v.MapIndex(i.keys[0]) -} diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go b/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go deleted file mode 100644 index 0b31b66eaf..0000000000 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build go1.12 -// +build go1.12 - -package impl - -import "reflect" - -func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_message.go b/vendor/google.golang.org/protobuf/internal/impl/codec_message.go index 2f7b363ec4..f78b57b046 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_message.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_message.go @@ -118,12 +118,9 @@ func (mi *MessageInfo) makeCoderMethods(t reflect.Type, si structInfo) { }, } case isOneof: - fieldOffset = offsetOf(fs, mi.Exporter) - case fd.IsWeak(): - fieldOffset = si.weakOffset - funcs = makeWeakMessageFieldCoder(fd) + fieldOffset = offsetOf(fs) default: - fieldOffset = offsetOf(fs, mi.Exporter) + fieldOffset = offsetOf(fs) childMessage, funcs = fieldCoder(fd, ft) } cf := &preallocFields[i] diff --git a/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go b/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go index 88c16ae5b7..41c1f74ef8 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go +++ b/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go @@ -45,19 +45,16 @@ func (mi *MessageInfo) makeOpaqueCoderMethods(t reflect.Type, si opaqueStructInf var childMessage *MessageInfo switch { case fd.ContainingOneof() != nil && !fd.ContainingOneof().IsSynthetic(): - fieldOffset = offsetOf(fs, mi.Exporter) - case fd.IsWeak(): - fieldOffset = si.weakOffset - funcs = makeWeakMessageFieldCoder(fd) + fieldOffset = offsetOf(fs) case fd.Message() != nil && !fd.IsMap(): - fieldOffset = offsetOf(fs, mi.Exporter) + fieldOffset = offsetOf(fs) if fd.IsList() { childMessage, funcs = makeOpaqueRepeatedMessageFieldCoder(fd, ft) } else { childMessage, funcs = makeOpaqueMessageFieldCoder(fd, ft) } default: - fieldOffset = offsetOf(fs, mi.Exporter) + fieldOffset = offsetOf(fs) childMessage, funcs = fieldCoder(fd, ft) } cf := &coderFieldInfo{ diff --git a/vendor/google.golang.org/protobuf/internal/impl/convert_map.go b/vendor/google.golang.org/protobuf/internal/impl/convert_map.go index 304244a651..e4580b3ac2 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/convert_map.go +++ b/vendor/google.golang.org/protobuf/internal/impl/convert_map.go @@ -101,7 +101,7 @@ func (ms *mapReflect) Mutable(k protoreflect.MapKey) protoreflect.Value { return v } func (ms *mapReflect) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { - iter := mapRange(ms.v) + iter := ms.v.MapRange() for iter.Next() { k := ms.keyConv.PBValueOf(iter.Key()).MapKey() v := ms.valConv.PBValueOf(iter.Value()) diff --git a/vendor/google.golang.org/protobuf/internal/impl/lazy.go b/vendor/google.golang.org/protobuf/internal/impl/lazy.go index e8fb6c35b4..c7de31e243 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/lazy.go +++ b/vendor/google.golang.org/protobuf/internal/impl/lazy.go @@ -131,7 +131,7 @@ func (mi *MessageInfo) skipField(b []byte, f *coderFieldInfo, wtyp protowire.Typ fmi := f.validation.mi if fmi == nil { fd := mi.Desc.Fields().ByNumber(f.num) - if fd == nil || !fd.IsWeak() { + if fd == nil { return out, ValidationUnknown } messageName := fd.Message().FullName() diff --git a/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go b/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go index bf0b6049b4..a51dffbe29 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go +++ b/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go @@ -310,12 +310,9 @@ func aberrantAppendField(md *filedesc.Message, goType reflect.Type, tag, tagKey, fd.L0.Parent = md fd.L0.Index = n - if fd.L1.IsWeak || fd.L1.EditionFeatures.IsPacked { + if fd.L1.EditionFeatures.IsPacked { fd.L1.Options = func() protoreflect.ProtoMessage { opts := descopts.Field.ProtoReflect().New() - if fd.L1.IsWeak { - opts.Set(opts.Descriptor().Fields().ByName("weak"), protoreflect.ValueOfBool(true)) - } if fd.L1.EditionFeatures.IsPacked { opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.EditionFeatures.IsPacked)) } diff --git a/vendor/google.golang.org/protobuf/internal/impl/message.go b/vendor/google.golang.org/protobuf/internal/impl/message.go index fa10a0f5cc..d50423dcb7 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message.go @@ -14,7 +14,6 @@ import ( "google.golang.org/protobuf/internal/genid" "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" ) // MessageInfo provides protobuf related functionality for a given Go type @@ -120,7 +119,6 @@ type ( var ( sizecacheType = reflect.TypeOf(SizeCache(0)) - weakFieldsType = reflect.TypeOf(WeakFields(nil)) unknownFieldsAType = reflect.TypeOf(unknownFieldsA(nil)) unknownFieldsBType = reflect.TypeOf(unknownFieldsB(nil)) extensionFieldsType = reflect.TypeOf(ExtensionFields(nil)) @@ -129,8 +127,6 @@ var ( type structInfo struct { sizecacheOffset offset sizecacheType reflect.Type - weakOffset offset - weakType reflect.Type unknownOffset offset unknownType reflect.Type extensionOffset offset @@ -148,7 +144,6 @@ type structInfo struct { func (mi *MessageInfo) makeStructInfo(t reflect.Type) structInfo { si := structInfo{ sizecacheOffset: invalidOffset, - weakOffset: invalidOffset, unknownOffset: invalidOffset, extensionOffset: invalidOffset, lazyOffset: invalidOffset, @@ -165,28 +160,23 @@ fieldLoop: switch f := t.Field(i); f.Name { case genid.SizeCache_goname, genid.SizeCacheA_goname: if f.Type == sizecacheType { - si.sizecacheOffset = offsetOf(f, mi.Exporter) + si.sizecacheOffset = offsetOf(f) si.sizecacheType = f.Type } - case genid.WeakFields_goname, genid.WeakFieldsA_goname: - if f.Type == weakFieldsType { - si.weakOffset = offsetOf(f, mi.Exporter) - si.weakType = f.Type - } case genid.UnknownFields_goname, genid.UnknownFieldsA_goname: if f.Type == unknownFieldsAType || f.Type == unknownFieldsBType { - si.unknownOffset = offsetOf(f, mi.Exporter) + si.unknownOffset = offsetOf(f) si.unknownType = f.Type } case genid.ExtensionFields_goname, genid.ExtensionFieldsA_goname, genid.ExtensionFieldsB_goname: if f.Type == extensionFieldsType { - si.extensionOffset = offsetOf(f, mi.Exporter) + si.extensionOffset = offsetOf(f) si.extensionType = f.Type } case "lazyFields", "XXX_lazyUnmarshalInfo": - si.lazyOffset = offsetOf(f, mi.Exporter) + si.lazyOffset = offsetOf(f) case "XXX_presence": - si.presenceOffset = offsetOf(f, mi.Exporter) + si.presenceOffset = offsetOf(f) default: for _, s := range strings.Split(f.Tag.Get("protobuf"), ",") { if len(s) > 0 && strings.Trim(s, "0123456789") == "" { @@ -256,9 +246,6 @@ func (mi *MessageInfo) Message(i int) protoreflect.MessageType { mi.init() fd := mi.Desc.Fields().Get(i) switch { - case fd.IsWeak(): - mt, _ := protoregistry.GlobalTypes.FindMessageByName(fd.Message().FullName()) - return mt case fd.IsMap(): return mapEntryType{fd.Message(), mi.fieldTypes[fd.Number()]} default: diff --git a/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go b/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go index d7ec53f074..dd55e8e009 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go @@ -56,9 +56,6 @@ func opaqueInitHook(mi *MessageInfo) bool { usePresence, _ := usePresenceForField(si, fd) switch { - case fd.IsWeak(): - // Weak fields are no different for opaque. - fi = fieldInfoForWeakMessage(fd, si.weakOffset) case fd.ContainingOneof() != nil && !fd.ContainingOneof().IsSynthetic(): // Oneofs are no different for opaque. fi = fieldInfoForOneof(fd, si.oneofsByName[fd.ContainingOneof().Name()], mi.Exporter, si.oneofWrappersByNumber[fd.Number()]) @@ -142,7 +139,7 @@ func (mi *MessageInfo) fieldInfoForMapOpaque(si opaqueStructInfo, fd protoreflec if ft.Kind() != reflect.Map { panic(fmt.Sprintf("invalid type: got %v, want map kind", ft)) } - fieldOffset := offsetOf(fs, mi.Exporter) + fieldOffset := offsetOf(fs) conv := NewConverter(ft, fd) return fieldInfo{ fieldDesc: fd, @@ -196,7 +193,7 @@ func (mi *MessageInfo) fieldInfoForScalarListOpaque(si opaqueStructInfo, fd prot panic(fmt.Sprintf("invalid type: got %v, want slice kind", ft)) } conv := NewConverter(reflect.PtrTo(ft), fd) - fieldOffset := offsetOf(fs, mi.Exporter) + fieldOffset := offsetOf(fs) index, _ := presenceIndex(mi.Desc, fd) return fieldInfo{ fieldDesc: fd, @@ -246,7 +243,7 @@ func (mi *MessageInfo) fieldInfoForMessageListOpaque(si opaqueStructInfo, fd pro panic(fmt.Sprintf("invalid type: got %v, want slice kind", ft)) } conv := NewConverter(ft, fd) - fieldOffset := offsetOf(fs, mi.Exporter) + fieldOffset := offsetOf(fs) index, _ := presenceIndex(mi.Desc, fd) fieldNumber := fd.Number() return fieldInfo{ @@ -339,7 +336,7 @@ func (mi *MessageInfo) fieldInfoForMessageListOpaqueNoPresence(si opaqueStructIn panic(fmt.Sprintf("invalid type: got %v, want slice kind", ft)) } conv := NewConverter(ft, fd) - fieldOffset := offsetOf(fs, mi.Exporter) + fieldOffset := offsetOf(fs) return fieldInfo{ fieldDesc: fd, has: func(p pointer) bool { @@ -411,7 +408,7 @@ func (mi *MessageInfo) fieldInfoForScalarOpaque(si opaqueStructInfo, fd protoref deref = true } conv := NewConverter(ft, fd) - fieldOffset := offsetOf(fs, mi.Exporter) + fieldOffset := offsetOf(fs) index, _ := presenceIndex(mi.Desc, fd) var getter func(p pointer) protoreflect.Value if !nullable { @@ -480,7 +477,7 @@ func (mi *MessageInfo) fieldInfoForScalarOpaque(si opaqueStructInfo, fd protoref func (mi *MessageInfo) fieldInfoForMessageOpaque(si opaqueStructInfo, fd protoreflect.FieldDescriptor, fs reflect.StructField) fieldInfo { ft := fs.Type conv := NewConverter(ft, fd) - fieldOffset := offsetOf(fs, mi.Exporter) + fieldOffset := offsetOf(fs) index, _ := presenceIndex(mi.Desc, fd) fieldNumber := fd.Number() elemType := fs.Type.Elem() @@ -620,8 +617,6 @@ func usePresenceForField(si opaqueStructInfo, fd protoreflect.FieldDescriptor) ( switch { case fd.ContainingOneof() != nil && !fd.ContainingOneof().IsSynthetic(): return false, false - case fd.IsWeak(): - return false, false case fd.IsMap(): return false, false case fd.Kind() == protoreflect.MessageKind || fd.Kind() == protoreflect.GroupKind: diff --git a/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go b/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go index 31c19b54f8..0d20132fa2 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go @@ -72,8 +72,6 @@ func (mi *MessageInfo) makeKnownFieldsFunc(si structInfo) { fi = fieldInfoForMap(fd, fs, mi.Exporter) case fd.IsList(): fi = fieldInfoForList(fd, fs, mi.Exporter) - case fd.IsWeak(): - fi = fieldInfoForWeakMessage(fd, si.weakOffset) case fd.Message() != nil: fi = fieldInfoForMessage(fd, fs, mi.Exporter) default: @@ -219,9 +217,6 @@ func (mi *MessageInfo) makeFieldTypes(si structInfo) { } case fd.Message() != nil: ft = fs.Type - if fd.IsWeak() { - ft = nil - } isMessage = true } if isMessage && ft != nil && ft.Kind() != reflect.Ptr { diff --git a/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go b/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go index a740646205..68d4ae32ec 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go +++ b/vendor/google.golang.org/protobuf/internal/impl/message_reflect_field.go @@ -8,11 +8,8 @@ import ( "fmt" "math" "reflect" - "sync" - "google.golang.org/protobuf/internal/flags" "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" ) type fieldInfo struct { @@ -76,7 +73,7 @@ func fieldInfoForOneof(fd protoreflect.FieldDescriptor, fs reflect.StructField, isMessage := fd.Message() != nil // TODO: Implement unsafe fast path? - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) return fieldInfo{ // NOTE: The logic below intentionally assumes that oneof fields are // well-formatted. That is, the oneof interface never contains a @@ -152,7 +149,7 @@ func fieldInfoForMap(fd protoreflect.FieldDescriptor, fs reflect.StructField, x conv := NewConverter(ft, fd) // TODO: Implement unsafe fast path? - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) return fieldInfo{ fieldDesc: fd, has: func(p pointer) bool { @@ -205,7 +202,7 @@ func fieldInfoForList(fd protoreflect.FieldDescriptor, fs reflect.StructField, x conv := NewConverter(reflect.PtrTo(ft), fd) // TODO: Implement unsafe fast path? - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) return fieldInfo{ fieldDesc: fd, has: func(p pointer) bool { @@ -269,7 +266,7 @@ func fieldInfoForScalar(fd protoreflect.FieldDescriptor, fs reflect.StructField, } } conv := NewConverter(ft, fd) - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) // Generate specialized getter functions to avoid going through reflect.Value if nullable { @@ -332,85 +329,12 @@ func fieldInfoForScalar(fd protoreflect.FieldDescriptor, fs reflect.StructField, } } -func fieldInfoForWeakMessage(fd protoreflect.FieldDescriptor, weakOffset offset) fieldInfo { - if !flags.ProtoLegacy { - panic("no support for proto1 weak fields") - } - - var once sync.Once - var messageType protoreflect.MessageType - lazyInit := func() { - once.Do(func() { - messageName := fd.Message().FullName() - messageType, _ = protoregistry.GlobalTypes.FindMessageByName(messageName) - if messageType == nil { - panic(fmt.Sprintf("weak message %v for field %v is not linked in", messageName, fd.FullName())) - } - }) - } - - num := fd.Number() - return fieldInfo{ - fieldDesc: fd, - has: func(p pointer) bool { - if p.IsNil() { - return false - } - _, ok := p.Apply(weakOffset).WeakFields().get(num) - return ok - }, - clear: func(p pointer) { - p.Apply(weakOffset).WeakFields().clear(num) - }, - get: func(p pointer) protoreflect.Value { - lazyInit() - if p.IsNil() { - return protoreflect.ValueOfMessage(messageType.Zero()) - } - m, ok := p.Apply(weakOffset).WeakFields().get(num) - if !ok { - return protoreflect.ValueOfMessage(messageType.Zero()) - } - return protoreflect.ValueOfMessage(m.ProtoReflect()) - }, - set: func(p pointer, v protoreflect.Value) { - lazyInit() - m := v.Message() - if m.Descriptor() != messageType.Descriptor() { - if got, want := m.Descriptor().FullName(), messageType.Descriptor().FullName(); got != want { - panic(fmt.Sprintf("field %v has mismatching message descriptor: got %v, want %v", fd.FullName(), got, want)) - } - panic(fmt.Sprintf("field %v has mismatching message descriptor: %v", fd.FullName(), m.Descriptor().FullName())) - } - p.Apply(weakOffset).WeakFields().set(num, m.Interface()) - }, - mutable: func(p pointer) protoreflect.Value { - lazyInit() - fs := p.Apply(weakOffset).WeakFields() - m, ok := fs.get(num) - if !ok { - m = messageType.New().Interface() - fs.set(num, m) - } - return protoreflect.ValueOfMessage(m.ProtoReflect()) - }, - newMessage: func() protoreflect.Message { - lazyInit() - return messageType.New() - }, - newField: func() protoreflect.Value { - lazyInit() - return protoreflect.ValueOfMessage(messageType.New()) - }, - } -} - func fieldInfoForMessage(fd protoreflect.FieldDescriptor, fs reflect.StructField, x exporter) fieldInfo { ft := fs.Type conv := NewConverter(ft, fd) // TODO: Implement unsafe fast path? - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) return fieldInfo{ fieldDesc: fd, has: func(p pointer) bool { @@ -419,7 +343,7 @@ func fieldInfoForMessage(fd protoreflect.FieldDescriptor, fs reflect.StructField } rv := p.Apply(fieldOffset).AsValueOf(fs.Type).Elem() if fs.Type.Kind() != reflect.Ptr { - return !isZero(rv) + return !rv.IsZero() } return !rv.IsNil() }, @@ -466,7 +390,7 @@ func makeOneofInfo(od protoreflect.OneofDescriptor, si structInfo, x exporter) * oi := &oneofInfo{oneofDesc: od} if od.IsSynthetic() { fs := si.fieldsByNumber[od.Fields().Get(0).Number()] - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) oi.which = func(p pointer) protoreflect.FieldNumber { if p.IsNil() { return 0 @@ -479,7 +403,7 @@ func makeOneofInfo(od protoreflect.OneofDescriptor, si structInfo, x exporter) * } } else { fs := si.oneofsByName[od.Name()] - fieldOffset := offsetOf(fs, x) + fieldOffset := offsetOf(fs) oi.which = func(p pointer) protoreflect.FieldNumber { if p.IsNil() { return 0 @@ -497,41 +421,3 @@ func makeOneofInfo(od protoreflect.OneofDescriptor, si structInfo, x exporter) * } return oi } - -// isZero is identical to reflect.Value.IsZero. -// TODO: Remove this when Go1.13 is the minimally supported Go version. -func isZero(v reflect.Value) bool { - switch v.Kind() { - case reflect.Bool: - return !v.Bool() - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - return v.Int() == 0 - case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: - return v.Uint() == 0 - case reflect.Float32, reflect.Float64: - return math.Float64bits(v.Float()) == 0 - case reflect.Complex64, reflect.Complex128: - c := v.Complex() - return math.Float64bits(real(c)) == 0 && math.Float64bits(imag(c)) == 0 - case reflect.Array: - for i := 0; i < v.Len(); i++ { - if !isZero(v.Index(i)) { - return false - } - } - return true - case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice, reflect.UnsafePointer: - return v.IsNil() - case reflect.String: - return v.Len() == 0 - case reflect.Struct: - for i := 0; i < v.NumField(); i++ { - if !isZero(v.Field(i)) { - return false - } - } - return true - default: - panic(&reflect.ValueError{Method: "reflect.Value.IsZero", Kind: v.Kind()}) - } -} diff --git a/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go b/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go index 041ebde2de..62f8bf663e 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +++ b/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go @@ -22,7 +22,7 @@ type Pointer unsafe.Pointer type offset uintptr // offsetOf returns a field offset for the struct field. -func offsetOf(f reflect.StructField, x exporter) offset { +func offsetOf(f reflect.StructField) offset { return offset(f.Offset) } @@ -111,7 +111,6 @@ func (p pointer) StringSlice() *[]string { return (*[]string)(p.p func (p pointer) Bytes() *[]byte { return (*[]byte)(p.p) } func (p pointer) BytesPtr() **[]byte { return (**[]byte)(p.p) } func (p pointer) BytesSlice() *[][]byte { return (*[][]byte)(p.p) } -func (p pointer) WeakFields() *weakFields { return (*weakFields)(p.p) } func (p pointer) Extensions() *map[int32]ExtensionField { return (*map[int32]ExtensionField)(p.p) } func (p pointer) LazyInfoPtr() **protolazy.XXX_lazyUnmarshalInfo { return (**protolazy.XXX_lazyUnmarshalInfo)(p.p) diff --git a/vendor/google.golang.org/protobuf/internal/impl/validate.go b/vendor/google.golang.org/protobuf/internal/impl/validate.go index b534a3d6db..7b2995dde5 100644 --- a/vendor/google.golang.org/protobuf/internal/impl/validate.go +++ b/vendor/google.golang.org/protobuf/internal/impl/validate.go @@ -211,9 +211,7 @@ func newValidationInfo(fd protoreflect.FieldDescriptor, ft reflect.Type) validat switch fd.Kind() { case protoreflect.MessageKind: vi.typ = validationTypeMessage - if !fd.IsWeak() { - vi.mi = getMessageInfo(ft) - } + vi.mi = getMessageInfo(ft) case protoreflect.GroupKind: vi.typ = validationTypeGroup vi.mi = getMessageInfo(ft) @@ -320,26 +318,6 @@ State: } if f != nil { vi = f.validation - if vi.typ == validationTypeMessage && vi.mi == nil { - // Probable weak field. - // - // TODO: Consider storing the results of this lookup somewhere - // rather than recomputing it on every validation. - fd := st.mi.Desc.Fields().ByNumber(num) - if fd == nil || !fd.IsWeak() { - break - } - messageName := fd.Message().FullName() - messageType, err := protoregistry.GlobalTypes.FindMessageByName(messageName) - switch err { - case nil: - vi.mi, _ = messageType.(*MessageInfo) - case protoregistry.NotFound: - vi.typ = validationTypeBytes - default: - return out, ValidationUnknown - } - } break } // Possible extension field. diff --git a/vendor/google.golang.org/protobuf/internal/impl/weak.go b/vendor/google.golang.org/protobuf/internal/impl/weak.go deleted file mode 100644 index eb79a7ba94..0000000000 --- a/vendor/google.golang.org/protobuf/internal/impl/weak.go +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package impl - -import ( - "fmt" - - "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" -) - -// weakFields adds methods to the exported WeakFields type for internal use. -// -// The exported type is an alias to an unnamed type, so methods can't be -// defined directly on it. -type weakFields WeakFields - -func (w weakFields) get(num protoreflect.FieldNumber) (protoreflect.ProtoMessage, bool) { - m, ok := w[int32(num)] - return m, ok -} - -func (w *weakFields) set(num protoreflect.FieldNumber, m protoreflect.ProtoMessage) { - if *w == nil { - *w = make(weakFields) - } - (*w)[int32(num)] = m -} - -func (w *weakFields) clear(num protoreflect.FieldNumber) { - delete(*w, int32(num)) -} - -func (Export) HasWeak(w WeakFields, num protoreflect.FieldNumber) bool { - _, ok := w[int32(num)] - return ok -} - -func (Export) ClearWeak(w *WeakFields, num protoreflect.FieldNumber) { - delete(*w, int32(num)) -} - -func (Export) GetWeak(w WeakFields, num protoreflect.FieldNumber, name protoreflect.FullName) protoreflect.ProtoMessage { - if m, ok := w[int32(num)]; ok { - return m - } - mt, _ := protoregistry.GlobalTypes.FindMessageByName(name) - if mt == nil { - panic(fmt.Sprintf("message %v for weak field is not linked in", name)) - } - return mt.Zero().Interface() -} - -func (Export) SetWeak(w *WeakFields, num protoreflect.FieldNumber, name protoreflect.FullName, m protoreflect.ProtoMessage) { - if m != nil { - mt, _ := protoregistry.GlobalTypes.FindMessageByName(name) - if mt == nil { - panic(fmt.Sprintf("message %v for weak field is not linked in", name)) - } - if mt != m.ProtoReflect().Type() { - panic(fmt.Sprintf("invalid message type for weak field: got %T, want %T", m, mt.Zero().Interface())) - } - } - if m == nil || !m.ProtoReflect().IsValid() { - delete(*w, int32(num)) - return - } - if *w == nil { - *w = make(weakFields) - } - (*w)[int32(num)] = m -} diff --git a/vendor/google.golang.org/protobuf/internal/version/version.go b/vendor/google.golang.org/protobuf/internal/version/version.go index 386c823aa6..01efc33030 100644 --- a/vendor/google.golang.org/protobuf/internal/version/version.go +++ b/vendor/google.golang.org/protobuf/internal/version/version.go @@ -52,7 +52,7 @@ import ( const ( Major = 1 Minor = 36 - Patch = 2 + Patch = 5 PreRelease = "" ) diff --git a/vendor/google.golang.org/protobuf/proto/decode.go b/vendor/google.golang.org/protobuf/proto/decode.go index a3b5e142d2..4cbf1aeaf7 100644 --- a/vendor/google.golang.org/protobuf/proto/decode.go +++ b/vendor/google.golang.org/protobuf/proto/decode.go @@ -8,7 +8,6 @@ import ( "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/internal/encoding/messageset" "google.golang.org/protobuf/internal/errors" - "google.golang.org/protobuf/internal/flags" "google.golang.org/protobuf/internal/genid" "google.golang.org/protobuf/internal/pragma" "google.golang.org/protobuf/reflect/protoreflect" @@ -172,10 +171,6 @@ func (o UnmarshalOptions) unmarshalMessageSlow(b []byte, m protoreflect.Message) var err error if fd == nil { err = errUnknown - } else if flags.ProtoLegacy { - if fd.IsWeak() && fd.Message().IsPlaceholder() { - err = errUnknown // weak referent is not linked in - } } // Parse the field value. diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go index 69a0505091..823dbf3ba6 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go @@ -132,17 +132,11 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot } f.L2.Imports[i].IsPublic = true } - for _, i := range fd.GetWeakDependency() { - if !(0 <= i && int(i) < len(f.L2.Imports)) || f.L2.Imports[i].IsWeak { - return nil, errors.New("invalid or duplicate weak import index: %d", i) - } - f.L2.Imports[i].IsWeak = true - } imps := importSet{f.Path(): true} for i, path := range fd.GetDependency() { imp := &f.L2.Imports[i] f, err := r.FindFileByPath(path) - if err == protoregistry.NotFound && (o.AllowUnresolvable || imp.IsWeak) { + if err == protoregistry.NotFound && o.AllowUnresolvable { f = filedesc.PlaceholderFile(path) } else if err != nil { return nil, errors.New("could not resolve import %q: %v", path, err) diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go index ebcb4a8ab1..9da34998b1 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go @@ -149,7 +149,6 @@ func (r descsByName) initFieldsFromDescriptorProto(fds []*descriptorpb.FieldDesc if opts := fd.GetOptions(); opts != nil { opts = proto.Clone(opts).(*descriptorpb.FieldOptions) f.L1.Options = func() protoreflect.ProtoMessage { return opts } - f.L1.IsWeak = opts.GetWeak() f.L1.IsLazy = opts.GetLazy() if opts.Packed != nil { f.L1.EditionFeatures.IsPacked = opts.GetPacked() diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go index f3cebab29c..ff692436e9 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go @@ -43,7 +43,7 @@ func (r *resolver) resolveMessageDependencies(ms []filedesc.Message, mds []*desc o.L1.Fields.List = append(o.L1.Fields.List, f) } - if f.L1.Kind, f.L1.Enum, f.L1.Message, err = r.findTarget(f.Kind(), f.Parent().FullName(), partialName(fd.GetTypeName()), f.IsWeak()); err != nil { + if f.L1.Kind, f.L1.Enum, f.L1.Message, err = r.findTarget(f.Kind(), f.Parent().FullName(), partialName(fd.GetTypeName())); err != nil { return errors.New("message field %q cannot resolve type: %v", f.FullName(), err) } if f.L1.Kind == protoreflect.GroupKind && (f.IsMap() || f.IsMapEntry()) { @@ -73,10 +73,10 @@ func (r *resolver) resolveMessageDependencies(ms []filedesc.Message, mds []*desc func (r *resolver) resolveExtensionDependencies(xs []filedesc.Extension, xds []*descriptorpb.FieldDescriptorProto) (err error) { for i, xd := range xds { x := &xs[i] - if x.L1.Extendee, err = r.findMessageDescriptor(x.Parent().FullName(), partialName(xd.GetExtendee()), false); err != nil { + if x.L1.Extendee, err = r.findMessageDescriptor(x.Parent().FullName(), partialName(xd.GetExtendee())); err != nil { return errors.New("extension field %q cannot resolve extendee: %v", x.FullName(), err) } - if x.L1.Kind, x.L2.Enum, x.L2.Message, err = r.findTarget(x.Kind(), x.Parent().FullName(), partialName(xd.GetTypeName()), false); err != nil { + if x.L1.Kind, x.L2.Enum, x.L2.Message, err = r.findTarget(x.Kind(), x.Parent().FullName(), partialName(xd.GetTypeName())); err != nil { return errors.New("extension field %q cannot resolve type: %v", x.FullName(), err) } if xd.DefaultValue != nil { @@ -95,11 +95,11 @@ func (r *resolver) resolveServiceDependencies(ss []filedesc.Service, sds []*desc s := &ss[i] for j, md := range sd.GetMethod() { m := &s.L2.Methods.List[j] - m.L1.Input, err = r.findMessageDescriptor(m.Parent().FullName(), partialName(md.GetInputType()), false) + m.L1.Input, err = r.findMessageDescriptor(m.Parent().FullName(), partialName(md.GetInputType())) if err != nil { return errors.New("service method %q cannot resolve input: %v", m.FullName(), err) } - m.L1.Output, err = r.findMessageDescriptor(s.FullName(), partialName(md.GetOutputType()), false) + m.L1.Output, err = r.findMessageDescriptor(s.FullName(), partialName(md.GetOutputType())) if err != nil { return errors.New("service method %q cannot resolve output: %v", m.FullName(), err) } @@ -111,16 +111,16 @@ func (r *resolver) resolveServiceDependencies(ss []filedesc.Service, sds []*desc // findTarget finds an enum or message descriptor if k is an enum, message, // group, or unknown. If unknown, and the name could be resolved, the kind // returned kind is set based on the type of the resolved descriptor. -func (r *resolver) findTarget(k protoreflect.Kind, scope protoreflect.FullName, ref partialName, isWeak bool) (protoreflect.Kind, protoreflect.EnumDescriptor, protoreflect.MessageDescriptor, error) { +func (r *resolver) findTarget(k protoreflect.Kind, scope protoreflect.FullName, ref partialName) (protoreflect.Kind, protoreflect.EnumDescriptor, protoreflect.MessageDescriptor, error) { switch k { case protoreflect.EnumKind: - ed, err := r.findEnumDescriptor(scope, ref, isWeak) + ed, err := r.findEnumDescriptor(scope, ref) if err != nil { return 0, nil, nil, err } return k, ed, nil, nil case protoreflect.MessageKind, protoreflect.GroupKind: - md, err := r.findMessageDescriptor(scope, ref, isWeak) + md, err := r.findMessageDescriptor(scope, ref) if err != nil { return 0, nil, nil, err } @@ -129,7 +129,7 @@ func (r *resolver) findTarget(k protoreflect.Kind, scope protoreflect.FullName, // Handle unspecified kinds (possible with parsers that operate // on a per-file basis without knowledge of dependencies). d, err := r.findDescriptor(scope, ref) - if err == protoregistry.NotFound && (r.allowUnresolvable || isWeak) { + if err == protoregistry.NotFound && r.allowUnresolvable { return k, filedesc.PlaceholderEnum(ref.FullName()), filedesc.PlaceholderMessage(ref.FullName()), nil } else if err == protoregistry.NotFound { return 0, nil, nil, errors.New("%q not found", ref.FullName()) @@ -206,9 +206,9 @@ func (r *resolver) findDescriptor(scope protoreflect.FullName, ref partialName) } } -func (r *resolver) findEnumDescriptor(scope protoreflect.FullName, ref partialName, isWeak bool) (protoreflect.EnumDescriptor, error) { +func (r *resolver) findEnumDescriptor(scope protoreflect.FullName, ref partialName) (protoreflect.EnumDescriptor, error) { d, err := r.findDescriptor(scope, ref) - if err == protoregistry.NotFound && (r.allowUnresolvable || isWeak) { + if err == protoregistry.NotFound && r.allowUnresolvable { return filedesc.PlaceholderEnum(ref.FullName()), nil } else if err == protoregistry.NotFound { return nil, errors.New("%q not found", ref.FullName()) @@ -222,9 +222,9 @@ func (r *resolver) findEnumDescriptor(scope protoreflect.FullName, ref partialNa return ed, nil } -func (r *resolver) findMessageDescriptor(scope protoreflect.FullName, ref partialName, isWeak bool) (protoreflect.MessageDescriptor, error) { +func (r *resolver) findMessageDescriptor(scope protoreflect.FullName, ref partialName) (protoreflect.MessageDescriptor, error) { d, err := r.findDescriptor(scope, ref) - if err == protoregistry.NotFound && (r.allowUnresolvable || isWeak) { + if err == protoregistry.NotFound && r.allowUnresolvable { return filedesc.PlaceholderMessage(ref.FullName()), nil } else if err == protoregistry.NotFound { return nil, errors.New("%q not found", ref.FullName()) diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go index 6de31c2ebd..c343d9227b 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go @@ -149,12 +149,6 @@ func validateMessageDeclarations(file *filedesc.File, ms []filedesc.Message, mds return errors.New("message field %q under proto3 optional semantics must be within a single element oneof", f.FullName()) } } - if f.IsWeak() && !flags.ProtoLegacy { - return errors.New("message field %q is a weak field, which is a legacy proto1 feature that is no longer supported", f.FullName()) - } - if f.IsWeak() && (!f.HasPresence() || !isOptionalMessage(f) || f.ContainingOneof() != nil) { - return errors.New("message field %q may only be weak for an optional message", f.FullName()) - } if f.IsPacked() && !isPackable(f) { return errors.New("message field %q is not packable", f.FullName()) } @@ -199,9 +193,6 @@ func validateMessageDeclarations(file *filedesc.File, ms []filedesc.Message, mds if f.Cardinality() != protoreflect.Optional { return errors.New("message field %q belongs in a oneof and must be optional", f.FullName()) } - if f.IsWeak() { - return errors.New("message field %q belongs in a oneof and must not be a weak reference", f.FullName()) - } } } @@ -254,9 +245,6 @@ func validateExtensionDeclarations(f *filedesc.File, xs []filedesc.Extension, xd return errors.New("extension field %q has an invalid number: %d", x.FullName(), x.Number()) } } - if xd.GetOptions().GetWeak() { - return errors.New("extension field %q cannot be a weak reference", x.FullName()) - } if x.IsPacked() && !isPackable(x) { return errors.New("extension field %q is not packable", x.FullName()) } diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go b/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go index bf0a0ccdee..697a61b290 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go @@ -11,6 +11,7 @@ import ( "google.golang.org/protobuf/internal/editiondefaults" "google.golang.org/protobuf/internal/filedesc" + "google.golang.org/protobuf/internal/genid" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/types/descriptorpb" @@ -125,16 +126,43 @@ func mergeEditionFeatures(parentDesc protoreflect.Descriptor, child *descriptorp parentFS.IsJSONCompliant = *jf == descriptorpb.FeatureSet_ALLOW } - if goFeatures, ok := proto.GetExtension(child, gofeaturespb.E_Go).(*gofeaturespb.GoFeatures); ok && goFeatures != nil { - if luje := goFeatures.LegacyUnmarshalJsonEnum; luje != nil { - parentFS.GenerateLegacyUnmarshalJSON = *luje - } - if sep := goFeatures.StripEnumPrefix; sep != nil { - parentFS.StripEnumPrefix = int(*sep) - } - if al := goFeatures.ApiLevel; al != nil { - parentFS.APILevel = int(*al) - } + // We must not use proto.GetExtension(child, gofeaturespb.E_Go) + // because that only works for messages we generated, but not for + // dynamicpb messages. See golang/protobuf#1669. + // + // Further, we harden this code against adversarial inputs: a + // service which accepts descriptors from a possibly malicious + // source shouldn't crash. + goFeatures := child.ProtoReflect().Get(gofeaturespb.E_Go.TypeDescriptor()) + if !goFeatures.IsValid() { + return parentFS + } + gf, ok := goFeatures.Interface().(protoreflect.Message) + if !ok { + return parentFS + } + // gf.Interface() could be *dynamicpb.Message or *gofeaturespb.GoFeatures. + fields := gf.Descriptor().Fields() + + if fd := fields.ByNumber(genid.GoFeatures_LegacyUnmarshalJsonEnum_field_number); fd != nil && + !fd.IsList() && + fd.Kind() == protoreflect.BoolKind && + gf.Has(fd) { + parentFS.GenerateLegacyUnmarshalJSON = gf.Get(fd).Bool() + } + + if fd := fields.ByNumber(genid.GoFeatures_StripEnumPrefix_field_number); fd != nil && + !fd.IsList() && + fd.Kind() == protoreflect.EnumKind && + gf.Has(fd) { + parentFS.StripEnumPrefix = int(gf.Get(fd).Enum()) + } + + if fd := fields.ByNumber(genid.GoFeatures_ApiLevel_field_number); fd != nil && + !fd.IsList() && + fd.Kind() == protoreflect.EnumKind && + gf.Has(fd) { + parentFS.APILevel = int(gf.Get(fd).Enum()) } return parentFS diff --git a/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go b/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go index a5de8d4001..9b880aa8c9 100644 --- a/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go +++ b/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go @@ -32,9 +32,6 @@ func ToFileDescriptorProto(file protoreflect.FileDescriptor) *descriptorpb.FileD if imp.IsPublic { p.PublicDependency = append(p.PublicDependency, int32(i)) } - if imp.IsWeak { - p.WeakDependency = append(p.WeakDependency, int32(i)) - } } for i, locs := 0, file.SourceLocations(); i < locs.Len(); i++ { loc := locs.Get(i) diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go index cd8fadbaf8..cd7fbc87a4 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go @@ -68,7 +68,7 @@ type Descriptor interface { // dependency is not resolved, in which case only name information is known. // // Placeholder types may only be returned by the following accessors - // as a result of unresolved dependencies or weak imports: + // as a result of unresolved dependencies: // // ╔═══════════════════════════════════╤═════════════════════╗ // ║ Accessor │ Descriptor ║ @@ -168,11 +168,7 @@ type FileImport struct { // The current file and the imported file must be within proto package. IsPublic bool - // IsWeak reports whether this is a weak import, which does not impose - // a direct dependency on the target file. - // - // Weak imports are a legacy proto1 feature. Equivalent behavior is - // achieved using proto2 extension fields or proto3 Any messages. + // Deprecated: support for weak fields has been removed. IsWeak bool } @@ -325,9 +321,7 @@ type FieldDescriptor interface { // specified in the source .proto file. HasOptionalKeyword() bool - // IsWeak reports whether this is a weak field, which does not impose a - // direct dependency on the target type. - // If true, then Message returns a placeholder type. + // Deprecated: support for weak fields has been removed. IsWeak() bool // IsPacked reports whether repeated primitive numeric kinds should be diff --git a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go index a551e7ae94..a516337674 100644 --- a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go +++ b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go @@ -46,6 +46,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) // The full set of known editions. @@ -4360,7 +4361,7 @@ func (x *GeneratedCodeInfo_Annotation) GetSemantic() GeneratedCodeInfo_Annotatio var File_google_protobuf_descriptor_proto protoreflect.FileDescriptor -var file_google_protobuf_descriptor_proto_rawDesc = []byte{ +var file_google_protobuf_descriptor_proto_rawDesc = string([]byte{ 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -5130,16 +5131,16 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{ 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, -} +}) var ( file_google_protobuf_descriptor_proto_rawDescOnce sync.Once - file_google_protobuf_descriptor_proto_rawDescData = file_google_protobuf_descriptor_proto_rawDesc + file_google_protobuf_descriptor_proto_rawDescData []byte ) func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte { file_google_protobuf_descriptor_proto_rawDescOnce.Do(func() { - file_google_protobuf_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_descriptor_proto_rawDescData) + file_google_protobuf_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_descriptor_proto_rawDesc), len(file_google_protobuf_descriptor_proto_rawDesc))) }) return file_google_protobuf_descriptor_proto_rawDescData } @@ -5292,7 +5293,7 @@ func file_google_protobuf_descriptor_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_descriptor_proto_rawDesc), len(file_google_protobuf_descriptor_proto_rawDesc)), NumEnums: 17, NumMessages: 33, NumExtensions: 0, @@ -5304,7 +5305,6 @@ func file_google_protobuf_descriptor_proto_init() { MessageInfos: file_google_protobuf_descriptor_proto_msgTypes, }.Build() File_google_protobuf_descriptor_proto = out.File - file_google_protobuf_descriptor_proto_rawDesc = nil file_google_protobuf_descriptor_proto_goTypes = nil file_google_protobuf_descriptor_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/dynamicpb/types.go b/vendor/google.golang.org/protobuf/types/dynamicpb/types.go index c432817bb9..8e759fc9f7 100644 --- a/vendor/google.golang.org/protobuf/types/dynamicpb/types.go +++ b/vendor/google.golang.org/protobuf/types/dynamicpb/types.go @@ -28,11 +28,7 @@ type extField struct { type Types struct { // atomicExtFiles is used with sync/atomic and hence must be the first word // of the struct to guarantee 64-bit alignment. - // - // TODO(stapelberg): once we only support Go 1.19 and newer, switch this - // field to be of type atomic.Uint64 to guarantee alignment on - // stack-allocated values, too. - atomicExtFiles uint64 + atomicExtFiles atomic.Uint64 extMu sync.Mutex files *protoregistry.Files @@ -90,7 +86,7 @@ func (t *Types) FindExtensionByName(name protoreflect.FullName) (protoreflect.Ex func (t *Types) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) { // Construct the extension number map lazily, since not every user will need it. // Update the map if new files are added to the registry. - if atomic.LoadUint64(&t.atomicExtFiles) != uint64(t.files.NumFiles()) { + if t.atomicExtFiles.Load() != uint64(t.files.NumFiles()) { t.updateExtensions() } xd := t.extensionsByMessage[extField{message, field}] @@ -133,10 +129,10 @@ func (t *Types) FindMessageByURL(url string) (protoreflect.MessageType, error) { func (t *Types) updateExtensions() { t.extMu.Lock() defer t.extMu.Unlock() - if atomic.LoadUint64(&t.atomicExtFiles) == uint64(t.files.NumFiles()) { + if t.atomicExtFiles.Load() == uint64(t.files.NumFiles()) { return } - defer atomic.StoreUint64(&t.atomicExtFiles, uint64(t.files.NumFiles())) + defer t.atomicExtFiles.Store(uint64(t.files.NumFiles())) t.files.RangeFiles(func(fd protoreflect.FileDescriptor) bool { t.registerExtensions(fd.Extensions()) t.registerExtensionsInMessages(fd.Messages()) diff --git a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go index e0b72eaf92..28d24bad79 100644 --- a/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go +++ b/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go @@ -16,6 +16,7 @@ import ( descriptorpb "google.golang.org/protobuf/types/descriptorpb" reflect "reflect" sync "sync" + unsafe "unsafe" ) type GoFeatures_APILevel int32 @@ -227,7 +228,7 @@ var ( var File_google_protobuf_go_features_proto protoreflect.FileDescriptor -var file_google_protobuf_go_features_proto_rawDesc = []byte{ +var file_google_protobuf_go_features_proto_rawDesc = string([]byte{ 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x6f, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, @@ -283,16 +284,16 @@ var file_google_protobuf_go_features_proto_rawDesc = []byte{ 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x6f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x70, 0x62, -} +}) var ( file_google_protobuf_go_features_proto_rawDescOnce sync.Once - file_google_protobuf_go_features_proto_rawDescData = file_google_protobuf_go_features_proto_rawDesc + file_google_protobuf_go_features_proto_rawDescData []byte ) func file_google_protobuf_go_features_proto_rawDescGZIP() []byte { file_google_protobuf_go_features_proto_rawDescOnce.Do(func() { - file_google_protobuf_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_go_features_proto_rawDescData) + file_google_protobuf_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_go_features_proto_rawDesc), len(file_google_protobuf_go_features_proto_rawDesc))) }) return file_google_protobuf_go_features_proto_rawDescData } @@ -326,7 +327,7 @@ func file_google_protobuf_go_features_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_go_features_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_go_features_proto_rawDesc), len(file_google_protobuf_go_features_proto_rawDesc)), NumEnums: 2, NumMessages: 1, NumExtensions: 1, @@ -339,7 +340,6 @@ func file_google_protobuf_go_features_proto_init() { ExtensionInfos: file_google_protobuf_go_features_proto_extTypes, }.Build() File_google_protobuf_go_features_proto = out.File - file_google_protobuf_go_features_proto_rawDesc = nil file_google_protobuf_go_features_proto_goTypes = nil file_google_protobuf_go_features_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go index 191552cce0..497da66e91 100644 --- a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go @@ -122,6 +122,7 @@ import ( reflect "reflect" strings "strings" sync "sync" + unsafe "unsafe" ) // `Any` contains an arbitrary serialized protocol buffer message along with a @@ -411,7 +412,7 @@ func (x *Any) GetValue() []byte { var File_google_protobuf_any_proto protoreflect.FileDescriptor -var file_google_protobuf_any_proto_rawDesc = []byte{ +var file_google_protobuf_any_proto_rawDesc = string([]byte{ 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x36, 0x0a, 0x03, @@ -427,16 +428,16 @@ var file_google_protobuf_any_proto_rawDesc = []byte{ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_any_proto_rawDescOnce sync.Once - file_google_protobuf_any_proto_rawDescData = file_google_protobuf_any_proto_rawDesc + file_google_protobuf_any_proto_rawDescData []byte ) func file_google_protobuf_any_proto_rawDescGZIP() []byte { file_google_protobuf_any_proto_rawDescOnce.Do(func() { - file_google_protobuf_any_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_any_proto_rawDescData) + file_google_protobuf_any_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_any_proto_rawDesc), len(file_google_protobuf_any_proto_rawDesc))) }) return file_google_protobuf_any_proto_rawDescData } @@ -462,7 +463,7 @@ func file_google_protobuf_any_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_any_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_any_proto_rawDesc), len(file_google_protobuf_any_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -473,7 +474,6 @@ func file_google_protobuf_any_proto_init() { MessageInfos: file_google_protobuf_any_proto_msgTypes, }.Build() File_google_protobuf_any_proto = out.File - file_google_protobuf_any_proto_rawDesc = nil file_google_protobuf_any_proto_goTypes = nil file_google_protobuf_any_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go b/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go index 34d76e6cd9..193880d181 100644 --- a/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go @@ -80,6 +80,7 @@ import ( reflect "reflect" sync "sync" time "time" + unsafe "unsafe" ) // A Duration represents a signed, fixed-length span of time represented @@ -288,7 +289,7 @@ func (x *Duration) GetNanos() int32 { var File_google_protobuf_duration_proto protoreflect.FileDescriptor -var file_google_protobuf_duration_proto_rawDesc = []byte{ +var file_google_protobuf_duration_proto_rawDesc = string([]byte{ 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -305,16 +306,16 @@ var file_google_protobuf_duration_proto_rawDesc = []byte{ 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_duration_proto_rawDescOnce sync.Once - file_google_protobuf_duration_proto_rawDescData = file_google_protobuf_duration_proto_rawDesc + file_google_protobuf_duration_proto_rawDescData []byte ) func file_google_protobuf_duration_proto_rawDescGZIP() []byte { file_google_protobuf_duration_proto_rawDescOnce.Do(func() { - file_google_protobuf_duration_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_duration_proto_rawDescData) + file_google_protobuf_duration_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_duration_proto_rawDesc), len(file_google_protobuf_duration_proto_rawDesc))) }) return file_google_protobuf_duration_proto_rawDescData } @@ -340,7 +341,7 @@ func file_google_protobuf_duration_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_duration_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_duration_proto_rawDesc), len(file_google_protobuf_duration_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -351,7 +352,6 @@ func file_google_protobuf_duration_proto_init() { MessageInfos: file_google_protobuf_duration_proto_msgTypes, }.Build() File_google_protobuf_duration_proto = out.File - file_google_protobuf_duration_proto_rawDesc = nil file_google_protobuf_duration_proto_goTypes = nil file_google_protobuf_duration_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go b/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go index 7fcdd382cc..a5b8657c4b 100644 --- a/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go @@ -38,6 +38,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) // A generic empty message that you can re-use to avoid defining duplicated @@ -85,7 +86,7 @@ func (*Empty) Descriptor() ([]byte, []int) { var File_google_protobuf_empty_proto protoreflect.FileDescriptor -var file_google_protobuf_empty_proto_rawDesc = []byte{ +var file_google_protobuf_empty_proto_rawDesc = string([]byte{ 0x0a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, 0x07, @@ -98,16 +99,16 @@ var file_google_protobuf_empty_proto_rawDesc = []byte{ 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_empty_proto_rawDescOnce sync.Once - file_google_protobuf_empty_proto_rawDescData = file_google_protobuf_empty_proto_rawDesc + file_google_protobuf_empty_proto_rawDescData []byte ) func file_google_protobuf_empty_proto_rawDescGZIP() []byte { file_google_protobuf_empty_proto_rawDescOnce.Do(func() { - file_google_protobuf_empty_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_empty_proto_rawDescData) + file_google_protobuf_empty_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_empty_proto_rawDesc), len(file_google_protobuf_empty_proto_rawDesc))) }) return file_google_protobuf_empty_proto_rawDescData } @@ -133,7 +134,7 @@ func file_google_protobuf_empty_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_empty_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_empty_proto_rawDesc), len(file_google_protobuf_empty_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -144,7 +145,6 @@ func file_google_protobuf_empty_proto_init() { MessageInfos: file_google_protobuf_empty_proto_msgTypes, }.Build() File_google_protobuf_empty_proto = out.File - file_google_protobuf_empty_proto_rawDesc = nil file_google_protobuf_empty_proto_goTypes = nil file_google_protobuf_empty_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go b/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go index e5d7da38c2..041feb0f3e 100644 --- a/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go @@ -83,6 +83,7 @@ import ( sort "sort" strings "strings" sync "sync" + unsafe "unsafe" ) // `FieldMask` represents a set of symbolic field paths, for example: @@ -503,7 +504,7 @@ func (x *FieldMask) GetPaths() []string { var File_google_protobuf_field_mask_proto protoreflect.FileDescriptor -var file_google_protobuf_field_mask_proto_rawDesc = []byte{ +var file_google_protobuf_field_mask_proto_rawDesc = string([]byte{ 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -519,16 +520,16 @@ var file_google_protobuf_field_mask_proto_rawDesc = []byte{ 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_field_mask_proto_rawDescOnce sync.Once - file_google_protobuf_field_mask_proto_rawDescData = file_google_protobuf_field_mask_proto_rawDesc + file_google_protobuf_field_mask_proto_rawDescData []byte ) func file_google_protobuf_field_mask_proto_rawDescGZIP() []byte { file_google_protobuf_field_mask_proto_rawDescOnce.Do(func() { - file_google_protobuf_field_mask_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_field_mask_proto_rawDescData) + file_google_protobuf_field_mask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_field_mask_proto_rawDesc), len(file_google_protobuf_field_mask_proto_rawDesc))) }) return file_google_protobuf_field_mask_proto_rawDescData } @@ -554,7 +555,7 @@ func file_google_protobuf_field_mask_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_field_mask_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_field_mask_proto_rawDesc), len(file_google_protobuf_field_mask_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -565,7 +566,6 @@ func file_google_protobuf_field_mask_proto_init() { MessageInfos: file_google_protobuf_field_mask_proto_msgTypes, }.Build() File_google_protobuf_field_mask_proto = out.File - file_google_protobuf_field_mask_proto_rawDesc = nil file_google_protobuf_field_mask_proto_goTypes = nil file_google_protobuf_field_mask_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go b/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go index f2c53ea337..ecdd31ab53 100644 --- a/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go @@ -128,6 +128,7 @@ import ( reflect "reflect" sync "sync" utf8 "unicode/utf8" + unsafe "unsafe" ) // `NullValue` is a singleton enumeration to represent the null value for the @@ -671,7 +672,7 @@ func (x *ListValue) GetValues() []*Value { var File_google_protobuf_struct_proto protoreflect.FileDescriptor -var file_google_protobuf_struct_proto_rawDesc = []byte{ +var file_google_protobuf_struct_proto_rawDesc = string([]byte{ 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, @@ -719,16 +720,16 @@ var file_google_protobuf_struct_proto_rawDesc = []byte{ 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_struct_proto_rawDescOnce sync.Once - file_google_protobuf_struct_proto_rawDescData = file_google_protobuf_struct_proto_rawDesc + file_google_protobuf_struct_proto_rawDescData []byte ) func file_google_protobuf_struct_proto_rawDescGZIP() []byte { file_google_protobuf_struct_proto_rawDescOnce.Do(func() { - file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_struct_proto_rawDescData) + file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_struct_proto_rawDesc), len(file_google_protobuf_struct_proto_rawDesc))) }) return file_google_protobuf_struct_proto_rawDescData } @@ -773,7 +774,7 @@ func file_google_protobuf_struct_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_struct_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_struct_proto_rawDesc), len(file_google_protobuf_struct_proto_rawDesc)), NumEnums: 1, NumMessages: 4, NumExtensions: 0, @@ -785,7 +786,6 @@ func file_google_protobuf_struct_proto_init() { MessageInfos: file_google_protobuf_struct_proto_msgTypes, }.Build() File_google_protobuf_struct_proto = out.File - file_google_protobuf_struct_proto_rawDesc = nil file_google_protobuf_struct_proto_goTypes = nil file_google_protobuf_struct_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go index 9550109aa3..00ac835c0b 100644 --- a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go @@ -78,6 +78,7 @@ import ( reflect "reflect" sync "sync" time "time" + unsafe "unsafe" ) // A Timestamp represents a point in time independent of any time zone or local @@ -297,7 +298,7 @@ func (x *Timestamp) GetNanos() int32 { var File_google_protobuf_timestamp_proto protoreflect.FileDescriptor -var file_google_protobuf_timestamp_proto_rawDesc = []byte{ +var file_google_protobuf_timestamp_proto_rawDesc = string([]byte{ 0x0a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, @@ -314,16 +315,16 @@ var file_google_protobuf_timestamp_proto_rawDesc = []byte{ 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_timestamp_proto_rawDescOnce sync.Once - file_google_protobuf_timestamp_proto_rawDescData = file_google_protobuf_timestamp_proto_rawDesc + file_google_protobuf_timestamp_proto_rawDescData []byte ) func file_google_protobuf_timestamp_proto_rawDescGZIP() []byte { file_google_protobuf_timestamp_proto_rawDescOnce.Do(func() { - file_google_protobuf_timestamp_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_timestamp_proto_rawDescData) + file_google_protobuf_timestamp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_timestamp_proto_rawDesc), len(file_google_protobuf_timestamp_proto_rawDesc))) }) return file_google_protobuf_timestamp_proto_rawDescData } @@ -349,7 +350,7 @@ func file_google_protobuf_timestamp_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_timestamp_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_timestamp_proto_rawDesc), len(file_google_protobuf_timestamp_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, @@ -360,7 +361,6 @@ func file_google_protobuf_timestamp_proto_init() { MessageInfos: file_google_protobuf_timestamp_proto_msgTypes, }.Build() File_google_protobuf_timestamp_proto = out.File - file_google_protobuf_timestamp_proto_rawDesc = nil file_google_protobuf_timestamp_proto_goTypes = nil file_google_protobuf_timestamp_proto_depIdxs = nil } diff --git a/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go b/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go index 15b424ec12..5de5301063 100644 --- a/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go @@ -48,6 +48,7 @@ import ( protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + unsafe "unsafe" ) // Wrapper message for `double`. @@ -529,7 +530,7 @@ func (x *BytesValue) GetValue() []byte { var File_google_protobuf_wrappers_proto protoreflect.FileDescriptor -var file_google_protobuf_wrappers_proto_rawDesc = []byte{ +var file_google_protobuf_wrappers_proto_rawDesc = string([]byte{ 0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, @@ -563,16 +564,16 @@ var file_google_protobuf_wrappers_proto_rawDesc = []byte{ 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} +}) var ( file_google_protobuf_wrappers_proto_rawDescOnce sync.Once - file_google_protobuf_wrappers_proto_rawDescData = file_google_protobuf_wrappers_proto_rawDesc + file_google_protobuf_wrappers_proto_rawDescData []byte ) func file_google_protobuf_wrappers_proto_rawDescGZIP() []byte { file_google_protobuf_wrappers_proto_rawDescOnce.Do(func() { - file_google_protobuf_wrappers_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_wrappers_proto_rawDescData) + file_google_protobuf_wrappers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_wrappers_proto_rawDesc), len(file_google_protobuf_wrappers_proto_rawDesc))) }) return file_google_protobuf_wrappers_proto_rawDescData } @@ -606,7 +607,7 @@ func file_google_protobuf_wrappers_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_google_protobuf_wrappers_proto_rawDesc, + RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_protobuf_wrappers_proto_rawDesc), len(file_google_protobuf_wrappers_proto_rawDesc)), NumEnums: 0, NumMessages: 9, NumExtensions: 0, @@ -617,7 +618,6 @@ func file_google_protobuf_wrappers_proto_init() { MessageInfos: file_google_protobuf_wrappers_proto_msgTypes, }.Build() File_google_protobuf_wrappers_proto = out.File - file_google_protobuf_wrappers_proto_rawDesc = nil file_google_protobuf_wrappers_proto_goTypes = nil file_google_protobuf_wrappers_proto_depIdxs = nil } diff --git a/vendor/k8s.io/kube-openapi/pkg/spec3/fuzz.go b/vendor/k8s.io/kube-openapi/pkg/spec3/fuzz.go index 08b6246ceb..25e4fd09eb 100644 --- a/vendor/k8s.io/kube-openapi/pkg/spec3/fuzz.go +++ b/vendor/k8s.io/kube-openapi/pkg/spec3/fuzz.go @@ -4,7 +4,7 @@ import ( "math/rand" "strings" - fuzz "github.com/google/gofuzz" + "sigs.k8s.io/randfill" "k8s.io/kube-openapi/pkg/validation/spec" ) @@ -25,15 +25,15 @@ func randAlphanumString() string { } var OpenAPIV3FuzzFuncs []interface{} = []interface{}{ - func(s *string, c fuzz.Continue) { + func(s *string, c randfill.Continue) { // All OpenAPI V3 map keys must follow the corresponding // regex. Note that this restricts the range for all other // string values as well. str := randAlphanumString() *s = str }, - func(o *OpenAPI, c fuzz.Continue) { - c.FuzzNoCustom(o) + func(o *OpenAPI, c randfill.Continue) { + c.FillNoCustom(o) o.Version = "3.0.0" for i, val := range o.SecurityRequirement { if val == nil { @@ -48,45 +48,45 @@ var OpenAPIV3FuzzFuncs []interface{} = []interface{}{ } }, - func(r *interface{}, c fuzz.Continue) { + func(r *interface{}, c randfill.Continue) { switch c.Intn(3) { case 0: *r = nil case 1: - n := c.RandString() + "x" + n := c.String(0) + "x" *r = n case 2: n := c.Float64() *r = n } }, - func(v **spec.Info, c fuzz.Continue) { + func(v **spec.Info, c randfill.Continue) { // Info is never nil *v = &spec.Info{} - c.FuzzNoCustom(*v) - (*v).Title = c.RandString() + "x" + c.FillNoCustom(*v) + (*v).Title = c.String(0) + "x" }, - func(v *Paths, c fuzz.Continue) { - c.Fuzz(&v.VendorExtensible) + func(v *Paths, c randfill.Continue) { + c.Fill(&v.VendorExtensible) num := c.Intn(5) if num > 0 { v.Paths = make(map[string]*Path) } for i := 0; i < num; i++ { val := Path{} - c.Fuzz(&val) - v.Paths["/"+c.RandString()] = &val + c.Fill(&val) + v.Paths["/"+c.String(0)] = &val } }, - func(v *SecurityScheme, c fuzz.Continue) { + func(v *SecurityScheme, c randfill.Continue) { if c.Intn(refChance) == 0 { - c.Fuzz(&v.Refable) + c.Fill(&v.Refable) return } switch c.Intn(4) { case 0: v.Type = "apiKey" - v.Name = c.RandString() + "x" + v.Name = c.String(0) + "x" switch c.Intn(3) { case 0: v.In = "query" @@ -101,17 +101,17 @@ var OpenAPIV3FuzzFuncs []interface{} = []interface{}{ v.Type = "oauth2" v.Flows = make(map[string]*OAuthFlow) flow := OAuthFlow{} - flow.AuthorizationUrl = c.RandString() + "x" + flow.AuthorizationUrl = c.String(0) + "x" v.Flows["implicit"] = &flow flow.Scopes = make(map[string]string) flow.Scopes["foo"] = "bar" case 3: v.Type = "openIdConnect" - v.OpenIdConnectUrl = "https://" + c.RandString() + v.OpenIdConnectUrl = "https://" + c.String(0) } v.Scheme = "basic" }, - func(v *spec.Ref, c fuzz.Continue) { + func(v *spec.Ref, c randfill.Continue) { switch c.Intn(7) { case 0: *v = spec.MustCreateRef("#/components/schemas/" + randAlphanumString()) @@ -127,13 +127,13 @@ var OpenAPIV3FuzzFuncs []interface{} = []interface{}{ *v = spec.MustCreateRef("#/components/requestBodies/" + randAlphanumString()) } }, - func(v *Parameter, c fuzz.Continue) { + func(v *Parameter, c randfill.Continue) { if c.Intn(refChance) == 0 { - c.Fuzz(&v.Refable) + c.Fill(&v.Refable) return } - c.Fuzz(&v.ParameterProps) - c.Fuzz(&v.VendorExtensible) + c.Fill(&v.ParameterProps) + c.Fill(&v.VendorExtensible) switch c.Intn(3) { case 0: @@ -145,44 +145,44 @@ var OpenAPIV3FuzzFuncs []interface{} = []interface{}{ v.In = "cookie" } }, - func(v *RequestBody, c fuzz.Continue) { + func(v *RequestBody, c randfill.Continue) { if c.Intn(refChance) == 0 { - c.Fuzz(&v.Refable) + c.Fill(&v.Refable) return } - c.Fuzz(&v.RequestBodyProps) - c.Fuzz(&v.VendorExtensible) + c.Fill(&v.RequestBodyProps) + c.Fill(&v.VendorExtensible) }, - func(v *Header, c fuzz.Continue) { + func(v *Header, c randfill.Continue) { if c.Intn(refChance) == 0 { - c.Fuzz(&v.Refable) + c.Fill(&v.Refable) return } - c.Fuzz(&v.HeaderProps) - c.Fuzz(&v.VendorExtensible) + c.Fill(&v.HeaderProps) + c.Fill(&v.VendorExtensible) }, - func(v *ResponsesProps, c fuzz.Continue) { - c.Fuzz(&v.Default) + func(v *ResponsesProps, c randfill.Continue) { + c.Fill(&v.Default) n := c.Intn(5) for i := 0; i < n; i++ { r2 := Response{} - c.Fuzz(&r2) + c.Fill(&r2) // HTTP Status code in 100-599 Range code := c.Intn(500) + 100 v.StatusCodeResponses = make(map[int]*Response) v.StatusCodeResponses[code] = &r2 } }, - func(v *Response, c fuzz.Continue) { + func(v *Response, c randfill.Continue) { if c.Intn(refChance) == 0 { - c.Fuzz(&v.Refable) + c.Fill(&v.Refable) return } - c.Fuzz(&v.ResponseProps) - c.Fuzz(&v.VendorExtensible) + c.Fill(&v.ResponseProps) + c.Fill(&v.VendorExtensible) }, - func(v *Operation, c fuzz.Continue) { - c.FuzzNoCustom(v) + func(v *Operation, c randfill.Continue) { + c.FillNoCustom(v) // Do not fuzz null values into the array. for i, val := range v.SecurityRequirement { if val == nil { @@ -196,85 +196,85 @@ var OpenAPIV3FuzzFuncs []interface{} = []interface{}{ } } }, - func(v *spec.Extensions, c fuzz.Continue) { + func(v *spec.Extensions, c randfill.Continue) { numChildren := c.Intn(5) for i := 0; i < numChildren; i++ { if *v == nil { *v = spec.Extensions{} } - (*v)["x-"+c.RandString()] = c.RandString() + (*v)["x-"+c.String(0)] = c.String(0) } }, - func(v *spec.ExternalDocumentation, c fuzz.Continue) { - c.Fuzz(&v.Description) + func(v *spec.ExternalDocumentation, c randfill.Continue) { + c.Fill(&v.Description) v.URL = "https://" + randAlphanumString() }, - func(v *spec.SchemaURL, c fuzz.Continue) { + func(v *spec.SchemaURL, c randfill.Continue) { *v = spec.SchemaURL("https://" + randAlphanumString()) }, - func(v *spec.SchemaOrBool, c fuzz.Continue) { + func(v *spec.SchemaOrBool, c randfill.Continue) { *v = spec.SchemaOrBool{} - if c.RandBool() { - v.Allows = c.RandBool() + if c.Bool() { + v.Allows = c.Bool() } else { v.Schema = &spec.Schema{} v.Allows = true - c.Fuzz(&v.Schema) + c.Fill(&v.Schema) } }, - func(v *spec.SchemaOrArray, c fuzz.Continue) { + func(v *spec.SchemaOrArray, c randfill.Continue) { *v = spec.SchemaOrArray{} - if c.RandBool() { + if c.Bool() { schema := spec.Schema{} - c.Fuzz(&schema) + c.Fill(&schema) v.Schema = &schema } else { v.Schemas = []spec.Schema{} numChildren := c.Intn(5) for i := 0; i < numChildren; i++ { schema := spec.Schema{} - c.Fuzz(&schema) + c.Fill(&schema) v.Schemas = append(v.Schemas, schema) } } }, - func(v *spec.SchemaOrStringArray, c fuzz.Continue) { - if c.RandBool() { + func(v *spec.SchemaOrStringArray, c randfill.Continue) { + if c.Bool() { *v = spec.SchemaOrStringArray{} - if c.RandBool() { - c.Fuzz(&v.Property) + if c.Bool() { + c.Fill(&v.Property) } else { - c.Fuzz(&v.Schema) + c.Fill(&v.Schema) } } }, - func(v *spec.Schema, c fuzz.Continue) { + func(v *spec.Schema, c randfill.Continue) { if c.Intn(refChance) == 0 { - c.Fuzz(&v.Ref) + c.Fill(&v.Ref) return } - if c.RandBool() { + if c.Bool() { // file schema - c.Fuzz(&v.Default) - c.Fuzz(&v.Description) - c.Fuzz(&v.Example) - c.Fuzz(&v.ExternalDocs) + c.Fill(&v.Default) + c.Fill(&v.Description) + c.Fill(&v.Example) + c.Fill(&v.ExternalDocs) - c.Fuzz(&v.Format) - c.Fuzz(&v.ReadOnly) - c.Fuzz(&v.Required) - c.Fuzz(&v.Title) + c.Fill(&v.Format) + c.Fill(&v.ReadOnly) + c.Fill(&v.Required) + c.Fill(&v.Title) v.Type = spec.StringOrArray{"file"} } else { // normal schema - c.Fuzz(&v.SchemaProps) - c.Fuzz(&v.SwaggerSchemaProps) - c.Fuzz(&v.VendorExtensible) - c.Fuzz(&v.ExtraProps) + c.Fill(&v.SchemaProps) + c.Fill(&v.SwaggerSchemaProps) + c.Fill(&v.VendorExtensible) + c.Fill(&v.ExtraProps) } }, diff --git a/vendor/modules.txt b/vendor/modules.txt index 115967a8db..aeb3852c06 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -193,8 +193,8 @@ github.com/gobwas/glob/syntax/ast github.com/gobwas/glob/syntax/lexer github.com/gobwas/glob/util/runes github.com/gobwas/glob/util/strings -# github.com/gofrs/flock v0.8.1 -## explicit +# github.com/gofrs/flock v0.10.0 +## explicit; go 1.21.0 github.com/gofrs/flock # github.com/gogo/protobuf v1.3.2 ## explicit; go 1.15 @@ -240,8 +240,8 @@ github.com/google/gnostic-models/extensions github.com/google/gnostic-models/jsonschema github.com/google/gnostic-models/openapiv2 github.com/google/gnostic-models/openapiv3 -# github.com/google/go-cmp v0.6.0 -## explicit; go 1.13 +# github.com/google/go-cmp v0.7.0 +## explicit; go 1.21 github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/cmpopts github.com/google/go-cmp/cmp/internal/diff @@ -317,12 +317,13 @@ github.com/josharian/intern # github.com/json-iterator/go v1.1.12 ## explicit; go 1.12 github.com/json-iterator/go -# github.com/klauspost/compress v1.17.11 -## explicit; go 1.21 +# github.com/klauspost/compress v1.18.0 +## explicit; go 1.22 github.com/klauspost/compress github.com/klauspost/compress/fse github.com/klauspost/compress/huff0 github.com/klauspost/compress/internal/cpuinfo +github.com/klauspost/compress/internal/le github.com/klauspost/compress/internal/snapref github.com/klauspost/compress/zstd github.com/klauspost/compress/zstd/internal/xxhash @@ -471,8 +472,8 @@ github.com/opencontainers/image-spec/specs-go/v1 ## explicit; go 1.19 github.com/opencontainers/selinux/go-selinux github.com/opencontainers/selinux/pkg/pwalkdir -# github.com/oracle/oci-go-sdk/v65 v65.79.0 -## explicit; go 1.13 +# github.com/oracle/oci-go-sdk/v65 v65.109.0 +## explicit; go 1.24.0 github.com/oracle/oci-go-sdk/v65/common github.com/oracle/oci-go-sdk/v65/common/auth github.com/oracle/oci-go-sdk/v65/common/utils @@ -496,21 +497,22 @@ github.com/pkg/errors # github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 ## explicit github.com/pmezard/go-difflib/difflib -# github.com/prometheus/client_golang v1.20.5 -## explicit; go 1.20 +# github.com/prometheus/client_golang v1.22.0 +## explicit; go 1.22 github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/collectors github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/client_golang/prometheus/promhttp +github.com/prometheus/client_golang/prometheus/promhttp/internal github.com/prometheus/client_golang/prometheus/testutil github.com/prometheus/client_golang/prometheus/testutil/promlint github.com/prometheus/client_golang/prometheus/testutil/promlint/validations # github.com/prometheus/client_model v0.6.1 ## explicit; go 1.19 github.com/prometheus/client_model/go -# github.com/prometheus/common v0.61.0 +# github.com/prometheus/common v0.62.0 ## explicit; go 1.21 github.com/prometheus/common/expfmt github.com/prometheus/common/model @@ -580,6 +582,9 @@ github.com/xeipuuv/gojsonschema # github.com/xlab/treeprint v1.2.0 ## explicit; go 1.13 github.com/xlab/treeprint +# github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 +## explicit; go 1.17 +github.com/youmark/pkcs8 # go.etcd.io/etcd/api/v3 v3.5.17 ## explicit; go 1.22 go.etcd.io/etcd/api/v3/authpb @@ -686,8 +691,9 @@ go.uber.org/zap/internal/ztest go.uber.org/zap/zapcore go.uber.org/zap/zapgrpc go.uber.org/zap/zaptest -# golang.org/x/crypto v0.35.0 -## explicit; go 1.23.0 +go.uber.org/zap/zaptest/observer +# golang.org/x/crypto v0.45.0 +## explicit; go 1.24.0 golang.org/x/crypto/bcrypt golang.org/x/crypto/blowfish golang.org/x/crypto/cast5 @@ -711,11 +717,11 @@ golang.org/x/crypto/scrypt ## explicit; go 1.22.0 golang.org/x/exp/maps golang.org/x/exp/slices -# golang.org/x/mod v0.22.0 -## explicit; go 1.22.0 +# golang.org/x/mod v0.29.0 +## explicit; go 1.24.0 golang.org/x/mod/semver -# golang.org/x/net v0.34.0 -## explicit; go 1.18 +# golang.org/x/net v0.47.0 +## explicit; go 1.24.0 golang.org/x/net/bpf golang.org/x/net/context golang.org/x/net/html @@ -725,6 +731,7 @@ golang.org/x/net/http/httpguts golang.org/x/net/http2 golang.org/x/net/http2/hpack golang.org/x/net/idna +golang.org/x/net/internal/httpcommon golang.org/x/net/internal/iana golang.org/x/net/internal/socket golang.org/x/net/internal/socks @@ -734,28 +741,28 @@ golang.org/x/net/ipv6 golang.org/x/net/proxy golang.org/x/net/trace golang.org/x/net/websocket -# golang.org/x/oauth2 v0.25.0 -## explicit; go 1.18 +# golang.org/x/oauth2 v0.28.0 +## explicit; go 1.23.0 golang.org/x/oauth2 golang.org/x/oauth2/internal -# golang.org/x/sync v0.11.0 -## explicit; go 1.18 +# golang.org/x/sync v0.18.0 +## explicit; go 1.24.0 golang.org/x/sync/errgroup golang.org/x/sync/semaphore golang.org/x/sync/singleflight -# golang.org/x/sys v0.30.0 -## explicit; go 1.18 +# golang.org/x/sys v0.38.0 +## explicit; go 1.24.0 golang.org/x/sys/cpu golang.org/x/sys/execabs golang.org/x/sys/plan9 golang.org/x/sys/unix golang.org/x/sys/windows golang.org/x/sys/windows/registry -# golang.org/x/term v0.29.0 -## explicit; go 1.18 +# golang.org/x/term v0.37.0 +## explicit; go 1.24.0 golang.org/x/term -# golang.org/x/text v0.22.0 -## explicit; go 1.18 +# golang.org/x/text v0.31.0 +## explicit; go 1.24.0 golang.org/x/text/encoding golang.org/x/text/encoding/charmap golang.org/x/text/encoding/htmlindex @@ -787,8 +794,10 @@ golang.org/x/text/unicode/norm # golang.org/x/time v0.9.0 ## explicit; go 1.18 golang.org/x/time/rate -# golang.org/x/tools v0.29.0 -## explicit; go 1.22.0 +# golang.org/x/tools v0.38.0 +## explicit; go 1.24.0 +golang.org/x/tools/go/ast/edge +golang.org/x/tools/go/ast/inspector golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/go/types/objectpath @@ -880,7 +889,7 @@ google.golang.org/grpc/serviceconfig google.golang.org/grpc/stats google.golang.org/grpc/status google.golang.org/grpc/tap -# google.golang.org/protobuf v1.36.2 +# google.golang.org/protobuf v1.36.5 ## explicit; go 1.21 google.golang.org/protobuf/encoding/protodelim google.golang.org/protobuf/encoding/protojson @@ -985,7 +994,7 @@ helm.sh/helm/v3/pkg/storage/driver helm.sh/helm/v3/pkg/time helm.sh/helm/v3/pkg/time/ctime helm.sh/helm/v3/pkg/uploader -# k8s.io/api v0.32.1 => k8s.io/api v0.32.1 +# k8s.io/api v0.33.1 => k8s.io/api v0.32.1 ## explicit; go 1.23.0 k8s.io/api/admission/v1 k8s.io/api/admission/v1beta1 @@ -1058,7 +1067,7 @@ k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/scheme k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1 k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1 k8s.io/apiextensions-apiserver/pkg/features -# k8s.io/apimachinery v0.32.1 => k8s.io/apimachinery v0.32.1 +# k8s.io/apimachinery v0.33.1 => k8s.io/apimachinery v0.32.1 ## explicit; go 1.23.0 k8s.io/apimachinery/pkg/api/equality k8s.io/apimachinery/pkg/api/errors @@ -1668,7 +1677,7 @@ k8s.io/cloud-provider/options k8s.io/cloud-provider/service/helpers k8s.io/cloud-provider/volume k8s.io/cloud-provider/volume/helpers -# k8s.io/component-base v0.32.1 => k8s.io/component-base v0.32.1 +# k8s.io/component-base v0.33.1 => k8s.io/component-base v0.32.1 ## explicit; go 1.23.0 k8s.io/component-base/cli/flag k8s.io/component-base/cli/globalflag @@ -1752,7 +1761,7 @@ k8s.io/kms/apis/v1beta1 k8s.io/kms/apis/v2 k8s.io/kms/pkg/service k8s.io/kms/pkg/util -# k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 +# k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff ## explicit; go 1.21 k8s.io/kube-openapi/pkg/builder k8s.io/kube-openapi/pkg/builder3 @@ -1973,12 +1982,16 @@ sigs.k8s.io/kustomize/kyaml/yaml/internal/k8sgen/pkg/util/validation/field sigs.k8s.io/kustomize/kyaml/yaml/merge2 sigs.k8s.io/kustomize/kyaml/yaml/schema sigs.k8s.io/kustomize/kyaml/yaml/walk +# sigs.k8s.io/randfill v1.0.0 +## explicit; go 1.18 +sigs.k8s.io/randfill +sigs.k8s.io/randfill/bytesource # sigs.k8s.io/sig-storage-lib-external-provisioner/v9 v9.1.0-rc.0 ## explicit; go 1.19 sigs.k8s.io/sig-storage-lib-external-provisioner/v9/controller sigs.k8s.io/sig-storage-lib-external-provisioner/v9/controller/metrics sigs.k8s.io/sig-storage-lib-external-provisioner/v9/util -# sigs.k8s.io/structured-merge-diff/v4 v4.5.0 +# sigs.k8s.io/structured-merge-diff/v4 v4.6.0 ## explicit; go 1.13 sigs.k8s.io/structured-merge-diff/v4/fieldpath sigs.k8s.io/structured-merge-diff/v4/merge diff --git a/vendor/sigs.k8s.io/randfill/CONTRIBUTING.md b/vendor/sigs.k8s.io/randfill/CONTRIBUTING.md new file mode 100644 index 0000000000..7566c879ce --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/CONTRIBUTING.md @@ -0,0 +1,43 @@ +# Contributing Guidelines + +Welcome to Kubernetes. We are excited about the prospect of you joining our [community](https://git.k8s.io/community)! The Kubernetes community abides by the CNCF [code of conduct](code-of-conduct.md). Here is an excerpt: + +_As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities._ + +## Getting Started + +We have full documentation on how to get started contributing here: + + + +- [Contributor License Agreement](https://git.k8s.io/community/CLA.md) Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests +- [Kubernetes Contributor Guide](https://git.k8s.io/community/contributors/guide) - Main contributor documentation, or you can just jump directly to the [contributing section](https://git.k8s.io/community/contributors/guide#contributing) +- [Contributor Cheat Sheet](https://git.k8s.io/community/contributors/guide/contributor-cheatsheet) - Common resources for existing developers + +## Mentorship + +- [Mentoring Initiatives](https://git.k8s.io/community/mentoring) - We have a diverse set of mentorship programs available that are always looking for volunteers! + + + +## Project Management + +The [maintainers](https://github.com/kubernetes-sigs/randfill/blob/main/OWNERS_ALIASES#L12) of this project (and often others who have official positions on the [contributor ladder](https://github.com/kubernetes-sigs/randfill/blob/main/OWNERS_ALIASES)) are responsible for performing project management which oversees development and maintenance of the API, tests, tools, e.t.c. While we try to be generally flexible when it comes to the management of individual pieces (such as Issues or PRs), we have some rules and guidelines which help us plan, coordinate and reduce waste. In this section you'll find some rules/guidelines for contributors related to project management which may extend or go beyond what you would find in the standard [Kubernetes Contributor Guide](https://git.k8s.io/community/contributors/guide). + +### Bumping stale and closed Issues & PRs + +Maintainers are ultimately responsible for triaging new issues and PRs, accepting or declining them, deciding priority and fitting them into milestones intended for future releases. Bots are responsible for marking issues and PRs which stagnate as stale, or closing them if progress does not continue for a long period of time. Due to the nature of this community-driven development effort (we do not have dedicated engineering resources, we rely on the community which is effectively "volunteer time") **not all issues can be accepted, prioritized or completed**. + +You may find times when an issue you're subscribed to and interested in seems to stagnate, or perhaps gets auto-closed. Prior to bumping or directly re-opening issues yourself, we generally ask that you bring these up for discussion on the agenda for one of our community syncs if possible, or bring them up for discussion in Slack or the mailing list as this gives us a better opportunity to discuss the issue and determine viability and logistics. If feasible we **highly recommend being ready to contribute directly** to any stale or unprioritized effort that you want to see move forward, as **the best way to ensure progress is to engage with the community and personally invest time**. + +We (the community) aren't opposed to making exceptions in some cases, but when in doubt please follow the above guidelines before bumping closed or stale issues if you're not ready to personally invest time in them. We are responsible for managing these and without further context or engagement we may set these back to how they were previously organized. diff --git a/vendor/sigs.k8s.io/randfill/LICENSE b/vendor/sigs.k8s.io/randfill/LICENSE new file mode 100644 index 0000000000..9dd29274c3 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/LICENSE @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014 The gofuzz Authors + Copyright 2025 The Kubernetes Authors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/vendor/sigs.k8s.io/randfill/NOTICE b/vendor/sigs.k8s.io/randfill/NOTICE new file mode 100644 index 0000000000..6984e71f65 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/NOTICE @@ -0,0 +1,24 @@ +When donating the randfill project to the CNCF, we could not reach all the +gofuzz contributors to sign the CNCF CLA. As such, according to the CNCF rules +to donate a repository, we must add a NOTICE referencing section 7 of the CLA +with a list of developers who could not be reached. + +`7. Should You wish to submit work that is not Your original creation, You may +submit it to the Foundation separately from any Contribution, identifying the +complete details of its source and of any license or other restriction +(including, but not limited to, related patents, trademarks, and license +agreements) of which you are personally aware, and conspicuously marking the +work as "Submitted on behalf of a third-party: [named here]".` + +Submitted on behalf of a third-party: @dnephin (Daniel Nephin) +Submitted on behalf of a third-party: @AlekSi (Alexey Palazhchenko) +Submitted on behalf of a third-party: @bbigras (Bruno Bigras) +Submitted on behalf of a third-party: @samirkut (Samir) +Submitted on behalf of a third-party: @posener (Eyal Posener) +Submitted on behalf of a third-party: @Ashikpaul (Ashik Paul) +Submitted on behalf of a third-party: @kwongtailau (Kwongtai) +Submitted on behalf of a third-party: @ericcornelissen (Eric Cornelissen) +Submitted on behalf of a third-party: @eclipseo (Robert-André Mauchin) +Submitted on behalf of a third-party: @yanzhoupan (Andrew Pan) +Submitted on behalf of a third-party: @STRRL (Zhiqiang ZHOU) +Submitted on behalf of a third-party: @disconnect3d (Disconnect3d) diff --git a/vendor/sigs.k8s.io/randfill/OWNERS b/vendor/sigs.k8s.io/randfill/OWNERS new file mode 100644 index 0000000000..59f6a50f6b --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/OWNERS @@ -0,0 +1,8 @@ +# See the OWNERS docs at https://go.k8s.io/owners +# See the OWNERS_ALIASES file at https://github.com/kubernetes-sigs/randfill/blob/main/OWNERS_ALIASES for a list of members for each alias. + +approvers: + - sig-testing-leads + - thockin + +reviewers: [] diff --git a/vendor/sigs.k8s.io/randfill/OWNERS_ALIASES b/vendor/sigs.k8s.io/randfill/OWNERS_ALIASES new file mode 100644 index 0000000000..927f1209b1 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/OWNERS_ALIASES @@ -0,0 +1,14 @@ +# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md +# This file should be kept in sync with k/org. + +aliases: + # Reference: https://github.com/kubernetes/org/blob/main/OWNERS_ALIASES + sig-testing-leads: + - BenTheElder + - alvaroaleman + - aojea + - cjwagner + - jbpratt + - michelle192837 + - pohly + - xmcqueen diff --git a/vendor/sigs.k8s.io/randfill/README.md b/vendor/sigs.k8s.io/randfill/README.md new file mode 100644 index 0000000000..d892fc9f5d --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/README.md @@ -0,0 +1,98 @@ +randfill +====== + +randfill is a library for populating go objects with random values. + +This is a fork of github.com/google/gofuzz, which was archived. + +NOTE: This repo is supported only for use within Kubernetes. It is not our +intention to support general use. That said, if it works for you, that's +great! If you have a problem, please feel free to file an issue, but be aware +that it may not be a priority for us to fix it unless it is affecting +Kubernetes. PRs are welcome, within reason. + +[![GoDoc](https://godoc.org/sigs.k8s.io/randfill?status.svg)](https://godoc.org/sigs.k8s.io/randfill) + +This is useful for testing: + +* Do your project's objects really serialize/unserialize correctly in all cases? +* Is there an incorrectly formatted object that will cause your project to panic? + +Import with ```import "sigs.k8s.io/randfill"``` + +You can use it on single variables: +```go +f := randfill.New() +var myInt int +f.Fill(&myInt) // myInt gets a random value. +``` + +You can use it on maps: +```go +f := randfill.New().NilChance(0).NumElements(1, 1) +var myMap map[ComplexKeyType]string +f.Fill(&myMap) // myMap will have exactly one element. +``` + +Customize the chance of getting a nil pointer: +```go +f := randfill.New().NilChance(.5) +var fancyStruct struct { + A, B, C, D *string +} +f.Fill(&fancyStruct) // About half the pointers should be set. +``` + +You can even customize the randomization completely if needed: +```go +type MyEnum string +const ( + A MyEnum = "A" + B MyEnum = "B" +) +type MyInfo struct { + Type MyEnum + AInfo *string + BInfo *string +} + +f := randfill.New().NilChance(0).Funcs( + func(e *MyInfo, c randfill.Continue) { + switch c.Intn(2) { + case 0: + e.Type = A + c.Fill(&e.AInfo) + case 1: + e.Type = B + c.Fill(&e.BInfo) + } + }, +) + +var myObject MyInfo +f.Fill(&myObject) // Type will correspond to whether A or B info is set. +``` + +See more examples in ```example_test.go```. + +## dvyukov/go-fuzz integration + +You can use this library for easier [go-fuzz](https://github.com/dvyukov/go-fuzz)ing. +go-fuzz provides the user a byte-slice, which should be converted to different inputs +for the tested function. This library can help convert the byte slice. Consider for +example a fuzz test for a the function `mypackage.MyFunc` that takes an int arguments: +```go +// +build gofuzz +package mypackage + +import "sigs.k8s.io/randfill" + +func Fuzz(data []byte) int { + var i int + randfill.NewFromGoFuzz(data).Fill(&i) + MyFunc(i) + return 0 +} +``` + +Happy testing! diff --git a/vendor/sigs.k8s.io/randfill/SECURITY_CONTACTS b/vendor/sigs.k8s.io/randfill/SECURITY_CONTACTS new file mode 100644 index 0000000000..91d7853378 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/SECURITY_CONTACTS @@ -0,0 +1,16 @@ +# Defined below are the security contacts for this repo. +# +# They are the contact point for the Product Security Committee to reach out +# to for triaging and handling of incoming issues. +# +# The below names agree to abide by the +# [Embargo Policy](https://git.k8s.io/security/private-distributors-list.md#embargo-policy) +# and will be removed and replaced if they violate that agreement. +# +# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE +# INSTRUCTIONS AT https://kubernetes.io/security/ + +thockin +BenTheElder +aojea +pohly diff --git a/vendor/sigs.k8s.io/randfill/bytesource/bytesource.go b/vendor/sigs.k8s.io/randfill/bytesource/bytesource.go new file mode 100644 index 0000000000..5bb3659496 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/bytesource/bytesource.go @@ -0,0 +1,81 @@ +/* +Copyright 2014 Google Inc. All rights reserved. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package bytesource provides a rand.Source64 that is determined by a slice of bytes. +package bytesource + +import ( + "bytes" + "encoding/binary" + "io" + "math/rand" +) + +// ByteSource implements rand.Source64 determined by a slice of bytes. The random numbers are +// generated from each 8 bytes in the slice, until the last bytes are consumed, from which a +// fallback pseudo random source is created in case more random numbers are required. +// It also exposes a `bytes.Reader` API, which lets callers consume the bytes directly. +type ByteSource struct { + *bytes.Reader + fallback rand.Source +} + +// New returns a new ByteSource from a given slice of bytes. +func New(input []byte) *ByteSource { + s := &ByteSource{ + Reader: bytes.NewReader(input), + fallback: rand.NewSource(0), + } + if len(input) > 0 { + s.fallback = rand.NewSource(int64(s.consumeUint64())) + } + return s +} + +func (s *ByteSource) Uint64() uint64 { + // Return from input if it was not exhausted. + if s.Len() > 0 { + return s.consumeUint64() + } + + // Input was exhausted, return random number from fallback (in this case fallback should not be + // nil). Try first having a Uint64 output (Should work in current rand implementation), + // otherwise return a conversion of Int63. + if s64, ok := s.fallback.(rand.Source64); ok { + return s64.Uint64() + } + return uint64(s.fallback.Int63()) +} + +func (s *ByteSource) Int63() int64 { + return int64(s.Uint64() >> 1) +} + +func (s *ByteSource) Seed(seed int64) { + s.fallback = rand.NewSource(seed) + s.Reader = bytes.NewReader(nil) +} + +// consumeUint64 reads 8 bytes from the input and convert them to a uint64. It assumes that the the +// bytes reader is not empty. +func (s *ByteSource) consumeUint64() uint64 { + var bytes [8]byte + _, err := s.Read(bytes[:]) + if err != nil && err != io.EOF { + panic("failed reading source") // Should not happen. + } + return binary.BigEndian.Uint64(bytes[:]) +} diff --git a/vendor/sigs.k8s.io/randfill/code-of-conduct.md b/vendor/sigs.k8s.io/randfill/code-of-conduct.md new file mode 100644 index 0000000000..0d15c00cf3 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/code-of-conduct.md @@ -0,0 +1,3 @@ +# Kubernetes Community Code of Conduct + +Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md) diff --git a/vendor/sigs.k8s.io/randfill/randfill.go b/vendor/sigs.k8s.io/randfill/randfill.go new file mode 100644 index 0000000000..b734824844 --- /dev/null +++ b/vendor/sigs.k8s.io/randfill/randfill.go @@ -0,0 +1,682 @@ +/* +Copyright 2014 Google Inc. All rights reserved. +Copyright 2014 The gofuzz Authors. +Copyright 2025 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package randfill is a library for populating go objects with random values. +package randfill + +import ( + "fmt" + "math/rand" + "reflect" + "regexp" + "sync" + "time" + "unsafe" + + "strings" + + "sigs.k8s.io/randfill/bytesource" +) + +// funcMap is a map from a type to a function that randfills that type. The +// function is a reflect.Value because the type being filled is different for +// each func. +type funcMap map[reflect.Type]reflect.Value + +// Filler knows how to fill any object with random fields. +type Filler struct { + customFuncs funcMap + defaultFuncs funcMap + r *rand.Rand + nilChance float64 + minElements int + maxElements int + maxDepth int + allowUnexportedFields bool + skipFieldPatterns []*regexp.Regexp + + lock sync.Mutex +} + +// New returns a new Filler. Customize your Filler further by calling Funcs, +// RandSource, NilChance, or NumElements in any order. +func New() *Filler { + return NewWithSeed(time.Now().UnixNano()) +} + +func NewWithSeed(seed int64) *Filler { + f := &Filler{ + defaultFuncs: funcMap{ + reflect.TypeOf(&time.Time{}): reflect.ValueOf(randfillTime), + }, + + customFuncs: funcMap{}, + r: rand.New(rand.NewSource(seed)), + nilChance: .2, + minElements: 1, + maxElements: 10, + maxDepth: 100, + allowUnexportedFields: false, + } + return f +} + +// NewFromGoFuzz is a helper function that enables using randfill (this +// project) with go-fuzz (https://github.com/dvyukov/go-fuzz) for continuous +// fuzzing. Essentially, it enables translating the fuzzing bytes from +// go-fuzz to any Go object using this library. +// +// This implementation promises a constant translation from a given slice of +// bytes to the fuzzed objects. This promise will remain over future +// versions of Go and of this library. +// +// Note: the returned Filler should not be shared between multiple goroutines, +// as its deterministic output will no longer be available. +// +// Example: use go-fuzz to test the function `MyFunc(int)` in the package +// `mypackage`. Add the file: "mypackage_fuzz.go" with the content: +// +// // +build gofuzz +// package mypackage +// import "sigs.k8s.io/randfill" +// +// func Fuzz(data []byte) int { +// var i int +// randfill.NewFromGoFuzz(data).Fill(&i) +// MyFunc(i) +// return 0 +// } +func NewFromGoFuzz(data []byte) *Filler { + return New().RandSource(bytesource.New(data)) +} + +// Funcs registers custom fill functions for this Filler. +// +// Each entry in customFuncs must be a function taking two parameters. +// The first parameter must be a pointer or map. It is the variable that +// function will fill with random data. The second parameter must be a +// randfill.Continue, which will provide a source of randomness and a way +// to automatically continue filling smaller pieces of the first parameter. +// +// These functions are called sensibly, e.g., if you wanted custom string +// filling, the function `func(s *string, c randfill.Continue)` would get +// called and passed the address of strings. Maps and pointers will always +// be made/new'd for you, ignoring the NilChance option. For slices, it +// doesn't make much sense to pre-create them--Filler doesn't know how +// long you want your slice--so take a pointer to a slice, and make it +// yourself. (If you don't want your map/pointer type pre-made, take a +// pointer to it, and make it yourself.) See the examples for a range of +// custom functions. +// +// If a function is already registered for a type, and a new function is +// provided, the previous function will be replaced with the new one. +func (f *Filler) Funcs(customFuncs ...interface{}) *Filler { + for i := range customFuncs { + v := reflect.ValueOf(customFuncs[i]) + if v.Kind() != reflect.Func { + panic("Filler.Funcs: all arguments must be functions") + } + t := v.Type() + if t.NumIn() != 2 || t.NumOut() != 0 { + panic("Filler.Funcs: all customFuncs must have 2 arguments and 0 returns") + } + argT := t.In(0) + switch argT.Kind() { + case reflect.Ptr, reflect.Map: + default: + panic("Filler.Funcs: customFuncs' first argument must be a pointer or map type") + } + if t.In(1) != reflect.TypeOf(Continue{}) { + panic("Filler.Funcs: customFuncs' second argument must be a randfill.Continue") + } + f.customFuncs[argT] = v + } + return f +} + +// RandSource causes this Filler to get values from the given source of +// randomness. Use this if you want deterministic filling. +func (f *Filler) RandSource(s rand.Source) *Filler { + f.r = rand.New(s) + return f +} + +// NilChance sets the probability of creating a nil pointer, map, or slice to +// 'p'. 'p' should be between 0 (no nils) and 1 (all nils), inclusive. +func (f *Filler) NilChance(p float64) *Filler { + if p < 0 || p > 1 { + panic("Filler.NilChance: p must be between 0 and 1, inclusive") + } + f.nilChance = p + return f +} + +// NumElements sets the minimum and maximum number of elements that will be +// added to a non-nil map or slice. +func (f *Filler) NumElements(min, max int) *Filler { + if min < 0 { + panic("Filler.NumElements: min must be >= 0") + } + if min > max { + panic("Filler.NumElements: min must be <= max") + } + f.minElements = min + f.maxElements = max + return f +} + +func (f *Filler) genElementCount() int { + if f.minElements == f.maxElements { + return f.minElements + } + return f.minElements + f.r.Intn(f.maxElements-f.minElements+1) +} + +func (f *Filler) genShouldFill() bool { + return f.r.Float64() >= f.nilChance +} + +// MaxDepth sets the maximum number of recursive fill calls that will be made +// before stopping. This includes struct members, pointers, and map and slice +// elements. +func (f *Filler) MaxDepth(d int) *Filler { + f.maxDepth = d + return f +} + +// AllowUnexportedFields defines whether to fill unexported fields. +func (f *Filler) AllowUnexportedFields(flag bool) *Filler { + f.allowUnexportedFields = flag + return f +} + +// SkipFieldsWithPattern tells this Filler to skip any field whose name matches +// the supplied pattern. Call this multiple times if needed. This is useful to +// skip XXX_ fields generated by protobuf. +func (f *Filler) SkipFieldsWithPattern(pattern *regexp.Regexp) *Filler { + f.skipFieldPatterns = append(f.skipFieldPatterns, pattern) + return f +} + +// SimpleSelfFiller represents an object that knows how to randfill itself. +// +// Unlike NativeSelfFiller, this interface does not cause the type in question +// to depend on the randfill package. This is most useful for simple types. For +// more complex types, consider using NativeSelfFiller. +type SimpleSelfFiller interface { + // RandFill fills the current object with random data. + RandFill(r *rand.Rand) +} + +// NativeSelfFiller represents an object that knows how to randfill itself. +// +// Unlike SimpleSelfFiller, this interface allows for recursive filling of +// child objects with the same rules as the parent Filler. +type NativeSelfFiller interface { + // RandFill fills the current object with random data. + RandFill(c Continue) +} + +// Fill recursively fills all of obj's fields with something random. First +// this tries to find a custom fill function (see Funcs). If there is no +// custom function, this tests whether the object implements SimpleSelfFiller +// or NativeSelfFiller and if so, calls RandFill on it to fill itself. If that +// fails, this will see if there is a default fill function provided by this +// package. If all of that fails, this will generate random values for all +// primitive fields and then recurse for all non-primitives. +// +// This is safe for cyclic or tree-like structs, up to a limit. Use the +// MaxDepth method to adjust how deep you need it to recurse. +// +// obj must be a pointer. Exported (public) fields can always be set, and if +// the AllowUnexportedFields() modifier was called it can try to set unexported +// (private) fields, too. +// +// This is intended for tests, so will panic on bad input or unimplemented +// types. This method takes a lock for the whole Filler, so it is not +// reentrant. See Continue. +func (f *Filler) Fill(obj interface{}) { + f.lock.Lock() + defer f.lock.Unlock() + + v := reflect.ValueOf(obj) + if v.Kind() != reflect.Ptr { + panic("Filler.Fill: obj must be a pointer") + } + v = v.Elem() + f.fillWithContext(v, 0) +} + +// FillNoCustom is just like Fill, except that any custom fill function for +// obj's type will not be called and obj will not be tested for +// SimpleSelfFiller or NativeSelfFiller. This applies only to obj and not other +// instances of obj's type or to obj's child fields. +// +// obj must be a pointer. Exported (public) fields can always be set, and if +// the AllowUnexportedFields() modifier was called it can try to set unexported +// (private) fields, too. +// +// This is intended for tests, so will panic on bad input or unimplemented +// types. This method takes a lock for the whole Filler, so it is not +// reentrant. See Continue. +func (f *Filler) FillNoCustom(obj interface{}) { + f.lock.Lock() + defer f.lock.Unlock() + + v := reflect.ValueOf(obj) + if v.Kind() != reflect.Ptr { + panic("Filler.FillNoCustom: obj must be a pointer") + } + v = v.Elem() + f.fillWithContext(v, flagNoCustomFill) +} + +const ( + // Do not try to find a custom fill function. Does not apply recursively. + flagNoCustomFill uint64 = 1 << iota +) + +func (f *Filler) fillWithContext(v reflect.Value, flags uint64) { + fc := &fillerContext{filler: f} + fc.doFill(v, flags) +} + +// fillerContext carries context about a single filling run, which lets Filler +// be thread-safe. +type fillerContext struct { + filler *Filler + curDepth int +} + +func (fc *fillerContext) doFill(v reflect.Value, flags uint64) { + if fc.curDepth >= fc.filler.maxDepth { + return + } + fc.curDepth++ + defer func() { fc.curDepth-- }() + + if !v.CanSet() { + if !fc.filler.allowUnexportedFields || !v.CanAddr() { + return + } + v = reflect.NewAt(v.Type(), unsafe.Pointer(v.UnsafeAddr())).Elem() + } + + if flags&flagNoCustomFill == 0 { + // Check for both pointer and non-pointer custom functions. + if v.CanAddr() && fc.tryCustom(v.Addr()) { + return + } + if fc.tryCustom(v) { + return + } + } + + if fn, ok := fillFuncMap[v.Kind()]; ok { + fn(v, fc.filler.r) + return + } + + switch v.Kind() { + case reflect.Map: + if fc.filler.genShouldFill() { + v.Set(reflect.MakeMap(v.Type())) + n := fc.filler.genElementCount() + for i := 0; i < n; i++ { + key := reflect.New(v.Type().Key()).Elem() + fc.doFill(key, 0) + val := reflect.New(v.Type().Elem()).Elem() + fc.doFill(val, 0) + v.SetMapIndex(key, val) + } + return + } + v.Set(reflect.Zero(v.Type())) + case reflect.Ptr: + if fc.filler.genShouldFill() { + v.Set(reflect.New(v.Type().Elem())) + fc.doFill(v.Elem(), 0) + return + } + v.Set(reflect.Zero(v.Type())) + case reflect.Slice: + if fc.filler.genShouldFill() { + n := fc.filler.genElementCount() + v.Set(reflect.MakeSlice(v.Type(), n, n)) + for i := 0; i < n; i++ { + fc.doFill(v.Index(i), 0) + } + return + } + v.Set(reflect.Zero(v.Type())) + case reflect.Array: + if fc.filler.genShouldFill() { + n := v.Len() + for i := 0; i < n; i++ { + fc.doFill(v.Index(i), 0) + } + return + } + v.Set(reflect.Zero(v.Type())) + case reflect.Struct: + for i := 0; i < v.NumField(); i++ { + skipField := false + fieldName := v.Type().Field(i).Name + for _, pattern := range fc.filler.skipFieldPatterns { + if pattern.MatchString(fieldName) { + skipField = true + break + } + } + if !skipField { + fc.doFill(v.Field(i), 0) + } + } + case reflect.Chan: + fallthrough + case reflect.Func: + fallthrough + case reflect.Interface: + fallthrough + default: + panic(fmt.Sprintf("can't fill type %v, kind %v", v.Type(), v.Kind())) + } +} + +// tryCustom searches for custom handlers, and returns true iff it finds a match +// and successfully randomizes v. +func (fc *fillerContext) tryCustom(v reflect.Value) bool { + // First: see if we have a fill function for it. + doCustom, ok := fc.filler.customFuncs[v.Type()] + if !ok { + // Second: see if it can fill itself. + if v.CanInterface() { + intf := v.Interface() + if fillable, ok := intf.(SimpleSelfFiller); ok { + fillable.RandFill(fc.filler.r) + return true + } + if fillable, ok := intf.(NativeSelfFiller); ok { + fillable.RandFill(Continue{fc: fc, Rand: fc.filler.r}) + return true + } + } + // Finally: see if there is a default fill function. + doCustom, ok = fc.filler.defaultFuncs[v.Type()] + if !ok { + return false + } + } + + switch v.Kind() { + case reflect.Ptr: + if v.IsNil() { + if !v.CanSet() { + return false + } + v.Set(reflect.New(v.Type().Elem())) + } + case reflect.Map: + if v.IsNil() { + if !v.CanSet() { + return false + } + v.Set(reflect.MakeMap(v.Type())) + } + default: + return false + } + + doCustom.Call([]reflect.Value{ + v, + reflect.ValueOf(Continue{ + fc: fc, + Rand: fc.filler.r, + }), + }) + return true +} + +// Continue can be passed to custom fill functions to allow them to use +// the correct source of randomness and to continue filling their members. +type Continue struct { + fc *fillerContext + + // For convenience, Continue implements rand.Rand via embedding. + // Use this for generating any randomness if you want your filling + // to be repeatable for a given seed. + *rand.Rand +} + +// Fill continues filling obj. obj must be a pointer or a reflect.Value of a +// pointer. See Filler.Fill. +func (c Continue) Fill(obj interface{}) { + v, ok := obj.(reflect.Value) + if !ok { + v = reflect.ValueOf(obj) + } + if v.Kind() != reflect.Ptr { + panic("Continue.Fill: obj must be a pointer") + } + v = v.Elem() + c.fc.doFill(v, 0) +} + +// FillNoCustom continues filling obj, except that any custom fill function for +// obj's type will not be called and obj will not be tested for +// SimpleSelfFiller or NativeSelfFiller. See Filler.FillNoCustom. +func (c Continue) FillNoCustom(obj interface{}) { + v, ok := obj.(reflect.Value) + if !ok { + v = reflect.ValueOf(obj) + } + if v.Kind() != reflect.Ptr { + panic("Continue.FillNoCustom: obj must be a pointer") + } + v = v.Elem() + c.fc.doFill(v, flagNoCustomFill) +} + +const defaultStringMaxLen = 20 + +// String makes a random string up to n characters long. If n is 0, the default +// size range is [0-20). The returned string may include a variety of (valid) +// UTF-8 encodings. +func (c Continue) String(n int) string { + return randString(c.Rand, n) +} + +// Uint64 makes random 64 bit numbers. +// Weirdly, rand doesn't have a function that gives you 64 random bits. +func (c Continue) Uint64() uint64 { + return randUint64(c.Rand) +} + +// Bool returns true or false randomly. +func (c Continue) Bool() bool { + return randBool(c.Rand) +} + +func fillInt(v reflect.Value, r *rand.Rand) { + v.SetInt(int64(randUint64(r))) +} + +func fillUint(v reflect.Value, r *rand.Rand) { + v.SetUint(randUint64(r)) +} + +func randfillTime(t *time.Time, c Continue) { + var sec, nsec int64 + // Allow for about 1000 years of random time values, which keeps things + // like JSON parsing reasonably happy. + sec = c.Rand.Int63n(1000 * 365 * 24 * 60 * 60) + // Nanosecond values greater than 1Bn are technically allowed but result in + // time.Time values with invalid timezone offsets. + nsec = c.Rand.Int63n(999999999) + *t = time.Unix(sec, nsec) +} + +var fillFuncMap = map[reflect.Kind]func(reflect.Value, *rand.Rand){ + reflect.Bool: func(v reflect.Value, r *rand.Rand) { + v.SetBool(randBool(r)) + }, + reflect.Int: fillInt, + reflect.Int8: fillInt, + reflect.Int16: fillInt, + reflect.Int32: fillInt, + reflect.Int64: fillInt, + reflect.Uint: fillUint, + reflect.Uint8: fillUint, + reflect.Uint16: fillUint, + reflect.Uint32: fillUint, + reflect.Uint64: fillUint, + reflect.Uintptr: fillUint, + reflect.Float32: func(v reflect.Value, r *rand.Rand) { + v.SetFloat(float64(r.Float32())) + }, + reflect.Float64: func(v reflect.Value, r *rand.Rand) { + v.SetFloat(r.Float64()) + }, + reflect.Complex64: func(v reflect.Value, r *rand.Rand) { + v.SetComplex(complex128(complex(r.Float32(), r.Float32()))) + }, + reflect.Complex128: func(v reflect.Value, r *rand.Rand) { + v.SetComplex(complex(r.Float64(), r.Float64())) + }, + reflect.String: func(v reflect.Value, r *rand.Rand) { + v.SetString(randString(r, 0)) + }, + reflect.UnsafePointer: func(v reflect.Value, r *rand.Rand) { + panic("filling of UnsafePointers is not implemented") + }, +} + +// randBool returns true or false randomly. +func randBool(r *rand.Rand) bool { + return r.Int31()&(1<<30) == 0 +} + +type int63nPicker interface { + Int63n(int64) int64 +} + +// UnicodeRange describes a sequential range of unicode characters. +// Last must be numerically greater than First. +type UnicodeRange struct { + First, Last rune +} + +// UnicodeRanges describes an arbitrary number of sequential ranges of unicode characters. +// To be useful, each range must have at least one character (First <= Last) and +// there must be at least one range. +type UnicodeRanges []UnicodeRange + +// choose returns a random unicode character from the given range, using the +// given randomness source. +func (ur UnicodeRange) choose(r int63nPicker) rune { + count := int64(ur.Last - ur.First + 1) + return ur.First + rune(r.Int63n(count)) +} + +// CustomStringFillFunc constructs a FillFunc which produces random strings. +// Each character is selected from the range ur. If there are no characters +// in the range (cr.Last < cr.First), this will panic. +func (ur UnicodeRange) CustomStringFillFunc(n int) func(s *string, c Continue) { + ur.check() + return func(s *string, c Continue) { + *s = ur.randString(c.Rand, n) + } +} + +// check is a function that used to check whether the first of ur(UnicodeRange) +// is greater than the last one. +func (ur UnicodeRange) check() { + if ur.Last < ur.First { + panic("UnicodeRange.check: the last encoding must be greater than the first") + } +} + +// randString of UnicodeRange makes a random string up to 20 characters long. +// Each character is selected form ur(UnicodeRange). +func (ur UnicodeRange) randString(r *rand.Rand, max int) string { + if max == 0 { + max = defaultStringMaxLen + } + n := r.Intn(max) + sb := strings.Builder{} + sb.Grow(n) + for i := 0; i < n; i++ { + sb.WriteRune(ur.choose(r)) + } + return sb.String() +} + +// defaultUnicodeRanges sets a default unicode range when users do not set +// CustomStringFillFunc() but want to fill strings. +var defaultUnicodeRanges = UnicodeRanges{ + {' ', '~'}, // ASCII characters + {'\u00a0', '\u02af'}, // Multi-byte encoded characters + {'\u4e00', '\u9fff'}, // Common CJK (even longer encodings) +} + +// CustomStringFillFunc constructs a FillFunc which produces random strings. +// Each character is selected from one of the ranges of ur(UnicodeRanges). +// Each range has an equal probability of being chosen. If there are no ranges, +// or a selected range has no characters (.Last < .First), this will panic. +// Do not modify any of the ranges in ur after calling this function. +func (ur UnicodeRanges) CustomStringFillFunc(n int) func(s *string, c Continue) { + // Check unicode ranges slice is empty. + if len(ur) == 0 { + panic("UnicodeRanges is empty") + } + // if not empty, each range should be checked. + for i := range ur { + ur[i].check() + } + return func(s *string, c Continue) { + *s = ur.randString(c.Rand, n) + } +} + +// randString of UnicodeRanges makes a random string up to 20 characters long. +// Each character is selected form one of the ranges of ur(UnicodeRanges), +// and each range has an equal probability of being chosen. +func (ur UnicodeRanges) randString(r *rand.Rand, max int) string { + if max == 0 { + max = defaultStringMaxLen + } + n := r.Intn(max) + sb := strings.Builder{} + sb.Grow(n) + for i := 0; i < n; i++ { + sb.WriteRune(ur[r.Intn(len(ur))].choose(r)) + } + return sb.String() +} + +// randString makes a random string up to 20 characters long. The returned string +// may include a variety of (valid) UTF-8 encodings. +func randString(r *rand.Rand, max int) string { + return defaultUnicodeRanges.randString(r, max) +} + +// randUint64 makes random 64 bit numbers. +// Weirdly, rand doesn't have a function that gives you 64 random bits. +func randUint64(r *rand.Rand) uint64 { + return uint64(r.Uint32())<<32 | uint64(r.Uint32()) +} From 3076f76fe10b16a1a2984f9a0bc47e47c0606c55 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Thu, 19 Feb 2026 10:37:58 +0530 Subject: [PATCH 19/27] Building arch specifc images to not have manifest list --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a445b32d78..ad2e5df99c 100644 --- a/Makefile +++ b/Makefile @@ -147,9 +147,9 @@ run-volume-provisioner-dev: BUILD_ARGS = --build-arg CI_IMAGE_REGISTRY="$(CI_IMAGE_REGISTRY)" --build-arg COMPONENT="$(COMPONENT)" image: docker build $(BUILD_ARGS) \ - -t $(IMAGE)-amd64:$(VERSION) . + -t $(IMAGE)-amd64:$(VERSION) --provenance false . docker build $(BUILD_ARGS) \ - -t $(IMAGE)-arm64:$(VERSION) -f Dockerfile_arm_all . + -t $(IMAGE)-arm64:$(VERSION) --provenance false -f Dockerfile_arm_all . .PHONY: push push: image From abfa91ba32ea88d51b94e7c0652a5554bde44b3e Mon Sep 17 00:00:00 2001 From: Yashwant Gohokar Date: Mon, 7 Jul 2025 10:56:14 +0530 Subject: [PATCH 20/27] Fixing e2e flakiness --- test/e2e/cloud-provider-oci/boot_volume.go | 108 +++++++++--------- .../csi_snapshot_restore.go | 3 +- test/e2e/framework/pvc_util.go | 2 +- test/e2e/framework/service_util.go | 2 + 4 files changed, 59 insertions(+), 56 deletions(-) diff --git a/test/e2e/cloud-provider-oci/boot_volume.go b/test/e2e/cloud-provider-oci/boot_volume.go index d3c87738e0..da975ce9df 100644 --- a/test/e2e/cloud-provider-oci/boot_volume.go +++ b/test/e2e/cloud-provider-oci/boot_volume.go @@ -27,66 +27,66 @@ import ( var _ = Describe("Boot volume tests", func() { f := framework.NewBackupFramework("csi-basic") Context("[cloudprovider][storage][csi][boot-volume]", func() { - It("Boot volume as CSI data volume", func() { - pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-boot-volume") - compartmentId := "" - if setupF.Compartment1 != "" { - compartmentId = setupF.Compartment1 - } else if f.CloudProviderConfig.CompartmentID != "" { - compartmentId = f.CloudProviderConfig.CompartmentID - } else if f.CloudProviderConfig.Auth.CompartmentID != "" { - compartmentId = f.CloudProviderConfig.Auth.CompartmentID - } else { - framework.Failf("Compartment Id undefined.") - } + It("Boot volume tests", func() { + By("Boot volume as CSI data volume", func() { + pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-boot-volume") + compartmentId := "" + if setupF.Compartment1 != "" { + compartmentId = setupF.Compartment1 + } else if f.CloudProviderConfig.CompartmentID != "" { + compartmentId = f.CloudProviderConfig.CompartmentID + } else if f.CloudProviderConfig.Auth.CompartmentID != "" { + compartmentId = f.CloudProviderConfig.Auth.CompartmentID + } else { + framework.Failf("Compartment Id undefined.") + } - scName := f.CreateStorageClassOrFail(f.Namespace.Name, setupF.BlockProvisionerName, - map[string]string{framework.AttachmentType: framework.AttachmentTypeISCSI}, - pvcJig.Labels, "WaitForFirstConsumer", false, "Retain", nil) - opts := framework.Options{ - BlockProvisionerName: setupF.BlockProvisionerName, - } - pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.BlockStorageClient, f.Namespace.Name, compartmentId, setupF.AdLocation, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeBlock, v1.ReadWriteOnce, v1.ClaimPending, opts) - f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) + scName := f.CreateStorageClassOrFail(f.Namespace.Name, setupF.BlockProvisionerName, + map[string]string{framework.AttachmentType: framework.AttachmentTypeISCSI}, + pvcJig.Labels, "WaitForFirstConsumer", false, "Retain", nil) + opts := framework.Options{ + BlockProvisionerName: setupF.BlockProvisionerName, + } + pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.BlockStorageClient, f.Namespace.Name, compartmentId, setupF.AdLocation, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeBlock, v1.ReadWriteOnce, v1.ClaimPending, opts) + f.VolumeIds = append(f.VolumeIds, pvc.Spec.VolumeName) - podName := pvcJig.NewPodForCSI("app1", f.Namespace.Name, pvc.Name, setupF.AdLabel, v1.PersistentVolumeBlock) + podName := pvcJig.NewPodForCSI("app1", f.Namespace.Name, pvc.Name, setupF.AdLabel, v1.PersistentVolumeBlock) - pvcJig.DeletePod(f.Namespace.Name, podName, 7*time.Minute) - pvcJig.DeleteBootVolume(f.BlockStorageClient, bootvolumeId, 5*time.Minute) - _ = f.DeleteStorageClass(f.Namespace.Name) - }) - }) -}) + pvcJig.DeletePod(f.Namespace.Name, podName, 7*time.Minute) + pvcJig.DeleteBootVolume(f.BlockStorageClient, bootvolumeId, 5*time.Minute) + _ = f.DeleteStorageClass(f.Namespace.Name) + }) -var _ = Describe("Boot volume gating test", func() { - f := framework.NewBackupFramework("csi-basic") - Context("[cloudprovider][storage][csi][boot-volume]", func() { - It("Attach boot volume fails with volumeMode set to Filesystem", func() { - pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-boot-vol-e2e-tests") - compartmentId := "" - if setupF.Compartment1 != "" { - compartmentId = setupF.Compartment1 - } else if f.CloudProviderConfig.CompartmentID != "" { - compartmentId = f.CloudProviderConfig.CompartmentID - } else if f.CloudProviderConfig.Auth.CompartmentID != "" { - compartmentId = f.CloudProviderConfig.Auth.CompartmentID - } else { - framework.Failf("Compartment Id undefined.") - } + By("Attach boot volume fails with volumeMode set to Filesystem", func() { + pvcJig := framework.NewPVCTestJig(f.ClientSet, "csi-boot-vol-e2e-tests") + compartmentId := "" + if setupF.Compartment1 != "" { + compartmentId = setupF.Compartment1 + } else if f.CloudProviderConfig.CompartmentID != "" { + compartmentId = f.CloudProviderConfig.CompartmentID + } else if f.CloudProviderConfig.Auth.CompartmentID != "" { + compartmentId = f.CloudProviderConfig.Auth.CompartmentID + } else { + framework.Failf("Compartment Id undefined.") + } - scName := f.CreateStorageClassOrFail(f.Namespace.Name, "blockvolume.csi.oraclecloud.com", - map[string]string{framework.AttachmentType: framework.AttachmentTypeISCSI}, - pvcJig.Labels, "WaitForFirstConsumer", false, "Retain", nil) - pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.BlockStorageClient, f.Namespace.Name, compartmentId, setupF.AdLocation, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeFilesystem, v1.ReadWriteOnce, v1.ClaimPending) - pvcJig.NewPodForCSIWithoutWait("app1", f.Namespace.Name, pvc.Name, setupF.AdLabel) - err := pvcJig.WaitTimeoutForPodRunningInNamespace("app1", f.Namespace.Name, 7*time.Minute) - if err == nil { - framework.Failf("Pod went to running state for gated condition") - } + scName := f.CreateStorageClassOrFail(f.Namespace.Name, setupF.BlockProvisionerName, + map[string]string{framework.AttachmentType: framework.AttachmentTypeISCSI}, + pvcJig.Labels, "WaitForFirstConsumer", false, "Retain", nil) + opts := framework.Options{ + BlockProvisionerName: setupF.BlockProvisionerName, + } + pvc, bootvolumeId := pvcJig.CreateAndAwaitStaticBootVolumePVCOrFailCSI(f.ComputeClient, f.BlockStorageClient, f.Namespace.Name, compartmentId, setupF.AdLocation, framework.MinVolumeBlock, scName, nil, v1.PersistentVolumeFilesystem, v1.ReadWriteOnce, v1.ClaimPending, opts) + pvcJig.NewPodForCSIWithoutWait("app1", f.Namespace.Name, pvc.Name, setupF.AdLabel) + err := pvcJig.WaitTimeoutForPodRunningInNamespace("app1", f.Namespace.Name, 7*time.Minute) + if err == nil { + framework.Failf("Pod went to running state for gated condition") + } - pvcJig.DeletePod(f.Namespace.Name, "app1", 7*time.Minute) - pvcJig.DeleteBootVolume(f.BlockStorageClient, bootvolumeId, 5*time.Minute) - _ = f.DeleteStorageClass(f.Namespace.Name) + pvcJig.DeletePod(f.Namespace.Name, "app1", 7*time.Minute) + pvcJig.DeleteBootVolume(f.BlockStorageClient, bootvolumeId, 5 * time.Minute) + _ = f.DeleteStorageClass(f.Namespace.Name) + }) }) }) }) diff --git a/test/e2e/cloud-provider-oci/csi_snapshot_restore.go b/test/e2e/cloud-provider-oci/csi_snapshot_restore.go index 9ff332487a..1b2d141173 100644 --- a/test/e2e/cloud-provider-oci/csi_snapshot_restore.go +++ b/test/e2e/cloud-provider-oci/csi_snapshot_restore.go @@ -305,7 +305,8 @@ var _ = Describe("Raw Block Volume Snapshot Creation and Restore", func() { vscontentName := pvcJig.CreateVolumeSnapshotContentOrFail(f.Namespace.Name+"-e2e-snapshot-vsc", setupF.BlockProvisionerName, backupOCID, ReclaimPolicyDelete, restoreVsName, f.Namespace.Name, v1.PersistentVolumeBlock) pvcJig.CreateAndAwaitVolumeSnapshotStaticOrFail(restoreVsName, f.Namespace.Name, vscontentName) - + //Waiting for volume snapshot content to be created and status field to be populated + time.Sleep(1 * time.Minute) pvcRestore := pvcJig.CreateAndAwaitPVCOrFailSnapshotSource(f.Namespace.Name, framework.MinVolumeBlock, scName, restoreVsName, v1.ReadWriteOnce, v1.ClaimPending, true, nil) podRestoreName := pvcJig.CreateAndAwaitNginxPodOrFail(f.Namespace.Name, pvcRestore, KeepAliveCommandBlock) pvcJig.CheckDataInBlockDevice(f.Namespace.Name, podRestoreName, "Hello World") diff --git a/test/e2e/framework/pvc_util.go b/test/e2e/framework/pvc_util.go index 6ac4d8a4c8..6a7d9696e4 100644 --- a/test/e2e/framework/pvc_util.go +++ b/test/e2e/framework/pvc_util.go @@ -810,8 +810,8 @@ func (j *PVCTestJig) CreateBootVolume(c ocicore.ComputeClient, bs ocicore.Blocks if len(attachmentsResp.Items) == 0 { Failf("No boot volume attachment found for instance %s", *instance.Id) } - attachment := attachmentsResp.Items[0] + Logf("Cloning boot volume %s", *attachment.BootVolumeId) resp, err := bs.CreateBootVolume(ctx, ocicore.CreateBootVolumeRequest{ CreateBootVolumeDetails: ocicore.CreateBootVolumeDetails{ diff --git a/test/e2e/framework/service_util.go b/test/e2e/framework/service_util.go index 695abbe991..d1c174d173 100644 --- a/test/e2e/framework/service_util.go +++ b/test/e2e/framework/service_util.go @@ -73,6 +73,8 @@ const ( LoadBalancerCreateTimeoutDefault = 20 * time.Minute LoadBalancerCreateTimeoutLarge = 2 * time.Hour + LoadBalancerDeleteTimeoutDefault = 5 * time.Minute + // Time required by the loadbalancer to cleanup, proportional to numApps/Ing. // Bring the cleanup timeout back down to 5m once b/33588344 is resolved. LoadBalancerCleanupTimeout = 15 * time.Minute From 0fb1bdffa38d4836c48cd32120667c57c035aa84 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Thu, 28 Aug 2025 19:05:53 +0530 Subject: [PATCH 21/27] Propagate CSI Controller Publish/Unpublish errors to POD Events and VolumeAttachment object --- .../providers/oci/load_balancer_spec.go | 6 +- .../providers/oci/load_balancer_test.go | 2 +- .../providers/oci/load_balancer_util.go | 8 +- pkg/csi-util/utils.go | 72 +++++++- pkg/csi-util/utils_test.go | 155 ++++++++++++++++++ pkg/csi/driver/bv_controller.go | 57 ++++--- pkg/csi/driver/bv_controller_test.go | 2 +- pkg/csi/driver/bv_node.go | 44 ++--- pkg/csi/driver/fss_node.go | 5 +- pkg/util/disk/iscsi_uhp.go | 8 +- pkg/util/disk/mount_helper.go | 2 +- .../csi_snapshot_restore.go | 6 +- test/e2e/framework/pvc_util.go | 124 +++++++------- 13 files changed, 358 insertions(+), 133 deletions(-) diff --git a/pkg/cloudprovider/providers/oci/load_balancer_spec.go b/pkg/cloudprovider/providers/oci/load_balancer_spec.go index 89134355b5..2bfb0626b0 100644 --- a/pkg/cloudprovider/providers/oci/load_balancer_spec.go +++ b/pkg/cloudprovider/providers/oci/load_balancer_spec.go @@ -1222,8 +1222,8 @@ func getListenersNetworkLoadBalancer(svc *v1.Service, listenerBackendIpVersion [ listeners[listenerName] = genericListener } if requireIPv6 { - listenerNameIPv6 := fmt.Sprintf(listenerName + "-" + IPv6) - backendSetNameIPv6 := fmt.Sprintf(backendSetName + "-" + IPv6) + listenerNameIPv6 := fmt.Sprintf("%s", listenerName+"-"+IPv6) + backendSetNameIPv6 := fmt.Sprintf("%s", backendSetName+"-"+IPv6) genericListener.Name = common.String(listenerNameIPv6) genericListener.IpVersion = GenericIpVersion(client.GenericIPv6) genericListener.DefaultBackendSetName = common.String(backendSetNameIPv6) @@ -1580,7 +1580,7 @@ func getBackendSetNamePortMap(service *v1.Service) map[string]v1.ServicePort { } else { backendSetName = getBackendSetName(string(servicePort.Protocol), int(servicePort.Port)) } - backendSetNameIPv6 := fmt.Sprintf(backendSetName + "-" + IPv6) + backendSetNameIPv6 := fmt.Sprintf("%s", backendSetName+"-"+IPv6) backendSetPortMap[backendSetNameIPv6] = servicePort } diff --git a/pkg/cloudprovider/providers/oci/load_balancer_test.go b/pkg/cloudprovider/providers/oci/load_balancer_test.go index 462d8ba93a..a2879062ff 100644 --- a/pkg/cloudprovider/providers/oci/load_balancer_test.go +++ b/pkg/cloudprovider/providers/oci/load_balancer_test.go @@ -1246,7 +1246,7 @@ func Test_addLoadBalancerOkeSystemTags(t *testing.T) { } } err := clb.addLoadBalancerOkeSystemTags(context.Background(), testcase.lb, testcase.spec) - t.Logf(err.Error()) + t.Logf("%s", err.Error()) if !assertError(err, testcase.wantErr) { t.Errorf("Expected error = %v, but got %v", testcase.wantErr, err) return diff --git a/pkg/cloudprovider/providers/oci/load_balancer_util.go b/pkg/cloudprovider/providers/oci/load_balancer_util.go index c78d926658..e8b1d27f8b 100644 --- a/pkg/cloudprovider/providers/oci/load_balancer_util.go +++ b/pkg/cloudprovider/providers/oci/load_balancer_util.go @@ -300,7 +300,7 @@ func hasBackendSetChanged(logger *zap.SugaredLogger, actual client.GenericBacken } if len(backendChanges) != 0 { - backendSetChanges = append(backendChanges) + backendSetChanges = append(backendSetChanges, backendChanges...) } if len(backendSetChanges) != 0 { @@ -667,13 +667,13 @@ func getSanitizedName(name string) string { fields := strings.Split(name, "-") if strings.EqualFold(fields[0], "HTTP") { fields[0] = "TCP" - name = fmt.Sprintf(strings.Join(fields, "-")) + name = fmt.Sprintf("%s", strings.Join(fields, "-")) } if len(fields) > 2 { if contains(fields, IPv6) { - return fmt.Sprintf(strings.Join(fields[:3], "-")) + return fmt.Sprintf("%s", strings.Join(fields[:3], "-")) } - return fmt.Sprintf(strings.Join(fields[:2], "-")) + return fmt.Sprintf("%s", strings.Join(fields[:2], "-")) } return name } diff --git a/pkg/csi-util/utils.go b/pkg/csi-util/utils.go index 82ad59cc70..cbd3b04ef6 100644 --- a/pkg/csi-util/utils.go +++ b/pkg/csi-util/utils.go @@ -27,8 +27,6 @@ import ( "sync" "time" - "k8s.io/apimachinery/pkg/util/wait" - "github.com/container-storage-interface/spec/lib/go/csi" "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/core" @@ -40,6 +38,7 @@ import ( kubeAPI "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" @@ -118,6 +117,7 @@ type NodeMetadata struct { IsNodeMetadataLoaded bool } + func (u *Util) LookupNodeID(k kubernetes.Interface, nodeName string) (string, error) { n, err := k.CoreV1().Nodes().Get(context.Background(), nodeName, metav1.GetOptions{}) if err != nil { @@ -134,14 +134,14 @@ func (u *Util) LookupNodeID(k kubernetes.Interface, nodeName string) (string, er func (u *Util) WaitForKubeApiServerToBeReachableWithContext(ctx context.Context, k kubernetes.Interface, backOffCap time.Duration) { - waitForKubeApiServerCtx, waitForKubeApiServerCtxCancel := context.WithTimeout(ctx, time.Second * 45) + waitForKubeApiServerCtx, waitForKubeApiServerCtxCancel := context.WithTimeout(ctx, time.Second*45) defer waitForKubeApiServerCtxCancel() backoff := wait.Backoff{ Duration: 1 * time.Second, Factor: 2.0, Steps: 5, - Cap: backOffCap, + Cap: backOffCap, } wait.ExponentialBackoffWithContext( @@ -161,9 +161,9 @@ func (u *Util) WaitForKubeApiServerToBeReachableWithContext(ctx context.Context, ) } -func (u *Util) LoadNodeMetadataFromApiServer(ctx context.Context, k kubernetes.Interface, nodeID string, nodeMetadata *NodeMetadata) (error) { +func (u *Util) LoadNodeMetadataFromApiServer(ctx context.Context, k kubernetes.Interface, nodeID string, nodeMetadata *NodeMetadata) error { - u.WaitForKubeApiServerToBeReachableWithContext(ctx, k, time.Second * 30) + u.WaitForKubeApiServerToBeReachableWithContext(ctx, k, time.Second*30) node, err := k.CoreV1().Nodes().Get(ctx, nodeID, metav1.GetOptions{}) @@ -210,7 +210,7 @@ func (u *Util) LoadNodeMetadataFromApiServer(ctx context.Context, k kubernetes.I u.Logger.With("nodeId", nodeID, "nodeMetadata", nodeMetadata).Info("Node IP family identified.") } nodeMetadata.IsNodeMetadataLoaded = true - return nil + return nil } // waitForPathToExist waits for for a given filesystem path to exist. @@ -751,3 +751,61 @@ func ShortenContextBeforeDeadline(parent context.Context, buffer time.Duration) ctx, cancel := context.WithTimeout(parent, timeLeft) return ctx, cancel } + +// GetOCIServiceError checks if error is OCI Service Error and returns a structured error message +// including service name, HTTP status, error code, message, and operation name. +func GetOCIServiceError(err error) string { + // Early return for invalid inputs + errorMsg := "" + if err == nil { + return errorMsg + } + // Check for OCI service error and format structured message if present + if serviceErr, ok := common.IsServiceErrorRichInfo(errors.Cause(err)); ok { + errorMsg = fmt.Sprintf(`Error returned by %s Service. Http Status Code: %d. Error Code: %s. Message: %s. Operation Name: %s`, + serviceErr.GetTargetService(), serviceErr.GetHTTPStatusCode(), serviceErr.GetCode(), serviceErr.GetMessage(), serviceErr.GetOperationName()) + } else { + errorMsg = err.Error() + } + return errorMsg +} + +// TruncateError truncates an error message to a maximum byte length +// If the formatted message exceeds maxBytes, it is truncated with "..." suffix, +// ensuring no partial UTF-8 characters are left at the end. +// +// Parameters: +// - err: The error to truncate. If nil, returns empty string. +// - maxBytes: The maximum byte length for the output. If <= 0, returns empty string. +// +// Returns: +// - The truncated error message as a string. +func TruncateError(err error, maxBytes int) error { + + // Early return for invalid inputs + errorMsg := "" + if maxBytes <= 0 || err == nil { + return errors.New(errorMsg) + } + errorMsg = err.Error() + bytesMsg := []byte(errorMsg) + if len(bytesMsg) <= maxBytes { + return err + } + + // Prepare truncation with suffix due to error being larger than maxBytes. Returns truncated error if maxBytes are less than 3(suffix length). + suffix := "..." + if maxBytes < len(suffix) { + return errors.New(string(bytesMsg[:maxBytes])) + } + suffixBytes := []byte(suffix) + truncLen := maxBytes - len(suffixBytes) + + // Ensure truncation doesn't split multi-byte characters (e.g., UTF-8) + // by finding the last valid rune boundary + for truncLen > 0 && (bytesMsg[truncLen]&0xc0) == 0x80 { + truncLen-- + } + + return errors.New(string(bytesMsg[:truncLen]) + suffix) +} diff --git a/pkg/csi-util/utils_test.go b/pkg/csi-util/utils_test.go index c2de22cc0d..acdaecea0c 100644 --- a/pkg/csi-util/utils_test.go +++ b/pkg/csi-util/utils_test.go @@ -16,6 +16,7 @@ package csi_util import ( "context" + "errors" "fmt" "log" "os" @@ -26,8 +27,11 @@ import ( "time" "github.com/oracle/oci-cloud-controller-manager/pkg/util" + "github.com/oracle/oci-go-sdk/v65/common" "github.com/oracle/oci-go-sdk/v65/core" "go.uber.org/zap" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" "k8s.io/client-go/kubernetes" "k8s.io/utils/pointer" ) @@ -845,3 +849,154 @@ func Test_LoadCSIConfigFromConfigMap(t *testing.T) { } } + +// Mock for common.ServiceErrorRichInfo +type mockServiceError struct { + StatusCode int + Code string `json:"code,omitempty"` + Message string `json:"message,omitempty"` + OriginalMessage string `json:"originalMessage"` + OriginalMessageTemplate string `json:"originalMessageTemplate"` + MessageArgument map[string]string `json:"messageArguments"` + OpcRequestID string `json:"opc-request-id"` + // debugging information + TargetService string `json:"target-service"` + OperationName string `json:"operation-name"` + Timestamp common.SDKTime `json:"timestamp"` + RequestTarget string `json:"request-target"` + ClientVersion string `json:"client-version"` + + // troubleshooting guidance + OperationReferenceLink string `json:"operation-reference-link"` + ErrorTroubleshootingLink string `json:"error-troubleshooting-link"` +} + +func (m *mockServiceError) GetTargetService() string { return m.TargetService } +func (m *mockServiceError) GetHTTPStatusCode() int { return m.StatusCode } +func (m *mockServiceError) GetCode() string { return m.Code } +func (m *mockServiceError) GetOpcRequestID() string { return m.OpcRequestID } +func (m *mockServiceError) GetMessage() string { return m.Message } +func (m *mockServiceError) GetOperationName() string { return m.OperationName } +func (m *mockServiceError) GetTimestamp() common.SDKTime { return m.Timestamp } +func (m *mockServiceError) GetRequestTarget() string { return m.RequestTarget } +func (m *mockServiceError) GetClientVersion() string { return m.ClientVersion } +func (m *mockServiceError) GetOperationReferenceLink() string { return m.OperationReferenceLink } +func (m *mockServiceError) GetErrorTroubleshootingLink() string { return m.ErrorTroubleshootingLink } +func (m *mockServiceError) Error() string { return m.Message } + +func TestGetOCIServiceError(t *testing.T) { + tests := []struct { + name string + err error + expected string + }{ + { + name: "nil error returns empty string", + err: nil, + expected: "", + }, + + { + name: "non-OCI error returns err.Error()", + err: errors.New("Timeout of waiting for condition. Lot of big text."), + expected: "Timeout of waiting for condition. Lot of big text.", + }, + { + name: "OCI service error returns formatted string", + err: &mockServiceError{ + TargetService: "Compute Service", + StatusCode: 400, + Code: "LimitExceeded", + OpcRequestID: "8239a6cbec18bed008924abe8b12416b/35C4EBDF5A7728341854B0685048586B/D66BF5A8491C409D1C61B18D343607A4", + Message: "Cannot attach volume ocid1.volume.oc1.phx.abyhqljrwv2qo35rdomkhvmgtrwr6wpkezzh6gb355tn7phtp5szt5hleqja to instance ocid1.instance.oc1.phx.anyhqljrh4gjgpyc2ighn7uq32unt2e4grzkw3ta37kxbi6c3z3xhlnx66aq because the instance already has the maximum number 16 of attached PV volumes for the shape VM.Standard.E5.Flex. To attach this volume, first detach an existing PV volume from the instance, and then try again..", + OperationName: "AttachVolume", + ClientVersion: "Oracle-GoSDK/xVersion", + RequestTarget: "https://iaas.us-phoenix-1.oraclecloud.com/20160918/volumeAttachments", + OperationReferenceLink: "Test", + ErrorTroubleshootingLink: "Test", + }, + expected: "Error returned by Compute Service Service. Http Status Code: 400. Error Code: LimitExceeded. Message: Cannot attach volume ocid1.volume.oc1.phx.abyhqljrwv2qo35rdomkhvmgtrwr6wpkezzh6gb355tn7phtp5szt5hleqja to instance ocid1.instance.oc1.phx.anyhqljrh4gjgpyc2ighn7uq32unt2e4grzkw3ta37kxbi6c3z3xhlnx66aq because the instance already has the maximum number 16 of attached PV volumes for the shape VM.Standard.E5.Flex. To attach this volume, first detach an existing PV volume from the instance, and then try again... Operation Name: AttachVolume", + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + got := GetOCIServiceError(tt.err) + if !strings.EqualFold(tt.expected, got) { + t.Errorf("GetOCIServiceError() = %s, want %s", got, tt.expected) + } + }) + } +} +func Test_TruncateError(t *testing.T) { + maxVolumeAttachDetachErrorMsgBytes := 1024 + + tests := []struct { + name string + err error + maxBytes int + expectedErr error + }{ + { + name: "Test the truncation is working properly", + err: errors.New("Timeout of waiting for condition. Lot of big text."), + maxBytes: 21, + expectedErr: errors.New("Timeout of waiting..."), + }, + { + name: "Test the truncation is working properly for errors created with status.Errorf", + err: status.Errorf(codes.Internal, "Timeout of waiting for condition. %s.", "Lot of big texttttttttttttttttt"), + maxBytes: 55, + expectedErr: errors.New("rpc error: code = Internal desc = Timeout of waiting..."), + }, + { + name: "error with multi-byte truncate in middle", + err: errors.New("éééérror"), + maxBytes: 6, + expectedErr: errors.New("é..."), + }, + { + name: "nil error", + err: nil, + maxBytes: 6, + expectedErr: errors.New(""), + }, + { + name: "empty error", + err: errors.New(""), + maxBytes: 6, + expectedErr: errors.New(""), + }, + { + name: "ensure suffix is not appended when maxBytes is less than 3", + err: errors.New("ab"), + maxBytes: 1, + expectedErr: errors.New("a"), + }, + { + name: "oci service error is truncated properly", + err: errors.New(GetOCIServiceError(&mockServiceError{ + TargetService: "Compute Service", + StatusCode: 400, + Code: "LimitExceeded", + OpcRequestID: "8239a6cbec18bed008924abe8b12416b/35C4EBDF5A7728341854B0685048586B/D66BF5A8491C409D1C61B18D343607A4", + Message: "Cannot attach volume ocid1.volume.oc1.phx.abyhqljrwv2qo35rdomkhvmgtrwr6wpkezzh6gb355tn7phtp5szt5hleqja to instance ocid1.instance.oc1.phx.anyhqljrh4gjgpyc2ighn7uq32unt2e4grzkw3ta37kxbi6c3z3xhlnx66aq because the instance already has the maximum number 16 of attached PV volumes for the shape VM.Standard.E5.Flex. To attach this volume, first detach an existing PV volume from the instance, and then try again..", + OperationName: "AttachVolume", + ClientVersion: "Oracle-GoSDK/xVersion", + RequestTarget: "https://iaas.us-phoenix-1.oraclecloud.com/20160918/volumeAttachments", + OperationReferenceLink: "Test", + ErrorTroubleshootingLink: "Test", + })), + maxBytes: maxVolumeAttachDetachErrorMsgBytes, + expectedErr: errors.New("Error returned by Compute Service Service. Http Status Code: 400. Error Code: LimitExceeded. Message: Cannot attach volume ocid1.volume.oc1.phx.abyhqljrwv2qo35rdomkhvmgtrwr6wpkezzh6gb355tn7phtp5szt5hleqja to instance ocid1.instance.oc1.phx.anyhqljrh4gjgpyc2ighn7uq32unt2e4grzkw3ta37kxbi6c3z3xhlnx66aq because the instance already has the maximum number 16 of attached PV volumes for the shape VM.Standard.E5.Flex. To attach this volume, first detach an existing PV volume from the instance, and then try again... Operation Name: AttachVolume"), + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotErr := TruncateError(tt.err, tt.maxBytes) + if !strings.EqualFold(tt.expectedErr.Error(), gotErr.Error()) { + t.Errorf("TruncateError() = %v, want %v", gotErr, tt.expectedErr) + } + }) + } +} diff --git a/pkg/csi/driver/bv_controller.go b/pkg/csi/driver/bv_controller.go index 2f5cdacc0d..84ef1dfa6d 100644 --- a/pkg/csi/driver/bv_controller.go +++ b/pkg/csi/driver/bv_controller.go @@ -65,10 +65,11 @@ const ( multipathEnabled = "multipathEnabled" multipathDevices = "multipathDevices" //device is the consistent device path that would be used for paravirtualized attachment - device = "device" - resourceTrackingFeatureFlagName = "CPO_ENABLE_RESOURCE_ATTRIBUTION" - OkeSystemTagNamesapce = "orcl-containerengine" - MaxDefinedTagPerVolume = 64 + device = "device" + resourceTrackingFeatureFlagName = "CPO_ENABLE_RESOURCE_ATTRIBUTION" + OkeSystemTagNamesapce = "orcl-containerengine" + MaxDefinedTagPerVolume = 64 + maxVolumeAttachDetachErrorMsgBytes = 1024 ) var ( @@ -142,8 +143,8 @@ func extractVolumeParameters(log *zap.SugaredLogger, parameters map[string]strin case attachmentType: attachmentTypeLower := strings.ToLower(v) if attachmentTypeLower != attachmentTypeISCSI && attachmentTypeLower != attachmentTypeParavirtualized { - return p, status.Errorf(codes.InvalidArgument, fmt.Sprintf("invalid attachment-type: %s provided "+ - "for storageclass. supported attachment-types are %s and %s", v, attachmentTypeISCSI, attachmentTypeParavirtualized)) + return p, status.Errorf(codes.InvalidArgument, "invalid attachment-type: %s provided "+ + "for storageclass. supported attachment-types are %s and %s", v, attachmentTypeISCSI, attachmentTypeParavirtualized) } p.attachmentParameter[attachmentType] = attachmentTypeLower @@ -196,7 +197,7 @@ func extractSnapshotParameters(parameters map[string]string) (SnapshotParameters } else if backupTypeLower == backupTypeFull { p.backupType = core.CreateVolumeBackupDetailsTypeFull } else { - return p, status.Errorf(codes.InvalidArgument, fmt.Sprintf("invalid backupType: %s provided "+ + return p, status.Errorf(codes.InvalidArgument, "%s", fmt.Sprintf("invalid backupType: %s provided "+ "in volumesnapshotclass. supported backupType are %s and %s", v, backupTypeIncremental, backupTypeFull)) } case backupFreeformTags: @@ -465,7 +466,6 @@ func (d *BlockVolumeControllerDriver) CreateVolume(ctx context.Context, req *csi fullAvailabilityDomainName = *ad.Name } - bvTags := getBVTags(log, d.config.Tags, volumeParams) provisionedVolume, err = provision(ctx, log, d.client, volumeName, size, fullAvailabilityDomainName, d.config.CompartmentID, srcSnapshotId, srcVolumeId, @@ -625,7 +625,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.InvalidArgument, "failed to get ProviderID by nodeName. error : %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.InvalidArgument, "failed to get ProviderID by nodeName for node %s. error : %s", req.NodeId, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } id = client.MapProviderIDToInstanceID(id) dimensionsMap[metrics.InstanceIdDimension] = id @@ -663,7 +663,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex } if vpusValue > 10 { - return nil, status.Error(codes.InvalidArgument, "Only Boot Volumes with balanced performance are supported") + return nil, status.Errorf(codes.InvalidArgument, "Only Boot Volumes with balanced performance (10 vpus/gb) are supported. Boot volume %s has %v vpus/gb performance.", req.VolumeId, vpusValue) } } @@ -675,9 +675,8 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Unknown, "failed to get the attachment options. error : %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "failed to get the attachment options for instance %s. error : %s", id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } - //in transit encryption is not supported for other attachment type than paravirtualized if volumeAttachmentOptions.enableInTransitEncryption && !volumeAttachmentOptions.useParavirtualizedAttachment { log.Errorf("node %s has in transit encryption enabled, but attachment type is not paravirtualized. invalid input", id) @@ -689,12 +688,12 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex compartmentID, err := util.LookupNodeCompartment(d.KubeClient, req.NodeId) if err != nil { - log.With(zap.Error(err)).With("instanceID", id).Errorf("failed to get compartmentID from node annotation: %s", util.CompartmentIDAnnotation) + log.With(zap.Error(err)).With("instanceID", id).Errorf("failed to get compartmentID from node annotation %s for node %s.", util.CompartmentIDAnnotation, req.NodeId) errorType = util.GetError(err) csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Unknown, "failed to get compartmentID from node annotation:. error : %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Unknown, "failed to get compartmentID from node annotation %s for node %s. error : %s", util.CompartmentIDAnnotation, req.NodeId, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } volumeAttachments, err := d.client.Compute().ListVolumeAttachments(ctx, compartmentID, req.VolumeId) @@ -705,7 +704,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, err + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Failed to list volume attachments for volume %s. error : %s", req.VolumeId, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } var nodeVolumeAttachment core.VolumeAttachment @@ -724,7 +723,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "Error while waiting for volume to get detached before attaching: %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Error while waiting for volume %s to get detached from instance %s before attaching to new instance. error: %s", req.VolumeId, *volumeAttachments[0].GetInstanceId(), csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } } else { // check for non-shareable and attached to other node @@ -761,7 +760,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "Failed to attach volume to the node: %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Failed to attach volume %s to the instance %s. error: %s", req.VolumeId, id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } } @@ -775,7 +774,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "Failed to generate publish context: %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Failed to generate publish context for volume %s attachment request to instance %s. error : %s", req.VolumeId, id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } return resp, nil } @@ -792,8 +791,8 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(util.ErrValidation, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "Failed to attach volume to node. "+ - "The volume already has a non-shareable attachment.") + return nil, status.Errorf(codes.Internal, "Failed to attach volume %s to node %s. "+ + "The volume already has a non-shareable attachment %s to instance %s.", req.VolumeId, id, *attachment.GetId(), *attachment.GetInstanceId()) } } } @@ -810,7 +809,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "failed paravirtualized attachment instance to volume. error : %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "failed paravirtualized volume attachment for volume %s to instance %s. error : %s", req.VolumeId, id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } } else { nodeVolumeAttachment, err = d.client.Compute().AttachVolume(ctx, id, req.VolumeId, volumeAttachmentOptions.isShareable) @@ -821,7 +820,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "failed iscsi attachment instance to volume : %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "failed iscsi volume attachment for volume %s to instance %s. error : %s", req.VolumeId, id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } } @@ -833,7 +832,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "Failed to attach volume to the node %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Error occurred while waiting for volume %s to get attached to instance %s. error : %s", req.VolumeId, id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } log.Info("Volume is ATTACHED to Node.") csiMetricDimension = util.GetMetricDimensionForComponent(util.Success, util.CSIStorageType) @@ -846,7 +845,7 @@ func (d *BlockVolumeControllerDriver) ControllerPublishVolume(ctx context.Contex csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Internal, "Failed to generate publish context: %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Failed to generate publish context for volume %s attachment request to instance %s. error : %s", req.VolumeId, id, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } return resp, nil } @@ -928,12 +927,12 @@ func (d *BlockVolumeControllerDriver) ControllerUnpublishVolume(ctx context.Cont metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) return &csi.ControllerUnpublishVolumeResponse{}, nil } - log.With(zap.Error(err)).Errorf("failed to get compartmentID from node annotation: %s", util.CompartmentIDAnnotation) + log.With(zap.Error(err)).Errorf("failed to get compartmentID from node annotation %s for node %s.", util.CompartmentIDAnnotation, req.NodeId) errorType = util.GetError(err) csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Unknown, "failed to get compartmentID from node annotation:: error : %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Unknown, "failed to get compartmentID from node annotation %s for node %s. error : %s", util.CompartmentIDAnnotation, req.NodeId, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } log = log.With("compartmentID", compartmentID) @@ -961,7 +960,7 @@ func (d *BlockVolumeControllerDriver) ControllerUnpublishVolume(ctx context.Cont csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, err + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "Failed to find volume attachment for volume %s to instance %s. error : %s", req.VolumeId, instanceID, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } if attachedVolume == nil { log.With("service", "compute", "verb", "get", "resource", "volumeAttachment", "statusCode", util.GetHttpStatusCode(err)).With(zap.Error(err)). @@ -980,7 +979,7 @@ func (d *BlockVolumeControllerDriver) ControllerUnpublishVolume(ctx context.Cont csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Unknown, "volume can not be detached %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Internal, "failed to detach volume %s from instance %s. error : %s", req.VolumeId, instanceID, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } } log.With("instanceID", *attachedVolume.GetInstanceId()).Info("Waiting for Volume to Detach") @@ -992,7 +991,7 @@ func (d *BlockVolumeControllerDriver) ControllerUnpublishVolume(ctx context.Cont csiMetricDimension = util.GetMetricDimensionForComponent(errorType, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = csiMetricDimension metrics.SendMetricData(d.metricPusher, csiMetricPrefix, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.Unknown, "timed out waiting for volume to be detached %s", err) + return nil, csi_util.TruncateError(status.Errorf(codes.Unknown, "timed out waiting for volume %s to get detached from instance %s. error %s", req.VolumeId, instanceID, csi_util.GetOCIServiceError(err)), maxVolumeAttachDetachErrorMsgBytes) } multipath := false diff --git a/pkg/csi/driver/bv_controller_test.go b/pkg/csi/driver/bv_controller_test.go index 8657121410..0f143a3036 100644 --- a/pkg/csi/driver/bv_controller_test.go +++ b/pkg/csi/driver/bv_controller_test.go @@ -1399,7 +1399,7 @@ func TestControllerDriver_ControllerPublishVolume(t *testing.T) { }, }, }, - want: nil, + want: nil, wantErr: errors.New("Failed to attach volume shareable-volume-with-nonshareable-attachments to node sample-provider-id. The volume already has a non-shareable attachment shareable-volume-with-nonshareable-attachments to instance sample-provider-id-2."), }, } diff --git a/pkg/csi/driver/bv_node.go b/pkg/csi/driver/bv_node.go index 5d16cbbbb7..64426354db 100644 --- a/pkg/csi/driver/bv_node.go +++ b/pkg/csi/driver/bv_node.go @@ -212,9 +212,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod devicePath, err = mountHandler.WaitForDevicePathToExist(ctx, scsiInfo, logger) if err != nil { logger.With(zap.Error(err)).Error("Failed to get /dev/disk/by-path device path for iscsi volume.") - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after timeout on waiting for device path to exist") + logoutErr := mountHandler.ISCSILogoutOnFailure() + if logoutErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after timeout on waiting for device path to exist: %v", logoutErr) } return nil, status.Error(codes.InvalidArgument, "Failed to get device path for iscsi volume") } @@ -234,9 +234,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod err := csi_util.CreateFilePath(logger, stagingTargetFilePath) if err != nil { logger.With(zap.Error(err)).Error("failed to create the stagingTargetFile.") - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after mount failure") + logoutErr := mountHandler.ISCSILogoutOnFailure() + if logoutErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after mount failure: %v", logoutErr) } return nil, status.Error(codes.Internal, err.Error()) } @@ -244,9 +244,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod err = mountHandler.Mount(devicePath, stagingTargetFilePath, "", options) if err != nil { logger.With(zap.Error(err)).Error("failed to bind mount raw block volume to stagingTargetFile") - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after mount failure") + logoutErr := mountHandler.ISCSILogoutOnFailure() + if logoutErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after mount failure: %v", logoutErr) } return nil, status.Error(codes.Internal, err.Error()) } @@ -265,9 +265,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod exists = false } else { logger.With(zap.Error(err)).Errorf("failed to check if stagingTargetPath %q exists", req.StagingTargetPath) - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after failure to check if staging path exists") + logoutErr := mountHandler.ISCSILogoutOnFailure() + if logoutErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after failure to check if staging path exists: %v", logoutErr) } message := fmt.Sprintf("failed to check if stagingTargetPath %q exists", req.StagingTargetPath) return nil, status.Error(codes.Internal, message) @@ -280,9 +280,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod if !exists { if err := os.MkdirAll(req.StagingTargetPath, 0750); err != nil { logger.With(zap.Error(err)).Error("Failed to create StagingTargetPath directory") - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after failure to create StagingTargetPath directory") + logoutErr := mountHandler.ISCSILogoutOnFailure() + if logoutErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after failure to create StagingTargetPath directory: %v", logoutErr) } return nil, status.Error(codes.Internal, "Failed to create StagingTargetPath directory") } @@ -305,9 +305,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod if existingFs != "" && existingFs != fsType { returnError := fmt.Sprintf("FS Type mismatch detected. The existing fs type on the volume: %q doesn't match the requested fs type: %q. Please change fs type in PV to match the existing fs type.", existingFs, fsType) logger.Error(returnError) - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after failure due to FS Type mismatch") + loggerErr := mountHandler.ISCSILogoutOnFailure() + if loggerErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after failure due to FS Type mismatch: %v", loggerErr) } return nil, status.Error(codes.Internal, returnError) } @@ -317,9 +317,9 @@ func (d BlockVolumeNodeDriver) NodeStageVolume(ctx context.Context, req *csi.Nod err = mountHandler.FormatAndMount(devicePath, req.StagingTargetPath, fsType, options) if err != nil { logger.With(zap.Error(err)).Error("failed to format and mount volume to staging path.") - err = mountHandler.ISCSILogoutOnFailure() - if err != nil { - return nil, status.Error(codes.Internal, "Failed to iscsi logout after mount failure") + loggerErr := mountHandler.ISCSILogoutOnFailure() + if loggerErr != nil { + return nil, status.Errorf(codes.Internal, "Failed to iscsi logout after mount failure: %v", loggerErr) } return nil, status.Error(codes.Internal, err.Error()) } @@ -717,7 +717,7 @@ func (d BlockVolumeNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi return &csi.NodeUnpublishVolumeResponse{}, nil } logger.With(zap.Error(rbvCheckErr)).Error("failed to check if it is a device file") - return nil, status.Errorf(codes.Internal, rbvCheckErr.Error()) + return nil, status.Errorf(codes.Internal, "%s", rbvCheckErr.Error()) } if acquired := d.volumeLocks.TryAcquire(req.VolumeId); !acquired { diff --git a/pkg/csi/driver/fss_node.go b/pkg/csi/driver/fss_node.go index 7565daf2a0..0350cad35c 100644 --- a/pkg/csi/driver/fss_node.go +++ b/pkg/csi/driver/fss_node.go @@ -65,7 +65,6 @@ func (d FSSNodeDriver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVo return nil, status.Error(codes.InvalidArgument, "Invalid Volume ID provided") } - if !d.nodeMetadata.IsNodeMetadataLoaded { d.util.LoadNodeMetadataFromApiServer(ctx, d.KubeClient, d.nodeID, d.nodeMetadata) } @@ -344,7 +343,7 @@ func (d FSSNodeDriver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnp logger.Info("Unmount started") if err := mounter.Unmount(targetPath); err != nil { logger.With(zap.Error(err)).Error("failed to unmount target path.") - return nil, status.Errorf(codes.Internal, err.Error()) + return nil, status.Errorf(codes.Internal, "%s", err.Error()) } logger.With("UnmountTime", time.Since(startTime).Milliseconds()).With("TargetPath", targetPath). Info("Unmounting volume completed") @@ -454,7 +453,7 @@ func (d FSSNodeDriver) unmountAndCleanup(logger *zap.SugaredLogger, targetPath s } if err != nil { logger.With(zap.Error(err)).Error("Failed to unmount StagingTargetPath") - return status.Errorf(codes.Internal, err.Error()) + return status.Errorf(codes.Internal, "%s", err.Error()) } return nil } diff --git a/pkg/util/disk/iscsi_uhp.go b/pkg/util/disk/iscsi_uhp.go index b3b8cb9976..67eafdc41c 100644 --- a/pkg/util/disk/iscsi_uhp.go +++ b/pkg/util/disk/iscsi_uhp.go @@ -18,9 +18,9 @@ import ( ) const ( - volumeLoginTimeout = 3 * time.Minute + volumeLoginTimeout = 3 * time.Minute - pathPollIntervalUHP = 10 * time.Second + pathPollIntervalUHP = 10 * time.Second CHROOT_BASH_COMMAND = "chroot-bash" ) @@ -198,7 +198,7 @@ func (c *iSCSIUHPMounter) DeviceOpened(pathname string) (bool, error) { func (c *iSCSIUHPMounter) IsMounted(devicePath string, targetPath string) (bool, error) { notMnt, err := c.mounter.IsLikelyNotMountPoint(targetPath) if err != nil { - if os.IsNotExist(err){ + if os.IsNotExist(err) { return false, nil } return false, fmt.Errorf("failed to check if %s is a mount point: %v", targetPath, err) @@ -272,7 +272,7 @@ func ReadLink(symbolicLink string, logger *zap.SugaredLogger) (string, error) { if len(files) == 0 { logger.With("symbolicLink", symbolicLink).Error("Error finding linked path for multipath device consistent path") errMsg := fmt.Sprintf("The linked path for symbolic link %s is not found", symbolicLink) - return "", fmt.Errorf(errMsg) + return "", fmt.Errorf("%s", errMsg) } linkedPath, err := os.Readlink(files[0]) diff --git a/pkg/util/disk/mount_helper.go b/pkg/util/disk/mount_helper.go index 95cdad66b7..97c205519a 100644 --- a/pkg/util/disk/mount_helper.go +++ b/pkg/util/disk/mount_helper.go @@ -233,7 +233,7 @@ func UnmountWithForce(targetPath string) error { if strings.Contains(string(output), errNotMounted) { return nil } - return status.Errorf(codes.Internal, err.Error()) + return status.Errorf(codes.Internal, "%s", err.Error()) } return nil } diff --git a/test/e2e/cloud-provider-oci/csi_snapshot_restore.go b/test/e2e/cloud-provider-oci/csi_snapshot_restore.go index 1b2d141173..b9b33fa33a 100644 --- a/test/e2e/cloud-provider-oci/csi_snapshot_restore.go +++ b/test/e2e/cloud-provider-oci/csi_snapshot_restore.go @@ -584,7 +584,7 @@ func checkOrInstallCRDs(f *framework.CloudProviderFramework) { if setupF.EnableCreateCluster == false { Skip("Skipping test because VolumeSnapshot CRD is not present") } else { - framework.RunKubectl("create", "-f", "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v6.2.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml") + framework.RunKubectl("create", "-f", "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v8.2.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshots.yaml") } } @@ -593,7 +593,7 @@ func checkOrInstallCRDs(f *framework.CloudProviderFramework) { if setupF.EnableCreateCluster == false { Skip("Skipping test because VolumeSnapshotClass CRD is not present") } else { - framework.RunKubectl("create", "-f", "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v6.2.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml") + framework.RunKubectl("create", "-f", "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v8.2.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml") } } @@ -602,7 +602,7 @@ func checkOrInstallCRDs(f *framework.CloudProviderFramework) { if setupF.EnableCreateCluster == false { Skip("Skipping test because VolumeSnapshotContent CRD is not present") } else { - framework.RunKubectl("create", "-f", "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v6.2.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml") + framework.RunKubectl("create", "-f", "https://raw.githubusercontent.com/kubernetes-csi/external-snapshotter/v8.2.0/client/config/crd/snapshot.storage.k8s.io_volumesnapshotcontents.yaml") } } } diff --git a/test/e2e/framework/pvc_util.go b/test/e2e/framework/pvc_util.go index 6a7d9696e4..318e263647 100644 --- a/test/e2e/framework/pvc_util.go +++ b/test/e2e/framework/pvc_util.go @@ -42,7 +42,6 @@ import ( csi_util "github.com/oracle/oci-cloud-controller-manager/pkg/csi-util" "github.com/oracle/oci-cloud-controller-manager/pkg/csi/driver" "github.com/oracle/oci-cloud-controller-manager/pkg/oci/client" - "github.com/oracle/oci-cloud-controller-manager/pkg/volume/provisioner/plugin" ) const ( @@ -960,6 +959,17 @@ func (j *PVCTestJig) NewPodForCSI(name string, namespace string, claimName strin Failf("Unsupported volumeMode: %s", volumeMode) } + podSpec := v1.PodSpec{ + Containers: containers, + Volumes: volumes, + } + + if adLabel != "" { + podSpec.NodeSelector = map[string]string{ + v1.LabelTopologyZone: adLabel, + } + } + pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ TypeMeta: metav1.TypeMeta{ Kind: "Pod", @@ -969,13 +979,7 @@ func (j *PVCTestJig) NewPodForCSI(name string, namespace string, claimName strin GenerateName: j.Name, Namespace: namespace, }, - Spec: v1.PodSpec{ - Containers: containers, - Volumes: volumes, - NodeSelector: map[string]string{ - plugin.LabelZoneFailureDomain: adLabel, - }, - }, + Spec: podSpec, }, metav1.CreateOptions{}) if err != nil { Failf("Pod %q Create API error: %v", pod.Name, err) @@ -1192,6 +1196,26 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName } } + podSpec := v1.PodSpec{ + Containers: []v1.Container{container}, + Volumes: []v1.Volume{ + { + Name: "persistent-storage", + VolumeSource: v1.VolumeSource{ + PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ + ClaimName: claimName, + }, + }, + }, + }, + } + + if adLabel != "" { + podSpec.NodeSelector = map[string]string{ + v1.LabelTopologyZone: adLabel, + } + } + pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ TypeMeta: metav1.TypeMeta{ Kind: "Pod", @@ -1201,22 +1225,7 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName GenerateName: j.Name, Namespace: namespace, }, - Spec: v1.PodSpec{ - Containers: []v1.Container{container}, - Volumes: []v1.Volume{ - { - Name: "persistent-storage", - VolumeSource: v1.VolumeSource{ - PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ - ClaimName: claimName, - }, - }, - }, - }, - NodeSelector: map[string]string{ - v1.LabelTopologyZone: adLabel, - }, - }, + Spec: podSpec, }, metav1.CreateOptions{}) if err != nil { Failf("Pod %q Create API error: %v", pod.Name, err) @@ -1236,6 +1245,39 @@ func (j *PVCTestJig) NewPodForCSIClone(name string, namespace string, claimName func (j *PVCTestJig) NewPodForCSIWithoutWait(name string, namespace string, claimName string, adLabel string) string { By("Creating a pod with the claiming PVC created by CSI") + podSpec := v1.PodSpec{ + Containers: []v1.Container{ + { + Name: name, + Image: centos, + Command: []string{"/bin/sh"}, + Args: []string{"-c", "echo 'Hello World' > /data/testdata.txt; while true; do echo $(date -u) >> /data/out.txt; sleep 5; done"}, + VolumeMounts: []v1.VolumeMount{ + { + Name: "persistent-storage", + MountPath: "/data", + }, + }, + }, + }, + Volumes: []v1.Volume{ + { + Name: "persistent-storage", + VolumeSource: v1.VolumeSource{ + PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ + ClaimName: claimName, + }, + }, + }, + }, + } + + if adLabel != "" { + podSpec.NodeSelector = map[string]string{ + v1.LabelTopologyZone: adLabel, + } + } + pod, err := j.KubeClient.CoreV1().Pods(namespace).Create(context.Background(), &v1.Pod{ TypeMeta: metav1.TypeMeta{ Kind: "Pod", @@ -1245,35 +1287,7 @@ func (j *PVCTestJig) NewPodForCSIWithoutWait(name string, namespace string, clai GenerateName: j.Name, Namespace: namespace, }, - Spec: v1.PodSpec{ - Containers: []v1.Container{ - { - Name: name, - Image: centos, - Command: []string{"/bin/sh"}, - Args: []string{"-c", "echo 'Hello World' > /data/testdata.txt; while true; do echo $(date -u) >> /data/out.txt; sleep 5; done"}, - VolumeMounts: []v1.VolumeMount{ - { - Name: "persistent-storage", - MountPath: "/data", - }, - }, - }, - }, - Volumes: []v1.Volume{ - { - Name: "persistent-storage", - VolumeSource: v1.VolumeSource{ - PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ - ClaimName: claimName, - }, - }, - }, - }, - NodeSelector: map[string]string{ - v1.LabelTopologyZone: adLabel, - }, - }, + Spec: podSpec, }, metav1.CreateOptions{}) if err != nil { Failf("Pod %q Create API error: %v", pod.Name, err) @@ -1719,7 +1733,7 @@ func (j *PVCTestJig) CheckVolumeCapacity(expected string, name string, namespace actual := pv.Spec.Capacity[v1.ResourceStorage] if actual.String() != expected { - Failf("Expected volume to be %s but got %s", expected, actual) + Failf("Expected volume to be %s but got %v", expected, actual) } } @@ -1748,7 +1762,7 @@ func (j *PVCTestJig) CheckVolumePerformanceLevel(bs ocicore.BlockstorageClient, actual := volume.VpusPerGB if *actual != expectedPerformanceLevel { - Failf("Expected volume performance level to be %s but got %s", expectedPerformanceLevel, actual) + Failf("Expected volume performance level to be %d but got %d", expectedPerformanceLevel, actual) } } From f66e47720ac8ae708b760b168ad7fcc2d7f1c1ab Mon Sep 17 00:00:00 2001 From: Yashas G Date: Thu, 16 Oct 2025 07:49:39 +0530 Subject: [PATCH 22/27] Update CreateSnapshot to return no error with ReadyToUse false for large volume backups --- pkg/csi-util/utils.go | 60 +------------------- pkg/csi-util/utils_test.go | 99 +++++++++++++++++++++++++++++++++ pkg/csi/driver/bv_controller.go | 27 +++++++-- 3 files changed, 121 insertions(+), 65 deletions(-) diff --git a/pkg/csi-util/utils.go b/pkg/csi-util/utils.go index cbd3b04ef6..74f8bdc3f9 100644 --- a/pkg/csi-util/utils.go +++ b/pkg/csi-util/utils.go @@ -750,62 +750,4 @@ func ShortenContextBeforeDeadline(parent context.Context, buffer time.Duration) ctx, cancel := context.WithTimeout(parent, timeLeft) return ctx, cancel -} - -// GetOCIServiceError checks if error is OCI Service Error and returns a structured error message -// including service name, HTTP status, error code, message, and operation name. -func GetOCIServiceError(err error) string { - // Early return for invalid inputs - errorMsg := "" - if err == nil { - return errorMsg - } - // Check for OCI service error and format structured message if present - if serviceErr, ok := common.IsServiceErrorRichInfo(errors.Cause(err)); ok { - errorMsg = fmt.Sprintf(`Error returned by %s Service. Http Status Code: %d. Error Code: %s. Message: %s. Operation Name: %s`, - serviceErr.GetTargetService(), serviceErr.GetHTTPStatusCode(), serviceErr.GetCode(), serviceErr.GetMessage(), serviceErr.GetOperationName()) - } else { - errorMsg = err.Error() - } - return errorMsg -} - -// TruncateError truncates an error message to a maximum byte length -// If the formatted message exceeds maxBytes, it is truncated with "..." suffix, -// ensuring no partial UTF-8 characters are left at the end. -// -// Parameters: -// - err: The error to truncate. If nil, returns empty string. -// - maxBytes: The maximum byte length for the output. If <= 0, returns empty string. -// -// Returns: -// - The truncated error message as a string. -func TruncateError(err error, maxBytes int) error { - - // Early return for invalid inputs - errorMsg := "" - if maxBytes <= 0 || err == nil { - return errors.New(errorMsg) - } - errorMsg = err.Error() - bytesMsg := []byte(errorMsg) - if len(bytesMsg) <= maxBytes { - return err - } - - // Prepare truncation with suffix due to error being larger than maxBytes. Returns truncated error if maxBytes are less than 3(suffix length). - suffix := "..." - if maxBytes < len(suffix) { - return errors.New(string(bytesMsg[:maxBytes])) - } - suffixBytes := []byte(suffix) - truncLen := maxBytes - len(suffixBytes) - - // Ensure truncation doesn't split multi-byte characters (e.g., UTF-8) - // by finding the last valid rune boundary - for truncLen > 0 && (bytesMsg[truncLen]&0xc0) == 0x80 { - truncLen-- - } - - return errors.New(string(bytesMsg[:truncLen]) + suffix) -} +} \ No newline at end of file diff --git a/pkg/csi-util/utils_test.go b/pkg/csi-util/utils_test.go index acdaecea0c..e3bc1df47e 100644 --- a/pkg/csi-util/utils_test.go +++ b/pkg/csi-util/utils_test.go @@ -1000,3 +1000,102 @@ func Test_TruncateError(t *testing.T) { }) } } + +func TestShortenContextBeforeDeadline(t *testing.T) { + const ( + tolerance = 10 * time.Millisecond + buffer = 50 * time.Millisecond + ) + + tests := []struct { + name string + parentDeadlineOffset time.Duration + buffer time.Duration + expectCancel bool + expectedTimeout time.Duration + }{ + { + name: "NoParentDeadline", + parentDeadlineOffset: 0, + buffer: buffer, + expectCancel: false, + expectedTimeout: 0, + }, + { + name: "DeadlineFarEnough", + parentDeadlineOffset: 200 * time.Millisecond, + buffer: buffer, + expectCancel: false, + expectedTimeout: 150 * time.Millisecond, + }, + { + name: "DeadlineExactlyBuffer", + parentDeadlineOffset: buffer, + buffer: buffer, + expectCancel: true, + expectedTimeout: 0, + }, + { + name: "DeadlineLessThanBuffer", + parentDeadlineOffset: 10 * time.Millisecond, + buffer: buffer, + expectCancel: true, + expectedTimeout: 0, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + var parentCtx context.Context + var parentCancel context.CancelFunc = func() {} + now := time.Now() + + if tt.parentDeadlineOffset > 0 { + parentCtx, parentCancel = context.WithDeadline(context.Background(), now.Add(tt.parentDeadlineOffset)) + } else { + parentCtx = context.Background() + } + defer parentCancel() + + newCtx, cancel := ShortenContextBeforeDeadline(parentCtx, tt.buffer) + defer cancel() + + if tt.expectCancel { + if err := newCtx.Err(); err != context.Canceled { + t.Errorf("ShortenContextBeforeDeadline() returned context.Err() = %v, want %v", err, context.Canceled) + } + return + } + + if newCtx.Err() != nil { + t.Fatalf("ShortenContextBeforeDeadline() returned context.Err() = %v, want nil", newCtx.Err()) + } + + if tt.parentDeadlineOffset == 0 { + _, hasDeadline := newCtx.Deadline() + if hasDeadline { + t.Errorf("ShortenContextBeforeDeadline() with no parent deadline returned a context with a deadline") + } + } else { + deadline, hasDeadline := newCtx.Deadline() + if !hasDeadline { + t.Fatalf("ShortenContextBeforeDeadline() returned a context without a deadline, want deadline") + } + + actualDuration := deadline.Sub(now) + + expectedMin := tt.expectedTimeout - tolerance + expectedMax := tt.expectedTimeout + tolerance + + if actualDuration < expectedMin || actualDuration > expectedMax { + t.Errorf("ShortenContextBeforeDeadline() deadline duration %v, want approx %v", actualDuration, tt.expectedTimeout) + } + + cancel() + if err := newCtx.Err(); err != context.Canceled { + t.Errorf("Cancel() did not cancel context. Got: %v, Want: %v", err, context.Canceled) + } + } + }) + } +} diff --git a/pkg/csi/driver/bv_controller.go b/pkg/csi/driver/bv_controller.go index 84ef1dfa6d..1a34eb0b9c 100644 --- a/pkg/csi/driver/bv_controller.go +++ b/pkg/csi/driver/bv_controller.go @@ -1203,7 +1203,7 @@ func (d *BlockVolumeControllerDriver) CreateSnapshot(ctx context.Context, req *c return nil, fmt.Errorf("duplicate snapshot %q exists", req.Name) } - volumeAvailableTimeoutCtx, cancel := context.WithTimeout(ctx, 45*time.Second) + volumeBackupAvailableTimeoutCtx, cancel := csi_util.ShortenContextBeforeDeadline(ctx, 10*time.Second) defer cancel() if len(snapshots) > 0 { @@ -1226,15 +1226,22 @@ func (d *BlockVolumeControllerDriver) CreateSnapshot(ctx context.Context, req *c ts := timestamppb.New(snapshot.TimeCreated.Time) log.Infof("Checking if backup %v has become available", *snapshot.Id) - - _, err = d.client.BlockStorage().AwaitVolumeBackupAvailableOrTimeout(volumeAvailableTimeoutCtx, *snapshot.Id) + _, err = d.client.BlockStorage().AwaitVolumeBackupAvailableOrTimeout(volumeBackupAvailableTimeoutCtx, *snapshot.Id) if err != nil { if strings.Contains(err.Error(), "timed out") { log.Infof("Backup has not become available yet, controller will retry") snapshotMetricDimension = util.GetMetricDimensionForComponent(util.BackupCreating, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = snapshotMetricDimension metrics.SendMetricData(d.metricPusher, metrics.BlockSnapshotProvision, time.Since(snapshot.TimeRequestReceived.Time).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.DeadlineExceeded, "Timed out waiting for backup to become available") + return &csi.CreateSnapshotResponse{ + Snapshot: &csi.Snapshot{ + SnapshotId: *snapshot.Id, + SourceVolumeId: *snapshot.VolumeId, + SizeBytes: *snapshot.SizeInMBs * client.MiB, + CreationTime: ts, + ReadyToUse: false, + }, + }, nil } else { log.With("service", "blockstorage", "verb", "get", "resource", "volumeBackup", "statusCode", util.GetHttpStatusCode(err)). Errorf("Error while waiting for backup to become available %q: %v", req.Name, err) @@ -1299,14 +1306,22 @@ func (d *BlockVolumeControllerDriver) CreateSnapshot(ctx context.Context, req *c ts := timestamppb.New(snapshot.TimeCreated.Time) - _, err = d.client.BlockStorage().AwaitVolumeBackupAvailableOrTimeout(volumeAvailableTimeoutCtx, *snapshot.Id) + _, err = d.client.BlockStorage().AwaitVolumeBackupAvailableOrTimeout(volumeBackupAvailableTimeoutCtx, *snapshot.Id) if err != nil { if strings.Contains(err.Error(), "timed out") { log.Infof("Backup did not become available immediately after creation, controller will retry") snapshotMetricDimension = util.GetMetricDimensionForComponent(util.BackupCreating, util.CSIStorageType) dimensionsMap[metrics.ComponentDimension] = snapshotMetricDimension metrics.SendMetricData(d.metricPusher, metrics.BlockSnapshotProvision, time.Since(startTime).Seconds(), dimensionsMap) - return nil, status.Errorf(codes.DeadlineExceeded, "Timed out waiting for backup to become available") + return &csi.CreateSnapshotResponse{ + Snapshot: &csi.Snapshot{ + SnapshotId: *snapshot.Id, + SourceVolumeId: *snapshot.VolumeId, + SizeBytes: *snapshot.SizeInMBs * client.MiB, + CreationTime: ts, + ReadyToUse: false, + }, + }, nil } else { log.With("service", "blockstorage", "verb", "get", "resource", "volumeBackup", "statusCode", util.GetHttpStatusCode(err)). Errorf("Error while waiting for backup to become available %q: %v", req.Name, err) From be73116e2b4865a85848407514e8ce959405142d Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Wed, 4 Mar 2026 15:29:38 +0530 Subject: [PATCH 23/27] Adding manifest for release 1.32.2 --- .../oci-cloud-controller-manager.yaml | 2 +- .../csi/Chart.yaml | 4 +-- .../templates/oci-csi-controller-driver.yaml | 36 +++++++++++++++---- .../csi/templates/oci-csi-node-driver.yaml | 2 +- .../csi/values.yaml | 2 ++ .../oci-csi-controller-driver.yaml | 35 ++++++++++++++---- .../oci-csi-node-driver.yaml | 2 +- .../oci-flexvolume-driver.yaml | 4 +-- .../oci-volume-provisioner-fss.yaml | 2 +- .../oci-volume-provisioner.yaml | 2 +- 10 files changed, 68 insertions(+), 23 deletions(-) diff --git a/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml b/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml index 7a49bb4551..3d72bed755 100644 --- a/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml +++ b/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml @@ -42,7 +42,7 @@ spec: path: /etc/kubernetes containers: - name: oci-cloud-controller-manager - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 command: ["/usr/local/bin/oci-cloud-controller-manager"] args: - --cloud-config=/etc/oci/cloud-provider.yaml diff --git a/manifests/container-storage-interface/csi/Chart.yaml b/manifests/container-storage-interface/csi/Chart.yaml index df7781ad1c..1ced02d38f 100644 --- a/manifests/container-storage-interface/csi/Chart.yaml +++ b/manifests/container-storage-interface/csi/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: oci-oke-csi-driver description: A Helm chart for OKE CSI driver -version: 1.0.0 -appVersion: "1.0.0" +version: 1.1.0 +appVersion: "1.1.0" home: https://github.com/oracle/oci-cloud-controller-manager sources: - https://github.com/oracle/oci-cloud-controller-manager diff --git a/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml b/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml index 9b98799177..ec73236cd1 100644 --- a/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml +++ b/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml @@ -22,7 +22,7 @@ spec: node-role.kubernetes.io/control-plane: "" containers: - name: csi-volume-provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1 + image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --volume-name-prefix=csi @@ -37,7 +37,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: csi-fss-volume-provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1 + image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0 args: - --csi-address=/var/run/shared-tmpfs/csi-fss.sock - --volume-name-prefix=csi-fss @@ -51,8 +51,25 @@ spec: readOnly: true - mountPath: /var/run/shared-tmpfs name: shared-tmpfs + - name: csi-lustre-volume-provisioner + image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0 + args: + - --csi-address=/var/run/shared-tmpfs/csi-lustre.sock + - --volume-name-prefix=csi-lustre + - --feature-gates=Topology=true + - --timeout=720s + - --worker-threads=15 + - --default-fstype=lustre + - --leader-election + - --leader-election-namespace=kube-system + volumeMounts: + - name: config + mountPath: /etc/oci/ + readOnly: true + - mountPath: /var/run/shared-tmpfs + name: shared-tmpfs - name: csi-attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1 + image: registry.k8s.io/sig-storage/csi-attacher:v4.8.0 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --timeout=120s @@ -65,7 +82,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: csi-resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.11.1 + image: registry.k8s.io/sig-storage/csi-resizer:v1.13.1 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --leader-election @@ -74,7 +91,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: snapshot-controller - image: registry.k8s.io/sig-storage/snapshot-controller:v6.3.0 + image: registry.k8s.io/sig-storage/snapshot-controller:v8.2.0 args: - --leader-election imagePullPolicy: "IfNotPresent" @@ -82,7 +99,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: csi-snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.0 + image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --leader-election @@ -94,15 +111,20 @@ spec: args: - --endpoint=unix://var/run/shared-tmpfs/csi.sock - --fss-csi-endpoint=unix://var/run/shared-tmpfs/csi-fss.sock + - --lustre-csi-endpoint=unix://var/run/shared-tmpfs/csi-lustre.sock command: - /usr/local/bin/oci-csi-controller-driver - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 imagePullPolicy: IfNotPresent env: - name: BLOCK_VOLUME_DRIVER_NAME value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}blockvolume.csi.oraclecloud.com" - name: FSS_VOLUME_DRIVER_NAME value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}fss.csi.oraclecloud.com" + - name: LUSTRE_VOLUME_DRIVER_NAME + value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com" + - name: LUSTRE_CSI_CONTROLLER_DRIVER_ENABLED + value: {{ .Values.lustreCsi.controllerDriverEnabled | default true | quote }} volumeMounts: - name: config mountPath: /etc/oci/ diff --git a/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml b/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml index fd6fe730df..2421b5f146 100644 --- a/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml +++ b/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml @@ -135,7 +135,7 @@ spec: value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}fss.csi.oraclecloud.com" - name: LUSTRE_VOLUME_DRIVER_NAME value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com" - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 securityContext: privileged: true volumeMounts: diff --git a/manifests/container-storage-interface/csi/values.yaml b/manifests/container-storage-interface/csi/values.yaml index 11a8eca26b..53e4422249 100644 --- a/manifests/container-storage-interface/csi/values.yaml +++ b/manifests/container-storage-interface/csi/values.yaml @@ -1,3 +1,5 @@ #customHandle is used to change resource names to help deploy csi related resources alongside default OKE installation #for example customHandle: "custom" results in service account csi-oci-custom-sa and container csi-oci-custom-controller customHandle: "" +lustreCsi: + controllerDriverEnabled: true \ No newline at end of file diff --git a/manifests/container-storage-interface/oci-csi-controller-driver.yaml b/manifests/container-storage-interface/oci-csi-controller-driver.yaml index 20247405e1..3558bc3a47 100644 --- a/manifests/container-storage-interface/oci-csi-controller-driver.yaml +++ b/manifests/container-storage-interface/oci-csi-controller-driver.yaml @@ -22,7 +22,7 @@ spec: node-role.kubernetes.io/control-plane: "" containers: - name: csi-volume-provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1 + image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --volume-name-prefix=csi @@ -37,7 +37,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: csi-fss-volume-provisioner - image: registry.k8s.io/sig-storage/csi-provisioner:v5.0.1 + image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0 args: - --csi-address=/var/run/shared-tmpfs/csi-fss.sock - --volume-name-prefix=csi-fss @@ -51,8 +51,25 @@ spec: readOnly: true - mountPath: /var/run/shared-tmpfs name: shared-tmpfs + - name: csi-lustre-volume-provisioner + image: registry.k8s.io/sig-storage/csi-provisioner:v5.2.0 + args: + - --csi-address=/var/run/shared-tmpfs/csi-lustre.sock + - --volume-name-prefix=csi-lustre + - --feature-gates=Topology=true + - --timeout=720s + - --worker-threads=15 + - --default-fstype=lustre + - --leader-election + - --leader-election-namespace=kube-system + volumeMounts: + - name: config + mountPath: /etc/oci/ + readOnly: true + - mountPath: /var/run/shared-tmpfs + name: shared-tmpfs - name: csi-attacher - image: registry.k8s.io/sig-storage/csi-attacher:v4.6.1 + image: registry.k8s.io/sig-storage/csi-attacher:v4.8.0 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --timeout=120s @@ -65,7 +82,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: csi-resizer - image: registry.k8s.io/sig-storage/csi-resizer:v1.11.1 + image: registry.k8s.io/sig-storage/csi-resizer:v1.13.1 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --leader-election @@ -74,7 +91,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: snapshot-controller - image: registry.k8s.io/sig-storage/snapshot-controller:v6.3.0 + image: registry.k8s.io/sig-storage/snapshot-controller:v8.2.0 args: - --leader-election imagePullPolicy: "IfNotPresent" @@ -82,7 +99,7 @@ spec: - mountPath: /var/run/shared-tmpfs name: shared-tmpfs - name: csi-snapshotter - image: registry.k8s.io/sig-storage/csi-snapshotter:v6.3.0 + image: registry.k8s.io/sig-storage/csi-snapshotter:v8.2.0 args: - --csi-address=/var/run/shared-tmpfs/csi.sock - --leader-election @@ -94,9 +111,13 @@ spec: args: - --endpoint=unix://var/run/shared-tmpfs/csi.sock - --fss-csi-endpoint=unix://var/run/shared-tmpfs/csi-fss.sock + - --lustre-csi-endpoint=unix://var/run/shared-tmpfs/csi-lustre.sock command: - /usr/local/bin/oci-csi-controller-driver - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + env: + - name: LUSTRE_CSI_CONTROLLER_DRIVER_ENABLED + value: "true" + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 imagePullPolicy: IfNotPresent volumeMounts: - name: config diff --git a/manifests/container-storage-interface/oci-csi-node-driver.yaml b/manifests/container-storage-interface/oci-csi-node-driver.yaml index c4bd33dade..ee4e90e7ea 100644 --- a/manifests/container-storage-interface/oci-csi-node-driver.yaml +++ b/manifests/container-storage-interface/oci-csi-node-driver.yaml @@ -129,7 +129,7 @@ spec: value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/bin:/host/sbin - name: LUSTRE_DRIVER_ENABLED value: "true" - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 securityContext: privileged: true volumeMounts: diff --git a/manifests/flexvolume-driver/oci-flexvolume-driver.yaml b/manifests/flexvolume-driver/oci-flexvolume-driver.yaml index 58188963f0..ac223707a4 100644 --- a/manifests/flexvolume-driver/oci-flexvolume-driver.yaml +++ b/manifests/flexvolume-driver/oci-flexvolume-driver.yaml @@ -40,7 +40,7 @@ spec: secretName: oci-flexvolume-driver containers: - name: oci-flexvolume-driver - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 command: ["/usr/local/bin/install.py", "-c", "/tmp/config.yaml"] securityContext: privileged: true @@ -76,7 +76,7 @@ spec: type: DirectoryOrCreate containers: - name: oci-flexvolume-driver - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 command: ["/usr/local/bin/install.py"] securityContext: privileged: true diff --git a/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml b/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml index 2424800349..4f0cb772ae 100644 --- a/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml +++ b/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml @@ -35,7 +35,7 @@ spec: secretName: oci-volume-provisioner containers: - name: oci-volume-provisioner - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 command: ["/usr/local/bin/oci-volume-provisioner"] env: - name: NODE_NAME diff --git a/manifests/volume-provisioner/oci-volume-provisioner.yaml b/manifests/volume-provisioner/oci-volume-provisioner.yaml index afe96da08e..57c63935b6 100644 --- a/manifests/volume-provisioner/oci-volume-provisioner.yaml +++ b/manifests/volume-provisioner/oci-volume-provisioner.yaml @@ -35,7 +35,7 @@ spec: secretName: oci-volume-provisioner containers: - name: oci-volume-provisioner - image: ghcr.io/oracle/cloud-provider-oci:v1.32.1 + image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 command: ["/usr/local/bin/oci-volume-provisioner"] env: - name: NODE_NAME From 0d91dc0f4df133236efb727ca66ae027978dc436 Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Sun, 8 Mar 2026 12:54:20 +0530 Subject: [PATCH 24/27] Update THIRD_PARTY_LICENSES.txt --- THIRD_PARTY_LICENSES.txt | 96 +++++++++++++++++++++++++++++++++------- 1 file changed, 79 insertions(+), 17 deletions(-) diff --git a/THIRD_PARTY_LICENSES.txt b/THIRD_PARTY_LICENSES.txt index 1609e9d4eb..cfce653b7a 100644 --- a/THIRD_PARTY_LICENSES.txt +++ b/THIRD_PARTY_LICENSES.txt @@ -14,11 +14,13 @@ Copyright 2017 Oracle and/or its affiliates. All rights reserved. Copyright 2017 The Kubernetes Authors. Copyright 2018 Oracle and/or its affiliates. All rights reserved. Copyright 2018 The Kubernetes Authors. +Copyright 2018-2026 Oracle and/or its affiliates. All rights reserved. Copyright 2019 Oracle and/or its affiliates. All rights reserved. Copyright 2020 Oracle and/or its affiliates. All rights reserved. Copyright 2021 Oracle and/or its affiliates. All rights reserved. Copyright 2022 Oracle and/or its affiliates. All rights reserved. Copyright 2023 Oracle and/or its affiliates. All rights reserved. +Copyright 2026 Oracle and/or its affiliates. All rights reserved. -------------------------- Fourth Party Dependencies --------------------------- @@ -752,7 +754,8 @@ Copyright (c) 2016 Sergey Kamardin github.com/gofrs/flock == License Type -=== BSD-3-Clause-4e7459b3 +=== BSD-3-Clause-ccdad8f4 +Copyright (c) 2018-2024, The Gofrs Copyright (c) 2015-2020, Tim Heckman All rights reserved. @@ -785,10 +788,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. == Copyright Copyright (c) 2015-2020, Tim Heckman +Copyright (c) 2018-2024, The Gofrs Copyright 2015 Tim Heckman. All rights reserved. Copyright 2018 The Go Authors. All rights reserved. -Copyright 2018 The Gofrs. All rights reserved. -Copyright 2019 Tim Heckman. All rights reserved. Use of this source code is +Copyright 2018-2024 The Gofrs. All rights reserved. --------------------------------- (separator) ---------------------------------- @@ -1747,6 +1750,8 @@ SPDX:Apache-2.0 Copyright 2018 The Kubernetes Authors. Copyright 2019 The Kubernetes Authors. Copyright 2021 The Kubernetes Authors. +Copyright 2024 The Kubernetes Authors. +Copyright 2025 The Kubernetes Authors. --------------------------------- (separator) ---------------------------------- @@ -1761,6 +1766,7 @@ Copyright 2018 The Kubernetes Authors. Copyright 2019 The Kubernetes Authors. Copyright 2020 The Kubernetes Authors. Copyright 2023 The Kubernetes Authors. +Copyright 2024 The Kubernetes Authors. --------------------------------- (separator) ---------------------------------- @@ -2204,14 +2210,14 @@ Copyright 2018 The Linux Foundation github.com/oracle/oci-go-sdk/v65 == License Type -=== Apache-2.0-9010f56e +=== Apache-2.0-8653873d === UPL-1.0 === Apache-2.0 -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.  ____________________________ -Copyright (c) 2016, 2023 Oracle and/or its affiliates. +Copyright (c) 2016, 2026 Oracle and/or its affiliates. The Universal Permissive License (UPL), Version 1.0 @@ -2248,7 +2254,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Apache Software License, Version 2.0 -Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2016, Oracle and/or its affiliates. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); You may not use this product except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. A copy of the license is also reproduced below. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. @@ -2313,15 +2319,15 @@ END OF TERMS AND CONDITIONS == Copyright -Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. +Copyright (c) 2016, 2016, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. All rights reserved. -Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. -Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. -Copyright (c) 2016, 2023 Oracle and/or its affiliates. -Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. +Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. All rights reserved. +Copyright (c) 2016, 2026 Oracle and/or its affiliates. +Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved. == Notices -Copyright (c) 2016, 2018, 2020, Oracle and/or its affiliates. +Copyright (c) 2016, 2018, 2026, Oracle and/or its affiliates. --------------------------------- (separator) ---------------------------------- @@ -2634,6 +2640,7 @@ Copyright 2021 The Prometheus Authors Copyright 2022 The Prometheus Authors Copyright 2023 The Prometheus Authors Copyright 2024 The Prometheus Authors +Copyright 2025 The Prometheus Authors == Notices Prometheus instrumentation library for Go applications @@ -2689,7 +2696,6 @@ Copyright 2013 The Prometheus Authors Copyright 2014 The Prometheus Authors Copyright 2015 The Prometheus Authors Copyright 2016 The Prometheus Authors -Copyright 2017 The Prometheus Authors Copyright 2018 The Prometheus Authors Copyright 2019 The Prometheus Authors Copyright 2020 The Prometheus Authors @@ -2972,6 +2978,17 @@ Copyright © 2016 Maxim Kupriianov --------------------------------- (separator) ---------------------------------- +== Dependency +github.com/youmark/pkcs8 + +== License Type +SPDX:MIT + +== Copyright +Copyright (c) 2014 youmark + +--------------------------------- (separator) ---------------------------------- + == Dependency go.etcd.io/etcd/api/v3 @@ -3228,6 +3245,7 @@ Copyright 2021 The Go Authors. All rights reserved. Copyright 2022 The Go Authors. All rights reserved. Copyright 2023 The Go Authors. All rights reserved. Copyright 2024 The Go Authors. All rights reserved. +Copyright 2025 The Go Authors. All rights reserved. == Patents Additional IP Rights Grant (Patents) @@ -3391,6 +3409,7 @@ Copyright 2021 The Go Authors. All rights reserved. Copyright 2022 The Go Authors. All rights reserved. Copyright 2023 The Go Authors. All rights reserved. Copyright 2024 The Go Authors. All rights reserved. +Copyright 2025 The Go Authors. All rights reserved. == Patents Additional IP Rights Grant (Patents) @@ -3514,7 +3533,6 @@ Copyright 2013 The Go Authors. All rights reserved. Copyright 2016 The Go Authors. All rights reserved. Copyright 2017 The Go Authors. All rights reserved. Copyright 2019 The Go Authors. All rights reserved. -Copyright 2023 The Go Authors. All rights reserved. == Patents Additional IP Rights Grant (Patents) @@ -3923,6 +3941,7 @@ Copyright 2023 Google Inc. All rights reserved. Copyright 2023 The Go Authors. All rights reserved. Copyright 2024 Google Inc. All rights reserved. Copyright 2024 The Go Authors. All rights reserved. +Copyright 2025 The Go Authors. All rights reserved. == Patents Additional IP Rights Grant (Patents) @@ -4480,6 +4499,7 @@ Copyright 2021 The Kubernetes Authors. Copyright 2022 The Go Authors. All rights reserved. Copyright 2022 The Kubernetes Authors. Copyright 2023 The Kubernetes Authors. +Copyright 2025 The Kubernetes Authors. --------------------------------- (separator) ---------------------------------- @@ -4921,6 +4941,48 @@ Copyright 2020 The Kubernetes Authors. Copyright 2021 The Kubernetes Authors. Copyright 2022 The Kubernetes Authors. +--------------------------------- (separator) ---------------------------------- + +== Dependency +sigs.k8s.io/randfill + +== License Type +SPDX:Apache-2.0 + +== Copyright +Copyright 2014 Google Inc. All rights reserved. +Copyright 2014 The gofuzz Authors +Copyright 2014 The gofuzz Authors. +Copyright 2025 The Kubernetes Authors +Copyright 2025 The Kubernetes Authors. + +== Notices +When donating the randfill project to the CNCF, we could not reach all the +gofuzz contributors to sign the CNCF CLA. As such, according to the CNCF rules +to donate a repository, we must add a NOTICE referencing section 7 of the CLA +with a list of developers who could not be reached. + +`7. Should You wish to submit work that is not Your original creation, You may +submit it to the Foundation separately from any Contribution, identifying the +complete details of its source and of any license or other restriction +(including, but not limited to, related patents, trademarks, and license +agreements) of which you are personally aware, and conspicuously marking the +work as "Submitted on behalf of a third-party: [named here]".` + +Submitted on behalf of a third-party: @dnephin (Daniel Nephin) +Submitted on behalf of a third-party: @AlekSi (Alexey Palazhchenko) +Submitted on behalf of a third-party: @bbigras (Bruno Bigras) +Submitted on behalf of a third-party: @samirkut (Samir) +Submitted on behalf of a third-party: @posener (Eyal Posener) +Submitted on behalf of a third-party: @Ashikpaul (Ashik Paul) +Submitted on behalf of a third-party: @kwongtailau (Kwongtai) +Submitted on behalf of a third-party: @ericcornelissen (Eric Cornelissen) +Submitted on behalf of a third-party: @eclipseo (Robert-André Mauchin) +Submitted on behalf of a third-party: @yanzhoupan (Andrew Pan) +Submitted on behalf of a third-party: @STRRL (Zhiqiang ZHOU) +Submitted on behalf of a third-party: @disconnect3d (Disconnect3d) + + --------------------------------- (separator) ---------------------------------- == Dependency @@ -5864,5 +5926,5 @@ the Mozilla Public License, v. 2.0. === ATTRIBUTION-HELPER-GENERATED: -=== Attribution helper version: {Major:0 Minor:11 GitVersion:2a434e4d GitCommit:2a434e4d7eea22d4dfd2d1cf04909239d05562b1 GitTreeState:clean BuildDate:2024-12-16T20:09:06Z GoVersion:go1.21.13 Compiler:gc Platform:darwin/arm64} -=== License file based on go.mod with md5 sum: 18fc380a075697dda4318766ab152b00 +=== Attribution helper version: {Major:unknown Minor:unknown GitVersion:unknown GitCommit:unknown GitTreeState:unknown BuildDate:unknown GoVersion:go1.22.3 Compiler:gc Platform:darwin/amd64} +=== License file based on go.mod with md5 sum: 204f08d1eec483e66034fe59fafe51b5 From 5bda8e1ccb40fd81b295eb5c459fcc3d7f7c0bda Mon Sep 17 00:00:00 2001 From: Dhananjay Nagargoje Date: Sun, 8 Mar 2026 13:07:33 +0530 Subject: [PATCH 25/27] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad2e5df99c..8f134ee2d4 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ else VERSION ?= ${VERSION} endif -RELEASE = v1.32.1 +RELEASE = v1.32.2 GOOS ?= linux ARCH ?= amd64 From 7170d8f283983bd5e46b0e04b334c3fd31d0799e Mon Sep 17 00:00:00 2001 From: Yashwant Gohokar Date: Fri, 20 Mar 2026 17:42:35 +0530 Subject: [PATCH 26/27] Changing image tag in manifests --- .../oci-cloud-controller-manager.yaml | 2 +- .../csi/templates/oci-csi-controller-driver.yaml | 2 +- .../csi/templates/oci-csi-node-driver.yaml | 2 +- .../oci-csi-controller-driver.yaml | 2 +- .../container-storage-interface/oci-csi-node-driver.yaml | 2 +- manifests/flexvolume-driver/oci-flexvolume-driver.yaml | 4 ++-- manifests/volume-provisioner/oci-volume-provisioner-fss.yaml | 2 +- manifests/volume-provisioner/oci-volume-provisioner.yaml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml b/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml index 3d72bed755..5be0632514 100644 --- a/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml +++ b/manifests/cloud-controller-manager/oci-cloud-controller-manager.yaml @@ -42,7 +42,7 @@ spec: path: /etc/kubernetes containers: - name: oci-cloud-controller-manager - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 command: ["/usr/local/bin/oci-cloud-controller-manager"] args: - --cloud-config=/etc/oci/cloud-provider.yaml diff --git a/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml b/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml index ec73236cd1..e32e49d120 100644 --- a/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml +++ b/manifests/container-storage-interface/csi/templates/oci-csi-controller-driver.yaml @@ -114,7 +114,7 @@ spec: - --lustre-csi-endpoint=unix://var/run/shared-tmpfs/csi-lustre.sock command: - /usr/local/bin/oci-csi-controller-driver - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 imagePullPolicy: IfNotPresent env: - name: BLOCK_VOLUME_DRIVER_NAME diff --git a/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml b/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml index 2421b5f146..7ea0cd45d5 100644 --- a/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml +++ b/manifests/container-storage-interface/csi/templates/oci-csi-node-driver.yaml @@ -135,7 +135,7 @@ spec: value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}fss.csi.oraclecloud.com" - name: LUSTRE_VOLUME_DRIVER_NAME value: "{{ if .Values.customHandle }}{{ .Values.customHandle }}.{{ end }}lustre.csi.oraclecloud.com" - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 securityContext: privileged: true volumeMounts: diff --git a/manifests/container-storage-interface/oci-csi-controller-driver.yaml b/manifests/container-storage-interface/oci-csi-controller-driver.yaml index 3558bc3a47..45c92838e5 100644 --- a/manifests/container-storage-interface/oci-csi-controller-driver.yaml +++ b/manifests/container-storage-interface/oci-csi-controller-driver.yaml @@ -117,7 +117,7 @@ spec: env: - name: LUSTRE_CSI_CONTROLLER_DRIVER_ENABLED value: "true" - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 imagePullPolicy: IfNotPresent volumeMounts: - name: config diff --git a/manifests/container-storage-interface/oci-csi-node-driver.yaml b/manifests/container-storage-interface/oci-csi-node-driver.yaml index ee4e90e7ea..bdb3d504c3 100644 --- a/manifests/container-storage-interface/oci-csi-node-driver.yaml +++ b/manifests/container-storage-interface/oci-csi-node-driver.yaml @@ -129,7 +129,7 @@ spec: value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/bin:/host/sbin - name: LUSTRE_DRIVER_ENABLED value: "true" - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 securityContext: privileged: true volumeMounts: diff --git a/manifests/flexvolume-driver/oci-flexvolume-driver.yaml b/manifests/flexvolume-driver/oci-flexvolume-driver.yaml index ac223707a4..3d4084b6c7 100644 --- a/manifests/flexvolume-driver/oci-flexvolume-driver.yaml +++ b/manifests/flexvolume-driver/oci-flexvolume-driver.yaml @@ -40,7 +40,7 @@ spec: secretName: oci-flexvolume-driver containers: - name: oci-flexvolume-driver - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 command: ["/usr/local/bin/install.py", "-c", "/tmp/config.yaml"] securityContext: privileged: true @@ -76,7 +76,7 @@ spec: type: DirectoryOrCreate containers: - name: oci-flexvolume-driver - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 command: ["/usr/local/bin/install.py"] securityContext: privileged: true diff --git a/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml b/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml index 4f0cb772ae..8a30d9c88f 100644 --- a/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml +++ b/manifests/volume-provisioner/oci-volume-provisioner-fss.yaml @@ -35,7 +35,7 @@ spec: secretName: oci-volume-provisioner containers: - name: oci-volume-provisioner - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 command: ["/usr/local/bin/oci-volume-provisioner"] env: - name: NODE_NAME diff --git a/manifests/volume-provisioner/oci-volume-provisioner.yaml b/manifests/volume-provisioner/oci-volume-provisioner.yaml index 57c63935b6..391d1240ea 100644 --- a/manifests/volume-provisioner/oci-volume-provisioner.yaml +++ b/manifests/volume-provisioner/oci-volume-provisioner.yaml @@ -35,7 +35,7 @@ spec: secretName: oci-volume-provisioner containers: - name: oci-volume-provisioner - image: ghcr.io/dhananjay-ng/cloud-provider-oci:v1.32.2-test-2 + image: ghcr.io/oracle/cloud-provider-oci:v1.32.2 command: ["/usr/local/bin/oci-volume-provisioner"] env: - name: NODE_NAME From e1f926a08d643fe6ed419913bfa546bbc52a5faf Mon Sep 17 00:00:00 2001 From: Yashwant Gohokar Date: Mon, 23 Mar 2026 10:54:24 +0530 Subject: [PATCH 27/27] Adding documentation for Lustre FS provisioning --- docs/pvcs-with-lustre-using-csi.md | 642 ++++++++++++++++++----------- 1 file changed, 401 insertions(+), 241 deletions(-) diff --git a/docs/pvcs-with-lustre-using-csi.md b/docs/pvcs-with-lustre-using-csi.md index 839353901a..78fa1412bb 100644 --- a/docs/pvcs-with-lustre-using-csi.md +++ b/docs/pvcs-with-lustre-using-csi.md @@ -1,246 +1,406 @@ # Provisioning PVCs on the File Storage with Lustre Service - +*Find out how to provision persistent volume claims for clusters you've created using Kubernetes Engine \(OKE\) by mounting file systems from the File Storage with Lustre service.* The Oracle Cloud Infrastructure File Storage with Lustre service is a fully managed storage service designed to meet the demands of AI/ML training and inference, and high performance computing needs. You use the Lustre CSI plugin to connect clusters to file systems in the File Storage with Lustre service. - -You can use the File Storage with Lustre service to provision persistent volume claims (PVCs) by manually creating a file system in the File Storage with Lustre service, then defining and creating a persistent volume (PV) backed by the new file system, and finally defining a new PVC. When you create the PVC, Kubernetes binds the PVC to the PV backed by the File Storage with Lustre service. - -The Lustre CSI driver is the overall software that enables Lustre file systems to be used with Kubernetes via the Container Storage Interface (CSI). The Lustre CSI plugin is a specific component within the driver, responsible for interacting with the Kubernetes API server and managing the lifecycle of Lustre volumes. - -Note the following: - -- The Lustre CSI driver is supported on Oracle Linux 8 x86 and on Ubuntu x86 22.04. -- To use a Lustre file system with a Kubernetes cluster, the Lustre client package must be installed on worker nodes that have to mount the file system. For more information about Lustre clients, see [Mounting and Accessing a Lustre File System](https://docs.oracle.com/iaas/Content/lustre/file-system-connect.htm). - -## Provisioning a PVC on an Existing File System - -To create a PVC on an existing file system in the File Storage with Lustre service (using Oracle-managed encryption keys to encrypt data at rest): - -1. Create a file system in the File Storage with Lustre service, selecting the Encrypt using Oracle-managed keys encryption option. See [Creating a Lustre File System](https://docs.oracle.com/iaas/Content/lustre/file-system-create.htm). - -2. Create security rules in either a network security group (recommended) or a security list for both the Lustre file system, and for the cluster's worker nodes subnet. The security rules to create depend on the relative network locations of the Lustre file system and the worker nodes which act as the client, according to the following scenarios: - - These scenarios, the security rules to create, and where to create them, are fully described in the File Storage with Lustre service documentation (see [Required VCN Security Rules](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm)). - -3. Create a PV backed by the file system in the File Storage with Lustre service as follows: - - a. Create a manifest file to define a PV and in the `csi:` section, set: - - - `driver` to `lustre.csi.oraclecloud.com` - - `volumeHandle` to `@:/` - where: - - `` is the Management service address for the file system in the File Storage with Lustre service - - `` is the LNet network name for the file system in the File Storage with Lustre service - - `` is the mount name used while creating the file system in the File Storage with Lustre service - - For example: `10.0.2.6@tcp:/testlustrefs` - - - `fsType` to `lustre` - - (optional, but recommended) `volumeAttributes.setupLnet` to `"true"` if you want the Lustre CSI driver to perform lnet (Lustre Network) setup before mounting the filesystem - - (required) `volumeAttributes.lustreSubnetCidr` to the CIDR block of the subnet where the worker node's VNIC having access to lustre filesystem is located (typically worker node subnet in default setup) to ensure the worker node has network connectivity to the Lustre file system. For example, 10.0.2.0/24. - - (optional) `volumeAttributes.lustrePostMountParameters` to set Lustre parameters. For example: - ```yaml - volumeAttributes: - lustrePostMountParameters: '[{"*.*.*MDT*.lru_size": 11200},{"at_history" : 600}]' - ``` - - For example, the following manifest file (named `lustre-pv-example.yaml`) defines a PV called `lustre-pv-example` backed by a Lustre file system: - - ```yaml - apiVersion: v1 - kind: PersistentVolume - metadata: - name: lustre-pv-example - spec: - capacity: - storage: 31Ti - volumeMode: Filesystem - accessModes: - - ReadWriteMany - persistentVolumeReclaimPolicy: Retain - csi: - driver: lustre.csi.oraclecloud.com - volumeHandle: "10.0.2.6@tcp:/testlustrefs" - fsType: lustre - volumeAttributes: - setupLnet: "true" - ``` - - b. Create the PV from the manifest file by entering: - ```bash - kubectl apply -f - ``` - - For example: - ```bash - kubectl apply -f lustre-pv-example.yaml - ``` - - c. Verify that the PV has been created successfully by entering: - ```bash - kubectl get pv - ``` - - For example: - ```bash - kubectl get pv lustre-pv-example - ``` - - Example output: - ``` - NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE - lustre-pv-example 31Ti RWX Retain Bound 56m - ``` - -4. Create a PVC that is provisioned by the PV you have created, as follows: - - a. Create a manifest file to define the PVC and set: - - - `storageClassName` to `""` - - **Note:** You must specify an empty value for `storageClassName`, even though storage class is not applicable in the case of static provisioning of persistent storage. If you do not specify an empty value for `storageClassName`, the default storage class (`oci-bv`) is used, which causes an error. - - - `volumeName` to the name of the PV you created (for example, `lustre-pv-example`) - - For example, the following manifest file (named `lustre-pvc-example.yaml`) defines a PVC named `lustre-pvc-example` that will bind to a PV named `lustre-pv-example`: - - ```yaml - apiVersion: v1 - kind: PersistentVolumeClaim - metadata: - name: lustre-pvc-example - spec: - accessModes: - - ReadWriteMany - storageClassName: "" - volumeName: lustre-pv-example - resources: - requests: - storage: 31Ti - ``` - - **Note:** The `requests: storage:` element must be present in the PVC's manifest file, and its value must match the value specified for the `capacity: storage:` element in the PV's manifest file. Apart from that, the value of the `requests: storage:` element is ignored. - - b. Create the PVC from the manifest file by entering: - ```bash - kubectl apply -f - ``` - - For example: - ```bash - kubectl apply -f lustre-pvc-example.yaml - ``` - - c. Verify that the PVC has been created and bound to the PV successfully by entering: - ```bash - kubectl get pvc - ``` - - For example: - ```bash - kubectl get pvc lustre-pvc-example - ``` - - Example output: - ``` - NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE - lustre-pvc-example Bound lustre-pv-example 31Ti RWX 57m - ``` - - The PVC is bound to the PV backed by the File Storage with Lustre service file system. Data is encrypted at rest, using encryption keys managed by Oracle. - -5. Use the new PVC when creating other objects, such as deployments. For example: - - a. Create a manifest named `lustre-app-example-deployment.yaml` to define a deployment named `lustre-app-example-deployment` that uses the `lustre-pvc-example` PVC, as follows: - - ```yaml - apiVersion: apps/v1 - kind: Deployment - metadata: - name: lustre-app-example-deployment - spec: - selector: - matchLabels: - app: lustre-app-example - replicas: 2 - template: - metadata: - labels: - app: lustre-app-example - spec: - containers: - - args: - - -c - - while true; do echo $(date -u) >> /lustre/data/out.txt; sleep 60; done - command: - - /bin/sh - image: busybox:latest - imagePullPolicy: Always - name: lustre-app-example - volumeMounts: - - mountPath: /lustre/data - name: lustre-volume - restartPolicy: Always - volumes: - - name: lustre-volume - persistentVolumeClaim: - claimName: lustre-pvc-example - ``` - - b. Create the deployment from the manifest file by entering: - ```bash - kubectl apply -f lustre-app-example-deployment.yaml - ``` - - c. Verify that the deployment pods have been created successfully and are running by entering: - ```bash - kubectl get pods - ``` - - Example output: - ``` - NAME READY STATUS RESTARTS AGE - lustre-app-example-deployment-7767fdff86-nd75n 1/1 Running 0 8h - lustre-app-example-deployment-7767fdff86-wmxlh 1/1 Running 0 8h - ``` - -## Provisioning a PVC on an Existing File System with Mount Options - +You can use the File Storage with Lustre service to provision persistent volume claims \(PVCs\) in two ways: +- By defining and creating a new storage class, and then defining and creating a PVC referencing that storage class. When you create the PVC, the Lustre CSI plugin dynamically creates both a new Lustre file system and a new persistent volume backed by the new file system. See [Provisioning a PVC on a New Lustre File System Using the CSI Volume Plugin](#provisioning-a-pvc-on-a-new-lustre-file-system-using-the-csi-volume-plugin). +- By manually creating a file system in the File Storage with Lustre service, then defining and creating a persistent volume \(PV\) backed by the new file system, and finally defining a new PVC. When you create the PVC, Kubernetes Engine binds the PVC to the PV backed by the File Storage with Lustre service. See [Provisioning a PVC on an Existing Lustre File System](#provisioning-a-pvc-on-an-existing-lustre-file-system) + The Lustre CSI driver is the overall software that enables Lustre file systems to be used with Kubernetes via the Container Storage Interface \(CSI\). The Lustre CSI plugin is a specific component within the driver, responsible for interacting with the Kubernetes API server and managing the lifecycle of Lustre volumes. + Note the following: +- When using the Lustre CSI plugin to dynamically create a new file system, do not manually update or delete the persistent volume or Lustre file system objects that the CSI plugin creates. +- Any Lustre file systems dynamically created by the CSI volume plugin are given names starting with `csi-lustre-` . +- Any Lustre file systems dynamically created by the CSI volume plugin appear in the Console. However, do not use the Console \(or the Oracle Cloud Infrastructure CLI or API\) to modify these dynamically created resources. Changes made to Oracle Cloud Infrastructure resources dynamically created by the CSI volume plugin are not reconciled with Kubernetes objects. +- Some advanced features such as volume expansion, snapshot, and clone are not currently available for dynamically provisioned Lustre file systems. +- If you delete a PVC bound to a PV backed by a file system created by the CSI volume plugin and the reclaim policy is set to Delete, both the PV and the Lustre file system are deleted. If the reclaim policy is Retain, the PV is not deleted. +- Using the Lustre CSI driver to provision a PVC on a dynamically created Lustre file system is supported on clusters created by Kubernetes Engine that are running Kubernetes version 1.32 or later. Using the Lustre CSI driver to provision a PVC on an existing Lustre file system is supported on clusters created by Kubernetes Engine that are running Kubernetes version 1.29 or later. +- The Lustre CSI driver is supported on Oracle Linux 8 x86 and on Ubuntu x86 22.04. +- To use a Lustre file system with a cluster created by Kubernetes Engine, the Lustre client package must be installed on worker nodes that have to mount the file system. For more information about Lustre clients, see [Mounting and Accessing a Lustre File System](https://docs.oracle.com/iaas/Content/lustre/file-system-connect.htm). +- Data is encrypted at rest, using encryption keys managed either by Oracle or by you. +- Oracle Cloud Infrastructure File Storage with Lustre is only available in the regions shown in [Availability](https://docs.oracle.com/iaas/Content/lustre/overview.htm#region-availability) in the File Storage with Lustre documentation. + +## Provisioning a PVC on a New Lustre File System Using the CSI Volume Plugin +**Note:** The following prerequisites apply when provisioning a PVC on a new Lustre file system dynamically created by the CSI volume plugin: +- Clusters must be running Kubernetes 1.32 or later to provision a PVC on a new file system dynamically created by the CSI volume plugin. +- Appropriate IAM policies must exist to enable the CSI volume plugin to create and manage Lustre resources. For example: + ``` + allow dynamic-group [your dynamic group name] to manage lustre-file-family in compartment + allow dynamic-group [your dynamic group name] to use virtual-network-family in compartment + ``` +- If the compartment to which a node pool, subnet, or file system belongs, is different to the compartment to which a cluster belongs, IAM policies must exist to enable the CSI volume plugin to access the appropriate location. For example: + ```copy + allow dynamic-group [your dynamic group name] to manage lustre-file-family in TENANCY + ``` + ```copy + allow dynamic-group [your dynamic group name] to use virtual-network-family in TENANCY + ``` +- To specify a particular user-managed master encryption key from the [Vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) service to encrypt data at rest, appropriate IAM policies must exist to enable the File Storage with Lustre service to access that master encryption key. See [Updating File System Encryption](https://docs.oracle.com/iaas/Content/lustre/file-system-encryption.htm). +- The Lustre client package must be installed on all worker nodes that need to mount the Lustre file system. + To dynamically provision a PVC on a new Lustre file system dynamically created by the CSI volume plugin in the File Storage with Lustre service: +1. Create security rules in either a network security group \(recommended\) or a security list for both the Lustre file system, and for the cluster's worker nodes subnet. + The security rules to create depend on the relative network locations of the Lustre file system and the worker nodes which act as the client, according to the following scenarios: + - [Option 1: Client and Lustre in Different Subnets](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm#top__different-subnet) + - [Option 2: Client and Lustre in the Same Subnet](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm#top__same-subnet) + These scenarios, the security rules to create, and where to create them, are fully described in the File Storage with Lustre service documentation \(see [Required VCN Security Rules](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm)\). +2. Define a new storage class that uses the `lustre.csi.oraclecloud.com` provisioner: + 1. Create a manifest file \(for example, in a file named lustre-dyn-st-class.yaml\), specify a name for the new storage class, and specify values for required and optional parameters: + ``` + kind: StorageClass + apiVersion: storage.k8s.io/v1 + metadata: + name: + provisioner: lustre.csi.oraclecloud.com + parameters: + availabilityDomain: + compartmentId: # optional + subnetId: + performanceTier: + fileSystemName: # optional + kmsKeyId: # optional + nsgIds: '[""]' # optional + rootSquashEnabled: "" # optional + rootSquashUid: "" # optional + rootSquashGid: "" # optional + rootSquashClientExceptions: '[""]' # optional + oci.oraclecloud.com/initial-defined-tags-override: '{"": {"": ""}}' + oci.oraclecloud.com/initial-freeform-tags-override: '{"": ""}' + setupLnet: "" # optional + lustreSubnetCidr: "" # optional + lustrePostMountParameters: '[{"": },{"": }]' # optional + ``` + where: + - `name: `: Required. A name of your choice for the storage class. + - `availabilityDomain: `: Required. The name of the availability domain in which to create the new Lustre file system. For example, `availabilityDomain: US-ASHBURN-AD-1`. To find out the availability domain name to use, run the `oci iam availability-domain list` CLI command \(or use the [ListAvailabilityDomains](/iaas/api/#/en/identity/latest/AvailabilityDomain/ListAvailabilityDomains) operation\). For more information, see [Your Tenancy's Availability Domain Names](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm#ad-names). + - `compartmentId: `: Optional. The OCID of the compartment to which the new Lustre file system is to belong. If not specified, defaults to the same compartment as the cluster. For example, `compartmentId: ocid1.compartment.oc1..aaa______t6q` + - `subnetId: `: Required. The OCID of the subnet in which to mount the new Lustre file system. For example, `subnetId: ocid1.subnet.oc1.iad.aaaa______kfa` + - `performanceTier: `: Required. The Lustre file system performance tier. Allowed values: + - `MBPS_PER_TB_125` + - `MBPS_PER_TB_250` + - `MBPS_PER_TB_500` + - `MBPS_PER_TB_1000` + - `fileSystemName: `: Optional. The Lustre file system name, up to 8 characters. If not specified, a default value will be randomly generated and used. For example, `fileSystemName: aiworkfs` + - `kmsKeyId: `: Optional. The OCID of a master encryption key that you manage, with which to encrypt data at rest. If not specified, data is encrypted at rest using encryption keys managed by Oracle. For example, `kmsKeyId: ocid1.key.oc1.iad.ann______usj` + - `nsgIds: '[""]'`: Optional. A JSON array of up to five network security group OCIDs to associate with the Lustre file system. For example, `nsgIds: '["ocid1.nsg.oc1.iad.aab______fea"]'` + - `rootSquashEnabled: ""`: Optional. Set to `true` to restrict root access from clients. Defaults to `false`. + - `rootSquashUid: ""`: Optional. When root squash is enabled, root operations are mapped to this UID. Defaults to `65534.` + - `rootSquashGid: ""`: Optional. When root squash is enabled, root operations are mapped to this GID. Defaults to `65534`. + - `rootSquashClientExceptions: '[""]'`: Optional. A JSON array of IP addresses or CIDR blocks that are not subject to root squash \(maximum 10 entries\). For example, `rootSquashClientExceptions: '["10.0.2.4"]'`. + - `oci.oraclecloud.com/initial-defined-tags-override: '{"": {"": ""}}'` Optional. Specifies a defined tag for the new file system. For example, `oci.oraclecloud.com/initial-defined-tags-override: '{"Org": {"CostCenter": "AI"}}'` + Note that to apply defined tags from a tag namespace belonging to one compartment to a filesystem resource belonging to a different compartment, you must include a policy statement to allow the cluster to use the tag namespace. See [Additional IAM Policy when a Cluster and a Tag Namespace are in Different Compartments](contengtaggingclusterresources_iam-tag-namespace-policy.md). + - `oci.oraclecloud.com/initial-freeform-tags-override: '{"": ""}'` Optional. Specifies a free-form tag for the new file system. For example, `oci.oraclecloud.com/initial-freeform-tags-override: '{"Project": "ML"}'` + - `setupLnet: ""`: Optional. Set to `true` if the Lustre CSI driver should perform Lustre Network \(LNet\) setup before mounting. We strongly recommend you include the `setupLnet` parameter and set it `"true"`. + - `lustreSubnetCidr: ""`: Optional. Set to the worker node's source network range used for Lustre traffic: + - **When to use:** Only specify a network range if worker nodes use a secondary VNIC to connect to the Lustre file system. This CIDR must match the subnet block of that secondary VNIC \(for example, `10.0.2.0/24`\). + - **When to omit:** Do not specify a network range if worker nodes are using their primary VNIC \(the default interface\) for Lustre connectivity. + - **Important:** This parameter is different to the Lustre file system's `subnetId` parameter, which defines where the Lustre file system itself is located. + - `lustrePostMountParameters: '[{"": },{"": }]'`: Optional. JSON array of advanced Lustre client parameters to set after mounting. For example, `lustrePostMountParameters: '[{"*.*.*MDT*.lru_size": 11200},{"at_history": 600}]'` + For example: + ``` + kind: StorageClass + apiVersion: storage.k8s.io/v1 + metadata: + name: lustre-dyn-storage + provisioner: lustre.csi.oraclecloud.com + parameters: + availabilityDomain: US-ASHBURN-AD-1 + compartmentId: ocid1.compartment.oc1..aaa______t6q # optional + subnetId: ocid1.subnet.oc1.iad.aaaa______kfa + performanceTier: MBPS_PER_TB_250 + fileSystemName: aiworkfs # optional + kmsKeyId: ocid1.key.oc1.iad.ann______usj # optional + nsgIds: '["ocid1.nsg.oc1.iad.aab______fea"]' # optional + oci.oraclecloud.com/initial-defined-tags-override: '{"Org": {"CostCenter": "AI"}}' + oci.oraclecloud.com/initial-freeform-tags-override: '{"Project": "ML"}' + setupLnet: "true" # optional + ``` + 2. Create the storage class from the manifest file by entering: + ``` + kubectl create -f + ``` + For example: + ``` + kubectl create -f lustre-dyn-st-class.yaml + ``` +3. Create a PVC to be provisioned by the new file system in the File Storage with Lustre service, as follows: + 1. Create a manifest file to define the PVC: + ``` + apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: + spec: + accessModes: + - + storageClassName: "" + resources: + requests: + storage: + ``` + where: + - `name: `: Required. For example, `lustre-dynamic-claim` + - `storageClassName: ""`: Required. The name of the storage class you defined earlier. For example, `lustre-dyn-storage`. + - `accessModes: - `: Required. Specifies how the file system is to be mounted and shared by pods. Currently `ReadWriteMany` and `ReadOnlyOncePod` are supported. For example, `ReadWriteMany`. + - `storage: `: Required. This value must be at least `31.2T` \(or `31200G`\). You can specify a larger capacity, but you must use particular increments that depend on capacity \(see [Increasing File System Capacity](https://docs.oracle.com/iaas/Content/lustre/file-system-capacity.htm)\). For example, `31.2T`. + For example, the following manifest file \(named `lustre-dyn-claim.yaml`\) defines a PVC named `lustre-dynamic-claim` that is provisioned by the file system defined in the `lustre-dyn-storage` storage class: + ``` + apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: lustre-dynamic-claim + spec: + accessModes: + - ReadWriteMany + storageClassName: "lustre-dyn-storage" + resources: + requests: + storage: 31.2T + ``` + 2. Create the PVC from the manifest file by entering: + ``` + kubectl create -f + ``` + For example: + ``` + kubectl create -f lustre-dyn-claim.yaml + ``` + A new PVC is created. The CSI volume plugin creates a new persistent volume \(PV\) and a new file system in the File Storage with Lustre service. Note that creating a new Lustre file system takes at least 10 minutes and can take longer, depending on the size of the file system. Use the Console or the CLI to confirm that the new Lustre file system has been created \(see [Listing File Systems](https://docs.oracle.com/iaas/Content/lustre/file-system-list.htm)\). + The new PVC is bound to the new PV. Data is encrypted at rest, using encryption keys managed either by Oracle or by you. +4. Verify that the PVC has been bound to the new persistent volume by entering: + ```cloudshell + kubectl get pvc + ``` + Example output: + ```scrollcopy + + NAME STATUS VOLUME CAPACITY ACCESSMODES STORAGECLASS AGE + lustre-dynamic-claim Bound csi-lustre- 30468750000Ki RWX lustre-dyn-storage 4m + ``` +5. Use the new PVC when creating other objects, such as pods. For example, you could create a new pod from the following pod definition: + ``` + apiVersion: v1 + kind: Pod + metadata: + name: lustre-dynamic-app + spec: + containers: + - name: aiworkload + image: busybox:latest + command: ["sleep", "3600"] + volumeMounts: + - name: lustre-vol + mountPath: /mnt/lustre + volumes: + - name: lustre-vol + persistentVolumeClaim: + claimName: lustre-dynamic-claim + ``` +6. Having created a new pod as described in the example in the previous step, you can verify that the pod is using the new PVC by entering: + ``` + kubectl describe pod lustre-dynamic-app + ``` + +**Tip:** +If you foresee a frequent requirement to dynamically create new PVs and new filesystems when you create PVCs, you can specify that the new storage class you've created is to be used as the default storage class for provisioning new PVCs. See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/) for more details. + +### Encrypting Data At Rest on a New Lustre File System +The File Storage with Lustre service always encrypts data at rest, using Oracle-managed encryption keys by default. However, you have the option to specify at-rest encryption using your own master encryption keys that you manage yourself in the Vault service. +Depending on how you want to encrypt data at rest, follow the appropriate instructions below: +- To use the CSI volume plugin to dynamically create a new Lustre file system that uses Oracle-managed encryption keys to encrypt data at rest, follow the steps in [Provisioning a PVC on a New Lustre File System Using the CSI Volume Plugin](#provisioning-a-pvc-on-a-new-lustre-file-system-using-the-csi-volume-plugin) and do not include the `kmsKeyId: ` parameter in the storage class definition. Data is encrypted at rest, using encryption keys managed by Oracle. +- To use the CSI volume plugin to dynamically create a new Lustre file system that uses master encryption keys that you manage to encrypt data at rest, follow the steps in [Provisioning a PVC on a New Lustre File System Using the CSI Volume Plugin](#provisioning-a-pvc-on-a-new-lustre-file-system-using-the-csi-volume-plugin), include the `kmsKeyId: ` parameter in the storage class definition, and specify the OCID of the master encryption key in the Vault service. Data is encrypted at rest, using the encryption key you specify. + +## Provisioning a PVC on an Existing Lustre File System +To create a PVC on an existing file system in the File Storage with Lustre service \(using Oracle-managed encryption keys to encrypt data at rest\): +1. Create a file system in the File Storage with Lustre service, selecting the **Encrypt using Oracle-managed keys** encryption option. See [Creating a Lustre File System](https://docs.oracle.com/iaas/Content/lustre/file-system-create.htm). +2. Create security rules in either a network security group \(recommended\) or a security list for both the Lustre file system, and for the cluster's worker nodes subnet. + The security rules to create depend on the relative network locations of the Lustre file system and the worker nodes which act as the client, according to the following scenarios: + - [Option 1: Client and Lustre in Different Subnets](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm#top__different-subnet) + - [Option 2: Client and Lustre in the Same Subnet](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm#top__same-subnet) + These scenarios, the security rules to create, and where to create them, are fully described in the File Storage with Lustre service documentation \(see [Required VCN Security Rules](https://docs.oracle.com/iaas/Content/lustre/security-rules.htm)\). +3. Create a PV backed by the file system in the File Storage with Lustre service as follows: + 1. Create a manifest file to define a PV and in the `csi:` section, set: + - `driver` to `lustre.csi.oraclecloud.com` + - `volumeHandle` to `@:/` + where: + - `` is the Management service address for the file system in the File Storage with Lustre service + - `` is the LNet network name for the file system in the File Storage with Lustre service. + - `` is the mount name used while creating the file system in the File Storage with Lustre service. + For example: `10.0.2.6@tcp:/testlustrefs` + - `fsType` to `lustre` + - \(optional, but recommended\) `volumeAttributes.setupLnet` to `"true"` if you want the Lustre CSI driver to perform lnet \(Lustre Network\) setup before mounting the filesystem. + - \(optional\) `volumeAttributes.lustreSubnetCidr` to the worker node's source network range used for Lustre traffic: + - **When to use:** Only specify a network range if worker nodes use a secondary VNIC to connect to the Lustre file system. This CIDR must match the subnet block of that secondary VNIC \(for example, `10.0.2.0/24`\). + - **When to omit:** Do not specify a network range if worker nodes are using their primary VNIC \(the default interface\) for Lustre connectivity. + - **Important:** This parameter is different to the Lustre file system's `subnetId` parameter, which defines where the Lustre file system itself is located. + - \(optional\) `volumeAttributes.lustrePostMountParameters` to set Lustre parameters. For example: + ``` + ... + volumeAttributes: + lustrePostMountParameters: '[{"*.*.*MDT*.lru_size": 11200},{"at_history" : + 600}]' + ``` + For example, the following manifest file \(named lustre-pv-example.yaml\) defines a PV called `lustre-pv-example` backed by a Lustre file system: + ``` + apiVersion: v1 + kind: PersistentVolume + metadata: + name: lustre-pv-example + spec: + capacity: + storage: 31.2T + volumeMode: Filesystem + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + csi: + driver: lustre.csi.oraclecloud.com + volumeHandle: "10.0.2.6@tcp:/testlustrefs" + fsType: lustre + volumeAttributes: + setupLnet: "true" + ``` + 2. Create the PV from the manifest file by entering: + ``` + kubectl apply -f + ``` + For example: + ``` + kubectl apply -f lustre-pv-example.yaml + ``` + 3. Verify that the PV has been created successfully by entering: + ``` + kubectl get pv + ``` + For example: + ``` + kubectl get pv lustre-pv-example + ``` + Example output: + ``` + + NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE + lustre-pv-example 30468750000Ki RWX Retain Bound 56m + + ``` +4. Create a PVC that is provisioned by the PV you have created, as follows: + 1. Create a manifest file to define the PVC and set: + - `storageClassName` to `""` Note that you must specify an empty value for `storageClassName`, even though storage class is not applicable in the case of static provisioning of persistent storage. If you do not specify an empty value for `storageClassName`, the default storage class \(`oci-bv`\) is used, which causes an error. + - `volumeName` to the name of the PV you created \(for example, `lustre-pv-example`\) + For example, the following manifest file \(named lustre-pvc-example.yaml\) defines a PVC named `lustre-pvc-example` that will bind to a PV named `lustre-pv-example`: + ``` + apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: lustre-pvc-example + spec: + accessModes: + - ReadWriteMany + storageClassName: "" + volumeName: lustre-pv-example + resources: + requests: + storage: 31.2T + ``` + Note that the `requests: storage:` element must be present in the PVC's manifest file, and its value must match the value specified for the `capacity: storage:` element in the PV's manifest file. Apart from that, the value of the `requests: storage:` element is ignored. + 2. Create the PVC from the manifest file by entering: + ``` + kubectl apply -f + ``` + For example: + ``` + kubectl apply -f lustre-pvc-example.yaml + ``` + 3. Verify that the PVC has been created and bound to the PV successfully by entering: + ``` + kubectl get pvc + ``` + For example: + ``` + kubectl get pvc lustre-pvc-example + ``` + Example output: + ``` + + NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE + lustre-pvc-example Bound lustre-pv-example 30468750000Ki RWX 57m + ``` + The PVC is bound to the PV backed by the File Storage with Lustre service file system. Data is encrypted at rest, using encryption keys managed by Oracle. +5. Use the new PVC when creating other objects, such as deployments. For example: + 1. Create a manifest named lustre-app-example-deployment.yaml to define a deployment named `lustre-app-example-deployment` that uses the `lustre-pvc-example` PVC, as follows: + ``` + apiVersion: apps/v1 + kind: Deployment + metadata: + name: lustre-app-example-deployment + spec: + selector: + matchLabels: + app: lustre-app-example + replicas: 2 + template: + metadata: + labels: + app: lustre-app-example + spec: + containers: + - args: + - -c + - while true; do echo $(date -u) >> /lustre/data/out.txt; sleep 60; done + command: + - /bin/sh + image: busybox:latest + imagePullPolicy: Always + name: lustre-app-example + volumeMounts: + - mountPath: /lustre/data + name: lustre-volume + restartPolicy: Always + volumes: + - name: lustre-volume + persistentVolumeClaim: + claimName: lustre-pvc-example + ``` + 2. Create the deployment from the manifest file by entering: + ``` + kubectl apply -f lustre-app-example-deployment.yaml + ``` + 3. Verify that the deployment pods have been created successfully and are running by entering: + ``` + kubectl get pods + ``` + Example output: + ``` + NAME READY STATUS RESTARTS AGE + lustre-app-example-deployment-7767fdff86-nd75n 1/1 Running 0 8h + lustre-app-example-deployment-7767fdff86-wmxlh 1/1 Running 0 8h + ``` + +### Provisioning a PVC on an Existing Lustre File System with Mount Options You can optimize the performance and control access to an existing Lustre file system by specifying mount options for the PV. Specifying mount options enables you to fine-tune how pods interact with the file system. - To include mount options: - -1. Start by following the instructions in [Provisioning a PVC on an Existing File System](#provisioning-a-pvc-on-an-existing-file-system). - -2. In the PV manifest described in [Provisioning a PVC on an Existing File System](#provisioning-a-pvc-on-an-existing-file-system), add the `spec.mountOptions` field, which enables you to specify how the PV should be mounted by pods. - - For example, in the `lustre-pv-example.yaml` manifest file shown in [Provisioning a PVC on an Existing File System](#provisioning-a-pvc-on-an-existing-file-system), you can include the `mountOptions` field as follows: - - ```yaml - apiVersion: v1 - kind: PersistentVolume - metadata: - name: lustre-pv-example - spec: - capacity: - storage: 31Ti - volumeMode: Filesystem - accessModes: - - ReadWriteMany - persistentVolumeReclaimPolicy: Retain - mountOptions: - - ro - csi: - driver: lustre.csi.oraclecloud.com - volumeHandle: "10.0.2.6@tcp:/testlustrefs" - fsType: lustre - volumeAttributes: - setupLnet: "true" - ``` - - In this example, the `mountOptions` field is set to `ro`, indicating that pods are to have read-only access to the file system. For more information about PV mount options, see [Persistent Volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) in the Kubernetes documentation. - -## Encrypting Data At Rest on an Existing File System - +1. Start by following the instructions in [Provisioning a PVC on an Existing Lustre File System](#provisioning-a-pvc-on-an-existing-lustre-file-system). +2. In the PV manifest described in [Provisioning a PVC on an Existing Lustre File System](#provisioning-a-pvc-on-an-existing-lustre-file-system), add the `spec.mountOptions` field, which enables you to specify how the PV should be mounted by pods. + For example, in the lustre-pv-example.yaml manifest file shown in [Provisioning a PVC on an Existing Lustre File System](#provisioning-a-pvc-on-an-existing-lustre-file-system), you can include the `mountOptions` field as follows: + ``` + apiVersion: v1 + kind: PersistentVolume + metadata: + name: lustre-pv-example + spec: + capacity: + storage: 31.2T + volumeMode: Filesystem + accessModes: + - ReadWriteMany + persistentVolumeReclaimPolicy: Retain + mountOptions: + - ro + csi: + driver: lustre.csi.oraclecloud.com + volumeHandle: "10.0.2.6@tcp:/testlustrefs" + fsType: lustre + volumeAttributes: + setupLnet: "true" + ``` + In this example, the `mountOptions` field is set to `ro`, indicating that pods are to have read-only access to the file system. For more information about PV mount options, see [Persistent Volumes](https://kubernetes.io/docs/concepts/storage/persistent-volumes/) in the Kubernetes documentation. + +### Encrypting Data At Rest on an Existing Lustre File System The File Storage with Lustre service always encrypts data at rest, using Oracle-managed encryption keys by default. However, you have the option to specify at-rest encryption using your own master encryption keys that you manage yourself in the Vault service. - -For more information about creating File Storage with Lustre file systems that use Oracle-managed encryption keys or your own master encryption keys that you manage yourself, see [Updating File System Encryption](https://docs.oracle.com/iaas/Content/lustre/file-system-encryption.htm). +For more information about File Storage with Lustre file systems that use Oracle-managed encryption keys or your own master encryption keys that you manage yourself, see [Updating File System Encryption](https://docs.oracle.com/iaas/Content/lustre/file-system-encryption.htm).